/* ==========================================================================
   E wie Ernährung – Felicitas Härlin, Tübingen
   Stylesheet · Mobile First · keine externen Abhängigkeiten (DSGVO-freundlich)
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------------------------------------------- */
:root {
  /* Markenfarben (aus dem Logo) */
  --gruen: #97be0d;          /* Logo-Grün – Flächen und Schaltflächen */
  --gruen-akzent: #7d9c08;   /* große Schrift, ab 24 px lesbar (3,1:1) */
  --gruen-tief: #5f7a04;     /* Fließtext und Links (4,8:1) */
  --gruen-dunkel: #4b6104;
  --gruen-hauch: #f2f7e3;
  --orange: #f49401;
  --orange-tief: #b96e00;
  --orange-hauch: #fdf3e2;

  /* Neutrale Töne, warm abgestimmt */
  --papier: #fcfbf7;
  --papier-2: #f6f4ec;
  --weiss: #ffffff;
  --tinte: #1f2417;
  --tinte-2: #4a5142;
  --tinte-3: #6f7767;
  --linie: #e5e2d6;

  /* Typografie */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Fließende Schriftgrößen */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0938rem);
  --fs-lg: clamp(1.0938rem, 1.05rem + 0.22vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.08rem + 0.25vw, 1.3125rem);
  --fs-h3: clamp(1.3125rem, 1.2rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.35vw, 2.5rem);
  --fs-h1: clamp(2rem, 1.55rem + 2.2vw, 3.5rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem);

  /* Abstände */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sektion: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Form */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 24px;  --r-xl: 32px;  --r-voll: 999px;
  --breite: 1180px;
  --breite-text: 68ch;

  --schatten-1: 0 1px 2px rgba(31, 36, 23, .05), 0 4px 14px rgba(31, 36, 23, .05);
  --schatten-2: 0 2px 6px rgba(31, 36, 23, .06), 0 14px 38px rgba(31, 36, 23, .09);

  --header-h: 68px;

  /* NEMESIS – IT Service (Designer-Credit im Fußbereich) */
  --nemesis-rot: #c1121f;
  --nemesis-rot-hell: #f2626b;
}

/* ---------- 2. Reset & Basis ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-bereit .zeigen { transition-delay: 0s !important; }
}

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--tinte-2);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
/* <picture> soll keinen eigenen Kasten bilden – Größenregeln gelten weiter dem <img> */
picture { display: contents; }
a { color: var(--gruen-tief); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-tief); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--tinte);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-h4); line-height: 1.35; }
p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }
p { text-wrap: pretty; }

/* ---------- 3. Layout-Helfer ---------------------------------------------- */
.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 2rem); }
.wrap--schmal { max-width: 820px; }
.sektion { padding-block: var(--sektion); }
.sektion--hell { background: var(--weiss); }
.sektion--papier { background: var(--papier-2); }
.stack > * + * { margin-top: var(--sp-4); }
.mitte { text-align: center; }
.fliess { max-width: var(--breite-text); }
.fliess p + p { margin-top: var(--sp-4); }
.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--tinte); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

/* Augenbraue / Kicker */
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gruen-tief); font-family: var(--sans);
}
.kicker::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gruen), var(--orange));
}
.kicker--mitte { justify-content: center; }

.lead { font-size: var(--fs-lg); color: var(--tinte-2); }

