/* Feierabendgarten: Abendstimmung. Dunkles Waldgrün, Glut als Akzent, warmes Papier für den Lesetext.
   Cormorant Garamond für Überschriften, Systemschrift für Text. Kontraste mindestens WCAG AA. */
@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --nacht: #121915;
  --wald: #1c2420;
  --moos: #2b3830;
  --moos-hell: #3d4d43;
  --salbei: #8fa58a;
  --glut: #b04a17;          /* Kaufknöpfe: Weiß darauf 5,3:1 */
  --glut-tief: #8c3a11;
  --glut-hell: #e9a25c;     /* auf Dunkel */
  --bernstein: #e9b872;
  --sand: #f4eee4;
  --papier: #fbf8f2;
  --linie: #e2d9cb;
  --linie-dunkel: #c9bca8;
  --text: #1b1f1c;
  --text-2: #353b37;
  --grau: #5b625d;
  --weiss: #fff;
  --gut: #2f6b3a;
  --schlecht: #9b2c1f;
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgb(18 25 21 / 6%), 0 8px 28px rgb(18 25 21 / 8%);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 720px;
  --weit: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sand); color: var(--text); font: 18px/1.7 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--glut); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--glut-tief); }
:focus-visible { outline: 3px solid var(--glut-hell); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--wald); letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6vw, 68px); margin: 0 0 16px; }
h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 56px 0 16px; }
h3 { font-size: 26px; margin: 32px 0 10px; }
h4 { font-size: 18px; margin: 24px 0 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--weiss); padding: 10px 14px; border-radius: 8px; }

/* Vorschau-Band (nur VORSCHAU=1) */
.vorschau-band { background: repeating-linear-gradient(-45deg, #f2c94c 0 18px, #f6d872 18px 36px); color: #2a2100; text-align: center; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgb(18 25 21 / 92%); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgb(255 255 255 / 7%); }
.kopf-innen { max-width: var(--weit); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin: 0; }
.logo img { width: 36px; height: 36px; }
.logo-wort { font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--sand); letter-spacing: .01em; line-height: 1; }
.logo-wort span { color: var(--bernstein); font-style: italic; font-weight: 500; }
.hauptmenue { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.hauptmenue a { color: #d9d3c7; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .02em; padding: 6px 0; border-bottom: 2px solid transparent; }
.hauptmenue a:hover, .hauptmenue a[aria-current] { color: var(--weiss); border-bottom-color: var(--glut-hell); }

/* Startseite: Aufmacher in Abendstimmung (Foto folgt, Verlauf bleibt als Grund) */
.aufmacher { position: relative; color: var(--sand); background:
  radial-gradient(120% 60% at 70% 100%, rgb(217 119 43 / 55%) 0%, rgb(217 119 43 / 0%) 55%),
  radial-gradient(60% 40% at 82% 22%, rgb(233 184 114 / 22%) 0%, rgb(233 184 114 / 0%) 70%),
  linear-gradient(180deg, #0f1512 0%, #1c2420 55%, #3a2a1c 100%);
  background-size: cover; background-position: center; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.aufmacher.mit-bild { background: #0f1512; isolation: isolate; }
.aufmacher-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.aufmacher.mit-bild::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(15 21 18 / 88%) 0%, rgb(15 21 18 / 62%) 38%, rgb(15 21 18 / 10%) 70%), linear-gradient(180deg, rgb(15 21 18 / 30%) 0%, rgb(15 21 18 / 0%) 30%, rgb(15 21 18 / 70%) 100%); }
.aufmacher.mit-bild .aufmacher-innen { z-index: 2; }
.aufmacher-nachweis { position: absolute; z-index: 2; right: 16px; bottom: 52px; margin: 0; font-size: 12px; color: rgb(244 238 228 / 70%); }
.aufmacher-nachweis a { color: inherit; }
.aufmacher-innen { position: relative; max-width: var(--weit); width: 100%; margin: 0 auto; padding: 120px 20px 72px; }
.aufmacher h1 { color: var(--weiss); max-width: 14ch; font-size: clamp(44px, 7.4vw, 92px); font-weight: 600; margin-bottom: 20px; text-wrap: balance; }
.aufmacher-dach { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; color: var(--bernstein); margin: 0 0 14px; }
.aufmacher-text { max-width: 58ch; font-size: clamp(18px, 2vw, 21px); color: #e8e1d4; margin: 0 0 28px; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.knopf-hell, .knopf-rand { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.knopf-hell { background: var(--sand); color: var(--wald); }
.knopf-hell:hover { background: var(--weiss); color: var(--wald); }
.knopf-rand { border: 1.5px solid rgb(244 238 228 / 55%); color: var(--sand); }
.knopf-rand:hover { border-color: var(--sand); color: var(--weiss); }

.versprechen { max-width: var(--weit); margin: -40px auto 0; position: relative; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.versprechen > * { background: var(--papier); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--schatten); }
.versprechen > *:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.versprechen > *:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.versprechen strong { font-family: var(--serif); font-size: 26px; color: var(--wald); line-height: 1.1; }
.versprechen span { font-size: 15px; color: var(--grau); line-height: 1.5; }
.versprechen a { text-decoration: none; transition: background .15s; }
.versprechen a:hover { background: var(--weiss); }
.versprechen .versprechen-mehr { margin-top: auto; padding-top: 4px; color: var(--glut); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) {
  .versprechen { grid-template-columns: 1fr 1fr; }
  .versprechen > * { border-radius: 0 !important; }
  .versprechen > *:nth-child(1) { border-top-left-radius: var(--radius) !important; }
  .versprechen > *:nth-child(2) { border-top-right-radius: var(--radius) !important; }
  .versprechen > *:nth-child(3) { border-bottom-left-radius: var(--radius) !important; }
  .versprechen > *:nth-child(4) { border-bottom-right-radius: var(--radius) !important; }
}
@media (max-width: 460px) { .versprechen { grid-template-columns: 1fr; } .versprechen > * { border-radius: 0 !important; } .versprechen > *:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; } .versprechen > *:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; } }

.themen-block, .liste, .aehnlich { max-width: var(--weit); margin: 0 auto; padding: 24px 20px 40px; }
.themen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.thema { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); text-decoration: none; color: var(--sand); background: linear-gradient(160deg, var(--moos) 0%, var(--wald) 100%); min-height: 190px; }
.thema strong { font-family: var(--serif); font-size: 32px; color: var(--weiss); font-weight: 600; }
.thema span { font-size: 15px; color: #cfc8ba; }
.thema .thema-mehr { margin-top: auto; color: var(--bernstein); font-weight: 700; }
.thema:hover { background: linear-gradient(160deg, var(--moos-hell) 0%, var(--moos) 100%); color: var(--weiss); }
.intro { color: var(--grau); max-width: 60ch; }
.kategorie-seite h1 { margin-top: 32px; }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.kachel { display: flex; flex-direction: column; background: var(--papier); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--schatten); transition: transform .2s ease; }
.kachel:hover { transform: translateY(-3px); color: var(--text); }
.kachel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--moos); }
.kachel-text { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.kachel-kat { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--glut); }
.kachel strong { font-family: var(--serif); font-size: 25px; line-height: 1.15; color: var(--wald); }
.kachel-text > span:last-child { font-size: 15px; color: var(--grau); line-height: 1.55; }

