/* ============================================================
   IDA Website v3 — „Eine Sorge weniger."
   Basis-Layout und Sektionen. Der Scroll-Film liegt in scrub.css,
   die klickbare Demo in demo.css (Module der Kollegen — hier nur
   eingebunden).

   Vanilla CSS · keine externen Requests · Animationen nur über
   transform/opacity · prefers-reduced-motion wird respektiert.
   ============================================================ */

/* ---------- Schrift (lokal, keine externen Fonts) ---------- */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Token ---------- */
:root {
  --navy: #0b1d3a;
  --night: #0e0f12;
  --teal: #1fc4a8;
  --teal-text: #0a7662;      /* Teal als Textfarbe auf Hell — Kontrastregel Marke */
  --cream: #f7f4ee;          /* Papierweiß v3 */
  --sand: #e8e2d6;
  --paper: #ffffff;
  --hell: #f2f3f5;
  --ink: #22304a;
  --ink-soft: #55617a;
  --dark-card: #14243d;
  --dark-line: #24344f;
  --dark-text: #aeb6c4;
  --shell: 1120px;
  --nav-h: 64px;
  --radius: 20px;
  --shadow-soft: 0 10px 30px rgba(11, 29, 58, 0.10);
  --shadow-lift: 0 18px 44px rgba(11, 29, 58, 0.16);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Seitliche Reveal-Transformationen (from-left/from-right) duerfen auf
   schmalen Screens keinen Horizontal-Scroll erzeugen; clip statt hidden,
   damit position: sticky im Scroll-Film weiter funktioniert (31.08.2026). */
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: rgba(11, 29, 58, 0.07);
  padding: 0.08em 0.35em;
  border-radius: 6px;
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

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

::selection { background: rgba(31, 196, 168, 0.32); }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 740; letter-spacing: -0.022em; color: var(--navy); margin: 0 0 0.5em; }
h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.032em;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.14; }
p { margin: 0 0 1em; }

.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 0.9rem;
}
.kicker-teal { color: var(--teal); }

.section-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 2.4rem;
}
.section-lead-dark { color: var(--dark-text); }

.section { padding: clamp(4rem, 9vh, 7rem) 0; }
.paper { background: var(--cream); }

/* Anker landen unter der fixen Kopfzeile … */
section[id], .legal-box[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
/* … außer #demo: dort soll das Filmende (mit der Demo) im Bild stehen */
#demo { scroll-margin-top: 100vh; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn-small { padding: 0.6em 1.25em; font-size: 0.92rem; }
.btn-primary {
  background: var(--teal);
  color: #06251f;
  box-shadow: 0 6px 18px rgba(31, 196, 168, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 196, 168, 0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-quiet {
  color: var(--navy);
  border: 1.5px solid rgba(11, 29, 58, 0.28);
}
.btn-quiet:hover { transform: translateY(-2px); border-color: rgba(11, 29, 58, 0.6); }

/* ---------- Kopfzeile (transparent -> Creme mit Hairline) ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.topbar.scrolled {
  background: rgba(247, 244, 238, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(11, 29, 58, 0.10);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-name {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: var(--navy);
}
.topnav { display: flex; gap: 1.4rem; margin-left: auto; }
.topnav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 0.35em 0.1em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.topnav a:hover { color: var(--navy); border-bottom-color: var(--teal); }
@media (max-width: 900px) { .topnav { display: none; } .topbar-inner { justify-content: space-between; } }

/* ============================================================
   Hero — „Eine Sorge weniger."
   ============================================================ */
.hero {
  background: var(--cream);
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5.5rem)) 0 clamp(2.5rem, 6vh, 4.5rem);
  text-align: center;
  position: relative;
}
.hero-copy { max-width: 62rem; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1px solid rgba(10, 118, 98, 0.35);
  background: rgba(31, 196, 168, 0.10);
  border-radius: 999px;
  padding: 0.45em 1.1em;
  margin-bottom: 1.7rem;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(31, 196, 168, 0.9);
  animation: eyebrow-pulse 2.2s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.55; }
}

