/* =====================================================================================
   Grünkante Gärtnerei · Gestalt der Seite (Bautyp Beetplan)
   Die Seite ist ein Gartenplan von oben: Wegeraster als Hintergrund, jeder Abschnitt ein Beet
   mit organischer Form (section.beet, Form und Füllung je Beet als Variablen im HTML), versetzt
   gesetzt. Legende links als Navigation, Knöpfe als Pflanzschilder mit Spitze unten.
   Reihenfolge: 0 Grundlagen · 1 Kopf, Knöpfe, Legende · 2 Beete · 3 Der Plan (Gießkanne) ·
   4 Vom Plan zum Garten (klebend) · 5 ruhige Beete · 6 Kontakt, Fuß · 7 Auftritte · 8 Handy
   ===================================================================================== */

/* ---------- 0 · Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 16px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  /* Wegeraster des Plans: alle 160 px ein Weg, dazwischen ein feines Hilfsraster */
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--weg) 1px, transparent 1px), linear-gradient(90deg, var(--weg) 1px, transparent 1px),
    linear-gradient(rgba(90, 62, 43, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(90, 62, 43, .045) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}
h1, h2, h3, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; font-weight: 640; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.9vw, 50px); }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-size: 21px; letter-spacing: -.012em; }
a { color: var(--gruen-1); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gruen-1); outline-offset: 3px; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-klein); background: var(--text); color: #fff; }
.sprung:focus { top: 12px; }
.marke { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bluete-text); margin-bottom: 14px; }
.marke-hell { color: #f1b6c8; }
.leise { color: var(--muted); }
.klein { font-size: 14px; }
.vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 1 · Kopf, Knöpfe, Legende ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); background: rgba(245, 240, 228, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(90, 62, 43, .09); }
.kopf-innen { height: 100%; width: min(100% - 40px, calc(var(--breite) + var(--legende) + 28px)); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.logo-zeichen { width: 30px; height: 30px; color: var(--gruen-1); }
.kopf-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 640; font-size: 16px; font-variant-numeric: tabular-nums; }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--gruen-2); box-shadow: 0 0 0 4px rgba(95, 155, 76, .2); }

/* Pflanzschild: Täfelchen aus Erde, die Spitze unten ist ein gedrehtes Quadrat hinter dem Knopf */
.knopf { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; margin-bottom: 10px; border: 0; border-radius: 6px; background: var(--erde); color: #f8f1e4; font: inherit; font-weight: 620; font-size: 16px; letter-spacing: .01em; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 2px 0 rgba(0, 0, 0, .14); transition: background .2s, transform .2s; }
.knopf::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: inherit; box-shadow: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; z-index: -1; }
.knopf:hover { background: var(--erde-tief); transform: translateY(-1px); }
.knopf:active { transform: translateY(1px); }
.knopf-klein { min-height: 42px; padding: 0 16px; font-size: 15px; margin-bottom: 0; }
.knopf-leise { background: var(--surface); color: var(--erde); box-shadow: inset 0 0 0 1.5px var(--erde-hell); }
.knopf-leise:hover { background: #fff; }
.leise-knopf { min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--gruen-1); font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.plan-seite { display: grid; grid-template-columns: var(--legende) minmax(0, 1fr); gap: 28px; width: min(100% - 40px, calc(var(--breite) + var(--legende) + 28px)); margin: 28px auto 0; align-items: start; }
main { min-width: 0; }

.legende { position: sticky; top: calc(var(--kopf) + 18px); padding: 16px 14px 12px; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--border), 0 12px 32px rgba(90, 62, 43, .07); }
.legende-titel { display: flex; justify-content: space-between; margin: 0 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legende-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legende-liste a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 6px 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 520; transition: background .2s, color .2s; }
.legende-liste svg { width: 26px; height: 26px; flex: none; color: var(--gruen-1); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.legende-liste a:hover { background: var(--surface-2); }
.legende-liste a.ist-aktiv { background: #fff; color: var(--bluete-text); font-weight: 650; box-shadow: inset 0 0 0 1.5px var(--bluete-text); }
.legende-liste a.ist-aktiv svg { color: var(--bluete-text); }
.voll { fill: currentColor; stroke: none; }
.legende-fuss { margin: 10px 6px 0; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--muted); }

/* ---------- 2 · Beete: organische Fläche hinter dem Inhalt, Beetkante gestrichelt ---------- */
#inhalt { overflow-x: clip; } /* gedrehte Beet-Hintergründe ragen sonst 8 px über den rechten Rand */
.beet { position: relative; isolation: isolate; margin-top: var(--abstand); padding: clamp(28px, 4.2vw, 56px) clamp(24px, 4.2vw, 60px); }
.beet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--beet-fuellung, var(--beet-a)); border-radius: var(--beet-form, 140px 160px 150px 130px / 130px 150px 160px 140px); transform: rotate(var(--beet-drehung, -.5deg)); box-shadow: inset 0 0 0 2px rgba(90, 62, 43, .1), 0 1px 0 rgba(90, 62, 43, .06); }
.beet::after { content: ""; position: absolute; inset: -9px; z-index: -1; border: 1px dashed rgba(90, 62, 43, .28); border-radius: var(--beet-form, 140px 160px 150px 130px / 130px 150px 160px 140px); transform: rotate(var(--beet-drehung, -.5deg)); pointer-events: none; }
.beet-plan { margin-top: 0; }
.beet-links { width: 86%; margin-right: auto; }
.beet-rechts { width: 86%; margin-left: auto; }
.beet-schmal { width: 74%; margin-left: 8%; }
.abschnitt-kopf { max-width: 42rem; margin-bottom: 36px; }
.abschnitt-kopf .leise { margin-top: 14px; }