/* Artikelkopf: Bild randlos mit Abendverlauf, Titel darauf */
.artikel-kopf { position: relative; background: linear-gradient(180deg, #0f1512 0%, #1c2420 60%, #33281d 100%); color: var(--sand); overflow: hidden; }
.artikel-kopf.mit-bild { min-height: min(72vh, 620px); display: flex; align-items: flex-end; }
@media (max-width: 640px) { .artikel-kopf.mit-bild { min-height: min(52vh, 440px); } .artikel-kopf-text { padding-top: 64px; padding-bottom: 28px; } }
.artikel-kopf .titelbild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artikel-kopf.mit-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 25 21 / 25%) 0%, rgb(18 25 21 / 45%) 35%, rgb(18 25 21 / 82%) 70%, rgb(18 25 21 / 96%) 100%); }
.artikel-kopf-text { position: relative; z-index: 1; max-width: calc(var(--breite) + 40px); width: 100%; margin: 0 auto; padding: 96px 20px 40px; }
.artikel-kopf h1 { color: var(--weiss); text-wrap: balance; text-shadow: 0 2px 18px rgb(0 0 0 / 55%); font-size: clamp(38px, 5.6vw, 62px); }
.artikel-unter { font-size: 20px; color: #e5ddcf; margin: 0 0 18px; }
.brotkrumen { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.brotkrumen a, .brotkrumen span { color: var(--bernstein); text-decoration: none; }
.brotkrumen span[aria-hidden] { color: rgb(233 184 114 / 50%); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; color: #d6cfc2; margin: 0; }
.meta a { color: #d6cfc2; }
.meta .punkt { opacity: .6; }

/* Lesetext */
.artikel .text, .seite { max-width: calc(var(--breite) + 40px); margin: 0 auto; padding: 32px 20px 24px; }
.seite { padding-top: 48px; }
.text > p:first-child { margin-top: 0; }
.text p, .text li { color: var(--text-2); }
.text ul, .text ol { padding-left: 22px; }
.text li { margin: 6px 0; }
.text strong { color: var(--text); }
.text small { font-size: 15px; color: var(--grau); }
.werbehinweis { font-size: 14px; color: var(--grau); border-left: 3px solid var(--linie-dunkel); padding: 2px 0 2px 12px; margin: 0 0 20px; }
.text > p.lead, .lead { font-size: 21px; line-height: 1.6; color: var(--text); }

.sprungbox { margin: 8px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.knopf-gross { display: block; text-align: center; background: var(--glut); color: var(--weiss) !important; font-weight: 800; font-size: 18px; padding: 16px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgb(176 74 23 / 28%); }
.knopf-gross:hover { background: var(--glut-tief); }
.sprungbox details { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-klein); padding: 4px 16px; }
.sprungbox summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.sprungbox ol { margin: 0 0 12px; font-size: 16px; }

/* Kurz gesagt */
.kurzwahl { background: var(--wald); color: var(--sand); border-radius: var(--radius); padding: 26px 26px 20px; margin: 0 0 32px; position: relative; overflow: hidden; }
.kurzwahl::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(217 119 43 / 35%) 0%, rgb(217 119 43 / 0%) 70%); }
.kurzwahl .kurzwahl-titel { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 12px; color: var(--weiss); position: relative; }
.kurzwahl-liste { list-style: none; padding: 0 !important; margin: 0; position: relative; }
.kurzwahl-liste li { color: #e4ddd0 !important; padding: 10px 0; border-top: 1px solid rgb(255 255 255 / 10%); margin: 0 !important; }
.kurzwahl-liste li:first-child { border-top: 0; }
.kurzwahl-liste strong { color: var(--bernstein) !important; }
.kurzwahl a { color: var(--weiss); text-decoration-color: rgb(233 162 92 / 70%); }
.kurzwahl .kurzwahl-mehr { margin: 10px 0 0; position: relative; }
.kurzwahl-mehr a { color: var(--bernstein); font-weight: 700; text-decoration: none; }

/* Hinweise */
.hinweis { border-radius: var(--radius-klein); padding: 16px 18px; margin: 24px 0; background: var(--papier); border: 1px solid var(--linie); border-left-width: 5px; }
.hinweis p { margin: 0; }
.hinweis p + p { margin-top: 8px; }
.hinweis-warnung { border-left-color: var(--schlecht); background: #fbf0ec; }
.hinweis-tipp { border-left-color: var(--gut); background: #eef4ec; }
.hinweis-info { border-left-color: var(--salbei); }

/* Steckbriefe (Optionen nebeneinander) */
.steckbriefe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 20px 0; }
.steckbrief { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; }
.steckbrief h3 { margin: 0 0 6px; font-size: 26px; }
.steckbrief > p { margin: 0 0 8px; font-size: 16px; }
.plusminus { list-style: none; padding: 0 !important; margin: 8px 0 0; font-size: 16px; }
.plusminus li { position: relative; padding-left: 26px; margin: 6px 0; }
.plusminus .plus::before, .plusminus .minus::before { position: absolute; left: 0; top: 0; font-weight: 800; width: 18px; text-align: center; }
.plusminus .plus::before { content: "+"; color: var(--gut); }
.plusminus .minus::before { content: "−"; color: var(--schlecht); }
.gegenueber { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.gegenueber > div { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; }
.gegenueber-titel { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0; color: var(--wald); }
.gegenueber-titel span { font-family: var(--sans); font-size: 14px; color: var(--grau); font-weight: 600; margin-left: 6px; }
@media (max-width: 600px) { .gegenueber { grid-template-columns: 1fr; } }

/* Balken */
.balken-titel { font-weight: 700; margin: 24px 0 8px; }
.balken { display: grid; gap: 8px; margin: 0 0 12px; }
.balken-zeile { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; align-items: center; gap: 10px; font-size: 15px; }
.balken-bar { height: 12px; border-radius: 6px; background: var(--linie); position: relative; overflow: hidden; }
.balken-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--wert) * 1%); background: linear-gradient(90deg, var(--glut-hell), var(--glut)); border-radius: 6px; }
.balken-wert { font-weight: 700; white-space: nowrap; }

/* Tabellen */
.tabelle { overflow-x: auto; margin: 20px 0; border: 1px solid var(--linie); border-radius: var(--radius-klein); background: var(--papier); }
.tabelle table { border-collapse: collapse; width: 100%; font-size: 16px; min-width: 520px; }
.tabelle th, .tabelle td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { background: #efe7da; font-weight: 700; color: var(--wald); }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle .summe td { font-weight: 800; background: #f3ece0; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .tabelle td:not(.zahl), .tabelle th:not(.zahl) { min-width: 140px; }
  .tabelle td:last-child:not(.zahl) { min-width: 300px; }
  /* Handy: jede Zeile eine Karte, Spaltenname links, Wert rechts */
  .tabelle:has(table.karten) { overflow: visible; border: 0; background: none; }
  .tabelle table.karten { min-width: 0; }
  .tabelle table.karten thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle table.karten, .tabelle table.karten tbody, .tabelle table.karten tr, .tabelle table.karten td { display: block; }
  .tabelle table.karten tr { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-klein); margin-bottom: 10px; padding: 4px 14px; }
  .tabelle table.karten td { min-width: 0 !important; padding: 7px 0; border-bottom: 1px dashed var(--linie); display: flex; gap: 14px; text-align: left; white-space: normal; }
  .tabelle table.karten td > span { flex: 1; }
  .tabelle table.karten td.zahl > span { text-align: right; }
  .tabelle table.karten td::before { content: attr(data-label); font-weight: 700; color: var(--wald); text-align: left; flex: 0 0 42%; }
  .tabelle table.karten td:first-child { display: block; text-align: left; font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--wald); padding-top: 10px; }
  .tabelle table.karten td:first-child::before { content: none; }
  .tabelle table.karten td:last-child { border-bottom: 0; }
  .tabelle table.karten td:empty { display: none; }
  .tabelle table.karten tr.summe { background: var(--wald); border-color: var(--wald); }
  .tabelle table.karten tr.summe td { border-bottom: 0; }
  .tabelle table.karten tr.summe td:first-child { border-bottom: 1px dashed rgb(244 238 228 / 20%); }
  .tabelle table.karten tr.summe td { background: none; color: var(--sand); border-bottom-color: rgb(244 238 228 / 20%); }
  .tabelle table.karten tr.summe td::before, .tabelle table.karten tr.summe td:first-child { color: var(--bernstein); }
}