/* ---------- 4. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 650;
  padding: .85rem 1.5rem; border-radius: var(--r-voll); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
/* Buttons dürfen umbrechen (schmale Displays), nur der Kopf-CTA nicht */
.btn { text-align: center; }
.kopf__cta, .aktionsleiste .btn { white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primaer { background: var(--gruen); color: var(--tinte); box-shadow: var(--schatten-1); }
.btn--primaer:hover { background: #a6cf1c; color: var(--tinte); box-shadow: var(--schatten-2); }

.btn--akzent { background: var(--orange); color: #3a2600; box-shadow: var(--schatten-1); }
.btn--akzent:hover { background: #ffa726; color: #3a2600; box-shadow: var(--schatten-2); }

.btn--linie { background: transparent; color: var(--tinte); border-color: var(--linie); }
.btn--linie:hover { background: var(--weiss); color: var(--tinte); border-color: var(--gruen); }

.btn--hell { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--hell:hover { background: #fff; color: var(--gruen-dunkel); }

.btn-reihe { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-reihe--mitte { justify-content: center; }

/* Textlink mit Pfeil */
.pfeil-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; font-size: var(--fs-sm); text-decoration: none;
}
.pfeil-link::after { content: "\2192"; transition: transform .18s ease; }
.pfeil-link:hover::after { transform: translateX(4px); }

/* ---------- 5. Kopfbereich ------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 247, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); box-shadow: 0 4px 20px rgba(31,36,23,.05); }
.kopf__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: var(--header-h);
}

.marke { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.marke__zeichen { width: 17px; height: 42px; border-radius: 4px; }
.marke__text { display: flex; flex-direction: column; line-height: 1.1; }
.marke__name {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--tinte);
  letter-spacing: -.01em;
}
.marke__zusatz {
  font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--tinte-3); font-weight: 600;
}

/* Desktop-Navigation */
.nav { display: none; }
.nav__liste { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .62rem; border-radius: var(--r-voll);
  font-size: .875rem; font-weight: 600; color: var(--tinte-2); text-decoration: none;
  white-space: nowrap; transition: background-color .18s, color .18s;
}
.nav__link { position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .18rem; height: 2px;
  border-radius: 2px; background: var(--gruen);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link:hover { background: var(--gruen-hauch); color: var(--gruen-dunkel); }
.nav__link[aria-current="page"] { color: var(--gruen-dunkel); background: var(--gruen-hauch); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
/* Im Aufklappmenü stört der Balken – dort bleibt es beim Hintergrund */
.nav__unter a::after { display: none; }
.nav__pfeil { width: 11px; height: 11px; transition: transform .2s; }

.nav__item { position: relative; }
.nav__item:hover > .nav__unter, .nav__item:focus-within > .nav__unter { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover .nav__pfeil { transform: rotate(180deg); }
.nav__unter {
  position: absolute; top: calc(100% + .4rem); left: 50%; translate: -50% 0;
  min-width: 300px; padding: .5rem; margin: 0; list-style: none;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-md);
  box-shadow: var(--schatten-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__unter::before { content: ""; position: absolute; inset: -.6rem 0 auto; height: .8rem; }
.nav__unter a {
  display: block; padding: .6rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; color: var(--tinte-2); text-decoration: none;
}
.nav__unter a:hover { background: var(--gruen-hauch); color: var(--gruen-dunkel); }
.nav__unter a span { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--tinte-3); }

.kopf__cta { display: none; }

/* Menü-Schalter (mobil) */
.menue-schalter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--linie);
  background: var(--weiss); border-radius: var(--r-voll); cursor: pointer; flex: none;
}
.menue-schalter > span {
  position: relative; display: block; width: 19px; height: 2px; border-radius: 2px;
  background: var(--tinte); transition: transform .25s, background-color .25s;
}
.menue-schalter > span::before, .menue-schalter > span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; border-radius: 2px;
  background: var(--tinte); transition: transform .25s, top .25s;
}
.menue-schalter > span::before { top: -6px; }
.menue-schalter > span::after  { top: 6px; }
.menue-schalter[aria-expanded="true"] > span { background: transparent; }
.menue-schalter[aria-expanded="true"] > span::before { top: 0; transform: rotate(45deg); }
.menue-schalter[aria-expanded="true"] > span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile Navigation */
.mobil-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--papier);
  padding: var(--sp-5) 0 calc(var(--sp-8) + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.mobil-nav.ist-offen { opacity: 1; visibility: visible; transform: translateY(0); }
.mobil-nav__liste { list-style: none; margin: 0; padding: 0; }
.mobil-nav__liste > li { border-bottom: 1px solid var(--linie); }
.mobil-nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1rem .25rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: var(--tinte); text-decoration: none; background: none; border: 0; text-align: left;
  cursor: pointer; min-height: 56px;
}
.mobil-nav__link[aria-current="page"] { color: var(--gruen-tief); }
.mobil-nav__link svg { width: 15px; height: 15px; color: var(--tinte-3); transition: transform .22s; }
.mobil-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobil-nav__unter {
  list-style: none; margin: 0; padding: 0 0 0 .25rem;
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease;
}
.mobil-nav__unter > div { overflow: hidden; }
.mobil-nav__unter.ist-offen { grid-template-rows: 1fr; }
.mobil-nav__unter a {
  display: block; padding: .65rem .25rem .65rem 1rem; border-left: 2px solid var(--linie);
  font-size: var(--fs-sm); font-weight: 600; color: var(--tinte-2); text-decoration: none;
}
.mobil-nav__unter a:hover { border-left-color: var(--gruen); color: var(--gruen-dunkel); }
.mobil-nav__fuss { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
.mobil-nav__kontakt {
  display: flex; align-items: center; gap: .6rem; font-weight: 650; font-size: var(--fs-sm);
  color: var(--tinte-2); text-decoration: none; min-width: 0; overflow-wrap: anywhere;
}
.mobil-nav__kontakt svg { width: 18px; height: 18px; color: var(--gruen-tief); flex: none; }
body.menue-offen { overflow: hidden; }

/* ---------- 6. Hero -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 7vw, 6.5rem) var(--sektion); }
.hero::before {
  content: ""; position: absolute; z-index: 0; inset-inline-start: -18%; top: -32%;
  width: min(760px, 105vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(151,190,13,.24), rgba(151,190,13,0) 62%);
}
.hero::after {
  content: ""; position: absolute; z-index: 0; inset-inline-end: -22%; bottom: -38%;
  width: min(680px, 95vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(244,148,1,.20), rgba(244,148,1,0) 62%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: var(--sp-7); align-items: center; }
.hero__titel { font-size: var(--fs-hero); margin-top: var(--sp-4); }
.hero__titel em { font-style: normal; color: var(--gruen-akzent); }
.hero__quelle {
  margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--tinte-3); font-style: normal;
}
.hero__quelle cite { font-style: normal; }
.hero__quelle::before { content: "— "; }
.hero__text { font-size: var(--fs-lg); margin-top: var(--sp-5); max-width: 54ch; }
.hero__btns { margin-top: var(--sp-6); }

.hero__belege { display: flex; flex-wrap: wrap; gap: .5rem .55rem; margin-top: var(--sp-6); list-style: none; padding: 0; }
.hero__belege li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-voll);
  padding: .4rem .85rem; font-size: var(--fs-xs); font-weight: 650; color: var(--tinte-2);
}
.hero__belege svg { width: 14px; height: 14px; color: var(--gruen-tief); flex: none; }

/* Auftritt des Hero-Bereichs beim Laden – bewusst nacheinander, damit man es
   auch wahrnimmt. Reines CSS, läuft daher auch ohne JavaScript. */
@keyframes hero-auf {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-bild {
  from { opacity: 0; transform: translateY(26px) scale(1.04); }
  to   { opacity: 1; transform: none; }
}
.hero__grid > div > .kicker,
.hero__titel,
.hero__quelle,
.hero__text,
.hero__btns,
.hero__belege {
  animation: hero-auf .8s cubic-bezier(.22, .68, .3, 1) both;
}
.hero__grid > div > .kicker { animation-delay: .05s; }
.hero__titel   { animation-delay: .18s; }
.hero__quelle  { animation-delay: .34s; }
.hero__text    { animation-delay: .44s; }
.hero__btns    { animation-delay: .56s; }
.hero__belege  { animation-delay: .66s; }

.hero .portraet {
  animation: hero-bild 1.1s cubic-bezier(.22, .68, .3, 1) .3s both;
}
.hero .portraet__karte {
  animation: hero-auf .6s cubic-bezier(.22, .68, .3, 1) .9s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero__grid > div > .kicker, .hero__titel, .hero__quelle, .hero__text,
  .hero__btns, .hero__belege, .hero .portraet, .hero .portraet__karte {
    animation: none !important;
  }
}

/* Portrait-Karte */
.portraet { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.portraet__bild {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--schatten-2);
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%;
}
/* Schmale Displays: Karte steht unter dem Bild, verdeckt also nichts */
.portraet__karte {
  margin: -18px auto 0; width: fit-content; max-width: 100%;
  display: flex; align-items: center; gap: .7rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-lg);
  padding: .6rem 1.1rem .6rem .75rem; box-shadow: var(--schatten-2); position: relative;
}
/* Ab Tablet: Karte überlappt das Bild wie geplant */
@media (min-width: 480px) {
  .portraet__karte {
    position: absolute; left: 0; right: 0; bottom: -26px; margin: 0 auto;
    max-width: calc(100% - 1rem); border-radius: var(--r-voll); white-space: nowrap;
  }
}
.portraet__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--gruen); flex: none; margin-left: .35rem; }
.portraet__karte strong { display: block; font-size: var(--fs-sm); color: var(--tinte); font-weight: 700; }
.portraet__karte span { display: block; font-size: var(--fs-xs); color: var(--tinte-3); }

/* Bildkachel mit weichen Ecken */
.bild { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--schatten-2); position: relative; }
.bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.bild--hoch img { aspect-ratio: 4 / 5; }
.bild__hinweis {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: var(--r-voll); padding: .4rem .9rem;
  font-size: var(--fs-xs); font-weight: 650; color: var(--tinte);
}

/* Breites Bildband über die volle Breite */
.bildband { position: relative; overflow: hidden; }
.bildband img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 55%; }
@media (min-width: 700px)  { .bildband img { aspect-ratio: 24 / 9; } }
@media (min-width: 1100px) { .bildband img { aspect-ratio: 32 / 9; } }

/* ---------- 7. Karten & Raster --------------------------------------------- */
.raster { display: grid; gap: var(--sp-4); }
.raster--2 { grid-template-columns: 1fr; }
.raster--3 { grid-template-columns: 1fr; }

.karte { min-width: 0; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.karte--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.karte--link:hover { transform: translateY(-4px); box-shadow: var(--schatten-2); border-color: transparent; color: inherit; }
.karte__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--gruen-hauch); color: var(--gruen-dunkel); margin-bottom: var(--sp-4);
}
.karte__icon svg { width: 26px; height: 26px; }
.karte--warm .karte__icon { background: var(--orange-hauch); color: var(--orange-tief); }
.karte h3 { margin-bottom: var(--sp-2); }
.karte p { font-size: var(--fs-sm); }
.karte .pfeil-link { margin-top: auto; padding-top: var(--sp-4); }

/* Indikationen-Liste in Karten */
.karte__liste { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: grid; gap: .35rem; }
.karte__liste li {
  position: relative; padding-left: 1.35rem; font-size: var(--fs-sm); line-height: 1.55;
}
.karte__liste li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--gruen); rotate: 45deg;
}
.karte--warm .karte__liste li::before { background: var(--orange); }

