/* Online-Exposé Reihenhaus Fuldabrück-Bergshausen
   Farben aus den vorhandenen Social-Media-Grafiken uebernommen. */

:root {
  --creme:        #f7f2ea;
  --creme-tief:   #efe7da;
  --gruen:        #2e4741;
  --gruen-hell:   #3d5d55;
  --terra:        #b5683f;
  --terra-tief:   #9d552f;

  --bg:           var(--creme);
  --bg-karte:     #fffdf9;
  --bg-tief:      var(--creme-tief);
  --text:         var(--gruen);
  --text-leise:   #6b7a74;
  --linie:        #ddd3c4;
  --akzent:       var(--terra);
  --schatten:     0 1px 2px rgba(46,71,65,.05), 0 8px 24px -12px rgba(46,71,65,.18);
  --schatten-gross: 0 2px 4px rgba(46,71,65,.06), 0 24px 56px -24px rgba(46,71,65,.3);
  --radius:       14px;
  --radius-gross: 22px;
  --breite:       1180px;
  --rand:         clamp(16px, 5vw, 48px);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #141a19;
    --bg-karte:   #1c2422;
    --bg-tief:    #192120;
    --text:       #e8e3d8;
    --text-leise: #9aa8a2;
    --linie:      #2f3b38;
    --akzent:     #d98a5f;
    --gruen:      #e8e3d8;
    --schatten:   0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
    --schatten-gross: 0 2px 4px rgba(0,0,0,.3), 0 24px 56px -24px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --bg:         #141a19;
  --bg-karte:   #1c2422;
  --bg-tief:    #192120;
  --text:       #e8e3d8;
  --text-leise: #9aa8a2;
  --linie:      #2f3b38;
  --akzent:     #d98a5f;
  --gruen:      #e8e3d8;
  --schatten:   0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
  --schatten-gross: 0 2px 4px rgba(0,0,0,.3), 0 24px 56px -24px rgba(0,0,0,.7);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

.kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--akzent); margin: 0 0 .9rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.gescrollt { border-bottom-color: var(--linie); box-shadow: 0 6px 20px -18px rgba(46,71,65,.6); }
.nav__innen { display: flex; align-items: center; gap: 1.2rem; height: 68px; }
.nav__marke { font-weight: 700; letter-spacing: -.02em; white-space: nowrap; font-size: 1.02rem; }
.nav__marke span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-leise); }
.nav__links { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav__links a {
  text-decoration: none; font-size: .9rem; font-weight: 500; padding: .45rem .7rem;
  border-radius: 999px; color: var(--text-leise); white-space: nowrap; transition: color .18s, background .18s;
}
.nav__links a:hover { color: var(--text); background: var(--bg-tief); }
.nav__preis { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .nav__links a:not(.knopf) { display: none; } }
@media (max-width: 560px) { .nav__preis { display: none; } .nav__innen { height: 60px; } }

/* ---------- Knoepfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .72rem 1.3rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .94rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform .15s, background .18s, border-color .18s, color .18s;
  background: var(--akzent); color: #fff; white-space: nowrap;
}
.knopf:hover { background: var(--terra-tief); transform: translateY(-1px); }
.knopf:active { transform: translateY(0); }
.knopf--leise { background: transparent; color: var(--text); border-color: var(--linie); }
.knopf--leise:hover { background: var(--bg-tief); border-color: var(--text-leise); transform: translateY(-1px); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__bild { position: relative; height: clamp(360px, 62vh, 620px); overflow: hidden; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(20,30,28,.42) 0%, rgba(20,30,28,.12) 42%, rgba(20,30,28,.55) 100%);
}
.hero__marken {
  position: absolute; top: clamp(18px, 4vw, 32px); left: var(--rand); z-index: 2;
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.marke {
  background: rgba(46,71,65,.86); color: #fff; backdrop-filter: blur(6px);
  padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.marke--terra { background: rgba(181,104,63,.92); }

.hero__karte {
  position: relative; z-index: 3; margin-top: -clamp(60px, 9vw, 110px);
  background: var(--bg-karte); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-gross); padding: clamp(1.6rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(1.2rem, 4vw, 3rem); align-items: end;
}
.hero__karte h1 { font-size: clamp(1.9rem, 5vw, 3.35rem); letter-spacing: -.035em; }
.hero__unter { margin: .9rem 0 0; color: var(--text-leise); font-size: clamp(.98rem, 1.6vw, 1.1rem); max-width: 44ch; }
.hero__preis { text-align: right; }
.hero__preis .label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--akzent); }
.hero__preis .wert { font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 700; letter-spacing: -.035em;
  line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero__preis .zusatz { font-size: .85rem; color: var(--text-leise); margin-top: .25rem; }
@media (max-width: 760px) {
  .hero__karte { grid-template-columns: 1fr; }
  .hero__preis { text-align: left; border-top: 1px solid var(--linie); padding-top: 1.1rem; }
}

/* ---------- Kennzahlen ---------- */
.zahlen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px; background: var(--linie); border-radius: var(--radius);
  overflow: hidden; margin-top: 2rem; border: 1px solid var(--linie);
}
.zahl { background: var(--bg-karte); padding: 1.1rem 1.2rem; }
.zahl dt { font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-leise); }
.zahl dd { margin: .3rem 0 0; font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; }
.zahl dd small { font-size: .78rem; font-weight: 600; color: var(--text-leise); letter-spacing: 0; }

