/* vdrlive.de
   Leitidee wie in der App („Abendprogramm“): ein dunkles Zimmer, in dem die Bildschirme leuchten. Farbe kommt aus den
   Bildschirmen selbst (Lichtschein hinter jedem Gerät) und aus den sechs Farben der EBU-Farbbalken.
   Überschriften in breiter Laufweite (SF Pro Expanded auf Apple-Geräten), sonst Systemschrift. */

:root {
  color-scheme: dark;
  --bg: #08080a;
  --bg-2: #0e0e11;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f6;
  --text-2: #c9c9d1;
  --muted: #8e8e99;
  --accent: #7dc23b;
  --accent-ink: #0c1803;
  --yellow: #c9a43a;
  --cyan: #2aa3b6;
  --green: #48a659;
  --magenta: #b24fa9;
  --red: #cc4a45;
  --blue: #5372d1;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Feines Korn gegen Farbabrisse in den Verläufen */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }

code {
  font: 0.88em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.12em 0.4em;
  overflow-wrap: anywhere;
}
pre {
  background: #0b0b0d; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto;
  font: 0.88rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--text-2);
}
pre code { background: none; border: 0; padding: 0; font: inherit; }
pre .c { color: var(--muted); }

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

/* ---------- Schrift ---------- */
h1, h2, h3, .display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.12rem; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.55; color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tone, var(--accent));
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 6px; border-radius: 3px; background: currentColor; }

