/* Designmuster B "Küchenbuch" für hackfleischdrehspiess.de
   Warmes Weiß, Paprikarot, Braungrau, Kräutergrün als Akzent. Literata für Überschriften, DM Sans für Text.
   Nichts ist sticky oder fixed. */

@font-face { font-family: "Literata"; src: url("hds/fonts/literata-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("hds/fonts/dm-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("hds/fonts/dm-sans-var-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --grund: #FBF7F1;        /* warmes Weiß */
  --karte: #FFFFFF;
  --ruhig: #F4EBDD;        /* Creme für Kästen */
  --linie: #E3D5C3;
  --linie-stark: #C9B49C;
  --text: #33291F;         /* dunkles Braungrau */
  --titel: #2A2119;
  --leise: #66574A;
  --paprika: #C8432B;      /* Grafik, Linien, Punkte */
  --link: #A3301B;         /* dunkles Paprikarot für Schrift */
  --link-hover: #7E2414;
  --kopf: #A3301B;
  --kopf-text: #FBF1E6;
  --kopf-akzent: #F6D2B5;
  --fuss: #33291F;
  --fuss-text: #FBF1E6;
  --fuss-leise: #D9CBBB;
  --kraut: #5E7D45;
  --kraut-text: #3E5A2C;
  --kraut-bg: #E8EFDF;
  --warn-text: #7E2414;
  --warn-bg: #F8E4DD;
  --knopf: #A3301B;
  --knopf-text: #FFFFFF;
  --fokus: #A3301B;
  --ph-bg: #FFF1C9;
  --ph-text: #5C4300;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1200px;
  --lesen: 800px;
  --rund: 10px;
  --rund-klein: 6px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #1B1612; --karte: #251E19; --ruhig: #2D241E; --linie: #3E332B; --linie-stark: #5A4B3F;
    --text: #EDE3D7; --titel: #FFF8F0; --leise: #C2B3A3;
    --paprika: #E4694F; --link: #F2937A; --link-hover: #F8B6A4;
    --kopf: #5C1C10; --kopf-text: #FBF1E6; --kopf-akzent: #F2937A;
    --fuss: #120E0B; --fuss-text: #EDE3D7; --fuss-leise: #C2B3A3;
    --kraut: #8FAF74; --kraut-text: #A9C590; --kraut-bg: #24301B;
    --warn-text: #F2937A; --warn-bg: #3A1D15;
    --knopf: #F2937A; --knopf-text: #1B1612; --fokus: #F2937A;
    --ph-bg: #3D3214; --ph-text: #F3DE9C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-kerning: normal; overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { hyphens: manual; font-family: var(--serif); color: var(--titel); line-height: 1.2; font-weight: 650; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(1.95rem, 1.4rem + 2.4vw, 2.85rem); letter-spacing: -.01em; font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); margin-top: 1.8em; }
h3 { font-size: 1.2rem; margin-top: 1.4em; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .3em; }
strong { font-weight: 650; }
small { font-size: .86em; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }

.nur-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--karte); color: var(--link); padding: .7rem 1rem; z-index: 10; }
.sprung:focus { left: 1rem; top: 1rem; }

/* Musterhinweis und Platzhalter, nur im Muster */
.musterhinweis { margin: 0; padding: .45rem 1rem; text-align: center; font-size: .85rem; background: var(--ph-bg); color: var(--ph-text); }
.ph { background: var(--ph-bg); color: var(--ph-text); border-bottom: 1px dashed currentColor; padding: 0 .2em; border-radius: 2px; }
.ph-block { background: var(--ph-bg); color: var(--ph-text); border: 1px dashed currentColor; border-radius: var(--rund-klein); padding: .8rem 1rem; font-size: .95rem; }

/* Kopf */
.kopf { background: var(--kopf); color: var(--kopf-text); }
.kopf__innen { max-width: var(--breite); margin: 0 auto; padding: .75rem 16px; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; min-height: 44px; }
.logo:hover { color: inherit; }
.logo__zeichen { width: 34px; height: 34px; flex: none; }
.logo__wort { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; letter-spacing: -.005em; line-height: 1.1; }
.logo__wort small { display: block; font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.kopf a:focus-visible, .fuss a:focus-visible { outline-color: var(--kopf-akzent); }
.hauptnav { flex: 1 1 auto; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 .25rem; }
.hauptnav li + li { margin: 0; }
.hauptnav a { display: flex; align-items: center; min-height: 44px; padding: 0 .55rem; color: var(--kopf-text); text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 3px solid transparent; }
.hauptnav a:hover { border-bottom-color: rgba(251, 241, 230, .5); color: var(--kopf-text); }
.hauptnav a[aria-current="page"], .hauptnav a.ist-bereich { border-bottom-color: var(--kopf-akzent); }
@media (min-width: 700px) { .hauptnav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; } }

/* Rahmen */
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
main { display: block; padding-bottom: 3rem; }
.krumen { font-size: .9rem; color: var(--leise); margin: 1rem 0 .5rem; }
.krumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.krumen li + li { margin: 0; }
.krumen li + li::before { content: "/"; margin: 0 .45rem; color: var(--linie-stark); }
.krumen a { display: inline-flex; align-items: center; min-height: 44px; color: var(--leise); }
.krumen [aria-current] { color: var(--text); }

.etikett { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin: 0 0 .5rem; }
.einleitung { font-size: 1.08rem; color: var(--text); max-width: 46rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; color: var(--leise); font-size: .93rem; margin: 0 0 1.4rem; }
.meta__autor { display: inline-flex; align-items: center; gap: .55rem; }
.meta__autor img { width: 40px; height: 40px; border-radius: 50%; background: var(--ruhig); }
.meta a { color: var(--text); font-weight: 500; }

.layout { display: grid; gap: 0 3rem; grid-template-columns: minmax(0, 1fr); }
.layout__haupt { min-width: 0; max-width: var(--lesen); }
.layout__seite { min-width: 0; }
@media (min-width: 1100px) {
  .layout { grid-template-columns: minmax(0, var(--lesen)) 280px; justify-content: space-between; }
  .layout__seite { padding-top: .4rem; }
}

.lesetext { font-size: 17px; }
@media (min-width: 700px) { .lesetext { font-size: 18px; } }
@media (min-width: 1100px) { .lesetext { font-size: 19px; line-height: 1.65; } }
.lesetext h2 { scroll-margin-top: 1rem; }

/* Bilder */
.bild { margin: 0 0 1.6rem; }
.bild img { width: 100%; border-radius: var(--rund); background: var(--ruhig); }
.bild--16x9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.bild--3x2 img { aspect-ratio: 3 / 2; object-fit: cover; }
.bild figcaption, .grafik figcaption { font-size: .85rem; color: var(--leise); margin-top: .45rem; }
.grafik { margin: 1.6rem 0; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); padding: 1rem; }
.grafik img { border-radius: var(--rund-klein); margin-inline: auto; }
.grafik__legende { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin: .8rem 0 0; font-size: .93rem; }
.grafik__legende strong { display: block; font-family: var(--serif); }

