/* KI-Ready Landingpage · Gestaltung (Farbwelt Wertentwickler-Blau) */

/* Schriften selbst gehostet (SIL Open Font License), Zeichenbereiche und Stärken wie bisher bei Google Fonts */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --light: #f5f4f1;
  --ink: #1d1d1f;
  --gray: #86868b;
  --gray2: #6e6e73;
  --soft: #e8e8ed;
  --line: #d2d2d7;
  --hair: rgba(29, 29, 31, 0.09);
  --teal: #12938a;
  --orange: #e2662e;
  --mint: #7fe9dc;
  --dk-card: #1c1c1e;
  --dk-row: #2c2c2e;
  --dk-text: #f5f5f7;
  --dk-gray: #98989d;
  --warm: linear-gradient(90deg, #f2994a 0%, #e2662e 100%);
  --peach: linear-gradient(165deg, #ffe3c0 0%, #f9c48a 55%, #f2a868 100%);
  --shadow: 0 18px 44px rgba(29, 29, 31, 0.06), 0 1px 2px rgba(29, 29, 31, 0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Inter Tight", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--light); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg.i { width: 1em; height: 1em; flex-shrink: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.grad-warm { color: var(--orange); }
.grad-mint { color: var(--mint); }
.eyebrow { font-weight: 600; font-size: 21px; margin-bottom: 16px; }
.eyebrow.orange { color: var(--orange); } .eyebrow.teal { color: var(--teal); } .eyebrow.mint { color: var(--mint); } .eyebrow.gray { color: var(--gray2); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em; }
.h2 .sub { display: block; color: var(--gray); }
section { padding: 160px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; font: 600 17px/1 var(--text); padding: 19px 30px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(29, 29, 31, 0.18); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(29, 29, 31, 0.24); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; padding: 19px 4px; }
.btn.ghost:hover { transform: none; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.textlink .arr { transition: transform 0.25s var(--ease); } .textlink:hover .arr { transform: translateX(4px); }

/* Einblenden beim Scrollen */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* Logo, einfarbig über die Maske */
.logo { display: block; width: 164px; height: 23px; background: currentColor; -webkit-mask: url(../assets/logo.png) center / 100% 100% no-repeat; mask: url(../assets/logo.png) center / 100% 100% no-repeat; }

/* ───────── Navigation ───────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(245, 244, 241, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 32px; }
.nav .links { margin-left: auto; display: flex; gap: 30px; font-size: 15px; color: var(--gray2); }
.nav .links a:hover { color: var(--ink); }
.nav .btn { font-size: 14px; padding: 11px 18px; box-shadow: none; }
.nav.dark { background: rgba(0, 0, 0, 0.62); color: var(--dk-text); border-color: rgba(255, 255, 255, 0.08); }
.nav.dark .links { color: var(--dk-gray); }
.nav.dark .links a:hover { color: #fff; }
.nav.dark .btn { background: #fff; color: var(--ink); }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 124px 0 110px; }
.hero h1 { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 7.6vw, 116px); line-height: 0.98; letter-spacing: -0.038em; }
.hero h1 .ln { display: block; }
.hero-row { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; margin-top: 44px; align-items: start; }
.hero .lead { font-size: 22px; line-height: 1.5; color: var(--gray2); max-width: 520px; }
.hero .ctas { display: flex; gap: 22px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.hero .meta { margin-top: 16px; font-size: 15px; color: var(--gray2); }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 44px; list-style: none; font-size: 15px; font-weight: 500; color: var(--gray2); }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* Wochen-Widget */
.week { position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 26px 26px 24px; }
.week-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.week-title { font-weight: 600; font-size: 17px; }
.week-title span { color: var(--gray2); font-weight: 500; margin-left: 8px; }
.week-stat { font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--soft); white-space: nowrap; transition: background 0.4s; font-variant-numeric: tabular-nums; }
.week-stat.k { background: #fff1e4; }
.week-stat.k b { color: var(--orange); }
.week-stage { position: relative; height: 347px; }
.wk-kunden { position: absolute; left: 0; top: 0; border-radius: 9px; background: var(--peach); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 18px rgba(242, 168, 104, 0.22);
  display: flex; align-items: flex-end; padding: 0 10px 9px; font-weight: 600; font-size: 12.5px; color: #8a4b12; overflow: hidden; }
.wk-kunden.small span { opacity: 0; }
.wk-kunden span { transition: opacity 0.2s; }
.wk-pill { position: absolute; left: 0; top: 0; border-radius: 9px; background: var(--ink); color: var(--dk-text); font-weight: 500; font-size: 12.5px; display: flex; align-items: center; padding: 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: center; will-change: transform; }
.wk-day { position: absolute; text-align: center; font-weight: 500; font-size: 14px; color: var(--gray2); }
.wk-cap { position: absolute; left: 0; height: 48px; border-radius: 24px; background: #0b0b0d; color: var(--dk-text); display: flex; align-items: center; gap: 12px; padding: 0 20px;
  font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.wk-cap .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.wk-cap b { font-weight: 600; }
.replay { position: absolute; right: 18px; bottom: 16px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gray2);
  background: var(--light); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; font-size: 16px; }
.replay.show { opacity: 1; visibility: visible; transition: opacity 0.4s; }

/* ───────── Film ───────── */
.film { padding: 0 0 40px; }
.film-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 70px rgba(29, 29, 31, 0.14); }
.film-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 6.5%; gap: 14px; color: #fff;
  background: url(../assets/poster.jpg) center / cover; transition: opacity 0.4s; }
.film-play.off { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
.film-play .circle { width: 88px; height: 88px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.28); display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease); font-size: 30px; }
.film-play:hover .circle { transform: scale(1.06); }
.film-play span { font-weight: 500; font-size: 16px; color: rgba(255, 255, 255, 0.85); }

/* ───────── Problem ───────── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 8px; }
.problem p.txt { font-size: 21px; line-height: 1.55; color: var(--gray2); margin-top: 32px; max-width: 520px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pills button { background: var(--ink); color: var(--dk-text); font-weight: 500; font-size: 16px; padding: 12px 18px; border-radius: 13px; transition: transform 0.2s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s; }
.pills button:hover { transform: translateY(-2px); }
.pills button:active { transform: scale(0.96); }
/* Routine abgeben: angetippte Aufgaben bleiben als gestrichelter Platz zurück */
.pills button.weg { background: transparent; color: var(--gray2); outline: 1.5px dashed var(--plan); outline-offset: -1.5px; cursor: default; transform: none; }
.pills button.weg::before { content: "✓"; margin-right: 7px; color: var(--brand-2); font-weight: 700; }
.pills-hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--gray2); }
.pills-hint .dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: #0f1a2c radial-gradient(circle, var(--mint) 3.5px, transparent 4px); }
.flying { position: fixed; z-index: 70; margin: 0; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--dk-text); font: 500 16px/1 var(--text);
  border-radius: 13px; white-space: nowrap; pointer-events: none; }
