/* T-2008/T-2018 Datovia Webseite. Gemeinsam für datovia.ch und datovia.de (byte-gleich, geprüft).
   Farben: Arcovia CI (Primary #1D2D3D, Success #216558, Neutral #6D6D6D, Background #F0F2F5). */

/* Inter liegt auf dem eigenen Server (fonts/, Lizenz OFL): keine Verbindung zu Google Fonts. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #1d2d3d;
  --navy-2: #253a4f;
  --navy-3: #0f1a25;
  --gruen: #216558;
  --gruen-hell: #2f8a78;
  --mint: #7fd1b9;
  --neutral: #6d6d6d;
  --grund: #f0f2f5;
  --flaeche: #ffffff;
  --text: #1d2d3d;
  --text-2: #4a5866;
  --linie: #dfe3e8;
  --warn: #c7811f;
  --rot: #b4483c;
  --radius: 14px;
  --radius-gross: 22px;
  --schatten: 0 1px 2px rgba(15, 26, 37, 0.06), 0 8px 24px rgba(15, 26, 37, 0.08);
  --schatten-gross: 0 30px 80px rgba(15, 26, 37, 0.35);
  --breite: 1180px;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gruen);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 720;
}

h3 {
  font-size: 1.2rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

.huelle {
  width: min(var(--breite), 100% - 32px);
  margin-inline: auto;
}

.zum-inhalt {
  position: absolute;
  left: -9999px;
}

.zum-inhalt:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--flaeche);
  padding: 8px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Kopfzeile ---------- */

.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 18px 0;
}

.kopf.ist-gescrollt {
  background: rgba(29, 45, 61, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 28px;
}

.marke {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.marke img {
  height: 30px;
  width: auto;
}

.navi {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.navi a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navi a:hover {
  color: #fff;
}

.kopf-aktionen {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menue-knopf {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menue-knopf span,
.menue-knopf span::before,
.menue-knopf span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
  transition: transform 0.3s var(--kurve), background 0.2s;
}

.menue-knopf span::before,
.menue-knopf span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menue-knopf span::before {
  top: -7px;
}

.menue-knopf span::after {
  top: 7px;
}

.menue-offen .menue-knopf span {
  background: transparent;
}

.menue-offen .menue-knopf span::before {
  transform: translateY(7px) rotate(45deg);
}

.menue-offen .menue-knopf span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--kurve), box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}

.knopf svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--kurve);
}

.knopf:hover svg {
  transform: translateX(3px);
}

.knopf-primaer {
  background: var(--gruen);
  color: #fff;
}

.knopf-primaer:hover {
  background: var(--gruen-hell);
}

