@font-face {
  font-family: "Mona Sans";
  src: url("schriften/MonaSans.woff2?v=5ea3740633") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --nacht: #17203a;
  --nacht-tief: #0d1226;
  --lampe: #ffcf8a;
  --lampenweiss: #fbf3e6;
  --creme: #fff6e9;
  --abendrot: #ef8d62;
  --licht: #5eead4;
  --tinte: #141b36;
  --tinte-leise: #434b6c;
  --fokus: #5eead4;
  --rand: clamp(22px, 5vw, 96px);
  --kopf-hoehe: 72px;
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #56618f #0d1226;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--nacht-tief);
  color: var(--creme);
  font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1875rem;
  font-stretch: 97%;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--licht);
  accent-color: var(--licht);
}

::selection { background: var(--lampe); color: var(--tinte); }
.lampe ::selection { background: var(--tinte); color: var(--lampe); }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2.5px solid var(--fokus); outline-offset: 3px; }
.hell, .lampe { --fokus: #141b36; }
main:focus { outline: none; }

.unsichtbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 14px 22px; border-radius: 999px;
  background: var(--licht); color: var(--tinte); font-weight: 600; text-decoration: none;
  transform: translateY(-220%);
}
.sprung:focus { transform: none; }

.zeichen {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.rahmen { max-width: 1472px; margin-inline: auto; padding-inline: var(--rand); }

.titel {
  font-size: clamp(2.375rem, 5.6vw, 5.25rem);
  font-stretch: 86%;
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.027em;
  text-wrap: balance;
}
.vorspann {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.42;
  text-wrap: pretty;
}

/* Knöpfe */
.pille {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 1.0625rem; font-weight: 560; line-height: 1.15; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--weich);
}
.pille .zeichen { transition: transform 0.3s var(--weich); }
.pille:hover .zeichen { transform: translateX(4px); }
.pille.kontur:hover .zeichen { transform: translateY(4px); }
.pille:active { transform: scale(0.97); }
.pille.haupt { background: var(--licht); color: #0b1830; }
.pille.haupt:hover { background: #8df3e2; }
.pille.kontur { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.62); }
.pille.kontur:hover { background: rgba(255, 246, 233, 0.14); box-shadow: inset 0 0 0 1.5px var(--creme); }
.pille.tinte { background: var(--tinte); color: var(--lampenweiss); }
.pille.tinte:hover { background: #26305c; }
.pille.lampe { background: var(--lampe); color: var(--tinte); }
.pille.lampe:hover { background: #ffdca8; }
.pille.klein { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

.pfeil-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 560; text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}
.pfeil-link:hover { text-decoration-color: currentColor; }
.pfeil-link .zeichen { transition: transform 0.3s var(--weich); }
.pfeil-link:hover .zeichen { transform: translateX(4px); }

/* ───────── Kopfleiste ───────── */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px);
  height: var(--kopf-hoehe); padding-inline: var(--rand);
  color: var(--creme);
  transition: background-color 0.35s ease, color 0.25s ease, box-shadow 0.35s ease;
}
.kopf[data-ton="dunkel"] { color: var(--tinte); --fokus: #141b36; }
.kopf[data-grund="flaeche"] {
  background: rgba(19, 27, 54, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.kopf[data-grund="flaeche"][data-ton="dunkel"] {
  background: rgba(251, 243, 230, 0.8);
  box-shadow: 0 1px 0 rgba(20, 27, 54, 0.08);
}
.kopf[data-grund="lampe"] {
  background: rgba(255, 207, 138, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.marke { display: flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; border-radius: 6px; }
.logo { width: auto; height: 40px; }
.kopf[data-ton="hell"] .logo-dunkel, .kopf[data-ton="dunkel"] .logo-hell { display: none; }
.menue ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.menue a:not(.pille) {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.96875rem; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--weich);
}
.menue a:not(.pille):hover { background-size: 100% 1.5px; }
.nur-menue { display: none; }
.tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 0.96875rem; font-weight: 560; text-decoration: none; white-space: nowrap;
}
.tel .zeichen { width: 1.1em; height: 1.1em; }
.menue-knopf {
  display: none; place-items: center; width: 44px; height: 44px; margin-right: -10px;
  border: 0; border-radius: 999px; background: none; color: inherit;
}
.menue-knopf .zeichen { width: 26px; height: 26px; }
.menue-knopf path { transition: transform 0.35s var(--weich); transform-origin: 12px 12px; }
.menue-offen .strich-1 { transform: translateY(3.5px) rotate(45deg); }
.menue-offen .strich-2 { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1219px) {
  .js .menue-knopf { display: grid; }
  .js .kopf-knopf { display: none; }
  .js .menue {
    position: fixed; inset: 0; z-index: -1;
    display: flex; align-items: center;
    padding: calc(var(--kopf-hoehe) + 24px) var(--rand) 40px;
    background: linear-gradient(#131a35, #1c2749 60%, #2a2b56);
    color: var(--creme);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    overflow-y: auto;
  }
  .js .menue-offen .menue {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.4s var(--weich), transform 0.5s var(--weich), visibility 0s;
  }
  .js .menue ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .js .menue a:not(.pille) {
    min-height: 56px; font-size: clamp(1.75rem, 6vw, 2.5rem); font-stretch: 86%; font-weight: 540; letter-spacing: -0.02em;
    background-position: 0 calc(100% - 6px);
  }
  .js .nur-menue { display: block; margin-top: 28px; }
  .js .kopf.menue-offen { color: var(--creme); background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .kopf.menue-offen .logo-hell { display: block; }
  .js .kopf.menue-offen .logo-dunkel { display: none; }
  html:not(.js) .kopf { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 0; }
  html:not(.js) .menue { order: 5; width: 100%; }
  html:not(.js) .menue ul { flex-wrap: wrap; gap: 0 22px; }
  html:not(.js) .kopf-knopf { display: none; }
}
@media (max-width: 759px) {
  :root { --kopf-hoehe: 60px; }
  .logo { height: 32px; }
  .tel { font-size: 0.9375rem; }
  .tel .zeichen { display: none; }
}

html:not(.js) .kopf { position: absolute; }
@media (max-width: 1219px) {
  html:not(.js) .kopf { position: relative; background: #0f1530; }
  html:not(.js) .auftakt { padding-top: 40px; }
}

/* ───────── Szene ───────── */
.szene { position: relative; background: #14110f; color: var(--creme); }
.buehne {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh;
  background: linear-gradient(to bottom, #121933 0%, #1c2749 34%, #1a2038 62%, #14110f 100%);
}
.welt { position: absolute; inset: 0; }
.welt img, .welt svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.welt-bild img { object-fit: cover; object-position: left center; }
.schleier { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.welt-netz { z-index: 2; }
.schleier-oben {
  background: linear-gradient(to bottom, rgba(14, 20, 44, 0.82) 0, rgba(14, 20, 44, 0.4) 10vh, rgba(14, 20, 44, 0) 26vh);
}
.schleier-auftakt {
  --kante: 48vw;
  background: linear-gradient(to right,
    rgba(17, 24, 50, 0.85) 0,
    rgba(17, 24, 50, 0.8) calc(var(--kante) * 0.55),
    rgba(17, 24, 50, 0.64) calc(var(--kante) * 0.86),
    rgba(17, 24, 50, 0) calc(var(--kante) * 1.05));
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, rgba(0, 0, 0, 0.42) 72%, rgba(0, 0, 0, 0.3) 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 52%, rgba(0, 0, 0, 0.42) 72%, rgba(0, 0, 0, 0.3) 100%);
  opacity: var(--auftakt, 1);
}
.schleier-station {
  background: linear-gradient(to right,
    rgba(13, 18, 40, 0.9) 0, rgba(13, 18, 40, 0.86) 24%, rgba(13, 18, 40, 0.74) 34%, rgba(13, 18, 40, 0.34) 43%, rgba(13, 18, 40, 0) 53%);
  opacity: var(--station, 0);
}
.schleier-unten {
  background: linear-gradient(to top, rgba(13, 18, 40, 0.7) 0, rgba(13, 18, 40, 0) 17vh);
}

.auftakt {
  position: relative; z-index: 5;
  width: min(100%, calc(var(--spalte, 42vw) + var(--rand)));
  padding: clamp(104px, 13vh, 150px) 0 120px var(--rand);
}
h1 {
  font-size: clamp(2.375rem, min(5vw, 8vh, calc(var(--spalte, 42vw) / 8.5)), 5.5rem);
  font-stretch: 84%;
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.026em;
  text-shadow: 0 2px 28px rgba(8, 11, 26, 0.4);
}
.satz { display: block; text-wrap: balance; }
.satz-1 { color: rgba(255, 246, 233, 0.8); }
.auftakt-text {
  max-width: 31em; margin-top: clamp(18px, 2.6vh, 28px);
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.45; text-wrap: pretty;
  color: rgba(255, 246, 233, 0.94); text-shadow: 0 1px 16px rgba(10, 14, 30, 0.6);
}
.auftakt-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.2vh, 34px); }

.stationen {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 56px;
  padding: 96px var(--rand); background: var(--nacht);
}
.stationen h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.875rem); font-stretch: 86%; font-weight: 560;
  line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance;
}
.stationen p { margin-top: 16px; text-wrap: pretty; color: rgba(255, 246, 233, 0.92); }
.stationen .pille { margin-top: 26px; }

.marken, .punkte, .punkttext, .strecke, .pause, .uebergang { display: none; }
.leiste { position: absolute; z-index: 6; right: var(--rand); bottom: 20px; left: var(--rand); display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.hinweis { font-size: 0.875rem; line-height: 1.3; color: rgba(255, 246, 233, 0.82); text-shadow: 0 1px 10px rgba(8, 10, 22, 0.9); }
html:not(.js) .welt, html:not(.js) .schleier { inset: 0 0 auto 0; height: 100vh; }
html:not(.js) .auftakt { min-height: 100vh; }
html:not(.js) .leiste { top: calc(100vh - 56px); bottom: auto; }

/* Szene mit Skript: haftende Bühne */
.js .szene { height: 880vh; height: 880svh; }
.js .buehne { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.js .welt { inset: auto; top: 0; left: 0; width: 1936px; height: 1080px; transform-origin: 0 0; }
.js .welt-bild { will-change: transform; }
.js .welt.schnitt { animation: schnitt 0.28s ease; }
@keyframes schnitt { from { opacity: 0.25; } to { opacity: 1; } }

.js .auftakt {
  position: absolute; top: 0; left: 0;
  opacity: var(--auftakt, 1);
  transform: translate3d(0, calc((1 - var(--auftakt, 1)) * -56px), 0);
}
.js .auftakt.weg { pointer-events: none; }

.js .stationen { position: static; display: block; padding: 0; background: none; }
.js .stationen li, .js .punkttext {
  position: absolute; z-index: 5; top: var(--oben, 50%); left: var(--rand);
  width: min(26rem, 31vw);
  opacity: 0; pointer-events: none;
  transform: translate3d(0, calc(var(--zug, -50%) + 22px), 0); filter: blur(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}
.js .stationen li.an, .js .punkttext.an {
  opacity: 1; pointer-events: auto;
  transform: translate3d(0, var(--zug, -50%), 0); filter: blur(0);
  transition: opacity 0.6s var(--weich) 0.14s, transform 0.8s var(--weich) 0.14s, filter 0.6s var(--weich) 0.14s;
}
.js .stationen li[data-station="ankunft"] { --oben: clamp(104px, 15vh, 160px); --zug: 0%; }
.js .stationen li[data-station="uebergabe"], .js .stationen li[data-station="verteiler"] { --oben: 58%; --zug: 0%; }
.js .stationen li[data-station="schluss"], .js .punkttext { --oben: clamp(104px, 13vh, 150px); --zug: 0%; }
.js .stationen li[data-station="schluss"] { width: min(33rem, var(--spalte, 38vw)); }
.js .stationen li[data-station="schluss"] h2 { font-size: clamp(1.75rem, 3.4vw, 3.25rem); }
.js .stationen h2, .punkttext h3 { text-shadow: 0 2px 30px rgba(8, 11, 26, 0.55); }
.js .stationen p, .punkttext p { text-shadow: 0 1px 18px rgba(8, 11, 26, 0.7); }
.punkttext h3 {
  font-size: clamp(1.75rem, 3.1vw, 2.875rem); font-stretch: 86%; font-weight: 560;
  line-height: 1.06; letter-spacing: -0.022em; text-wrap: balance;
}
.punkttext p { margin-top: 16px; text-wrap: pretty; color: rgba(255, 246, 233, 0.92); }
.punkttext .pille { margin-top: 26px; }
.js .punkttext { display: block; }

.js .marken { display: block; }
.marken div {
  position: absolute; z-index: 4; top: 0; left: 0; width: max-content; max-width: min(19rem, 42vw);
  font-size: 0.9375rem; line-height: 1.32; color: var(--creme);
  text-shadow: 0 1px 12px rgba(8, 10, 22, 0.95), 0 0 2px rgba(8, 10, 22, 0.8);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.marken span { display: block; font-size: 1.0625rem; font-weight: 640; }
.marke-netz { text-align: right; }
.marke-unser span { color: var(--licht); }
.buehne[data-station="uebergabe"] .marken div { opacity: 1; transition: opacity 0.7s var(--weich) 0.3s; }

.js .punkte { display: block; }
.punkte button {
  position: absolute; z-index: 4; top: -22px; left: -22px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: none;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.punkte button::before, .punkte button::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; }
.punkte button::before { background: var(--creme); box-shadow: 0 2px 10px rgba(8, 10, 22, 0.6); transition: transform 0.3s var(--weich), background-color 0.2s ease; }
.punkte button::after { border: 1.5px solid var(--creme); animation: ring 2.6s ease-out infinite; }
.punkte button:hover::before, .punkte button[aria-pressed="true"]::before { transform: scale(1.45); background: var(--licht); }
.buehne.angehalten .punkte button::after { animation-play-state: paused; }
.buehne[data-station="schluss"] .punkte button { opacity: 1; visibility: visible; transition: opacity 0.6s ease 0.5s, visibility 0s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(2.7); opacity: 0; } }

.js .leiste { justify-content: flex-start; bottom: clamp(16px, 3vh, 30px); }
.js .strecke {
  --fortschritt: 0;
  position: relative; display: flex; margin-left: -17px; margin-right: auto;
  opacity: var(--station, 0);
}
.strecke::before, .strecke::after {
  content: ""; position: absolute; top: 50%; left: 22px; right: 22px; height: 1.5px; margin-top: -0.75px;
  background: rgba(255, 246, 233, 0.3);
}
.strecke::after {
  background: linear-gradient(to right, var(--creme) 0 20%, var(--licht) 20%);
  transform-origin: 0 50%; transform: scaleX(var(--fortschritt));
}
.strecke button { position: relative; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; }
.strecke button::before {
  content: ""; position: absolute; inset: 17px; border-radius: 50%;
  background: #18203c; box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.6);
  transition: transform 0.4s var(--weich), background-color 0.3s ease, box-shadow 0.3s ease;
}
.strecke button.durch::before { background: var(--licht); box-shadow: none; }
.strecke button.durch:first-child::before, .strecke button.durch:nth-child(2)::before { background: var(--creme); }
.strecke button.an::before { transform: scale(1.7); }
.strecke button:hover::before { transform: scale(1.5); }
.js .pause {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border: 0; border-radius: 999px; background: rgba(13, 18, 40, 0.46); color: var(--creme);
  font-size: 0.875rem; font-weight: 520;
  transition: background-color 0.2s ease;
}
.js .pause:hover { background: rgba(13, 18, 40, 0.72); }
.pause .z-weiter, .pause[aria-pressed="true"] .z-pause { display: none; }
.pause[aria-pressed="true"] .z-weiter { display: block; }

.js .uebergang {
  display: block; position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; height: 55vh; height: 55svh;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(23, 32, 58, 0) 0%, rgba(23, 32, 58, 0.86) 20%, #232957 34%, #4f3b72 46%, #a55a74 57%, #e58566 67%, #f7b47a 77%, #ffd9a3 87%, #fbf3e6 100%);
  background: linear-gradient(to bottom in oklab, rgba(23, 32, 58, 0) 0%, rgba(23, 32, 58, 0.86) 20%, #232957 34%, #4f3b72 46%, #a55a74 57%, #e58566 67%, #f7b47a 77%, #ffd9a3 87%, #fbf3e6 100%);
}

/* Schmale oder hohe Fenster: Text oben, Haus darunter */
@media (max-width: 759px), (max-aspect-ratio: 21/20) {
  .schleier-auftakt {
    --bildoben: 44vh;
    background: linear-gradient(to bottom,
      #0f1530 0, #18224a calc(var(--bildoben) * 0.5), #293a72 var(--bildoben),
      rgba(41, 58, 114, 0.55) calc(var(--bildoben) + 4vh),
      rgba(41, 58, 114, 0.18) calc(var(--bildoben) + 10vh),
      rgba(41, 58, 114, 0) calc(var(--bildoben) + 18vh));
    -webkit-mask-image: none; mask-image: none;
  }
  .schleier-station {
    background: linear-gradient(to top,
      rgba(13, 18, 40, 0.97) 0, rgba(13, 18, 40, 0.94) 32%, rgba(13, 18, 40, 0.7) 43%, rgba(13, 18, 40, 0.3) 51%, rgba(13, 18, 40, 0) 60%);
    z-index: 3;
  }
  .auftakt { width: 100%; padding: calc(var(--kopf-hoehe) + 22px) var(--rand) 0; }
  h1 { font-size: clamp(2rem, 9.6vw, 4rem); }
  .auftakt-mehr { display: none; }
  .auftakt-text { max-width: 30em; margin-top: 14px; }
  .auftakt-knoepfe { gap: 6px 12px; margin-top: 18px; }
  .auftakt-knoepfe .pille { min-height: 50px; }
  .auftakt-knoepfe .kontur { box-shadow: none; padding-inline: 4px; min-height: 44px; font-weight: 520; }
  .auftakt-knoepfe .kontur:hover { background: none; box-shadow: none; }

  .js .stationen li, .js .punkttext,
  .js .stationen li[data-station], .js .stationen li[data-station="schluss"] {
    --zug: 0%; top: auto; right: var(--rand); bottom: 104px; width: auto; max-width: 34rem;
  }
  .js .stationen li[data-station="schluss"] h2 { font-size: clamp(1.5rem, 6.4vw, 2.25rem); }
  .stationen h2, .punkttext h3 { font-size: clamp(1.625rem, 7vw, 2.5rem); }
  .stationen p, .punkttext p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.45; }
  .stationen .pille, .punkttext .pille { margin-top: 18px; }
  .js .leiste { flex-wrap: wrap; gap: 0 12px; bottom: 10px; }
  .js .leiste .hinweis { order: 3; width: 100%; }
  .js .pause { padding: 0; width: 44px; justify-content: center; }
  .js .pause-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .marken div { max-width: 44vw; font-size: 0.875rem; }
  .marken span { font-size: 0.9375rem; }

  html:not(.js) .buehne { display: flex; flex-direction: column; min-height: 0; }
  html:not(.js) .auftakt { min-height: 0; }
  html:not(.js) .welt-bild { position: relative; order: 1; inset: auto; height: auto; aspect-ratio: 4 / 5; margin-top: 28px; }
  html:not(.js) .welt-bild img { object-position: 67.5% center; }
  html:not(.js) .welt-netz, html:not(.js) .schleier { display: none; }
  html:not(.js) .stationen { order: 2; }
  html:not(.js) .leiste { position: static; order: 3; padding: 0 0 20px; margin-inline: var(--rand); background: none; }
}

@media (min-width: 760px) and (min-aspect-ratio: 21/20) and (max-height: 820px) {
  .auftakt { padding-top: 92px; }
  .auftakt-mehr { display: none; }
  .auftakt-knoepfe { gap: 4px 12px; }
  .auftakt-knoepfe .kontur { box-shadow: none; padding-inline: 4px; min-height: 44px; font-weight: 520; }
  .auftakt-knoepfe .kontur:hover { background: none; box-shadow: none; }
}
@media (min-width: 760px) and (min-aspect-ratio: 21/20) {
  .auftakt-knoepfe .pille { font-size: 1rem; padding-inline: 22px; }
  .auftakt-knoepfe { gap: 10px; }
}
@media (min-aspect-ratio: 21/20) and (max-height: 480px) {
  .auftakt { padding-top: 68px; }
  .auftakt-text { display: none; }
  .stationen p { font-size: 1rem; }
}

/* ───────── Helle Abschnitte ───────── */
.hell { background: var(--lampenweiss); color: var(--tinte); }
.lampe { background: var(--lampe); color: var(--tinte); }
.nacht { background: var(--nacht); color: var(--creme); }
main > section:not(.szene) { padding-block: clamp(88px, 13vw, 208px) clamp(80px, 11vw, 176px); }

/* Für wen */
.fuer-wen { padding-top: clamp(88px, 8vw, 128px) !important; }
.fuer-wen .titel { max-width: 15.5em; }
.fw-text { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(36px, 5vw, 72px); }
.fw-text .vorspann { grid-column: 1 / span 6; }
.fw-text strong { font-weight: 640; }
.fw-rechts { grid-column: 8 / span 5; color: var(--tinte-leise); }
.fw-rechts .pille { margin-top: 28px; }
.viertel {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: calc(1472px - 2 * var(--rand)); margin: clamp(48px, 7vw, 104px) auto 0; width: calc(100% - 2 * var(--rand));
  aspect-ratio: 2 / 1; border-radius: 28px; background: #1b2238;
}
.viertel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.js .viertel img { transform: scale(calc(1.08 - var(--naehe, 1) * 0.08)); }
.fw-paar { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; margin-top: 24px; }
.flaeche {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: clamp(300px, 26vw, 380px); padding: clamp(28px, 3.6vw, 56px); border-radius: 28px;
}
.flaeche-lampe { background: var(--lampe); --fokus: #141b36; }
.flaeche-nacht { background: var(--nacht); color: var(--creme); --fokus: #5eead4; }
.flaeche h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); font-stretch: 86%; font-weight: 560; line-height: 1.04; letter-spacing: -0.024em; }
.flaeche > p { max-width: 24em; margin-top: 16px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.42; text-wrap: pretty; }

/* KI */
.ki {
  position: relative; overflow: clip;
  background:
    radial-gradient(70% 46% at 88% 104%, rgba(239, 141, 98, 0.5) 0, rgba(190, 96, 118, 0.2) 46%, rgba(190, 96, 118, 0) 72%),
    linear-gradient(to bottom, #0f1530 0%, #17203a 46%, #1f2550 100%);
}
.ki-kopf { display: grid; grid-template-columns: 7fr 4fr; column-gap: clamp(40px, 8vw, 136px); align-items: end; }
.ki .titel { max-width: 9em; }
.ki .vorspann { max-width: 26em; padding-bottom: 0.3em; color: rgba(255, 246, 233, 0.9); }
.ki-raster { display: grid; grid-template-columns: 7fr 4fr; column-gap: clamp(40px, 8vw, 136px); align-items: start; margin-top: clamp(64px, 9vw, 136px); }
.ki h3 { font-size: 1.5rem; font-stretch: 90%; font-weight: 580; letter-spacing: -0.01em; color: var(--lampe); }
.belege { --ki: 1; position: relative; margin-top: 20px; padding-left: clamp(34px, 4vw, 56px); }
.belege::before, .belege::after {
  content: ""; position: absolute; top: 2.9rem; bottom: 4.2rem; left: 6.25px; width: 1.5px; background: rgba(255, 207, 138, 0.28);
}
.belege::after { background: var(--lampe); transform-origin: 50% 0; transform: scaleY(var(--ki)); }
.belege li {
  position: relative; padding-block: clamp(18px, 2.2vw, 30px);
  font-size: clamp(1.5rem, 2.7vw, 2.375rem); font-stretch: 88%; font-weight: 480; line-height: 1.16; letter-spacing: -0.016em; text-wrap: balance;
  transition: color 0.6s ease;
}
.belege li::before {
  content: ""; position: absolute; z-index: 1; top: calc(clamp(18px, 2.2vw, 30px) + 0.58em - 7px); left: calc(clamp(34px, 4vw, 56px) * -1);
  width: 14px; height: 14px; border-radius: 50%; background: var(--lampe); box-shadow: 0 0 0 5px #162039;
  transition: background-color 0.5s ease, transform 0.6s var(--weich);
}
.js .belege li:not(.an) { color: rgba(255, 246, 233, 0.56); }
.js .belege li:not(.an)::before { background: #162039; box-shadow: 0 0 0 5px #162039, inset 0 0 0 1.5px rgba(255, 207, 138, 0.7); transform: scale(0.8); }
.ki-angebot { position: sticky; top: calc(var(--kopf-hoehe) + 40px); }
.ki-angebot ul { margin-top: 14px; }
.ki-angebot li { padding-block: 16px; border-top: 1px solid rgba(255, 246, 233, 0.18); text-wrap: pretty; }
.ki-angebot li:last-child { border-bottom: 1px solid rgba(255, 246, 233, 0.18); }
.ki-angebot .pille { margin-top: 32px; }

/* Leistungen */
.l-raster { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px); align-items: start; }
.l-raster > .titel { grid-column: 1; grid-row: 1; padding-bottom: clamp(40px, 6vw, 88px); }
.l-haus { grid-column: 1; grid-row: 2; }
.l-spleissen { grid-column: 2; grid-row: 1 / span 2; }
.l-netzwerk { grid-column: 1; grid-row: 3; margin-top: clamp(64px, 9vw, 144px); }
.l-auskundung { grid-column: 2; grid-row: 3; width: 68%; margin-left: auto; margin-top: clamp(64px, 9vw, 144px); }
.foto img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; background: #e7dcc8; }
.foto figcaption { margin-top: 12px; font-size: 0.9375rem; line-height: 1.35; color: var(--tinte-leise); }
.js .foto img { transition: clip-path 1.1s var(--weich), transform 1.3s var(--weich); }
.js .foto:not(.da) img { clip-path: inset(7% 6% 7% 6% round 24px); transform: scale(1.04); }
.js .foto.da img { clip-path: inset(0 0 0 0 round 24px); }
.leistung h3 { margin-top: 26px; font-size: clamp(1.5rem, 2.3vw, 2.125rem); font-stretch: 88%; font-weight: 560; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.leistung h3 a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1.5px no-repeat; transition: background-size 0.4s var(--weich); }
.leistung h3 a::after {
  content: ""; display: inline-block; width: 0.72em; height: 0.72em; margin-left: 0.3em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--weich);
}
.leistung h3 a:hover { background-size: 100% 1.5px; }
.leistung h3 a:hover::after { transform: translateX(5px); }
.leistung > p { max-width: 26em; margin-top: 10px; color: var(--tinte-leise); text-wrap: pretty; }
.vorher-nachher { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vorher-nachher img { aspect-ratio: 1 / 2; border-radius: 20px; }
.js .vorher-nachher .foto.da img { clip-path: inset(0 0 0 0 round 20px); }
.weitere { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px); margin-top: clamp(72px, 10vw, 160px); padding-top: 32px; border-top: 1.5px solid var(--tinte); }
.weitere h3 { font-size: 1.5rem; font-stretch: 90%; font-weight: 580; letter-spacing: -0.01em; line-height: 1.3; padding-top: 6px; }
.weitere ul { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.weitere a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.1875rem, 1.7vw, 1.5rem); font-stretch: 90%; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size 0.4s var(--weich);
}
.weitere a:hover { background-size: 100% 1.5px; }

/* Der Betrieb */
.b-raster { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px); align-items: center; }
.b-foto img { aspect-ratio: 4 / 5; background: #f3bd72; }
.b-foto figcaption { color: #4f4023; }
.betrieb .titel { max-width: 10.5em; }
.betrieb .vorspann { max-width: 26em; margin-top: clamp(22px, 2.6vw, 36px); }
.b-praxis { max-width: 30em; margin-top: 16px; color: #3d3524; }
.b-zeile { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: 1.5px solid var(--tinte); }
.zahl { font-size: clamp(4.5rem, 8vw, 6rem); font-stretch: 85%; font-weight: 540; line-height: 0.9; letter-spacing: -0.03em; }
.b-sterne > div { margin-top: 16px; }
.sterne { width: 132px; height: 24px; fill: var(--tinte); }
.b-sterne p:not(.zahl) { margin-top: 10px; font-size: 0.9375rem; line-height: 1.35; color: #3d3524; }
.b-gebiet h3 { font-size: 1.5rem; font-stretch: 90%; font-weight: 580; letter-spacing: -0.01em; line-height: 1.3; }
.b-gebiet ul { margin-top: 8px; }
.b-gebiet li { padding-block: 9px; border-bottom: 1px solid rgba(20, 27, 54, 0.22); font-size: 1.0625rem; }
.b-gebiet li:last-child { border-bottom: 0; }

/* Anfrage */
.anfrage { background: linear-gradient(to bottom, #17203a, #111830); }
.a-raster { display: grid; grid-template-columns: 5fr 6fr; column-gap: clamp(28px, 8vw, 136px); align-items: start; }
.a-text { position: sticky; top: calc(var(--kopf-hoehe) + 40px); }
.anfrage .vorspann { max-width: 24em; margin-top: clamp(22px, 2.6vw, 36px); color: rgba(255, 246, 233, 0.9); }
.a-wege { margin-top: clamp(36px, 4.4vw, 64px); }
.a-wege li { padding-block: 18px; border-top: 1px solid rgba(255, 246, 233, 0.2); }
.a-wege span { display: block; font-size: 0.9375rem; color: rgba(255, 246, 233, 0.76); }
.a-wege a {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%;
  font-size: clamp(1.125rem, 1.75vw, 1.625rem); font-stretch: 90%; font-weight: 540; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1.5px no-repeat; transition: background-size 0.4s var(--weich);
}
.a-wege a:hover { background-size: 100% 1.5px; }
.formular { display: grid; gap: 22px; }
.formular-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.feld { grid-column: 1 / -1; }
.feld.halb { grid-column: span 1; }
.feld label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 520; }
.pflicht { color: var(--lampe); }
.feld input:not([type="checkbox"]), .feld textarea, .feld select {
  display: block; width: 100%; min-height: 58px; padding: 15px 20px;
  border: 0; border-radius: 18px; background: rgba(255, 246, 233, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.34);
  font-size: 1.125rem; line-height: 1.4; color: var(--creme);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  -moz-appearance: textfield; appearance: none;
}
.feld textarea { min-height: 148px; resize: vertical; border-radius: 22px; }
.feld input:not([type="checkbox"]):hover, .feld textarea:hover, .feld select:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.6); }
.feld input:not([type="checkbox"]):focus-visible, .feld textarea:focus-visible, .feld select:focus-visible {
  outline: none; background: rgba(255, 246, 233, 0.1);
  box-shadow: inset 0 0 0 2px var(--licht), 0 0 0 4px rgba(94, 234, 212, 0.24);
}
.feld input:-webkit-autofill { -webkit-text-fill-color: var(--creme); -webkit-box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.34), inset 0 0 0 60px #232c4b; caret-color: var(--licht); }
.feld input::-webkit-outer-spin-button, .feld input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hilfe { margin-top: 8px; font-size: 0.9375rem; color: rgba(255, 246, 233, 0.76); }
.feld.fehler input:not([type="checkbox"]), .feld.fehler textarea { box-shadow: inset 0 0 0 2px #ffab94; }
.fehlertext { display: flex; gap: 8px; align-items: baseline; margin-top: 8px; font-size: 0.9375rem; font-weight: 520; color: #ffb8a4; }
.fehlertext::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: translateY(-1px); }
.haken { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: start; margin-top: 4px; }
.haken input {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin: 0; border-radius: 9px;
  background: rgba(255, 246, 233, 0.07) center / 18px no-repeat; box-shadow: inset 0 0 0 1.5px rgba(255, 246, 233, 0.5);
  cursor: pointer; transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.haken input:checked {
  background-color: var(--licht); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1830' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.haken.fehler input { box-shadow: inset 0 0 0 2px #ffab94; }
.haken label a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.haken label { margin: 0; padding-top: 2px; font-size: 1rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.haken .fehlertext { grid-column: 2; }
.formular-fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.formular-fuss .pille { min-height: 58px; padding-inline: 34px; font-size: 1.125rem; }
.formular-fuss .hilfe { margin: 0; }
.meldung, .erfolg { grid-column: 1 / -1; }
.meldung { font-weight: 520; color: #ffb8a4; }
.erfolg { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-stretch: 90%; font-weight: 540; line-height: 1.3; color: var(--lampe); text-wrap: balance; }
.meldung:focus, .erfolg:focus { outline: none; }
[hidden] { display: none !important; }

/* Fuß */
.fuss { background: var(--nacht-tief); color: rgba(255, 246, 233, 0.84); padding-block: clamp(64px, 8vw, 112px) 40px; font-size: 1rem; }
.fuss-kopf { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px); align-items: center; }
.fuss-kopf .logo { height: 56px; }
.fuss-kopf p { max-width: 22em; font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-stretch: 90%; line-height: 1.3; color: var(--creme); text-wrap: balance; }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: clamp(48px, 6vw, 88px); padding-top: 36px; border-top: 1px solid rgba(255, 246, 233, 0.2); }
.fuss h3 { font-size: 1rem; font-weight: 600; color: var(--creme); margin-bottom: 10px; }
.fuss-spalten a, .fuss-recht a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.fuss-spalten a:hover, .fuss-recht a:hover { color: var(--creme); text-decoration-color: currentColor; }
.fuss address { line-height: 1.6; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 48px; }

/* ───────── Schmale Fenster ───────── */
@media (max-width: 899px) {
  body { font-size: 1.0625rem; }
  .fw-text { display: block; }
  .fw-rechts { margin-top: 20px; }
  .viertel { aspect-ratio: 4 / 3; border-radius: 22px; }
  .fw-paar { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .flaeche { min-height: 0; border-radius: 22px; }
  .ki-kopf { grid-template-columns: 1fr; row-gap: 22px; }
  .ki-raster { grid-template-columns: 1fr; row-gap: 56px; }
  .ki-angebot { position: static; }
  .l-raster { display: flex; flex-direction: column; row-gap: 56px; }
  .l-raster > .titel { padding-bottom: 0; margin-bottom: -16px; }
  .l-netzwerk, .l-auskundung { margin-top: 0; }
  .l-auskundung { width: 82%; }
  .l-netzwerk { order: 5; }
  .foto img { border-radius: 20px; }
  .weitere { display: block; }
  .weitere ul { margin-top: 12px; flex-direction: column; gap: 0; }
  .b-raster { grid-template-columns: 1fr; row-gap: 44px; }
  .b-foto { order: 2; }
  .b-zeile { grid-template-columns: 1fr; row-gap: 36px; }
  .a-raster { grid-template-columns: 1fr; row-gap: 48px; }
  .a-text { position: static; }
  .fuss-kopf { grid-template-columns: 1fr; row-gap: 24px; }
  .fuss-kopf .logo { height: 44px; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 539px) {
  .formular-felder { grid-template-columns: 1fr; }
  .feld.halb { grid-column: 1 / -1; }
  .fuss-spalten { grid-template-columns: 1fr; }
  .formular-fuss .pille { width: 100%; }
  .fw-rechts .pille, .ki-angebot .pille { width: 100%; }
}

/* ───────── Bewegung reduziert ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .welt.schnitt { animation-duration: 0.22s !important; }
  .js .stationen li, .js .punkttext, .js .stationen li.an, .js .punkttext.an { filter: none; transition: opacity 0.2s ease !important; }
  .js .stationen li, .js .stationen li.an, .js .punkttext, .js .punkttext.an { transform: translate3d(0, var(--zug, -50%), 0); }
  .js .auftakt { transform: none; }
  .js .pause { display: none; }
  .punkte button::after { animation: none; opacity: 0.6; transform: scale(1.8); }
  .js .viertel img { transform: none; }
  .js .foto:not(.da) img { clip-path: inset(0 0 0 0 round 24px); transform: none; }
}

/* Ende der Szene: Text, Leiste, Klickpunkte und Marken blenden aus, bevor der Übergang kommt (kein Geisterbild) */
.js .buehne .stationen, .js .buehne .leiste, .js .buehne .punkte, .js .buehne .punkttext, .js .buehne .marken, .js .buehne .strecke {
  transition: opacity 350ms ease-out;
}
.js .buehne.ende :is(.stationen, .leiste, .punkte, .punkttext, .marken, .strecke) { opacity: 0; pointer-events: none; }

/* Formularfelder und Sprungziele rutschen nicht unter die Kopfleiste. Abschnitte (und ihre Alias-Anker) beginnen beim Sprung
   hinter der Kopfleiste, damit sie die Farbe des Ziels annimmt und kein Streifen des vorigen Abschnitts stehen bleibt. */
html { scroll-padding-top: var(--kopf-hoehe); }
main > section, .anker { scroll-margin-top: calc(-1 * var(--kopf-hoehe)); }
#region, #kalkulator { scroll-margin-top: 24px; }

/* KI: eigene Bühne von gut zwei Bildschirmhöhen – Belege haften und werden nacheinander eingeschaltet */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .ki-raster { min-height: 210vh; min-height: 210svh; }
  .js .ki-belege { position: sticky; top: calc(var(--kopf-hoehe) + 8vh); }
}
.belege li { font-size: clamp(1.625rem, 3vw, 2.75rem); }
.js .belege::after { transition: transform 0.6s ease; }

/* KI-Schritte sichtbar: der aktive Beleg steht allein, die übrigen treten zurück; am Ende stehen alle vier an der Leitung */
.js .belege li { transition: color 0.6s ease, opacity 0.5s ease, transform 0.6s var(--weich); transform-origin: 0 50%; }
.js .belege.schritt li:not(.jetzt) { opacity: 0.22; transform: scale(0.94); }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .ki-angebot { top: calc(var(--kopf-hoehe) + 8vh); }
}

/* Handy: der Himmel kommt früher, damit nach dem Ausblenden des Texts keine leere Fläche steht */
@media (max-width: 759px), (max-aspect-ratio: 21/20) {
  .js .uebergang { height: 90vh; height: 90svh; }
}

/* ───────── Fertige Startseite (26.11.2026): Anker, Inhalte aus der alten Startseite, Formular ───────── */

/* Anker der übrigen Seiten (/#kontakt, /#zielgruppen): unsichtbar am Abschnittsanfang */
.fuer-wen, .anfrage { position: relative; }
.anker { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Auftakt: Zielgruppe zuerst */
.auftakt-text strong { font-weight: 620; color: var(--creme); }

/* Viertel-Bild: KI-Hinweis */
.viertel figcaption {
  position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); bottom: clamp(12px, 1.6vw, 22px);
  padding: 5px 12px; border-radius: 999px; background: rgba(13, 18, 40, 0.62);
  font-size: 0.875rem; line-height: 1.3; color: var(--creme);
}

/* Für wen: zwei Wege je Karte, Zeile für Netzbetreiber */
.fw-links { display: flex; flex-direction: column; margin-top: auto; padding-top: 28px; }
.fw-netz {
  display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 7vw, 120px);
  margin-top: clamp(48px, 6vw, 88px); padding-top: 28px; border-top: 1.5px solid var(--tinte);
}
.fw-netz h3 { font-size: 1.5rem; font-stretch: 90%; font-weight: 580; letter-spacing: -0.01em; line-height: 1.3; padding-top: 4px; }
.fw-netz p { max-width: 34em; color: var(--tinte-leise); text-wrap: pretty; }
.fw-netz .pfeil-link { margin-top: 8px; }

/* Auskundung: Angebot für das Einfamilienhaus (früher beim Kalkulator) */
.preis {
  margin-top: 22px; padding: 20px 22px; border-radius: 20px;
  background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 27, 54, 0.1);
  font-size: 1rem; line-height: 1.5; color: var(--tinte); text-wrap: pretty;
}
.preis strong { font-weight: 640; }
.preis-zahl { font-size: 1.25em; font-stretch: 90%; letter-spacing: -0.01em; white-space: nowrap; }
.preis:target { box-shadow: inset 0 0 0 2px var(--tinte); }

/* Weitere Leistungen: Name und eine Zeile Beschreibung */
.weitere ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px clamp(24px, 3.4vw, 56px); }
.weitere li { padding-bottom: 14px; border-bottom: 1px solid rgba(20, 27, 54, 0.16); }
.weitere li p { margin-top: 2px; font-size: 1rem; line-height: 1.45; color: var(--tinte-leise); text-wrap: pretty; }

/* Der Betrieb: Foto des Inhabers, Google-Profil, Einsatzgebiet */
.b-foto img { background: #f0b56c; }
.b-sterne .pfeil-link { margin-top: 6px; font-size: 1rem; }
.b-sterne p.b-echtheit { margin-top: 4px; font-size: 0.9375rem; }
.b-umkreis { margin-top: 4px; font-size: 1.0625rem; font-weight: 560; }

/* Anfrage */
.a-zusage {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  font-size: 1.0625rem; font-weight: 540; color: var(--lampe);
}
.a-zusage .zeichen { width: 1.4em; height: 1.4em; }
.anfrage { color-scheme: dark; }
.auswahl { position: relative; }
.feld select { padding-right: 52px; text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; }
.feld select option { color: var(--tinte); background: var(--lampenweiss); }
.auswahl .zeichen { position: absolute; top: 50%; right: 20px; margin-top: -0.625em; pointer-events: none; color: var(--creme); }
.feld input[type="date"] { min-height: 58px; }
.feld input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.8; cursor: pointer; }
.feld-paar { grid-column: 1 / -1; margin-bottom: -12px; font-size: 0.9375rem; color: rgba(255, 246, 233, 0.8); }
.feld .hilfe { margin-top: 8px; }
.feld input::placeholder { color: rgba(255, 246, 233, 0.46); opacity: 1; }
.hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.formular { position: relative; }
.formular-fuss .pille[aria-disabled="true"] { cursor: progress; opacity: 0.72; }
.formular-fuss .pille[aria-disabled="true"]:active { transform: none; }
.senden-fehler a { font-weight: 600; white-space: nowrap; }
.erfolg { padding: 30px 32px; border-radius: 24px; background: rgba(255, 246, 233, 0.07); box-shadow: inset 0 0 0 1.5px rgba(255, 207, 138, 0.5); }
.erfolg p + p { margin-top: 8px; font-size: 1.125rem; font-weight: 400; color: var(--creme); }
.erfolg-titel { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 560; color: var(--lampe); }
.formular.gesendet .formular-felder { display: none; }

/* Fuß */
.fuss-zweite { margin-top: 28px; }
.fuss-umkreis { margin-top: 12px; }
.fuss-service { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 12px; }
.fuss-unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 246, 233, 0.14); font-size: 0.9375rem;
}
.fuss-unten .fuss-recht { margin-top: 0; }

@media (max-width: 899px) {
  .fw-netz { grid-template-columns: 1fr; row-gap: 12px; }
  .weitere ul { grid-template-columns: 1fr; gap: 4px; }
  .fuss-unten { flex-direction: column-reverse; align-items: flex-start; }
}