/* Farbbalken */
.bars { display: flex; height: 6px; width: 180px; border-radius: 3px; overflow: hidden; }
.bars span { flex: 1; }
.bars span:nth-child(1) { background: var(--yellow); }
.bars span:nth-child(2) { background: var(--cyan); }
.bars span:nth-child(3) { background: var(--green); }
.bars span:nth-child(4) { background: var(--magenta); }
.bars span:nth-child(5) { background: var(--red); }
.bars span:nth-child(6) { background: var(--blue); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, 0.66);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-stretch: 125%; font-size: 1.05rem; }
.brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); font-size: 0.94rem; }
.site-header nav a { color: var(--text-2); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
.site-header nav .lang { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
@media (max-width: 640px) { .site-header nav .optional { display: none; } }

/* ---------- Schaltflächen ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 16px; border-radius: 16px; min-width: 210px;
  background: var(--text); color: #0a0a0c; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 255, 255, 0.35); }
.store.dark { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.05rem; text-align: left; }
.store small { font-weight: 500; font-size: 0.74rem; opacity: 0.7; letter-spacing: 0.01em; }

/* ---------- Geräte ---------- */
/* Maße in cqw (Breite des Geräts), damit Rahmen, Ecken und Kamera mit jeder Größe stimmen. */
.device { position: relative; margin: 0; container-type: inline-size; isolation: isolate; }
.device .frame { position: relative; }
.device .screen { position: relative; overflow: hidden; background: #000; }
.device .screen img { width: 100%; }
/* Spiegelung auf dem Glas */
.device .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 42%);
}
/* Lichtschein: das Bildschirmfoto selbst, stark weichgezeichnet hinter dem Gerät */
.device .ambilight {
  position: absolute; z-index: -1; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: cover;
  filter: blur(clamp(30px, 9cqw, 90px)) saturate(1.8); opacity: 0.6; transform: scale(1.12);
  pointer-events: none;
}

/* iPhone (Titanrahmen, Dynamic Island, Tasten) */
.iphone .frame {
  padding: 1.25cqw;
  border-radius: 16.8cqw;
  background: linear-gradient(140deg, #6a6a70 0%, #2a2a2e 16%, #55555b 34%, #1f1f22 55%, #4b4b51 78%, #2b2b2f 100%);
  box-shadow:
    inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.22),
    inset 0 0.6cqw 1cqw rgba(255, 255, 255, 0.08),
    0 0 0 0.2cqw rgba(0, 0, 0, 0.7),
    0 6cqw 14cqw -3cqw rgba(0, 0, 0, 0.9);
}
.iphone .bezel { padding: 2.4cqw; border-radius: 15.6cqw; background: #030304; }
.iphone .screen { border-radius: 13.2cqw; }
.iphone .island {
  position: absolute; left: 50%; top: 2.5cqw; width: 27cqw; height: 7.8cqw; transform: translateX(-50%);
  background: #000; border-radius: 99px; box-shadow: inset 0 0 0 0.25cqw #0b0b0d;
}
.iphone .island::after {
  content: ""; position: absolute; right: 2.4cqw; top: 50%; width: 3.1cqw; height: 3.1cqw; transform: translateY(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #0a0c12 60%);
}
.iphone .frame::before, .iphone .frame::after {
  content: ""; position: absolute; width: 0.9cqw; border-radius: 0.5cqw;
  background: linear-gradient(90deg, #2c2c30, #5c5c62);
}
/* links: Aktionstaste und Lautstärke als ein Streifen mit Lücken; rechts: Seitentaste */
.iphone .frame::before {
  left: -0.75cqw; top: 15%; height: 23%;
  background: linear-gradient(#55555b 0 16%, transparent 16% 28%, #55555b 28% 61%, transparent 61% 67%, #55555b 67% 100%);
}
.iphone .frame::after { right: -0.75cqw; top: 25%; height: 13%; background: #4a4a50; }

/* iPad Pro quer (Aluminium, gleichmäßiger Rand, Kamera an der langen Seite) */
.ipad .frame {
  padding: 0.55cqw;
  border-radius: 3.9cqw;
  background: linear-gradient(150deg, #5d5d63 0%, #29292d 22%, #48484e 50%, #1d1d20 78%, #3d3d42 100%);
  box-shadow:
    inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.2),
    0 0 0 0.1cqw rgba(0, 0, 0, 0.7),
    0 4cqw 9cqw -2cqw rgba(0, 0, 0, 0.9);
}
.ipad .bezel { position: relative; padding: 2.05cqw; border-radius: 3.4cqw; background: #030304; }
.ipad .bezel::before {
  content: ""; position: absolute; left: 50%; top: 0.72cqw; width: 0.62cqw; height: 0.62cqw; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #07080b 65%);
}
.ipad .screen { border-radius: 1.35cqw; }

/* Fernseher mit Standfuß */
.tv { padding-bottom: 4.6cqw; }
.tv .frame {
  padding: 0.6cqw;
  border-radius: 0.8cqw;
  background: linear-gradient(180deg, #232327, #0c0c0e 40%, #141417);
  box-shadow:
    inset 0 0 0 0.1cqw rgba(255, 255, 255, 0.14),
    0 3cqw 7cqw -2cqw rgba(0, 0, 0, 0.9);
}
.tv .screen { border-radius: 0.25cqw; }
.tv::before {
  content: ""; position: absolute; left: 50%; bottom: 0.8cqw; width: 7cqw; height: 4cqw; transform: translateX(-50%);
  background: linear-gradient(90deg, #121214, #2c2c31 50%, #121214);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.tv::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 30cqw; height: 1cqw; transform: translateX(-50%);
  border-radius: 1cqw; background: linear-gradient(180deg, #3a3a40, #151518);
  box-shadow: 0 1.2cqw 2.4cqw rgba(0, 0, 0, 0.8);
}

/* ---------- Startbereich ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 38%, color-mix(in srgb, var(--red) 34%, transparent), transparent 70%),
    radial-gradient(40% 50% at 78% 30%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 70%),
    radial-gradient(42% 40% at 50% 8%, color-mix(in srgb, var(--green) 22%, transparent), transparent 70%);
  filter: blur(30px);
}
.hero .app-icon { width: 88px; height: 88px; border-radius: 21px; margin: 0 auto 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 50px -10px rgba(125, 194, 59, 0.45); }
.hero .bars { margin: 0 auto 26px; }
.hero h1 { max-width: 13em; margin-inline: auto; }
.hero .lead { margin: 24px auto 0; }
.hero .store-buttons { justify-content: center; margin-top: 34px; }
.hero .fine { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }

.stage { position: relative; width: min(1180px, 100%); margin: clamp(48px, 7vw, 88px) auto 0; aspect-ratio: 100 / 64; }
.stage .tv { position: absolute; left: 13.5%; top: 0; width: 73%; }
.stage .ipad { position: absolute; left: 0; bottom: 1%; width: 49%; }
.stage .iphone { position: absolute; right: 3%; bottom: 0; width: 15.5%; }
@media (max-width: 720px) {
  .stage { aspect-ratio: 100 / 92; }
  .stage .tv { left: 4%; width: 92%; }
  .stage .ipad { width: 68%; }
  .stage .iphone { right: 0; width: 26%; }
}

/* ---------- Abschnitte ---------- */
section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .lead { margin-top: 20px; }
.section-head.center .lead { margin-inline: auto; }

.feature { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.flip > .text { order: 2; }
}
.feature .text h2 { margin-bottom: 22px; }
.feature .visual { position: relative; }
.feature .visual.phones { display: flex; justify-content: center; gap: 6%; padding: 0 4%; }
.feature .visual.phones .iphone { width: 44%; max-width: 290px; }
.feature .visual.phones .iphone:nth-child(2) { margin-top: 14%; }

ul.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.points li { position: relative; padding-left: 30px; color: var(--text-2); text-wrap: pretty; }
ul.points li strong { color: var(--text); font-weight: 650; }
ul.points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-radius: 3px;
  background: var(--tone, var(--accent));
}

/* Farbton je Abschnitt (Lichtschein, Aufzählung, Überschrift) */
.tone-cyan { --tone: var(--cyan); }
.tone-green { --tone: var(--green); }
.tone-magenta { --tone: var(--magenta); }
.tone-blue { --tone: var(--blue); }
.tone-red { --tone: var(--red); }
.tone-yellow { --tone: var(--yellow); }
section[class*="tone-"]::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 55% at var(--glow-x, 75%) 50%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%);
}
section.flip-glow { --glow-x: 25%; }

/* Plattformen */
.platforms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.platform {
  position: relative; overflow: hidden; padding: 26px 26px 24px; border-radius: 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
}
.platform::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 35%, transparent), transparent 65%);
}
.platform svg { width: 34px; height: 34px; color: var(--tone); margin-bottom: 18px; position: relative; }
.platform h3 { font-size: 1.3rem; margin-bottom: 8px; }
.platform p { color: var(--text-2); margin: 0; }

/* Verbindungsschema */
.flow {
  display: grid; grid-template-columns: 1fr; gap: 0; align-items: center;
  padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 860px) { .flow { grid-template-columns: 1fr 1.25fr 1fr; } }
.flow .node { text-align: center; padding: 18px; }
.flow .node svg { width: 54px; height: 54px; margin: 0 auto 12px; color: var(--text); }
.flow .node h3 { margin-bottom: 6px; }
.flow .node p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.flow .links { display: grid; gap: 14px; padding: 8px 0; }
.flow .link { position: relative; display: grid; grid-template-columns: 1fr; text-align: center; font-size: 0.9rem; }
.flow .link .line { height: 3px; border-radius: 2px; margin: 8px 0; background: linear-gradient(90deg, transparent, var(--tone), transparent); }
.flow .link b { color: var(--text); font-weight: 650; }
.flow .link span { color: var(--muted); }

/* Karten */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.card h3 { margin: 12px 0 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; }
.tag.required { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.tag.optional { background: var(--surface-2); color: var(--muted); }

/* Pro und Abschluss */
.panel {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 6vw, 72px);
  background: linear-gradient(160deg, #19141c, #0f0f12 60%); border: 1px solid var(--line);
}
.panel::before {
  content: ""; position: absolute; inset: -30% -10% auto 30%; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 40% at 60% 40%, color-mix(in srgb, var(--magenta) 30%, transparent), transparent 70%),
    radial-gradient(35% 35% at 85% 70%, color-mix(in srgb, var(--yellow) 22%, transparent), transparent 70%);
  filter: blur(20px);
}
.panel > * { position: relative; }
.panel .grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .panel .grid { grid-template-columns: 1.4fr 1fr; } }
.facts { display: grid; gap: 12px; }
.fact { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.fact b { font-stretch: 125%; font-size: 1.3rem; min-width: 4.2em; }
.fact span { color: var(--text-2); }

.closing { text-align: center; }
.closing .store-buttons { justify-content: center; margin-top: 30px; }

/* ---------- Textseiten ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: clip; }
.page-hero::before {
  content: ""; position: absolute; inset: -60% -10% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 50% at 20% 50%, color-mix(in srgb, var(--tone, var(--green)) 22%, transparent), transparent 70%),
    radial-gradient(35% 50% at 80% 40%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%);
  filter: blur(20px);
}
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
.page-hero .lead { margin-top: 18px; }
.prose { padding: 0 0 clamp(72px, 9vw, 120px); }
.prose .wrap { max-width: 780px; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.2em 0 0.7em; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose address { font-style: normal; color: var(--text-2); line-height: 1.7; }
.prose .stand { color: var(--muted); font-size: 0.9rem; margin-top: 3em; }
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.prose .toc a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); text-decoration: none; font-size: 0.92rem; }
.prose .toc a:hover { color: var(--text); border-color: var(--line-strong); }

.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps > li {
  counter-increment: step; position: relative; margin: 0 !important; padding: 22px 22px 20px 70px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-stretch: 125%; color: #0a0a0c;
  background: var(--tone, var(--accent));
}
.steps > li:nth-child(6n+1) { --tone: var(--yellow); }
.steps > li:nth-child(6n+2) { --tone: var(--cyan); }
.steps > li:nth-child(6n+3) { --tone: var(--green); }
.steps > li:nth-child(6n+4) { --tone: var(--magenta); }
.steps > li h3 { margin: 4px 0 8px; }
.steps > li p:last-child, .steps > li pre:last-child { margin-bottom: 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; }
details summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 650; position: relative; color: var(--text);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s var(--ease);
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details > :not(summary) { padding: 0 20px; }
details > :last-child { padding-bottom: 18px; margin-bottom: 0; }

.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 2.4em;
  padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #15201a, var(--surface)); border: 1px solid var(--line);
}
.contact p { margin: 0; }
.contact .button { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 0.9rem; background: #060607; }
.site-footer .wrap { display: grid; gap: 18px 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: center; } .site-footer nav { justify-content: flex-end; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a, .site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .copyright, .site-footer .legal { margin: 0; grid-column: 1 / -1; }
.site-footer .legal { font-size: 0.8rem; max-width: 70em; }

/* ---------- Einblenden beim Scrollen (nur mit JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
/* Startbild: Geräte steigen nacheinander auf, ohne JavaScript */
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: none; } }
.stage .device { animation: rise 1.1s var(--ease) both; }
.stage .ipad { animation-delay: 0.15s; }
.stage .iphone { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stage .device { animation: none; }
}