/* Grafiken (eigene SVG) */
.grafik { margin: 28px 0; }
.grafik img { display: block; width: 100%; border-radius: var(--radius); background: var(--papier); border: 1px solid var(--linie); }
.grafik figcaption { font-size: 14px; color: var(--grau); margin-top: 8px; }

/* Modellkarten */
.modelle { display: grid; gap: 18px; margin: 24px 0; }
.modell { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.modell-kopf { margin: 0; padding: 18px 20px 12px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.modell-name { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--wald); line-height: 1.1; }
.modell-tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wald); background: #f2dfc6; padding: 5px 10px; border-radius: 999px; }
.modell-daten { margin: 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; }
.modell-daten div { padding: 10px 0; border-top: 1px solid var(--linie); }
.modell-daten dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--grau); font-weight: 700; }
.modell-daten dd { margin: 2px 0 0; font-size: 16px; color: var(--text); font-weight: 600; line-height: 1.4; }
.modell-text { padding: 4px 20px 0; font-size: 16px; }
.modell-text p { margin: 8px 0; }
.modell .plusminus { padding: 0 20px !important; }
.modell details { margin: 8px 20px 0; font-size: 15px; }
.modell details summary { cursor: pointer; font-weight: 700; color: var(--glut); }
.modell-fuss { margin: 14px 0 0; padding: 14px 20px; background: #f1e9dc; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.modell-preis { font-weight: 800; font-size: 20px; color: var(--wald); display: flex; flex-direction: column; line-height: 1.2; }
.modell-preis small { font-size: 12px; font-weight: 700; color: var(--grau); text-transform: uppercase; letter-spacing: .08em; }
.modell-knopf { display: inline-block; background: var(--glut); color: var(--weiss) !important; font-weight: 800; text-decoration: none; padding: 13px 20px; border-radius: 999px; font-size: 16px; min-height: 48px; }
.modell-knopf:hover { background: var(--glut-tief); }
.modell-knopf.zweit { background: transparent; color: var(--glut) !important; border: 1.5px solid var(--glut); }
.modell-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .modell-knopf { width: 100%; text-align: center; } .modell-knoepfe { width: 100%; } }