/* Kästen */
.kurz { background: var(--ruhig); border-radius: var(--rund); padding: 1.1rem 1.25rem; margin: 0 0 1.6rem; border-top: 3px solid var(--paprika); }
.kurz > :last-child { margin-bottom: 0; }
.kurz__titel { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin: 0 0 .35rem; }
.kasten { border: 1px solid var(--linie-stark); border-radius: var(--rund); background: var(--karte); padding: 1.1rem 1.25rem; margin: 1.6rem 0; }
.kasten > :last-child { margin-bottom: 0; }
.kasten h2, .kasten h3 { margin-top: 0; font-size: 1.2rem; }
.kasten__kopf { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin: 0 0 .5rem; }
.kasten__kopf svg { width: 18px; height: 18px; flex: none; }
.kasten__stand { font-size: .86rem; color: var(--leise); border-top: 1px solid var(--linie); padding-top: .6rem; margin-top: .9rem; }
.kasten--recht { border-left: 4px solid var(--paprika); }
.kasten--kraut { background: var(--kraut-bg); border-color: transparent; }
.kasten--kraut .kasten__kopf { color: var(--kraut-text); }
.hinweis-garen { display: flex; gap: .8rem; align-items: flex-start; background: var(--warn-bg); color: var(--warn-text); border-radius: var(--rund); padding: .9rem 1.1rem; margin: 1.2rem 0; font-weight: 500; }
.hinweis-garen svg { width: 24px; height: 24px; flex: none; margin-top: .1rem; }
.hinweis-garen p { margin: 0; }
.quellen { font-size: .93rem; }
.quellen ol { padding-left: 1.4em; }
.quellen li { margin-top: .45em; }