.knopf-geist {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.knopf-geist:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.knopf-klein {
  padding: 9px 16px;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  padding: 150px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-gitter {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}

.etikett {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.etikett::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.hero h1 .wechsel {
  display: inline-block;
  position: relative;
  color: var(--mint);
  min-width: 6ch;
}

.wechsel-wort {
  display: inline-block;
  transition: opacity 0.45s var(--kurve), transform 0.45s var(--kurve);
}

.wechsel-wort.ist-raus {
  opacity: 0;
  transform: translateY(-0.4em);
}

.wechsel-wort.ist-rein {
  opacity: 0;
  transform: translateY(0.4em);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.hero-fakten li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-fakten svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

/* ---------- Produktfenster (animiert) ---------- */

.buehne {
  position: relative;
}

.fenster {
  position: relative;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  font-size: 13px;
}

.fenster-leiste {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
}

.fenster-leiste b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd5dc;
}

.fenster-leiste span {
  margin-left: 12px;
  color: var(--neutral);
  font-size: 12px;
}

.fenster-inhalt {
  padding: 18px;
}

.fenster-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.fenster-kopf strong {
  font-size: 15px;
}

.fenster-kopf small {
  color: var(--neutral);
}

.kacheln {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.kachel {
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 10px 12px;
}

.kachel small {
  display: block;
  color: var(--neutral);
  font-size: 11px;
}

.kachel b {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.kachel.ist-prognose b {
  color: var(--warn);
}

.tabelle {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.tabelle th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  color: var(--neutral);
  padding: 6px 8px;
  border-bottom: 1px solid var(--linie);
}

.tabelle td {
  padding: 7px 8px;
  border-bottom: 1px solid #eef1f4;
}

.tabelle td:not(:first-child),
.tabelle th:not(:first-child) {
  text-align: right;
}

.tabelle tr {
  transition: background 0.5s;
}

.tabelle tr.ist-neu {
  background: rgba(127, 209, 185, 0.18);
}

.status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #eef1f4;
  color: var(--neutral);
  transition: background 0.4s, color 0.4s;
}

.status.ist-vergeben {
  background: rgba(33, 101, 88, 0.12);
  color: var(--gruen);
}

.status.ist-nachtrag {
  background: rgba(199, 129, 31, 0.14);
  color: var(--warn);
}

.balken {
  margin-top: 14px;
}

.balken-kopf {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--neutral);
  margin-bottom: 6px;
}

.balken-spur {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #eef1f4;
  overflow: hidden;
}

.balken-ist,
.balken-offen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  transition: width 1.2s var(--kurve);
}

.balken-ist {
  background: var(--gruen);
  z-index: 2;
}

.balken-offen {
  background: rgba(33, 101, 88, 0.35);
  z-index: 1;
}

.hinweis-karte {
  position: absolute;
  right: -18px;
  bottom: 64px;
  width: 250px;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(15, 26, 37, 0.35);
  border-left: 4px solid var(--warn);
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.5s var(--kurve), transform 0.5s var(--kurve);
  pointer-events: none;
}

.hinweis-karte.ist-sichtbar {
  opacity: 1;
  transform: none;
}

.hinweis-karte strong {
  display: block;
  margin-bottom: 2px;
}

.hinweis-karte small {
  color: var(--neutral);
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  padding: 120px 0;
}

.abschnitt-grau {
  background: var(--grund);
}

.abschnitt-kopf {
  max-width: 720px;
  margin-bottom: 56px;
}

.abschnitt-kopf.ist-mittig {
  margin-inline: auto;
  text-align: center;
}

.oberzeile {
  display: inline-block;
  color: var(--gruen);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.abschnitt-kopf p {
  color: var(--text-2);
  font-size: 1.12rem;
}

/* Problem */

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
  padding: 30px;
}

.karte p {
  color: var(--text-2);
  margin: 0;
}

/* Ablauf */

.ablauf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: schritt;
}

.ablauf-linie {
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--linie);
  border-radius: 3px;
  overflow: hidden;
}

.ablauf-linie i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gruen), var(--mint));
  transition: width 0.15s linear;
}

.schritt {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.schritt-punkt {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--flaeche);
  border: 2px solid var(--linie);
  color: var(--neutral);
  transition: border-color 0.5s, color 0.5s, background 0.5s, transform 0.5s var(--kurve);
}

.schritt-punkt svg {
  width: 28px;
  height: 28px;
}

.schritt.ist-aktiv .schritt-punkt {
  border-color: var(--gruen);
  background: var(--gruen);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(33, 101, 88, 0.3);
}

.schritt p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin: 0;
}

/* Module mit Reitern */

.module {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.reiter-liste {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reiter {
  position: relative;
  text-align: left;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 18px 20px 18px 22px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.reiter h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  transition: color 0.3s;
}

.reiter h3 svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.reiter p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: 0.97rem;
  transition: max-height 0.5s var(--kurve), opacity 0.4s, margin 0.4s;
}

.reiter[aria-selected="true"] {
  background: transparent;
}

.reiter[aria-selected="true"] h3 {
  color: var(--text);
}

.reiter[aria-selected="true"] h3 svg {
  color: var(--gruen);
}

.reiter[aria-selected="true"] p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

.reiter-fortschritt {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--linie);
}

.reiter-fortschritt i {
  display: block;
  width: 100%;
  height: 0;
  background: var(--gruen);
}

.reiter[aria-selected="true"] .reiter-fortschritt i {
  animation: fortschritt var(--reiter-dauer, 7s) linear forwards;
}

.module.ist-pausiert .reiter-fortschritt i {
  animation-play-state: paused;
}

@keyframes fortschritt {
  to {
    height: 100%;
  }
}

.paneele {
  position: relative;
  min-height: 430px;
}

.paneel {
  position: absolute;
  inset: 0;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(15, 26, 37, 0.07);
  padding: 26px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.5s var(--kurve), transform 0.5s var(--kurve);
  pointer-events: none;
  font-size: 14px;
}

