/* Riverbird GmbH – Imperia
   Ruhiger, grosszuegiger Stil: grosse Typografie, viel Weissraum, sanfte Bewegung.
   Reines CSS, keine externen Abhaengigkeiten. Schrift lokal, keine Google Fonts. */

/* ─── Schrift ──────────────────────────────────────────────── */
@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* ─── Farben: hell ─────────────────────────────────────────── */
:root {
  --accent: #009ee2;          /* Markenblau */
  --accent-2: #0067a0;        /* dunkles Markenblau */
  --sky: #36c5ff;
  --violet: #7a5af8;
  --ink: #15202b;
  --ink-2: #5d6b7a;
  --bg: #ffffff;
  --bg-2: #f3f6f9;
  --card: #ffffff;
  --line: rgba(10, 35, 55, .10);
  --btn-bg: #0067a0;
  --btn-hover: #00537f;
  --btn-ink: #ffffff;
  --btn-shadow: 0 6px 20px -8px rgba(0, 103, 160, .55);
  --shadow-brand: 0 24px 50px -24px rgba(0, 60, 95, .35);
  --shadow-art: 0 30px 60px -30px rgba(0, 60, 95, .45);
  --glow: rgba(54, 197, 255, .28);
  --plate: #ffffff;
  --grad: linear-gradient(100deg, #7fdcff 0%, #36c5ff 35%, #009ee2 70%, #7a5af8 100%);
  --radius: 22px;
  --maxw: 1180px;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ─── Farben: dunkel ───────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #36c5ff;
    --accent-2: #7fdcff;
    --ink: #eef4f9;
    --ink-2: #9fb0c0;
    --bg: #06121d;
    --bg-2: #0b1e2e;
    --card: #0f2534;
    --line: rgba(255, 255, 255, .13);
    --btn-bg: #36c5ff;
    --btn-hover: #7fdcff;
    --btn-ink: #06121d;
    --btn-shadow: 0 6px 24px -8px rgba(54, 197, 255, .5);
    --shadow-brand: 0 24px 50px -24px rgba(0, 0, 0, .7);
    --shadow-art: 0 30px 60px -30px rgba(0, 0, 0, .8);
    --glow: rgba(54, 197, 255, .22);
    --plate: #0f2534;
    --grad: linear-gradient(100deg, #7fdcff 0%, #36c5ff 40%, #30b0ef 72%, #9b82ff 100%);
  }
}
:root[data-theme="dark"] {
  --accent: #36c5ff;
  --accent-2: #7fdcff;
  --ink: #eef4f9;
  --ink-2: #9fb0c0;
  --bg: #06121d;
  --bg-2: #0b1e2e;
  --card: #0f2534;
  --line: rgba(255, 255, 255, .13);
  --btn-bg: #36c5ff;
  --btn-hover: #7fdcff;
  --btn-ink: #06121d;
  --btn-shadow: 0 6px 24px -8px rgba(54, 197, 255, .5);
  --shadow-brand: 0 24px 50px -24px rgba(0, 0, 0, .7);
  --shadow-art: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --glow: rgba(54, 197, 255, .22);
  --plate: #0f2534;
  --grad: linear-gradient(100deg, #7fdcff 0%, #36c5ff 40%, #30b0ef 72%, #9b82ff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
section[id], article[id] { scroll-margin-top: 64px; }
body.menu-open { overflow: hidden; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ─── Hell/Dunkel-Paare (Logo, Screenshots) ────────────────── */
.only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-light { display: none; }
  :root:not([data-theme="light"]) .only-dark { display: block; }
}
:root[data-theme="dark"] .only-light { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="light"] .only-light { display: block; }

/* ─── Navigation ───────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; }
.logo img, .footer-brand img { height: 34px; width: auto; }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 64px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links > a { text-decoration: none; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
/* ─── Sprachwahl ───────────────────────────────────────────── */
.lang-dd { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px;
  background: none; color: var(--ink-2); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  transition: color .2s, border-color .2s;
}
.lang-btn:hover, .lang-dd.open .lang-btn { color: var(--ink); border-color: var(--ink-2); }
.lang-btn .chev { width: 13px; height: 13px; transition: transform .25s; }
.lang-dd.open .lang-btn .chev { transform: rotate(180deg); }
.flag { flex: none; width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  margin: 0; padding: 6px; list-style: none; min-width: 178px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 20, 40, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.lang-dd.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.lang-menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--ink); }
.lang-menu a[aria-current="true"]::after { content: "✓"; margin-left: auto; color: var(--accent); font-weight: 700; }
.nav-menu-extra { display: none; }
.theme-toggle {
  width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 10px;
  background: none; color: var(--ink-2); cursor: pointer; display: grid; place-items: center;
  transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; color: var(--ink); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ─── Schaltflaechen & Links ───────────────────────────────── */
/* Sprachen im Handy-Menue: alle nebeneinander, nichts zum Aufklappen. */
.lang-row { display: flex; gap: 8px; }
.lang-row a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 56px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.lang-row a:hover { color: var(--ink); }
.lang-row a[aria-current="true"] { color: var(--ink); border-color: var(--accent); background: var(--bg-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn-bg); color: var(--btn-ink); text-decoration: none;
  font-size: 17px; font-weight: 600; padding: 12px 24px; border-radius: 980px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: var(--btn-shadow);
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.nav-links a.btn { color: var(--btn-ink); }
.btn-ghost { background: none; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
/* Muss nach .nav-links a.btn stehen und dessen Spezifitaet erreichen, sonst
   steht die helle Schaltflaechen-Schrift auf dem durchsichtigen Ghost-Knopf
   im aufgeklappten Menue – also unsichtbar. */
.nav-links a.btn.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-small { font-size: 13px; padding: 7px 15px; box-shadow: none; }
.btn-large { font-size: 19px; padding: 16px 32px; }
.link-arrow { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 600; }
.link-arrow::after { content: " ›"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.link-back { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 600; }
.link-back::before { content: "‹ "; }

/* ─── Typo-Bausteine ───────────────────────────────────────── */
.eyebrow { color: var(--accent); font-weight: 700; font-size: 16px; letter-spacing: .02em; margin: 0 0 14px; }
/* Der Verlauf wandert langsam. 18 s sind bewusst zaeh: man nimmt es als
   Leuchten wahr, nicht als Animation, die Aufmerksamkeit abzieht. */
.grad, .number b {
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .grad, .js .number b { animation: grad-wander 18s ease-in-out infinite; }
@keyframes grad-wander {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.display { font-size: clamp(36px, 5.6vw, 70px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 0 0 22px; }
.display-s { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; margin: 0 0 22px; }
.mega { font-size: clamp(48px, 9.5vw, 118px); line-height: .98; letter-spacing: -.04em; font-weight: 900; margin: 0 0 26px; text-align: center; }
.lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 760px; margin: 0 0 24px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: center; margin-top: 10px; }

.section { max-width: var(--maxw); margin: 0 auto; padding: 110px 22px; }
.section.tight { padding-top: 40px; padding-bottom: 85px; }
.section.narrow { max-width: 900px; }
.section .display.center, .section .display-s.center { text-align: center; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head .display-s { margin: 0; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero { text-align: center; padding: 140px 22px 30px; max-width: var(--maxw); margin: 0 auto; }
.hero-title { font-size: clamp(46px, 8.4vw, 108px); line-height: 1; letter-spacing: -.04em; font-weight: 900; margin: 0 0 24px; }
.hero-sub { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.5; color: var(--ink-2); max-width: 760px; margin: 0 auto 30px; }
.hero-art { max-width: 1000px; margin: 56px auto 0; }

/* Hero: die Teile kommen nacheinander. Ohne das erscheint die halbe Seite
   in einem Schlag und wirkt flach. */
.js .hero .eyebrow, .js .hero-title, .js .hero-sub, .js .hero .hero-cta {
  opacity: 0; transform: translateY(18px);
  animation: hero-auf .8s cubic-bezier(.2, .7, .2, 1) forwards;
}
.js .hero .eyebrow { animation-delay: .05s; }
.js .hero-title    { animation-delay: .14s; }
.js .hero-sub      { animation-delay: .26s; }
.js .hero .hero-cta { animation-delay: .38s; }
@keyframes hero-auf { to { opacity: 1; transform: none; } }

/* ─── Screenshot-Rahmen ────────────────────────────────────── */
.shot { margin: 0; }
.shot-frame {
  border-radius: 16px; overflow: hidden; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-art);
}
.shot-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.shot-bar b { font-weight: 600; font-size: 12px; color: var(--ink-2); margin-left: 10px; letter-spacing: .01em; }
.shot-frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); text-align: center; }
.shot.phone .shot-frame { border-radius: 30px; padding: 9px; max-width: 290px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line), var(--shadow-art); }
.shot.phone .shot-frame img { border-radius: 22px; }
.shot.plain .shot-frame { box-shadow: 0 0 0 1px var(--line); }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; align-items: start; margin-top: 46px; }

/* ─── Film ─────────────────────────────────────────────────── */
/* Bis zum Klick liegt hier nur das Vorschaubild. */
.video-hold { position: relative; display: block; line-height: 0; background: #06121d; }
.video-hold img, .video-hold video { width: 100%; display: block; }
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 82px; height: 82px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: #06121d; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .55);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .25s;
}
.video-play svg { width: 36px; height: 36px; margin-left: 4px; }
.video-play:hover { transform: scale(1.08); background: #fff; }
/* Ein ruhiger Puls, damit klar ist, dass da etwas zu holen ist. */
.js .video-play::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55); animation: puls 2.6s ease-out infinite;
}
@keyframes puls {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ─── Kachel-Raster ────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 46px; }
.value { background: var(--bg-2); border-radius: var(--radius); padding: 30px 26px; }
.value h3 { font-size: 21px; letter-spacing: -.01em; margin: 20px 0 8px; }
.value p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.tile-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--card); color: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.tile-icon svg { width: 24px; height: 24px; }

/* ─── Modul-Karten ─────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 46px 0 40px; }
.module-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--bg-2); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); }
.module-card h3 { font-size: 24px; letter-spacing: -.02em; margin: 20px 0 6px; }
.module-card p { color: var(--ink-2); line-height: 1.55; margin: 0 0 18px; }
.module-card .link-arrow { margin-top: auto; font-size: 16px; }

/* ─── Zahlen-Band ──────────────────────────────────────────── */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-top: 46px; }
.number { text-align: center; padding: 24px 14px; }
.number b { display: block; font-size: clamp(40px, 5vw, 60px); font-weight: 900; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.number span { display: block; margin-top: 10px; color: var(--ink-2); line-height: 1.45; }

/* ─── Dunkles Band ─────────────────────────────────────────── */
.dark-band { background: #06121d; color: #eef4f9; padding: 120px 22px; text-align: center; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.dark-band-inner { position: relative; max-width: 880px; margin: 0 auto; }
.dark-band .lead { color: #9fb0c0; margin-left: auto; margin-right: auto; }
.dark-band .eyebrow { color: var(--sky); }
.dark-band .btn { background: var(--sky); color: #06121d; }
.dark-band .btn:hover { background: #7fdcff; }
.dark-band .btn-ghost { background: none; color: #eef4f9; border-color: rgba(255, 255, 255, .25); }
.dark-band .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.dark-band .link-arrow { color: var(--sky); }

/* ─── Referenzen ───────────────────────────────────────────── */
/* Die Logos sind weiss auf transparent, deshalb immer auf dunklem Grund. */
.refs .display-s { margin-bottom: 46px; }
.ref-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 18px 44px;
}
/* Die Dateien sind 400x250 mit viel Leerraum um das Logo — die Kastenhoehe
   muss deshalb groesser sein als das Logo wirken soll. */
.ref-logos img {
  height: 78px; width: auto; opacity: .7;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.ref-logos img:hover { opacity: 1; transform: translateY(-3px); }
/* Nacheinander statt alle auf einmal — das Auge wandert die Reihe entlang. */
.js .ref-logos img { transition-delay: calc(var(--i) * 90ms); }

/* ─── Zitat ────────────────────────────────────────────────── */
.quote { max-width: 980px; margin: 0 auto; padding: 110px 22px; text-align: center; }
.quote-text { font-size: clamp(30px, 4.8vw, 60px); line-height: 1.14; letter-spacing: -.03em; font-weight: 800; margin: 0 0 30px; }
.quote-text .w { color: color-mix(in srgb, var(--ink) 18%, transparent); transition: color .35s ease; }
.quote-text .w.on { color: var(--ink); }
.quote-text .grad .w { color: transparent; opacity: .22; transition: opacity .35s ease; }
.quote-text .grad .w.on { opacity: 1; }

/* ─── Kontakt-Band ─────────────────────────────────────────── */
.contact-band { padding: 110px 22px 130px; text-align: center; background: var(--bg-2); }
.contact-band .lead { margin-bottom: 30px; }

/* ─── Unterseiten-Kopf ─────────────────────────────────────── */
.page-head { max-width: 900px; margin: 0 auto; padding: 140px 22px 40px; text-align: center; }
.page-head .lead { margin-left: auto; margin-right: auto; }

/* ─── Text & Merkmale ──────────────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; padding: 16px 22px 50px; }
.prose p { font-size: 19px; line-height: 1.68; color: var(--ink-2); margin: 0 0 20px; }
.prose strong { color: var(--ink); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.feature { display: flex; gap: 16px; background: var(--bg-2); border-radius: var(--radius); padding: 26px; }
.feature h3 { font-size: 19px; margin: 2px 0 6px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.check { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); }
.check svg { width: 17px; height: 17px; }

/* ─── Wechselnde Text/Bild-Baender ─────────────────────────── */
.split { max-width: var(--maxw); margin: 0 auto; padding: 70px 22px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.split.flip .split-copy { order: 2; }
.split-copy p { font-size: 18px; line-height: 1.68; color: var(--ink-2); margin: 0 0 18px; }
.split-copy .display-s { margin-bottom: 16px; }
.split-list { list-style: none; margin: 22px 0 0; padding: 0; }
.split-list li { position: relative; padding-left: 28px; margin-bottom: 11px; color: var(--ink-2); line-height: 1.55; }
.split-list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.split-list li b { color: var(--ink); font-weight: 700; }

/* ─── Tabellen & Listen ────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 30px; }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.data td { color: var(--ink-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data td b { color: var(--ink); font-weight: 700; }

.dl-list { display: grid; gap: 14px; margin-top: 30px; }
.dl-item { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--bg-2); border-radius: 18px; padding: 22px 24px; }
.dl-copy { flex: 1 1 320px; min-width: 0; }
.dl-copy h3 { font-size: 19px; margin: 0 0 4px; letter-spacing: -.01em; }
.dl-copy p { margin: 0; color: var(--ink-2); line-height: 1.5; font-size: 15px; }
.dl-item .btn { flex: none; }
.notice { background: var(--bg-2); border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0; padding: 18px 22px; margin-top: 26px; color: var(--ink-2); line-height: 1.6; }
.notice b { color: var(--ink); }
.notice a { color: var(--accent); }

/* ─── Aufklappbares ────────────────────────────────────────── */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 29px; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 33px; }
.faq .faq-body { padding: 0 0 22px; color: var(--ink-2); line-height: 1.65; }
.faq .faq-body p { margin: 0 0 12px; }
.faq .faq-body ul { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 34px; }
.faq .faq-body li { margin-bottom: 7px; break-inside: avoid; }

/* ─── Logo-Leiste ──────────────────────────────────────────── */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.logos span { border: 1px solid var(--line); border-radius: 980px; padding: 10px 22px; color: var(--ink-2); font-size: 15px; font-weight: 600; }

/* ─── Kontakt ──────────────────────────────────────────────── */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.option { display: flex; flex-direction: column; text-decoration: none; background: var(--bg-2); border-radius: var(--radius); padding: 30px 26px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.option:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); }
.option h3 { font-size: 22px; letter-spacing: -.01em; margin: 20px 0 8px; }
.option p { color: var(--ink-2); line-height: 1.55; margin: 0 0 18px; }
.option .link-arrow { margin-top: auto; font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.contact-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-tile h3 { font-size: 15px; color: var(--ink-2); font-weight: 700; margin: 18px 0 6px; }
.contact-tile a, .contact-tile p { font-size: 18px; line-height: 1.45; margin: 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-tile a:hover { color: var(--accent); }

/* ─── Rechtliches ──────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 22px 100px; line-height: 1.68; }
.legal h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 30px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal ul { color: var(--ink-2); margin: 0 0 10px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal .note { background: var(--bg-2); border-radius: 14px; padding: 16px 20px; color: var(--ink); }

/* ─── Messe-Hinweis ────────────────────────────────────────── */
/* Steht unten rechts, ist wegklickbar und verschwindet nach dem letzten
   Messetag von selbst (siehe main.js). */
.messe {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: min(330px, calc(100vw - 44px));
  padding: 22px 24px 24px; border-radius: 20px;
  background: #06121d; color: #eef4f9;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 26px 60px -20px rgba(0, 20, 40, .6);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1);
}
.messe[hidden] { display: none; }
.messe.da { opacity: 1; transform: none; }
.messe-kicker { margin: 0 0 6px; color: var(--sky); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.messe-titel { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.messe-text { margin: 0 0 18px; color: #9fb0c0; font-size: 15px; line-height: 1.5; }
.messe .btn { background: var(--sky); color: #06121d; box-shadow: none; }
.messe .btn:hover { background: #7fdcff; }
.messe-zu {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border: 0; border-radius: 10px;
  background: none; color: #9fb0c0; cursor: pointer; display: grid; place-items: center;
}
.messe-zu:hover { color: #eef4f9; background: rgba(255, 255, 255, .08); }
.messe-zu svg { width: 17px; height: 17px; }

@media (max-width: 640px) {
  .messe { right: 12px; left: 12px; bottom: 12px; width: auto; padding: 18px 20px 20px; }
  .messe .btn { width: 100%; }
}
@media (pointer: coarse) {
  .messe-zu { width: 44px; height: 44px; top: 6px; right: 6px; }
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 22px 28px; font-size: 14px; color: var(--ink-2); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; line-height: 1.8; }
.footer-brand p { margin: 14px 0 0; max-width: 270px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col b { color: var(--ink); margin-bottom: 6px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ─── Einblenden ───────────────────────────────────────────────
   Nur mit JavaScript ausgeblendet: ohne JS (oder wenn main.js nicht
   laedt) bleibt die ganze Seite sichtbar statt leer. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal-zoom { opacity: 0; transform: scale(.96); transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.visible { opacity: 1 !important; transform: none !important; }
.module-card.visible:hover, .option.visible:hover { transform: translateY(-4px) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .grad, .js .number b { animation: none; background-position: 0 50%; }
  .js .hero .eyebrow, .js .hero-title, .js .hero-sub, .js .hero .hero-cta {
    opacity: 1; transform: none; animation: none;
  }
  .js .ref-logos img { transition-delay: 0s; }
  .shot-parallax { transform: none !important; }
  .js .video-play::before { animation: none; display: none; }
  .reveal, .reveal-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
  .quote-text .w { color: var(--ink); }
  .quote-text .grad .w { opacity: 1; }
}

/* ─── Responsiv ────────────────────────────────────────────── */
/* Tippflaechen: am Finger braucht jedes Ziel mindestens 44 px Kantenlaenge.
   Mit der Maus reicht weniger, deshalb nur fuer grobe Zeiger und schmale
   Fenster vergroessert. */
@media (pointer: coarse), (max-width: 1040px) {
  .theme-toggle { width: 44px; height: 44px; }
  .btn-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-right > .lang-dd { display: none; }
  .nav.open { background: var(--bg); border-bottom-color: var(--line); }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px);
    flex-direction: column; gap: 0; padding: 12px 22px 40px; overflow-y: auto;
    background: var(--bg); font-size: 24px; font-weight: 800; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1); }
  .nav-links > a { color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-menu-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 26px; }
  .nav-menu-extra .lang-row { align-self: stretch; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-copy { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* In der Kopfleiste ist kein Platz mehr — im aufgeklappten Menue bleibt
     die Fernwartung aber erreichbar, sonst faellt sie auf dem Handy weg. */
  .nav-right > .btn-small { display: none; }
  .nav-menu-extra .btn-small { align-self: stretch; }
  .hero { padding-top: 110px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .dark-band, .quote, .contact-band { padding-top: 84px; padding-bottom: 84px; }
  .page-head { padding-top: 110px; }
  .prose p { font-size: 17px; }
  .faq .faq-body ul { columns: 1; }
  .dl-item .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}