/* Inhaltsverzeichnis, statisch */
.verz { border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); padding: .9rem 1.1rem; margin: 0 0 1.6rem; font-size: .95rem; }
.verz__titel { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); margin: 0 0 .3rem; }
.verz ol { margin: 0; padding-left: 1.4em; }
.verz li + li { margin: 0; }
.verz a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; }
.verz a:hover { color: var(--link); text-decoration: underline; }

.seitenkasten { border-top: 2px solid var(--text); padding-top: .8rem; margin-bottom: 1.8rem; font-size: .95rem; }
.seitenkasten h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
.seitenkasten ul { list-style: none; padding: 0; margin: 0; }
.seitenkasten li + li { margin: 0; border-top: 1px solid var(--linie); }
.seitenkasten a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.seitenkasten a:hover { text-decoration: underline; }

/* Tabellen */
.tabelle-rahmen { margin: 1.4rem 0; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; border-top: 2px solid var(--text); }
.tabelle caption { text-align: left; font-family: var(--serif); font-weight: 650; font-size: 1.05rem; color: var(--titel); padding-bottom: .5rem; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: .65rem .7rem .65rem 0; border-bottom: 1px solid var(--linie); }
.tabelle thead th { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.tabelle tbody th { font-weight: 650; }
.tabelle .zahl { text-align: right; white-space: nowrap; }
.tabelle tfoot td, .tabelle tfoot th { font-weight: 650; border-bottom: 0; border-top: 2px solid var(--linie-stark); }
.tabelle-hinweis { font-size: .86rem; color: var(--leise); margin-top: .5rem; }
@media (max-width: 640px) {
  .tabelle--karten thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle--karten, .tabelle--karten tbody, .tabelle--karten tr, .tabelle--karten td, .tabelle--karten tbody th { display: block; width: 100%; }
  .tabelle--karten tr { border-bottom: 1px solid var(--linie-stark); padding: .6rem 0; }
  .tabelle--karten tbody th { border: 0; padding: .2rem 0 .3rem; font-family: var(--serif); font-size: 1.05rem; }
  .tabelle--karten td { border: 0; padding: .2rem 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; }
  .tabelle--karten td::before { content: attr(data-label); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leise); padding-top: .15rem; }
  .tabelle--karten .zahl { text-align: left; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .55rem 1.2rem; border: 2px solid var(--knopf); border-radius: var(--rund-klein); background: var(--knopf); color: var(--knopf-text); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--link-hover); border-color: var(--link-hover); color: var(--knopf-text); }
.knopf--hell { background: transparent; color: var(--link); }
.knopf--hell:hover { background: var(--ruhig); color: var(--link-hover); border-color: var(--link-hover); }
.knopf--klein { min-height: 44px; padding: .4rem .9rem; font-size: .95rem; }
.knopf svg { width: 18px; height: 18px; }

/* Startseite */
.held { padding: 2.2rem 0 1rem; }
.held__innen { display: grid; gap: 2rem; align-items: center; }
.held h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem); max-width: 16ch; }
.held__text p { font-size: 1.1rem; max-width: 40rem; }
.held__fragen { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.held__bild img { border-radius: var(--rund); aspect-ratio: 16 / 9; object-fit: cover; }
.held__bild figcaption { font-size: .85rem; color: var(--leise); margin-top: .45rem; }
@media (min-width: 900px) { .held__innen { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }

.abschnitt { padding: 1.4rem 0 1rem; }
.abschnitt > h2:first-child { margin-top: .6rem; }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.abschnitt__kopf h2 { margin: .6rem 0 .3rem; }
.abschnitt__kopf a { font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }

/* Karten */
.karten { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.karten > li { margin: 0; }
.karten--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.karten--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.karte { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; transition: border-color .15s; }
.karte:hover { border-color: var(--linie-stark); }
.karte:focus-within { outline: 3px solid var(--fokus); outline-offset: 2px; }
.karte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ruhig); }
.karte__text { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.karte h3 { font-size: 1.12rem; margin: 0; }
.karte h3 a { color: var(--titel); text-decoration: none; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; }
.karte h3 a:focus-visible { outline: none; }
.karte:hover h3 a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; }
.karte p { margin: 0; font-size: .95rem; color: var(--leise); }
.karte__fakten { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: auto; padding-top: .4rem; font-size: .88rem; color: var(--leise); }
.karte__fakten span { display: inline-flex; align-items: center; gap: .3rem; }
.karte__fakten svg { width: 16px; height: 16px; }
.marke { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--kraut-text); }
.marke--rot { color: var(--link); }