.paneel.ist-aktiv {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.paneel-titel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.paneel-titel strong {
  font-size: 15px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 101, 88, 0.1);
  color: var(--gruen);
}

.chip.ist-ki {
  background: rgba(103, 80, 196, 0.1);
  color: #5a46b0;
}

.vergleich {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.vergleich-zeile {
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  gap: 12px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.vergleich-zeile span:last-child {
  text-align: right;
  font-weight: 600;
}

.vergleich-spur {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #eef1f4;
}

.vergleich-spur i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: #b7c2cc;
  transition: width 1s var(--kurve);
}

.vergleich-zeile.ist-bester .vergleich-spur i {
  background: var(--gruen);
}

.budget-marke {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  background: var(--navy);
}

.budget-marke::after {
  content: attr(data-text);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--navy);
  white-space: nowrap;
  font-weight: 600;
}

.paneel-fuss {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--linie);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: 13px;
}

.prognose-grafik {
  width: 100%;
  height: 210px;
}

.prognose-grafik .linie-budget {
  stroke: var(--navy);
  stroke-dasharray: 6 6;
  stroke-width: 2;
  fill: none;
}

.prognose-grafik .linie-prognose {
  stroke: var(--gruen);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

.paneel.ist-aktiv .linie-prognose {
  animation: zeichnen 1.6s var(--kurve) 0.2s forwards;
}

.prognose-grafik .flaeche-prognose {
  fill: url(#verlauf-prognose);
  opacity: 0;
}

.paneel.ist-aktiv .flaeche-prognose {
  animation: einblenden 1s 0.9s forwards;
}

.prognose-grafik .punkt-nachtrag {
  fill: var(--warn);
  opacity: 0;
}

.paneel.ist-aktiv .punkt-nachtrag {
  animation: einblenden 0.4s 1.5s forwards;
}

.prognose-grafik text {
  font-size: 11px;
  fill: var(--neutral);
  font-family: inherit;
}

@keyframes zeichnen {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes einblenden {
  to {
    opacity: 1;
  }
}

.pendenzen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pendenzen li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: 12px;
  opacity: 0;
  transform: translateX(-10px);
}

.paneel.ist-aktiv .pendenzen li {
  animation: hereinrutschen 0.5s var(--kurve) forwards;
}

.paneel.ist-aktiv .pendenzen li:nth-child(2) {
  animation-delay: 0.12s;
}

.paneel.ist-aktiv .pendenzen li:nth-child(3) {
  animation-delay: 0.24s;
}

.paneel.ist-aktiv .pendenzen li:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes hereinrutschen {
  to {
    opacity: 1;
    transform: none;
  }
}

.haken {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #c4ccd4;
  display: grid;
  place-items: center;
  color: #fff;
}

.haken.ist-erledigt {
  background: var(--gruen);
  border-color: var(--gruen);
}

.haken svg {
  width: 14px;
  height: 14px;
}

.pendenzen small {
  color: var(--neutral);
  font-size: 12px;
}

/* Prinzipien / Zahlen */

.prinzipien {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.prinzipien .abschnitt-kopf p {
  color: rgba(255, 255, 255, 0.72);
}

.prinzipien .oberzeile {
  color: var(--mint);
}

.zahl {
  font-size: 3.2rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

/* Ausblick */

.ausblick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.bericht {
  position: relative;
  background: #fff;
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten);
  border: 1px solid var(--linie);
  padding: 30px;
  font-size: 14px;
}

.bericht-stempel {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 2px solid var(--warn);
  color: var(--warn);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  transform: rotate(6deg);
}

.bericht dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  margin: 18px 0 0;
  font-variant-numeric: tabular-nums;
}

.bericht dt {
  color: var(--text-2);
}

.bericht dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}

.bericht-linie {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--linie);
}

.liste-haken {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.liste-haken li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
}

.liste-haken svg {
  width: 22px;
  height: 22px;
  color: var(--gruen);
  flex: none;
  margin-top: 2px;
}

/* Abschluss */

/* Fusszeile */

.fuss {
  background: var(--navy-3);
  color: rgba(255, 255, 255, 0.66);
  padding: 56px 0 40px;
  font-size: 0.93rem;
}