/* Produktliste am Ende (aus Linklisten mit Werbelinks) */
.produktliste { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.produktliste li { margin: 0 !important; }
.produktliste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-klein); padding: 12px 14px; text-decoration: none; color: var(--text); }
.produktliste .produkt { font-weight: 700; }
.produktliste .knopf { background: var(--glut); color: var(--weiss); font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 999px; }
.produktliste a:hover .knopf { background: var(--glut-tief); }

.checkliste { list-style: none; padding: 0 !important; }
.checkliste li { position: relative; padding-left: 32px; }
.checkliste li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border: 2px solid var(--salbei); border-radius: 5px; }
.quellen { font-size: 15px; color: var(--grau); border-top: 1px solid var(--linie); margin-top: 40px; padding-top: 12px; }
.quellen li { color: var(--grau); }
.bildnachweis { color: var(--grau); }

/* Redaktionsbox */
.autorbox { max-width: var(--breite); margin: 24px auto 48px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); }
@media (max-width: 760px) { .autorbox { margin-left: 20px; margin-right: 20px; } }
.autorbox img { width: 48px; height: 48px; flex: none; border-radius: 12px; }
.autorbox p { margin: 0; font-size: 15px; color: var(--text-2); }
.autorname { font-weight: 800; color: var(--wald) !important; margin-bottom: 4px !important; }
.aehnlich h2 { margin-top: 8px; }

