/* ==========================================================================
   Lockup – Website
   Farben und Schriften aus der App-CI. Schriften liegen lokal (keine Dritten).
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Hell (App-CI) */
  --petrol: #0D9488;
  --petrol-dark: #0F766E;
  --petrol-deep: #115E59;
  --petrol-tint: #CCFBF1;
  --teal: #14B8A6;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --gold: #F6B73C;
  --bg: #F0FDFA;
  --bg-top: #FBFFFE;
  --card: #FFFFFF;
  --text: #0F2E2B;
  --text-2: #475569;
  --text-3: #5B6B78;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --green: #0E9F6E;
  --red: #EF4444;

  /* Dunkel (App-Dark-Mode + Sperrbildschirm) */
  --night: #0B121C;
  --night-2: #121C2B;
  --night-card: #161F2C;
  --night-text: #EDF1F6;
  --night-muted: #94A3B8;
  --night-petrol: #2DD4BF;
  --night-orange: #FB923C;
  --lock: #0A0A0F;

  --f-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --r-card: 24px;

  --z-notes: 2;
  --z-wordmark: 3;
  --z-calm: 4;
  --z-caps: 5;
  --z-header: 50;
  --z-skip: 60;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  left: 16px; top: -80px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--petrol-dark);
  outline-offset: 3px;
  border-radius: 6px;
}
[data-tone="dark"] :focus-visible { outline-color: var(--night-petrol); }