.fuss-gitter {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.fuss a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.fuss a:hover {
  color: #fff;
  text-decoration: underline;
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.fuss-unten {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* Rechtsseiten */

.rechtsseite {
  padding: 140px 0 90px;
  background: var(--grund);
  min-height: 70vh;
}

.rechtsseite .huelle {
  max-width: 800px;
  background: var(--flaeche);
  border-radius: var(--radius-gross);
  padding: 48px;
  box-shadow: var(--schatten);
}

.rechtsseite h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.rechtsseite h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}

.rechtsseite p,
.rechtsseite li {
  color: var(--text-2);
}

.ausfuellen {
  background: rgba(199, 129, 31, 0.16);
  color: #8a5610;
  border-radius: 4px;
  padding: 0 4px;
}

.kopf-fest {
  background: var(--navy);
}

/* Einblenden beim Scrollen */

.js .einblenden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--kurve), transform 0.8s var(--kurve);
  transition-delay: var(--verzoegerung, 0s);
}

.js .einblenden.ist-sichtbar {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-gitter,
  .module,
  .ausblick {
    grid-template-columns: 1fr;
  }

  .buehne {
    max-width: 620px;
  }

  .fenster {
    transform: none;
  }

  .ablauf {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ablauf-linie {
    display: none;
  }

  .schritt {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    text-align: left;
    align-items: center;
  }

  .schritt-punkt {
    margin: 0;
  }
}

@media (max-width: 820px) {
  .navi,
  .kopf-aktionen .knopf-geist {
    display: none;
  }

  .menue-knopf {
    display: block;
  }

  .kopf-aktionen {
    margin-left: 0;
  }

  .menue-offen .navi {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    background: var(--navy);
    padding: 8px 16px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .menue-offen .navi a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menue-offen .kopf {
    background: var(--navy);
  }

  .hero {
    padding: 120px 0 90px;
  }

  .abschnitt {
    padding: 84px 0;
  }

  .hinweis-karte {
    right: 8px;
    bottom: -30px;
  }

  .vergleich-zeile {
    grid-template-columns: 96px 1fr 92px;
    font-size: 13px;
  }

  .rechtsseite .huelle {
    padding: 28px 20px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .kopf-aktionen .knopf-primaer {
    display: none;
  }

  .kacheln {
    grid-template-columns: 1fr 1fr;
  }

  .kachel:last-child {
    grid-column: 1 / -1;
  }

  .tabelle .spalte-optional {
    display: none;
  }

  .paneele {
    min-height: 470px;
  }
}

/* ---------- Kino: die Pitch-Clips als Code-Animation ---------- */

.kino-abschnitt {
  background: var(--navy-3);
  color: #fff;
}

.kino-abschnitt .abschnitt-kopf p {
  color: rgba(255, 255, 255, 0.72);
}

.kino-abschnitt .oberzeile {
  color: var(--mint);
}

.kino {
  max-width: 1040px;
  margin-inline: auto;
}

.kino-buehne {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--grund);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  container-type: inline-size;
  font-size: 12px;
  font-size: 1.12cqi;
  line-height: 1.4;
}

.szene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--kurve), visibility 0s 0.6s;
  padding: 3% 5% 13.5%;
}

.szene.ist-aktiv {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--kurve), visibility 0s;
}

.k-auf {
  opacity: 0;
  transform: translateY(0.9em);
  transition: opacity 0.5s var(--kurve), transform 0.5s var(--kurve);
}

.k-auf.ist-an {
  opacity: 1;
  transform: none;
}

.k-pop {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--kurve), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.k-pop.ist-an {
  opacity: 1;
  transform: none;
}

.untertitel {
  position: absolute;
  left: 50%;
  bottom: 4.2%;
  width: 84%;
  transform: translate(-50%, 0.6em);
  text-align: center;
  margin: 0;
  padding: 0.55em 1.1em;
  border-radius: 0.7em;
  background: rgba(15, 26, 37, 0.86);
  color: #fff;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.45s, transform 0.45s var(--kurve);
  pointer-events: none;
}

.untertitel.ist-an {
  opacity: 1;
  transform: translate(-50%, 0);
}