/* Zwei Kästen nebeneinander auf der Startseite */
.doppel { display: grid; gap: 1.4rem; margin: 1rem 0; }
@media (min-width: 900px) { .doppel { grid-template-columns: 1fr 1fr; } }
.doppel .kasten { margin: 0; }

/* Rechner */
.rechner { border: 1px solid var(--linie-stark); border-radius: var(--rund); background: var(--karte); padding: 1.1rem 1.25rem 1.25rem; margin: 0 0 1.8rem; }
.rechner__titel { font-size: 1.25rem; margin: 0 0 .2rem; }
.rechner__felder { display: grid; gap: .9rem 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin: 1rem 0; }
.feld label, .feld legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.feld select { width: 100%; min-height: 48px; padding: .5rem 2.4rem .5rem .75rem; font: 1rem var(--sans); color: var(--text); background-color: var(--grund); border: 1px solid var(--linie-stark); border-radius: var(--rund-klein); appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.rechner__ergebnis { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; background: var(--ruhig); border-radius: var(--rund-klein); padding: .9rem 1rem; margin: 0; }
.rechner__zahl { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 700; color: var(--titel); line-height: 1.1; font-variant-numeric: lining-nums; }
.rechner__einheit { font-size: 1rem; color: var(--leise); }
.rechner__fuss { font-size: .86rem; color: var(--leise); margin: .7rem 0 0; }
.rechner--mini .rechner__felder { grid-template-columns: 1fr; }
@media (min-width: 560px) { .rechner--mini .rechner__felder { grid-template-columns: repeat(3, 1fr); } }

/* Rezept */
.rezeptkopf { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); margin: 0 0 1.6rem; padding: 0; }
.rezeptkopf div { border-top: 2px solid var(--paprika); padding-top: .5rem; }
.rezeptkopf dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.rezeptkopf dd { margin: .1rem 0 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 650; color: var(--titel); }
.rezept-raster { display: grid; gap: 0 2.5rem; }
@media (min-width: 760px) { .rezept-raster { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); } }
.zutaten { background: var(--ruhig); border-radius: var(--rund); padding: 1.1rem 1.2rem; align-self: start; margin-bottom: 1.6rem; }
.zutaten h2 { margin-top: 0; font-size: 1.3rem; }
.zutaten ul { list-style: none; padding: 0; margin: 0; }
.zutaten li { display: grid; grid-template-columns: 5.6rem 1fr; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); margin: 0; font-size: .98rem; }
.zutaten li:last-child { border-bottom: 0; }
.zutaten .menge { font-weight: 650; font-variant-numeric: lining-nums; }
.zutaten h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); margin: 1rem 0 .2rem; }
.portionen { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 1rem; flex-wrap: wrap; }
.portionen__label { font-weight: 600; margin-right: .3rem; }
.portionen button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--knopf); background: var(--karte); color: var(--link); font: 700 1.3rem/1 var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.portionen button:hover { background: var(--knopf); color: var(--knopf-text); }
.portionen button:disabled { opacity: .4; cursor: not-allowed; }
.portionen output { min-width: 2.6ch; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--titel); }
.schritte { list-style: none; padding: 0; margin: 0 0 1.6rem; counter-reset: schritt; }
.schritte > li { counter-increment: schritt; position: relative; padding: 0 0 1.2rem 3.4rem; margin: 0; }
.schritte > li::before { content: counter(schritt); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 2px solid var(--paprika); color: var(--link); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.schritte h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.schritte figure { margin: .8rem 0 0; }
.druckzeile { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; }

/* Lexikon */
.aussprache { font-size: 1.05rem; color: var(--leise); margin: -.2rem 0 1.2rem; }
.aussprache strong { color: var(--text); }
.steckbrief { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; border: 1px solid var(--linie); border-radius: var(--rund); background: var(--karte); padding: 1rem 1.2rem; margin: 0 0 1.6rem; font-size: .95rem; }
.steckbrief dt { font-weight: 700; color: var(--leise); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .2rem; }
.steckbrief dd { margin: 0; }
.az { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: .35rem; }
.az li { margin: 0; }
.az a, .az span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--linie); border-radius: var(--rund-klein); background: var(--karte); font-family: var(--serif); font-weight: 650; font-size: 1.1rem; text-decoration: none; color: var(--titel); }
.az a:hover { border-color: var(--paprika); color: var(--link); }
.az span { color: var(--linie-stark); background: transparent; }
.az a[aria-current] { background: var(--knopf); border-color: var(--knopf); color: var(--knopf-text); }
.lexliste { columns: 1; column-gap: 2.5rem; margin: 0 0 1.6rem; }
@media (min-width: 640px) { .lexliste { columns: 2; } }
.lexgruppe { break-inside: avoid; margin: 0 0 1.2rem; }
.lexgruppe h3 { font-size: 1.5rem; color: var(--link); margin: 0 0 .3rem; border-bottom: 1px solid var(--linie); padding-bottom: .2rem; }
.lexgruppe ul { list-style: none; padding: 0; margin: 0; }
.lexgruppe li { margin: 0; }
.lexgruppe a { display: flex; align-items: center; min-height: 40px; }
.lexgruppe small { color: var(--leise); margin-left: .4rem; }