.icon {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Höhenlinien (contours.js setzt Lage und Größe direkt) ---------- */
.contours { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
/* Dunkle Bereiche bekommen eigene Linien in hellem Petrol, hinter ihrem Inhalt */
.cta, .site-footer { position: relative; isolation: isolate; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--petrol-dark);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(18px, 0.8vw + 13px, 22px);
  line-height: 1.55;
  color: var(--text-2);
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--petrol-dark);
  color: #FFFFFF;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--petrol-deep); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 700;
  color: var(--petrol-dark);
  text-decoration: none;
  cursor: pointer;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 12px; left: 0; right: 0;
  z-index: var(--z-header);
  pointer-events: none;
  transition: opacity .8s ease;
}
html.intro .site-header { opacity: 0; visibility: hidden; }
.site-header__inner {
  pointer-events: auto;
  width: min(100% - 24px, 1280px);
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 10px 0 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  color: var(--night-text);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.site-header[data-tone="light"] .site-header__inner { color: var(--text); }
.site-header.is-solid[data-tone="light"] .site-header__inner {
  background: rgba(251, 255, 254, .84);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.site-header.is-solid[data-tone="dark"] .site-header__inner {
  background: rgba(10, 10, 15, .72);
  border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--f-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand__mark {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lock);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.brand__mark .icon { width: 18px; height: 18px; }

.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.site-nav a:hover { background: rgba(127, 127, 127, .14); }
.site-header[data-tone="dark"] .site-header__cta { background: var(--night-petrol); color: var(--lock); }
.site-header[data-tone="dark"] .site-header__cta:hover { background: #5EEAD4; }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
}

/* ==========================================================================
   Eröffnung
   Ohne Klasse = Endzustand: hell, Schloss eingerastet. So sehen ihn Besucher
   mit „Bewegung reduzieren“, ohne JS und nach dem Intro.
   html.intro = Startzustand des Intros; main.js spielt die Sequenz ab.
   ========================================================================== */
.opening { position: relative; }

.opening__stage {
  --bg1: #FBFFFE;
  --bg2: #F0FDFA;
  --fg: #0F2E2B;
  --muted: #475569;
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  color: var(--fg);
}
html.intro .opening__stage {
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  --bg1: #0B121C;
  --bg2: #121C2B;
  --fg: #EDF1F6;
  --muted: #94A3B8;
}
.opening__fx { position: absolute; inset: 0; }
html.intro .opening__fx { will-change: transform; }

/* Heller Endzustand, der sich im Intro per Maske vom Schloss aus ausbreitet */
.opening__calm {
  position: absolute;
  inset: 0;
  z-index: var(--z-calm);
  display: none;
  visibility: hidden;
  background: var(--bg);
  color: var(--text);
  pointer-events: none;
}
html.intro .opening__calm { display: block; }

/* Kurzer Blitz beim Knall */
.opening__flash {
  position: absolute;
  inset: 0;
  z-index: var(--z-calm);
  background: #FFFFFF;
  opacity: 0;
  pointer-events: none;
}

/* Kurzer heller Schleier beim Überspringen */
.opening__veil {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.opening__veil.is-on { opacity: 1; transition-duration: .25s; }

/* NFC-Feld (nur im Intro) */
.rings {
  position: absolute;
  left: 50%; top: 40%;
  width: 170vmax; height: 170vmax;
  display: none;
  translate: calc(-50% + var(--px, 0px)) calc(-50% + var(--py, 0px));
  pointer-events: none;
  transition: translate 1.2s var(--ease-out);
}
html.intro .rings { display: block; }
.rings circle {
  fill: none;
  stroke: var(--night-petrol);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
html.intro .rings circle { animation: ring 8s cubic-bezier(.2, .6, .35, 1) infinite; }
html.intro .rings circle:nth-child(2) { animation-delay: 1.6s; }
html.intro .rings circle:nth-child(3) { animation-delay: 3.2s; }
html.intro .rings circle:nth-child(4) { animation-delay: 4.8s; }
html.intro .rings circle:nth-child(5) { animation-delay: 6.4s; }
html.intro-short .rings circle { animation-duration: 4s; }
@keyframes ring {
  0% { transform: scale(.03); opacity: 0; }
  10% { opacity: .55; }
  100% { transform: scale(.75); opacity: 0; }
}

/* Benachrichtigungen (nur im langen Intro) */
.notes {
  position: absolute;
  inset: 0;
  z-index: var(--z-notes);
  display: none;
  margin: 0; padding: 0;
  list-style: none;
  pointer-events: none;
}
html.intro:not(.intro-short) .notes { display: block; }
.note {
  position: absolute;
  width: 310px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(22, 31, 44, .94);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .6);
  color: var(--night-text);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.note__icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #FFFFFF;
  flex: none;
}
.note__icon .icon { width: 18px; height: 18px; }
.note__body { display: grid; gap: 2px; min-width: 0; }
.note__app {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--night-muted);
}
.note__text { font-size: 14.5px; font-weight: 500; line-height: 1.35; }

/* Fremde App-Farben: bunte Ablenkung gegen ruhiges Petrol */
.ic-a { background: #6366F1; }
.ic-b { background: #EC4899; }
.ic-c { background: #F59E0B; }
.ic-d { background: #3B82F6; }
.ic-e { background: #8B5CF6; }
.ic-f { background: #10B981; }
.ic-g { background: #64748B; }

/* Positionen setzt main.js (dicht gedrängt, je nach Bildschirmgröße) */
@media (max-width: 760px) {
  .note { width: min(300px, 80vw); }
}

/* Schriftzug */
.wordmark {
  position: absolute;
  left: 0; right: 0;
  top: 40%;
  translate: 0 -50%;
  z-index: var(--z-wordmark);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.wm {
  --tr: .14em;
  display: inline-flex;
  font-family: var(--f-head);
  font-weight: 300;
  font-size: min(19vw, 34vh);
  font-size: min(19vw, 34svh);
  line-height: 1;
  white-space: nowrap;
  color: var(--fg);
}
.wm__l {
  position: relative;
  display: inline-block;
  margin: 0 calc(var(--tr) / 2);
}
.shackle {
  position: absolute;
  left: 50%;
  top: -.2em;
  width: .5em;
  height: .42em;
  translate: -50% 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 20;
}
.tap-pulse {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.15em; height: 1.15em;
  translate: -50% 0;
  border-radius: 50%;
  border: max(1.5px, .012em) solid var(--night-orange);
  opacity: 0;
  pointer-events: none;
}

/* Strahlenkranz, wenn das O beim Zuschlagen aufplatzt (nur im Intro sichtbar) */
.burst {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  translate: -50% 0;
  overflow: visible;
  fill: none;
  stroke: var(--night-petrol);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  pointer-events: none;
}

/* Endzustand: fest, eng, O in Petrol mit Bügel */
.opening .wm { font-weight: 700; --tr: -.015em; }
.opening .wm__o { color: var(--petrol); transform-origin: 50% 55%; }

/* Startzustand des Intros (nur der echte Schriftzug, nicht die helle Kopie) */
html.intro .opening__fx .wm { font-weight: 300; --tr: .14em; }
html.intro .opening__fx .wm__o { color: inherit; }
html.intro .opening__fx .shackle {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: perspective(300px) translateY(.12em);
  stroke-width: 11;
}
html.intro .opening__fx .wm__l { animation: wm-in .9s var(--ease-out) both; }
html.intro .opening__fx .wm__l:nth-child(1) { animation-delay: .05s; }
html.intro .opening__fx .wm__l:nth-child(2) { animation-delay: .09s; }
html.intro .opening__fx .wm__l:nth-child(3) { animation-delay: .13s; }
html.intro .opening__fx .wm__l:nth-child(4) { animation-delay: .17s; }
html.intro .opening__fx .wm__l:nth-child(5) { animation-delay: .21s; }
html.intro .opening__fx .wm__l:nth-child(6) { animation-delay: .25s; }
html.intro-short .opening__fx .wm__l { animation-duration: .7s; }
.opening__calm .wm { color: var(--text); }
@keyframes wm-in {
  from { transform: translateY(55%); opacity: 0; filter: blur(10px); }
  to { transform: none; opacity: 1; filter: none; }
}

/* Texte der Eröffnung */
.caps {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(28px, 7vh, 72px);
  z-index: var(--z-caps);
}
.cap {
  position: absolute;
  bottom: 0;
  left: max(var(--gutter), (100% - var(--container)) / 2);
  right: var(--gutter);
  max-width: 700px;
  opacity: 0;
  visibility: hidden;
}
.cap--calm { opacity: 1; visibility: visible; }
html.intro .cap--calm { opacity: 0; visibility: hidden; }
html.intro .cap { will-change: transform, opacity; }
.cap--lock {
  left: var(--gutter);
  right: var(--gutter);
  max-width: none;
  text-align: center;
}
.cap__label {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--petrol-dark);
}
.cap--problem .cap__label, .cap--lock .cap__label { color: var(--night-petrol); }
.cap--calm .cap__title { color: var(--text); }
.cap--calm .cap__text { color: var(--text-2); }
.cap__title {
  margin-bottom: 16px;
  font-family: var(--f-head);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--fg);
  text-wrap: balance;
}
.cap__text {
  max-width: 56ch;
  font-size: clamp(16px, 0.6vw + 13px, 19px);
  color: var(--muted);
}
.cap__big {
  font-family: var(--f-head);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--fg);
}
.cap__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 26px;
}
.cap .accent { color: var(--petrol); }

/* Scroll-Hinweis im Endzustand (nur Desktop) */
.scroll-cue {
  position: absolute;
  right: max(var(--gutter), (100% - var(--container)) / 2);
  bottom: clamp(28px, 7vh, 72px);
  z-index: var(--z-caps);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.scroll-cue .icon { width: 18px; height: 18px; }
html.intro .scroll-cue { opacity: 0; }

/* Überspringen: im Intro unsichtbar, erscheint nur bei Tastaturbedienung.
   Sonst überspringt man durch Scrollen, Tippen oder eine Taste. */
.intro-skip {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 7;
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(10, 10, 15, .7);
  color: #FFFFFF;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
}
html.intro .intro-skip { display: inline-flex; }
html.intro .intro-skip:focus-visible { opacity: 1; outline-color: var(--night-petrol); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Niedrige Bildschirme (Laptops im Querformat) */
@media (min-width: 761px) and (max-height: 780px) {
  .wordmark, .rings { top: 33%; }
  .wm { font-size: min(17vw, 28vh); font-size: min(17vw, 28svh); }
  .cap__title { font-size: clamp(28px, 3.6vw, 48px); }
}
@media (max-width: 760px) {
  .wordmark, .rings { top: 37%; }
  .caps { bottom: 24px; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Sektionen
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(96px, 12vw, 180px) 0;
  scroll-margin-top: 0;
}
.section-head { max-width: 920px; margin-bottom: clamp(48px, 6vw, 88px); }

html.motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
html.motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Ablauf ---------- */
.how { background: transparent; }
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.how__steps { margin: 0; padding: 0; list-style: none; }
.how__stage {
  --phone-h: min(600px, 64vh, calc(100vh - 270px));
  position: sticky;
  top: max(96px, calc(50vh - (var(--phone-h) + 130px) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.step__num {
  font-family: var(--f-head);
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--line-strong);
  transition: color .5s ease;
}
.step__title {
  margin: 14px 0 12px;
  font-family: var(--f-head);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text-3);
  transition: color .5s ease;
}
.step__text {
  max-width: 44ch;
  font-size: clamp(17px, 0.6vw + 13px, 20px);
  color: var(--text-2);
}
.step.is-active .step__num { color: var(--petrol); }
.step.is-active .step__title { color: var(--text); }

/* Telefon */
.phone {
  position: relative;
  height: var(--phone-h);
  aspect-ratio: 300 / 620;
  padding: clamp(7px, 1.1vh, 11px);
  border-radius: clamp(34px, 5vh, 52px);
  background: var(--lock);
  box-shadow: 0 40px 80px -36px rgba(15, 46, 43, .55), 0 0 0 1px rgba(15, 46, 43, .1);
  transition: transform .8s var(--ease-out);
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: calc(clamp(34px, 5vh, 52px) - clamp(7px, 1.1vh, 11px));
  background: var(--night);
}
.phone__island {
  position: absolute;
  top: calc(clamp(7px, 1.1vh, 11px) + 1.6%);
  left: 50%;
  translate: -50% 0;
  width: 30%; height: 3.4%;
  border-radius: 99px;
  background: #000000;
}
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18% 8% 9%;
  font-size: calc(var(--phone-h) / 46);
  opacity: 0;
  transition: opacity .55s ease;
}
.how__stage[data-state="1"] .screen--1,
.how__stage[data-state="2"] .screen--2,
.how__stage[data-state="3"] .screen--3,
.how__stage[data-state="4"] .screen--4 { opacity: 1; }
.how__stage[data-state="2"] .phone { transform: translateY(26px); }

.screen--1 { background: radial-gradient(120% 70% at 50% 0%, #1B3B4A 0%, var(--night) 62%); color: var(--night-text); }
.scr-time { text-align: center; font-family: var(--f-head); font-size: 5em; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.scr-date { margin-top: .4em; text-align: center; font-size: 1.1em; color: var(--night-muted); }
.scr-notes { display: grid; gap: .6em; margin-top: auto; }
.mini {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .7em .8em;
  border-radius: 1.1em;
  background: rgba(22, 31, 44, .9);
  border: 1px solid rgba(255, 255, 255, .06);
  font-size: 1em;
  line-height: 1.3;
}
.mini b { display: block; font-size: .85em; color: var(--night-muted); }
.mini__ic { width: 2.2em; height: 2.2em; display: grid; place-items: center; border-radius: .6em; color: #FFFFFF; flex: none; }
.mini__ic .icon { width: 1.2em; height: 1.2em; }

.scr-center { margin: auto 0; display: grid; justify-items: center; text-align: center; gap: .5em; }
.scr-title { font-family: var(--f-head); font-size: 1.9em; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.scr-sub { font-size: 1.1em; color: var(--night-muted); }

.screen--2 { background: var(--night); color: var(--night-text); }
.scr-nfc {
  position: relative;
  width: 8em; height: 8em;
  display: grid;
  place-items: center;
  margin-bottom: 1em;
  border-radius: 50%;
  border: 2px solid var(--night-petrol);
  color: var(--night-petrol);
}
.scr-nfc .icon { width: 3.4em; height: 3.4em; }
.scr-nfc::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--night-petrol);
  opacity: 0;
}
html.motion .how__stage[data-state="2"] .scr-nfc::after { animation: ripple 1.6s ease-out infinite; }

.screen--3 { background: var(--lock); color: #FFFFFF; }
.scr-lock { width: 5.4em; height: 5.4em; margin-bottom: .8em; color: #FFFFFF; }
.screen--3 .scr-title { font-size: 2.4em; }
.scr-pill {
  align-self: center;
  padding: .55em 1.1em;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 1em;
  font-weight: 700;
  color: var(--night-petrol);
}

.screen--4 { background: linear-gradient(180deg, var(--bg-top), var(--bg)); color: var(--text); }
.screen--4 .scr-sub { color: var(--text-3); }
.scr-open {
  width: 5.6em; height: 5.6em;
  display: grid;
  place-items: center;
  margin-bottom: .8em;
  border-radius: 50%;
  background: var(--petrol-tint);
  color: var(--petrol-dark);
}
.scr-open .icon { width: 2.8em; height: 2.8em; }
.scr-reward {
  display: flex;
  align-items: center;
  gap: .8em;
  padding: .9em 1em;
  border-radius: 1.2em;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 1em;
  line-height: 1.3;
}
.scr-reward b { display: block; }
.scr-reward span:last-child { color: var(--text-3); }
.scr-reward__ic { width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: .8em; background: var(--gold); color: #3D2A05; flex: none; }
.scr-reward__ic .icon { width: 1.4em; height: 1.4em; }

/* Chip */
.chip {
  --chip: clamp(72px, 10vh, 100px);
  position: relative;
  width: var(--chip);
  height: var(--chip);
  margin-top: 30px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -14px rgba(15, 46, 43, .35);
  color: var(--petrol);
}
.chip > .icon { width: calc(var(--chip) * .44); height: calc(var(--chip) * .44); }
.chip__ring {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid var(--petrol);
  opacity: 0;
}
.chip__ring + .chip__ring { border-color: var(--orange); }
html.motion .how__stage[data-state="2"] .chip__ring { animation: ripple 1.6s ease-out infinite; }
html.motion .how__stage[data-state="2"] .chip__ring + .chip__ring { animation-delay: .8s; }
.chip__label {
  position: absolute;
  top: calc(100% + 12px);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
}
@keyframes ripple {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(1.9); opacity: 0; }
}

@media (max-width: 900px) {
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__stage {
    --phone-h: min(340px, 40vh);
    order: -1;
    top: 84px;
    z-index: 2;
    flex-direction: row;
    justify-content: center;
    gap: 22px;
    padding: 8px 0 18px;
    background: rgba(240, 253, 250, .82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .how__stage[data-state="2"] .phone { transform: translateX(14px); }
  .chip { --chip: 64px; margin-top: 0; border-radius: 18px; }
  .chip__label { display: none; }
  .step { min-height: 58vh; justify-content: flex-start; padding-top: 32px; }
}

/* ---------- Motivation ---------- */
.motiv { overflow: hidden; }
.marquee { margin-bottom: clamp(40px, 5vw, 80px); }
.marquee__track {
  display: flex;
  width: max-content;
  font-family: var(--f-head);
  font-size: clamp(64px, 12.5vw, 220px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  white-space: nowrap;
  will-change: transform;
}
.marquee__group { display: flex; align-items: baseline; gap: .35em; padding-right: .35em; }
.marquee__track b { font-weight: 700; color: var(--petrol); }
.marquee__group > span {
  color: transparent;
  -webkit-text-stroke: max(1.5px, .012em) var(--text);
}
.marquee__track i { font-style: normal; color: var(--orange); }
html.motion .marquee__track { animation: marquee 34s linear infinite; }
.marquee.is-offscreen .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 5vw, 72px);
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
}
.tile__vis { min-height: 128px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 16px; }
.tile h3 { font-family: var(--f-head); font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.tile p { font-size: 16.5px; color: var(--text-2); }

.xp__top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 800; }
.xp__top span:last-child { color: var(--text-3); font-weight: 700; }
.xp__bar { height: 14px; margin-top: 12px; border-radius: 99px; background: var(--petrol-tint); overflow: hidden; }
.xp__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--petrol); transform-origin: left; transition: transform 1.6s var(--ease-out) .2s; }
.reward {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--gold);
  color: #3D2A05;
  font-size: 13px;
  font-weight: 800;
  transition: opacity .8s var(--ease-out) 1.1s, transform .8s var(--ease-out) 1.1s;
}
.reward .icon { width: 15px; height: 15px; }

.days { display: flex; align-items: flex-end; gap: 10px; }
.day { display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-3); }
.day i {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--petrol);
  border: 1px solid var(--petrol);
  color: #FFFFFF;
  transition: background-color .45s ease, border-color .45s ease, color .45s ease;
}
.day i .icon { width: 20px; height: 20px; }
.day:nth-child(2) i { transition-delay: .15s; }
.day:nth-child(3) i { transition-delay: .3s; }
.day:nth-child(4) i { transition-delay: .45s; }
.day:nth-child(5) i { transition-delay: .6s; }
.streak { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding-bottom: 26px; font-family: var(--f-head); font-size: 22px; font-weight: 700; color: var(--text); }
.streak .icon { width: 24px; height: 24px; color: var(--orange); }

.lb { display: grid; gap: 12px; }
.lb__row { display: grid; grid-template-columns: 22px 32px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--text-3); }
.lb__row .icon { width: 20px; height: 20px; color: var(--gold); }
.lb__av { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--petrol-tint); color: var(--petrol-dark); font-size: 12px; }
.lb__bar { height: 10px; border-radius: 99px; background: var(--line); }
.lb__bar i { display: block; height: 100%; border-radius: inherit; background: var(--petrol-dark); transform-origin: left; transition: transform 1.3s var(--ease-out); }
.lb__row:nth-child(1) .lb__bar i { width: 94%; }
.lb__row:nth-child(2) .lb__bar i { width: 78%; transition-delay: .12s; }
.lb__row:nth-child(3) .lb__bar i { width: 61%; transition-delay: .24s; }

/* Ausgangszustand nur, wenn animiert wird */
html.motion .tile:not(.is-in) .xp__bar i { transform: scaleX(.06); }
html.motion .tile:not(.is-in) .reward { opacity: 0; transform: translateY(10px); }
html.motion .tile:not(.is-in) .day i { background: var(--bg); border-color: var(--line); color: transparent; }
html.motion .tile:not(.is-in) .lb__bar i { transform: scaleX(0); }

/* ---------- Für Lehrkräfte ---------- */
.teach { background: transparent; }
.teach__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.checks { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.checks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--petrol); stroke-width: 2.4; }

.dash {
  padding: clamp(16px, 2.2vw, 28px);
  border-radius: 28px;
  background: var(--bg-top);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(15, 46, 43, .35);
}
.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.dash__class { font-family: var(--f-head); font-size: 26px; font-weight: 700; line-height: 1.1; }
.dash__meta { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.dash__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--petrol-tint);
  color: var(--petrol-deep);
  font-size: 13px;
  font-weight: 800;
}
.dash__now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--petrol); }
.dash__stat { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 10px; }
.dash__count { font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.dash__of { font-weight: 700; color: var(--text-3); }
.dash__bar { height: 8px; margin-bottom: 20px; border-radius: 99px; background: var(--line); overflow: hidden; }
.dash__bar i { display: block; height: 100%; border-radius: inherit; background: var(--petrol-dark); transform-origin: left; transform: scaleX(.9583); transition: transform .4s var(--ease-out); }

.dash__cols, .drow {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 112px 92px;
  grid-template-areas: "av name pill day";
  align-items: center;
  gap: 12px;
}
.dash__cols {
  padding: 0 12px 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.dash__cols span:first-child { grid-column: 1 / 3; }
.dash__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.drow { padding: 9px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.drow__av { grid-area: av; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #E6F6F4; color: var(--petrol-dark); font-size: 12.5px; font-weight: 800; }
.drow__name { grid-area: name; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill {
  grid-area: pill;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(14, 159, 110, .12);
  color: #047857;
  transition: background-color .3s ease, color .3s ease;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); transition: background-color .3s ease; }
.drow.is-locked .pill { background: rgba(239, 68, 68, .12); color: #B91C1C; }
.drow.is-locked .pill::before { background: var(--red); }
.pill__on { display: none; }
.drow.is-locked .pill__on { display: inline; }
.drow.is-locked .pill__off { display: none; }
.drow__day { grid-area: day; display: flex; gap: 4px; }
.drow__day i { width: 11px; height: 11px; border-radius: 3px; background: var(--line); }
.drow__day i.on { background: var(--petrol-dark); }
.drow__day i.fut { background: transparent; border: 1px dashed var(--line-strong); }
.drow.is-locked .drow__day i.now { background: var(--petrol-dark); }
.drow__day i.now { transition: background-color .3s ease; }
.dash__note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); text-align: right; }

/* ---------- Vergleich ---------- */
.compare { background: transparent; }
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: clamp(16px, 0.5vw + 14px, 19px);
}
.cmp th, .cmp td { padding: 22px 26px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead td { border-top: 0; }
.cmp thead th { border-top: 0; padding-bottom: 18px; font-family: var(--f-head); font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; }
.cmp tbody th { width: 18%; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 26px; }
.cmp td { color: var(--text-2); }
.cmp .is-lockup { background: var(--card); color: var(--text); font-weight: 500; }
.cmp thead .is-lockup { border-radius: 22px 22px 0 0; color: var(--petrol-dark); }
.cmp tbody tr:last-child .is-lockup { border-radius: 0 0 22px 22px; }
.cmp__cell { display: flex; align-items: flex-start; gap: 12px; }
.cmp__cell .icon { width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.4; }
.cmp td:not(.is-lockup) .icon { color: var(--night-muted); }
.cmp .is-lockup .icon { color: var(--petrol); }

@media (max-width: 760px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden; }
  .cmp tbody th { border-top: 0; padding: 18px 20px 4px; }
  .cmp td { padding: 12px 20px 16px; border-top: 0; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--text-3); }
  .cmp td.is-lockup { background: var(--bg-top); border-top: 1px solid var(--line); }
  .cmp td.is-lockup::before { color: var(--petrol-dark); }
  .cmp tbody tr:last-child .is-lockup { border-radius: 0; }
}

/* ---------- Datenschutz ---------- */
.privacy { background: transparent; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { padding: 28px; border-radius: var(--r-card); background: var(--bg-top); border: 1px solid var(--line); }
.pcard__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; background: var(--petrol-tint); color: var(--petrol-dark); }
.pcard__icon .icon { width: 26px; height: 26px; }
.pcard h3 { margin-bottom: 10px; font-family: var(--f-head); font-size: 23px; font-weight: 700; line-height: 1.15; }
.pcard p { color: var(--text-2); font-size: 16.5px; }
.privacy__more { margin-top: 36px; }

@media (max-width: 980px) {
  .tiles, .pcards, .teach__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dash__cols { display: none; }
  .drow { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "av name pill" "av day day"; row-gap: 6px; }
  .drow__av { width: 32px; height: 32px; }
}

/* ---------- Preise ---------- */
.pricing { background: transparent; }
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.tiers { display: grid; gap: 8px; max-width: 460px; margin: 36px 0 14px; padding: 0; list-style: none; }
.tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease;
}
.tier__range { color: var(--text-2); transition: color .3s ease; }
.tier__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.tier.is-active { background: #E6F6F4; border-color: var(--petrol); }
.tier.is-active .tier__range { color: var(--text); }
.tiers__note { max-width: 460px; font-size: 14px; color: var(--text-3); }
.tiers__note strong { color: var(--text-2); }

.calc {
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(15, 46, 43, .3);
}
.calc__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.calc__label { font-weight: 700; }
.calc__num {
  width: 150px;
  min-height: 52px;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-top);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc__num::-webkit-inner-spin-button, .calc__num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc__num:hover { border-color: var(--petrol); }

/* Schieberegler: Spur mit Füllung in Petrol, großer Griff */
.calc__slider { margin: 18px 0 30px; }
.calc__range {
  --pn: .436;
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.calc__range:focus-visible { outline: none; }
.calc__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--petrol-dark) calc(14px + (100% - 28px) * var(--pn)), var(--line) 0);
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--petrol-dark);
  box-shadow: 0 4px 12px -2px rgba(15, 46, 43, .3);
}
.calc__range::-moz-range-track { height: 8px; border-radius: 99px; background: var(--line); }
.calc__range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--petrol-dark); }
.calc__range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--petrol-dark);
  box-shadow: 0 4px 12px -2px rgba(15, 46, 43, .3);
}
.calc__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(15, 118, 110, .28), 0 4px 12px -2px rgba(15, 46, 43, .3); }
.calc__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(15, 118, 110, .28), 0 4px 12px -2px rgba(15, 46, 43, .3); }
.calc__scale { position: relative; height: 20px; margin: 0 14px; }
.calc__tick {
  position: absolute;
  top: 2px;
  translate: -50% 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calc__tick--mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -26px;
  width: 2px;
  height: 12px;
  translate: -50% 0;
  border-radius: 1px;
  background: var(--line-strong);
}