.k-app {
  height: 100%;
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 0.6em 2em rgba(15, 26, 37, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.k-app-kopf {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.7em 1.3em;
  border-bottom: 1px solid var(--linie);
  font-weight: 650;
}

.k-app-kopf img {
  width: 1.7em;
  height: 1.7em;
}

.k-app-kopf small {
  margin-left: auto;
  font-weight: 500;
  color: var(--neutral);
}

.k-app-inhalt {
  flex: 1;
  padding: 0.7em 1.3em;
  position: relative;
  min-height: 0;
}

.k-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95em;
  line-height: 1.25;
}

.k-tabelle th {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--neutral);
  text-align: left;
  padding: 0.35em 0.6em;
  border-bottom: 1px solid var(--linie);
}

.k-tabelle td {
  padding: 0.24em 0.6em;
  border-bottom: 1px solid #eef1f4;
  transition: background 0.4s;
}

.k-tabelle td:not(:first-child),
.k-tabelle th:not(:first-child) {
  text-align: right;
}

.k-tabelle tr.ist-markiert td {
  background: rgba(127, 209, 185, 0.22);
}

.k-tabelle tfoot td {
  border-bottom: 0;
  font-weight: 750;
  font-size: 1.12em;
  padding-top: 0.6em;
}

.k-blitz.ist-an {
  color: var(--gruen);
  animation: blitz 0.9s;
}

@keyframes blitz {
  30% {
    text-shadow: 0 0 0.6em rgba(47, 138, 120, 0.6);
  }
}

.k-knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 1.1em;
  border-radius: 0.6em;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s;
}

.k-knopf.ist-an {
  background: var(--gruen);
}

.k-zeile-unten {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
  margin-top: 0.5em;
}

.k-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: rgba(33, 101, 88, 0.12);
  color: var(--gruen);
  font-weight: 650;
}

.k-badge.ist-warn {
  background: rgba(199, 129, 31, 0.14);
  color: var(--warn);
}

.k-chaos {
  position: absolute;
  inset: 0 0 12% 0;
}

.k-datei-pos {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--r));
  transition: left 0.9s var(--kurve), top 0.9s var(--kurve), transform 0.9s var(--kurve), opacity 0.7s 0.2s;
}

.k-chaos.ist-an .k-datei-pos {
  left: 42%;
  top: 42%;
  transform: rotate(0) scale(0.2);
  opacity: 0;
}

.k-datei {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1em;
  background: #fff;
  border-radius: 0.6em;
  box-shadow: 0 0.5em 1.4em rgba(15, 26, 37, 0.14);
  font-weight: 600;
  white-space: nowrap;
}

.k-datei i {
  width: 1.8em;
  height: 2.1em;
  border-radius: 0.25em;
  background: #1f7a45;
  position: relative;
  flex: none;
}

.k-datei i::after {
  content: "X";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 0.9em;
  font-weight: 800;
}

.k-datei.ist-mail i {
  background: #2a6ebb;
}

.k-datei.ist-mail i::after {
  content: "@";
}

.k-fragen {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s;
}

.k-fragen.ist-an {
  opacity: 0;
}

.k-frage {
  position: absolute;
  padding: 0.7em 1.2em;
  border-radius: 1.2em 1.2em 1.2em 0.2em;
  background: var(--rot);
  color: #fff;
  font-weight: 650;
  font-size: 1.2em;
  box-shadow: 0 0.6em 1.6em rgba(180, 72, 60, 0.35);
}

.k-logo-mitte {
  position: absolute;
  inset: 0 0 12% 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 1em;
}

.k-logo-mitte img {
  width: 7em;
  height: 7em;
  filter: drop-shadow(0 1em 2em rgba(33, 101, 88, 0.35));
}

.k-logo-mitte strong {
  font-size: 3.2em;
  letter-spacing: -0.03em;
  line-height: 1;
}

.k-logo-mitte span {
  font-size: 1.4em;
  color: var(--text-2);
}

.k-vergleich {
  display: grid;
  gap: 1em;
  margin-top: 2em;
}

.k-vg-zeile {
  display: grid;
  grid-template-columns: 10em 1fr 7em 6em 8em;
  align-items: center;
  gap: 1em;
  font-variant-numeric: tabular-nums;
  padding: 0.5em 0.6em;
  border-radius: 0.6em;
  transition: background 0.4s, box-shadow 0.4s;
}

