/* Rilkio – Website-Stil, gleiche Farben, Schriften und Bausteine wie die RCU-App (rcu-app/src/css/app.css).
   --pink/--violet/--blue sind die drei Akzentfarben. Bewusst nur ein dunkles Neon-Design. */
:root {
  --bg: #0b0716;
  --bg-2: #100a20;
  --surface: #160f2b;
  --surface-2: #1d1438;
  --line: #2c2050;
  --fg: #f3eefe;
  --muted: #a99cc9;
  --soft: #d6cdee;
  --pink: #ff2fb4;
  --violet: #9b4dff;
  --blue: #2f8bff;
  --ok: #3ee08f;
  --warn: #ffb547;
  --bad: #ff4f6a;
  --glow: linear-gradient(100deg, var(--pink), var(--violet) 50%, var(--blue));

  --font-display: "Permanent Marker", "Segoe Print", cursive;
  --font-body: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --font-channel: "Bungee", Impact, sans-serif;
  --font-handle: "Chakra Petch", "Segoe UI", sans-serif;

  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(50rem 26rem at 10% -10%, color-mix(in srgb, var(--pink) 16%, transparent), transparent 60%),
    radial-gradient(44rem 26rem at 100% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 60%),
    var(--bg);
  color: var(--fg);
  font: 400 15px/1.6 var(--font-body);
  overflow-x: hidden;
}
main { flex: 1; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-weight: 600; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 24px; }

/* ---------- Menüleiste oben (wie in der App) ---------- */
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(10px); }
.topbar-in { display: flex; align-items: center; gap: 18px; padding-block: 8px; min-width: 0; }
.side-brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.side-brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 18px color-mix(in srgb, var(--violet) 45%, transparent); }
.side-brand b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-brand small { display: block; font-family: var(--font-handle); color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; justify-content: center; }
.nav-btn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-family: var(--font-handle); font-weight: 600; font-size: 14px; letter-spacing: .02em; white-space: nowrap; transition: background .15s, color .15s; }
.nav-btn svg, .konto-btn svg { width: 18px; height: 18px; flex: none; }
.nav-btn:hover { background: var(--surface); color: var(--fg); }
.nav-btn[aria-current="page"] { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 -2px 0 var(--pink); }
.konto-btn { flex: none; }
.konto-btn[aria-current="page"] { border-color: var(--pink); box-shadow: inset 0 -2px 0 var(--pink); }

/* ---------- Grundbausteine aus der App ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.label, .about-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--muted)); margin: 0 0 6px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); cursor: pointer; font-family: var(--font-handle); font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: .02em; text-decoration: none; text-align: center; transition: border-color .15s, transform .1s, filter .15s; max-width: 100%; }
.btn:hover { border-color: var(--violet); }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn-primary { background: var(--glow); border-color: transparent; color: #fff; box-shadow: 0 0 22px color-mix(in srgb, var(--violet) 45%, transparent); }
.btn.primary:hover, .btn-primary:hover { filter: brightness(1.12); }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.big, .btn-big { padding: 13px 26px; font-size: 16px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.btn.primary:disabled, .btn.primary[aria-disabled="true"] { box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; }
.pill b { font-family: var(--font-mono); font-weight: 500; }
.pill.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }

/* ---------- Seitenkopf / Abschnitte ---------- */
.section { padding-block: 22px; }
.section h2 { font-family: var(--font-channel); font-weight: 400; font-size: 22px; letter-spacing: .02em; margin: 0 0 4px; }
.section .sub { color: var(--muted); margin: 0 0 18px; }
.section a:not(.btn) { color: var(--fg); text-underline-offset: 3px; }
#kanaele, #premium { scroll-margin-top: 90px; }

