/* ============================================================
   WURZEL & STEIN - Garten- und Landschaftsbau (Konzept-Demo)
   Richtung: Nachtgruen-Editorial mit Leuchtgruen.
   Referenz-Moves: Fluoreszenz-Akzent gegen organisches Gruen
   (Frassinago/Vedet), Leistungs-Index mit Bildvorschau (McCobb),
   gezeichneter Gartenplan (Riera "coded blueprints").
   Motion nach Kowalski: kurz, ease-out, transform/opacity only.
   Display: Fraunces (+Italic) | Body: Nunito Sans
   ============================================================ */

:root {
  --nacht: #0D120B;
  --tanne: #141C11;
  --creme: #EFEBDD;
  --dim: #A9AC99;
  --leucht: #CBEA4B;
  --linie: rgba(239, 235, 221, .14);
  --linie-stark: rgba(239, 235, 221, .3);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 52px);
  /* Kowalski: kraeftige Custom-Kurven statt schwacher CSS-Defaults */
  --aus: cubic-bezier(0.23, 1, 0.32, 1);
  --rein-raus: cubic-bezier(0.77, 0, 0.175, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; color-scheme: dark; }

body {
  background: var(--nacht);
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--leucht);
  outline-offset: 3px;
}

::selection { background: var(--leucht); color: var(--nacht); }

a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

h1, h2, h3 { text-wrap: balance; }

/* Skip-Link: unsichtbar bis Tastatur-Fokus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--leucht);
  color: var(--nacht);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 20px;
}
.skip-link:focus {
  left: 0;
}

em { font-style: italic; }

/* Kleine Letterspaced-Labels: das Gegengewicht zur grossen Serif */
.label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--leucht);
  margin-bottom: 18px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn { transition: background .2s var(--aus), color .2s var(--aus), border-color .2s var(--aus), transform .16s var(--aus); }
.btn--leucht { background: var(--leucht); color: var(--nacht); }
.btn--geist { background: transparent; color: var(--creme); border-color: var(--linie-stark); }
.btn--breit { width: 100%; }
/* Druck-Feedback: die Oberflaeche hoert zu */
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--leucht:hover { background: #DDF57A; transform: translateY(-2px); }
  .btn--geist:hover { border-color: var(--creme); transform: translateY(-2px); }
}

/* ============ Navigation ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.navbar.ist-fest {
  background: rgba(13, 18, 11, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--linie);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
}
.nav-logo span { color: var(--leucht); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-link {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--leucht);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link--cta {
  border: 1px solid var(--leucht);
  color: var(--leucht);
  border-radius: 999px;
  padding: 10px 22px;
  transition: background .2s ease, color .2s ease;
}
.nav-link--cta:hover { background: var(--leucht); color: var(--nacht); }
.nav-link--cta::after { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  z-index: 120;
}
.nav-burger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--creme);
  transition: transform .25s ease;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}
.hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-setzt 2s var(--aus) both;
}
@keyframes hero-setzt {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}
/* Ladesequenz: Label, Headline, Buttons treten spuerbar gestaffelt ein */
.lade-stufe {
  animation: stufe-rein .7s var(--aus) both;
}
.hero-label.lade-stufe { animation-delay: .1s; }
.hero-title.lade-stufe { animation-delay: .28s; }
.hero-actions.lade-stufe { animation-delay: .5s; }
@keyframes stufe-rein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-schleier {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(13, 18, 11, .25) 0%, rgba(13, 18, 11, .55) 55%, rgba(13, 18, 11, .96) 100%);
}
.hero-inhalt {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--pad) 110px;
}
.hero-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--leucht);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 9.5vw, 128px);
  line-height: .98;
  letter-spacing: -2px;
}
.hero-title em { color: var(--leucht); }
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-fuss {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--leucht), transparent);
  animation: scroll-puls 2s ease-in-out infinite;
}
@keyframes scroll-puls {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* ============ Manifest ============ */
.manifest {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) var(--pad) clamp(70px, 9vw, 110px);
}
.manifest-satz {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.3;
}
.manifest-satz em { color: var(--leucht); }
.manifest-zahlen {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
}
.manifest-zahlen div {
  flex: 1 1 0;
  min-width: 160px;
  padding: 18px 24px 18px 0;
  border-top: 1px solid var(--linie);
  /* Markup: dt vor dd (Semantik), visuell steht die Zahl oben */
  display: flex;
  flex-direction: column-reverse;
}
.manifest-zahlen dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--creme);
  line-height: 1.1;
}
.manifest-zahlen dt {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
}