.k-vg-zeile.ist-an {
  background: rgba(33, 101, 88, 0.07);
  box-shadow: inset 0 0 0 2px rgba(33, 101, 88, 0.45);
}

.k-vg-spur {
  position: relative;
  height: 1.2em;
  background: #eef1f4;
  border-radius: 999px;
}

.k-vg-balken {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: #b7c2cc;
  transition: width 1s var(--kurve);
}

.k-vg-balken.ist-an {
  width: var(--w);
}

.k-vg-zeile.ist-an .k-vg-balken {
  background: var(--gruen);
}

.k-budget-linie {
  position: absolute;
  top: -0.6em;
  bottom: -0.6em;
  left: var(--b);
  width: 2px;
  background: var(--navy);
}

.k-budget-text {
  position: absolute;
  left: var(--b);
  top: -1.9em;
  transform: translateX(-50%);
  font-size: 0.85em;
  font-weight: 650;
  white-space: nowrap;
}

.k-plus {
  color: var(--rot);
  font-weight: 650;
}

.k-minus {
  color: var(--gruen);
  font-weight: 650;
}

.k-toast {
  position: absolute;
  right: 1.3em;
  bottom: 1em;
  background: var(--navy);
  color: #fff;
  border-radius: 0.8em;
  padding: 0.8em 1.1em;
  box-shadow: 0 1em 2.4em rgba(15, 26, 37, 0.3);
  font-weight: 550;
  max-width: 24em;
  z-index: 5;
}

.k-toast b {
  color: var(--mint);
}

.k-liste {
  margin-top: 1.2em;
  border-top: 1px solid var(--linie);
  padding-top: 0.8em;
  max-width: 60%;
}

.k-liste h4 {
  margin: 0 0 0.4em;
  font-size: 0.95em;
  color: var(--neutral);
  font-weight: 600;
}

.k-liste div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.35em 0.6em;
  border-radius: 0.5em;
  font-variant-numeric: tabular-nums;
  transition: background 0.4s;
}

.k-liste div.ist-an {
  background: rgba(127, 209, 185, 0.22);
}

.k-zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4em;
}

.k-karte {
  border: 1px solid var(--linie);
  border-radius: 0.9em;
  padding: 1.2em;
  position: relative;
}

.k-karte h4 {
  margin: 0 0 0.3em;
  font-size: 1.15em;
}

.k-karte p {
  margin: 0 0 0.8em;
  color: var(--text-2);
}

.k-betrag-gross {
  font-size: 2.4em;
  font-weight: 760;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.k-status-reihe {
  display: flex;
  gap: 0.6em;
  margin: 1em 0;
  flex-wrap: wrap;
  align-items: center;
}

.k-status {
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: 1.5px solid var(--linie);
  color: var(--neutral);
  font-weight: 600;
  transition: all 0.4s var(--kurve);
}

.k-status.ist-an {
  border-color: var(--gruen);
  background: var(--gruen);
  color: #fff;
}

.k-pfeil {
  color: #b7c2cc;
}

.k-prognose-zahl {
  font-size: 3em;
  font-weight: 780;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0.2em 0 0.3em;
}

.k-messung {
  position: relative;
  height: 1.4em;
  background: #eef1f4;
  border-radius: 999px;
  margin: 2.4em 0 0.6em;
  --b: 94%;
}

.k-messung-fuellung {
  position: absolute;
  inset: 0 auto 0 0;
  width: 92.8%;
  border-radius: 999px;
  background: var(--gruen);
  transition: width 1.2s var(--kurve);
}

.k-messung-fuellung.ist-an {
  width: 95.5%;
  background: linear-gradient(90deg, var(--gruen) 0%, var(--gruen) 96%, var(--warn) 100%);
}

.zeiger-ziel,
.k-marke {
  display: none;
}

.kino-zeiger {
  position: absolute;
  z-index: 20;
  width: 2.2em;
  height: 2.2em;
  left: 104%;
  top: 70%;
  transition: left 1.1s var(--kurve), top 1.1s var(--kurve);
  pointer-events: none;
  filter: drop-shadow(0 0.2em 0.4em rgba(0, 0, 0, 0.3));
}

.kino-zeiger::after {
  content: "";
  position: absolute;
  left: -0.6em;
  top: -0.6em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: 2px solid var(--gruen);
  opacity: 0;
}

.kino-zeiger.klickt::after {
  animation: klick 0.5s ease-out;
}

@keyframes klick {
  from {
    opacity: 1;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(2.4);
  }
}

.kino-steuerung {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.kino-play {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.kino-play:hover {
  transform: scale(1.06);
}

.kino-play svg {
  width: 20px;
  height: 20px;
}

.kino-play .symbol-play {
  display: none;
}

.kino.ist-pausiert .kino-play .symbol-play {
  display: block;
}

.kino.ist-pausiert .kino-play .symbol-pause {
  display: none;
}

.kino-kapitel {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kino-kapitel button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.kino-kapitel button[aria-current="true"],
.kino-kapitel button:hover {
  color: #fff;
}

.kino-kapitel button span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
  overflow: hidden;
}

.kino-kapitel button span i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mint);
}

.kino-kapitel button.ist-fertig span i {
  width: 100%;
}

.kino-hinweis {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-top: 16px;
}

@media (max-width: 820px) {
  .kino-buehne {
    font-size: 1.75cqi;
    aspect-ratio: 4 / 3.6;
  }

  .k-vg-zeile {
    grid-template-columns: 7.5em 1fr 6.5em 5.5em;
  }

  .k-vg-aktion {
    display: none;
  }

  .k-tabelle .k-optional {
    display: none;
  }

  .k-zwei {
    grid-template-columns: 1fr;
    gap: 0.8em;
  }

  .k-liste {
    max-width: none;
  }

  .kino-kapitel button {
    font-size: 0.75rem;
  }

  .untertitel {
    width: 94%;
  }
}

/* ---------- Bauplan-Sprache (Achsen, Masslinien, Nummern) ---------- */

.achsen {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--breite), 100% - 32px);
  margin-inline: auto;
  pointer-events: none;
}