/* Newsletter (nur sichtbar, wenn site.json > newsletter.formular_url gesetzt ist, und in der Vorschau) */
.newsletter { max-width: var(--weit); margin: 8px auto 40px; padding: 40px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; align-items: center; color: var(--sand); background: linear-gradient(160deg, var(--moos) 0%, var(--wald) 70%); border-radius: var(--radius); box-shadow: var(--schatten); }
.newsletter-dach { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bernstein); }
.newsletter h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; color: var(--weiss); }
.newsletter-text p:last-child { margin: 0; color: #d8d1c3; font-size: 17px; }
.newsletter label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--sand); }
.newsletter-zeile { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-zeile[hidden] { display: none; }
.newsletter input[type="email"] { flex: 1 1 220px; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--text); background: var(--weiss); border: 0; border-radius: var(--radius-klein); }
.newsletter button { min-height: 52px; padding: 12px 24px; font: inherit; font-size: 16px; font-weight: 800; color: var(--weiss); background: var(--glut); border: 0; border-radius: 999px; cursor: pointer; }
.newsletter button:hover { background: var(--glut-tief); }
.newsletter button:disabled { opacity: .55; cursor: default; }
.newsletter-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter-klein { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: #c9c2b5; }
.newsletter-klein a { color: var(--bernstein); }
.newsletter-meldung { margin: 14px 0 0; padding: 14px 16px; border-radius: var(--radius-klein); background: rgb(255 255 255 / 10%); color: var(--weiss); font-weight: 700; }
.newsletter-meldung.fehler { background: #5a1f17; }
@media (max-width: 1220px) { .newsletter { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 28px 22px; } }
@media (max-width: 520px) { .newsletter { margin-left: 16px; margin-right: 16px; } .newsletter button { width: 100%; } }

/* Fuß */
.fuss { background: var(--nacht); color: #c9c2b5; margin-top: 40px; }
.fuss-innen { max-width: var(--weit); margin: 0 auto; padding: 44px 20px 20px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.fuss-marke { max-width: 420px; }
.fuss-marke p:not(.logo) { font-size: 15px; margin: 12px 0 0; }
.fuss nav { display: flex; flex-direction: column; gap: 6px; }
.fuss nav a { color: #e6dfd2; text-decoration: none; font-size: 15px; }
.fuss nav a:hover { color: var(--weiss); text-decoration: underline; }
.fuss-zeile { max-width: var(--weit); margin: 0 auto; padding: 16px 20px 28px; font-size: 13px; color: #9d968a; border-top: 1px solid rgb(255 255 255 / 8%); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .kopf-innen { padding: 10px 16px; }
  .logo-wort { font-size: 24px; }
  .hauptmenue { gap: 2px 16px; }
  .hauptmenue a { font-size: 14px; }
  .aufmacher-innen, .artikel-kopf-text { padding-left: 16px; padding-right: 16px; }
  .artikel .text, .seite { padding-left: 16px; padding-right: 16px; }
  .kurzwahl { padding: 22px 18px 16px; }
}
@media (max-width: 380px) {
  .hauptmenue { gap: 2px 12px; }
  .hauptmenue a { font-size: 13.5px; letter-spacing: 0; }
}

/* Startseite: neuester Ratgeber groß, solange wenige live sind */
.neu { max-width: var(--weit); margin: 56px auto 0; padding: 0 20px; }
.neu-karte { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--papier); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--schatten); }
.neu-karte img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; background: var(--moos); }
.neu-text { display: flex; flex-direction: column; gap: 12px; padding: 34px 34px 30px; }
.neu-dach { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; color: var(--glut); }
.neu-text strong { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--wald); text-wrap: balance; }
.neu-text > span:nth-child(3) { color: var(--grau); line-height: 1.55; }
.neu-mehr { margin-top: auto; font-weight: 800; color: var(--glut); }
.neu-karte:hover .neu-mehr { text-decoration: underline; }
@media (max-width: 860px) {
  .neu-karte { grid-template-columns: 1fr; }
  .neu-karte img { min-height: 0; aspect-ratio: 16 / 9; }
  .neu-text { padding: 22px 20px 24px; }
}
@media (max-width: 640px) {
  .aufmacher { min-height: min(78vh, 640px); }
  .aufmacher-innen { padding-top: 64px; padding-bottom: 76px; }
  .aufmacher h1 { font-size: 40px; }
  .aufmacher.mit-bild::before { background: linear-gradient(180deg, rgb(15 21 18 / 25%) 0%, rgb(15 21 18 / 45%) 35%, rgb(15 21 18 / 90%) 72%, rgb(15 21 18 / 96%) 100%); }
  .aufmacher-bild { object-position: 60% 30%; }
  .knopf-rand { border: 0; padding-left: 4px; text-decoration: underline; text-underline-offset: 4px; }
  .neu { margin-top: 40px; padding: 0 16px; }
}

/* Genehmigungs-Check mit Karte (werkzeug/bundeslaender.js, src/js/fg.js). Dunkles Abendpanel, breiter als die Textspalte. */
.gcheck { --g-gruen: #86b27f; --g-gelb: #e9b872; --g-rot: #d0663b; --g-text: #efe9de; --g-leise: #b9c2b8;
  position: relative; margin: 36px calc(50% - min(540px, 50vw - 12px)); padding: clamp(20px, 3.4vw, 40px);
  background: radial-gradient(120% 80% at 85% 0%, #2b3a31 0%, var(--wald) 55%, var(--nacht) 100%); color: var(--g-text);
  border-radius: calc(var(--radius) + 6px); box-shadow: 0 30px 60px -30px rgb(18 25 21 / 55%); overflow: hidden; }
.gcheck::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgb(233 184 114 / 16%); pointer-events: none; }
.gcheck-kopf { max-width: 640px; }
.gcheck-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bernstein); }
.gcheck h3 { color: var(--weiss); margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 38px); }
.text .gcheck p, .text .gcheck li { color: var(--g-text); }
.text .gcheck strong { color: var(--weiss); }
.gcheck-intro { margin: 0 0 22px; font-size: 17px; }
.gcheck-raster { display: grid; gap: 22px 34px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "form karte" "ergebnis karte"; align-items: start; }
.gcheck-form { grid-area: form; display: grid; gap: 16px; }
.gcheck-karte { grid-area: karte; position: relative; }
.gcheck-ergebnis { grid-area: ergebnis; }
.gcheck:not(.ist-aktiv) .gcheck-raster { grid-template-areas: "karte karte"; }
.gcheck:not(.ist-aktiv) .gcheck-karte { max-width: 460px; margin: 0 auto; width: 100%; }
@media (max-width: 860px) {
  .gcheck { margin-inline: -20px; border-radius: 0; }
  .gcheck::after { border-radius: 0; border-width: 1px 0; }
  .gcheck-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "form" "karte" "ergebnis"; }
  .gcheck:not(.ist-aktiv) .gcheck-raster { grid-template-areas: "karte"; }
}
.gcheck fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gcheck legend, .gcheck-auswahl > span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-leise); margin-bottom: 8px; padding: 0; }
.gcheck-optionen { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: rgb(255 255 255 / 6%); border-radius: 999px; padding: 4px; }
.gcheck-schalter legend { display: block; }
.gcheck-schalter label { position: relative; cursor: pointer; }
.gcheck-schalter input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gcheck-schalter span { display: flex; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 10px 12px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--g-text); transition: background .25s, color .25s; }
.gcheck-schalter input:checked + span { background: var(--bernstein); color: var(--nacht); box-shadow: 0 4px 14px -6px rgb(233 184 114 / 80%); }
.gcheck-schalter input:focus-visible + span { outline: 3px solid var(--glut-hell); outline-offset: 2px; }
.gcheck-masse { background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 8%); border-radius: var(--radius-klein); padding: 14px 16px 12px; }
.gcheck-figur svg { display: block; width: 100%; max-width: 260px; height: 92px; margin: 0 auto 4px; overflow: visible; }
.gcheck-figur .boden { stroke: var(--g-leise); stroke-width: 1.5; stroke-dasharray: 3 4; }
.gcheck-figur .figur > * { fill: rgb(233 184 114 / 22%); stroke: var(--bernstein); stroke-width: 2; stroke-linejoin: round; transition: all .2s; }
.gcheck-figur .figur line { fill: none; stroke-width: 1.2; opacity: .7; }
.gcheck-figur .figur .tuer { fill: rgb(18 25 21 / 55%); stroke-width: 1.2; }
.gcheck[data-form="haus"] .gcheck-nur-fass, .gcheck[data-form="fass"] .gcheck-nur-haus { display: none; }
.gcheck-regler { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; margin: 6px 0; font-size: 16px; }
.gcheck-regler output { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--weiss); }
.gcheck-regler input { grid-column: 1 / -1; width: 100%; margin: 6px 0 4px; accent-color: var(--bernstein); height: 28px; cursor: pointer; }
.gcheck-werte { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 2px; font-size: 15px; }
.gcheck-werte strong { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--bernstein) !important; font-variant-numeric: tabular-nums; }
.text .gcheck .gcheck-klein { margin: 4px 0 0; font-size: 13px; color: var(--g-leise); }
.gcheck-auswahl { display: grid; }
.gcheck select { font: inherit; font-size: 17px; color: var(--nacht); background: var(--sand); border: 0; border-radius: var(--radius-klein); padding: 11px 14px; min-height: 48px; }
.gcheck-haken { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.gcheck-haken input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bernstein); }
.gcheck-haken[hidden] { display: none; }