.calc__out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.calc__fig dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.calc__fig dd { margin: 0; }
.calc__value {
  font-family: var(--f-body);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}
.calc__fig--total .calc__value { color: var(--petrol-dark); }
.calc__unit { display: block; margin-top: 6px; font-size: 14px; color: var(--text-3); }
.calc__fig dd.calc__hint { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.calc__vat { margin: 18px 0 22px; font-size: 13.5px; color: var(--text-3); }

@media (max-width: 980px) {
  .pricing__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .calc__out { grid-template-columns: minmax(0, 1fr); }
  .calc__cta { width: 100%; }
  .calc__num { width: 100%; }
}

/* ---------- Kontakt ---------- */
.cta {
  padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
  background: var(--lock);
  color: var(--night-text);
}
.cta .eyebrow { color: var(--night-petrol); }
.cta__title { max-width: 14ch; color: #FFFFFF; }
.cta__text { margin: 22px 0 56px; max-width: 52ch; font-size: clamp(18px, 0.8vw + 13px, 22px); color: var(--night-muted); }
.cta__mail {
  display: inline-block;
  padding-bottom: 10px;
  font-family: var(--f-head);
  font-size: clamp(30px, 7.2vw, 124px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: #FFFFFF;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--night-petrol), var(--night-petrol)) left bottom / 0% 4px no-repeat;
  cursor: pointer;
  transition: background-size .5s var(--ease-out), color .3s ease;
}
.cta__mail:hover { background-size: 100% 4px; color: var(--night-petrol); }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 24px; background: var(--lock); color: var(--night-muted); overflow: hidden; }
.footer__mark {
  display: flex;
  justify-content: center;
  padding-top: clamp(40px, 6vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__mark .wm { --tr: -.015em; font-size: min(22vw, 340px); font-weight: 700; color: #1A2433; }
.footer__mark .wm__o { color: var(--night-petrol); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 15px;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--night-text); text-decoration: none; cursor: pointer; transition: color .2s ease; }
.footer__bar a:hover { color: var(--night-petrol); }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: calc(var(--header-h) + 112px) 0 clamp(96px, 10vw, 160px); }
.legal__inner { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.legal h1 { margin-bottom: 36px; font-family: var(--f-head); font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
.legal h2 { margin: 48px 0 12px; font-family: var(--f-head); font-size: 24px; font-weight: 700; line-height: 1.2; }
.legal p { margin-bottom: 14px; color: var(--text-2); }
.legal a { color: var(--petrol-dark); font-weight: 600; }
.notice { padding: 20px 22px; border-radius: 18px; background: #FEF7E6; border: 1px solid #F6D58E; color: #5A3F06; }
.notice p { color: inherit; margin: 0; }
.notice p + p { margin-top: 8px; }
mark.ph {
  padding: .05em .35em;
  border-radius: 6px;
  background: #FCE7B2;
  color: #5A3F06;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- 404 ---------- */
.err {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 80px;
  background: var(--lock);
  color: var(--night-text);
  text-align: center;
}
.err__code { font-family: var(--f-head); font-size: clamp(96px, 22vw, 260px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #1A2433; }
.err h1 { margin: 12px 0 14px; font-family: var(--f-head); font-size: clamp(28px, 3vw, 44px); font-weight: 700; }
.err p { margin-bottom: 32px; color: var(--night-muted); }
.err .btn { background: var(--night-petrol); color: var(--lock); }
.err .btn:hover { background: #5EEAD4; }