.notes { display: flex; flex-direction: column; gap: 14px; }
.note { display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, 0.92); border-radius: 26px; box-shadow: var(--shadow); padding: 20px 24px; }
.note .app { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; flex-shrink: 0; background-image: var(--warm); }
.note .app.blue { background-image: linear-gradient(160deg, #5ac8fa, #2d7ff9); }
.note .meta { display: flex; justify-content: space-between; font-size: 15px; color: var(--gray2); }
.note .t { font-weight: 600; font-size: 19px; margin-top: 2px; }
.note .s { font-size: 17px; color: var(--gray2); margin-top: 1px; }
.notes .note:nth-child(2) { margin-left: 28px; } .notes .note:nth-child(3) { margin-left: 56px; }
/* Einmal beim Hineinscrollen: Mitteilungen kommen wie auf dem Handy, jede bekommt ihren Zähler, die Routine stapelt sich */
.pills button, .notes .note { opacity: 0; }
.pills.play button { opacity: 1; animation: drop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; }
.pills.play button:nth-child(1) { --r: -4deg; } .pills.play button:nth-child(2) { --r: 3deg; animation-delay: 0.12s; } .pills.play button:nth-child(3) { --r: -2deg; animation-delay: 0.24s; }
.pills.play button:nth-child(4) { --r: 4deg; animation-delay: 0.36s; } .pills.play button:nth-child(5) { --r: -3deg; animation-delay: 0.48s; }
@keyframes drop { from { opacity: 0; transform: translateY(-34px) rotate(var(--r)); } 50% { opacity: 1; } to { opacity: 1; transform: none; } }
.notes.play .note { animation: banner 0.65s cubic-bezier(0.2, 1.25, 0.4, 1) both; }
.notes.play .note:nth-child(1) { animation-delay: 0.2s; } .notes.play .note:nth-child(2) { animation-delay: 1.1s; } .notes.play .note:nth-child(3) { animation-delay: 2s; }
@keyframes banner { from { opacity: 0; transform: translateY(-26px) scale(0.96); } to { opacity: 1; transform: none; } }
.note .app { position: relative; }
.note .badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #d70015; color: #fff; font: 600 13px/22px var(--text); text-align: center; box-shadow: 0 0 0 2.5px #fff; opacity: 0; }
.notes.play .badge { animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.notes.play .note:nth-child(1) .badge { animation-delay: 0.75s; } .notes.play .note:nth-child(2) .badge { animation-delay: 1.65s; } .notes.play .note:nth-child(3) .badge { animation-delay: 2.55s; }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }

/* ───────── So funktioniert's (dunkel, Scroll-Storytelling) ───────── */
.how { background: #0a0a0b; color: var(--dk-text); margin: 0 16px; border-radius: 32px; position: relative; overflow: clip; }
.how .h2 .sub { color: var(--dk-gray); }
.scrolly { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; margin-top: 40px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.active { opacity: 1; }
.step .num { font-weight: 600; font-size: 17px; color: var(--mint); }
.step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.022em; margin-top: 14px; }
.step p { font-size: 20px; line-height: 1.55; color: var(--dk-gray); margin-top: 18px; max-width: 460px; }
.stage { position: sticky; top: calc(50vh - 210px); height: 420px; }
.demo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(18px) scale(0.98); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); }
.demo.active { opacity: 1; transform: none; }
.dcard { position: relative; width: 480px; height: 380px; flex-shrink: 0; background: var(--dk-card); border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); overflow: hidden; }
.dhead { position: absolute; left: 28px; right: 28px; top: 24px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.dhead > .i { color: var(--mint); font-size: 22px; }
.dlabel { position: absolute; left: 28px; font-weight: 500; font-size: 14px; color: var(--dk-gray); }
.row { position: absolute; left: 28px; right: 28px; height: 56px; border-radius: 14px; background: var(--dk-row); display: flex; align-items: center; gap: 12px; padding: 0 16px; font-weight: 500; font-size: 16px;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s, box-shadow 0.3s, height 0.45s var(--ease); }
.row .i { font-size: 22px; color: var(--dk-gray); transition: color 0.3s; }
/* Demo Ablage */
.d0 .file { top: 108px; z-index: 2; }
.d0 .empty { top: 108px; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.16); color: var(--dk-gray); opacity: 0; }
.d0 .folder { top: 252px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.d0 .folder .top { display: flex; align-items: center; gap: 12px; }
.d0 .filed-line { display: none; align-items: center; gap: 8px; margin-left: 34px; font-family: var(--mono); font-size: 13.5px; color: var(--dk-text); }
.d0 .filed-line .i { font-size: 16px; color: var(--mint); }
.d0 .vline { position: absolute; left: 50px; top: 172px; height: 50px; border-left: 2px dotted rgba(127, 233, 220, 0.5); }
.fname { font-family: var(--mono); font-size: 15px; padding: 2px 5px; border-radius: 5px; white-space: nowrap; color: var(--dk-gray); }
.d0.sel .fname { background: rgba(127, 233, 220, 0.3); color: var(--dk-text); }
.d0.typed .fname { color: var(--dk-text); }
.d0.typed:not(.done) .fname::after { content: ""; display: inline-block; width: 2px; height: 18px; margin-left: 2px; vertical-align: middle; background: var(--mint); }
.d0.done .file { box-shadow: 0 0 0 1.5px rgba(127, 233, 220, 0.75); }
.d0.done .file .i { color: var(--mint); }
.d0.move .file { transform: translateY(144px) scale(0.96); }
.d0.filed .file { opacity: 0; }
.d0.filed .empty { opacity: 1; }
.d0.filed .folder { height: 92px; box-shadow: 0 0 0 1.5px rgba(127, 233, 220, 0.75); }
.d0.filed .folder .top .i { color: var(--mint); }
.d0.filed .filed-line { display: flex; }
/* Demo Rechnung */
.paper { position: absolute; left: 28px; top: 80px; width: 136px; height: 196px; border-radius: 10px; background: #ececef; overflow: hidden; }
.paper i { position: absolute; left: 14px; height: 6px; border-radius: 3px; background: #d1d1d6; }
.paper .scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mint); opacity: 0; }
.d1.scan .paper .scan { animation: scan 1.5s ease-in-out forwards; }
@keyframes scan { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 196px; opacity: 0; } }
.fields { position: absolute; left: 190px; top: 76px; right: 24px; }
.fields div { height: 50px; opacity: 0; transform: translateX(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.fields div.on { opacity: 1; transform: none; }
.fields dt { font-size: 13px; color: var(--dk-gray); }
.fields dd { font-weight: 500; font-size: 18px; margin-top: 1px; white-space: nowrap; }
.okchip { position: absolute; left: 28px; bottom: 26px; display: flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: rgba(127, 233, 220, 0.14);
  color: var(--mint); font-weight: 500; font-size: 15px; opacity: 0; transform: scale(0.92); transition: opacity 0.4s, transform 0.5s var(--ease); }
.d1.ok .okchip { opacity: 1; transform: none; }
/* Demo Posteingang */
.mail { position: absolute; left: 28px; right: 28px; height: 50px; border-radius: 12px; background: var(--dk-row); display: flex; align-items: center; gap: 12px; padding: 0 14px; transition: box-shadow 0.3s; }
.mail .who { flex: 1; min-width: 0; }
.mail .who b { display: block; font-weight: 600; font-size: 15px; }
.mail .who span { display: block; font-size: 13px; color: var(--dk-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail .tag { font-weight: 500; font-size: 12.5px; color: var(--mint); background: rgba(127, 233, 220, 0.14); padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translateX(14px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.mail .tag.on { opacity: 1; transform: none; }
.d2.hi .m0 { box-shadow: 0 0 0 1.5px rgba(127, 233, 220, 0.75); }
.draft { position: absolute; left: 28px; right: 28px; top: 258px; height: 92px; border-radius: 12px; background: var(--dk-row); box-shadow: 0 0 0 1.5px rgba(127, 233, 220, 0.45);
  padding: 14px 16px; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.d2.dr .draft { opacity: 1; transform: none; }
.draft small { display: block; font-weight: 600; font-size: 12.5px; color: var(--mint); }
.draft p { font-size: 15.5px; line-height: 1.45; margin-top: 6px; }
.draft p::after { content: ""; display: inline-block; width: 2px; height: 16px; margin-left: 2px; vertical-align: middle; background: var(--mint); }
/* Demo Freigabe */
.prev { position: absolute; left: 28px; right: 28px; top: 76px; border-radius: 16px; background: var(--dk-row); padding: 18px 20px; }
.prev .to { font-size: 13px; color: var(--dk-gray); }
.prev .subj { font-weight: 600; font-size: 16px; margin-top: 4px; }
.prev .body { font-size: 15px; line-height: 1.5; color: #d1d1d6; margin-top: 10px; }
.prev .ai { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--dk-gray); border: 1px solid rgba(255, 255, 255, 0.16); padding: 3px 9px; border-radius: 6px; }
.acts { position: absolute; left: 28px; right: 28px; top: 280px; display: flex; gap: 12px; }
.acts button { flex: 1; height: 52px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform 0.15s, background 0.3s, color 0.3s; }
.acts .edit { background: var(--dk-row); color: var(--dk-text); }
.acts .approve { background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; }
.d3.pressed .approve { transform: scale(0.94); }
.d3.ok .approve { background: var(--mint); }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 10px); font-size: 13.5px; color: var(--dk-gray); opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); white-space: nowrap; }
.d3.ok .toast { opacity: 1; transform: translate(-50%, 0); }

/* ───────── Rechner ───────── */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.benefits .lab { font-weight: 600; font-size: 17px; }
.benefits h3 { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.018em; margin-top: 8px; }
.benefits p { font-size: 18px; line-height: 1.5; color: var(--gray2); margin-top: 8px; }
.calc-card { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.calc-in { padding: 56px; display: flex; flex-direction: column; gap: 44px; justify-content: center; }
.calc-out { padding: 56px; background: linear-gradient(160deg, #fffaf4, #fff1e2); display: flex; flex-direction: column; justify-content: center; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 18px; margin-bottom: 18px; }
.field output { font-family: var(--display); font-size: 26px; font-variant-numeric: tabular-nums; }
.field small { display: block; margin-top: 12px; color: var(--gray2); font-size: 14.5px; }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: var(--soft); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); cursor: pointer; }
input[type="range"]:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 8px; }
.big { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc-out .lbl { margin-top: 8px; font-size: 18px; color: var(--gray2); }
.calc-out .row2 { margin-top: 34px; }
.calc-out .fine { margin-top: 26px; font-size: 14px; color: var(--gray2); line-height: 1.5; }
.calc-out .btn { margin-top: 30px; align-self: flex-start; }

/* ───────── Ablauf ───────── */
.tl { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 96px; }
.tl .track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 27px; height: 4px; border-radius: 2px; background: var(--soft); }
.tl .track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--teal); transition: width 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.tl.in .track i { width: 100%; }
.node { position: relative; text-align: center; padding: 0 8px; }
.node .dot { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px;
  box-shadow: 0 10px 24px rgba(18, 147, 138, 0.3); transform: scale(0.5); opacity: 0; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; transition-delay: var(--d); }
.node.start .dot { background: #fff; color: var(--orange); box-shadow: 0 0 0 3px var(--orange), 0 10px 24px rgba(226, 102, 46, 0.25); font-size: 24px; }
.tl.in .node .dot { transform: none; opacity: 1; }
.node h3 { font-weight: 600; font-size: 19px; margin-top: 22px; line-height: 1.3; }
.node p { font-size: 15.5px; color: var(--gray2); margin-top: 6px; }
.node .when { position: absolute; left: 0; right: 0; top: -38px; font-weight: 600; font-size: 15px; color: var(--orange); }
.decide { position: absolute; top: -56px; transform: translateX(-50%); background: #fff; box-shadow: var(--shadow); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14.5px;
  color: var(--orange); white-space: nowrap; opacity: 0; transition: opacity 0.5s; transition-delay: var(--d); }
.tl.in .decide { opacity: 1; }
.entry { margin-top: 110px; display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.entry .l { padding: 56px; }
.entry .l .lab { font-weight: 600; font-size: 17px; color: var(--orange); }
.entry .l h3 { font-family: var(--display); font-weight: 600; font-size: 42px; letter-spacing: -0.022em; margin-top: 8px; }
.checks { list-style: none; counter-reset: c; margin-top: 26px; border-top: 1px solid var(--hair); }
.checks li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--hair); font-size: 19px; line-height: 1.45; color: var(--gray2); }
.checks li::before { counter-increment: c; content: "0" counter(c); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--orange); padding-top: 3px; }
.checks li strong { color: var(--ink); font-weight: 600; }
.entry .r { padding: 56px; border-left: 1px solid var(--hair); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fff, #faf8f4); }
.price { font-family: var(--display); font-weight: 600; font-size: 80px; letter-spacing: -0.04em; line-height: 1; }
.entry .r .sub { margin-top: 10px; color: var(--gray2); font-size: 17px; }
.entry .r p { margin-top: 22px; font-size: 17px; line-height: 1.5; }
.entry .r .btn { margin-top: 28px; align-self: flex-start; }

/* ───────── Sicherheit ───────── */
.safe { padding-top: 0; }
.safe-list { margin-top: 56px; border-top: 1px solid var(--line); }
.safe-list .r { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 48px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.safe-list h3 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.015em; }
.safe-list p { font-size: 19px; line-height: 1.6; color: var(--gray2); }

/* ───────── Fragen ───────── */
.faq { padding-top: 0; }
.faq-list { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-weight: 600; font-size: 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 24px; height: 24px; border-radius: 0; background: none; box-shadow: none; position: relative; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 1px; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { font-size: 19px; line-height: 1.6; color: var(--gray2); padding: 0 56px 30px 0; max-width: 860px; }

/* ───────── Zeitfresser-Check (Formular) ───────── */
.check { background: #fff; margin: 0 16px; border-radius: 32px; }
.check-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.check .lead2 { font-size: 21px; line-height: 1.55; color: var(--gray2); margin-top: 28px; }
.check .alt { margin-top: 30px; color: var(--teal); }
.people { margin-top: 40px; }
.people .lab { font-weight: 600; font-size: 15px; color: var(--gray2); }
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 16px; margin-top: 14px; }
.faces img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--stone-line); }
.faces figcaption { margin-top: 10px; font-weight: 600; font-size: 16px; }
.formcard { background: var(--light); border-radius: 32px; padding: 44px; position: sticky; top: 96px; }
.progress { display: flex; align-items: center; gap: 18px; font-size: 14.5px; color: var(--gray2); font-weight: 500; margin-bottom: 26px; }
.progress .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 33%; background: var(--ink); border-radius: 2px; transition: width 0.5s var(--ease); }
fieldset { border: 0; display: none; }
fieldset.active, .fdone.active { display: block; animation: stepin 0.5s var(--ease); }
.fdone { display: none; }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
legend { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.018em; }
.hint { font-size: 15px; color: var(--gray2); margin-top: 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1.5px solid transparent; cursor: pointer;
  font-weight: 500; font-size: 16.5px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); transition: border-color 0.2s, transform 0.15s; user-select: none; }
