/* ============================================================
   Entwurf 01 — „Sonnenblume“
   Warmes Familienmagazin: Creme, Sonnengelb, große Serifen
   ============================================================ */

:root {
  --paper: #FFFBF2;
  --paper-2: #FDF3E0;
  --ink: #2E2A24;
  --ink-soft: #6B6155;
  --sun: #F5B722;
  --sun-deep: #D99400;
  --sun-text: #8A5A00;
  --leaf: #6E8B57;
  --line: #E8DCC6;
  --radius: 20px;
  --shadow: 0 18px 40px -26px rgba(60, 44, 12, .45);
  --wrap: 1180px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2.5rem); }

/* ---------- Kopf ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 1.6rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 14px; overflow: hidden; flex: none;
  box-shadow: 0 0 0 2px var(--sun), 0 6px 14px -8px rgba(0,0,0,.5);
  background: #fff;
}
.brand__mark img { object-fit: contain; padding: 4px; }
.brand__txt strong {
  display: block; font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1.06rem; letter-spacing: -.01em; line-height: 1.15;
}
.brand__txt span { display: block; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

.nav { display: flex; gap: .3rem; }
.nav a {
  text-decoration: none; padding: .45rem .85rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: var(--paper); }

.top__cta {
  text-decoration: none; font-size: .86rem; font-weight: 600;
  padding: .55rem 1.05rem; border-radius: 999px;
  background: var(--sun); color: #3a2c00;
  box-shadow: 0 8px 18px -10px var(--sun-deep);
}
.top__cta:hover { background: var(--sun-deep); color: #2E2A24; }

@media (max-width: 860px) {
  .top__in { flex-wrap: wrap; gap: .6rem 1rem; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .nav a { white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(2rem, 4vw, 3.2rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sun-text); margin-bottom: 1rem;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--sun); }
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.1rem); line-height: 1.02; letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--sun-text); }
.hero__sub { margin-top: 1.1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  padding: .78rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }

.hero__figure {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); background: var(--paper-2);
}
.hero__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(245,183,34,.22));
  pointer-events: none;
}
.hero__badge {
  position: absolute; left: -14px; bottom: 22px; z-index: 2;
  background: var(--sun); color: #3a2c00; font-weight: 700; font-size: .82rem;
  padding: .6rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow);
  font-family: 'Fraunces', serif;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Statistikband ---------- */
.band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line); background: var(--paper-2);
}
.band__i { padding: 1.35rem 1.2rem; text-align: center; border-right: 1px solid var(--line); }
.band__i:last-child { border-right: 0; }
.band__i b { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; line-height: 1; }
.band__i span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) {
  .band { grid-template-columns: repeat(2, 1fr); }
  .band__i:nth-child(2) { border-right: 0; }
  .band__i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.sec__head h2 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.1;
}
.sec__head p { color: var(--ink-soft); font-size: .98rem; margin-top: .35rem; max-width: 52ch; }
.sec__more { text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #DCC89C; }
.card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); position: relative; }
.card__media img { transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__cat {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: rgba(255,251,242,.94); color: var(--ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px;
}
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__title {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.24rem;
  line-height: 1.22; letter-spacing: -.015em;
}
.card__ex { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }
.card__meta {
  margin-top: auto; padding-top: .7rem; border-top: 1px dashed var(--line);
  display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--ink-soft);
}
.card__meta b { font-weight: 600; color: var(--ink); }

/* Feature-Karte */
.feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  text-decoration: none; box-shadow: var(--shadow);
}
.feature__media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.feature__media img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { padding: clamp(1.5rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.feature__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-text); }
.feature__body h3 { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; }
.feature__body p { color: var(--ink-soft); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Kategorien ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  text-decoration: none; font-size: .87rem; font-weight: 500;
  padding: .48rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  transition: background .18s, border-color .18s, color .18s;
}
.chip:hover, .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip i { font-style: normal; opacity: .5; margin-left: .35rem; font-variant-numeric: tabular-nums; }

/* ---------- Über-Teaser ---------- */
.about-teaser {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; background: var(--paper-2); border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid var(--line);
}
.about-teaser__img { border-radius: 22px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.about-teaser h2 { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -.02em; }
.about-teaser p { color: var(--ink-soft); margin-top: .8rem; }
@media (max-width: 780px) { .about-teaser { grid-template-columns: 1fr; text-align: left; } .about-teaser__img { max-width: 220px; } }

/* ---------- Newsletter / CTA ---------- */
.cta {
  background: var(--ink); color: var(--paper); border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.4rem); text-align: center; position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(245,183,34,.16);
}
.cta::before { width: 260px; height: 260px; top: -110px; left: -80px; }
.cta::after { width: 200px; height: 200px; bottom: -90px; right: -50px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-family: 'Fraunces', serif; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; }
.cta p { color: #D8CFC0; margin: .8rem auto 1.6rem; max-width: 52ch; }
.cta .btn--primary { background: var(--sun); color: #3a2c00; }

/* ---------- Beitragsseite ---------- */
.post-head { padding: clamp(2rem, 5vw, 3.4rem) 0 1.5rem; }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.post-head h1 {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em;
  max-width: 20ch;
}
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .88rem; color: var(--ink-soft); }
.post-meta b { color: var(--ink); font-weight: 600; }

.post-hero { border-radius: 26px; overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); margin-bottom: 2.4rem; }