.achsen span {
  position: relative;
  border-left: 1px dashed rgba(255, 255, 255, 0.07);
}

.achsen span:last-child {
  border-right: 1px dashed rgba(255, 255, 255, 0.07);
}

.achsen span::before {
  content: attr(data-x);
}

.achsen span {
  font-size: 0;
}

.achsen span::after {
  content: "";
  position: absolute;
  top: 92px;
  left: -13px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.achsen span:nth-child(1)::before,
.achsen span:nth-child(2)::before,
.achsen span:nth-child(3)::before,
.achsen span:nth-child(4)::before {
  position: absolute;
  top: 96px;
  left: -13px;
  width: 26px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
}

.achsen span:nth-child(1)::before {
  content: "A";
}

.achsen span:nth-child(2)::before {
  content: "B";
}

.achsen span:nth-child(3)::before {
  content: "C";
}

.achsen span:nth-child(4)::before {
  content: "D";
}

/* Masslinie vor der Oberzeile: |——| wie auf einem Plan */
.oberzeile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.oberzeile::before {
  content: "";
  width: 34px;
  height: 9px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

/* Problem: nummerierte Spalten mit Haarlinien statt Kacheln */
.spalten-3 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--navy);
}

.spalten-3 li {
  padding: 28px 32px 8px 0;
}

.spalten-3 li + li {
  padding-left: 32px;
  border-left: 1px solid var(--linie);
}

.spalten-3 p {
  color: var(--text-2);
  margin: 0;
}

.nr {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gruen);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

/* Prinzipien: Zeilen statt Kacheln */
.grundsaetze {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.grundsaetze li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.grundsaetze .zahl {
  margin: 0;
  font-size: 4rem;
}

.grundsaetze h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.grundsaetze p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 40em;
}

.paneel-notiz {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--warn);
  color: var(--text-2);
  font-size: 13px;
}

/* Kontakt: die E-Mail-Adresse ist der Aufruf */
.kontakt {
  padding: 120px 0;
  background: var(--grund);
  border-top: 1px solid var(--linie);
}

.kontakt-gitter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.kontakt-gitter p {
  color: var(--text-2);
  font-size: 1.12rem;
}

.kontakt-mail {
  border-top: 1px solid var(--navy);
  padding-top: 22px;
}

.kontakt-mail small {
  display: block;
  color: var(--neutral);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.mail-gross {
  display: inline-block;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy);
  text-decoration: none;
  background: linear-gradient(var(--gruen), var(--gruen)) left bottom / 0 3px no-repeat;
  transition: background-size 0.4s var(--kurve), color 0.3s;
  word-break: break-all;
}

