/* Entwurf "Studio" - eigenständige Fassung neben public/, nicht im Upload.
   Leitbild: Die Websites der Kunden sind das Produkt und werden so gezeigt.
   Eine Schrift (Inter mit optischer Größe), neutrale Flächen, Blau nur für
   Bedienbares. Bewegung nur in den drei Szenen, sonst Ruhe. */

@font-face {
  font-family: "Inter Studio";
  src: url("../schrift/inter-var.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --weiss: #ffffff;
  --flaeche: #f5f5f7;
  --text: #1d1d1f;
  --grau: #6e6e73;
  --linie: #d2d2d7;
  --nacht: #000000;
  --nacht-flaeche: #161617;
  --nacht-text: #f5f5f7;
  --nacht-grau: #a1a1a6;
  --blau: #0066cc;
  --blau-knopf: #0071e3;
  --blau-hell: #2997ff;
  --warm: #f4f0ea;

  --schrift: "Inter Studio", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --breite: 980px;
  --weit: 1260px;
  --rand: max(22px, calc((100vw - var(--breite)) / 2));
  --kopf: 52px;
  --kurve: cubic-bezier(.28, .11, .32, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font: 400 17px/1.47 var(--schrift);
  letter-spacing: -.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--blau-knopf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 10px; }

/* ---------- Schriftgrade ---------- */
.titel-gross { font-size: clamp(48px, 7.4vw, 96px); line-height: 1.04; letter-spacing: -.038em; }
.titel { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.034em; }
.titel-mittel { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.titel-klein { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.024em; }
.vorspann { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; letter-spacing: -.018em; font-weight: 500; }
.leise { color: var(--grau); }
.klein { font-size: 14px; line-height: 1.43; letter-spacing: -.006em; }
.fein { font-size: 12px; line-height: 1.34; letter-spacing: 0; color: var(--grau); }

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 11px 22px;
  background: var(--blau-knopf); color: #fff;
  border-radius: 980px; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  transition: background-color .2s var(--kurve);
}
.knopf:hover { background: #0077ed; text-decoration: none; }
.knopf--hell { background: transparent; color: var(--blau); box-shadow: inset 0 0 0 1px var(--blau); }
.knopf--hell:hover { background: var(--blau); color: #fff; }
.knopf--nacht { background: var(--nacht-text); color: var(--text); }
.knopf--nacht:hover { background: #fff; }
.weiter { display: inline-flex; align-items: center; gap: .25em; font-size: 17px; font-weight: 400; }
.weiter::after {
  content: ""; width: .42em; height: .42em; margin-left: .1em;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
.weiter--aussen::after { transform: rotate(0); border-width: 1.5px 1.5px 0 0; width: .48em; height: .48em; translate: 0 -.12em; }
.weiter--aussen { }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  height: var(--kopf);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.kopf__innen {
  max-width: var(--weit); height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.marke:hover { text-decoration: none; }
.marke svg { width: 26px; height: 26px; fill: currentColor; }
.marke small { font-weight: 400; color: var(--grau); }
.navi { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.navi a { color: var(--text); font-size: 13px; letter-spacing: -.005em; opacity: .82; padding: 8px 0; }
.navi a:hover { opacity: 1; text-decoration: none; }
.navi a[aria-current="page"] { opacity: 1; font-weight: 600; }
.kopf__knopf { min-height: 32px; padding: 6px 15px; font-size: 13px; }
.menue-knopf { display: none; }

@media (max-width: 833px) {
  .navi, .kopf__knopf { display: none; }
  .menue-knopf {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px;
    background: none; border: 0; color: var(--text); cursor: pointer;
  }
  .menue-knopf span, .menue-knopf span::before {
    display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--kurve);
  }
  .menue-knopf span { position: relative; transform: translateY(-3.5px); }
  .menue-knopf span::before { content: ""; position: absolute; top: 7px; }
  .kopf.offen .menue-knopf span { transform: translateY(0) rotate(45deg); }
  .kopf.offen .menue-knopf span::before { transform: translateY(-7px) rotate(-90deg); }
  .kopf.offen { background: var(--weiss); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kopf.offen .navi {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: var(--kopf) 0 0; background: var(--weiss);
    padding: 20px 44px; overflow-y: auto;
  }
  .kopf.offen .navi a {
    display: block; font-size: 28px; font-weight: 600; letter-spacing: -.025em; padding: 10px 0; opacity: 1;
    animation: menue-ein .45s var(--kurve) both;
  }
  .kopf.offen .navi li:nth-child(2) a { animation-delay: .03s; }
  .kopf.offen .navi li:nth-child(3) a { animation-delay: .06s; }
  .kopf.offen .navi li:nth-child(4) a { animation-delay: .09s; }
  .kopf.offen .navi li:nth-child(5) a { animation-delay: .12s; }
  .kopf.offen .navi li:nth-child(6) a { animation-delay: .15s; }
  .kopf.offen .navi .nur-menue { display: block; }
  .kopf.offen .navi .nur-menue a { color: var(--blau); }
}
.navi .nur-menue { display: none; }
@keyframes menue-ein { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Geräte ----------
   Alle Maße hängen an der Bildschirmbreite (--sw). 1em = 1 % davon. */
.geraet { font-size: calc(var(--sw, 600px) / 100); }
.geraet img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.macbook { width: 104em; margin-inline: auto; position: relative; }
.macbook__deckel {
  position: relative; padding: 1.9em 1.9em 3em; margin: 0 2em;
  background: #0b0b0c; border-radius: 3.2em 3.2em .9em .9em;
  box-shadow: 0 0 0 .22em #9c9ca1, 0 0 0 .32em #d6d6da, inset 0 0 0 .1em #2a2a2c;
}
.macbook__deckel::before { /* Kamera */
  content: ""; position: absolute; left: 50%; top: .7em; width: .6em; height: .6em; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, #2b3550, #08090c 60%);
}
.macbook__deckel::after { /* Schriftzug-Kante unten */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em;
  border-radius: 0 0 .9em .9em; background: linear-gradient(#141416, #1c1c1f);
}
.bildschirm { position: relative; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; border-radius: .5em; }
.macbook__unterteil {
  position: relative; height: 2.4em; margin-top: -.1em;
  background: linear-gradient(#e2e3e6 0, #c9cacd 38%, #9fa0a4 78%, #7c7d81 100%);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: 0 2.2em 3.5em -1.4em rgba(0, 0, 0, .45);
}
.macbook__unterteil::before { /* Griffmulde */
  content: ""; position: absolute; left: 50%; top: 0; width: 15em; height: .9em; translate: -50% 0;
  background: linear-gradient(#9fa0a4, #c4c5c8); border-radius: 0 0 1.2em 1.2em;
}

.iphone {
  width: 100em; position: relative; padding: 4.6em;
  background: #121214; border-radius: 17em;
  box-shadow: 0 0 0 1.1em #3a3a3d, 0 0 0 1.5em #8b8b90, 0 3em 6em -2em rgba(0, 0, 0, .45);
}
.iphone .bildschirm { aspect-ratio: 390 / 844; border-radius: 12.6em; }
.iphone::after { /* Dynamic Island */
  content: ""; position: absolute; z-index: 2; left: 50%; top: 7.6em; width: 31em; height: 9.2em; translate: -50% 0;
  background: #000; border-radius: 6em;
}

.ipad {
  width: 100em; position: relative; padding: 4.2em;
  background: #141416; border-radius: 7em;
  box-shadow: 0 0 0 .7em #48484b, 0 0 0 1em #a5a5aa, 0 3em 6em -2em rgba(0, 0, 0, .35);
}
.ipad .bildschirm { aspect-ratio: 820 / 1180; border-radius: 2.6em; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(84px, 12vw, 160px) var(--rand); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--nacht { background: var(--nacht); color: var(--nacht-text); }
.abschnitt--nacht .leise { color: var(--nacht-grau); }
.abschnitt--nacht a:not(.knopf) { color: var(--blau-hell); }
.kopfzeile { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 80px); }
.kopfzeile .vorspann { margin-top: 18px; }

/* ---------- Szene 1: Kopf mit Zoom in den Bildschirm ---------- */
.held { position: relative; height: 330vh; background: var(--weiss); }
.held__buehne {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  isolation: isolate;
}
.held__text {
  position: absolute; z-index: 2; left: 0; right: 0; top: 0;
  padding: calc(var(--kopf) + clamp(40px, 9vh, 96px)) 22px 0;
  text-align: center;
}
.held__text .vorspann { max-width: 640px; margin: 20px auto 0; color: var(--grau); font-weight: 450; }
.held__text .aktionen { margin-top: 30px; }
.held__geraet {
  position: absolute; left: 50%; top: 50%;
  transform-origin: 50% var(--mitte-y-px, 300px);
  translate: -50% calc(var(--mitte-y-px, 300px) * -1);
  transform: translateY(var(--y0, 22vh)) scale(var(--s0, .5));
  will-change: transform;
}
.held__geraet .geraet { --sw: max(103vw, 165vh); }
.held__geraet .iphone { display: none; }
.held__geraet .bildschirm img { height: auto; object-fit: initial; will-change: transform; }
.held__beschriftung {
  position: absolute; z-index: 3; left: 50%; bottom: max(28px, 4vh); translate: -50% 0;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 12px 10px 18px; border-radius: 980px;
  background: rgba(29, 29, 31, .78); color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  font-size: 14px; opacity: 0;
}
.held__beschriftung a { color: #fff; background: rgba(255, 255, 255, .16); padding: 6px 12px; border-radius: 980px; }
.held__beschriftung a:hover { background: rgba(255, 255, 255, .26); text-decoration: none; }
@media (max-width: 480px) { .ab-breit { display: none; } .held__beschriftung { font-size: 13px; gap: 9px; padding-left: 14px; } }
.held__punkt { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, .22); }

@media (max-width: 734px) {
  .held__geraet .macbook { display: none; }
  .held__geraet .iphone { display: block; }
  .held__geraet .geraet { --sw: max(104vw, 48svh); }
}

/* Szene 2: Text, der sich beim Lesen füllt */
.leuchttext {
  max-width: 1000px; margin: 0 auto; text-align: left;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -.03em; font-weight: 700;
}
.leuchttext span { color: var(--text); display: inline-block; }

/* ---------- Arbeiten: große Kacheln ---------- */
.kacheln { display: grid; gap: 12px; padding: 0 12px; }
.kachel {
  position: relative; overflow: hidden; text-align: center;
  min-height: min(760px, 92vh); padding: clamp(52px, 7vw, 76px) 22px 0;
  display: flex; flex-direction: column; align-items: center;
  border-radius: 28px;
}
.kachel h3 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.032em; line-height: 1.06; }
.kachel .vorspann { margin-top: 10px; font-weight: 450; }
.kachel .aktionen { margin-top: 20px; gap: 14px 30px; }
.kachel__bild { margin-top: auto; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.kachel--warm { background: var(--warm); }
.kachel--nacht { background: var(--nacht); color: var(--nacht-text); }
.kachel--nacht .leise { color: var(--nacht-grau); }
.kachel--nacht a:not(.knopf) { color: var(--blau-hell); }
.kachel__ort { margin-top: 8px; }

.gruppe { position: relative; height: clamp(330px, 46vw, 520px); width: min(100%, 980px); }
.gruppe .geraet { position: absolute; bottom: -2px; }
.gruppe--maler .ipad { --sw: clamp(250px, 30vw, 380px); left: 50%; translate: -78% 18%; }
.gruppe--maler .iphone { --sw: clamp(130px, 14vw, 178px); left: 50%; translate: 52% 8%; }
.gruppe--diana .macbook { --sw: clamp(360px, 60vw, 720px); left: 50%; translate: -56% 26%; }
.gruppe--diana .iphone { --sw: clamp(110px, 12vw, 158px); left: 50%; translate: 150% 4%; }
@media (max-width: 734px) {
  .kachel { min-height: 0; border-radius: 22px; padding-top: 48px; }
  .kachel .aktionen { flex-direction: column; gap: 12px; }
  .kachel__bild { margin-top: 36px; }
  .gruppe { height: 250px; }
  .gruppe--maler .ipad { --sw: 196px; translate: -76% 16%; }
  .gruppe--maler .iphone { --sw: 100px; translate: 40% 4%; }
  .gruppe--diana .macbook { --sw: 250px; translate: -58% 18%; }
  .gruppe--diana .iphone { --sw: 74px; translate: 104% -2%; }
}

/* ---------- Farbraum (zum Ausprobieren) ---------- */
.farbraum { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--weit); margin: 0 auto; }
.raum {
  --wand: #f1ece1;
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden;
  background: #e9e5df;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3);
}
.raum__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.raum__wand { fill: var(--wand); transition: fill .7s var(--kurve); }
.raum__schild {
  position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 980px; background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}
.raum__schild i { width: 26px; height: 26px; border-radius: 50%; background: var(--wand); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: background-color .7s var(--kurve); }
.raum__schild b { font-weight: 600; }
.farben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 32px 0 18px; padding: 0; list-style: none; }
.farbe {
  display: grid; gap: 8px; justify-items: center; width: 100%;
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit;
}
.farbe i { width: 100%; max-width: 62px; aspect-ratio: 1; border-radius: 50%; background: var(--f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: box-shadow .25s var(--kurve), transform .25s var(--kurve); }
.farbe:hover i { transform: scale(1.06); }
.farbe[aria-pressed="true"] i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--weiss), 0 0 0 5px var(--blau-knopf); }
.farbe span { font-size: 12px; line-height: 1.3; color: var(--grau); text-align: center; }
.farbraum__text h2 { margin-bottom: 18px; }

@media (max-width: 900px) {
  .farbraum { grid-template-columns: 1fr; }
  .farben { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Szene 3: Ablauf ---------- */
.ablauf { position: relative; height: 420vh; background: var(--flaeche); }
.ablauf__buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: center; padding: calc(var(--kopf) + 24px) var(--rand) 24px; }
.ablauf__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--weit); margin: 0 auto; width: 100%; }
.ablauf__kopf .titel { font-size: clamp(36px, 4.4vw, 60px); }
.schritte { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.schritt { opacity: .28; transition: opacity .4s var(--kurve); }
.schritt b { display: flex; align-items: baseline; gap: 12px; font-size: 21px; letter-spacing: -.02em; font-weight: 650; }
.schritt b small { font-size: 14px; font-weight: 500; color: var(--grau); font-variant-numeric: tabular-nums; }
.schritt p { margin-top: 6px; color: var(--grau); max-width: 380px; }
.ablauf__geraet { container-type: inline-size; }
.ablauf__geraet .geraet { --sw: min(94cqi, 780px, calc((100svh - 230px) * 1.45)); }
.ebene { position: absolute; inset: 0; opacity: 0; }
.ebene--skizze { background: #fbfbfa; }
.ebene--skizze svg { width: 100%; height: 100%; }
.ebene--skizze path, .ebene--skizze rect, .ebene--skizze line, .ebene--skizze circle { fill: none; stroke: #3a3a3c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ebene--skizze text { font: 500 15px/1 "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; fill: #6e6e73; }
.ebene--entwurf { background: #fff; padding: 4.2% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 6%; }
.ebene--entwurf .w-kopf { display: flex; justify-content: space-between; align-items: center; }
.w { background: #e8e8ed; border-radius: 4px; }
.w--logo { width: 22%; height: 1.8em; }
.w--navi { display: flex; gap: 3%; width: 46%; justify-content: flex-end; }
.w--navi i { display: block; width: 18%; height: .9em; background: #e8e8ed; border-radius: 3px; }
.w-held { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.w-held .w-zeilen { display: grid; gap: 1.6em; }
.w-held .w-zeilen i { display: block; height: 3em; background: #d2d2d7; border-radius: 4px; }
.w-held .w-zeilen i:nth-child(2) { width: 80%; }
.w-held .w-zeilen i:nth-child(3) { height: 1em; width: 90%; background: #e8e8ed; }
.w-held .w-zeilen i:nth-child(4) { height: 1em; width: 70%; background: #e8e8ed; }
.w-held .w-zeilen i:nth-child(5) { height: 3.4em; width: 38%; background: #c7c7cc; border-radius: 99px; }
.w-held .w-bild { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #ececf0 0 10px, #e4e4e9 10px 20px); border-radius: 8px; }
.w-fuss { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.w-fuss i { display: block; height: 7em; background: #f2f2f5; border-radius: 6px; box-shadow: inset 0 0 0 1px #e5e5ea; }
.ebene--design img, .ebene--online img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ebene--online .browser {
  position: absolute; left: 50%; top: 4%; translate: -50% 0; display: flex; align-items: center; gap: .8em;
  padding: .8em 1.6em; border-radius: 99px; background: rgba(255, 255, 255, .94);
  box-shadow: 0 .6em 2em rgba(0, 0, 0, .14); font-size: 1.7em; white-space: nowrap; color: var(--text);
}
.ebene--online .browser svg { width: 1em; height: 1em; fill: #1d1d1f; }
.ebene--online .status {
  position: absolute; right: 4%; bottom: 6%; display: flex; align-items: center; gap: .7em;
  padding: .7em 1.3em; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: 1.6em;
}
.ebene--online .status i { width: .7em; height: .7em; border-radius: 50%; background: #30d158; }
.ablauf__punkte { display: none; }

@media (max-width: 900px) {
  .ablauf { height: 400vh; }
  .ablauf__raster { grid-template-columns: 1fr; gap: 26px; }
  .ablauf__geraet { order: -1; }
  .ablauf__geraet .geraet { --sw: min(92cqi, calc((100svh - 380px) * 1.5)); }
  .ablauf__kopf .titel { font-size: 30px; text-align: center; }
  .schritte { position: relative; margin-top: 18px; min-height: 120px; }
  .schritt { position: absolute; inset: 0 0 auto; text-align: center; opacity: 0; }
  .schritt p { margin-inline: auto; }
  .schritt b { justify-content: center; }
}

/* ---------- Mehr als man sieht (Raster) ---------- */
.raster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: var(--weit); margin: 0 auto; }
.feld {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--weiss);
  padding: clamp(28px, 3.4vw, 44px); min-height: 360px;
  display: flex; flex-direction: column; gap: 12px;
}
.feld h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.026em; line-height: 1.1; }
.feld p { color: var(--grau); max-width: 420px; }
.feld--breit { grid-column: span 4; }
.feld--schmal { grid-column: span 2; }
.feld--halb { grid-column: span 3; }
.feld--drittel { grid-column: span 2; }
.feld--nacht { background: var(--nacht-flaeche); color: var(--nacht-text); }
.feld--nacht p { color: var(--nacht-grau); }
.feld__bild { margin-top: auto; }

.geraete-reihe { display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding-top: 24px; }
.geraete-reihe .macbook { --sw: min(26vw, 330px); margin: 0; }
.geraete-reihe .ipad { --sw: min(9vw, 118px); }
.geraete-reihe .iphone { --sw: min(4.8vw, 62px); }

.code {
  margin: auto 0 0; padding: 18px 20px; border-radius: 16px;
  background: #0d0d0f; color: #c7c7cc; overflow: hidden;
  font: 500 13px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0;
  white-space: pre;
}
.code .t { color: #ff7ab2; } .code .a { color: #ffa14f; } .code .s { color: #ff8170; } .code .k { color: #7f8c98; }

.zeichen { font-size: clamp(64px, 8vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -.05em; margin-top: auto; }
.zeichen--verlauf {
  background: linear-gradient(120deg, #0071e3, #42a1ff 45%, #a2c8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .06em 0; margin-bottom: -.06em;
}
.flagge { display: flex; width: 72px; height: 48px; margin-top: auto; border-radius: 6px; overflow: hidden; flex-direction: column; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.flagge i { flex: 1; } .flagge i:nth-child(1) { background: #000; } .flagge i:nth-child(2) { background: #dd0000; } .flagge i:nth-child(3) { background: #ffce00; }
.kontrast { display: flex; gap: 10px; margin-top: auto; }
.kontrast span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.kontrast span:nth-child(1) { background: #1d1d1f; color: #fff; }
.kontrast span:nth-child(2) { background: #f5f5f7; color: #1d1d1f; box-shadow: inset 0 0 0 1px #e5e5ea; }
.kontrast span:nth-child(3) { background: #0071e3; color: #fff; }
.schluessel { width: 72px; height: 72px; margin-top: auto; }
/* Angebotsblatt: ragt unten aus der Kachel, wie ein Blatt auf dem Tisch */
.feld--blatt { background: linear-gradient(180deg, var(--weiss) 40%, var(--flaeche)); padding-bottom: 0; }
.blatt {
  margin: auto auto -28px; width: min(100%, 360px); padding: 22px 24px 40px;
  background: var(--weiss); border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 18px 50px rgba(0, 0, 0, .1);
  font-size: 15px; transform: translateY(0); transition: transform .5s var(--kurve);
}
.feld--blatt:hover .blatt { transform: translateY(-8px); }
.blatt__kopf { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
.blatt__kopf b { font-size: 17px; letter-spacing: -.01em; }
.blatt__kopf span { color: var(--grau); font-size: 13px; }
.blatt ul { list-style: none; margin: 10px 0 0; padding: 0; }
.blatt li { display: flex; justify-content: space-between; padding: 7px 0; color: var(--text); }
.blatt li::after { content: ""; width: 16px; height: 9px; margin: 3px 2px 0 0; border: solid #1d7a3a; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(.8); }
.blatt__fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--text); }
.blatt__fuss b { font-size: 19px; letter-spacing: -.02em; }
.blatt__stempel { padding: 4px 12px; border-radius: 999px; background: #e3f3e7; color: #1d7a3a; font-size: 13px; font-weight: 600; }

@media (max-width: 1068px) {
  .feld--breit, .feld--halb { grid-column: span 6; }
  .feld--schmal, .feld--drittel { grid-column: span 3; }
}
@media (max-width: 734px) {
  .raster { grid-template-columns: 1fr; }
  .feld--breit, .feld--halb, .feld--schmal, .feld--drittel { grid-column: auto; }
  .feld { min-height: 0; border-radius: 22px; }
  .geraete-reihe .macbook { --sw: 52vw; }
  .geraete-reihe .ipad { --sw: 18vw; }
  .geraete-reihe .iphone { --sw: 10vw; }
}

/* ---------- Pakete ---------- */
.pakete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--breite); margin: 0 auto; }
.paket { padding: 0 clamp(16px, 2.6vw, 36px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.paket + .paket { border-left: 1px solid var(--linie); }
.paket__symbol { height: 76px; display: flex; align-items: flex-end; margin-bottom: 26px; }
.paket__symbol svg { height: 100%; width: auto; }
.paket h3 { font-size: 28px; letter-spacing: -.024em; }
.paket__satz { margin-top: 8px; color: var(--grau); min-height: 2.94em; }
.paket__preis { margin-top: 22px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.paket__preis small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--grau); letter-spacing: -.006em; }
.paket .aktionen { margin-top: 22px; flex-direction: column; gap: 14px; }
.paket ul { list-style: none; margin: 34px 0 0; padding: 30px 0 0; border-top: 1px solid var(--linie); width: 100%; display: grid; gap: 22px; }
.paket li { font-size: 15px; line-height: 1.4; }
.paket li b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.015em; }
.paket li span { color: var(--grau); }
.angebot {
  max-width: var(--breite); margin: clamp(56px, 7vw, 88px) auto 0; padding: 26px 30px; border-radius: 22px;
  background: var(--flaeche); display: flex; gap: 22px; align-items: center; justify-content: space-between;
}
.angebot b { font-weight: 600; }
.angebot p + p { margin-top: 4px; }
.angebot__zeichen { flex: none; font-size: 40px; font-weight: 700; letter-spacing: -.04em; color: var(--blau-knopf); }
.preis-hinweis { max-width: var(--breite); margin: 22px auto 0; text-align: center; }

@media (max-width: 834px) {
  .pakete { grid-template-columns: 1fr; gap: 56px; }
  .paket + .paket { border-left: 0; border-top: 1px solid var(--linie); padding-top: 56px; }
  .paket__satz { min-height: 0; }
  .angebot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Über mich ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; max-width: var(--weit); margin: 0 auto; }
.person__bild { border-radius: 28px; overflow: hidden; background: #e6e6ea; aspect-ratio: 5 / 6; }
.person__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person__text .titel { margin-bottom: 26px; }
.person__text p + p { margin-top: 16px; }
.person__text .vorspann { color: var(--text); }
.person__fakten { list-style: none; padding: 0; margin: 34px 0 30px; display: grid; gap: 0; border-top: 1px solid var(--linie); }
.person__fakten li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--linie); }
.person__fakten span { color: var(--grau); }
@media (max-width: 834px) { .person { grid-template-columns: 1fr; } .person__bild { max-width: 520px; } }

/* ---------- Schluss ---------- */
.schluss { text-align: center; }
.schluss .titel-gross { max-width: 900px; margin: 0 auto; }
.schluss .vorspann { margin-top: 22px; }
.schluss .aktionen { margin-top: 36px; }
.schluss__wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--breite); margin: clamp(64px, 8vw, 104px) auto 0; text-align: left; border-top: 1px solid #333336; }
.schluss .schluss__wege a { display: block; padding: 26px 22px 6px 0; color: var(--nacht-text); }
.schluss__wege a:hover { text-decoration: none; }
.schluss__wege a:hover b { color: var(--blau-hell); }
.schluss__wege span { display: block; font-size: 14px; color: var(--nacht-grau); margin-bottom: 6px; }
.schluss__wege b { font-weight: 600; font-size: 19px; letter-spacing: -.018em; transition: color .2s; overflow-wrap: anywhere; }
@media (max-width: 734px) { .schluss__wege { grid-template-columns: 1fr; } .schluss__wege a { padding: 20px 0 14px; border-bottom: 1px solid #333336; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--flaeche); color: var(--grau); font-size: 12px; line-height: 1.34; padding: 22px var(--rand) 34px; letter-spacing: 0; }
.fuss__innen { max-width: var(--breite); margin: 0 auto; }
.fuss__hinweise { padding-bottom: 16px; border-bottom: 1px solid var(--linie); display: grid; gap: 10px; }
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 22px 0 28px; }
.fuss h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss a { color: #424245; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--linie); }
.fuss__unten nav { display: flex; flex-wrap: wrap; gap: 0; }
.fuss__unten nav a { padding: 0 10px; border-left: 1px solid var(--linie); }
.fuss__unten nav a:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 734px) { .fuss__spalten { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Scroll-Szenen
   Jede Szene hat einen Fortschritt von 0 bis 1. Wo der Browser
   scroll-gesteuerte Animationen kann, läuft alles ohne Skript
   (wichtig für iOS). Sonst setzt studio.js --p, und dieselben
   Keyframes werden über eine negative Verzögerung angefahren.
   ========================================================= */
.sz { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; }
@supports (animation-timeline: view()) {
  .held { view-timeline: --held block; }
  .held .sz { animation-timeline: --held; animation-range: contain 0% contain 100%; }
  .ablauf { view-timeline: --ablauf block; }
  .ablauf .sz { animation-timeline: --ablauf; animation-range: contain 0% contain 100%; }
}
@supports not (animation-timeline: view()) {
  .sz { animation-play-state: paused; animation-delay: calc(var(--p, 0) * -1s); }
}

.held__text.sz { animation-name: held-text; }
@keyframes held-text {
  0% { opacity: 1; transform: none; }
  16% { opacity: 0; transform: translateY(-8vh); }
  100% { opacity: 0; transform: translateY(-8vh); }
}
.held__geraet.sz { animation-name: held-zoom; }
@keyframes held-zoom {
  0% { transform: translateY(var(--y0, 22vh)) scale(var(--s0, .5)); }
  30% { transform: translateY(calc(var(--kopf) / 2)) scale(1); }
  80% { transform: translateY(calc(var(--kopf) / 2)) scale(1); }
  100% { transform: translateY(calc(var(--kopf) / 4)) scale(var(--s1, .7)); }
}
.held__geraet .bildschirm img.sz { animation-name: held-pan; }
@keyframes held-pan {
  0%, 34% { transform: translateY(0); }
  78%, 100% { transform: translateY(var(--pan, -62%)); }
}
.held__beschriftung.sz { animation-name: held-schild; }
@keyframes held-schild {
  0%, 30% { opacity: 0; transform: translateY(12px); }
  36%, 100% { opacity: 1; transform: none; }
}

/* Ablauf: vier Ebenen, vier Schritte */
.ebene--skizze.sz { animation-name: e1; }
.ebene--entwurf.sz { animation-name: e2; }
.ebene--design.sz { animation-name: e3; }
.ebene--online.sz { animation-name: e4; }
@keyframes e1 { 0%, 22% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes e2 { 0%, 22% { opacity: 0; transform: scale(1.02); } 28%, 47% { opacity: 1; transform: none; } 53%, 100% { opacity: 0; } }
@keyframes e3 { 0%, 47% { opacity: 0; clip-path: inset(0 100% 0 0); } 55%, 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes e4 { 0%, 72% { opacity: 0; } 78%, 100% { opacity: 1; } }
.ebene--skizze .strich.sz { stroke-dasharray: 1; stroke-dashoffset: 1; animation-name: zeichnen; }
@keyframes zeichnen { 0% { stroke-dashoffset: 1; } 18%, 100% { stroke-dashoffset: 0; } }
.ebene--online .browser.sz, .ebene--online .status.sz { animation-name: online-ein; }
@keyframes online-ein { 0%, 76% { opacity: 0; transform: translateY(10px); } 84%, 100% { opacity: 1; transform: none; } }
.schritt:nth-child(1).sz { animation-name: s1; }
.schritt:nth-child(2).sz { animation-name: s2; }
.schritt:nth-child(3).sz { animation-name: s3; }
.schritt:nth-child(4).sz { animation-name: s4; }
@keyframes s1 { 0%, 24% { opacity: 1; } 28%, 100% { opacity: .28; } }
@keyframes s2 { 0%, 24% { opacity: .28; } 28%, 49% { opacity: 1; } 53%, 100% { opacity: .28; } }
@keyframes s3 { 0%, 49% { opacity: .28; } 53%, 74% { opacity: 1; } 78%, 100% { opacity: .28; } }
@keyframes s4 { 0%, 74% { opacity: .28; } 78%, 100% { opacity: 1; } }
@media (max-width: 900px) {
  @keyframes s1 { 0%, 24% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-10px); } }
  @keyframes s2 { 0%, 24% { opacity: 0; transform: translateY(10px); } 27%, 49% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; transform: translateY(-10px); } }
  @keyframes s3 { 0%, 49% { opacity: 0; transform: translateY(10px); } 52%, 74% { opacity: 1; transform: none; } 77%, 100% { opacity: 0; transform: translateY(-10px); } }
  @keyframes s4 { 0%, 74% { opacity: 0; transform: translateY(10px); } 77%, 100% { opacity: 1; transform: none; } }
}

/* Leuchttext: Wörter werden beim Lesen dunkel */
.leuchttext span { color: #d2d2d7; transition: color .5s var(--kurve); }
.leuchttext span.an { color: var(--text); }
@supports (animation-timeline: view()) {
  .leuchttext span { transition: none; animation: leuchten linear both; animation-timeline: view(); animation-range: entry 90% cover 42%; }
  @keyframes leuchten { from { color: #d2d2d7; } to { color: var(--text); } }
}

/* Ohne Bewegung: alles im Endzustand, keine klebenden Bühnen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .held { height: auto; }
  .held__buehne { position: relative; height: auto; overflow: visible; padding-bottom: 60px; }
  .held__text { position: relative; }
  .held__geraet { position: relative; left: auto; top: auto; translate: none; transform: none; margin: 48px auto 0; width: fit-content; }
  .held__geraet .geraet { --sw: min(76vw, 860px); }
  .held__beschriftung { position: relative; left: auto; bottom: auto; translate: none; margin: 28px auto 0; width: fit-content; opacity: 1; }
  .ablauf { height: auto; }
  .ablauf__buehne { position: relative; height: auto; }
  .ebene--online { opacity: 1; }
  .schritt { opacity: 1; position: static; }
  .schritte { min-height: 0; }
  .leuchttext span { color: var(--text); display: inline-block; }
}

/* =========================================================
   Unterseiten
   ========================================================= */
.seitenkopf { text-align: center; padding: clamp(72px, 11vw, 140px) 22px clamp(48px, 6vw, 80px); }
.seitenkopf .klein { margin-bottom: 14px; color: var(--grau); }
.seitenkopf .titel-gross { max-width: 980px; margin: 0 auto; }
.seitenkopf .vorspann { max-width: 700px; margin: 20px auto 0; color: var(--grau); font-weight: 450; }
.seitenkopf .aktionen { margin-top: 30px; }
.seitenkopf__bild { max-width: var(--weit); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 22px; }
.seitenkopf__bild .macbook { --sw: min(84vw, 1000px); }

.innen { max-width: var(--breite); margin: 0 auto; }
.innen--weit { max-width: var(--weit); }
.zwischentitel { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.zwischentitel .vorspann { margin-top: 14px; }

/* Vergleichstabelle */
.tabelle { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tabelle th, .tabelle td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { border-bottom: 0; padding-bottom: 26px; }
.tabelle thead th:first-child { width: 20%; }
.tabelle thead b { display: block; font-size: 24px; letter-spacing: -.022em; font-weight: 700; }
.tabelle thead span { display: block; margin-top: 4px; font-weight: 400; color: var(--grau); font-size: 15px; }
.tabelle thead .knopf { margin-top: 18px; min-height: 36px; padding: 7px 16px; font-size: 14px; }
.tabelle tbody th { font-weight: 500; color: var(--grau); font-size: 15px; }
.tabelle td { font-size: 17px; }
.tabelle td small { display: block; color: var(--grau); font-size: 14px; margin-top: 2px; }
.tabelle .preis { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 834px) {
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: 100%; }
  .tabelle thead { display: none; }
  .tabelle tbody tr { border-top: 1px solid var(--linie); padding: 14px 0; }
  .tabelle tbody th { display: block; padding: 0 0 6px; border: 0; color: var(--text); font-weight: 600; font-size: 17px; }
  .tabelle td { display: grid; grid-template-columns: 9.5em 1fr; column-gap: 12px; align-items: baseline; padding: 6px 0; border: 0; font-size: 15px; }
  .tabelle td::before { content: attr(data-paket); color: var(--grau); grid-row: 1 / span 2; }
  .tabelle td > * { grid-column: 2; }
  .tabelle .preis { font-size: 18px; }
}
.tabelle-hinweis { margin-top: 22px; text-align: center; }

/* Textraster ohne Karten */
.textraster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.textraster h3 { font-size: 19px; letter-spacing: -.018em; font-weight: 650; margin-bottom: 6px; }
.textraster p { color: var(--grau); font-size: 15px; line-height: 1.47; }
.textraster--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.textraster--drei h3 { font-size: 24px; letter-spacing: -.024em; font-weight: 700; margin-bottom: 10px; }
.textraster--drei p { font-size: 17px; }
@media (max-width: 1068px) { .textraster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .textraster, .textraster--drei { grid-template-columns: 1fr; gap: 30px; } }

/* Zusatzleistungen */
.zusatz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zusatz article { background: var(--weiss); border-radius: 22px; padding: 30px; }
.zusatz h3 { font-size: 21px; letter-spacing: -.02em; }
.zusatz p { color: var(--grau); font-size: 15px; margin-top: 4px; }
.zusatz ul { list-style: none; margin: 20px 0 0; padding: 0; }
.zusatz li { padding: 11px 0; border-top: 1px solid #e8e8ed; font-size: 15px; }
@media (max-width: 834px) { .zusatz { grid-template-columns: 1fr; } }

/* Pflege */
.pflege { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stufe { border-radius: 22px; padding: 30px 26px; background: var(--flaeche); display: flex; flex-direction: column; }
.stufe h3 { font-size: 21px; letter-spacing: -.02em; }
.stufe > p:first-of-type { color: var(--grau); font-size: 15px; margin-top: 4px; min-height: 2.94em; }
.stufe .preis { margin-top: 22px; font-size: 34px; font-weight: 700; letter-spacing: -.035em; }
.stufe .preis small { font-size: 14px; font-weight: 400; color: var(--grau); letter-spacing: 0; }
.stufe .brutto { font-size: 13px; color: var(--grau); }
.stufe ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--linie); display: grid; gap: 10px; font-size: 15px; }
.stufe--hervor { background: var(--nacht-flaeche); color: var(--nacht-text); }
.stufe--hervor > p:first-of-type, .stufe--hervor .preis small, .stufe--hervor .brutto { color: var(--nacht-grau); }
.stufe--hervor ul { border-color: #3a3a3c; }
@media (max-width: 1068px) { .pflege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pflege { grid-template-columns: 1fr; } .stufe > p:first-of-type { min-height: 0; } }

/* Fragen */
.fragen { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border: solid var(--text); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-4px);
  transition: transform .3s var(--kurve);
}
.fragen details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.fragen details p { padding: 0 0 26px; color: var(--grau); max-width: 680px; }

/* Fakten */
.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--breite); margin: 0 auto; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.fakten div { padding: 26px 18px 26px 0; }
.fakten dt { font-size: 14px; color: var(--grau); }
.fakten dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.018em; }
@media (max-width: 734px) { .fakten { grid-template-columns: 1fr 1fr; } }

/* Vorher/Nachher */
.vergleich { position: relative; max-width: var(--weit); margin: 0 auto; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #ddd; --pos: 50%; user-select: none; touch-action: pan-y; }
.vergleich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vergleich__neu { clip-path: inset(0 0 0 var(--pos)); }
.vergleich__linie { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .3); pointer-events: none; }
.vergleich__griff {
  position: absolute; top: 50%; left: var(--pos); translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); pointer-events: none;
  display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vergleich__griff::before { content: "‹ ›"; font-size: 20px; font-weight: 600; letter-spacing: .1em; color: var(--text); }
.vergleich input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.vergleich input:focus-visible ~ .vergleich__griff { outline: 3px solid var(--blau-knopf); outline-offset: 3px; }
.vergleich__schild { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 99px; background: rgba(29, 29, 31, .72); color: #fff; font-size: 13px; pointer-events: none; }
.vergleich__schild--alt { left: 16px; }
.vergleich__schild--neu { right: 16px; }

/* Merkmale mit Bild */
.merkmale { display: grid; gap: clamp(72px, 9vw, 120px); max-width: var(--weit); margin: 0 auto; }
.merkmal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.merkmal:nth-child(even) .merkmal__bild { order: -1; }
.merkmal:nth-child(even) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.merkmal h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.merkmal p { margin-top: 14px; color: var(--grau); font-size: 19px; line-height: 1.42; letter-spacing: -.016em; }
.merkmal__bild { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .05); }
@media (max-width: 834px) {
  .merkmal, .merkmal:nth-child(even) { grid-template-columns: 1fr; }
  .merkmal:nth-child(even) .merkmal__bild { order: 0; }
}

/* Galerie */
.galerie { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 860px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--rand) 24px; scrollbar-width: none; }
.galerie::-webkit-scrollbar { display: none; }
.galerie figure { margin: 0; scroll-snap-align: center; }
.galerie img { border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.galerie figcaption { margin-top: 14px; font-size: 15px; color: var(--grau); }
.galerie-knoepfe { display: flex; justify-content: center; gap: 14px; margin-top: 12px; }
.galerie-knoepfe button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--text); cursor: pointer; font-size: 20px; display: grid; place-items: center; }
.galerie-knoepfe button:hover { background: #dcdce1; }
.galerie-knoepfe button:disabled { opacity: .4; cursor: default; }

/* Zitat */
.zitat { max-width: 900px; margin: 0 auto; text-align: center; }
.zitat blockquote { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.028em; font-weight: 600; text-wrap: balance; }
.zitat figcaption { margin-top: 24px; color: var(--grau); }
.zitat figcaption b { color: var(--text); font-weight: 600; }

/* Nächstes Projekt */
.naechstes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: var(--weit); margin: 0 auto; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: var(--flaeche); color: var(--text); }
.naechstes:hover { text-decoration: none; }
.naechstes:hover .weiter { text-decoration: underline; }
.naechstes .klein { color: var(--grau); }
.naechstes h2 { margin: 8px 0 16px; }
.naechstes img { border-radius: 14px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
.naechstes .weiter { color: var(--blau); }
@media (max-width: 734px) { .naechstes { grid-template-columns: 1fr; } }

/* Fotos */
.fotos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; max-width: var(--weit); margin: 0 auto; }
.fotos figure { margin: 0; border-radius: 22px; overflow: hidden; position: relative; background: #ddd; }
.fotos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.fotos figure:first-child img { aspect-ratio: auto; }
.fotos figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .88); font-size: 13px; color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (max-width: 734px) { .fotos { grid-template-columns: 1fr 1fr; } .fotos figure:first-child { grid-column: 1 / -1; } .fotos figure:first-child img { aspect-ratio: 16 / 10; } }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); max-width: var(--weit); margin: 0 auto; align-items: start; }
.formular { display: grid; gap: 18px; }
.formular .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feldchen { position: relative; }
.feldchen input, .feldchen select, .feldchen textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 26px 16px 10px; border: 1px solid #d2d2d7; border-radius: 12px; background: var(--weiss);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.feldchen textarea { min-height: 170px; resize: vertical; line-height: 1.47; }
.feldchen select { background-image: linear-gradient(45deg, transparent 50%, #6e6e73 50%), linear-gradient(135deg, #6e6e73 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.feldchen label { position: absolute; left: 17px; top: 9px; font-size: 12px; color: var(--grau); pointer-events: none; transform-origin: left top; transition: transform .2s ease, top .2s ease; }
/* Leeres Feld ohne Fokus: Beschriftung steht groß im Feld, wie ein Platzhalter */
.feldchen input:placeholder-shown:not(:focus) + label,
.feldchen textarea:placeholder-shown:not(:focus) + label { top: 19px; transform: scale(1.4); }
.feldchen input::placeholder, .feldchen textarea::placeholder { color: transparent; }
.feldchen input:focus, .feldchen select:focus, .feldchen textarea:focus { outline: none; border-color: var(--blau-knopf); box-shadow: 0 0 0 3px rgba(0, 113, 227, .2); }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--grau); }
.einwilligung input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blau-knopf); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .knopf { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.formular .knopf:disabled { opacity: .6; cursor: progress; }
.status { min-height: 1.4em; font-size: 15px; }
.status.ok { color: #1d7a3a; }
.status.fehler { color: #c4191f; }
.wege { display: grid; gap: 12px; }
.weg { display: block; padding: 22px 24px; border-radius: 18px; background: var(--flaeche); color: var(--text); }
.weg:hover { text-decoration: none; background: #ececf0; }
.weg span { display: block; font-size: 14px; color: var(--grau); }
.weg b { font-size: 19px; font-weight: 600; letter-spacing: -.018em; }
.ablaufliste { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.ablaufliste li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; counter-increment: s; }
.ablaufliste li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: #fff; font-size: 14px; font-weight: 600; }
.ablaufliste b { display: block; font-weight: 600; }
.ablaufliste span { color: var(--grau); font-size: 15px; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .formular .zeile { grid-template-columns: 1fr; } }

/* Rechtstexte: eine ruhige Lesespalte */
.rechtstext { max-width: 720px; margin: 0 auto; padding: clamp(72px, 10vw, 128px) 22px clamp(84px, 12vw, 140px); }
.rechtstext h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -.034em; margin-bottom: clamp(32px, 4vw, 48px); }
.rechtstext h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; font-weight: 650; margin: 44px 0 10px; }
.rechtstext p, .rechtstext li { font-size: 17px; line-height: 1.6; color: #424245; }
.rechtstext p + p { margin-top: 12px; }
.rechtstext ul { margin: 12px 0 0 1.2em; list-style: disc; }
.rechtstext li + li { margin-top: 6px; }
.rechtstext strong { color: var(--text); font-weight: 600; }
.rechtstext a { color: var(--blau); overflow-wrap: anywhere; }
.rechtstext a:hover { text-decoration: underline; }

.seitenkopf--fehler { min-height: calc(100svh - var(--kopf) - 200px); display: flex; flex-direction: column; justify-content: center; }
