/* ============================================================
   RIZIO — rizio.de · V6 "Reel"
   Dunkle Keynote: Aurora-Bühnen, lebende Geräte (Videos),
   Produkt-Glows, Bento, Statement-Footer.
   Cabinet Grotesk = Display · IBM Plex Sans = Text · Signal = CTA/Links
   ============================================================ */

@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/cabinet-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/cabinet-grotesk-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/plexsans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/plexsans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #04060B;
  --bg-soft: #070B14;
  --ink: #F2F5FB;
  --sub: #94A3C0;
  --faint: #6F7FA0;
  --signal: #1D5BD6;
  --dot: #3B76F0;
  --sky: #7FA3EA;
  --hair: rgba(255, 255, 255, 0.08);
  --panel: rgba(255, 255, 255, 0.03);
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --disp: 'Cabinet Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--signal); color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--disp); letter-spacing: -0.02em; word-spacing: 0.03em; }
h1, h2 { text-wrap: balance; }
.hero .sub, .product .sub, .contact .sub, .bt p, .fbrand p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Beweiszahlen: pro Absatz leuchtet genau ein echter Wert leise auf */
.fact { font-weight: 600; color: var(--ink); font-feature-settings: 'tnum'; }

/* Die Signatur: der Schlusspunkt jeder Headline im Markenblau,
   gesetzt als Letztes beim Reveal — wie der Punkt im Wortzeichen */
h1 .dot, h2 .dot {
  color: var(--dot);
  -webkit-text-fill-color: var(--dot);
  display: inline-block;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .3s ease .45s, transform .3s cubic-bezier(.22,.6,.28,1) .45s;
}
.r.on .dot { opacity: 1; transform: none; }
.hero h1 .dot { animation: dot-in .4s cubic-bezier(.22,.6,.28,1) 1.15s forwards; }
@keyframes dot-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.r { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.22,.6,.28,1), transform .8s cubic-bezier(.22,.6,.28,1); }
.r.on { opacity: 1; transform: none; }

/* Einschalt-Moment: Die Geräte stehen bereits an ihrem Platz —
   nicht die Blöcke fliegen ein, die Bildschirme gehen an. */
