/* ============================================================
   Enbound — zentrale Styles (aus enbound-landing.html extrahiert)
   Genutzt von: index.html, impressum.html, datenschutz.html, agb.html
   Design-Tokens NICHT verändern — 1:1 aus der freigegebenen Landing-Page.
   ============================================================ */

:root {
  --bg: #FAF9FD; --surface: #FFFFFF; --surface-2: #F3F1FA;
  --text: #1C1830; --text-muted: #5A5570;
  --accent: #5C4F95; --accent-strong: #4A3F7D; --accent-soft: #EDEAF7;
  --rose: #BC7E96; --rose-soft: #F7ECF1; --border: #E7E4F1;
  --shadow: 0 1px 2px rgba(28,24,48,.04), 0 12px 40px -12px rgba(92,79,149,.18);
  --shadow-soft: 0 1px 2px rgba(28,24,48,.04), 0 8px 28px -16px rgba(92,79,149,.22);
  --radius: 18px; --radius-sm: 11px; --maxw: 1120px;
}
html.dark {
  --bg: #121020; --surface: #1B1830; --surface-2: #232038;
  --text: #ECEAF6; --text-muted: #A39DBE;
  --accent: #9A89E2; --accent-strong: #B0A2EC; --accent-soft: #272247;
  --rose: #D49DB2; --rose-soft: #2C2336; --border: #2E2A48;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 50px -16px rgba(0,0,0,.55);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.3), 0 10px 32px -18px rgba(0,0,0,.5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv05" 1, "ss01" 1;
  transition: background .35s ease, color .35s ease;
}
h1, h2, h3, .display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
.eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Sichtbarer Keyboard-Fokus (a11y-Floor, alle Seiten) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15.5px; padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px rgba(92,79,149,.6); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.todo { display: inline-flex; align-items: center; gap: 6px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--rose); border: 1px dashed var(--rose); border-radius: 999px; padding: 3px 10px; background: var(--rose-soft); vertical-align: middle; }
.todo::before { content: "⚑"; font-size: 10px; }

header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
header.scrolled { border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; }
.logo { width: 30px; height: 30px; border-radius: 9px; flex: none; overflow: hidden; display: block; box-shadow: 0 4px 12px -3px rgba(92,79,149,.5); }
.logo svg { width: 100%; height: 100%; display: block; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--text-muted); font-weight: 450; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.icon-btn { height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--accent); }
.theme-toggle { width: 38px; }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
html.dark .theme-toggle .sun { display: none; }
html.dark .theme-toggle .moon { display: block; }
.lang-toggle { width: auto; padding: 0 13px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .03em; gap: 6px; }
.lang-toggle svg { width: 14px; height: 14px; color: var(--text-muted); }

.hero { padding: 76px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -180px; right: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(92,79,149,.14), transparent 62%); pointer-events: none; z-index: 0; }
html.dark .hero::before { background: radial-gradient(circle, rgba(154,137,226,.18), transparent 62%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 700; line-height: 1.04; margin: 18px 0 0; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { font-size: 18.5px; color: var(--text-muted); margin-top: 22px; max-width: 31em; }
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-muted); }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--rose); font-family: 'Space Grotesk', sans-serif; }
.mock-bar .rec .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.mock-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 332px; }
.mock-pane { padding: 16px; }
.mock-pane + .mock-pane { border-left: 1px solid var(--border); }
.pane-title { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.speaker { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px; }
.speaker.me { color: var(--accent); }
.speaker.them { color: var(--rose); }
.line { font-size: 12.5px; color: var(--text); background: var(--surface-2); border-radius: 9px; padding: 8px 11px; margin-bottom: 12px; line-height: 1.45; opacity: 0; transform: translateY(6px); }
.field { margin-bottom: 11px; opacity: 0; transform: translateY(6px); }
.field-label { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
.field-label .req { color: var(--rose); }
.field-val { font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border); border-left: 2px solid var(--border); border-radius: 8px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field.required .field-val { border-left-color: var(--rose); }
.field-val .copy { color: var(--text-muted); flex: none; }
.field-val .copy svg { width: 13px; height: 13px; display: block; }
.pill-anrede { display: inline-flex; gap: 4px; }
.pill-anrede b { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
.pill-anrede b.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.animate .line, .animate .field { animation: rise .5s cubic-bezier(.2,.7,.3,1) forwards; }
.animate .line:nth-child(2){animation-delay:.15s}
.animate .line:nth-child(3){animation-delay:.5s}
.animate .line:nth-child(4){animation-delay:.85s}
.animate .line:nth-child(5){animation-delay:1.2s}
.animate .field:nth-child(2){animation-delay:1.5s}
.animate .field:nth-child(3){animation-delay:1.68s}
.animate .field:nth-child(4){animation-delay:1.86s}
.animate .field:nth-child(5){animation-delay:2.04s}

section { padding: 84px 0; }
.sec-head { max-width: 660px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.12; margin-top: 14px; }
.sec-head p { font-size: 17px; color: var(--text-muted); margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 14.5px; color: var(--text-muted); margin-top: 9px; }

.how { background: var(--surface-2); }
html.dark .how { background: #17142a; }
.steps { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; margin-top: 52px; align-items: center; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { font-size: 14.5px; color: var(--text-muted); margin-top: 5px; }
.screenshot { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; display: grid; place-items: center; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 26px 26px; background-position: center; position: relative; }
.screenshot .ph { text-align: center; background: var(--surface); padding: 22px 26px; border-radius: 14px; border: 1px dashed var(--rose); box-shadow: var(--shadow-soft); }
.screenshot .ph .ic { color: var(--accent); margin-bottom: 8px; }
.screenshot .ph .ic svg { width: 30px; height: 30px; }
.screenshot .ph p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.price-card { max-width: 460px; margin: 52px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 36px; text-align: center; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--rose)); }
.price-card .tag { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.price-card .amount { font-family: 'Space Grotesk', sans-serif; font-size: 56px; font-weight: 700; line-height: 1; margin: 14px 0 4px; }
.price-card .amount span { font-size: 19px; font-weight: 500; color: var(--text-muted); }
.price-card .note { font-size: 14px; color: var(--text-muted); margin-bottom: 26px; }
.price-feats { text-align: left; display: grid; gap: 11px; margin: 26px 0 30px; }
.price-feats li { list-style: none; display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price-feats svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.contact-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-soft); }
.contact-box h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-box p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }
.contact-box a.mail { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: var(--accent); }
.legal-links { display: flex; flex-direction: column; gap: 12px; }
.legal-links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; transition: border-color .2s, background .2s; }
.legal-links a:hover { border-color: var(--accent); background: var(--surface-2); }
.legal-links a svg { width: 16px; height: 16px; color: var(--text-muted); }

footer { border-top: 1px solid var(--border); padding: 44px 0 36px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 17px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--text-muted); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-note { font-size: 12.5px; color: var(--text-muted); margin-top: 22px; max-width: 64em; }

/* ============================================================
   NEU für Sprint 02 — Rechtsseiten + Verbraucher-Pflichtbuttons
   ============================================================ */

/* Verbraucher-Funktionen: optisch klar vom restlichen Footer abgehoben.
   Pflicht-Gerüst (§ 312k / § 356a BGB) — Funktionslogik = Launch-Blocker. */
.consumer-strip { border-top: 1px dashed var(--rose); margin-top: 30px; padding-top: 24px; }
.consumer-strip .ce-head { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.consumer-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.consumer-btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--rose); background: var(--rose-soft); color: var(--text); cursor: pointer; transition: transform .15s ease, border-color .2s ease; }
.consumer-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.consumer-btn svg { width: 18px; height: 18px; color: var(--rose); flex: none; }
.consumer-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; max-width: 64em; }