/* ---------- Abschnitte ---------- */
.block { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.block--tief { background: var(--bg-tief); }
.block__kopf { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.block__kopf p { color: var(--text-leise); margin-top: .9rem; font-size: 1.05rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Highlights ---------- */
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1rem; }
.vorteil {
  background: var(--bg-karte); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--schatten);
}
.vorteil svg { flex: none; width: 26px; height: 26px; color: var(--akzent); margin-top: 2px; }
.vorteil h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.vorteil p { font-size: .93rem; color: var(--text-leise); }

/* ---------- Galerie ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter button {
  font: inherit; font-size: .88rem; font-weight: 600; padding: .5rem 1rem;
  border-radius: 999px; border: 1px solid var(--linie); background: var(--bg-karte);
  color: var(--text-leise); cursor: pointer; transition: all .18s;
}
.filter button:hover { color: var(--text); border-color: var(--text-leise); }
.filter button[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: var(--bg-karte); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .filter button[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #16201d; }
}
:root[data-theme="dark"] .filter button[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #16201d; }

.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.kachel {
  position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-tief); aspect-ratio: 4 / 3;
  box-shadow: var(--schatten); font: inherit; color: inherit;
}
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.kachel:hover img { transform: scale(1.055); }
.kachel figcaption {
  position: absolute; inset: auto 0 0 0; text-align: left;
  padding: 2.2rem .9rem .7rem; font-size: .84rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(18,28,26,.82), transparent);
  opacity: 0; transition: opacity .25s;
}
.kachel:hover figcaption, .kachel:focus-visible figcaption { opacity: 1; }
.kachel--hoch { grid-row: span 2; aspect-ratio: 3 / 4; }
@media (max-width: 640px) { .kachel--hoch { grid-row: span 1; aspect-ratio: 4 / 3; } }

/* ---------- Lightbox ---------- */
.lupe {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(14,22,20,.95); padding: clamp(12px, 3vw, 40px);
  grid-template-rows: 1fr auto; gap: 1rem;
}
.lupe[open] { display: grid; }
.lupe__bild { display: grid; place-items: center; min-height: 0; }
.lupe__bild img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lupe__fuss { display: flex; align-items: center; justify-content: center; gap: 1.2rem; color: #e8e3d8; }
.lupe__text { font-size: .95rem; text-align: center; }
.lupe__text b { display: block; font-weight: 600; }
.lupe__text span { font-size: .8rem; opacity: .6; }
.lupe__knopf {
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: grid; place-items: center; flex: none; transition: background .18s;
}
.lupe__knopf:hover { background: rgba(255,255,255,.2); }
.lupe__zu { position: absolute; top: clamp(12px,3vw,28px); right: clamp(12px,3vw,28px); }

/* ---------- Rundgang / Grundriss ---------- */
.tabs { display: inline-flex; gap: .25rem; padding: .25rem; background: var(--bg-tief);
  border: 1px solid var(--linie); border-radius: 999px; margin-bottom: 2rem; }
.tabs button {
  font: inherit; font-size: .92rem; font-weight: 600; padding: .55rem 1.3rem; border: 0;
  border-radius: 999px; background: transparent; color: var(--text-leise); cursor: pointer; transition: all .2s;
}
.tabs button[aria-selected="true"] { background: var(--bg-karte); color: var(--text); box-shadow: var(--schatten); }

.etage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .etage { grid-template-columns: 1fr; } }
.etage[hidden] { display: none; }

.plan {
  background: var(--bg-karte); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--schatten); position: sticky; top: 92px;
}
@media (max-width: 900px) { .plan { position: static; } }
.plan svg { display: block; width: 100%; height: min(70vh, 760px); }
@media (max-width: 900px) { .plan svg { height: min(64vh, 620px); } }
.plan__hinweis { font-size: .78rem; color: var(--text-leise); margin-top: .8rem; display: flex;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }

