/* boxmove.de – öffentliche Website. Abgeleitet vom Designsystem „Nachtflug“ (src/public/app.css):
   dunkles Hero, helle Inhaltsseiten. Keine Bibliotheken. */
:root {
  --bg: #f2f5f9; --panel: #ffffff; --panel-2: #f7f9fc;
  --line: #dde5ee; --line-strong: #b9c8d8;
  --ink: #101820; --muted: #5b6875; --faint: #8a97a5;
  --accent: #1f6fd6; --accent-2: #2f81f7; --accent-ink: #ffffff; --accent-soft: #e3efff;
  --ok: #1f8a3c; --ok-soft: #e1f5e6; --warn: #c2410c; --warn-soft: #fdecdf;
  --night: #0d1117; --night-2: #161e29; --night-ink: #e6edf3; --night-muted: #8b98a8;
  --night-line: rgba(124, 196, 255, .14); --night-accent: #7cc4ff; --night-soft: rgba(124, 196, 255, .14);
  --glow: rgba(47, 129, 247, .35);
  --radius: 14px; --radius-s: 9px;
  --font-text: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Sora', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-text); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .display { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.2; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 700; letter-spacing: -.01em; line-height: 1.08; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 4px 0; }
img, svg { max-width: 100%; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 17, 23, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--night-line); color: var(--night-ink); }
.top.light { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); color: var(--ink); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: inherit; }
.brand-stack { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.brand-claim { font-family: var(--font-text); font-style: italic; font-weight: 600; font-size: 11.5px; line-height: 1.15; letter-spacing: .002em; color: #cdd7e2; white-space: nowrap; margin-left: 23.5%; }
.top.light .brand-claim { font-family: var(--font-text); font-style: italic; font-weight: 600; font-size: 11.5px; line-height: 1.15; letter-spacing: .002em; color: #cdd7e2; white-space: nowrap; margin-left: 23.5%; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex-shrink: 0; filter: drop-shadow(0 0 10px var(--glow)); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: inherit; opacity: .78; padding: 8px 12px; border-radius: var(--radius-s); font-weight: 500; font-size: 15px; }
.nav a:hover { opacity: 1; background: var(--night-soft); text-decoration: none; }
.top.light .nav a:hover { background: var(--accent-soft); }
.nav .btn { opacity: 1; margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--night-line); color: inherit; border-radius: var(--radius-s); padding: 8px 10px; font: inherit; cursor: pointer; }
.top.light .nav-toggle { border-color: var(--line-strong); }
@media (max-width: 900px) {
  /* Mobiles Menü: Vollbild-Overlay mit weichem Grund, große Ziele, sanft eingeblendet */
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border-color: var(--night-line); }
  .burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100dvh; z-index: 60; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 88px 28px 40px; background: radial-gradient(900px 500px at 80% -10%, #17324a 0%, rgba(13,17,23,.98) 60%), rgba(13,17,23,.98); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { color: var(--night-ink); opacity: 1; font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--night-line); border-radius: 0; }
  .nav a:hover { background: none; color: var(--night-accent); }
  .nav a:last-of-type { border-bottom: 0; }
  .nav .btn { margin: 22px 0 0; font-size: 18px; padding: 16px 22px; justify-content: center; }
  .nav-close { position: absolute; top: 20px; right: 22px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--night-line); background: none; color: var(--night-ink); cursor: pointer; }
  .nav-close::before, .nav-close::after { content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .nav-close::before { transform: rotate(45deg); } .nav-close::after { transform: rotate(-45deg); }
  body.nav-offen { overflow: hidden; }
}
@media (min-width: 901px) { .nav-close { display: none; } }
}

/* ---------- Schaltflächen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; line-height: 1.3; transition: box-shadow .15s, filter .15s, background .15s; }
.btn:hover { text-decoration: none; background: var(--accent-soft); }
.btn.primary { background: linear-gradient(135deg, #7cc4ff, #2f81f7); border-color: transparent; color: #0d1117; box-shadow: 0 0 22px var(--glow); }
.btn.primary:hover { box-shadow: 0 0 30px var(--glow); filter: brightness(1.06); background: linear-gradient(135deg, #7cc4ff, #2f81f7); }
.btn.big { padding: 14px 24px; font-size: 17px; }
.btn.ghost-dark { border-color: var(--night-line); color: var(--night-ink); }
.btn.ghost-dark:hover { background: var(--night-soft); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero (dunkel) ---------- */
.hero { background: radial-gradient(1200px 600px at 20% -10%, #17324a 0%, var(--night) 55%) var(--night); color: var(--night-ink); padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(47, 129, 247, .18), transparent 70%); pointer-events: none; }
.hero .wrap > * { min-width: 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-accent); margin-bottom: 18px; }
.hero .lead { font-size: 19px; color: var(--night-muted); margin: 20px 0 30px; max-width: 54ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .cta .hint { font-size: 14px; color: var(--night-muted); flex-basis: 100%; }
.hero .cta .hint a { color: var(--night-accent); }
/* Cockpit-Vorschau: stilisiertes Panel */
.panel { background: rgba(22, 30, 41, .82); border: 1px solid var(--night-line); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); padding: 20px; color: var(--night-ink); }
.panel .ph { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--night-muted); margin-bottom: 14px; }
.panel .ph b { color: var(--night-ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--night-soft); color: var(--night-accent); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: rgba(63, 185, 80, .16); color: #3fb950; }
.ringrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.ring { position: relative; width: 120px; height: 120px; }
.ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--night-soft); stroke-width: 12; }
.ring .fill { fill: none; stroke: var(--night-accent); stroke-width: 12; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--glow)); }
.ring .center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .pct { font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1; }
.ring .lbl { font-size: 11px; color: var(--night-muted); margin-top: 4px; }
.kpis { display: grid; gap: 10px; }
.kpi .label { font-size: 11px; color: var(--night-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.kpi .value { font-family: var(--font-display); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.log { margin: 16px 0 0; padding: 12px 14px; background: #0f151d; border: 1px solid var(--night-line); border-radius: var(--radius-s); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--night-muted); overflow: hidden; white-space: pre-wrap; word-break: break-word; }
.log b { color: #3fb950; font-weight: 500; }
.log i { color: var(--night-accent); font-style: normal; }

/* ---------- Abschnitte ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.night { background: var(--night); color: var(--night-ink); }
.section .intro { max-width: 60ch; color: var(--muted); font-size: 17px; margin-top: 12px; }
.section.night .intro { color: var(--night-muted); }
.section-head { margin-bottom: 34px; }
.section-head .eyebrow { color: var(--accent); margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }
.section.night .card { background: rgba(22, 30, 41, .82); border-color: var(--night-line); }
.section.night .card .ico { background: var(--night-soft); color: var(--night-accent); }
.section.night .card p { color: var(--night-muted); }

/* Ablauf in sechs Phasen */
.phases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: phase; list-style: none; margin: 0; padding: 0; }
.phase { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; }
.phase .track { height: 6px; border-radius: 3px; background: var(--accent); margin-bottom: 12px; box-shadow: 0 0 10px var(--glow); }
.phase.late .track { background: var(--ok); box-shadow: none; }
.phase b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.phase b::before { counter-increment: phase; content: counter(phase) " "; font-family: var(--font-mono); color: var(--accent); font-size: 12px; margin-right: 4px; }
.phase span { color: var(--muted); font-size: 13px; line-height: 1.45; display: block; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.feature { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.feature .chk { width: 28px; height: 28px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.feature .chk svg { width: 16px; height: 16px; }
.feature b { display: block; font-weight: 600; margin-bottom: 2px; }
.feature span { color: var(--muted); font-size: 15px; }

/* Domain-Falle */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.flow { display: grid; gap: 10px; }
.flow .step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 12px; background: rgba(22, 30, 41, .82); border: 1px solid var(--night-line); }
.flow .step .n { width: 30px; height: 30px; border-radius: 8px; background: var(--night-soft); color: var(--night-accent); font-family: var(--font-mono); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.flow .step.bad .n { background: rgba(255, 107, 107, .18); color: #ff8a8a; }
.flow .step.good .n { background: rgba(63, 185, 80, .18); color: #3fb950; }
.flow .step b { display: block; font-weight: 600; }
.flow .step span { color: var(--night-muted); font-size: 14px; }
.note { border-radius: 12px; padding: 14px 16px; margin: 16px 0 0; font-size: 15px; }
.note.info { background: var(--night-soft); color: var(--night-ink); border: 1px solid var(--night-line); }
.note.light { background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); }
.note.warn { background: var(--warn-soft); color: var(--ink); border: 1px solid #f5d0b5; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; align-items: stretch; }
.price .ticks { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.price .ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.price .ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231f8a3c'/%3E%3Cpath d='M7 12.5l3.5 3.5L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.price .btn { align-self: flex-start; margin-top: 4px; }
.price .amount { font-size: 38px; }
.price .ticks { flex: 1 1 auto; }
.price .btn { margin-top: auto; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.price.hi { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.price .n { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--muted); }
.price .amount { font-family: var(--font-display); font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price .amount small { font-size: 14px; color: var(--muted); font-weight: 500; font-family: var(--font-text); }
.price .per { color: var(--muted); font-size: 14px; }
.price .tag { align-self: flex-start; margin-top: 8px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.price-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-extras .card p { color: var(--muted); font-size: 15px; }
.price-extras .card b.big { font-family: var(--font-display); font-size: 22px; display: block; margin-bottom: 4px; }
.price-foot { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 70ch; }

/* Für wen */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--font-display); font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Abschluss-CTA */
.final { text-align: center; padding: 80px 0; }
.final h2 { font-size: clamp(26px, 4vw, 40px); }
.final p { color: var(--night-muted); max-width: 52ch; margin: 14px auto 28px; font-size: 17px; }

/* ---------- Fußzeile ---------- */
.foot { background: var(--night); color: var(--night-muted); padding: 40px 0 36px; border-top: 1px solid var(--night-line); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { color: var(--night-ink); font-size: 17px; margin-bottom: 8px; }
.foot nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.foot nav a { color: var(--night-ink); opacity: .8; }
.foot nav a:hover { opacity: 1; }
.foot .fine { flex-basis: 100%; border-top: 1px solid var(--night-line); padding-top: 16px; margin-top: 8px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot .fine a { color: var(--night-accent); }

/* ---------- Inhaltsseiten (Impressum, AGB, Datenschutz, Kontakt) ---------- */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.doc .lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc ul, .doc ol { max-width: 72ch; }
.doc address { font-style: normal; line-height: 1.6; }
.doc .draft { background: var(--warn-soft); border: 1px solid #f5d0b5; border-radius: 12px; padding: 14px 18px; margin: 0 0 28px; color: #7c2d12; font-size: 15px; }
.doc .draft b { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.doc .todo { background: #fff3c4; color: #5c4000; padding: 1px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: .9em; border: 1px dashed #d9b400; }
.doc dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 0 0 14px; }
.doc dt { color: var(--muted); font-weight: 500; }
.doc dd { margin: 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; font-size: 15px; }
.doc th { text-align: left; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .tbl { overflow-x: auto; }
.doc .contact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.doc .contact p { margin: 10px 0 0; } .doc .contact p:first-child { margin-top: 0; }
.doc .contact .big { font-family: var(--font-display); font-size: 22px; font-weight: 600; word-break: break-all; }
.doc .meta { color: var(--muted); font-size: 14px; margin-top: 30px; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cards, .who, .price-extras { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 56px; }
  .cards, .cards.two, .who, .price-extras, .prices, .features { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .ringrow { grid-template-columns: 100px minmax(0, 1fr); }
  .hero .cta .btn { flex-grow: 1; }
  .doc dl { grid-template-columns: 1fr; gap: 2px 0; }
  .doc dt { margin-top: 10px; }
  /* Tabellen als Blöcke, Spaltenname aus data-label */
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--panel); }
  .doc td { border: 0; padding: 8px 12px; }
  .doc td + td { border-top: 1px solid var(--line); }
  .doc td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}


/* Zeitleiste „So funktioniert es“: zwei Reihen à drei Schritte, verbunden durch eine Linie */
.steps { margin-top: 8px; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.stp { position: relative; display: flex; flex-direction: column; align-items: stretch; }
.stp::before, .stp::after { content: ''; position: absolute; top: 31px; height: 3px; background: var(--line-strong); }
.stp::before { left: 0; right: calc(50% + 34px); }
.stp::after { left: calc(50% + 34px); right: -24px; }
.stp:first-child::before { display: none; }
.stp:last-child::after { display: none; }
.stp.free::before, .stp.free::after { background: var(--ok); }
.stp.free:last-child::after, .stp.free + .stp:not(.free)::before { background: var(--line-strong); }
.stp-dot { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--panel); border: 3px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(31,111,214,.15); }
.stp-dot svg { width: 26px; height: 26px; }
.stp-num { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.stp.free .stp-dot { border-color: var(--ok); color: var(--ok); box-shadow: 0 6px 18px rgba(31,138,60,.15); }
.stp.free .stp-num { background: var(--ok); }
.stp.pay .stp-dot { background: var(--accent); color: #fff; box-shadow: 0 0 0 8px var(--accent-soft); }
.stp-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; flex: 1 1 auto; }
.stp.pay .stp-card { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.stp-head h3 { margin: 0; font-size: 19px; }
.stp-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.stp-card p:last-child { margin-bottom: 0; }
.tl-tag { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.tl-tag.free { background: var(--ok-soft); color: var(--ok); }
.tl-tag.pay { background: var(--accent); color: #fff; }
.tl-note { color: var(--muted); font-size: 14px; }
.steps-turn { height: 96px; margin: -8px 0; color: var(--line-strong); }
.steps-turn svg { width: 100%; height: 100%; display: block; }
@media (max-width: 980px) { .steps-row { grid-template-columns: 1fr; gap: 18px; } .stp::before, .stp::after { display: none; } .steps-turn { display: none; } .stp { flex-direction: row; gap: 16px; align-items: flex-start; } .stp-dot { margin: 0; flex-shrink: 0; width: 52px; height: 52px; } .stp-dot svg { width: 22px; height: 22px; } }

/* ---------- Logo-Leiste ---------- */
.logos { background: var(--panel); border-bottom: 1px solid var(--line); padding: 26px 0; }
.logos-title { text-align: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.logos-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; }
.logos-row li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 15px; opacity: .85; }
.lg-word { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; }
.lg-ionos { color: #1a3e8c; } .lg-strato { color: #003a70; letter-spacing: .08em; } .lg-allinkl { color: #b32d2d; font-size: 13px; letter-spacing: .04em; } .lg-telekom { color: #e20074; } .lg-gmx { color: #1c449b; } .lg-webde { color: #ffcc00; text-shadow: 0 0 0 #a07f00; color: #a07f00; } .lg-google { color: #4285f4; } .lg-qh { color: #2a7a3b; }
.lg-ms { display: inline-grid; grid-template-columns: 8px 8px; gap: 2px; } .lg-ms i { width: 8px; height: 8px; display: block; } .lg-ms i:nth-child(1) { background: #f25022; } .lg-ms i:nth-child(2) { background: #7fba00; } .lg-ms i:nth-child(3) { background: #00a4ef; } .lg-ms i:nth-child(4) { background: #ffb900; }

/* ---------- Ablauf: Schiene und Detailansicht ---------- */
.section-head.center { text-align: center; } .section-head.center .intro { margin-left: auto; margin-right: auto; }
.rail-wrap { position: relative; margin: 36px 0 26px; }
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; position: relative; }
.rail::before { content: ''; position: absolute; left: 8.3%; right: 8.3%; top: 30px; height: 3px; background: var(--line-strong); z-index: 0; }
.rail-node { position: relative; z-index: 1; width: 100%; background: transparent; border: 0; padding: 0 4px 6px; cursor: pointer; font: inherit; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 12px; }
.rail-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--panel); border: 3px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: transform .15s, border-color .15s, box-shadow .15s; }
.rail-icon svg { width: 24px; height: 24px; }
.rail-num { position: absolute; top: -6px; left: calc(50% + 14px); width: 22px; height: 22px; border-radius: 50%; background: var(--muted); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--panel); }
.rail-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); text-align: center; }
.rail-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--muted); }
.rail-node.free .rail-icon { border-color: var(--ok); color: var(--ok); } .rail-node.free .rail-num { background: var(--ok); } .rail-node.free .rail-tag { color: var(--ok); }
.rail-node.pay .rail-icon { border-color: var(--accent); color: var(--accent); } .rail-node.pay .rail-num { background: var(--accent); } .rail-node.pay .rail-tag { color: var(--accent); }
.rail-node:hover .rail-icon { transform: translateY(-2px); }
.rail-node[aria-pressed="true"] .rail-icon { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 8px var(--accent-soft); transform: translateY(-2px); }
.rail-node.free[aria-pressed="true"] .rail-icon { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 8px var(--ok-soft); }
.rail-node:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.step-panels { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; }
.step-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.step-panel[hidden] { display: none; }
.step-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.step-text h3 { font-size: 26px; margin-bottom: 12px; }
.step-text p { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.step-screen { background: var(--night); color: var(--night-ink); border-radius: 14px; padding: 14px 16px 16px; box-shadow: 0 20px 50px rgba(13,17,23,.25); border: 1px solid var(--night-line); }
.ss-head { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 12px; color: var(--night-muted); }
.ss-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); } .ss-title { margin-left: 8px; font-weight: 600; color: var(--night-ink); }
.ss-rows { display: flex; flex-direction: column; gap: 8px; }
.ss-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: rgba(22,30,41,.9); border: 1px solid var(--night-line); border-radius: 9px; font-size: 13px; }
.ss-k { color: var(--night-muted); } .ss-v { font-family: var(--font-mono); font-size: 12.5px; text-align: right; } .ss-v.ok { color: #3fb950; } .ss-v.info { color: #7cc4ff; }
.ss-foot { margin-top: 12px; display: flex; justify-content: flex-end; }
.step-screen .tl-tag.free { background: rgba(63,185,80,.18); color: #3fb950; } .step-screen .tl-tag { background: rgba(124,196,255,.16); color: #7cc4ff; } .step-screen .tl-tag.pay { background: #2f81f7; color: #fff; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.trust-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 17px; margin-bottom: 8px; } .trust-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Zahlungslogos ---------- */
.paylogos { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; vertical-align: middle; }
.pl { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 9px; border-radius: 5px; background: #fff; border: 1px solid #d9dfe5; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .02em; color: #1a1f71; }
.pl-visa { font-style: italic; color: #1a1f71; font-size: 13px; letter-spacing: .04em; }
.pl-mc { width: 44px; padding: 0; position: relative; } .pl-mc i { position: absolute; top: 5px; width: 16px; height: 16px; border-radius: 50%; } .pl-mc i:first-child { left: 9px; background: #eb001b; } .pl-mc i:last-child { left: 19px; background: #f79e1b; opacity: .9; }
.pl-paypal { color: #003087; } .pl-paypal b { color: #009cde; font-weight: 800; }
.pl-klarna { background: #ffb3c7; border-color: #ffb3c7; color: #0b051d; }
.foot .paylogos { margin-top: 0; margin-left: 8px; } .foot .pl { height: 22px; font-size: 11px; }
@media (max-width: 980px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; } .rail::before { display: none; }
  .step-panel { grid-template-columns: 1fr; gap: 24px; } .step-panels { padding: 24px 22px; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust { grid-template-columns: 1fr; } .logos-row { gap: 10px 22px; } }

.logos-row img { display: block; height: 26px; width: auto; max-width: 150px; opacity: .85; filter: grayscale(0); }
.logos-row li img[height="34"] { height: 34px; } .logos-row li img[height="30"] { height: 30px; } .logos-row li img[height="22"] { height: 22px; } .logos-row li img[height="24"] { height: 24px; }
.paylogos img { height: 28px; width: auto; background: #fff; border: 1px solid #d9dfe5; border-radius: 5px; padding: 4px 7px; box-sizing: content-box; }
.foot .paylogos img { height: 22px; }
.rail-hint { text-align: center; color: var(--muted); font-size: 14px; margin: -6px 0 16px; }
.step-nav { display: flex; gap: 10px; margin-top: 16px; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.price .paylogos img { height: 20px; padding: 3px 6px; } .price .paylogos { gap: 6px; }

/* Tooltips auf der Logo-Leiste */
.logos-row li.tip { position: relative; cursor: help; border-radius: 8px; padding: 6px 8px; transition: background .15s; }
.logos-row li.tip:hover, .logos-row li.tip:focus-visible { background: var(--accent-soft); outline: none; }
.logos-row li.tip:hover img, .logos-row li.tip:focus-visible img { opacity: 1; }
.tipbox { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: 240px; background: var(--night); color: var(--night-ink); border: 1px solid var(--night-line); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; box-shadow: 0 16px 40px rgba(13,17,23,.3); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 30; }
.tipbox::before { content: ''; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; background: var(--night); border-left: 1px solid var(--night-line); border-top: 1px solid var(--night-line); transform: translateX(-50%) rotate(45deg); }
.tipbox b { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 2px; color: #fff; }
.logos-row li.tip:hover .tipbox, .logos-row li.tip:focus-visible .tipbox { opacity: 1; transform: translateX(-50%) translateY(0); }
.logos { overflow: visible; position: relative; z-index: 5; }
.logos-row { gap: 8px 18px; } .logos-row li.tip { padding: 6px 6px; } .logos-row img[alt="Google Workspace"] { height: 22px; }

/* Vertrauensleiste im Hero und Flagge */
.trustbar { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trustbar li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--night-ink); }
.trustbar svg { width: 18px; height: 18px; color: var(--night-accent); }
.flag { display: inline-block; width: 20px; height: 14px; border-radius: 2px; background: linear-gradient(to bottom, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag.big { width: 24px; height: 16px; }
.trust.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item .ico .flag { box-shadow: none; }
@media (max-width: 980px) { .trust.six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .trust.six { grid-template-columns: 1fr; } .trustbar { gap: 8px 16px; } }

/* ---------- Rechtliche Dokumente: Kopfband, Seitennavigation, Inhaltsleiste ---------- */
.legal-hero { background: var(--night); color: var(--night-ink); padding: 52px 0 40px; }
.legal-hero .eyebrow { color: var(--night-accent); }
.legal-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.legal-sub { color: var(--night-muted); font-size: 17px; max-width: 70ch; margin: 0 0 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: rgba(124,196,255,.12); border: 1px solid var(--night-line); color: var(--night-ink); font-size: 13px; font-weight: 500; }
.legal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.legal { padding: 40px 0 80px; }
.legal-grid { max-width: 1120px; display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; gap: 28px; align-items: start; }
.legal-nav, .legal-toc { position: sticky; top: 88px; font-size: 14px; }
.legal-nav-title { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.legal-nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.legal-nav a:hover { color: var(--ink); background: var(--accent-soft); }
.legal-nav a.active { color: var(--accent); font-weight: 600; background: var(--accent-soft); border-left-color: var(--accent); }
.legal-nav .legal-nav-title + a { margin-top: 2px; } .legal-nav .legal-nav-title:not(:first-child) { margin-top: 22px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.legal-toc li a { display: block; padding: 6px 12px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.legal-toc li a:hover { color: var(--ink); }
.legal-toc li a.active { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.legal-body { min-width: 0; }
.legal-body.doc { padding: 0; }
.legal-body.doc .wrap { max-width: none; }
.legal-section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px; scroll-margin-top: 90px; }
.legal-section h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 21px; }
.legal-section.anlage { border-left: 4px solid var(--accent); }
.legal-section.anlage h2 { color: var(--accent); }
.legal-body .doc h2.anlage, .legal-section h2.anlage { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 16px; margin: 20px 0 6px; }
.legal-body h4 { font-size: 15px; margin: 14px 0 6px; }
.legal-body p, .legal-body ul, .legal-body ol { max-width: none; font-size: 15px; line-height: 1.65; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 8px; }
.legal-body th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-body td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sign-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.sign-line { border-bottom: 1px solid var(--ink); height: 44px; }
.sign-label { font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 1100px) { .legal-grid { grid-template-columns: minmax(0, 1fr) 220px; } .legal-nav { display: none; } }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; margin-bottom: 8px; } .legal-section { padding: 20px 18px; } .sign-grid { grid-template-columns: 1fr; } }
@media print {
  .top, .foot, .legal-nav, .legal-toc, .legal-actions, .skip { display: none !important; }
  .legal-hero { background: #fff; color: #000; padding: 0 0 12px; } .legal-hero .eyebrow, .legal-sub { color: #444; } .chip { border-color: #999; background: #fff; color: #000; }
  .legal-grid { display: block; } .legal-section { border: 0; padding: 0; margin: 0 0 18px; break-inside: avoid; } .legal-section.anlage { border-left: 0; }
  body { font-size: 12px; } .legal-body p, .legal-body ul, .legal-body ol { font-size: 12px; }
}

/* Marken-Logo (Bilddatei) in Kopf, Fußzeile und Rechts-Hero */
.brand .logo { height: 36px; width: auto; display: block; }
.foot .brand .logo { height: 36px; }
.legal-hero .brand .logo { height: 48px; }
.brand { gap: 0; }
@media (max-width: 640px) { .brand .logo { height: 32px; } }

/* „Entwickelt mit Herz in Osnabrück“ */
.herz { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; color: #ff5470; animation: herzschlag 2.4s ease-in-out infinite; }
@keyframes herzschlag { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.22); } 16% { transform: scale(1); } 24% { transform: scale(1.16); } 32% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .herz { animation: none; } }

/* Auf schmalen Bildschirmen erscheint die Anbieter-Erklärung als Hinweis am unteren Rand statt neben dem Logo */
@media (max-width: 640px) {
  .tipbox { position: fixed; left: 16px; right: 16px; bottom: 16px; top: auto; width: auto; transform: translateY(8px); text-align: center; }
  .tipbox::before { display: none; }
  .logos-row li.tip:hover .tipbox, .logos-row li.tip:focus-visible .tipbox { transform: none; }
}