/* ---------- Hero (Home und RCU), wie die Home-Karte der App ---------- */
.hero { padding-block: 28px 10px; }
.home-hero { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 30px; }
.portrait { position: relative; width: 190px; height: 190px; }
.photo { width: 100%; height: 100%; border-radius: 50%; padding: 4px; background: var(--glow); box-shadow: 0 0 46px color-mix(in srgb, var(--violet) 45%, transparent); animation: foto-schweben 5s ease-in-out infinite; }
.photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; filter: brightness(1.35) contrast(1.05); border: 4px solid var(--bg); }
.logo-badge { position: absolute; right: -12px; bottom: -4px; width: 72px; height: 72px; border-radius: 18px; border: 3px solid var(--bg); animation: logo-schweben 6s ease-in-out -1.5s infinite, logo-leuchten 4s ease-in-out infinite; }
@keyframes logo-schweben { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes logo-leuchten { 0%, 100% { box-shadow: 0 0 26px color-mix(in srgb, var(--pink) 55%, transparent); } 50% { box-shadow: 0 0 38px color-mix(in srgb, var(--blue) 70%, transparent); } }
@keyframes foto-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.home-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1; margin: 0; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aka { font-family: var(--font-handle); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.home-hero p.lead { margin: 0 0 18px; max-width: 40rem; color: var(--soft); font-size: 16px; }

/* RCU-Hero */
.rcu-logo { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 0 50px color-mix(in srgb, var(--violet) 45%, transparent); animation: foto-schweben 5s ease-in-out infinite; }
.rcu-hero .aka { margin: 0 0 6px; }
.rcu-hero h1 { font-family: var(--font-channel); background: none; color: var(--fg); font-size: clamp(2.6rem, 9vw, 4rem); margin: 0 0 8px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-sub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- Was ich mache / Infokarten ---------- */
.about, .two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 16px; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.about-card h3 { font-family: var(--font-channel); font-weight: 400; font-size: 19px; margin: 0 0 8px; }
.about-card p:last-child { color: var(--muted); margin: 0; }
.about-card a { color: var(--fg); text-underline-offset: 3px; }
.plain { margin: 0; padding-left: 1.2rem; color: var(--soft); }
.note { border-style: dashed; border-color: color-mix(in srgb, var(--warn) 55%, transparent); background: color-mix(in srgb, var(--warn) 6%, var(--surface)); }
.note p:last-child { color: var(--soft); }

/* ---------- Socials, wie die Kacheln in der App ---------- */
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 12px; }
.channel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.channel:hover, .channel:focus-visible { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 25%, transparent); }
.channel .icon { color: var(--c); display: block; line-height: 0; }
.channel .icon svg { width: 28px; height: 28px; }
.channel .meta { display: grid; min-width: 0; }
.channel .name { font-family: var(--font-channel); font-weight: 400; font-size: 16px; letter-spacing: .02em; line-height: 1.25; }
.channel .handle { font-family: var(--font-handle); color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }

/* ---------- RCU-Funktionen ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 16px; }
.feature, .plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.feature h3 { font-family: var(--font-handle); font-size: 18px; line-height: 1.3; letter-spacing: .02em; margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; }
.feature:first-child { grid-column: 1 / -1; }
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--font-mono); font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--line)); color: var(--fg); background: var(--bg-2); }

/* ---------- Tarife ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.plan-premium { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--glow) border-box; box-shadow: 0 0 40px -12px color-mix(in srgb, var(--violet) 70%, transparent); }
.plan-name { font-family: var(--font-channel); font-size: 24px; margin: 0; }
.plan-premium .plan-name { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price { font-family: var(--font-handle); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 0; display: grid; }
.price small { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 28px; color: var(--soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--glow); }
.checks li::after { content: "✓"; position: absolute; left: 4px; top: 0; font-size: 13px; font-weight: 600; color: #fff; }
.plan .btn { align-self: flex-start; }
.consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-size: 13px; color: var(--soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--pink); cursor: pointer; }
.consent input:disabled { cursor: not-allowed; }
.consent a { color: var(--fg); text-underline-offset: 3px; }
.plan-msg { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; overflow-wrap: anywhere; }
.plan-msg.ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.plan-msg.bad { border-color: color-mix(in srgb, var(--bad) 60%, transparent); }
.plan-note { margin: 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: 12.5px; color: var(--muted); }

/* ---------- Installationsschritte, wie die Schritte in der App ---------- */
.steps { counter-reset: schritt; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: schritt; position: relative; padding: 16px 16px 16px 60px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); color: var(--soft); min-width: 0; overflow-wrap: break-word; }
.steps li::before { content: counter(schritt); position: absolute; left: 16px; top: 15px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-channel); font-size: 13px; background: var(--glow); color: #fff; }
.steps strong { color: var(--fg); font-family: var(--font-handle); font-size: 16px; }
.steps em { font-style: normal; font-family: var(--font-handle); font-weight: 600; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }

