/* SnapRDP – Landing Page. Keine externen Schriften, keine Frameworks. */

:root {
  --brand: #0f9d8a;
  --brand-strong: #0b7f70;
  --brand-soft: #e3f5f2;
  --on-brand: #ffffff;
  --bg: #fbfbfd;
  --bg-alt: #f2f4f5;
  --surface: #ffffff;
  --surface-2: #f6f7f8;
  --text: #1d1d1f;
  --muted: #5f6368;
  --faint: #8a8f94;
  --border: rgba(16, 24, 32, 0.1);
  --border-strong: rgba(16, 24, 32, 0.18);
  --shadow: 0 1px 2px rgba(16, 24, 32, 0.06), 0 8px 24px rgba(16, 24, 32, 0.08);
  --shadow-lg: 0 2px 6px rgba(16, 24, 32, 0.08), 0 30px 80px rgba(16, 24, 32, 0.18);
  --key-bg: linear-gradient(#ffffff, #f1f2f4);
  --key-border: #d4d7db;
  --danger: #c4314b;
  --ok: #1f8a4c;
  --win-chrome: #ececec;
  --win-body: #f7f7f7;
  --remote-1: #1b4c7a;
  --remote-2: #2c7da0;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #2bc2ac;
    --brand-strong: #5fd6c3;
    --brand-soft: rgba(43, 194, 172, 0.14);
    --on-brand: #04201c;
    --bg: #0c0e10;
    --bg-alt: #111417;
    --surface: #16191c;
    --surface-2: #1c2024;
    --text: #f2f3f5;
    --muted: #a4a9ae;
    --faint: #7c8288;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.55);
    --key-bg: linear-gradient(#2a2e33, #212428);
    --key-border: #3a3f45;
    --danger: #ff6b81;
    --ok: #4cd18a;
    --win-chrome: #2a2c2f;
    --win-body: #1e2023;
  }
}
:root[data-theme="dark"] {
  --brand: #2bc2ac; --brand-strong: #5fd6c3; --brand-soft: rgba(43, 194, 172, 0.14); --on-brand: #04201c;
  --bg: #0c0e10; --bg-alt: #111417; --surface: #16191c; --surface-2: #1c2024; --text: #f2f3f5;
  --muted: #a4a9ae; --faint: #7c8288; --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 80px rgba(0, 0, 0, 0.55);
  --key-bg: linear-gradient(#2a2e33, #212428); --key-border: #3a3f45; --danger: #ff6b81; --ok: #4cd18a;
  --win-chrome: #2a2c2f; --win-body: #1e2023;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
kbd {
  font: 600 0.82em/1 var(--font);
  display: inline-block;
  padding: 0.28em 0.5em;
  border-radius: 6px;
  border: 1px solid var(--key-border);
  border-bottom-width: 2px;
  background: var(--key-bg);
  color: var(--text);
  white-space: nowrap;
}
code { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow { font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 14px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 0.86rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); }
.lang:hover { color: var(--text); border-color: var(--border-strong); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }
@media (max-width: 420px) { .nav-actions .btn { display: none; } }

/* ---------- Knöpfe ---------- */
.btn {
  --bg-btn: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--bg-btn); color: var(--text);
  font: 600 0.98rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.04rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 75% 20%, color-mix(in srgb, #3b82c4 16%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--brand); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 48px; } }

/* ---------- App-Mockup ---------- */
.stage { position: relative; min-height: 440px; }
.mac-window {
  position: absolute; border-radius: 12px; overflow: hidden;
  background: var(--win-body); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}
.mac-titlebar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: var(--win-chrome); border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.mac-titlebar .title { flex: 1; text-align: center; margin-right: 40px; }
.mac-titlebar .tb-icon { width: 15px; height: 15px; color: var(--muted); }

.win-session { inset: 0 0 auto 12%; height: 330px; }
.remote-desktop {
  position: relative; height: calc(100% - 30px);
  background: radial-gradient(120% 90% at 20% 10%, var(--remote-2), var(--remote-1) 60%, #10263d);
}
.remote-desktop .rd-icons { position: absolute; top: 16px; left: 16px; display: grid; gap: 14px; }
.remote-desktop .rd-icons i { display: block; width: 30px; height: 26px; border-radius: 5px; background: rgba(255, 255, 255, 0.22); }
.remote-desktop .rd-app {
  position: absolute; left: 22%; top: 18%; width: 62%; height: 54%; border-radius: 6px;
  background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); overflow: hidden;
  font: 11px/1.4 var(--mono); color: #222;
}
.rd-app .rd-bar { height: 18px; background: #e9edf2; border-bottom: 1px solid #d6dbe1; }
.rd-app .rd-text { padding: 8px 10px; }
.rd-app .rd-text b { color: var(--brand-strong); font-weight: 700; }
.rd-app .caret { display: inline-block; width: 1px; height: 12px; background: #222; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.remote-desktop .rd-taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: rgba(12, 20, 30, 0.72); display: flex; gap: 8px; align-items: center; justify-content: center; }
.rd-taskbar i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.45); }
.rd-taskbar i:first-child { background: rgba(255, 255, 255, 0.8); }

.win-start { left: 0; top: 150px; width: 330px; }
.start-body { padding: 18px 18px 16px; display: grid; gap: 10px; justify-items: center; }
.start-body .sym { width: 28px; height: 28px; color: var(--brand); }
.start-body .app-name { font-weight: 700; font-size: 13px; }
.host-row { display: flex; gap: 6px; align-items: center; }
.host-field { width: 186px; padding: 4px 8px; border-radius: 7px; border: 1px solid var(--brand); background: var(--surface); font-size: 12px; color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.host-field .sel { background: color-mix(in srgb, var(--brand) 28%, transparent); }
.host-row .clock { width: 15px; height: 15px; color: var(--muted); }
.mac-btn { padding: 3px 14px; font-size: 12px; border-radius: 6px; background: var(--brand); color: var(--on-brand); font-weight: 600; }
.profiles { width: 100%; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.profiles-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.search-pill { width: 90px; height: 18px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.tile { display: flex; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; line-height: 1.25; }
.tile.hover { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.tile svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.tile b { display: block; font-weight: 650; color: var(--text); }
.tile span { color: var(--faint); }

.win-login { right: -8px; top: 236px; width: 262px; }
@media (max-width: 1180px) { .win-login { display: none; } .win-start { left: 0; } }
.login-body { padding: 14px 16px; display: grid; gap: 8px; font-size: 11.5px; }
.login-body strong { font-size: 12.5px; }
.login-row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 8px; }
.login-row label { text-align: right; color: var(--muted); }
.fake-input { height: 20px; border-radius: 5px; border: 1px solid var(--border-strong); background: var(--surface); padding: 2px 6px; color: var(--text); }
.fake-input.dots { letter-spacing: 2px; }
.check { display: flex; gap: 6px; align-items: center; color: var(--text); }
.check i { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); display: grid; place-items: center; }
.check i::after { content: ""; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(0.5px, -0.5px); }
.login-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 2px; }
.mac-btn.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }

@media (max-width: 960px) { .stage { max-width: 560px; margin: 0 auto; width: 100%; } }
@media (max-width: 560px) {
  .stage { min-height: 480px; }
  .win-session { left: 6%; height: 250px; }
  .win-start { top: 120px; width: 300px; }
  .win-login { display: none; }
}

/* ---------- Abschnitte ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* Ablauf in drei Schritten */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 750; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Tastatur */
.keyboard-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .keyboard-grid { grid-template-columns: 1fr; gap: 36px; } }
.keyboard-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.chars { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chars kbd { font-size: 1.15rem; min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 9px; }
.mods { display: grid; gap: 10px; }
.mod { display: grid; grid-template-columns: 150px 24px 1fr; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.mod .from { display: flex; gap: 6px; align-items: center; font-size: 0.86rem; color: var(--muted); }
.mod .from kbd { font-size: 1rem; }
.mod svg { width: 20px; height: 20px; color: var(--brand); }
.mod .to { font-weight: 600; }
@media (max-width: 480px) { .mod { grid-template-columns: 1fr 20px 1fr; } .keyboard-card { padding: 18px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.check-list li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%230f9d8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.check-list strong { color: var(--text); font-weight: 600; }

/* Funktionsraster */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.feature:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.badge-pro { position: absolute; top: 22px; right: 20px; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--brand-strong); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }

/* Tastenkürzel */
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .shortcuts { grid-template-columns: repeat(2, 1fr); } }
.shortcut { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.shortcut .keys { display: flex; gap: 5px; margin-bottom: 12px; }
.shortcut .keys kbd { font-size: 1rem; min-width: 34px; text-align: center; }
.shortcut span { color: var(--muted); font-size: 0.95rem; }

/* Datenschutz-Kacheln */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust div { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.trust svg { width: 26px; height: 26px; color: var(--brand); margin-bottom: 12px; }
.trust p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Preise */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.plan.pro { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 0.78rem; font-weight: 700; }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 750; letter-spacing: -0.03em; }
.price span { color: var(--muted); }
.plan .note { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 32px; font-size: 0.97rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%230f9d8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan .btn { width: 100%; }
.plan .fine { margin: 14px 0 0; text-align: center; color: var(--faint); font-size: 0.84rem; }
.form-error { color: var(--danger); font-size: 0.9rem; margin: 10px 0 0; text-align: center; min-height: 1.2em; }

.compare-wrap { max-width: 900px; margin: 56px auto 0; overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare caption { text-align: left; font-weight: 650; margin-bottom: 12px; font-size: 1.05rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.compare thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 120px; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--faint); }

.store-note { max-width: 900px; margin: 28px auto 0; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border-strong); color: var(--muted); font-size: 0.94rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); padding: 0 22px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Abschluss-CTA */
.cta { text-align: center; padding: 96px 0; }
.cta img { width: 96px; height: 96px; margin: 0 auto 22px; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { margin-top: 20px; font-size: 0.82rem; color: var(--faint); max-width: 60em; }

/* ---------- Unterseiten ---------- */
.page { padding: 64px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.draft { padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, #f5a623 14%, transparent); border: 1px solid color-mix(in srgb, #f5a623 40%, transparent); color: var(--text); font-size: 0.94rem; margin-bottom: 28px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form { display: grid; gap: 12px; max-width: 460px; }
.form label { font-weight: 600; font-size: 0.94rem; }
.form input, .form textarea { font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); min-height: 44px; }
.form textarea { resize: vertical; min-height: 88px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.form label { margin-top: 4px; }
.form-hint { margin: -4px 0 0; font-size: 0.88rem; color: var(--muted); }
.form .optional { font-weight: 400; color: var(--faint); }
.card-title { font-size: 1.3rem; margin-top: 0; }
.form-status { min-height: 1.4em; font-size: 0.94rem; margin: 0; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Erfolgsseite */
.success { max-width: 640px; margin: 0 auto; text-align: center; }
.success .state-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.success .state-icon svg { width: 36px; height: 36px; }
.license-box { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }
.license-key { font: 650 clamp(0.95rem, 2.6vw, 1.25rem)/1.3 var(--mono); letter-spacing: 0.04em; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); user-select: all; word-break: break-all; }
.success ol { text-align: left; max-width: 460px; margin: 28px auto 0; color: var(--muted); }
.success ol li { margin-bottom: 6px; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.trust-gap { margin-top: 48px; }
.center-row { justify-content: center; }
.spaced { margin-top: 28px; }

/* ---------- Admin-Panel ---------- */
.admin .page { padding-top: 40px; }
.admin-badge { font-size: 0.72rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; margin-left: 4px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); }
.admin-login { max-width: 460px; margin: 40px auto; }
.admin-title { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 8px; }
.admin-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 16px 0 24px; }
.admin-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.admin-tile span { font-size: 0.86rem; color: var(--muted); }
.admin-tile strong { font: 700 1.9rem/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.admin-tile small { color: var(--faint); font-size: 0.82rem; }
.admin-tile-alert { border-color: var(--danger); }
.admin-tile-alert strong { color: var(--danger); }
.admin-section { margin-bottom: 24px; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-columns .admin-section { margin-bottom: 0; }
.admin-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 20px; }
.admin-facts dt { color: var(--muted); font-size: 0.92rem; }
.admin-facts dd { margin: 0; overflow-wrap: anywhere; }
.admin-upload { max-width: 560px; }
.admin-upload progress { width: 100%; height: 8px; accent-color: var(--brand); }
.admin-table-wrap { overflow-x: auto; position: relative; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.admin-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.admin-table small { color: var(--faint); }
.admin-empty { color: var(--faint); }
.admin-wrap { max-width: 320px; overflow-wrap: anywhere; }
.admin-mono { font-family: var(--mono); font-size: 0.86rem; }
.admin-ok { color: var(--ok); }
.admin-bad { color: var(--danger); }
.admin-due { white-space: nowrap; font-weight: 600; }
.admin-due-ok { color: var(--ok); }
.admin-due-warn { color: #b7791f; }
.admin-due-danger { color: var(--danger); }
.admin-problems { margin: 0; padding-left: 1.2em; color: var(--danger); font-size: 0.88rem; }
.admin-problems li { margin-bottom: 4px; overflow-wrap: anywhere; }
@media (max-width: 900px) { .admin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-columns { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .admin-tiles { grid-template-columns: 1fr; } .admin-facts { grid-template-columns: 1fr; gap: 2px; } .admin-facts dd { margin-bottom: 8px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.admin .nav-actions { margin-left: auto; }
.admin .nav-actions .btn { display: inline-flex; }
.admin .form > *, .admin-columns > * { min-width: 0; }
.admin .form input[type="file"] { padding: 8px; max-width: 100%; }
@media (max-width: 600px) { .admin .card { padding: 20px 16px; } }
@media (max-width: 480px) { .admin #refresh { display: none; } .admin .brand { font-size: 1rem; } }
.waiver { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 0.86rem; line-height: 1.45; color: var(--muted); margin: 0 0 14px; cursor: pointer; }
.waiver input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