/* ============ Leistungs-Index ============ */
.index {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 10vw, 130px);
}
.index-titel {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -1px;
}
.index-titel em { color: var(--leucht); }
.index-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.index-zeile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 40px;
  gap: 18px;
  align-items: center;
  padding: 26px 6px;
  border-top: 1px solid var(--linie);
  transition: background .2s ease;
}
.index-liste .index-zeile:last-child { border-bottom: 1px solid var(--linie); }
.index-nr {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--leucht);
}
.index-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.15;
  transition: transform .2s ease, color .2s ease;
}
.index-desc {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--dim);
  max-width: 460px;
}
.index-pfeil {
  font-size: 22px;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.index-zeile:hover .index-name,
.index-zeile.is-aktiv .index-name { color: var(--leucht); }
.index-zeile:hover .index-pfeil,
.index-zeile.is-aktiv .index-pfeil {
  opacity: 1;
  transform: translateX(0);
  color: var(--leucht);
}

.index-vorschau {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--linie);
  position: relative;
}
.index-vorschau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  /* Blur ueberbrueckt den Crossfade (Kowalski: blur maskiert Zustandswechsel) */
  filter: blur(6px);
  transition: opacity .3s var(--aus), transform .55s var(--aus), filter .3s var(--aus);
}
.index-vorschau img.is-aktiv {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* ============ Blueprint: Vom Plan zum Garten ============ */
.plan {
  background: var(--tanne);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.plan-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.plan-titel {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -1px;
  line-height: 1.06;
}
.plan-titel em { color: var(--leucht); }
.plan-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--dim);
  max-width: 480px;
}
.plan-schritte {
  margin-top: 34px;
  list-style: none;
  display: grid;
  gap: 20px;
}
.plan-schritte li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  font-size: 15.5px;
  color: var(--dim);
}
.plan-schritte strong { color: var(--creme); font-weight: 800; }
.schritt-nr {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--leucht);
  border: 1px solid var(--linie-stark);
  border-radius: 50%;
}

.plan-zeichnung {
  background: var(--nacht);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: clamp(18px, 2.5vw, 34px);
}
.plan-zeichnung svg { width: 100%; height: auto; display: block; }
.plan-caption {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}

/* Blueprint-Linien: zeichnen sich beim Scrollen selbst */
.bp {
  fill: none;
  stroke: var(--creme);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.bp-grenze { stroke: var(--dim); }
.bp-fein { stroke-width: 1; stroke: rgba(239, 235, 221, .4); }
.bp-weg, .bp-terrasse { stroke: var(--leucht); stroke-width: 1.6; }
.bp-rasen, .bp-beet, .bp-baum { stroke: var(--creme); }
.bp-baum-ring { stroke: rgba(239, 235, 221, .35); stroke-width: 1; }
.bp-mass { stroke: var(--dim); stroke-width: 1; }
/* Flaechenfuellungen: kommen nach dem Zeichnen, wie das Kolorieren eines Plans */
.flaeche {
  stroke: none;
  opacity: 0;
  transition: opacity .7s ease;
}
.flaeche-weg { fill: rgba(203, 234, 74, .09); }
.flaeche-rasen { fill: url(#rasenPunkte); }
.bp-stamm { fill: var(--creme); }
.bp-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  fill: var(--dim);
  opacity: 0;
  transition: opacity .4s ease;
}
.bp-label--leucht { fill: var(--leucht); }

/* Zeichnen in fuenf Stufen: Grenze, Gebaeude, Weg+Rasen, Bepflanzung, Vermassung */
.plan-zeichnung.gezeichnet .bp {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1);
}
.plan-zeichnung.gezeichnet .st2 { transition-delay: .3s; }
.plan-zeichnung.gezeichnet .st3 { transition-delay: .65s; }
.plan-zeichnung.gezeichnet .st4 { transition-delay: 1s; }
.plan-zeichnung.gezeichnet .st5 { transition-delay: 1.4s; }
.plan-zeichnung.gezeichnet .flaeche { opacity: 1; transition-delay: 1.75s; }
.plan-zeichnung.gezeichnet .bp-label { opacity: 1; transition-delay: 2s; }

/* ============ Gartenjahr ============ */
.jahrzeit {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) var(--pad);
}
.jahrzeit-titel {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -1px;
}
.jahrzeit-titel em { color: var(--leucht); }