.devices.r { opacity: 1; transform: none; transition: none; }
.mac .browser:has(video)::after,
.iphone .scr:has(video)::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  background: #000;
  transition: opacity .6s ease;
  pointer-events: none;
}
.mac .browser.lit::after, .iphone .scr.lit::after { opacity: 0; }
.browser.lit video, .scr.lit video { animation: boot-bloom .8s ease-out; }
@keyframes boot-bloom {
  from { filter: brightness(2.1); }
  55%  { filter: brightness(1.12); }
  to   { filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r, .devices { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .aurora img, .glow, .iphone.solo, .btn, .scroll-hint { animation: none !important; }
  h1 .dot, h2 .dot { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .mac .browser::after, .iphone .scr::after { display: none !important; }
  .browser.lit video, .scr.lit video { animation: none !important; }
}

/* ---------- Navigation: schwebende Pill ---------- */
.nav {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 8px 8px 24px;
  background: rgba(10, 15, 26, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 44px -14px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  transition: translate .4s cubic-bezier(.3,.7,.3,1), opacity .3s;
}
.nav.hide { translate: 0 -160%; }
.logo { font-family: var(--disp); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.logo .dot { color: var(--dot); }
.nav a.logo:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a:not(.cta) { font-size: 14px; color: var(--sub); transition: color .25s; }
.nav nav a:not(.cta):hover { color: var(--ink); text-decoration: none; }
.nav .cta {
  font-weight: 600;
  font-size: 14px;
  color: #0A0C12;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 9px 18px;
  transition: background .25s;
}
.nav .cta:hover { background: #DCE3EF; text-decoration: none; }

/* Anker landen exakt auf der Sektionskante — die Pill-Nav schwebt im Sektions-Padding */
section, .intro-band { scroll-margin-top: 0; }

/* ---------- Globale Aurora (eine Ebene hinter der ganzen Seite) ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}
.sky video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sky::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,11,.5) 0%, rgba(4,6,11,.12) 30%, rgba(4,6,11,.12) 70%, rgba(4,6,11,.5) 100%),
    rgba(4, 6, 11, 0.18);
}

/* ---------- Aurora-Flächen (ungenutzt, Sektionen) ---------- */
.aurora {
  position: absolute; inset: 0;
  overflow: clip;
  pointer-events: none;
}
.aurora img, .aurora video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.aurora img { animation: aurora-drift 60s ease-in-out infinite alternate; }
.aurora.flip img, .aurora.flip video { transform: scaleX(-1); animation: none; }
@keyframes aurora-drift {
  from { transform: scale(1.06) translate(-1.5%, -1%); }
  to   { transform: scale(1.14) translate(1.5%, 1.5%); }
}
@keyframes aurora-drift-flip {
  from { transform: scaleX(-1) scale(1.06) translate(-1.5%, -1%); }
  to   { transform: scaleX(-1) scale(1.14) translate(1.5%, 1.5%); }
}
.aurora::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,6,11,.35) 0%, rgba(4,6,11,0) 35%, rgba(4,6,11,.92) 96%, var(--bg) 100%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
}
.hero .wrap { position: relative; }
.hero .eyebrow { margin-bottom: 26px; color: var(--sub); }
.hero h1 {
  font-weight: 800;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 14ch;
  background: linear-gradient(180deg, #FFFFFF 72%, #C6D5F2 112%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  margin: 28px auto 0;
  max-width: 52ch;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--sub);
}
.hero .cta-row {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero .h1-in, .hero .sub, .hero .cta-row, .hero .eyebrow { opacity: 0; animation: hero-in 1s cubic-bezier(.22,.6,.28,1) forwards; }
.hero .eyebrow { animation-delay: .15s; }
.hero h1 { opacity: 0; animation: hero-in 1.1s cubic-bezier(.22,.6,.28,1) .25s forwards; }
.hero .sub { animation-delay: .45s; }
.hero .cta-row { animation-delay: .6s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .sub, .hero .cta-row, .hero .eyebrow { opacity: 1 !important; animation: none !important; }
}


.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px; transform: translateX(-50%);
  color: var(--faint);
  font-size: 20px;
  animation: hint 2.6s ease-in-out infinite;
}
@keyframes hint { 0%, 100% { transform: translate(-50%, 0); opacity: .5; } 50% { transform: translate(-50%, 8px); opacity: 1; } }

/* ---------- Produktsektionen ---------- */
.product {
  position: relative;
  text-align: center;
  padding: clamp(80px, 11vh, 120px) 0 0;
  overflow: clip;
}
.product .aurora img, .aurora video { opacity: .5; }
.product .aurora::after {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(4,6,11,.25) 22%, rgba(4,6,11,.25) 70%, var(--bg) 100%);
}
.product .glow {
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  width: min(115vw, 1550px);
  aspect-ratio: 1.4;
  background: radial-gradient(50% 50% at 50% 50%, rgba(29, 91, 214, 0.24) 0%, rgba(29, 91, 214, 0.08) 46%, transparent 72%);
  pointer-events: none;
  animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .75; } to { opacity: 1; } }
.product .wrap, .product .devices { position: relative; }
.product .eyebrow { margin-bottom: 18px; color: var(--sky); }
.product h2 {
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 75px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 auto;
  max-width: 18ch;
}
.product .sub {
  margin: 22px auto 0;
  max-width: 48ch;
  font-size: 20px;
  line-height: 1.5;
  color: var(--sub);
}
.product .meta {
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
}
.product .meta a { font-weight: 600; white-space: nowrap; flex-basis: 100%; margin-top: 2px; }

/* ---------- Geräte ---------- */
.devices {
  position: relative;
  max-width: 1120px;
  margin: clamp(46px, 7vh, 72px) auto 0;
  padding: 0 28px clamp(72px, 10vh, 110px);
  display: flex;
  justify-content: center;
}

.mac {
  position: relative;
  width: min(100%, 940px);
}
.mac .screen {
  background: #07090E;
  border-radius: clamp(10px, 1.4vw, 16px) clamp(10px, 1.4vw, 16px) 0 0;
  padding: clamp(6px, 0.8vw, 9px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.mac .browser { position: relative; 
  border-radius: clamp(6px, 0.8vw, 9px);
  overflow: hidden;
  background: #10151E;
}
.mac .bar {
  height: clamp(18px, 2.6vw, 25px);
  background: linear-gradient(180deg, #1A1F29, #151A22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 clamp(9px, 1.3vw, 13px);
  position: relative;
}
.mac .dots { display: flex; gap: clamp(4px, 0.55vw, 5px); }
.mac .dots i { width: clamp(5px, 0.75vw, 7px); height: clamp(5px, 0.75vw, 7px); border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.mac .dots i:nth-child(1) { background: #FF5F57; }
.mac .dots i:nth-child(2) { background: #FEBC2E; }
.mac .dots i:nth-child(3) { background: #28C840; }
.mac .url {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: min(36%, 330px);
  font-size: 10px;
  line-height: 1;
  color: var(--sub);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: clamp(3px, 0.45vw, 4.5px) 0;
  white-space: nowrap;
}
.mac .url::before {
  content: "";
  width: 7px; height: 7px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2394A3C0"><path d="M12 1.5A5.25 5.25 0 0 0 6.75 6.75V9H6a2.25 2.25 0 0 0-2.25 2.25v8.25A2.25 2.25 0 0 0 6 21.75h12a2.25 2.25 0 0 0 2.25-2.25v-8.25A2.25 2.25 0 0 0 18 9h-.75V6.75A5.25 5.25 0 0 0 12 1.5Zm3 7.5h-6V6.75a3 3 0 1 1 6 0Z"/></svg>') center / contain no-repeat;
  opacity: .6;
}
.mac img, .mac video { width: 100%; }
.mac .deck {
  height: clamp(10px, 1.3vw, 14px);
  margin: 0 -3.5%;
  background: linear-gradient(180deg, #333B49 0%, #242B36 40%, #151A23 100%);
  border-radius: 2px 2px clamp(8px, 1.2vw, 14px) clamp(8px, 1.2vw, 14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 34px 70px -22px rgba(0, 0, 0, 0.75);
  position: relative;
}
.mac .deck::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 9.5%; height: 46%;
  background: linear-gradient(180deg, #10141C, #1B212C);
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
}

.iphone {
  position: absolute;
  right: clamp(8px, 3.5vw, 44px);
  bottom: clamp(64px, 9vh, 100px);
  width: clamp(112px, 19%, 196px);
  background: #060709;
  border-radius: clamp(24px, 2.6vw, 38px);
  padding: clamp(5px, 0.7vw, 8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 26px 52px -16px rgba(0, 0, 0, 0.75);
  z-index: 2;
}
/* Seitentasten: links Lautstärke (2 Segmente), rechts Power */
.iphone::before, .iphone::after {
  content: "";
  position: absolute;
  width: 2.5px;
  border-radius: 2px;
}
.iphone::before {
  left: -2.5px; top: 24%; height: 15%;
  background: linear-gradient(180deg, #39404D 0 42%, transparent 42% 58%, #39404D 58% 100%);
}
.iphone::after {
  right: -2.5px; top: 29%; height: 10%;
  background: #39404D;
}
.iphone .scr { position: relative; border-radius: clamp(19px, 2vw, 31px); overflow: hidden; aspect-ratio: 680 / 1568; background: #000; }
.iphone .scr img, .iphone .scr video { width: 100%; height: 100%; object-fit: cover; }
.iphone .island {
  position: absolute; top: 1.7%; left: 50%; transform: translateX(-50%);
  width: 29%; aspect-ratio: 3.4 / 1; height: auto;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

/* Solo-iPhone (iOS-App) */
.iphone.solo {
  position: relative;
  right: auto; bottom: auto;
  width: clamp(230px, 25vw, 310px);
  border-radius: clamp(36px, 3.5vw, 48px);
  padding: clamp(7px, 0.9vw, 10px);
  animation: float 7s ease-in-out infinite alternate;
}
.iphone.solo::before { left: -3.5px; width: 3.5px; }
.iphone.solo::after { right: -3.5px; width: 3.5px; }
.iphone.solo .scr { border-radius: clamp(29px, 2.8vw, 39px); }

@keyframes float { from { transform: translateY(0); } to { transform: translateY(-14px); } }

/* "Im Aufbau"-Badge: kristallklar ÜBER der bewusst unscharfen Preview */
.browser .wip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 4;
  font-family: var(--sans);
  font-size: clamp(10px, 1.2vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 15, 26, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.75em 1.6em;
  white-space: nowrap;
}

/* ---------- Kompositionsstufen ---------- */
/* Teaser: "In Arbeit"-Projekte ehrlich kleiner inszeniert */
.devices.teaser { max-width: 700px; padding-bottom: clamp(56px, 8vh, 84px); }
.devices.teaser .iphone { bottom: clamp(58px, 8.5vh, 88px); }

/* Editorial-Split: ein Achswechsel — Text links, Gerät rechts angeschnitten */
@media (min-width: 1024px) {
  .product.split { display: grid; grid-template-columns: 44% 56%; align-items: center; text-align: left; }
  .product.split .glow { left: 62%; }
  .product.split .wrap {
    max-width: none; width: 100%;
    padding-left: max(28px, calc((100vw - 1200px) / 2 + 28px));
    padding-right: 16px;
  }
  .product.split h2 { margin: 0; max-width: 17ch; }
  .product.split .sub { margin-left: 0; margin-right: 0; max-width: 40ch; }
  .product.split .meta { justify-content: flex-start; }
  .product.split .meta a { flex-basis: auto; }
  .product.split .devices { margin: 0 -6vw 0 0; padding: 0 0 clamp(40px, 6vh, 64px); max-width: none; }
  .product.split .devices .mac { width: 100%; }
  .product.split .iphone { right: 10%; bottom: clamp(24px, 4vh, 44px); width: clamp(112px, 17%, 180px); }
}

/* ---------- MPSTRA: Der Mac pinnt, der Film im Browser folgt dem Scroll ---------- */
.film .scrubwrap { position: relative; height: 260vh; margin-top: 0; }
.film .scrubsticky {
  position: sticky; top: 0;
  height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: clip;
}
.film .scrubsticky .devices { margin: 0 auto; width: 100%; }
/* Mac-Breite an die Viewport-Höhe koppeln: sonst ist der Block auf flachen Displays
   (z. B. 768p-Laptops) höher als 100svh und overflow:clip schneidet oben genau die
   Safari-Leiste ab. 1.5 ≈ Mac-Seitenverhältnis inkl. Bar/Bezel, 170px ≈ Deck + Padding. */
.film .scrubwrap:not(.loopmode) .scrubsticky .mac { width: min(100%, 940px, calc((100svh - 170px) * 1.5)); }
/* Fallback (Touch, Mobile, reduced-motion): gewohnter Loop statt Sticky-Strecke */
.film .scrubwrap.loopmode { height: auto; margin-top: clamp(46px, 7vh, 72px); }
.film .scrubwrap.loopmode .scrubsticky { position: static; height: auto; display: block; }


/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  text-align: center;
  padding: clamp(130px, 18vh, 200px) 0 clamp(90px, 12vh, 140px);
  overflow: clip;
}
.contact .wrap { position: relative; }
.contact .eyebrow { margin-bottom: 18px; color: var(--sub); }
.contact h2 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 75px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 auto;
  max-width: 15ch;
}
.contact .sub {
  margin: 26px auto 0;
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.5;
  color: var(--sub);
}
.cform {
  margin: 50px auto 0;
  max-width: 560px;
  display: grid;
  gap: 14px;
  text-align: left;
}
.cform .field { position: relative; }
.cform input, .cform textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 24px 24px 10px;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: none;
}
.cform textarea::-webkit-resizer { display: none; }
.cform input::placeholder, .cform textarea::placeholder { color: transparent; }
.cform input:focus, .cform textarea:focus { border-color: rgba(126, 155, 217, 0.6); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 3px rgba(126, 155, 217, 0.16); }
.cform .field > span {
  position: absolute;
  left: 25px; top: 17px;
  font-size: 16px;
  color: var(--faint);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
}
.cform input:focus + span, .cform textarea:focus + span,
.cform input:not(:placeholder-shown) + span, .cform textarea:not(:placeholder-shown) + span {
  top: 7px;
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--sub);
}
.cform .alt-row { display: flex; justify-content: center; }
.wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--sub);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 20px;
  transition: border-color .25s, color .25s;
}
.wa:hover { border-color: rgba(255, 255, 255, 0.32); color: var(--ink); text-decoration: none; }
.wa svg { width: 16px; height: 16px; fill: currentColor; opacity: .85; }
.cform button {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: #0A0C12;
  background: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: background .25s, opacity .25s;
}
.cform textarea { border-radius: 26px; }
.cform button { border-radius: 999px !important; }
.cform button:hover { background: #DCE3EF; }
.cform button:disabled { opacity: .6; cursor: default; }
.cform .sent { text-align: center; font-size: 17px; color: var(--ink); padding: 24px 0; }
.cform .ferr { text-align: center; font-size: 14px; color: #E8A0A0; }
.cform .ferr a { color: var(--sub); }
.contact .alt { margin-top: 26px; font-size: 14px; color: var(--faint); }
.contact .alt a { color: var(--sub); }
.contact .alt a:hover { color: var(--ink); }

.mail-big {
  display: inline-block;
  margin-top: 48px;
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 48px);
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 8px;
  transition: border-color .3s;
}
.mail-big:hover { border-color: var(--ink); text-decoration: none; }
.contact .fine { margin-top: 34px; font-size: 14px; color: var(--faint); }

/* ---------- Footer ---------- */
footer { padding: 20px 0 64px; }
footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
footer .logo { font-size: 30px; }
footer .ftag { font-size: 14px; color: var(--faint); }
footer .colophon { font-size: 12.5px; color: var(--faint); opacity: .8; }
footer .flegal {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--faint);
}
footer .flegal .copy { flex-basis: 100%; }
footer .flegal a { color: var(--faint); }
footer .flegal a:hover { color: var(--sub); text-decoration: none; }
footer .dotsep { opacity: .5; }

/* ---------- Rechtsseiten ---------- */
.sky-static {
  position: fixed; inset: 0; z-index: -1;
  background: url('img/aurora.webp') center / cover no-repeat var(--bg);
}
.sky-static::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,6,11,.55) 0%, rgba(4,6,11,.35) 30%, rgba(4,6,11,.55) 100%), rgba(4,6,11,.25);
}
.legal { padding: 150px 0 110px; }
.legal .lhead { text-align: center; margin-bottom: 56px; }
.legal .lhead .eyebrow { margin-bottom: 16px; }
.legal .lhead h1 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.02em; }
.legal .lhead p { margin: 18px auto 0; max-width: 52ch; color: var(--sub); }
.lcol { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.lcard {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 30px 32px;
}
.lcard h2 { font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 12px; }
.lcard p, .lcard address, .lcard li { font-style: normal; color: var(--sub); font-size: 15.5px; }
.lcard p + p { margin-top: 10px; }
.lcard ul { list-style: none; display: grid; gap: 6px; }
.lcard li::before { content: "–  "; color: var(--faint); }
.lcard a { color: var(--sky); }
.lcard .mono-line { font-size: 14px; color: var(--ink); }
@media (max-width: 760px) { .legal { padding: 110px 0 80px; } .lcard { padding: 24px 20px; border-radius: 18px; } }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { top: 10px; left: 10px; right: 10px; transform: none; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 16px; }
  .nav nav { gap: 16px; }
  .nav nav a:not(.cta) { font-size: 13px; }
  .nav .cta { font-size: 13px; padding: 8px 14px; }
  .logo { font-size: 17px; }
  section, .intro-band { scroll-margin-top: 0; }
  .product .sub, .hero .sub { padding: 0 8px; font-size: 18px; }
  .devices { padding: 0 16px 64px; }
  .iphone { width: clamp(88px, 25vw, 108px); right: 14px; bottom: 58px; }
  .devices.teaser .iphone { bottom: 66px; }
  .iphone.solo { width: clamp(210px, 58vw, 250px); right: auto; bottom: auto; }
  .devices::after { bottom: 50px; }
  .product h2 { font-size: clamp(30px, 8.8vw, 38px); }
  .product .aurora img, .aurora video { opacity: .5; }
.product .aurora::after {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(4,6,11,.25) 22%, rgba(4,6,11,.25) 70%, var(--bg) 100%);
}
.product .glow { top: auto; bottom: -4vh; transform: translateX(-50%); width: 175vw; aspect-ratio: 1.1; }
  .aurora img, .aurora video { animation: none; }
  .product .glow { animation: none; }
  .bgrid { grid-template-columns: 1fr; }
  .bt.s3, .bt.s2 { grid-column: auto; }
  .mac .url { display: none; }
}