/* Nummerierte Ablauf-Schritte */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); counter-reset: s; }
.schritt { position: relative; counter-increment: s; padding-left: 4rem; }
.schritt::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--r-voll);
  background: var(--weiss); border: 1px solid var(--linie);
  font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--gruen-tief);
}
.schritt h3 { font-size: var(--fs-h4); margin-bottom: .3rem; }
.schritt p { font-size: var(--fs-sm); }

/* Merkmale mit Häkchen */
.haken { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.haken li { position: relative; padding-left: 2rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gruen-hauch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d8c05' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 8. Zitat / Bewertungen ----------------------------------------- */
.zitat {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); display: flex; flex-direction: column; gap: var(--sp-4);
}
.zitat__sterne { display: flex; gap: .15rem; color: var(--orange); }
.zitat__sterne svg { width: 18px; height: 18px; }
.zitat p { font-family: var(--serif); font-size: var(--fs-h4); color: var(--tinte); line-height: 1.45; }
.zitat figcaption { margin-top: auto; font-size: var(--fs-sm); font-weight: 650; color: var(--tinte-3); }

.sektion + .sektion:has(> .wrap > .kontakt-band) { padding-top: 0; }

/* ---------- 9. Kontaktbereich ---------------------------------------------- */
.kontakt-band {
  background: linear-gradient(135deg, var(--gruen) 0%, #a8cf1f 100%);
  color: var(--tinte); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1.2rem + 3vw, 3.5rem);
  position: relative; overflow: hidden;
}
.kontakt-band::after {
  content: ""; position: absolute; inset-inline-end: -12%; top: -55%;
  width: min(520px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,148,1,.35), transparent 66%);
}
.kontakt-band > * { position: relative; z-index: 1; }
.kontakt-band h2 { color: var(--tinte); }
.kontakt-band .kicker { color: #33420a; }
.kontakt-band .kicker::before { background: #33420a; }

.kontakt-liste { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; gap: var(--sp-3); }
.kontakt-eintrag {
  display: flex; align-items: center; gap: .9rem; text-decoration: none;
  background: rgba(255,255,255,.72); border: 1px solid rgba(31,36,23,.10);
  border-radius: var(--r-md); padding: .9rem 1.1rem; color: var(--tinte);
  transition: background-color .18s, transform .18s;
}
.kontakt-eintrag:hover { background: #fff; color: var(--tinte); transform: translateY(-2px); }
.kontakt-eintrag svg { width: 21px; height: 21px; flex: none; color: var(--gruen-dunkel); }
.kontakt-eintrag__txt { min-width: 0; }
.kontakt-eintrag__label { display: block; font-size: var(--fs-xs); color: var(--tinte-2); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.kontakt-eintrag strong { display: block; font-size: var(--fs-sm); font-weight: 650; overflow-wrap: anywhere; }
.kontakt-eintrag--statisch { cursor: default; }
.kontakt-eintrag--statisch:hover { transform: none; background: rgba(255,255,255,.72); }

/* ---------- 10. Formular ---------------------------------------------------- */
.formular { display: grid; gap: var(--sp-4); }
.feld { display: grid; gap: .4rem; }
.feld label { font-size: var(--fs-sm); font-weight: 650; color: var(--tinte); }
.feld label .pflicht { color: var(--orange-tief); }
.feld input, .feld select, .feld textarea {
  font-family: inherit; font-size: var(--fs-base); color: var(--tinte);
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-md);
  padding: .8rem 1rem; width: 100%; min-height: 50px;
  transition: border-color .18s, box-shadow .18s;
}
.feld textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(151,190,13,.22);
}
.feld--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.feld--check input { width: 20px; height: 20px; min-height: 0; margin-top: .25rem; accent-color: var(--gruen-tief); }
.feld--check label { font-weight: 400; font-size: var(--fs-sm); color: var(--tinte-2); }
.feld__hinweis { font-size: var(--fs-xs); color: var(--tinte-3); }
.honigtopf { position: absolute; left: -9999px; }
.meldung {
  margin-top: .25rem; padding: .85rem 1.1rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); border: 1px solid var(--linie); background: var(--weiss);
}
.meldung--warte   { color: var(--tinte-2); }
.meldung--gut     { color: var(--gruen-dunkel); background: var(--gruen-hauch); border-color: var(--gruen); }
.meldung--schlecht{ color: #8a1c14; background: #fdecea; border-color: #e6b4ae; }
@media (min-width: 600px) { .formular__paar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }

/* ---------- 11. FAQ (Akkordeon) --------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-md); overflow: hidden; }
.faq__item[open] { border-color: var(--gruen); }
.faq__frage {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: var(--fs-h4); font-weight: 600; color: var(--tinte);
}
.faq__frage::-webkit-details-marker { display: none; }
.faq__frage::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gruen-hauch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d8c05' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .22s;
}
.faq__item[open] .faq__frage::after { transform: rotate(180deg); }
.faq__antwort { padding: 0 1.25rem 1.35rem; }
.faq__antwort p + p, .faq__antwort ul { margin-top: var(--sp-3); }
.faq__antwort ul { padding-left: 1.2rem; }

/* ---------- 12. Download-Kacheln -------------------------------------------- */
.downloads { display: grid; gap: var(--sp-3); }
.download {
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-md);
  padding: 1rem 1.15rem; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.download:hover { border-color: var(--gruen); transform: translateY(-2px); box-shadow: var(--schatten-1); color: inherit; }
.download__icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm); background: var(--orange-hauch); color: var(--orange-tief);
}
.download__icon svg { width: 21px; height: 21px; }
.download { min-width: 0; }
.download > span:last-child { min-width: 0; }
.download strong { display: block; font-size: var(--fs-sm); color: var(--tinte); font-weight: 650; overflow-wrap: anywhere; }
/* Nur der Textblock rechts, nicht das Icon links – sonst überschreibt die Regel
   wegen höherer Spezifität das display:grid von .download__icon. */