/* Filter, statisch */
.filter { background: var(--ruhig); border-radius: var(--rund); padding: .9rem 1rem; margin: 1.2rem 0 1rem; }
.filter__titel { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); margin: 0 0 .5rem; }
.filter ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.filter li { margin: 0; }
.filter button { min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--linie-stark); border-radius: 999px; background: var(--karte); color: var(--text); font: 500 .98rem var(--sans); cursor: pointer; }
.filter button:hover { border-color: var(--link); color: var(--link); }
.filter button[aria-pressed="true"] { background: var(--knopf); border-color: var(--knopf); color: var(--knopf-text); }
.filter__status { font-size: .9rem; color: var(--leise); margin: .6rem 0 0; }

/* FAQ */
.faq { margin: 1rem 0 1.6rem; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .6rem 0; font-family: var(--serif); font-weight: 650; font-size: 1.08rem; color: var(--titel); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--link); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1rem; }
.faq details > div > :last-child { margin-bottom: 0; }

/* Autorkasten */
.autorkasten { display: flex; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--linie); padding-top: 1.2rem; margin-top: 2rem; font-size: .95rem; }
.autorkasten img { width: 64px; height: 64px; border-radius: 50%; flex: none; background: var(--ruhig); }
.autorkasten p { margin: 0 0 .3rem; }