/* ---------- Konto ---------- */
.konto { padding-block: 32px 56px; max-width: 32rem; }
.konto .sub { color: var(--muted); margin: 0 0 22px; }
.page-title, .legal h1 { font-family: var(--font-channel); font-weight: 400; font-size: clamp(1.35rem, 5.8vw, 2.4rem); line-height: 1.1; letter-spacing: .02em; margin: 0 0 6px; color: var(--fg); overflow-wrap: break-word; hyphens: auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.auth-card h2 { font-family: var(--font-handle); font-size: 18px; margin: 0 0 14px; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 20px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.tabs a { display: grid; place-items: center; text-align: center; text-decoration: none; font: 600 13.5px/1.2 var(--font-handle); padding: 9px 6px; background: var(--bg-2); color: var(--muted); overflow-wrap: break-word; min-width: 0; }
.tabs a + a { border-left: 1px solid var(--line); }
.tabs a:hover { color: var(--fg); }
.tabs a[aria-selected="true"] { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 -2px 0 var(--pink); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field small { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.field input { width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.field input:focus { outline: none; border-color: var(--violet); }
.form .btn { width: 100%; padding-block: 11px; }
.form-foot, .form-legal, .form-intro { margin: 0; font-size: 13px; color: var(--muted); }
.form-intro { font-size: 14px; color: var(--soft); }
.form-foot a, .form-legal a { color: var(--fg); text-underline-offset: 3px; }
#profil .form-foot { margin-top: 16px; }
.msg { border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; }
.msg-fehler { border-color: color-mix(in srgb, var(--bad) 60%, transparent); color: #ffd0d8; }
.msg-ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); color: #c9f7df; }
.loading { color: var(--muted); font-family: var(--font-mono); }
.details { margin: 0 0 18px; display: grid; }
.details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; min-width: 0; text-align: right; font-family: var(--font-mono); font-size: 14px; }
.details code { font-family: var(--font-mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.badge { font: 600 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg-2); }
.badge-premium { border-color: transparent; background: var(--glow); color: #fff; }
.premium-box { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-size: 13.5px; color: var(--soft); }
.premium-box p { margin: 0; flex: 1 1 14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn { flex: 1 1 12rem; }

/* ---------- Rechtliche Seiten ---------- */
.legal { width: min(50rem, 100% - 32px); margin: 32px auto 56px; padding: 30px clamp(18px, 4vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal .stand { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 0 0 26px; }
.legal h2 { font-family: var(--font-handle); font-size: 19px; letter-spacing: .02em; margin: 32px 0 8px; }
.legal h3 { font-family: var(--font-handle); font-size: 16px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--soft); overflow-wrap: break-word; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 1.2rem; }
.legal address { font-style: normal; line-height: 1.7; margin: 0 0 12px; color: var(--soft); }
.legal a { color: var(--fg); text-underline-offset: 3px; }
.formular { margin: 8px 0 0; padding: 18px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg-2); }
.formular p:last-child { margin: 0; }
.todo { background: color-mix(in srgb, var(--pink) 16%, transparent); color: #ffb3e3; border: 1px dashed var(--pink); border-radius: 6px; padding: 0 6px; font-family: var(--font-handle); }
.hinweis { border: 1px dashed var(--pink); background: color-mix(in srgb, var(--pink) 8%, transparent); border-radius: 12px; padding: 12px 14px; margin: 0 0 24px; color: var(--fg); font-size: 14px; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-family: var(--font-handle); margin-top: 24px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.site-footer .wrap { padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.legal-links a { text-decoration: none; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .topbar-in { flex-wrap: wrap; gap: 8px 12px; }
  .konto-btn { margin-left: auto; }
  .nav { order: 3; flex: 1 1 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .nav-btn { justify-content: center; padding: 8px 4px; font-size: 13px; gap: 6px; }
  .home-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 18px; gap: 22px; }
  .home-hero p.lead { margin-inline: auto; font-size: 15px; }
  .home-hero .row, .cta { justify-content: center; }
  .portrait { width: 168px; height: 168px; }
  .logo-badge { width: 64px; height: 64px; border-radius: 16px; }
  .rcu-logo { width: 132px; height: 132px; border-radius: 30px; }
  .plan { padding: 20px; }
  .plan .btn { align-self: stretch; }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .nav-btn svg { display: none; }
  .btn.big, .btn-big { padding: 12px 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-badge, .photo, .rcu-logo { animation: none; }
  .channel, .btn { transition: none; }
  .channel:hover { transform: none; }
}

/* =====================================================================
   Startseite (Landingpage) – Bausteine ab Version Oktober 2026
   ===================================================================== */
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--violet); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top-actions { display: flex; gap: 8px; flex: none; align-items: center; }
.top-actions .btn svg { width: 16px; height: 16px; }

.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.section h2 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.15; }
.section { padding-block: clamp(28px, 5vw, 56px); }
.grad { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(32px, 6vw, 72px) 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-handle); font-weight: 600; font-size: 13px; color: var(--soft); }
.eyebrow img { width: 22px; height: 22px; border-radius: 6px; }
.lp-hero h1 { font-family: var(--font-channel); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: .01em; margin: 0 0 18px; }
.lp-hero h1 .grad { font-family: var(--font-display); letter-spacing: 0; }
.lp-hero .lead { color: var(--soft); font-size: 16.5px; max-width: 36rem; margin: 0 0 24px; }
.lp-hero .cta-sub { margin-top: 14px; }
.lp-shot { position: relative; margin: 0; }
.window { border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px color-mix(in srgb, var(--violet) 60%, transparent); }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.window-bar i:nth-child(1) { background: var(--pink); } .window-bar i:nth-child(2) { background: var(--violet); } .window-bar i:nth-child(3) { background: var(--blue); }
.window-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.window img { display: block; width: 100%; height: auto; }
.lp-shot .window { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .4s ease; }
.lp-shot:hover .window { transform: none; }
.chip { position: absolute; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 92%, transparent); border: 1px solid var(--line); font-family: var(--font-handle); font-size: 13px; color: var(--soft); box-shadow: 0 10px 30px rgba(0,0,0,.45); backdrop-filter: blur(6px); animation: foto-schweben 6s ease-in-out infinite; }
.chip b { font-family: var(--font-channel); font-weight: 400; color: var(--fg); margin-right: 4px; }
.chip-a { left: -14px; bottom: 18%; border-color: color-mix(in srgb, var(--pink) 55%, var(--line)); }
.chip-b { right: -10px; top: 14%; border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); animation-delay: -3s; }

/* Zahlen */
.stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats li { padding: 18px 20px; display: grid; gap: 2px; min-width: 0; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-family: var(--font-channel); font-weight: 400; font-size: clamp(20px, 2.6vw, 26px); background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 13px; }

/* Vorteile */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 16px; }
.benefit { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .15s, border-color .15s; }
.benefit:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); }
.b-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.b-icon svg { width: 22px; height: 22px; }
.benefit h3 { font-family: var(--font-handle); font-size: 18px; margin: 0 0 6px; }
.benefit p { color: var(--muted); margin: 0; }

/* Vorher / Nachher */
.compare { position: relative; height: 180px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); user-select: none; touch-action: pan-y; }
.compare-layer { position: absolute; inset: 0; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: var(--bg-2); }
.compare-after { background: color-mix(in srgb, var(--violet) 7%, var(--bg-2)); }
.ticks { position: absolute; left: 3%; right: 3%; top: 58px; bottom: 34px; }
.ticks-1 { background: repeating-linear-gradient(90deg, var(--blue) 0 2px, transparent 2px calc(100% / 40)); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--blue) 70%, transparent)); }
.ticks-8 { background: repeating-linear-gradient(90deg, var(--pink) 0 3px, transparent 3px calc(100% / 5)); opacity: .9; }
.compare-tag { position: absolute; z-index: 2; top: 14px; font-family: var(--font-handle); font-size: 14px; color: var(--soft); padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.compare-tag b { font-family: var(--font-channel); font-weight: 400; margin-right: 6px; }
.tag-before { left: 14px; } .tag-before b { color: var(--pink); }
.tag-after { right: 14px; } .tag-after b { color: var(--blue); }
.compare-axis { position: absolute; left: 3%; right: 3%; bottom: 10px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); pointer-events: none; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--fg); pointer-events: none; box-shadow: 0 0 14px var(--violet); }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--glow); border: 2px solid var(--fg); box-shadow: 0 0 18px var(--violet); }
.compare-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 2px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.vn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 16px; margin-top: 16px; }
.vn-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.vn-before { --c: var(--pink); }
.vn-after { --c: var(--blue); border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--glow) border-box; }
.vn-card .checks { flex: none; }
.xlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xlist li { position: relative; padding-left: 28px; color: var(--muted); }
.xlist li::before { content: "✕"; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--pink); border: 1px solid color-mix(in srgb, var(--pink) 60%, transparent); }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 52rem; }