.download > span:last-child > span { display: block; font-size: var(--fs-xs); color: var(--tinte-3); }

/* ---------- 13. Seitenkopf (Unterseiten) ------------------------------------ */
.seitenkopf {
  position: relative; overflow: hidden; background: var(--weiss);
  padding-block: clamp(2.25rem, 1.8rem + 3.5vw, 4rem) clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-bottom: 1px solid var(--linie);
}
.seitenkopf::before {
  content: ""; position: absolute; inset-inline-end: -12%; top: -70%;
  width: min(620px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(151,190,13,.18), transparent 65%);
}
.seitenkopf > * { position: relative; z-index: 1; }
.seitenkopf h1 { margin-top: var(--sp-3); }
.seitenkopf p { margin-top: var(--sp-4); max-width: 62ch; font-size: var(--fs-lg); }

.brotkrumen { font-size: var(--fs-xs); color: var(--tinte-3); }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.brotkrumen li + li::before { content: "/"; margin-right: .35rem; color: var(--linie); }
.brotkrumen a { color: var(--tinte-3); text-decoration: none; }
.brotkrumen a:hover { color: var(--gruen-tief); text-decoration: underline; }

/* Unterschrift und Verbandslogos */
.unterschrift { width: 260px; max-width: 70%; height: auto; margin-top: var(--sp-5); }
.verband {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: var(--sp-5);
  text-decoration: none; padding: .75rem 1.1rem; border-radius: var(--r-md);
  background: var(--weiss); border: 1px solid var(--linie);
  transition: border-color .18s, transform .18s;
}
.verband:hover { border-color: var(--gruen); transform: translateY(-2px); }
.verband img { width: 230px; height: auto; }
.verband span { font-size: var(--fs-xs); color: var(--tinte-3); max-width: 15ch; line-height: 1.4; }
@media (max-width: 480px) { .verband { flex-direction: column; align-items: flex-start; } }