.jahr { margin-top: clamp(32px, 4vw, 48px); }
.jahr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  border-bottom: 1px solid var(--linie);
}
.jahr-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 2px 14px;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.jahr-tab:hover { color: var(--creme); }
.jahr-tab.is-active { color: var(--leucht); border-bottom-color: var(--leucht); }

.jahr-panel { padding: 30px 0 8px; }
/* Panelwechsel: Inhalt tritt gestaffelt ein (kurz, ease-out) */
.jahr-panel.panel-rein .jahr-intro,
.jahr-panel.panel-rein .jahr-liste li {
  animation: stufe-rein .3s var(--aus) both;
}
.jahr-panel.panel-rein .jahr-liste li:nth-child(1) { animation-delay: .04s; }
.jahr-panel.panel-rein .jahr-liste li:nth-child(2) { animation-delay: .08s; }
.jahr-panel.panel-rein .jahr-liste li:nth-child(3) { animation-delay: .12s; }
.jahr-panel.panel-rein .jahr-liste li:nth-child(4) { animation-delay: .16s; }
.jahr-panel.panel-rein .jahr-liste li:nth-child(5) { animation-delay: .2s; }
.jahr-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--creme);
  margin-bottom: 22px;
  max-width: 640px;
}
.jahr-liste {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}
.jahr-liste li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--dim);
}
.jahr-liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--leucht);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.jahr-cta { margin-top: 28px; font-size: 15.5px; color: var(--dim); }
.jahr-cta a {
  color: var(--leucht);
  font-weight: 800;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.jahr-cta a:hover { border-color: var(--leucht); }

/* ============ Projekt-Collage ============ */
.collage {
  border-top: 1px solid var(--linie);
  padding: clamp(70px, 9vw, 110px) var(--pad);
}
.collage-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
}
.collage-gross {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
}
.collage-klein {
  grid-column: 8 / 13;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 6px solid var(--nacht);
  margin-top: clamp(24px, 4vw, 56px);
  z-index: 2;
  overflow: hidden;
}
.collage-gross img,
.collage-klein img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-zitat {
  grid-column: 7 / 12;
  grid-row: 2;
  z-index: 3;
  background: var(--creme);
  color: var(--nacht);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 40px);
  margin: clamp(16px, 2vw, 28px) 0 clamp(-20px, -2vw, -32px) 0;
  align-self: end;
}
.collage-zitat p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}
.collage-zitat cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6E6B5C;
}

/* ============ Kontakt ============ */
.kontakt {
  background: var(--tanne);
  border-top: 1px solid var(--linie);
}
.kontakt-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.kontakt-titel {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -1px;
  line-height: 1.06;
}
.kontakt-titel em { color: var(--leucht); }
.kontakt-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--dim);
  max-width: 480px;
}

.info-liste {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}
.info-liste div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linie);
}
.info-liste dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--leucht);
  padding-top: 5px;
}
.info-liste dd { font-size: 16px; }
.info-liste dd.zeiten {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3px 18px;
}
.info-liste .z-tage {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 5px;
}
.info-liste a { border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.info-liste a:hover { border-color: var(--leucht); }

.kontakt-form { display: grid; gap: 20px; }
.form-feld { display: grid; gap: 8px; }
.form-feld label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.form-feld .optional { color: var(--dim); font-weight: 600; text-transform: none; letter-spacing: .3px; }
.form-feld input,
.form-feld select,
.form-feld textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--creme);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--linie-stark);
  border-radius: 0;
  padding: 10px 2px 12px;
  transition: border-color .2s ease;
  width: 100%;
}
.form-feld select { cursor: pointer; }
.form-feld select option { background: var(--tanne); color: var(--creme); }
.form-feld textarea { resize: vertical; }
.form-feld input:focus,
.form-feld select:focus,
.form-feld textarea:focus {
  outline: none;
  border-bottom-color: var(--leucht);
}
.form-feld input.fehler,
.form-feld select.fehler { border-bottom-color: #E07A4C; }
.form-feld input::placeholder,
.form-feld textarea::placeholder { color: rgba(169, 172, 153, .5); }

.form-status { font-size: 15px; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: var(--leucht); }
.form-status.nicht-ok { color: #E07A4C; }
.form-hinweis { font-size: 12.5px; color: var(--dim); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--linie); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
  color: var(--dim);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--creme);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--leucht); }