.raum { cursor: pointer; }
.raum rect, .raum path { transition: fill .2s; }
.raum .flaeche { fill: var(--bg-tief); }
.raum:hover .flaeche, .raum.aktiv .flaeche { fill: color-mix(in srgb, var(--akzent) 22%, var(--bg-tief)); }
.raum text { font-family: var(--sans); font-weight: 600; fill: var(--text); pointer-events: none; }
.raum .qm { font-weight: 500; fill: var(--text-leise); }
.wand { fill: var(--text); }
.aussen { fill: none; stroke: var(--text); stroke-width: .26; }
.leicht { fill: none; stroke: var(--text-leise); stroke-width: .1; stroke-dasharray: .35 .25; }
.terrasse { fill: color-mix(in srgb, var(--text-leise) 14%, transparent); }
.himmel { font-weight: 700; fill: var(--text-leise); letter-spacing: .1em; }

.schalter { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem;
  font-weight: 600; color: var(--text-leise); cursor: pointer; user-select: none; }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter .spur { width: 36px; height: 20px; border-radius: 999px; background: var(--linie);
  position: relative; transition: background .2s; flex: none; }
.schalter .spur::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg-karte); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.schalter input:checked + .spur { background: var(--akzent); }
.schalter input:checked + .spur::after { transform: translateX(16px); }
.schalter input:focus-visible + .spur { outline: 2px solid var(--akzent); outline-offset: 3px; }

.raumliste { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--linie); }
.raumliste li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0;
  border-bottom: 1px solid var(--linie); font-size: .95rem; }
.raumliste li b { font-weight: 600; }
.raumliste li span { color: var(--text-leise); font-variant-numeric: tabular-nums; white-space: nowrap; }
.raumliste li.summe { font-weight: 700; border-bottom: 0; }
.raumliste li.summe span { color: var(--text); }

.etage__bilder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 1.6rem; }
.etage__bilder .kachel { aspect-ratio: 4/3; }

/* ---------- Video ---------- */
.video {
  position: relative; border-radius: var(--radius-gross); overflow: hidden;
  box-shadow: var(--schatten-gross); background: #0d1413; aspect-ratio: 16/9;
}
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__start {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none;
  display: grid; place-items: center;
}
.video__start img { width: 100%; height: 100%; object-fit: cover; }
.video__start::after {
  content: ""; position: absolute; inset: 0; background: rgba(14,22,20,.32); transition: background .25s;
}
.video__start:hover::after { background: rgba(14,22,20,.18); }
.video__knopf {
  position: relative; z-index: 2; width: clamp(64px, 9vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: var(--akzent); display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 40px -8px rgba(0,0,0,.6); transition: transform .25s;
}
.video__start:hover .video__knopf { transform: scale(1.08); }
.video__knopf svg { width: 32%; margin-left: 8%; }

/* ---------- Tabellen / Kosten ---------- */
.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.karte {
  background: var(--bg-karte); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: var(--schatten);
}
.karte h3 { margin-bottom: 1rem; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0;
  border-bottom: 1px solid var(--linie); font-size: .95rem; }
.liste li:last-child { border-bottom: 0; }
.liste li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.liste li span:first-child { color: var(--text-leise); }
.notiz { font-size: .82rem; color: var(--text-leise); margin-top: 1rem; }

/* ---------- Energie ---------- */
.skala { margin: 1.4rem 0 .6rem; }
.skala__balken { display: flex; height: 38px; border-radius: 8px; overflow: hidden; }
.skala__balken div { flex: 1; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; }
.skala__zeiger { position: relative; height: 42px; margin-top: 6px; }
.skala__zeiger > div {
  position: absolute; top: 0; transform: translateX(-50%); text-align: center; white-space: nowrap;
}
.skala__zeiger .pfeil { width: 0; height: 0; margin: 0 auto 3px;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 9px solid var(--text); }
.skala__zeiger .wert { font-size: .78rem; font-weight: 700; background: var(--text); color: var(--bg-karte);
  padding: .18rem .55rem; border-radius: 999px; }
.skala__achse { display: flex; justify-content: space-between; font-size: .68rem; color: var(--text-leise); margin-top: .3rem; }

/* ---------- Lage ---------- */
.lage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .lage { grid-template-columns: 1fr; } }
.wege { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.wege li { display: flex; align-items: center; gap: .85rem; background: var(--bg-karte);
  border: 1px solid var(--linie); border-radius: 999px; padding: .6rem 1.1rem; font-size: .94rem; }
.wege li b { margin-left: auto; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wege svg { width: 20px; height: 20px; color: var(--akzent); flex: none; }
.umgebung { background: var(--bg-karte); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1rem; box-shadow: var(--schatten); }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; counter-reset: s; }
.schritt { background: var(--bg-karte); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--schatten); position: relative; }
.schritt::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--akzent); color: #fff; font-weight: 700; font-size: .92rem; margin-bottom: .9rem;
}
.schritt h3 { font-size: 1rem; margin-bottom: .35rem; }
.schritt p { font-size: .9rem; color: var(--text-leise); }

