/* Layout: App-Blau als Leitfarbe (wie das App-Icon), Schichten in Pastell (Früh/Spät/Nacht), Bereiche je eigene Farbe */
:root {
  --bg: #f4f8fe; --surface: #ffffff; --ink: #14203a; --muted: #4f5d7a; --line: #d3e1f5;
  --accent: #1d6fe0; --accent-soft: #dcebff; --accent-mid: #5d9cf2; --on-accent: #ffffff; --hero-top: #d6e8ff;
  --frueh: #ffe3a3; --on-frueh: #7a4f00; --spaet: #ffd2c7; --on-spaet: #a3361f; --nacht: #d9dbff; --on-nacht: #3a3fa0;
  --frei: #eef3fb; --feiertag: #e0504a; --urlaub: #1f9e6b; --night-deep: #3b46b0;
  --c1: #1d6fe0; --c1-bg: #dcebff; --c2: #0f9488; --c2-bg: #d3f4ef; --c3: #1f9e6b; --c3-bg: #d8f5e6;
  --c4: #c97a00; --c4-bg: #ffefcc; --c5: #d94a3d; --c5-bg: #ffe0db; --c6: #6a4fd0; --c6-bg: #e9e2ff;
  --phone: #10131d;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1424; --surface: #151f35; --ink: #e8eef9; --muted: #9eabc6; --line: #26344f;
    --accent: #6aa8ff; --accent-soft: #1a2c4f; --accent-mid: #3f78d0; --on-accent: #0d1424; --hero-top: #142a52;
    --frueh: #4a3a14; --on-frueh: #ffd77a; --spaet: #4d2620; --on-spaet: #ffb3a3; --nacht: #2a2d5c; --on-nacht: #c3c6ff;
    --frei: #1b2640; --feiertag: #ff7a72; --urlaub: #45c98f; --night-deep: #5560d0;
    --c1: #6aa8ff; --c1-bg: #1a2c4f; --c2: #4fd1c2; --c2-bg: #123a3a; --c3: #45c98f; --c3-bg: #143a2a;
    --c4: #f2b54a; --c4-bg: #3d2f12; --c5: #ff8a7d; --c5-bg: #42201d; --c6: #a996ff; --c6-bg: #2a2350;
    --phone: #05070d; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1424; --surface: #151f35; --ink: #e8eef9; --muted: #9eabc6; --line: #26344f;
  --accent: #6aa8ff; --accent-soft: #1a2c4f; --accent-mid: #3f78d0; --on-accent: #0d1424; --hero-top: #142a52;
  --frueh: #4a3a14; --on-frueh: #ffd77a; --spaet: #4d2620; --on-spaet: #ffb3a3; --nacht: #2a2d5c; --on-nacht: #c3c6ff;
  --frei: #1b2640; --feiertag: #ff7a72; --urlaub: #45c98f; --night-deep: #5560d0;
  --c1: #6aa8ff; --c1-bg: #1a2c4f; --c2: #4fd1c2; --c2-bg: #123a3a; --c3: #45c98f; --c3-bg: #143a2a;
  --c4: #f2b54a; --c4-bg: #3d2f12; --c5: #ff8a7d; --c5-bg: #42201d; --c6: #a996ff; --c6-bg: #2a2350;
  --phone: #05070d; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lead { color: var(--muted); max-width: 60ch; }
section { padding-block: 72px; }

/* Kopfleiste */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand-icon { width: 34px; height: 34px; border-radius: 50%; flex: none; }
nav.main { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.main a:hover { color: var(--ink); }
@media (max-width: 720px) { nav.main { display: none; } }

/* Hero */
.shot { display: block; width: min(330px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(31,58,122,.28)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero { padding-block: 64px 48px; background: linear-gradient(180deg, var(--hero-top), var(--bg)); }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .75; line-height: 1.1; }
.btn svg { width: 22px; height: 22px; flex: none; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.facts b { display: block; font-family: var(--display); font-size: 24px; color: var(--ink); }
@media (max-width: 860px) { .shot { display: block; width: min(330px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(31,58,122,.28)); }
.hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Handy */
.phone { width: min(340px, 100%); margin: 0 auto; background: var(--phone); border-radius: 42px; padding: 12px; box-shadow: 0 30px 60px -25px rgba(20,26,46,.45); }
.screen { background: var(--surface); border-radius: 32px; overflow: hidden; padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.scr-head { display: flex; justify-content: space-between; align-items: baseline; padding-inline: 4px; }
.scr-head b { font-family: var(--display); font-size: 20px; }
.scr-head span { font-size: 13px; color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font-size: 11px; text-align: center; color: var(--muted); font-weight: 600; }
.day { aspect-ratio: 1 / 1.15; border-radius: 7px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; font-size: 11px; padding: 3px 4px; color: var(--ink); max-width: 100%; }
.day .k { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.day.F, .day.S, .day.N { background: var(--shift); box-shadow: none; }
.day .k { color: var(--accent); font-weight: 500; }
.day.today { box-shadow: 0 0 0 2px var(--ink); }
.day.ft::after { content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--feiertag); box-shadow: 0 0 0 1.5px var(--surface); }
.day.empty { background: transparent; box-shadow: none; }
.result { background: var(--accent-soft); border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.result .lbl { font-size: 12px; color: var(--muted); }
.result .val { font-family: var(--mono); font-size: 17px; font-variant-numeric: tabular-nums; }
.result .net { font-size: 22px; color: var(--accent); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding-inline: 4px; }
.legend b { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.note { font-size: 12px; color: var(--muted); text-align: center; }

/* Nachtschicht-Streifen */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.night { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.night .text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 860px) { .night { grid-template-columns: 1fr; } }
.timeline { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bar { display: grid; grid-template-columns: 2fr 4fr 2fr; height: 64px; border-radius: 12px; overflow: hidden; }
.seg { display: flex; flex-direction: column; justify-content: center; padding-inline: 12px; color: var(--on-nacht); font-weight: 700; min-width: 0; }
.seg span { font-family: var(--mono); font-weight: 500; font-size: 12px; opacity: .85; }
.seg.z25 { background: var(--accent-mid); color: #fff; }
.seg.z40 { background: var(--night-deep); color: #fff; }
.ticks { display: grid; grid-template-columns: repeat(8, 1fr); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ticks span:last-child { text-align: right; }
.calc { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.calc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.calc td, .calc th { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.calc th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.calc td.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.calc tr:last-child td { border-bottom: 0; font-weight: 700; }

/* Funktionen */
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.area { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.area-head { display: flex; align-items: center; gap: 12px; }
.chip { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c1-bg); color: var(--c1); flex: none; }
.area:nth-child(2) .chip { background: var(--c2-bg); color: var(--c2); }
.area:nth-child(3) .chip { background: var(--c3-bg); color: var(--c3); }
.area:nth-child(4) .chip { background: var(--c4-bg); color: var(--c4); }
.area:nth-child(5) .chip { background: var(--c5-bg); color: var(--c5); }
.area:nth-child(6) .chip { background: var(--c6-bg); color: var(--c6); }
.chip svg { width: 18px; height: 18px; }
.area ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 16px; }
.area li { padding-left: 16px; position: relative; }
.area li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--line); }
.tag { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: var(--frei); color: var(--muted); margin-left: 4px; white-space: nowrap; }

/* Neu in 3.0 */
.new { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
@media (max-width: 860px) { .new { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature.big { grid-row: span 2; }
.feature p { color: var(--muted); }
.feature .eyebrow { color: var(--accent); }
.bridge { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 6px; }
.bd { border-radius: 8px; padding: 8px 2px 6px; text-align: center; font-size: 12px; background: var(--frei); color: var(--muted); border: 1px solid transparent; }
.bd b { display: block; font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--ink); }
.bd.ft { background: transparent; border-color: var(--feiertag); }
.bd.ft b { color: var(--feiertag); }
.bd.u { background: var(--urlaub); color: var(--on-accent); }
.bd.u b { color: var(--on-accent); }
.bridge-sum { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-size: 26px; font-weight: 800; }
.bridge-sum .arrow { color: var(--muted); font-weight: 500; }
.bridge-sum .gain { color: var(--urlaub); }
.bridge-key { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.bridge-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.small-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 520px) { .bd { font-size: 10px; } .bd b { font-size: 13px; } }

/* WebSync */
.sync { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .sync { grid-template-columns: 1fr; } }
.sync .text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pair { display: flex; flex-direction: column; gap: 10px; }
.prow { display: grid; grid-template-columns: 76px repeat(7, 1fr); gap: 4px; align-items: center; }
.prow .who { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.prow .who i { width: 10px; height: 10px; border-radius: 50%; }
.prow .c { height: 38px; border-radius: 8px; background: var(--frei); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.prow .c.F { background: var(--frueh); color: var(--on-frueh); } .prow .c.S { background: var(--spaet); color: var(--on-spaet); } .prow .c.N { background: var(--nacht); color: var(--on-nacht); }
.prow .c.both { box-shadow: inset 0 0 0 2px var(--urlaub); color: var(--urlaub); background: transparent; }
.prow.h .c { background: transparent; height: auto; color: var(--muted); font-family: var(--body); font-weight: 600; }

/* Berechnung */
.calc-sec .sec-head { margin-bottom: 32px; }
h2.big { font-size: clamp(36px, 5.4vw, 58px); }
h3.mid { font-size: clamp(22px, 2.6vw, 28px); }
.flow { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.flow li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.flow li p { color: var(--muted); font-size: 16px; }
.flow .step { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 14px; background: var(--accent-soft); color: var(--accent); }
.flow li.end { background: linear-gradient(135deg, var(--accent), var(--night-deep)); border-color: transparent; color: #fff; }
.flow li.end p { color: rgba(255,255,255,.88); }
.flow li.end .step { background: rgba(255,255,255,.2); color: #fff; }
.flow li:not(.end)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--accent); display: grid; place-items: center; font-size: 14px; z-index: 1; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 760px) { .flow li:not(.end)::after { content: "↓"; right: 50%; top: auto; bottom: -14px; transform: translateX(50%); } }
.proof { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.proof b { display: block; color: var(--ink); font-family: var(--display); font-size: 20px; }
.duo-sec { padding-block: 72px; }

/* Ein Schichtplan für zwei */
.duo { background: linear-gradient(135deg, var(--accent), var(--night-deep)); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; gap: 32px; } }
.duo-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.duo .eyebrow { color: rgba(255,255,255,.75); }
.duo h2 { font-size: clamp(34px, 5vw, 52px); }
.duo-text > p { font-size: 18px; color: rgba(255,255,255,.9); max-width: 52ch; }
.duo-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
@media (max-width: 520px) { .duo-points { grid-template-columns: 1fr; } }
.duo-points li { font-size: 15px; color: rgba(255,255,255,.82); padding-top: 12px; border-top: 1px solid rgba(255,255,255,.25); }
.duo-points b { display: block; color: #fff; font-size: 16px; }
.duo-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: 0 24px 48px -20px rgba(10,20,60,.5); }
.duo-card-head { display: flex; justify-content: space-between; align-items: baseline; }
.duo-card-head b { font-family: var(--display); font-size: 20px; }
.duo-card-head span { color: var(--muted); font-size: 14px; }
.duo-hint { font-size: 14px; color: var(--urlaub); font-weight: 600; }

/* Screenshots */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.gal-item { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.gal-item img, .gal-item .ph { width: 100%; aspect-ratio: 423 / 879; height: auto; }
.gal-item img { object-fit: contain; filter: drop-shadow(0 16px 28px rgba(31,58,122,.22)); }
.gal-item .ph { border: 2px dashed var(--line); border-radius: 36px; display: grid; place-items: center; color: var(--muted); font-size: 14px; background: var(--bg); }
.gal-item figcaption { font-size: 14px; color: var(--muted); }
.gal-item figcaption b { display: block; color: var(--ink); font-size: 16px; }

/* Hilfe & Fuß */
.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.help a { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); }
.help a:hover { border-color: var(--accent); }
.help a span { color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--muted); }

.draft { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; padding-block: 6px; }

/* ---------- Mehrseitig ---------- */
nav.main a[aria-current="page"] { color: var(--accent); }
.more { font-weight: 700; text-decoration: none; color: var(--accent); }
.more:hover { text-decoration: underline; }

/* Zahlen-Leiste */
.trust { padding-block: 0 8px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .trust-row { grid-template-columns: 1fr 1fr; } }
.trust-row b { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); }
.trust-row .star { color: var(--c4); }

/* Berechnung auf der Startseite */
.calc-teaser { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.calc-teaser .text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 760px) { .calc-teaser { grid-template-columns: 1fr; } }
.shot.small { width: min(260px, 100%); }

/* Datenschutz */
.privacy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid .sec-head { margin-bottom: 0; }
.privacy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.privacy-points li { color: var(--muted); padding-left: 36px; position: relative; }
.privacy-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--c3-bg); color: var(--c3); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.privacy-points b { display: block; color: var(--ink); font-size: 18px; }

/* Häufige Fragen */
.faq-short { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .faq-short { grid-template-columns: 1fr; } }
.faq-short .sec-head { margin-bottom: 0; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 18px; color: var(--muted); max-width: 68ch; }
.faq-a p { margin: 0 0 8px; }
.menupath { font-weight: 600; color: var(--ink); }
.faq-page { display: flex; flex-direction: column; gap: 48px; }
.faq-group h2 { font-size: 26px; margin-bottom: 12px; }
.faq-search { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.faq-search input { font: inherit; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.faq-search input:focus { outline: none; border-color: var(--accent); }

/* Abschluss */
.final-box { background: linear-gradient(135deg, var(--accent), var(--night-deep)); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 48px); display: flex; gap: 24px 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.final-box h2 { color: #fff; }
.final-box p { color: rgba(255,255,255,.88); margin-top: 8px; max-width: 48ch; }
.btn.light { background: #fff; color: var(--accent); border-color: #fff; }
.final-box .btn:not(.light), .price.main .btn:not(.light) { color: #fff; border-color: rgba(255,255,255,.7); }

/* Unterseiten */
.page-head { padding-block: 56px 48px; background: linear-gradient(180deg, var(--hero-top), var(--bg)); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }

/* Abrechnung */
.slip-pair { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
@media (max-width: 860px) { .slip-pair { grid-template-columns: 1fr; } }
.slip { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; box-shadow: 0 18px 40px -24px rgba(20,32,58,.35); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.slip-stamp { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--c5); border: 1.5px solid var(--c5); border-radius: 6px; padding: 3px 8px; transform: rotate(3deg); background: var(--surface); }
.slip-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--ink); padding-top: 18px; }
.slip-head span { display: block; color: var(--muted); font-size: 14px; }
.slip-head .r { text-align: right; }
.slip .calc { margin-top: 0; border: 0; }
.slip .calc td, .slip .calc th { padding: 7px 8px; }
.slip .calc td.m { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.slip-note { font-size: 13px; color: var(--muted); }
.calc tr.sum td { font-weight: 700; border-top: 1.5px solid var(--ink); }
.calc tr.total td { font-size: 17px; color: var(--accent); }
.calc tr:last-child td { border-bottom: 0; }
.compare { margin-top: 32px; background: var(--surface); }
.compare td.ok, .compare td.c.ok { color: var(--urlaub); font-weight: 700; text-align: center; }
.compare td.c { text-align: center; }
.compare td.no { color: var(--muted); }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: s; max-width: 860px; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 40px 64px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 16px; }
.steps > li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li p { color: var(--muted); max-width: 68ch; }
.steps > li p b { color: var(--ink); }
.steps .calc { margin-top: 0; background: var(--surface); }
.payout { display: inline-flex; align-items: baseline; gap: 16px; padding: 16px 22px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--night-deep)); color: #fff; align-self: flex-start; flex-wrap: wrap; }
.payout b { font-family: var(--display); font-size: 32px; }
@media (max-width: 520px) { .steps > li { padding-left: 52px; } }

.soon { border: 2px dashed var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }

/* Preise */
.price-sec { padding-block: 32px 72px; }
.prices { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.price .amount { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; }
.price .amount small { display: block; font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.price li { padding-left: 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--urlaub); font-weight: 700; }
.price.main { background: linear-gradient(160deg, var(--accent), var(--night-deep)); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(29,111,224,.6); }
.price.main .eyebrow, .price.main .amount small, .price.main ul { color: rgba(255,255,255,.85); }
.price.main li::before { color: #fff; }
.price.main .cta { margin-top: auto; }

/* WebSync */
.ws-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 28px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .ws-facts { grid-template-columns: 1fr 1fr; } }
.ws-facts b { display: block; font-family: var(--display); font-size: 21px; color: var(--ink); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.who-card:hover { border-color: var(--accent); }
.who-card > span:last-child { color: var(--muted); font-size: 15px; }
.who-card b { font-size: 18px; }
.who-card:nth-child(2) .chip { background: var(--c5-bg); color: var(--c5); }
.who-card:nth-child(3) .chip { background: var(--c2-bg); color: var(--c2); }
.who-card:nth-child(4) .chip { background: var(--c3-bg); color: var(--c3); }
.duo .shot.small { justify-self: center; }
.share { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; } }
.share-app { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px -28px rgba(20,32,58,.4); min-width: 0; }
.share-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px; }
.share-head b { font-family: var(--display); font-size: 19px; }
.share-head span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.link-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.link-card p { color: var(--muted); font-size: 14px; }
.link-card.off { opacity: .7; }
.link-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.state { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.state.on { background: var(--c3-bg); color: var(--c3); }
.state.wait { background: var(--c4-bg); color: var(--c4); }
.state.off { background: var(--frei); color: var(--muted); }
.link-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.link-btns span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.link-btns span.danger { background: var(--c5-bg); color: var(--c5); }
.share-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.share-points li { color: var(--muted); padding-left: 36px; position: relative; }
.share-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.share-points b { display: block; color: var(--ink); font-size: 18px; }
.switch { margin-top: 48px; display: flex; gap: 24px 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); background: var(--surface); }
.switch > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; min-width: 0; }
.switch-icons { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.switch-icons span { padding: 10px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.switch-icons b { font-size: 28px; color: var(--muted); }
.sync-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .sync-cols { grid-template-columns: 1fr; } }
.sync-col { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sync-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.sync-col li { padding-left: 26px; position: relative; }
.sync-col.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--urlaub); font-weight: 700; }
.sync-col.no li::before { content: "–"; position: absolute; left: 2px; color: var(--muted); font-weight: 700; }
.more.light { color: #fff; }

/* Sprachwahl in der Kopfleiste */
.lang { display: flex; gap: 6px; margin-left: 8px; flex: none; }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; background: var(--surface); }
.lang a:hover { border-color: var(--accent); color: var(--ink); }
.lang a[aria-current="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.lang .flag { width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
@media (max-width: 720px) { .lang { margin-left: auto; } }
@media (max-width: 380px) { .lang a span { display: none; } }


/* Handy-Menü: wischbare Zeile statt ausgeblendet */
@media (max-width: 720px) {
  header.top .wrap { flex-wrap: wrap; row-gap: 6px; padding-block: 10px 6px; }
  nav.main { display: flex; order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; scrollbar-width: none; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { white-space: nowrap; }
}

/* WebSync: echte Screenshots (App + Browser) */
.share { grid-template-columns: minmax(0, 1.1fr) 1fr; }
.share-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.share-shots figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.share-shots img { width: 100%; height: auto; filter: drop-shadow(0 16px 28px rgba(31,58,122,.22)); }
.share-shots figcaption { font-size: 14px; color: var(--muted); }
.share-shots figcaption b { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .share { grid-template-columns: 1fr; } }

/* Absender DavFla unter dem App-Namen */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-top: 2px; }
footer b { color: var(--ink); }

/* Funktionen-Seite, Was ist neu, Fließtext-Seiten (aus pages2.CSS, wurden wegen der alten Prüfung nie angehängt) */
.fgroup { display: grid; grid-template-columns: 1fr; gap: 40px; }
.fgroup.with-pic { grid-template-columns: 1fr 260px; align-items: start; }
@media (max-width: 860px) { .fgroup.with-pic { grid-template-columns: 1fr; } .fgroup.with-pic .shot.small { justify-self: center; } }
.fgroup-main { min-width: 0; }
.fx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 1px solid var(--line); }
.fx-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .fx-grid, .fx-grid.three { grid-template-columns: 1fr; } }
.fx { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fx h3 { font-size: 18px; }
.fx p { color: var(--muted); font-size: 16px; }
.android-sec .sec-head h2 { font-size: clamp(32px, 4.6vw, 48px); }
.alarm { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .alarm { grid-template-columns: 1fr; } }
.alarm-demo { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 24px 48px -24px rgba(20,32,58,.5); }
.alarm-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 10px; }
.alarm-head b { font-family: var(--display); font-size: 19px; }
.alarm-head span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.alarm-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.alarm-row b { display: block; font-size: 15px; }
.alarm-row span { font-size: 13px; opacity: .7; }
.alarm-row strong { font-family: var(--display); font-size: 30px; font-variant-numeric: tabular-nums; }
.alarm-row.off { opacity: .45; }
.more-android { margin-top: 40px; }
/* Was ist neu */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }
.hl { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); }
.hl:first-child { background: linear-gradient(135deg, var(--accent), var(--night-deep)); color: #fff; border-color: transparent; }
.hl:first-child span { color: rgba(255,255,255,.85); }
.hl:hover { border-color: var(--accent); }
.hl b { font-family: var(--display); font-size: 21px; }
.hl span { color: var(--muted); font-size: 15px; }
.news { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } }
.news h2 { font-size: 26px; margin-bottom: 12px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.news-list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* Fließtext-Seiten */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 24px; margin-top: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose b, .prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.prose .chip { width: auto; height: auto; display: inline; padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: .92em; border: 0; }
.prose .sep { color: var(--muted); margin: 0 2px; }
.todo { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--c4-bg); color: var(--c4); font-size: 14px; }
.mail { font-family: var(--mono); color: var(--ink); user-select: all; }
.mail.big { font-size: clamp(20px, 3vw, 28px); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mail-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn.copy { cursor: pointer; font: inherit; font-weight: 700; padding: 10px 16px; }
.hint { color: var(--urlaub); font-weight: 600; }

/* Datenschutz */
.ds-switch { display: flex; gap: 12px; flex-wrap: wrap; }
.ds-switch a { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); min-width: 0; }
.ds-switch a:hover { border-color: var(--accent); }
.ds-switch a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); }
.ds-switch b { font-family: var(--display); font-size: 18px; }
.ds-switch span { color: var(--muted); font-size: 14px; }
.prose .ds-toc { display: block; margin: 0; padding: 16px 18px 16px 42px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); columns: 2 220px; column-gap: 32px; }
.ds-toc li { break-inside: avoid; margin-bottom: 4px; }
.prose h3 { font-size: 18px; margin-top: 8px; }
.ds-short { padding: 18px 20px; border-radius: 16px; background: var(--accent-soft); }
.ds-short ul { margin: 0; }
.ds-short li { color: var(--ink); }
.ds-table { overflow-x: auto; }
.ds-table table { min-width: 520px; }
.ds-table th { color: var(--ink); font-weight: 700; }
.ds-stand { font-size: 14px; color: var(--muted); }
