:root { font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif; --acc: #bfa8f5; --on-acc: #171717; --maxw: 1160px; }
[data-theme="dark"] { --bg: #090a08; --bg2: #0f110d; --surface: #1c1f1a; --text: #f4efe7; --dim: #b8b1a3; --acc-ink: #bfa8f5; --line: rgba(244,239,231,.16); --panel: #1e1535; --grid: rgba(244,239,231,.05); --hero-grad: linear-gradient(150deg,#1e1535 0%,#141610 100%); }
[data-theme="light"] { --bg: #ede5d8; --bg2: #f4efe7; --surface: #fffaf4; --text: #171717; --dim: #55504a; --acc-ink: #65488c; --line: rgba(23,23,23,.16); --panel: #bfa8f5; --grid: rgba(23,23,23,.05); --hero-grad: linear-gradient(150deg,#ddd2ee 0%,#ede5d8 60%,#f4efe7 100%); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; font-weight: 800; letter-spacing: -.025em; line-height: 1.06; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--acc-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.lead { font-size: 1.2rem; color: var(--dim); margin-top: 20px; max-width: 34em; }
.note { color: var(--dim); font-size: .92rem; margin-top: 18px; max-width: 62ch; }
.sec-lead { color: var(--dim); margin-top: 14px; max-width: 62ch; }


header.site { border-bottom: 1px solid var(--line); }
.site-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--acc-ink); }
header.site nav { display: flex; gap: 22px; margin-left: auto; font-size: .96rem; }
header.site nav a { text-decoration: none; color: var(--dim); padding: 8px 0; }
header.site nav a:hover { color: var(--text); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 12px; background: var(--acc); color: var(--on-acc); font-weight: 700; text-decoration: none; }
.btn:hover { background: #cdbbf8; }
.btn.small { min-height: 40px; padding: 6px 16px; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--acc-ink); background: transparent; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--acc-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Telefon */
.phone { width: 100%; border-radius: 13% / 6%; box-shadow: 0 0 0 6px #17151f, 0 0 0 7px rgba(255,255,255,.14), 0 24px 50px rgba(10,6,25,.32); background: #f3efe8; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-vis { position: relative; min-width: 0; }
.fan { position: relative; height: 560px; }
.fan .phone { position: absolute; width: 228px; top: 30px; left: 50%; }
.fan.n3 .f0 { transform: translateX(-125%) rotate(-7deg); top: 52px; }
.fan.n3 .f1 { transform: translateX(-50%); z-index: 2; top: 10px; width: 250px; }
.fan.n3 .f2 { transform: translateX(25%) rotate(7deg); top: 52px; }
.fan.n2 .f0 { transform: translateX(-82%) rotate(-4deg); z-index: 2; }
.fan.n2 .f1 { transform: translateX(-12%) rotate(5deg); top: 56px; }
.price-hero { padding-bottom: 56px; }

/* Sheet zu App */
.stage { position: relative; margin: 36px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 96px; align-items: center; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.links path { fill: none; stroke: var(--acc-ink); stroke-width: 2; }
.links circle { fill: var(--acc-ink); }
.stage figcaption { grid-column: 1 / -1; color: var(--dim); font-size: .92rem; }
.sheet { background: #fff; color: #171717; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 18px 40px rgba(10,6,25,.2); font-size: .86rem; }
.sheet-title { padding: 9px 12px; background: #f1ede6; font-weight: 700; border-bottom: 1px solid #d9d4cb; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { border: 1px solid #e3ded5; padding: 10px 8px; text-align: left; white-space: nowrap; font-weight: 400; }
.sheet thead th { background: #faf7f2; color: #55504a; font-weight: 700; }
.sheet tbody th { font-weight: 700; white-space: normal; }
.sheet tbody tr { background: #f4effd; }
.stage > * { min-width: 0; max-width: 100%; }
.drop { display: none; }
.hero.home .hero-grid { grid-template-columns: .85fr 1.15fr; }
.only-a .stage { grid-template-columns: minmax(0, 1fr) 200px; gap: 56px; margin: 0; }
.only-a .sheet { font-size: .72rem; }
.only-a .sheet th, .only-a .sheet td { padding: 7px 5px; }

/* Faden und Reihen */
.threaded { padding: 24px 0 72px; }
.thread { position: relative; }
.row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; padding: 44px 0; }
.row.flip .row-text { order: 2; }
.row-text p, .row-text ul { color: var(--dim); margin-top: 14px; max-width: 32em; font-size: 1.08rem; }
.shot { position: relative; }
.shot .phone { width: min(270px, 74%); margin-inline: auto; }

/* Bänder */
.band { padding: 80px 0; position: relative; }
.band.alt { background: var(--bg2); }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; color: var(--dim); }
.ticks li { padding: 5px 0 5px 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.auds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.aud { display: block; text-decoration: none; background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.aud:hover { box-shadow: 0 0 0 2px var(--acc-ink); }
.aud-img { height: 230px; overflow: hidden; margin: -22px -22px 20px; padding: 24px 22% 0; background: var(--panel); border-radius: 18px 18px 0 0; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 0; padding: 0; position: relative; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: s; position: relative; padding: 58px 24px 0 0; color: var(--dim); }
.steps li h3 { color: var(--text); margin-bottom: 6px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--acc); color: var(--on-acc); font-weight: 800; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: var(--acc-ink); opacity: .55; }
.steps li:last-child::after { display: none; }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.way { display: block; text-decoration: none; background: var(--surface); padding: 28px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); color: var(--dim); }
.way:hover { box-shadow: 0 0 0 2px var(--acc-ink); }
.way h3, .price h3 { color: var(--text); }
.amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 8px 0; }
.amount small { font-size: .95rem; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.way-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bg2); box-shadow: 0 0 0 1px var(--line); margin-top: 32px; flex-wrap: wrap; }
.way-switch button { font: inherit; font-weight: 700; min-height: 46px; padding: 8px 20px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.way-switch button[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.price { background: var(--surface); padding: 26px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); color: var(--dim); }
.faq { margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 4px; min-height: 48px; }
.faq details p { color: var(--dim); padding: 0 4px 18px; }
.compare { width: 100%; border-collapse: collapse; margin-top: 28px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.compare td { color: var(--dim); }
.compare tbody th { font-weight: 700; width: 46%; }

/* Abschluss und Fuß */
.closing { background: var(--bg2); overflow: hidden; }
.closing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.closing-grid > div:first-child { padding: 72px 0; }
.closing p { color: var(--dim); margin-top: 14px; max-width: 34em; }
.closing-phones { display: flex; gap: 22px; height: 340px; align-self: end; padding-top: 40px; overflow: hidden; }
.closing-phones .phone { width: 190px; flex: none; }
.closing-phones .phone:last-child { margin-top: 44px; }
footer.site { padding: 44px 0 90px; color: var(--dim); font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.foot p { margin-top: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 520px; }
.stickybar { display: none; }

/* Richtung A: ein Faden läuft durch die Reihen */
.hero.home .fan { display: none; }

/* Richtung B: Tabellenraster, Lavendel-Flächen greifen ineinander */
.threaded { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 96px 48px; background-position: center top; background-color: var(--bg); }
.fan::before { content: ""; position: absolute; inset: 60px 0 0; background: var(--acc); border-radius: 28px; }
.row { gap: 64px; padding: 0; }
.row + .row { margin-top: -56px; }
.shot { background: var(--acc); border-radius: 28px; height: 500px; overflow: hidden; padding-top: 44px; }
.row:nth-child(even) .shot { background: #d9ccf7; }
.threaded { padding: 40px 0 88px; }
.row-text { background: var(--bg); padding: 16px 0; }

@media (max-width: 960px) {
  header.site nav { display: none; }
  .btn.small { margin-left: auto; }
  .hero { padding: 44px 0 56px; }
  .hero.home .hero-grid, .hero-grid, .row, .row { grid-template-columns: 1fr; gap: 28px; }
  .row.flip .row-text { order: 0; }
  .fan { height: 390px; }
  .fan .phone { width: 148px; }
  .hero { overflow: hidden; }
  .fan.n3 .f1 { width: 168px; }
  .only-a .stage, .stage { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; }
  .drop { display: block; width: 2px; height: 40px; background: var(--acc-ink); }
  .stage figcaption { margin-top: 18px; }
  .only-a .stage .sheet, .stage .sheet { width: 100%; overflow-x: auto; }
  .stage-phone { width: 200px; }
  .stage figcaption { justify-self: start; }
  .auds, .two-ways, .prices, .closing-grid { grid-template-columns: 1fr; }
  .steps, .steps.three { grid-template-columns: 1fr; margin-left: 0; }
  .steps li { padding: 8px 0 26px 58px; }
  .steps li::after { top: 40px; left: 19px; right: auto; bottom: 0; width: 2px; height: auto; }
  .closing-grid > div:first-child { padding: 56px 0 0; }
  .closing-phones { justify-content: center; height: 300px; padding-top: 0; }
  .row + .row { margin-top: 36px; }
  .shot { height: 430px; }
  .stickybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px; background: var(--bg); border-top: 1px solid var(--line); }
  .stickybar .btn { width: 100%; }
}
@media (max-width: 620px) {
  .pv p { width: 100%; }
  .pv { position: static; }
  body { font-size: 16px; }
  .sheet table { min-width: 460px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero.home h1 { font-size: clamp(2.5rem, 4.3vw, 3.5rem); }

.imgnote { color: var(--dim); font-size: .88rem; margin-top: 14px; text-align: center; position: relative; }

.hero { background: var(--hero-grad); }
.theme-btn { font: inherit; font-size: .92rem; min-height: 40px; padding: 6px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn:hover { border-color: var(--acc-ink); }
.variant { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; }
@media (max-width: 960px) { .theme-btn { margin-left: auto; } .theme-btn + .btn.small { margin-left: 0; } }

/* Tokens der bisherigen Startseite für Zugang und Einwilligung */
:root { --accent: var(--acc); --text-dim: var(--dim); --border: var(--line); --border-strong: var(--line); --radius: 14px; --radius-sm: 10px; }
.access-card { display:flex; flex-direction:column; gap:18px; position:relative; overflow:hidden; }
.access-card .pill { align-self:flex-start; }
.access-card h3 { font-size:1.5rem; }
.access-card p { flex:1; }
.access-card .btn { justify-content:center; white-space:normal; text-align:center; min-height:48px; }
.access-secondary { font-size:14px; text-decoration:underline; text-underline-offset:4px; min-height:32px; }
.access-mail { display:grid; grid-template-columns:1fr 1.2fr; gap:40px; margin-top:24px; padding:36px; border:1px solid var(--border-strong); border-radius:var(--radius-lg); background:var(--bg-2); }
.access-mail[hidden] { display:none; }
.access-mail h3 { font-size:1.6rem; margin:10px 0 14px; }
.access-mail p { color:var(--text-dim); }
.access-form { display:flex; flex-direction:column; gap:16px; min-width:0; }
.access-fields { display:grid; grid-template-columns:1.5fr 1fr; gap:12px; }
.access-fields > div { min-width:0; }
.access-form label { display:block; font-size:14px; margin-bottom:6px; }
.access-form input,.access-form select { width:100%; min-height:48px; padding:10px 12px; border:1px solid var(--text-dim); border-radius:var(--radius-sm); background:var(--surface); color:var(--text); font-size:16px; }
.access-form .btn { align-self:flex-start; white-space:normal; min-height:48px; }
.access-form p { font-size:13px; line-height:1.6; }
.access-form a { text-decoration:underline; }
#app-link-message { min-height:2em; color:var(--text); }
.analytics-consent { position:fixed; right:20px; bottom:76px; z-index:220; width:min(460px,calc(100vw - 40px)); padding:20px; border:1px solid var(--border-strong); border-radius:var(--radius); background:var(--surface); box-shadow:0 20px 60px rgba(0,0,0,.28); }
.analytics-preferences { position:fixed; right:20px; bottom:20px; z-index:220; min-height:42px; padding:10px 16px; border:1px solid var(--border-strong); border-radius:999px; background:var(--surface); color:var(--text); box-shadow:0 10px 30px rgba(0,0,0,.18); cursor:pointer; }
.analytics-consent h2 { font-size:1.1rem; margin-bottom:8px; }
.analytics-consent p { color:var(--text-dim); font-size:14px; }
.analytics-consent strong { color:var(--text); }
.analytics-consent a { color:var(--text); text-decoration:underline; text-underline-offset:3px; }
.analytics-consent div { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.analytics-consent button { min-height:42px; padding:10px 16px; border:1px solid var(--accent); border-radius:999px; background:transparent; color:var(--text); cursor:pointer; font-weight:600; }
.analytics-consent button[data-choice="allow"] { background:var(--accent); color:#090a08; }
@media(max-width:800px) { .access-mail { grid-template-columns:1fr; gap:24px; padding:24px; } }
@media(max-width:420px) { .access-fields { grid-template-columns:1fr; } }

.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.access-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--surface); padding: 26px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); color: var(--dim); }
.access-card h3 { color: var(--text); }
.access-card .btn { margin-top: auto; }
.access-secondary { text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--bg2); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.btn-primary { background: var(--acc); color: var(--on-acc); }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--acc-ink); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 60; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; }
.menu { display: none; position: relative; margin-left: 4px; }
.menu summary { list-style: none; cursor: pointer; min-height: 40px; padding: 8px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: .92rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 48px; z-index: 30; display: grid; gap: 2px; min-width: 200px; padding: 10px; background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 16px 34px rgba(10,6,25,.3); }
.menu nav a { padding: 10px 12px; text-decoration: none; }
.hero.home .fan { display: none; }
main:focus { outline: none; }
@media (max-width: 960px) {
  .menu { display: block; }
  .access-grid { grid-template-columns: 1fr; }
  .btn.small { display: none; }
  .theme-btn { margin-left: auto; }
}

#zugang { padding: 80px 0; }
#zugang .container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
#zugang .section-head .lead { font-size: 1.05rem; margin-top: 14px; }