/* ---------- Downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.download {
  display: flex; gap: .9rem; align-items: flex-start; text-decoration: none;
  background: var(--bg-karte); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--schatten); transition: transform .18s, border-color .18s;
}
.download:hover { transform: translateY(-2px); border-color: var(--akzent); }
.download svg { width: 24px; height: 24px; color: var(--akzent); flex: none; margin-top: 2px; }
.download b { display: block; font-size: .97rem; }
.download span { font-size: .82rem; color: var(--text-leise); }

/* ---------- Formular ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .kontakt { grid-template-columns: 1fr; } }
.feldgruppe { display: grid; gap: 1rem; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .zwei { grid-template-columns: 1fr; } }
.feld label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; color: var(--text-leise); }
.feld input, .feld textarea, .feld select {
  width: 100%; font: inherit; font-size: .96rem; padding: .7rem .9rem; color: var(--text);
  background: var(--bg-karte); border: 1px solid var(--linie); border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.feld textarea { min-height: 118px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 18%, transparent);
}
.formfuss { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.3rem; }
.formfuss p { font-size: .8rem; color: var(--text-leise); margin: 0; flex: 1 1 220px; }
.kontaktkarte { background: var(--gruen); color: var(--creme); border-radius: var(--radius-gross);
  padding: clamp(1.6rem, 4vw, 2.3rem); box-shadow: var(--schatten-gross); }
:root[data-theme="dark"] .kontaktkarte,
.kontaktkarte { }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kontaktkarte { background: #22302c; color: #e8e3d8; }
}
:root[data-theme="dark"] .kontaktkarte { background: #22302c; color: #e8e3d8; }
.kontaktkarte h3 { color: inherit; }
.kontaktkarte .kicker { color: #e0a883; }
.kontaktkarte a { color: inherit; }
.kontaktkarte .mail { display: inline-block; margin-top: .4rem; font-size: 1.12rem; font-weight: 700;
  text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.35); padding-bottom: 2px; word-break: break-word; }
.kontaktkarte .mail:hover { border-bottom-color: currentColor; }
.kontaktkarte ul { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .6rem; font-size: .93rem; }
.kontaktkarte ul li { display: flex; gap: .7rem; align-items: flex-start; opacity: .92; }
.kontaktkarte ul svg { width: 18px; height: 18px; flex: none; margin-top: 3px; opacity: .7; }

/* ---------- GEG + Fuss ---------- */
.geg { background: var(--bg-karte); border: 1px solid var(--linie); border-left: 4px solid var(--akzent);
  border-radius: 10px; padding: 1.1rem 1.3rem; font-size: .86rem; color: var(--text-leise); margin-top: 2rem; }
.geg b { color: var(--text); }

.fuss { background: var(--gruen); color: color-mix(in srgb, var(--creme) 82%, transparent);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; font-size: .87rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fuss { background: #101614; } }
:root[data-theme="dark"] .fuss { background: #101614; }
.fuss__gitter { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.fuss h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--creme) 55%, transparent); margin-bottom: .7rem; }
.fuss p { line-height: 1.6; }
.fuss a { color: inherit; }
.fuss__ende { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.2rem; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .78rem; color: color-mix(in srgb, var(--creme) 55%, transparent); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: -9999px; top: 0; background: var(--akzent); color: #fff;
  padding: .7rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.sprung:focus { left: 0; }

@media print {
  .nav, .video, .lupe, .filter, .sprung, form { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 11pt; }
}

/* Spezifitaet: der Knopf in der Navigation behaelt seine eigene Farbe */
.nav__links a.knopf { color: #fff; background: var(--akzent); }
.nav__links a.knopf:hover { color: #fff; background: var(--terra-tief); }

/* Im Dunkelmodus ist der Akzent heller – dunkle Schrift darauf liest sich besser */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .knopf,
  :root:not([data-theme="light"]) .nav__links a.knopf,
  :root:not([data-theme="light"]) .nav__links a.knopf:hover,
  :root:not([data-theme="light"]) .schritt::before,
  :root:not([data-theme="light"]) .marke--terra { color: #16201d; }
  :root:not([data-theme="light"]) .knopf:hover,
  :root:not([data-theme="light"]) .nav__links a.knopf:hover { background: #e9a079; }
  :root:not([data-theme="light"]) .knopf--leise { color: var(--text); background: transparent; }
}
:root[data-theme="dark"] .knopf,
:root[data-theme="dark"] .nav__links a.knopf,
:root[data-theme="dark"] .schritt::before,
:root[data-theme="dark"] .marke--terra { color: #16201d; }
:root[data-theme="dark"] .knopf--leise { color: var(--text); background: transparent; }

/* Energie: Skala links breit, Datenliste rechts */
.spalten--energie { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .spalten--energie { grid-template-columns: 1fr; } }
.spalten--energie .liste li { gap: 1.5rem; }