.footer-brand p:not(.footer-logo) { font-size: 14.5px; line-height: 1.7; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.footer-nav a:hover { color: var(--creme); border-color: var(--leucht); }
.footer-legal { font-size: 13.5px; line-height: 1.8; }
.footer-legal a { color: var(--creme); border-bottom: 1px solid rgba(239, 235, 221, .35); transition: border-color .15s ease; }
.footer-legal a:hover { border-color: var(--leucht); }

/* ============ Demo-Pill ============ */
.demo-pill {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(13, 18, 11, .93);
  backdrop-filter: blur(8px);
  color: var(--creme);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--linie-stark);
  transition: transform .18s ease, border-color .18s ease;
}
.demo-pill:hover { transform: translateY(-2px); border-color: var(--leucht); }
.demo-pill-punkt {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leucht);
  animation: pill-puls 2.2s ease-in-out infinite;
}
@keyframes pill-puls {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ============ Reveal (Kowalski: kurz, klein, ease-out) ============ */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--aus), transform .4s var(--aus);
}
body.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Manifest-Zahlen: gestaffelt */
body.js-ready .manifest-zahlen div:nth-child(2) { transition-delay: .06s; }
body.js-ready .manifest-zahlen div:nth-child(3) { transition-delay: .12s; }
/* Collage-Bilder: Wisch-Reveal per clip-path.
   WICHTIG: geclippt wird das Bild IM Wrapper, beobachtet wird der Wrapper.
   Ein komplett geclipptes Element hat Schnittflaeche 0 und wuerde vom
   IntersectionObserver nie als sichtbar gemeldet. */
body.js-ready .wisch-box img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .85s var(--rein-raus);
}
body.js-ready .wisch-box.is-visible img {
  clip-path: inset(0 0 0 0);
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .index-grid { grid-template-columns: 1fr; }
  .index-vorschau { display: none; }
  .index-zeile {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    padding: 22px 2px;
  }
  .plan-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .collage-gross { grid-column: 1 / 13; }
  .collage-klein { display: none; }
  .collage-zitat { grid-column: 3 / 13; margin-bottom: 0; margin-top: -40px; }
}

@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--nacht);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu .nav-link {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .nav-menu .nav-link--cta { font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 30px; }
  .nav-burger { display: flex; }
  .nav-burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .jahr-liste { grid-template-columns: 1fr; }
  .manifest-zahlen div { flex: 1 1 100%; padding-right: 0; }
  .collage-zitat { grid-column: 1 / 13; margin-top: -20px; }
  .hero-koordinate { display: none; }

  .demo-pill { left: 12px; bottom: 12px; font-size: 11.5px; padding: 9px 13px; }
}

/* ============ Reduzierte Bewegung ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-pill-punkt, .hero-scroll::after { animation: none; }
  .hero-bild { animation: none; }
  .lade-stufe { animation-duration: .01s; animation-delay: 0s; }
  .jahr-panel.panel-rein .jahr-intro,
  .jahr-panel.panel-rein .jahr-liste li { animation: none; }
  body.js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body.js-ready .wisch-box img { clip-path: inset(0 0 0 0); transition: none; }
  .bp, .plan-zeichnung.gezeichnet .bp { stroke-dashoffset: 0; transition: none; }
  .bp-label, .plan-zeichnung.gezeichnet .bp-label { opacity: 1; transition: none; }
  .flaeche, .plan-zeichnung.gezeichnet .flaeche { opacity: 1; transition: none; }
  .btn, .index-vorschau img, .index-pfeil { transition: none; }
}