.hero-sub {
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 1.9rem;
}
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* Video-Kachel (16:9) */
.video-tile {
  margin: clamp(2.6rem, 6vh, 4.2rem) auto 0;
  max-width: 920px;
  position: relative;
}
/* logo title card: an explicit image layer above the video, shown until
   playback starts (browser poster behaviour is unreliable after any play) */
.tile-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}
.tile-poster[hidden] { display: none; }
.play-chip { z-index: 2; }

.tile-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  transform: scale(0.97);          /* JS hebt beim Scrollen auf 1.0 */
  will-change: transform;
}
.tile-media > img, .tile-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-chip {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 1.05em;
  border-radius: 999px;
  background: rgba(11, 29, 58, 0.82);
  color: var(--hell);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.tile-hint {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
}
/* Abspielen-Chip als Button (Hero-Video, seit 31.08.2026) */
button.play-chip {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
button.play-chip:hover { background: rgba(11, 29, 58, 0.95); transform: translateX(-50%) translateY(-1px); }
button.play-chip:focus-visible { outline: 2px solid var(--hell); outline-offset: 2px; }
.play-chip[hidden] { display: none; }
.tile-media > video { cursor: pointer; }
.tile-media > video[controls] { cursor: auto; }

.scroll-cue {
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  margin: clamp(1.1rem, 2.5vh, 1.8rem) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-cue span {
  /* kleiner Pfeil nach unten, sanft nickend (statisch bei reduced motion) */
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  animation: cue-nod 1.8s ease-in-out infinite;
}
@keyframes cue-nod {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}
.scroll-cue.cue-hidden { opacity: 0; }

/* ============================================================
   Scroll-Film: Caption-Ebene (liegt im Sticky-Viewport von scrub.js)
   ============================================================ */
.film-captions {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;                    /* über dem Canvas, unter dem Demo-Overlay */
}
.film-caption {
  position: absolute;
  left: 50%;
  top: clamp(4.5rem, 12vh, 8rem);
  transform: translate(-50%, 14px);
  width: min(92vw, 46rem);
  text-align: center;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  font-weight: 760;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--navy);
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.film-caption::before {
  /* heller Schleier hinter der Zeile, damit Navy überall trägt */
  content: "";
  position: absolute;
  inset: -2.2rem -3rem;
  background: radial-gradient(closest-side, rgba(247, 244, 238, 0.92), rgba(247, 244, 238, 0.55) 60%, rgba(247, 244, 238, 0));
  z-index: -1;
}
.film-caption.on { opacity: 1; transform: translate(-50%, 0); }

/* Fallback des Films (Manifest fehlt): Captions ausblenden */
.scrub-fallback .film-captions { display: none; }

/* Fallback ohne JS: Endframe + Captions als normale Absätze */
.film-noscript { padding: clamp(3rem, 8vh, 5rem) 0; }
.film-noscript img { border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.film-noscript p {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  margin: 1.2em 0 0;
  text-align: center;
}

/* ============================================================
   Demo-Sektion (Texte; die klickbare Demo selbst steht am Ende
   des Scroll-Films — #mac-handoff wird von scrub.js umgehängt)
   ============================================================ */
.demo-section { padding-top: clamp(3.2rem, 7vh, 5rem); }
.demo-note {
  max-width: 64ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  margin-top: 1.8rem;
}
.demo-reset {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 650;
}

/* Im Film-Handoff braucht es die Modul-Hinweiszeile nicht: das
   Simulations-Badge im Sticky-Viewport übernimmt die Botschaft, und
   auf Mobilgeräten würde die Zeile durch die Homographie riesig. */
.scrub-handoff .idemo-sub { display: none; }

/* Statischer Demo-Fallback ohne JS */
.demo-static { max-width: 680px; }
.demo-static .card-line {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}
.demo-static .chip {
  display: inline-block;
  min-width: 1.9em;
  text-align: center;
  padding: 0.1em 0.45em;
  margin-right: 0.55em;
  border-radius: 7px;
  background: rgba(31, 196, 168, 0.16);
  color: var(--teal-text);
  font-weight: 750;
  font-size: 0.85em;
}

/* ============================================================
   Produktabschnitte (alternierendes Split-Layout)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.rev .split-copy { order: 2; }
.split.rev .split-media { order: 1; }

.split-copy .bullets {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.split-copy .bullets li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
}
.split-copy .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(31, 196, 168, 0.18);
}
.split-copy .bullets li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.72em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--teal-text);
  border-bottom: 2px solid var(--teal-text);
  transform: rotate(-48deg);
  transform-origin: center;
}

.hl-box {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(31, 196, 168, 0.10);
  border: 1px solid rgba(10, 118, 98, 0.28);
  color: var(--navy);
  font-weight: 560;
}
.hl-box code { background: rgba(11, 29, 58, 0.10); }

/* Schlanker Mac-Rahmen (CSS) um die generierten Produktbilder */
.mac-frame {
  border-radius: 14px;
  padding: clamp(6px, 0.8vw, 10px);
  background: linear-gradient(180deg, #2b2e34, #17191d 60%, #101216);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.mac-frame .frame-screen {
  border-radius: 8px;
  overflow: hidden;
  background: #0c1420;
}
/* Bilder, die den generierten Mac schon im Motiv tragen: nur Karte */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

/* Parallax-Hülle: JS bewegt .par-img zwischen -6 % und +6 % */
.parallax { overflow: visible; }
.par-img { will-change: transform; }

/* Chips-Overlay über dem Karteieintrag-Bild */
.chip-overlay { position: relative; }
.chip-overlay .ov-chip {
  position: absolute;
  padding: 0.18em 0.6em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 118, 98, 0.4);
  color: var(--teal-text);
  font-weight: 760;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(11, 29, 58, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.chip-overlay.play .ov-chip { opacity: 1; transform: translateY(0); }
.chip-overlay.play .ov-chip:nth-child(2) { transition-delay: 80ms; }
.chip-overlay.play .ov-chip:nth-child(3) { transition-delay: 160ms; }

@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-copy { order: 1; }
  .split.rev .split-media { order: 2; }
}

/* ============================================================
   Datenschutz (dunkle Klammer)
   ============================================================ */
.section-dark {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, #0a1526 70%, var(--night) 100%);
  color: var(--dark-text);
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: var(--hell); }
.section-dark .glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 196, 168, 0.16), rgba(31, 196, 168, 0));
  pointer-events: none;
}

.wlan-demo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  max-width: 620px;
}
.wifi-ico { color: var(--hell); display: inline-flex; }
.wifi-ico .wifi-slash {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.wlan-demo.off .wifi-slash { opacity: 1; }
.wlan-label { font-weight: 650; color: var(--hell); }
.switch {
  position: relative;
  width: 78px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  background: rgba(31, 196, 168, 0.85);
  cursor: pointer;
  transition: background 0.25s var(--ease);
  padding: 0;
}
.switch[aria-checked="false"] { background: rgba(255, 255, 255, 0.14); }
.switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(46px);          /* An: Knopf rechts */
  transition: transform 0.25s var(--ease);
}
.switch[aria-checked="false"] .switch-knob { transform: translateX(0); }
.switch-on, .switch-off {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hell);
}
.switch-on { left: 12px; }
.switch-off { right: 10px; opacity: 0.7; }
.switch[aria-checked="true"] .switch-off { visibility: hidden; }
.switch[aria-checked="false"] .switch-on { visibility: hidden; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 0.95em;
  border-radius: 999px;
  background: rgba(31, 196, 168, 0.12);
  border: 1px solid rgba(31, 196, 168, 0.4);
  color: var(--hell);
  font-size: 0.88rem;
  font-weight: 600;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(31, 196, 168, 0.9);
}
.wlan-hint { font-size: 0.92rem; max-width: 60ch; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 2.6rem;
}
.fact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  padding: 1.4rem 1.4rem 1.1rem;
}
.fact h3 { font-size: 1.06rem; margin: 0.7rem 0 0.4rem; }
.fact p { font-size: 0.95rem; margin: 0; }
.fact-ico { color: var(--teal); display: inline-flex; }
.fine-note { margin-top: 2rem; font-size: 0.92rem; max-width: 66ch; }