/* App-Einblick mit Reitern */
.showcase { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 20px; align-items: start; }
.show-tabs { display: grid; gap: 8px; }
.show-tabs button { text-align: left; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.show-tabs button b { font-family: var(--font-handle); font-size: 16px; }
.show-tabs button span { font-size: 13px; color: var(--muted); }
.show-tabs button:hover { border-color: var(--violet); }
.show-tabs button[aria-selected="true"] { background: var(--surface-2); border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--glow) border-box; }
.more { margin: 20px 0 0; }

/* Start in 3 Schritten */
.start-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.start-steps li { counter-increment: s; position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.start-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-channel); background: var(--glow); color: #fff; box-shadow: 0 0 18px color-mix(in srgb, var(--violet) 55%, transparent); }
.start-steps h3 { font-family: var(--font-handle); font-size: 18px; margin: 4px 0 0; }
.start-steps p { color: var(--muted); margin: 0 0 6px; flex: 1; }

/* Bewertungen */
.rev-summary { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.rev-avg { font-family: var(--font-channel); font-size: 34px; line-height: 1; }
.stars { color: #ffc94d; letter-spacing: 2px; font-size: 18px; }
.reviews { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 14px; }
.review { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.review p { margin: 0; color: var(--soft); flex: 1; overflow-wrap: anywhere; white-space: pre-line; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.review-who { display: flex; align-items: center; gap: 10px; font-family: var(--font-handle); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--glow); color: #fff; font-family: var(--font-channel); font-size: 14px; }
.rev-empty { padding: 18px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--soft); margin: 0 0 16px; }
.rev-empty p { margin: 0; }
.rev-write { max-width: 40rem; }
.rev-write h3 { font-family: var(--font-handle); font-size: 18px; margin: 0 0 10px; }
.rev-write .muted { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rev-write .msg { margin: 14px 0 0; }
.field textarea { width: 100%; font: 400 15px/1.5 var(--font-body); color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; resize: vertical; min-height: 110px; }
.field textarea:focus { outline: none; border-color: var(--violet); }
.star-input { border: 0; margin: 0; padding: 0; min-width: 0; }
.star-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; transition: color .1s, transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #ffc94d; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Über mich */
.name-title { font-family: var(--font-display) !important; font-weight: 400; font-size: clamp(2.6rem, 7vw, 3.8rem) !important; line-height: 1; margin: 0 !important; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
#rilkio .lead { color: var(--soft); margin: 0 0 18px; max-width: 42rem; }
.mini-about { gap: 12px; }
.mini-about .about-card { background: var(--bg-2); padding: 16px; }
.mini-about h3 { font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 18px; font-family: var(--font-handle); font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--soft); }

/* Abschluss */
.final-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: 20px; border: 1px solid transparent; background: radial-gradient(40rem 14rem at 0% 0%, color-mix(in srgb, var(--pink) 18%, transparent), transparent 70%) padding-box, linear-gradient(var(--surface), var(--surface)) padding-box, var(--glow) border-box; }
.final-cta img { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 0 36px color-mix(in srgb, var(--violet) 55%, transparent); }
.final-cta h2 { font-family: var(--font-channel); font-weight: 400; font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 4px; }
.final-cta p { margin: 0; color: var(--soft); }

#bewertungen, #rilkio, #vorteile, #vorher-nachher, #funktionen, #start, #faq, #download, #installation { scroll-margin-top: 80px; }

@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-shot .window { transform: none; }
  .showcase { grid-template-columns: 1fr; }
  .show-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-steps { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .row { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .top-actions { margin-left: auto; }
  .konto-btn { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lp-hero .cta { justify-content: flex-start; }
  .lp-shot { margin-top: 20px; }
  .chip-a { left: 6px; bottom: -14px; } .chip-b { right: 6px; top: -14px; }
  .compare-tag { font-size: 12px; padding: 4px 9px; }
  .tag-after { top: 46px; right: 10px; } .tag-before { left: 10px; }
  .ticks { top: 86px; }
  .compare { height: 190px; }
  .show-tabs button span { display: none; }
  .home-hero .mini-about { text-align: left; }
}
@media (max-width: 420px) {
  .dl-btn span { display: none; }
  .final-cta { grid-template-columns: 1fr; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; }
  .lp-shot .window, .benefit, .star-input label { transition: none; transform: none; }
}

/* Kompaktere Karten auf dem Handy */
@media (max-width: 760px) {
  .section { padding-block: 26px; }
  .benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .benefit .b-icon { grid-row: span 2; margin: 0; }
  .benefit h3 { margin: 0; font-size: 16px; }
  .benefits { gap: 10px; }
  .start-steps { gap: 10px; }
  .start-steps li { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; padding: 14px 16px; }
  .start-steps li::before { grid-row: span 2; }
  .start-steps h3 { margin: 0; font-size: 16px; }
  .start-steps p { margin: 0; grid-column: 2; }
  .start-steps .btn { grid-column: 3; grid-row: 1 / span 2; }
  .vn-card { padding: 14px; }
  .vn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vn-card li { font-size: 13.5px; padding-left: 24px; }
  .vn-card .about-label { font-size: 10px; }
}