/* ---------- 3 · Der Plan: Gießkanne lässt Pflanzen wachsen (js/giesskanne.js) ---------- */
.plan-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.held-text { max-width: 30rem; }
.einleitung { margin-top: 20px; font-size: 19px; color: var(--muted); }
.held-knoepfe { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 14px; }
.held-hinweis { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.held-hinweis::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 9px; border-radius: 50%; border: 2px solid var(--gruen-1); vertical-align: -1px; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }
html:not(.js) .held-hinweis, html:not(.js) .plan-steuer { display: none; }

.plan-buehne { position: relative; touch-action: pan-y; }
html.kanne-an .plan-buehne.kanne-folgt { cursor: none; }
.plan-svg { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.pl-rasen { fill: var(--gruen-3); }
.pl-schatten { fill: url(#m-schatten); }
.pl-weg { fill: none; stroke: #e6dcc7; stroke-width: 18; stroke-linecap: round; }
.pl-weg-platten { stroke-width: 14; stroke-linecap: butt; stroke-dasharray: 14 7; }
.pl-haus { fill: url(#m-haus); stroke: var(--erde-hell); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pl-terrasse { fill: url(#m-platten); stroke: var(--erde-hell); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pl-beet { fill: #ead9bd; stroke: var(--erde-hell); stroke-width: 1.1; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.pl-grenze { fill: none; stroke: var(--erde); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.pl-text { font-family: var(--schrift); font-size: 14px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase; fill: var(--erde); text-anchor: middle; }
.pl-text-klein { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: var(--erde); }
.pl-nord circle { fill: var(--surface); stroke: var(--erde); stroke-width: 1.2; }
.pl-nord path { fill: var(--erde); }
.pl-nord text, .pl-mass text { font-family: var(--schrift); font-size: 10.5px; font-weight: 700; fill: var(--erde); text-anchor: middle; }
.pl-mass path { fill: none; stroke: var(--erde); stroke-width: 1.2; }
.pl-mass rect { fill: var(--erde); }

/* Pflanzen von oben: Farben für die Symbole im Zeichenvorrat (gelten auch in <use>) */
.kr-f { fill: var(--gruen-2); }
.kr-r { fill: none; stroke: var(--gruen-1); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.kr-l { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.kr-blatt ellipse { fill: var(--gruen-2); stroke: var(--gruen-1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.kr-d { fill: var(--gruen-1); }
.kr-g { fill: none; stroke: var(--gruen-1); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.stamm { fill: var(--erde); }
.blueten { fill: var(--bluete); opacity: var(--b, 0); transition: opacity .5s ease .25s; }
.bl-hell { fill: var(--bluete-hell); }
.bl-gras { fill: #e5d4a8; }
.bl-lila { fill: #a98ad4; }

.platz { fill: rgba(255, 255, 255, .38); stroke: rgba(90, 62, 43, .5); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; transition: fill .6s; }
.pp.nass .platz { fill: var(--erde-nass); fill-opacity: .5; }
.pflanze { transform-box: fill-box; transform-origin: center; }
html.kanne-an .pflanze { transform: scale(0); transition: transform .55s cubic-bezier(.3, 1.45, .55, 1); }
html.kanne-an .pp.gewachsen .pflanze { transform: scale(1); }
.pp.gewachsen, html:not(.kanne-an) .pp { --b: 1; }
.krone { transform: scale(calc(var(--g, 1) * var(--k, 1))); transform-box: fill-box; transform-origin: center; transition: transform .6s cubic-bezier(.3, 1.25, .55, 1); transition-delay: var(--d, 0ms); }
.jahr3 .pp { --k: var(--wachs, 1.4); }
html[data-bewegung="starr"] .krone, html[data-bewegung="starr"] .pflanze, html[data-bewegung="starr"] .blueten { transition: none; }

/* Gießkanne: HTML-Element über dem Plan, nur transform bewegt sich. Brause-Spitze liegt bei (14, 67) px. */
.kanne { position: absolute; left: 0; top: 0; z-index: 3; width: 92px; height: 83px; margin: -67px 0 0 -14px; pointer-events: none; opacity: 0; transform: translate3d(-400px, -400px, 0); will-change: transform; transition: opacity .25s; }
.kanne.an { opacity: 1; }
.kanne svg { display: block; width: 100%; height: 100%; overflow: visible; }
.kanne-koerper rect, .kanne-brause { fill: #6f8477; stroke: #3f5248; stroke-width: 1.4; }
.kanne-licht { fill: rgba(255, 255, 255, .28); }
.kanne-griff, .kanne-rohr { fill: none; stroke: #3f5248; stroke-width: 4.5; stroke-linecap: round; }
.kanne-rohr { stroke: #6f8477; stroke-width: 5.5; }
.tropfen ellipse { fill: var(--wasser); opacity: 0; }
html[data-bewegung="dynamisch"] .kanne.giesst .tropfen ellipse { animation: tropfen .7s linear infinite; }
html[data-bewegung="dynamisch"] .kanne.giesst .tropfen ellipse:nth-child(2) { animation-delay: .23s; }
html[data-bewegung="dynamisch"] .kanne.giesst .tropfen ellipse:nth-child(3) { animation-delay: .46s; }
@keyframes tropfen { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(18px); opacity: 0; } }
.nass-fleck { position: absolute; left: 0; top: 0; z-index: 1; width: 60px; height: 32px; margin: -16px 0 0 -30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 62, 43, .4), rgba(90, 62, 43, 0)); opacity: 0; transform: translate3d(-400px, -400px, 0); will-change: transform; transition: opacity .3s; pointer-events: none; }
html[data-bewegung="dynamisch"] .nass-fleck.an { opacity: 1; }

/* Pflanzschild beim Zeigen: weißes Täfelchen mit Steckstab, Spitze zeigt auf die Pflanze */
.pflanzschild { position: absolute; left: 0; top: 0; z-index: 4; width: max-content; max-width: 250px; padding: 10px 13px 12px; background: var(--surface); color: var(--text); border-radius: 6px; box-shadow: 0 0 0 1px var(--border), 0 10px 26px rgba(90, 62, 43, .18); font-size: 13px; line-height: 1.35; opacity: 0; pointer-events: none; transform: translate3d(-600px, -600px, 0); transition: opacity .18s; }
.pflanzschild::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 4px; height: 14px; margin-left: -2px; background: var(--erde-hell); border-radius: 0 0 2px 2px; }
.pflanzschild.an { opacity: 1; }
.ps-name b { font-weight: 680; font-size: 15px; }
.ps-name i { color: var(--muted); }
.ps-werte { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin-top: 8px; }
.ps-werte div { display: contents; }
.ps-werte dt { color: var(--muted); }
.ps-werte dd { font-weight: 580; }

.plan-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(90, 62, 43, .3); }
.planzettel { font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.planzettel b { display: inline-block; margin-right: 8px; padding: 2px 8px; border: 1.5px solid var(--erde); border-radius: 4px; color: var(--erde); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan-steuer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.plan-stand { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.jahr-wahl { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.jahr-wahl button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 620; cursor: pointer; transition: background .2s, color .2s; }
.jahr-wahl button[aria-pressed="true"] { background: var(--gruen-1); color: #fff; }
.pflanzliste { margin-top: 18px; }
.pflanzliste summary { cursor: pointer; padding: 10px 0; font-weight: 620; color: var(--gruen-1); }
.pflanzliste ol { margin: 8px 0 0; padding: 0 0 0 22px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.pflanzliste b { color: var(--text); font-weight: 650; }
.pflanzliste .leise { margin-top: 14px; }

/* ---------- 4 · Vom Plan zum Garten: klebender Abschnitt (js/garten-entsteht.js) ----------
   Ruhige Fassung (Grundzustand, auch ohne JavaScript): Schritte als Karten, Szene zeigt den Sommer.
   Mit html.entsteht-an: Szene klebt rechts, die Schritte scrollen links vorbei, je Schritt 96 vh. */
.entstehen-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.schritt { padding: 22px 24px; background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--border); }
.schritt-nr { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bluete-text); }
.schritt h3 { margin: 6px 0 10px; }
.schritt p { color: var(--muted); font-size: 16px; }
.schritt-werte { margin-top: 12px; color: var(--text) !important; font-weight: 650; font-variant-numeric: tabular-nums; }
.schritt .knopf { margin-top: 16px; }
.sz-buehne { display: flex; flex-direction: column; gap: 12px; }
.sz-blatt { padding: 8px; background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--border); }
.sz-svg { display: block; width: 100%; height: auto; }
.sz-rasen { fill: var(--gruen-3); opacity: .55; }
.sz-rasen-sommer { fill: var(--gruen-3); }
.sz-grenze { fill: none; stroke: var(--erde); stroke-width: 1.6; }
.sz-ecken rect { fill: var(--erde); }
.sz-haus-f { fill: url(#m-haus); stroke: none; }
.sz-haus-r { fill: none; stroke: var(--erde); stroke-width: 1.4; }
.sz-nord circle { fill: var(--surface); stroke: var(--erde); stroke-width: 1.2; }
.sz-nord path { fill: var(--erde); }
.sz-nord text { font-family: var(--schrift); font-size: 10px; font-weight: 700; fill: var(--erde); text-anchor: middle; }
.sz-mass { fill: none; stroke: var(--erde-hell); stroke-width: 1; }
.sz-mass-text { font-family: var(--schrift); font-size: 10.5px; font-weight: 640; fill: var(--erde); text-anchor: middle; paint-order: stroke; stroke: var(--surface); stroke-width: 5; stroke-linejoin: round; }
.sz-weg { fill: none; stroke: #e6dcc7; stroke-width: 14; stroke-linecap: round; }
.sz-terrasse { fill: url(#m-platten); stroke: var(--erde-hell); stroke-width: 1; }
.sz-beet-f { fill: #ead9bd; }
.sz-erde { fill: var(--erde-boden); opacity: .45; }
.sz-beet-r { fill: none; stroke: var(--erde-hell); stroke-width: 1.2; }
.sz-hecke { fill: none; stroke: var(--gruen-2); stroke-width: 10; stroke-dasharray: 12 5; stroke-linecap: round; }
.sz-labels text { font-family: var(--schrift); font-size: 11px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase; fill: var(--erde); text-anchor: middle; }
.sz-labels .sz-klein { font-size: 8.5px; fill: var(--erde); }
.sz-spur { fill: none; stroke: var(--erde-hell); stroke-width: 10; stroke-dasharray: 3 6; opacity: 0; }
.sz-humus { opacity: 0; }
.sz-humus ellipse { fill: var(--erde-boden); stroke: var(--erde-hell); stroke-width: 1; }
.sz-bagger { opacity: 0; }
.sz-bagger .raupe { fill: #3b3b3b; }
.sz-bagger .rumpf { fill: #e0a12a; stroke: #8a6210; stroke-width: 1; }
.sz-bagger .kabine { fill: #f4e6c2; stroke: #8a6210; stroke-width: 1; }
.sz-bagger .arm { fill: none; stroke: #e0a12a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sz-bagger .loeffel { fill: #6b6b6b; }
.sz-steuer rect { fill: var(--surface); stroke: var(--erde); stroke-width: 1.2; }
.sz-steuer text { font-family: var(--schrift); font-size: 8.5px; font-weight: 640; letter-spacing: .08em; text-transform: uppercase; fill: var(--erde); text-anchor: middle; }
.sz-schlauch { fill: none; stroke: var(--wasser); stroke-width: 2; opacity: .3; }
.sz-tropfer { fill: none; stroke: #4f8fc0; stroke-width: 5; stroke-dasharray: 0 26; stroke-linecap: round; opacity: .3; }
.sz-sonne circle { fill: #f3c64b; }
.sz-sonne path { fill: none; stroke: #f3c64b; stroke-width: 2; stroke-linecap: round; }
.setz { transform-box: fill-box; transform-origin: center; }
html.entsteht-an .setz { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.45, .55, 1); }
html.entsteht-an .sp.gesetzt .setz { transform: scale(1); }
.sommer .sp { --k: 1.6; --b: 1; }

.bautafel { padding: 14px 18px 16px; background: var(--erde); color: #f6efe2; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.tafel-schritt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #e9d9c4; }
.tafel-schritt b { color: #fff; }
.tafel-leiste { position: relative; height: 6px; margin: 10px 0 22px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.tafel-leiste i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 3px; background: var(--gruen-3); transform-origin: left; }
.tafel-leiste span { position: absolute; top: 10px; font-size: 11px; color: #d7c6ad; }
.tafel-leiste span:first-of-type { left: 0; }
.tafel-leiste span:last-of-type { right: 0; }
.tafel-wert { font-size: 17px; font-weight: 620; color: #fff; font-variant-numeric: tabular-nums; }

html.entsteht-an .entstehen-raster { align-items: stretch; }
html.entsteht-an .schritte { gap: 0; padding: 2vh 0 22vh; }
html.entsteht-an .schritt { display: flex; flex-direction: column; justify-content: center; min-height: 96vh; min-height: 96svh; padding: 0 0 0 26px; border-radius: 0; background: transparent; box-shadow: none; border-left: 3px solid var(--border); opacity: .35; transition: opacity .4s, border-color .4s; }
html.entsteht-an .schritt.ist-aktiv { opacity: 1; border-left-color: var(--gruen-1); }
html.entsteht-an .sz-buehne { position: sticky; top: calc(var(--kopf) + 16px); height: calc(100vh - var(--kopf) - 32px); justify-content: center; }
html.entsteht-an .sz-blatt, html.entsteht-an .bautafel { width: min(100%, calc((100vh - var(--kopf) - 190px) * 1.565)); margin-inline: auto; }

/* ---------- 5 · Ruhige Beete ---------- */
/* Leistungen als Pflanzschilder, in die Erde gesteckt */
.schilder-reihe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 42px; }
.schild-karte { position: relative; padding: 18px 16px 18px; background: var(--surface); border-radius: 8px; box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgba(90, 62, 43, .08); }
.schild-karte::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 6px; height: 30px; margin-left: -3px; background: var(--erde-hell); border-radius: 0 0 3px 3px; }
.schild-karte:nth-child(even) { margin-top: 26px; }
.schild-symbol, .stimme-symbol { width: 30px; height: 30px; color: var(--gruen-1); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.schild-karte h3 { margin-top: 12px; font-size: 19px; }
.schild-karte p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.schild-karte .schild-zahl { margin-top: 12px; color: var(--text); font-weight: 700; }
.kies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 58px 0 0; padding: 26px 28px; list-style: none; background: var(--kies); border-radius: 80px 110px 90px 120px / 60px 90px 70px 100px; box-shadow: inset 0 0 0 1.5px rgba(90, 62, 43, .1); }
.kies b { display: block; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.kies span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Pflanzen des Monats: Schilder, die beim Hereinscrollen aufklappen */
.monats-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.monats-schild { padding: 20px 18px 18px; background: var(--surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--border), 0 8px 22px rgba(90, 62, 43, .08); transform-origin: top center; }
.monats-symbol { display: block; width: 58px; height: 58px; margin-bottom: 12px; overflow: visible; }
.monats-schild h3 { font-size: 19px; }
.monats-bot { margin-top: 2px; font-size: 14px; color: var(--muted); font-style: italic; }
.monats-schild dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-top: 12px; font-size: 14px; }
.monats-schild dl div { display: contents; }
.monats-schild dt { color: var(--muted); }
.monats-schild dd { font-weight: 600; }
.monats-schild p:not(.monats-bot) { margin-top: 12px; font-size: 15px; color: var(--muted); }
.monats-schild .monats-preis { margin-top: 12px; color: var(--text); font-weight: 700; }

/* Jahreskreis: Ring aus zwölf Feldern, Monatsliste daneben */
.kreis-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.kreis { position: relative; max-width: 440px; margin-inline: auto; }
.kreis-svg { display: block; width: 100%; height: auto; overflow: visible; }
.kreis-rand { fill: none; stroke: var(--erde-hell); stroke-width: 1; stroke-dasharray: 100; stroke-dashoffset: 0; }
.kreis-innen { fill: var(--surface); }
.seg { fill: var(--gruen-3); stroke: var(--surface); stroke-width: 1.5; cursor: pointer; transition: fill .25s, opacity .3s; }
.seg:hover, .seg.ist-gewaehlt { fill: var(--gruen-2); }
.seg.ist-aktuell { fill: var(--bluete); }
.seg.ist-aktuell:hover, .seg.ist-aktuell.ist-gewaehlt { fill: var(--bluete-text); }
.seg-text { font-family: var(--schrift); font-size: 12.5px; font-weight: 640; fill: var(--muted); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.kreis-mitte { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 27%; text-align: center; pointer-events: none; }
.kreis-monat { font-size: 22px; font-weight: 680; letter-spacing: -.01em; }
.kreis-text { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.monate { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.monate button { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.monate button:hover, .monate li.ist-gewaehlt button { background: var(--surface); }
.monate b { font-weight: 650; font-size: 15px; }
.monate span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.monate li.ist-aktuell button { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--bluete); }
.monate li.ist-aktuell b { color: var(--bluete-text); }

/* Pakete: drei kleine Beete, versetzt */
.pakete { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.paket { position: relative; isolation: isolate; padding: 30px 28px 26px; }
.paket::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--beet-fuellung); border-radius: var(--beet-form); box-shadow: inset 0 0 0 1.5px rgba(90, 62, 43, .12); }
.paket-mitte { margin-top: -18px; }
.paket:last-child { margin-top: 30px; }
.paket h3 { font-size: 21px; }
.paket-preis { margin-top: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.paket ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.paket li { position: relative; padding-left: 20px; }
.paket li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; background: var(--gruen-2); transform: rotate(-45deg); }
.paket .leise { margin-top: 16px; }
.preise-hinweis { margin-top: 30px; font-size: 15px; }

/* Stimmen */
.stimmen-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.stimme { padding: 24px 22px; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--border); transform-origin: bottom center; }
.stimme:nth-child(2) { margin-top: 28px; }
.stimme-symbol { color: var(--erde-hell); margin-bottom: 10px; }
.stimme blockquote p { font-size: 18px; font-weight: 520; line-height: 1.4; letter-spacing: -.005em; }
.stimme figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ---------- 6 · Kontakt (Beet aus Erde), Fuß ---------- */
.beet-kontakt { color: #f3ecdf; }
.beet-kontakt::before { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); }
.beet-kontakt a:focus-visible, .beet-kontakt button:focus-visible, .beet-kontakt input:focus-visible, .beet-kontakt select:focus-visible, .beet-kontakt textarea:focus-visible { outline-color: var(--gruen-1); }
.beet-kontakt .kontakt-text a:focus-visible { outline-color: #f6efe2; }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.kontakt-text h2 { color: #fff; }
.kontakt-text p { margin-top: 16px; color: #e3d6c2; }
.kontakt-text address { margin-top: 22px; font-style: normal; line-height: 1.7; }
.kontakt-text a { color: #d7ebc6; }
.zeiten { margin-top: 20px; display: grid; gap: 10px; }
.zeiten dt { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: #cdbea6; }
.zeiten dd { margin-top: 2px; }
.anfahrt { display: block; width: 100%; max-width: 360px; height: auto; margin-top: 26px; overflow: visible; }
.anfahrt-weg { fill: none; stroke: #d7ebc6; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.anfahrt-punkt { fill: #d7ebc6; }
.anfahrt-haus { fill: none; stroke: #f1b6c8; stroke-width: 1.8; stroke-linejoin: round; }
.anfahrt-text { font-family: var(--schrift); font-size: 11px; font-weight: 640; fill: #e3d6c2; text-anchor: middle; }
.anfahrt-start { text-anchor: start; }
.anfahrt-klein { fill: #cdbea6; font-weight: 500; }
.formular { padding: 26px; border-radius: 14px; background: var(--surface); color: var(--text); }
.feld { margin-bottom: 14px; }
.feld label { display: block; margin-bottom: 6px; font-weight: 640; font-size: 15px; }
.feld input, .feld select, .feld textarea { width: 100%; padding: 12px 14px; border: 1px solid #c8bfae; border-radius: var(--radius-klein); background: #fff; color: var(--text); font: inherit; font-size: 16px; }
.feld ::placeholder { color: #8a9283; }
.formular .knopf { width: 100%; margin-top: 4px; }
.formular-meldung { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.formular .leise { margin-top: 10px; }

.fuss { margin-top: var(--abstand); padding: 48px 20px 0; background: var(--erde-tief); color: #cdbea6; font-size: 15px; }
.fuss-raster { width: min(100%, calc(var(--breite) + var(--legende) + 28px)); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss address { font-style: normal; }
.fuss a { color: #f3ecdf; }
.fuss-logo { color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.fuss-links a { margin-right: 16px; }
.fuss-demo { width: min(100%, calc(var(--breite) + var(--legende) + 28px)); margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #b7a791; }
.fuss-zeile a { color: #d0c1a9; }
.anruf-leiste { display: none; }

/* ---------- 7 · Auftritte: je Beet eine kleine Bewegung beim Hereinscrollen (js/main.js) ----------
   Nur transform und opacity, höchstens 600 ms, läuft einmal. Nicht bei starr und „Bewegung reduzieren". */
html.js[data-bewegung="mittel"] [data-auftritt], html.js[data-bewegung="dynamisch"] [data-auftritt] { opacity: 0; transform: translateY(18px); transition: opacity .55s, transform .55s cubic-bezier(.2, .8, .2, 1); }
html.js[data-bewegung="mittel"] [data-auftritt="stecken"], html.js[data-bewegung="dynamisch"] [data-auftritt="stecken"] { transform: translateY(-28px); transition-timing-function: ease, cubic-bezier(.3, 1.4, .55, 1); }
html.js[data-bewegung="mittel"] [data-auftritt="wachsen"], html.js[data-bewegung="dynamisch"] [data-auftritt="wachsen"] { transform: scale(.9); transition-timing-function: ease, cubic-bezier(.3, 1.3, .55, 1); }
html.js[data-bewegung="mittel"] [data-auftritt="kippen"], html.js[data-bewegung="dynamisch"] [data-auftritt="kippen"] { transform: rotate(-2.5deg) translateY(14px); }
html.js[data-bewegung="mittel"] [data-auftritt="klappen"], html.js[data-bewegung="dynamisch"] [data-auftritt="klappen"] { transform: perspective(700px) rotateX(-58deg); transition-duration: .6s, .6s; }
/* zeichnen: der Behälter bleibt sichtbar, nur Linie, Felder und Ziel kommen */
html.js[data-bewegung="mittel"] [data-auftritt="zeichnen"], html.js[data-bewegung="dynamisch"] [data-auftritt="zeichnen"] { opacity: 1; transform: none; transition: none; }
html.js [data-auftritt].ist-da { opacity: 1 !important; transform: none !important; }
/* zeichnen: Linie zieht sich (pathLength 100), Felder und Ziel kommen danach */
html.js[data-bewegung="mittel"] [data-auftritt="zeichnen"] .zieh, html.js[data-bewegung="dynamisch"] [data-auftritt="zeichnen"] .zieh { stroke-dashoffset: 100; transition: stroke-dashoffset .6s ease-out; }
html.js[data-bewegung="mittel"] [data-auftritt="zeichnen"] .seg, html.js[data-bewegung="dynamisch"] [data-auftritt="zeichnen"] .seg { opacity: 0; transition: fill .25s, opacity .3s; transition-delay: 0s, calc(.15s + var(--i, 0) * 35ms); }
html.js[data-bewegung="mittel"] [data-auftritt="zeichnen"] .zieh-ziel, html.js[data-bewegung="dynamisch"] [data-auftritt="zeichnen"] .zieh-ziel { opacity: 0; transition: opacity .3s .45s; }
html.js [data-auftritt="zeichnen"].ist-da .zieh { stroke-dashoffset: 0; }
html.js [data-auftritt="zeichnen"].ist-da .seg, html.js [data-auftritt="zeichnen"].ist-da .zieh-ziel { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-auftritt], html.js [data-auftritt] .zieh, html.js [data-auftritt] .seg, html.js [data-auftritt] .zieh-ziel { opacity: 1 !important; transform: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
  .krone, .pflanze, .sp, .blueten, .seg, .knopf { transition: none !important; }
  .tropfen ellipse { animation: none !important; }
}

/* ---------- 8 · Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  .plan-seite { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
  .legende { position: static; padding: 12px 12px 10px; }
  .legende-titel { margin-bottom: 8px; }
  .legende-liste { display: flex; flex-wrap: wrap; gap: 6px; }
  .legende-liste a { min-height: 44px; padding: 6px 12px 6px 9px; font-size: 14px; background: var(--surface-2); }
  .legende-liste svg { width: 22px; height: 22px; }
  .legende-fuss { display: none; }
  .schilder-reihe { grid-template-columns: repeat(3, 1fr); }
  .beet-links, .beet-rechts { width: 94%; }
  .beet-schmal { width: 88%; margin-left: 4%; }
}
@media (max-width: 980px) {
  .plan-raster, .entstehen-raster, .kreis-raster, .kontakt-raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .held-text { max-width: 36rem; }
  .entstehen-raster .sz-buehne { order: -1; }
  .monats-reihe, .kies { grid-template-columns: repeat(2, 1fr); }
  .pakete, .stimmen-reihe { grid-template-columns: minmax(0, 1fr); }
  .paket-mitte, .paket:last-child, .stimme:nth-child(2) { margin-top: 0; }
  .beet-links, .beet-rechts, .beet-schmal { width: 100%; margin-left: 0; }
  .fuss-raster { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .kopf-innen { gap: 14px; }
  .kopf-tel { display: none; }
  .beet { padding: 24px 20px; margin-top: 48px; }
  .beet::before, .beet::after { border-radius: 64px 84px 72px 56px / 56px 72px 84px 64px; }
  .abschnitt-kopf { margin-bottom: 24px; }
  .schilder-reihe { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
  .schild-karte:nth-child(even) { margin-top: 18px; }
  .kies { padding: 20px; border-radius: 48px 64px 56px 72px / 40px 56px 48px 64px; }
  .monats-reihe { grid-template-columns: minmax(0, 1fr); }
  .kreis-mitte { padding: 0 26%; }
  .kreis-monat { font-size: 18px; }
  .kreis-text { font-size: 12.5px; }
  .monate { grid-template-columns: minmax(0, 1fr); }
  .plan-zeile { flex-direction: column; align-items: flex-start; }
  .formular { padding: 20px; }
  .anruf-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 16px; background: var(--erde); color: #f8f1e4; font-weight: 650; text-decoration: none; box-shadow: 0 -6px 20px rgba(90, 62, 43, .2); }
}
@media (max-width: 480px) {
  .schilder-reihe { grid-template-columns: minmax(0, 1fr); }
  .schild-karte:nth-child(even) { margin-top: 0; }
  .kies { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kies b { font-size: 30px; }
  .pflanzschild { max-width: 210px; font-size: 12px; }
  .jahr-wahl button { padding: 0 12px; }
}