/* ============================================================
   Bewusste Grenzen (Karteikarten)
   ============================================================ */
.limits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.karteikarte {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 4px 16px 16px 16px;
  padding: 1.9rem 1.5rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.karteikarte .reiter {
  position: absolute;
  top: -0.95rem;
  left: 0;
  background: var(--navy);
  color: var(--hell);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  border-radius: 8px 8px 0 0;
  padding: 0.22em 0.9em;
}
.karteikarte h3 { font-size: 1.1rem; }
.karteikarte p { font-size: 0.97rem; margin: 0; }

/* ============================================================
   Testphase & Kontakt
   ============================================================ */
.checks {
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
}
.checks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.55rem;
  max-width: 62ch;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(31, 196, 168, 0.18);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.72em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--teal-text);
  border-bottom: 2px solid var(--teal-text);
  transform: rotate(-48deg);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(160deg, var(--navy), #0a1830 68%, #0b2237);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--dark-text);
  box-shadow: var(--shadow-lift);
}
.contact-card h3 { color: var(--hell); }
.contact-card .hero-cta { justify-content: flex-start; }
.contact-mark { margin-bottom: 1.1rem; }

/* Kontaktformular (öffnet mailto:, kein Server) */
.contact-form { margin-top: 1.4rem; max-width: 34rem; }
.contact-form .form-row { margin-bottom: 0.9rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
  color: var(--hell);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--hell);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(174, 182, 196, 0.35);
  border-radius: 10px;
  padding: 0.6em 0.8em;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form button { margin-top: 0.3rem; }