.tile:active { transform: scale(0.98); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .box { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gray2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; transition: background 0.2s, border-color 0.2s; }
.tile:has(input:checked) { border-color: var(--ink); }
.tile:has(input:checked) .box { background: var(--ink); border-color: var(--ink); }
.tile:has(input:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.grp { font-weight: 600; font-size: 16px; margin-top: 26px; }
.grp + .tiles { margin-top: 12px; }
.calcchip { display: none; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: #fff1e4; font-size: 15px; font-weight: 500; color: #8a4b12; }
.calcchip.show { display: flex; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.inp { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.inp input { font: inherit; font-weight: 400; font-size: 17px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--gray); background: #fff; color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.inp input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.06); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--gray2); }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex-shrink: 0; }
.consent a, .ferr a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.factions { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.factions .back { font-weight: 600; font-size: 16px; color: var(--gray2); padding: 12px 6px; }
.ferr { color: #c0392b; font-size: 14.5px; margin-top: 14px; min-height: 0; }
.fdone h3 { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; margin-top: 18px; }
.fdone p { font-size: 18px; line-height: 1.55; color: var(--gray2); margin-top: 10px; }
.okbadge { width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.calbox { margin-top: 24px; border-radius: 22px; background: #fff; padding: 30px 24px; text-align: center; }
.calbox p.small { margin-top: 14px; font-size: 13px; color: var(--gray2); line-height: 1.5; }
.calbox a.ext { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--teal); }
iframe.cal { width: 100%; height: 660px; border: 0; border-radius: 18px; margin-top: 24px; background: #fff; }
.caldirect { margin-top: 48px; display: none; }
.caldirect.show { display: block; }

/* Rechtsseiten (Platzhalter) */
.legal { padding: 150px 0 100px; min-height: 60vh; }
.legal p { margin-top: 28px; font-size: 19px; line-height: 1.6; color: var(--gray2); }

footer { padding: 56px 0 140px; }
footer .wrap { display: flex; align-items: center; gap: 24px; color: var(--gray2); font-size: 14px; }
footer .logo { width: 140px; height: 20px; color: var(--ink); }
footer .links { margin-left: auto; display: flex; gap: 24px; }

/* ───────── KI-Kapsel ───────── */
.capsule { position: fixed; left: 50%; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #0b0b0d; color: var(--dk-text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); transform: translate(-50%, 140%); max-width: calc(100vw - 24px); border: 1px solid rgba(255, 255, 255, 0.14);
  visibility: hidden; transition: transform 0.6s var(--ease), visibility 0s 0.6s; } /* versteckt: nicht per Tab erreichbar, kein Schatten am Rand */
.capsule.show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.6s var(--ease); }
.capsule .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
.capsule .status { font-size: 15px; font-weight: 500; white-space: nowrap; transition: opacity 0.18s, transform 0.18s; min-width: 250px; }
.capsule .status.swap { opacity: 0; transform: translateY(4px); }
.capsule .go { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 999px; white-space: nowrap; }

/* ───────── Handy ───────── */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  section { padding: 96px 0; }
  .nav .links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .logo { width: 128px; height: 18px; }
  .nav .btn { margin-left: auto; font-size: 13px; padding: 10px 14px; }
  .replay { right: 12px; bottom: 26px; }
  .hero { padding: 104px 0 72px; }
  .hero-row { grid-template-columns: 1fr; gap: 34px; margin-top: 30px; }
  .hero-visual { order: -1; } /* Handy: die Woche gleich unter der Überschrift */
  .hero .lead { font-size: 19px; }
  .trust { gap: 12px 18px; margin-top: 30px; font-size: 14px; }
  .week { padding: 20px 16px 18px; border-radius: 26px; }
  .film-frame { border-radius: 22px; }
  .film-play { display: grid; grid-template-columns: auto 1fr; align-content: end; align-items: center; justify-items: start; gap: 10px; padding: 0 14px 14px; }
  .film-play .circle { width: 44px; height: 44px; font-size: 18px; }
  .film-play > span:last-child { font-size: 13.5px; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem p.txt { font-size: 18px; }
  .pills { gap: 8px; }
  .pills button { font-size: 14px; padding: 10px 13px; border-radius: 11px; }
  .notes .note:nth-child(2), .notes .note:nth-child(3) { margin-left: 0; }
  .note { padding: 16px 18px; gap: 14px; } .note .app { width: 44px; height: 44px; font-size: 22px; } .note .t { font-size: 17px; } .note .s { font-size: 15px; }
  .how { margin: 0 8px; border-radius: 30px; }
  /* Handy: Demos zum Wischen, jede Karte über ihrem Text; die nächste schaut am Rand hervor */
  .scrolly { grid-template-columns: none; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: calc(100% - 28px); gap: 0 12px; margin: 30px -20px 0; padding: 0 20px 4px;
    scroll-padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .scrolly::-webkit-scrollbar { display: none; }
  .steps, .stage-wrap, .stage { display: contents; }
  .demo { position: relative; inset: auto; height: 250px; opacity: 1; transform: none; scroll-snap-align: start; }
  .dcard { transform: scale(0.64); }
  .step { min-height: 0; opacity: 1; padding: 16px 2px 0; justify-content: flex-start; }
  .demo[data-demo="0"] { order: 0; } .step[data-step="0"] { order: 1; } .demo[data-demo="1"] { order: 2; } .step[data-step="1"] { order: 3; }
  .demo[data-demo="2"] { order: 4; } .step[data-step="2"] { order: 5; } .demo[data-demo="3"] { order: 6; } .step[data-step="3"] { order: 7; }
  .h2, .step h3 { text-wrap: balance; }
  .h2 { font-size: min(8.7vw, clamp(38px, 5.2vw, 68px)); }
  .field output { white-space: nowrap; }
  .step h3 { font-size: 26px; margin-top: 8px; }
  .step p { font-size: 16px; margin-top: 10px; }
  .benefits { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .calc-card, .entry, .check-grid, .hero-row, .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .d-only { display: none; }
  .hero .ctas .btn { padding: 18px 20px; font-size: 16px; }
  .calc-in, .calc-out, .entry .l, .entry .r { padding: 32px 24px; }
  .entry .r { border-left: 0; border-top: 1px solid var(--hair); }
  .entry .l h3 { font-size: 32px; }
  .price { font-size: 64px; }
  .tl { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .tl .track { left: 28px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .tl .track i { width: 100% !important; height: 0; transition: height 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
  .tl.in .track i { height: 100%; }
  .node { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; padding: 0; align-items: center; }
  .node .dot { grid-row: span 2; margin: 0; }
  .node h3 { margin-top: 0; font-size: 18px; } .node p { margin-top: 2px; }
  .node .when { position: static; grid-column: 2; order: -1; font-size: 14px; }
  .decide { position: static; transform: none; justify-self: start; margin-left: 76px; }
  .safe-list .r { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .safe-list h3 { font-size: 23px; }
  .faq summary { font-size: 18px; padding: 22px 0; }
  .faq details p { font-size: 17px; padding-right: 0; }
  .check { margin: 0 8px; border-radius: 30px; }
  .check-grid { gap: 40px; }
  .formcard { padding: 26px 18px; border-radius: 24px; }
  legend { font-size: 25px; }
  .tiles, .tiles.three, .inputs { grid-template-columns: 1fr; }
  .factions { flex-wrap: wrap; }
  .factions .btn { flex: 1 1 100%; padding: 18px 20px; font-size: 16px; }
  .factions .back { margin: 0 auto; }
  .calbox .btn { width: 100%; padding: 18px 20px; font-size: 16px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer .links { margin-left: 0; }
  .capsule { left: 10px; right: 10px; transform: translateY(140%); justify-content: space-between; padding-left: 18px; }
  .capsule.show { transform: none; }
  .capsule .status { min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 420px) {
  .capsule { padding: 0; border: 1px solid rgba(255, 255, 255, 0.14); }
  .capsule .status, .capsule .dot { display: none; }
  .capsule .go { flex: 1; justify-content: center; padding: 17px; background: none; color: var(--dk-text); }
  .capsule .go::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 4px; }
}
@media (max-width: 380px) { .dcard { transform: scale(0.57); } .demo { height: 226px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; filter: none; }
  .pills button, .notes .note, .note .badge { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═════════ Farbwelt Wertentwickler-Blau ═════════
   Grundfarbe ist das Dunkelblau aus dem Hauptlogo. Weiß und warmes Steingrau als Flächen, Mint als KI-Akzent.
   Symbole mit Bedeutung bleiben bunt: Telefon grün, Mail blau, KI mint. */
:root {
  --light: #ffffff;
  --stone: #eeebe6;
  --stone-line: #e0dbd3;
  --ink: #1b2a41;
  --brand: #2e4369;
  --brand-2: #4b6696;
  --gray: #8a95a6;
  --gray2: #5d6b80;
  --soft: #e6e9ef;
  --line: #d7dbe3;
  --hair: rgba(27, 42, 65, 0.1);
  --teal: #2e4369;
  --orange: #2e4369;
  --dk-card: #1a2a45;
  --dk-row: #233656;
  --dk-text: #f2f5fa;
  --dk-gray: #a4b1c6;
  --peach: linear-gradient(165deg, #edf2f9 0%, #d9e3f1 60%, #c8d6eb 100%);
  --shadow: 0 18px 44px rgba(27, 42, 65, 0.07), 0 1px 2px rgba(27, 42, 65, 0.05);
}
.btn { box-shadow: 0 10px 28px rgba(27, 42, 65, 0.18); }
.btn:hover { box-shadow: 0 16px 36px rgba(27, 42, 65, 0.24); }
.grad-warm { color: var(--brand-2); }
.eyebrow.orange, .eyebrow.teal { color: var(--brand-2); }
.trust li::before { background: var(--brand-2); }
.week, .calc-card, .entry, .note { border: 1px solid var(--stone-line); }
.week-stat.k { background: #edf2f9; }
.week-stat.k b { color: var(--brand); }
.wk-kunden { color: var(--brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 18px rgba(46, 67, 105, 0.1); }
.wk-cap, .capsule { background: #0f1a2c; }
.replay { background: var(--stone); }
.problem { background: var(--stone); }
.note { background: #fff; }
.note .app { background-image: linear-gradient(160deg, #5fd57e, #2fb350); }
.note .app.blue { background-image: linear-gradient(160deg, #5ac8fa, #2d7ff9); }
.note .app.gelb { background-image: linear-gradient(160deg, #ffd25e, #f5a623); }
.note .app.lila { background-image: linear-gradient(160deg, #8f8cff, #5e5ce6); }
.how { background: #111d33; }
.nav.dark { background: rgba(17, 29, 51, 0.72); }
.calc-out { background: var(--stone); }
.calcchip { background: #edf2f9; color: var(--brand); }
.entry .r { background: var(--stone); }
.checks li::before { color: var(--brand-2); }
.node .dot { box-shadow: 0 10px 24px rgba(46, 67, 105, 0.22); }
.node.start .dot { color: #2fb350; box-shadow: 0 0 0 3px #34c759, 0 10px 24px rgba(52, 199, 89, 0.22); }
.node.start .when { color: #1f7a35; }
.decide { background: #e3f7e8; color: #1f7a35; box-shadow: none; }
.okbadge { background: #34c759; }
.check { background: var(--stone); }
.formcard { background: #fff; }
.tile { background: #f6f4f1; box-shadow: none; }
.check .alt, .calbox a.ext { color: var(--brand-2); }

/* ═════════ Bauplan-Details (seit 09.10.2026) ═════════
   Technische Zeichnung statt Leuchten: Maßkette im Ablauf, gestrichelte Linien mit Punkt-Enden, Eckmarken, Karopapier, Stempel.
   Buttons eckig fürs Geschäft, rund bleibt nur die KI. */
:root {
  --plan: rgba(46, 67, 105, 0.42);
  --dash: linear-gradient(90deg, var(--plan) 55%, transparent 0);
  --tick: linear-gradient(135deg, transparent calc(50% - 1px), var(--brand) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  --dot: radial-gradient(circle closest-side, var(--brand) 96%, transparent);
  --stroke: linear-gradient(var(--brand), var(--brand));
}
.btn, .acts button { border-radius: 12px; }
.nav .btn { border-radius: 10px; }
.decide { border-radius: 8px; }

/* Maßkette: Dauern als Bemaßung unter den Schritten (an den Schritten nur für Screenreader) */
.tl .dauer, .tl .trenner { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mass { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 26px; margin-top: 44px; opacity: 0; transition: opacity 0.6s 1.9s; }
.tl.in .mass { opacity: 1; }
.mass .m { position: relative; text-align: center; font-size: 14px; font-weight: 600; color: var(--gray2); padding-bottom: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mass .m::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--plan); }
.mass .m::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -6px; height: 12px; background: var(--tick) left / 12px 12px no-repeat, var(--tick) right / 12px 12px no-repeat; }
.mass .gesamt { color: var(--ink); font-size: 15px; }
.mass .offen::before { background: var(--dash) 0 0 / 7px 1px repeat-x; }
.mass .offen::after { background: var(--tick) left / 12px 12px no-repeat; }

/* Gestrichelte Linien mit Punkt-Enden */
.safe-list, .faq-list { position: relative; border-top: 0; background: var(--dash) 0 0 / 9px 1px repeat-x; }
.safe-list::before, .faq-list::before, .safe-list::after, .faq-list::after { content: ""; position: absolute; left: -3.5px; right: -3.5px; height: 7px; background: var(--dot) left / 7px 7px no-repeat, var(--dot) right / 7px 7px no-repeat; }
.safe-list::before, .faq-list::before { top: -3px; }
.safe-list::after, .faq-list::after { bottom: -3.5px; }
.safe-list .r, .faq details { border-bottom: 0; background: var(--dash) 0 100% / 9px 1px repeat-x; }

/* Eckmarken um die Preis-Karte */
.plan-rahmen { position: relative; }
.plan-rahmen::before { content: ""; position: absolute; inset: -16px; pointer-events: none;
  background: var(--stroke) left top / 18px 1.5px no-repeat, var(--stroke) left top / 1.5px 18px no-repeat,
    var(--stroke) right top / 18px 1.5px no-repeat, var(--stroke) right top / 1.5px 18px no-repeat,
    var(--stroke) left bottom / 18px 1.5px no-repeat, var(--stroke) left bottom / 1.5px 18px no-repeat,
    var(--stroke) right bottom / 18px 1.5px no-repeat, var(--stroke) right bottom / 1.5px 18px no-repeat; }

/* Karopapier im Rechner */
.calc-in { background-image: linear-gradient(rgba(46, 67, 105, 0.075) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 67, 105, 0.075) 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px; }

/* Stempel in der Freigabe-Demo */
.stamp { position: absolute; right: 40px; top: 198px; padding: 8px 14px 7px; border: 3px solid #34c759; border-radius: 7px; color: #34c759; font: 700 21px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: rotate(-10deg) scale(1.7); transition: transform 0.28s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.18s; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.4 0 0 0 -0.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 60px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.4 0 0 0 -0.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 60px; }
.d3.ok .stamp { opacity: 0.95; transform: rotate(-10deg) scale(1); }
.d3.ok .approve { background: #fff; }

/* Fragen zweispaltig */
@media (min-width: 901px) {
  .faq .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; grid-template-rows: auto 1fr; column-gap: 80px; align-items: start; }
  .faq .eyebrow { grid-column: 1; grid-row: 1; }
  .faq .h2 { grid-column: 1; grid-row: 2; font-size: clamp(32px, 3.1vw, 46px); text-wrap: balance; }
  .faq .faq-list { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* Handy: kleine Bemaßung an jedem Schritt, Gesamtmaß darunter */
@media (max-width: 900px) {
  .tl .dauer, .tl .trenner { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .tl .dauer { display: inline-flex; align-items: center; gap: 8px; }
  .tl .dauer::before, .tl .dauer::after { content: ""; width: 16px; height: 10px; background: linear-gradient(var(--plan), var(--plan)) center / 100% 1px no-repeat; }
  .tl .dauer::before { border-left: 1.5px solid var(--brand); }
  .tl .dauer::after { border-right: 1.5px solid var(--brand); }
  .tl .dauer.offen::after { border-right: 0; background: var(--dash) center / 5px 1px repeat-x; }
  .mass { display: block; margin-top: 10px; }
  .mass .m:not(.gesamt) { display: none; }
  .mass .gesamt { display: block; font-size: 14px; white-space: normal; text-wrap: balance; }
  .tl .track { bottom: 90px; } /* Linie endet bei Schritt 5, nicht beim Gesamtmaß */
  .plan-rahmen::before { inset: -10px; }
}

/* ═════════ Handy lebendiger (seit 09.10.2026) ═════════ */
/* KI-Kapsel nimmt abgegebene Aufgaben an */
.capsule .dot, .capsule .go::before { transition: transform 0.3s var(--ease); }
.capsule.got .dot, .capsule.got .go::before { animation: got 0.5s var(--ease); }
@keyframes got { 40% { transform: scale(2.2); } }
.swipe { display: none; }
/* Rückmeldung beim Abgeben: auf breiten Bildschirmen nur für Screenreader, auf schmalen Handys sichtbar (siehe unten) */
.cap-toast { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 900px) {
  .flying { font-size: 14px; border-radius: 11px; }
  /* Zähler unter den Wisch-Demos */
  .swipe { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 13.5px; font-weight: 600; color: var(--dk-gray); font-variant-numeric: tabular-nums; }
  .swipe-n b { color: var(--mint); font-weight: 600; }
  .swipe-bar { position: relative; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.18); }
  .swipe-bar i { position: absolute; left: 0; top: -1px; width: 25%; height: 3px; border-radius: 2px; background: var(--mint); transition: width 0.4s var(--ease); }
  .swipe-t { transition: opacity 0.3s; }
  .swipe.done .swipe-t { opacity: 0; }
  /* Der Ablauf zeichnet sich beim Scrollen (Klasse setzt main.js, nicht bei „Bewegung reduzieren“) */
  .tl.zeichnen .track i { height: calc(var(--p, 0) * 100%); transition: none; }
  .tl.zeichnen .node { opacity: 0.35; transition: opacity 0.35s; }
  .tl.zeichnen .node.on { opacity: 1; }
  .tl.zeichnen .node .dot { opacity: 1; transform: scale(0.82); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
  .tl.zeichnen .node.on .dot { transform: none; }
  .tl.zeichnen .decide { opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.35s var(--ease); }
  .tl.zeichnen .decide.on { opacity: 1; transform: none; }
  .tl.zeichnen .mass { opacity: 0; transition: opacity 0.4s; }
  .tl.zeichnen.fertig .mass { opacity: 1; }
}
/* Schmale Handys zeigen den Kapsel-Status nicht, die Meldung kommt deshalb kurz darüber */
@media (max-width: 420px) {
  .cap-toast { position: fixed; left: 50%; bottom: 90px; z-index: 61; display: flex; width: auto; height: auto; overflow: visible; clip-path: none; align-items: center; gap: 9px; max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 999px;
    background: #0f1a2c; color: var(--dk-text); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
  .cap-toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex-shrink: 0; }
  .cap-toast.show { opacity: 1; transform: translate(-50%, 0); }
}

/* ═════════ Fehlerkorrekturen nach der Durchsicht (11.10.2026) ═════════ */
html { scroll-padding-bottom: 96px; } /* fokussierte Elemente nicht unter der KI-Kapsel */

/* Sprunglink für Tastatur und Screenreader */
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip:focus { transform: none; }

/* Keine Einzelwörter in der letzten Zeile */
.h2, .step h3, .entry h3, legend, .faq summary { text-wrap: balance; }

/* Wochen-Widget auf schmaler Bühne (Klassen setzt main.js nach der Spaltenbreite) */
.week.eng .wk-pill, .week.eng .wk-kunden { font-size: 11px; padding-left: 7px; padding-right: 6px; }
.week.eng2 .wk-pill, .week.eng2 .wk-kunden { font-size: 10px; padding-left: 5px; padding-right: 4px; }
.week.kurz .week-title span, .week.kurz .wk-cap .long { display: none; }

/* Formular: Haken nur, wenn angekreuzt; Mehrfachauswahl eckig, Einfachauswahl rund */
.tile .box .i { opacity: 0; transition: opacity 0.15s; }
.tile:has(input:checked) .box .i { opacity: 1; }
.tile:has(input[type="checkbox"]) .box { border-radius: 6px; }
legend:focus, #thanks:focus { outline: none; } /* Fokus nur für Screenreader, kein Bedienelement */

/* Fokus im Film-Rahmen innen zeichnen, damit die Rundung ihn nicht abschneidet */
#film-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Größere Tippflächen, ohne sichtbare Änderung */
.nav .btn, .pills button, .textlink, footer .links a { position: relative; }
.nav .btn::after, .pills button::after { content: ""; position: absolute; inset: -4px 0; }
.replay::after { content: ""; position: absolute; inset: -5px; }
.textlink::after { content: ""; position: absolute; inset: -12px -4px; }
footer .links a::after { content: ""; position: absolute; inset: -14px -6px; }

/* Problem-Abschnitt als eingerückte Karte wie „So funktioniert’s“ und der Check: keine weißen Zwickel mehr */
.problem { margin: 0 16px 16px; border-radius: 32px; }

/* Schmale Desktop-Fenster: Demo-Karte passend zur Spalte verkleinern */
@media (min-width: 901px) and (max-width: 959px) { .dcard { transform: scale(0.74); } }
@media (min-width: 960px) and (max-width: 1023px) { .dcard { transform: scale(0.8); } }
@media (min-width: 1024px) and (max-width: 1150px) { .dcard { transform: scale(0.88); } }

@media (max-width: 900px) {
  .problem { margin: 0 8px 8px; border-radius: 30px; }
}

/* Ohne JavaScript: alles sichtbar statt auf Einblend-Effekte zu warten; was nur mit JS geht, entfällt */
html:not(.js) .rv, html:not(.js) .pills button, html:not(.js) .notes .note, html:not(.js) .note .badge, html:not(.js) .node .dot, html:not(.js) .step,
html:not(.js) .demo[data-demo="0"] { opacity: 1; transform: none; }
html:not(.js) .decide, html:not(.js) .mass { opacity: 1; }
html:not(.js) .hero-visual, html:not(.js) .film, html:not(.js) [data-film], html:not(.js) .pills-hint, html:not(.js) #cal-direct-btn,
html:not(.js) #lead, html:not(.js) #f-progress { display: none; }
.noscript { font-size: 18px; line-height: 1.55; color: var(--gray2); }
.noscript a { color: var(--brand-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ═════════ Nachbesserungen nach der Gegenprüfung (11.10.2026) ═════════ */
/* Logo-Link mit sichtbarem Tastaturfokus (die Maske des Logos schnitt den Rahmen ab) und größerer Trefferfläche */
.logo-link { display: block; padding: 13px 0; margin: -13px 0; border-radius: 4px; }
.logo-link:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* Wochen-Kopf: von Anfang an Platz für „+20 Std. für Kunden“, damit beim Umschalten nichts springt */
.week-stat { min-width: 176px; text-align: center; }
.week.eng2 .week-stat { min-width: 150px; font-size: 13px; padding: 7px 10px; }

/* Mitteilungen: Abstand zwischen Absender und Uhrzeit; schmale Handys bekommen die Breite der Karte zurück */
.note .meta { gap: 8px; }
@media (max-width: 420px) { .problem .wrap { padding: 0 12px; } }
@media (min-width: 901px) and (max-width: 1100px) { .problem-grid { gap: 48px; } }

/* Video-Fokus innen zeichnen wie beim Start-Knopf */
#film-video:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Dank-Ansicht auf dem Handy kompakter */
@media (max-width: 900px) { .fdone h3 { font-size: 28px; } }

/* Rechner: Werte nicht umbrechen; der Knopf darf auf schmalen Desktop-Fenstern zweizeilig werden statt abgeschnitten */
.field output { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) { .calc-out .btn { white-space: normal; line-height: 1.25; } }

/* Kleiner Link mit größerer Trefferfläche; Hinweis nach der letzten Aufgabe nimmt nur den Fokus */
.calbox a.ext { position: relative; }
.calbox a.ext::after { content: ""; position: absolute; inset: -12px -4px; }
.pills-hint:focus { outline: none; }

/* Ohne JavaScript: Hero einspaltig statt leerer rechter Hälfte */
html:not(.js) .hero-row { grid-template-columns: 1fr; }

/* Bewegung reduzieren: Ablauf sofort vollständig, statt beim Hineinscrollen aufzutauchen */
@media (prefers-reduced-motion: reduce) {
  .node .dot { opacity: 1; transform: none; }
  .tl .decide, .tl .mass { opacity: 1; }
  .tl .track i { width: 100%; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .tl .track i { height: 100%; } }

/* Rechtsseiten mit Inhalt (seit 11.10.2026) */
.legal .wrap > * { max-width: 760px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); margin-top: 44px; }
.legal p, .legal ul { font-size: 17px; line-height: 1.6; color: var(--gray2); }
.legal h2 + p, .legal h2 + ul { margin-top: 10px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }

/* ═════════ Impressum und Datenschutz als Modal (seit 12.10.2026) ═════════ */
html:has(dialog.modal[open]) { overflow: hidden; } /* Seite dahinter steht still */
.modal { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(88vh, 900px); margin: auto; padding: 0; border: 1px solid var(--stone-line); border-radius: 24px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(17, 29, 51, 0.35); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modal-auf 0.28s var(--ease); }
.modal::backdrop { background: rgba(17, 29, 51, 0.8); animation: modal-hintergrund 0.2s ease; }
@keyframes modal-auf { from { opacity: 0; transform: translateY(16px); } }
@keyframes modal-hintergrund { from { opacity: 0; } }
.modal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--hair); }
.modal-kopf h2 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.015em; }
.modal-zu { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--gray2); font-size: 20px; transition: background 0.2s, color 0.2s; }
.modal-zu:hover { background: var(--stone); color: var(--ink); }
.modal-zu:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.modal-text { overflow-y: auto; overscroll-behavior: contain; padding: 6px 24px 28px; }
.modal-text h2 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); margin-top: 24px; }
.modal-text p, .modal-text ul { font-size: 15px; line-height: 1.6; color: var(--gray2); margin-top: 8px; }
.modal-text ul { padding-left: 20px; }
.modal-text a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  /* Handy: von unten, wie auf wertentwickler.de */
  .modal { width: 100%; max-height: 92dvh; margin: auto 0 0; border-width: 1px 0 0; border-radius: 24px 24px 0 0; }
  .modal-kopf { padding: 18px 20px 14px; }
  .modal-kopf h2 { font-size: 22px; }
  .modal-text { padding: 4px 20px 24px; }
}