/* Öffnungszeiten */
.zeiten { list-style: none; padding: 0; margin: .75rem 0 0; font-size: var(--fs-sm); }
.zeiten li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 1px solid var(--linie);
}
.zeiten li:last-child { border-bottom: 0; }
.zeiten dt, .zeiten span:first-child { color: var(--tinte-2); }
.zeiten b { font-weight: 650; color: var(--tinte); white-space: nowrap; }
.zeiten .zu { color: var(--tinte-3); font-weight: 400; }
.zeiten li[data-heute] { background: var(--gruen-hauch); border-radius: var(--r-sm);
  margin-inline: -.6rem; padding-inline: .6rem; border-bottom-color: transparent; }

/* ---------- 14. Rechtstext -------------------------------------------------- */
.rechtstext { max-width: var(--breite-text); }
.rechtstext h2 { font-size: var(--fs-h3); margin-top: var(--sp-7); }
.rechtstext h3 { font-size: var(--fs-h4); margin-top: var(--sp-5); }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p, .rechtstext ul { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li + li { margin-top: .3rem; }
.rechtstext address { font-style: normal; }

/* ---------- 15. Fußbereich --------------------------------------------------- */
.fuss { background: var(--tinte); color: rgba(255,255,255,.68); padding-block: var(--sp-8) var(--sp-5); margin-top: var(--sektion); }
.fuss__grid { display: grid; gap: var(--sp-6); }
.fuss h2, .fuss h3 { color: #fff; }
.fuss__titel { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.fuss p { font-size: var(--fs-sm); }
.fuss a { color: rgba(255,255,255,.78); text-decoration: none; }
.fuss a:hover { color: var(--gruen); }
.fuss__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.fuss .marke__name { color: #fff; }
.fuss .marke__zusatz { color: rgba(255,255,255,.55); }
.fuss__unten {
  margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center;
  justify-content: space-between; font-size: var(--fs-xs);
}
.fuss__rechts { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* Designer-Credit – Tippeffekt im NEMESIS-Stil */
.credit { margin-top: var(--sp-4); }
.credit a { text-decoration: none; display: inline-block; }
.credit__text {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .75rem;
  white-space: nowrap;
  overflow: hidden;
  color: var(--nemesis-rot);       /* steuert die Cursor-Farbe (currentColor) */
  border-right: 2px solid currentColor;
  width: 32ch;                     /* Rückfallwert, falls kein JavaScript läuft */
  vertical-align: bottom;
}
/* „Designed by" in der Fußzeilen-Textfarbe, der Name im NEMESIS-Rot */
.credit__by   { color: rgba(255,255,255,.68); transition: color .18s; }
.credit__name { color: var(--nemesis-rot); transition: color .18s; }
.credit a:hover .credit__by   { color: #fff; }
.credit a:hover .credit__name { color: var(--nemesis-rot-hell); }
.credit__text.tippt {
  width: 0;
  animation: credit-tippen 2s steps(32, end) .15s forwards,
             credit-cursor .85s step-end infinite;
}
@keyframes credit-tippen { to { width: 32ch; } }
@keyframes credit-cursor {
  0%, 100% { border-right-color: currentColor; }
  50%      { border-right-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .credit__text, .credit__text.tippt {
    width: 32ch; animation: none; border-right-color: transparent;
  }
}

/* ---------- 16. Mobile Aktionsleiste ---------------------------------------- */
.aktionsleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(252,251,247,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--linie);
  transform: translateY(120%); transition: transform .3s ease;
}
.aktionsleiste.ist-sichtbar { transform: translateY(0); }
/* Platz, damit die Leiste den Fußbereich nicht verdeckt.
   --leiste-hoehe setzt main.js aus der tatsächlichen Höhe; 5rem ist der Rückfallwert. */
@media (max-width: 999px) {
  .fuss { padding-bottom: calc(var(--leiste-hoehe, 5rem) + var(--sp-5) + env(safe-area-inset-bottom)); }
}
.aktionsleiste .btn {
  width: 100%; min-width: 0; padding-inline: .4rem; gap: .35rem;
  font-size: .8125rem; min-height: 46px;
}
.aktionsleiste .btn svg { width: 16px; height: 16px; }
@media (min-width: 420px) {
  .aktionsleiste { gap: .5rem; padding-inline: .75rem; }
  .aktionsleiste .btn { padding-inline: .75rem; font-size: var(--fs-sm); gap: .5rem; }
  .aktionsleiste .btn svg { width: 18px; height: 18px; }
}

/* ---------- 17. Einblend-Animation ------------------------------------------ */
/* Versteckt wird nur, wenn main.js läuft (setzt .js-bereit am <html>).
   Ohne JavaScript oder bei nicht geladenem Skript steht alles sofort da. */
.js-bereit .zeigen {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--verzug, 0s);
}
.js-bereit .zeigen.ist-sichtbar { opacity: 1; transform: none; }

/* Fortschrittslinie: hängt an jedem Schritt statt am Container – dadurch endet
   sie automatisch am letzten Punkt, egal wie viele Schritte es sind.
   Zwei Hintergrundebenen: obenauf die farbige Füllung, darunter die graue Spur. */
.schritt:not(:last-child)::after {
  content: ""; position: absolute; z-index: 0; border-radius: 2px;
  left: 21px; top: 46px; width: 2px;
  height: calc(100% - 46px + var(--sp-4) + 23px);
  background-color: var(--linie);
  background-image: linear-gradient(var(--gruen), var(--gruen));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size .7s cubic-bezier(.4, 0, .2, 1);
}
.js-bereit .schritt:not(:last-child)::after { background-size: 100% 0; }
.js-bereit .schritt:not(:last-child).ist-erreicht::after { background-size: 100% 100%; }
.schritt::before { z-index: 1; transition: border-color .35s ease, background-color .35s ease; }
.schritt.ist-erreicht::before { border-color: var(--gruen); background: var(--gruen-hauch); }

/* ---------- 18. Zweispaltiges Text/Bild-Layout ------------------------------ */
.duo { display: grid; gap: var(--sp-6); align-items: center; }
.duo--schmal-links { align-items: start; }

/* ---------- 19. Breakpoints -------------------------------------------------- */
@media (min-width: 560px) {
  .raster--2, .raster--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 860px) {
  .raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
  /* Ziffer wandert über den Text, damit die Linie durch freien Raum läuft */
  .schritt { padding-left: 0; padding-top: 4.25rem; }
  .schritt:not(:last-child)::after {
    left: 46px; top: 21px; height: 2px;
    width: calc(100% - 46px + var(--sp-5) + 23px);
    background-size: 100% 100%;
  }
  .js-bereit .schritt:not(:last-child)::after { background-size: 0 100%; }
  .js-bereit .schritt:not(:last-child).ist-erreicht::after { background-size: 100% 100%; }
  .fuss__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); }
  .downloads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); }
  .duo--schmal-links { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .duo--umgekehrt > :first-child { order: 2; }
}

/* Zwischen 1000 und 1200 px: kompakterer Kopfbereich, damit alles in eine Zeile passt */
@media (min-width: 1000px) and (max-width: 1199px) {
  .marke__zusatz { display: none; }
  .marke__name { font-size: 1.05rem; }
  .marke__zeichen { height: 34px; width: 14px; }
  .nav__link { padding: .45rem .5rem; font-size: .8125rem; }
  .kopf__cta { padding-inline: 1rem; font-size: .8125rem; }
  .kopf__inner { gap: var(--sp-3); }
}

@media (min-width: 1000px) {
  :root { --header-h: 78px; }
  .nav { display: block; }
  .kopf__cta { display: inline-flex; }
  .menue-schalter { display: none; }
  .mobil-nav { display: none; }
  .aktionsleiste { display: none !important; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-8); }
  .kontakt-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marke__zeichen { width: 19px; height: 48px; }
}

/* ---------- 20. Druck --------------------------------------------------------- */
@media print {
  .kopf, .mobil-nav, .aktionsleiste, .fuss, .btn, .kontakt-band { display: none !important; }
  body { background: #fff; color: #000; }
  .zeigen { opacity: 1; transform: none; }
}