.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 0; }
.fact {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
  padding: .55rem .95rem; font-size: .85rem;
}
.fact b { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-text); }

.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose a { color: var(--sun-text); text-underline-offset: 3px; }
.b-lead { font-size: 1.24rem; line-height: 1.6; color: #4A4238; font-weight: 500; }
.b-h { font-family: 'Fraunces', serif; font-size: 1.6rem; letter-spacing: -.015em; margin-top: 2.2rem !important; }
.b-quote {
  border-left: 4px solid var(--sun); padding: .3rem 0 .3rem 1.4rem;
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-style: italic; line-height: 1.45;
}
.b-note {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 5px solid var(--sun);
  border-radius: 0 16px 16px 0; padding: 1.1rem 1.3rem;
}
.b-note__t { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: .3rem; }
.b-aside { font-size: .95rem; color: var(--ink-soft); font-style: italic; }
.b-ul, .b-ol { padding-left: 1.3rem; display: grid; gap: .45rem; }
.b-ul { list-style: none; padding-left: 0; }
.b-ul li { position: relative; padding-left: 1.6rem; }
.b-ul li::before {
  content: ""; position: absolute; left: .25rem; top: .68em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sun);
}
.b-ol { list-style: decimal; }
.b-ol li::marker { font-family: 'Fraunces', serif; font-weight: 700; color: var(--sun-text); }
.b-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.b-links a {
  display: inline-block; text-decoration: none; background: #fff; border: 1.5px solid var(--line);
  padding: .42rem .9rem; border-radius: 999px; font-size: .89rem; font-weight: 500; color: var(--ink);
}
.b-links a::after { content: " ↗"; opacity: .45; }
.b-links a:hover { border-color: var(--sun); background: var(--paper-2); }

.ukz-gallery { display: grid; gap: 1rem; margin-top: 2.4rem; grid-template-columns: repeat(2, 1fr); }
.ukz-gallery[data-count="1"] { grid-template-columns: 1fr; }
.ukz-gallery__item { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); box-shadow: var(--shadow); }
.ukz-gallery__item:first-child:nth-last-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 620px) { .ukz-gallery, .ukz-gallery__item:first-child:nth-last-child(3) { grid-template-columns: 1fr; grid-column: auto; } }

.affiliate { margin-top: 2.4rem; font-size: .85rem; color: var(--ink-soft); background: var(--paper-2); border-radius: 14px; padding: .9rem 1.1rem; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.pager a {
  text-decoration: none; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem;
  background: #fff; transition: border-color .2s, transform .2s;
}
.pager a:hover { border-color: var(--sun); transform: translateY(-3px); }
.pager span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.pager b { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.pager a:last-child { text-align: right; }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } }

/* ---------- Listenansicht ---------- */
.page-head { padding: clamp(2.2rem, 5vw, 3.6rem) 0 1.6rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.025em; line-height: 1.05; }
.page-head p { color: var(--ink-soft); margin-top: .7rem; max-width: 56ch; }

.rows { display: grid; gap: 0; }
.row {
  display: grid; grid-template-columns: 210px 1fr auto; gap: 1.6rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background .2s;
}
.row:hover { background: var(--paper-2); }
.row__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.row__t { font-family: 'Fraunces', serif; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.015em; }
.row__ex { color: var(--ink-soft); font-size: .93rem; margin-top: .35rem; }
.row__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.row__tags span { font-size: .72rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .6rem; }
.row__date { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; text-align: right; }
@media (max-width: 780px) {
  .row { grid-template-columns: 120px 1fr; }
  .row__date { grid-column: 2; text-align: left; }
}

/* ---------- Über / Impressum / Kontakt ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; padding: 2.6rem 0; }
.about-grid__aside { position: sticky; top: 100px; display: grid; gap: 1rem; }
.about-portrait { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.fact-list { background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; display: grid; gap: .8rem; }
.fact-list div b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-text); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid__aside { position: static; } }

.imprint-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow);
}
.imprint-card h2 { font-family: 'Fraunces', serif; font-size: 1.2rem; margin-bottom: .6rem; }
.imprint-card address { font-style: normal; line-height: 1.9; }
.imprint-card + .imprint-card { margin-top: 1.2rem; }

/* ---------- Fuß ---------- */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.4rem, 5vw, 3.6rem) 0 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: .7rem; }
.foot ul { display: grid; gap: .4rem; }
.foot a { text-decoration: none; color: var(--ink-soft); font-size: .93rem; }
.foot a:hover { color: var(--ink); }
.foot__bottom { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