/* Fuß */
.fuss { background: var(--fuss); color: var(--fuss-text); margin-top: 2rem; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; padding: 2.2rem 16px 2rem; display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .fuss__innen { grid-template-columns: 1.2fr 2fr; } }
.fuss .logo { color: var(--fuss-text); }
.fuss p { color: var(--fuss-leise); font-size: .93rem; margin: .4rem 0 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
.fuss li { margin: 0; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fuss-text); }
.fuss__betreiber { grid-column: 1 / -1; border-top: 1px solid rgba(251, 241, 230, .18); padding-top: 1rem; font-size: .9rem; }
.fuss__betreiber a { color: var(--fuss-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Druckansicht */
@media print {
  @page { margin: 16mm 14mm; }
  :root { --text: #000; --titel: #000; --leise: #333; --link: #000; --linie: #bbb; --linie-stark: #888; --ruhig: #fff; --karte: #fff; --grund: #fff; --paprika: #000; --ph-bg: #fff; --ph-text: #000; }
  body { font-size: 11pt; background: #fff; color: #000; }
  .kopf, .fuss, .musterhinweis, .krumen, .layout__seite, .druckzeile, .portionen button, .nicht-drucken, .sprung, .verz { display: none !important; }
  .rezept-raster { display: grid; grid-template-columns: 34% 1fr; gap: 0 8mm; }
  .zutaten { border: 1px solid #888; }
  .bild--16x9 { display: none; }
  .schritte figure { display: none; }
  .schritte > li { break-inside: avoid; }
  .hinweis-garen { border: 1px solid #000; background: #fff; color: #000; }
  a { text-decoration: none; color: #000; }
  h1 { font-size: 22pt; }
  .tabelle { font-size: 10pt; }
}
.zutaten .menge.ph { align-self: start; }
.meta__autor a { display: inline-flex; align-items: center; min-height: 44px; }

/* =====================================================================
   CMS-Ergänzungen (T2, 19.11.2026): Bausteine, die das Muster nicht zeigt oder nur als Platzhalter hatte.
   Nichts ist sticky oder fixed.
   ===================================================================== */
.probehinweis { background: var(--ph-bg); color: var(--ph-text); border: 1px dashed currentColor; border-radius: var(--rund-klein); padding: .6rem .9rem; font-size: .92rem; margin: 0 0 1rem; }
.einleitung p { margin: 0 0 .8em; }
.einleitung { margin-bottom: 1.4rem; }
.uebersicht-kopf { margin-bottom: .6rem; }
.start-text, .uebersicht-text { margin-top: 1.6rem; }
.leer { color: var(--leise); font-style: italic; }
.schritte__titel { margin-top: 0; }
.rezept-text { margin-top: .6rem; }
.lautschrift { color: var(--leise); font-weight: 400; }
sup.q { font-size: .72em; line-height: 0; margin-left: .1em; }
sup.q a { text-decoration: none; }

/* Bilder: "Bild: KI-generiert" unter jedem Foto, Platzhalter ohne Unterschrift */
.bild figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; }
.bild__ki { margin-left: auto; white-space: nowrap; }
.bild--platzhalter img { opacity: .95; }
.karte__ki { display: block; padding: .3rem 1rem 0; font-size: .74rem; color: var(--leise); }
.held__bild figcaption { text-align: right; }

/* Balkengrafik aus den Nährwertdaten (gezeichnet, keine KI) */
.balken { padding: 1rem 1.1rem 1.1rem; }
.balken__titel { font-family: var(--serif); font-weight: 650; font-size: 1.05rem; color: var(--titel); margin: 0 0 .8rem; }
.balken__zeile { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem .8rem; margin: 0 0 .7rem; }
.balken__name { margin: 0; font-weight: 600; font-size: .95rem; }
.balken__wert { margin: 0; font-size: .86rem; color: var(--leise); font-variant-numeric: lining-nums; }
.balken__svg { width: 100%; height: 28px; display: block; }
.balken__spur { fill: var(--linie); }
.balken__spanne { fill: var(--paprika); opacity: .45; }
.balken__typ { fill: var(--titel); }
.balken__achse { position: relative; height: 1.4rem; border-top: 1px solid var(--linie-stark); margin-top: .3rem; font-size: .78rem; color: var(--leise); }
.balken__achse span { position: absolute; top: .2rem; transform: translateX(-50%); white-space: nowrap; }
.balken__achse span:first-child { transform: none; }
.balken__achse span:last-child { transform: translateX(-100%); }
.balken__einheit { margin: .2rem 0 .5rem; font-size: .78rem; color: var(--leise); text-align: center; }
.balken__legende { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .86rem; color: var(--leise); margin: .2rem 0 .4rem; }
.balken__legende span { display: inline-flex; align-items: center; gap: .4rem; }
.balken__legende i { display: inline-block; width: 22px; height: 12px; border-radius: 2px; }
.balken__l-spanne { background: var(--paprika); opacity: .45; }
.balken__l-typ { width: 5px !important; height: 16px !important; background: var(--titel); }
@media (min-width: 700px) {
  .balken__zeile { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; }
  .balken__wert { grid-column: 2; }
  .balken__achse, .balken__einheit { margin-left: 11.8rem; }
}

/* Rechner: Zahlenfelder wie die Auswahl, Nährstoffzeile, Gewürzliste */
.feld input[type="number"] { width: 100%; min-height: 48px; padding: .5rem .75rem; font: 1rem var(--sans); color: var(--text); background: var(--grund); border: 1px solid var(--linie-stark); border-radius: var(--rund-klein); }
.rechner__naehr { margin: .6rem 0 0; font-size: .95rem; }
.rechner .tabelle-rahmen { margin: 1rem 0 0; }
.zutaten--rechner { margin: 1rem 0 0; }
.zutaten__kopf { font-weight: 650; margin: 0 0 .3rem; }
.rechner--mini .rechner__zahl { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }

/* Suche und Fehlerseiten */
.suchform { margin: 1rem 0 1.2rem; }
.suchform label { display: block; font-weight: 600; margin-bottom: .3rem; }
.suchform__zeile { display: flex; gap: .5rem; flex-wrap: wrap; }
.suchform input[type="search"] { flex: 1 1 14rem; min-width: 0; min-height: 48px; padding: .5rem .8rem; font: 1rem var(--sans); color: var(--text); background: var(--karte); border: 1px solid var(--linie-stark); border-radius: var(--rund-klein); }
.suche__status { color: var(--leise); }
.suchliste, .fehler-wege { list-style: none; padding: 0; margin: 0 0 1.6rem; border-top: 1px solid var(--linie); }
.suchliste li, .fehler-wege li { margin: 0; border-bottom: 1px solid var(--linie); }
.suchliste a, .fehler-wege a { display: flex; flex-direction: column; padding: .7rem 0; min-height: 44px; justify-content: center; text-decoration: none; }
.suchliste b, .fehler-wege b { font-family: var(--serif); font-weight: 650; color: var(--titel); }
.suchliste a:hover b, .fehler-wege a:hover b { color: var(--link); text-decoration: underline; }
.suchliste span, .fehler-wege span { font-size: .92rem; color: var(--leise); }
.fehlerseite { padding-top: 1.5rem; }

/* Autor */
.autor-kopf { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin: 0 0 1.4rem; }
.autor-kopf img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--ruhig); }
.autor-kopf h1 { margin: 0; }
.autor-rolle { margin: .3rem 0 0; color: var(--leise); }
.autoren-liste { list-style: none; padding: 0; margin: 1.4rem 0; }
.autor-karte { display: flex; gap: 1.2rem; align-items: flex-start; border-top: 1px solid var(--linie); padding: 1.2rem 0; }
.autor-karte img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.autor-karte h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.meta__autor img { object-fit: cover; }
.autorkasten img { object-fit: cover; }

/* Fuß mit zwei Linklisten */
.fuss__navs { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .fuss__navs { grid-template-columns: 1fr 1.6fr; } }
.fuss__titel { font-size: .76rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fuss-leise); margin: 0 0 .2rem !important; }
.fuss__knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fuss-text); font: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.fuss__knopf:focus-visible { outline: 3px solid var(--kopf-akzent); }
.consent-zeile { margin: 1.2rem 0; }

@media print {
  .rechner, .probehinweis, .karte__ki, .autorkasten, .layout__seite, .filter { display: none !important; }
  .bild--3x2 { display: none; }
}
@media (max-width: 640px) {
  .tabelle--karten caption { display: block; width: 100%; }
}
#naehrwerte .zahl { white-space: normal; }

/* Glossar (H11): Begriffshinweis und kleines Fenster (absolut unter dem Wort, schließt beim Scrollen; nicht fixed, nicht sticky) */
abbr.begriff { text-decoration: underline dotted var(--paprika); text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: help; }
abbr.begriff:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.begriff-fenster { position: absolute; z-index: 20; display: block; width: max-content; max-width: min(340px, calc(100vw - 16px)); padding: .8rem 1rem; background: var(--karte); color: var(--text); border: 1px solid var(--linie-stark); border-top: 3px solid var(--paprika); border-radius: var(--rund); font-size: .92rem; line-height: 1.5; }
.begriff-fenster strong { display: block; font-family: var(--serif); margin-bottom: .2rem; color: var(--titel); }
.begriff-fenster a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.lexgruppe li { margin: 0 0 .5rem; }
.lexgruppe small { display: block; margin-left: 0; font-size: .88rem; }
.lexbegriff { display: flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--titel); }
@media print { abbr.begriff { text-decoration: none; } }

/* Party-Rechner: Druckliste (T5, 19.11.2026). Auf dem Bildschirm unsichtbar; beim Drucken setzt das Skript eine Kopie ans Ende der
   Seite und die Klasse druck-liste an body, alles andere entfällt. Nichts ist sticky oder fixed. */
.party-druck { display: none; }
.rechner__knoepfe { margin: .8rem 0 0; }
@media print {
  body.druck-liste > *:not(.party-druck-klon) { display: none !important; }
  body.druck-liste .party-druck-klon { display: block !important; max-width: none; margin: 0; padding: 0; }
  body.druck-liste .party-druck-klon h2 { font-size: 16pt; margin: 0 0 .6rem; }
  body.druck-liste .party-druck-klon .tabelle th, body.druck-liste .party-druck-klon .tabelle td { display: table-cell; padding: .35rem .5rem; border-bottom: 1px solid #888; }
  body.druck-liste .party-druck-klon .tabelle th[scope="row"] { text-align: left; }
  body.druck-liste .party-druck-klon .tabelle td::before { content: none; }
}