/* Rechtsseiten-Layout */
.legal-hero { padding: 64px 0 8px; }
.legal-hero h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.06; margin-top: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; transition: color .2s; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 15px; height: 15px; }

.verbindlich { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.verbindlich svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.legal { max-width: 760px; padding: 24px 0 72px; }
.legal h2 { font-size: 23px; font-weight: 700; margin: 38px 0 10px; padding-top: 8px; }
.legal h2:first-child { margin-top: 8px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.legal p { font-size: 15px; color: var(--text); margin: 10px 0; }
.legal p.muted { color: var(--text-muted); font-size: 14px; }
.legal strong { font-weight: 600; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { font-size: 15px; margin: 6px 0; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 34px 0; }
.legal .meta-line { font-size: 13.5px; color: var(--text-muted); }
.legal .addr { line-height: 1.5; }

/* Hinweis-/Marker-Boxen, die im Quelltext als sichtbarer Block gewünscht sind
   (Editorial-Hinweise aus Rechtstexte.md, KEIN [PRÜFEN]-Inhalt). */
.legal .hinweis { background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0; font-size: 14px; color: var(--text-muted); }
.legal .hinweis strong { color: var(--text); }

@media (max-width: 880px) {
  .hero-grid, .steps, .benefits, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; } .nav-links { display: none; } .steps { gap: 32px; }
  section { padding: 64px 0; } .hero { padding: 48px 0 20px; }
}
@media (max-width: 520px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-pane + .mock-pane { border-left: none; border-top: 1px solid var(--border); }
  .price-card { padding: 32px 24px; } .hero-cta { gap: 12px; }
  .consumer-actions { flex-direction: column; } .consumer-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate .line, .animate .field { animation: none; opacity: 1; transform: none; }
  .mock-bar .rec .dot { animation: none; }
  .btn-primary:hover, .card:hover, .consumer-btn:hover { transform: none; }
}

/* ============================================================
   Druck-Styles — v. a. für die Rechtsseiten (Impressum/Datenschutz/AGB):
   sauberer Schwarz-auf-Weiß-Ausdruck, Bedien-Elemente ausgeblendet.
   ============================================================ */
@media print {
  header, footer, .consumer-strip, .back-link,
  .lang-toggle, .theme-toggle, .hero-cta { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: 100%; padding: 0 12px; }
  .legal { max-width: 100%; padding: 0; }
  .legal-hero { padding: 0 0 8px; }
  a { color: #000; text-decoration: underline; }
  /* Bei externen Links die Ziel-URL mit ausdrucken (z. B. OS-Plattform-Link im Impressum) */
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #444; word-break: break-all; }
  .verbindlich { border: 1px solid #000; color: #000; }
  .legal h2, .legal h3 { break-after: avoid; }
  .legal p, .legal li { break-inside: avoid; }
}