/* Karte */
.gkarte { display: block; width: 100%; height: auto; overflow: visible; }
.gland path, .gland .gland-marke { stroke: var(--wald); stroke-width: 1.1; stroke-linejoin: round; fill: var(--moos-hell);
  transition: fill .45s cubic-bezier(.3,.7,.2,1) calc(var(--i, 0) * 22ms), stroke .2s, stroke-width .2s, filter .2s; }
.gland .gland-marke { stroke-width: 2.4; }
.gland .gland-treffer { fill: transparent; }
.gland.stufe-gruen path, .gland.stufe-gruen .gland-marke { fill: var(--g-gruen); }
.gland.stufe-gelb path, .gland.stufe-gelb .gland-marke { fill: var(--g-gelb); }
.gland.stufe-rot path, .gland.stufe-rot .gland-marke { fill: var(--g-rot); }
.gland text { font: 700 15px/1 var(--sans); fill: rgb(18 25 21 / 82%); text-anchor: middle; dominant-baseline: central; pointer-events: none; letter-spacing: .02em; }
.gland:hover path, .gland:focus-visible path { filter: brightness(1.12); }
.gland:focus-visible { outline: none; }
.gland:focus-visible path { stroke: var(--weiss); stroke-width: 2.5; }
.gland.ist-gewaehlt path, .gland.ist-gewaehlt .gland-marke { stroke: var(--weiss); stroke-width: 3; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 45%)); }
.gkarte-tipp { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--sand); color: var(--nacht); font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; box-shadow: var(--schatten); }
.gkarte-legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; list-style: none; margin: 12px 0 0 !important; padding: 0 !important; font-size: 14px; }
.text .gkarte-legende li { margin: 0; color: var(--g-leise); display: inline-flex; align-items: center; gap: 7px; }
.gkarte-legende li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--g-gruen); }
.gkarte-legende .stufe-gelb::before { background: var(--g-gelb); }
.gkarte-legende .stufe-rot::before { background: var(--g-rot); }
.gcheck-summe { text-align: center; margin: 8px 0 0; font-size: 16px; }
.text .gcheck .gcheck-beispiel { text-align: center; font-size: 14px; color: var(--g-leise); margin: 6px auto 0; max-width: 420px; }
.gcheck-beispiel[hidden] { display: none; }