.mail-gross:hover {
  color: var(--gruen);
  background-size: 100% 3px;
}

.kopieren {
  display: inline-block;
  margin: 18px 0 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.kopieren:hover,
.kopieren.ist-kopiert {
  background: var(--navy);
  color: #fff;
}

.kontakt-mail p {
  font-size: 0.95rem;
  margin: 0;
}

/* Ansprechperson: Name und Telefon unter der Adresse, wie ein Eintrag im Planverzeichnis */
.kontakt-person {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--linie);
}

.kontakt-person small {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.kontakt-person strong {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
}

.telefon {
  justify-self: start;
  font-size: 1.12rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gruen);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.telefon:hover {
  border-bottom-color: var(--gruen);
}

@media (max-width: 1020px) {
  .grundsaetze li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .kontakt-gitter {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .achsen span:nth-child(n + 3) {
    display: none;
  }

  .achsen {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .spalten-3 {
    grid-template-columns: 1fr;
  }

  .spalten-3 li,
  .spalten-3 li + li {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--linie);
  }

  .kontakt {
    padding: 84px 0;
  }
}

/* ---------- T-2018: echte Aufnahmen der App statt Nachbildungen ---------- */

.foto-fenster img {
  display: block;
  width: 100%;
  height: auto;
}

.foto-notiz {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.abschnitt .foto-notiz,
.kontakt .foto-notiz {
  color: var(--neutral);
}

.kino-abschnitt .foto-notiz {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Film: unveränderte Aufnahmen, Kamera fährt zu markierten Stellen */
.fkino {
  max-width: 1080px;
  margin-inline: auto;
}

.fkino-buehne {
  font-size: inherit;
}

.fkino-bild {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grund);
}

.fszene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s var(--kurve);
}

.fszene.ist-aktiv {
  opacity: 1;
}

.fszene-kamera {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transition: transform 1.3s var(--kurve), transform-origin 1.3s var(--kurve);
}

.fszene-kamera img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.fmarke {
  position: absolute;
  border: 2px solid var(--gruen);
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(15, 26, 37, 0.28);
  opacity: 0;
  transition: opacity 0.45s var(--kurve);
  pointer-events: none;
}

.fmarke.ist-an {
  opacity: 1;
}

.fkino-untertitel {
  margin: 0;
  min-height: 3.2em;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.fkino-steuerung {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.fkino-play {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.fkino-play span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(2px);
}

.fkino-play.ist-pause span {
  width: 12px;
  height: 14px;
  border: 0;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: none;
}

.fkino-kapitel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
}

.fkino-kapitel button {
  width: 100%;
  position: relative;
  font: inherit;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 0;
  border-top: 3px solid rgba(255, 255, 255, 0.18);
  padding: 8px 0 0;
  text-align: left;
  cursor: pointer;
}

.fkino-kapitel button i {
  position: absolute;
  left: 0;
  top: -3px;
  height: 3px;
  width: 0;
  background: var(--mint);
  transition: width 0.6s var(--kurve);
}

.fkino-kapitel button.ist-fertig i {
  width: 100%;
}

.fkino-kapitel button.ist-aktiv,
.fkino-kapitel button:hover {
  color: #fff;
}

/* Funktionen: Aufnahmen in den Paneelen, gestapelt statt absolut positioniert */
.paneele {
  display: grid;
  min-height: 0;
}

.paneele .paneel {
  position: relative;
  grid-area: 1 / 1;
  padding: 10px;
}

.paneel-foto {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--linie);
}

.paneel-foto img {
  display: block;
  width: 100%;
  height: auto;
}

.paneele .paneel-notiz {
  margin: 12px 6px 4px;
}

@media (max-width: 760px) {
  .hinweis-karte {
    right: 8px;
    bottom: -18px;
  }

  .fkino-kapitel {
    grid-template-columns: repeat(2, 1fr);
  }

  .fkino-untertitel {
    font-size: 0.9rem;
  }
}


@media (prefers-reduced-motion: reduce) {
  .fszene, .fszene-kamera, .fmarke, .fkino-kapitel button i { transition: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .einblenden {
    opacity: 1;
    transform: none;
  }
}