.form-note { font-size: 0.85rem; margin: 0.8rem 0 0; opacity: 0.8; }

.contact-hint { font-size: 0.88rem; margin: 1rem 0 0; opacity: 0.85; }
.contact-hint a { color: var(--hell); }
.contact-illu img { border-radius: var(--radius); }
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-illu { display: none; }
}

/* ---------- Fußzeile ---------- */
.footer {
  background: var(--night);
  color: var(--dark-text);
  padding: clamp(2.5rem, 6vh, 4rem) 0 2rem;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.legal-box {
  border: 1px dashed rgba(174, 182, 196, 0.4);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
}
.legal-box h3 { color: var(--hell); font-size: 1.02rem; margin: 0.6rem 0 0.4rem; }
.legal-box p { font-size: 0.9rem; margin: 0; }
.legal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--sand);
  border-radius: 6px;
  padding: 0.15em 0.6em;
}
.footer-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  border-top: 1px solid rgba(174, 182, 196, 0.2);
  padding-top: 1.4rem;
}
.footer-line nav { display: flex; gap: 1.2rem; }
.footer-line a { color: var(--dark-text); text-decoration: none; }
.footer-line a:hover { color: var(--hell); }

/* ---------- Gentle, one-time reveal ---------- */
/* Visible by default; only offscreen elements are prepared by JavaScript. */
.reveal { opacity: 1; transform: none; }
.js .reveal.will-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1),
              transform .72s cubic-bezier(.22, 1, .36, 1);
}
.js .reveal.will-reveal.from-left { transform: translate3d(-28px, 0, 0); }
.js .reveal.will-reveal.from-right { transform: translate3d(28px, 0, 0); }
.js .reveal.will-reveal.in { opacity: 1; transform: none; }
.js .reveal.will-reveal.d1 { transition-delay: 60ms; }
.js .reveal.will-reveal.d2 { transition-delay: 120ms; }
.js .reveal.will-reveal.d3 { transition-delay: 180ms; }
html.no-js .tile-media { transform: none; }
html.no-js .tile-poster { display: none; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal.will-reveal, .js .reveal.will-reveal.in { opacity: 1; transform: none; transition: none; animation: none; }
  .tile-media { transform: none !important; }
  .par-img { transform: none !important; }
  .eyebrow .dot, .scroll-cue span { animation: none; }
  .btn, .btn-arrow { transition: none; }
  .film-caption, .chip-overlay .ov-chip { transition: opacity 0.3s ease; transform: none; }
}