/* Ergebnis mit Ampel */
.gcheck-ergebnis { background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 9%); border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; transition: border-color .3s, background .3s; }
.gcheck-ergebnis:empty { display: none; }
.gcheck-ergebnis > :not(.gcheck-ampel):not(.gcheck-urteil) { grid-column: 1 / -1; }
.text .gcheck .gcheck-leer { margin: 0; color: var(--g-leise); font-size: 16px; }
.gcheck-ampel { display: grid; gap: 5px; background: var(--nacht); padding: 6px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%); }
.gcheck-ampel i { width: 18px; height: 18px; border-radius: 50%; background: rgb(255 255 255 / 9%); transition: background .3s, box-shadow .3s; }
.gcheck-ergebnis.stufe-gruen { border-color: rgb(134 178 127 / 45%); }
.gcheck-ergebnis.stufe-gelb { border-color: rgb(233 184 114 / 45%); }
.gcheck-ergebnis.stufe-rot { border-color: rgb(208 102 59 / 50%); }
.text .gcheck .gcheck-land { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--g-leise); }
.text .gcheck .gcheck-titel { margin: 2px 0 0; font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.12; color: var(--weiss); }
.gcheck-meter { position: relative; margin: 12px 0 2px; }
.gcheck-meter-balken { height: 10px; border-radius: 999px; background: rgb(255 255 255 / 10%); overflow: hidden; }
.gcheck-meter-balken::before { content: ""; display: block; height: 100%; width: calc(var(--anteil) * 100%); border-radius: inherit; background: var(--g-gruen); transition: width .45s cubic-bezier(.3,.7,.2,1); }
.gcheck-meter-grenze { position: absolute; top: -4px; left: calc(var(--pos) * 100%); width: 2px; height: 18px; background: var(--weiss); border-radius: 2px; }
.text .gcheck .gcheck-meter p { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0 0; font-size: 14px; color: var(--g-leise); }
.gcheck-ergebnis ul { margin: 8px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.55; }
.text .gcheck .gcheck-fundstelle { margin: 6px 0 0; font-size: 14px; color: var(--g-leise); }
.gcheck a { color: var(--bernstein); }
.gcheck-quelle { margin: 22px 0 0; }
.text .gcheck .gcheck-quelle small { color: var(--g-leise); font-size: 13px; }
.tabelle tr:target td { background: #f6e6c8; transition: background .6s; }
@media (max-width: 640px) { .tabelle table.karten tr:target { outline: 3px solid var(--bernstein); outline-offset: -3px; } }
@media (prefers-reduced-motion: reduce) {
  .gland path, .gland .gland-marke, .gcheck-meter-balken::before, .gcheck-schalter span, .gcheck-figur .figur > * { transition: none; }
}
.gcheck-form[hidden], .gkarte-tipp[hidden] { display: none; }
@media (max-width: 640px) { .gland text { font-size: 21px; } .gland .gland-marke { stroke-width: 3; } }
.gland .gland-marke ~ text { font-size: 13px; }
@media (max-width: 640px) { .gland .gland-marke ~ text { font-size: 16px; } }

/* Check: Situation, Unterfrage, zwei Ampeln, Schritte */
.gcheck-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gcheck-kacheln-3 { grid-template-columns: minmax(0, 1fr); }
.gcheck-kacheln-3 span { min-height: 0; flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.gcheck-kacheln label { position: relative; cursor: pointer; display: flex; }
.gcheck-kacheln input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gcheck-kacheln span { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 12px; min-height: 58px; border-radius: var(--radius-klein);
  background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); transition: background .2s, border-color .2s, transform .2s; }
.gcheck-kacheln strong { font-size: 15px; line-height: 1.25; color: var(--weiss); }
.gcheck-kacheln small { font-size: 12.5px; line-height: 1.3; color: var(--g-leise); }
.gcheck-kacheln label:hover span { border-color: rgb(233 184 114 / 45%); }
.gcheck-kacheln input:checked + span { background: rgb(233 184 114 / 16%); border-color: var(--bernstein); box-shadow: inset 0 0 0 1px var(--bernstein); }
.gcheck-kacheln input:focus-visible + span { outline: 3px solid var(--glut-hell); outline-offset: 2px; }
.gcheck-unterfrage { padding: 12px; margin-top: -6px; border-radius: var(--radius-klein); background: rgb(233 184 114 / 7%); border-left: 3px solid var(--bernstein); }
.gcheck-unterfrage[hidden] { display: none; }
.gcheck-schalter-3 .gcheck-optionen { grid-template-columns: repeat(3, 1fr); }
.gcheck-schalter-3 span { font-size: 15px; padding: 10px 6px; }
.gcheck-ergebnis { display: block; }
.gcheck-zeile { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.gcheck-zeile + ul, .gcheck-zeile + .gcheck-meter { margin-top: 10px; }
.gcheck-zeile.stufe-rot .gcheck-ampel .rot { background: var(--g-rot); box-shadow: 0 0 14px 2px rgb(208 102 59 / 70%); }
.gcheck-zeile.stufe-gelb .gcheck-ampel .gelb { background: var(--g-gelb); box-shadow: 0 0 14px 2px rgb(233 184 114 / 70%); }
.gcheck-zeile.stufe-gruen .gcheck-ampel .gruen { background: var(--g-gruen); box-shadow: 0 0 14px 2px rgb(134 178 127 / 70%); }
.gcheck-trenner { height: 1px; background: rgb(255 255 255 / 10%); margin: 18px 0; }
.gcheck-schritte { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-klein); background: rgb(0 0 0 / 18%); }
.gcheck-schritte ol { margin: 8px 0 0; padding-left: 0; list-style: none; counter-reset: schritt; font-size: 16px; line-height: 1.5; }
.text .gcheck-schritte li { counter-increment: schritt; position: relative; padding-left: 38px; margin: 10px 0; }
.gcheck-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px/1 var(--sans); color: var(--nacht); background: var(--bernstein); }
.gcheck-muster { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--bernstein); font-weight: 700; font-size: 15px; text-decoration: none; }
.gcheck-muster::before { content: "↓"; }
.gcheck-muster:hover { background: rgb(233 184 114 / 14%); color: var(--bernstein); }
.text .gcheck .gcheck-hinweis { margin: 14px 0 0; font-size: 12.5px; color: var(--g-leise); }
.gcheck-meter.stufe-gelb .gcheck-meter-balken::before { background: var(--g-gelb); }
.gcheck-meter.stufe-rot .gcheck-meter-balken::before { background: var(--g-rot); }
@media (min-width: 861px) { .gcheck.ist-aktiv .gcheck-karte { position: sticky; top: 96px; } }
