:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #6e6e73;
  --line: #d2d2d7;
  --bg-3: #e3e3e8;
  --field-line: #8e8e93;
  --accent: #4f46e5;
  --accent-hi: #4338ca;
  --accent-rgb: 79, 70, 229;
  --grad-1: #22d3ee;
  --grad-2: #6366f1;
  --grad-3: #8b5cf6;
  --grad: linear-gradient(90deg, var(--grad-1) 0%, var(--grad-2) 55%, var(--grad-3) 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font);
  /* Eckenradien (Verwaltung → Erscheinungsbild → Ecken) */
  --r-xl: 28px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px; --r-pill: 980px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --nav-h: 52px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  background: var(--bg); color: var(--text);
  font: 400 17px/1.47 var(--font); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: rgba(var(--accent-rgb), .18); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.center { text-align: center; margin-top: 36px; }

/* Buttons und Links */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: 400 17px/1.2 var(--font); letter-spacing: -.02em;
  transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: scale(.97); }
.btn-s { padding: 7px 15px; font-size: 14px; }
.btn-l { padding: 16px 32px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.more { color: var(--accent); font-size: 17px; }
.more::after { content: "›"; margin-left: .25em; display: inline-block; transition: transform .2s var(--ease); }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translateX(3px); }
.more-plain::after { content: none; }

/* Fortschrittsbalken */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: rgba(0, 0, 0, .08); }
.nav-in { max-width: 1024px; margin: 0 auto; padding: 0 22px; height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 2px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; flex: none; }
.logo img { height: 30px; width: auto; margin-left: -10px; transition: transform .8s var(--spring); }
.logo b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.spin img { transform: rotate(720deg) scale(1.2); }
.links { display: flex; gap: 30px; margin-left: auto; }
.links a { font-size: 13px; color: rgba(0, 0, 0, .8); transition: color .2s; position: relative; }
.links a:hover, .links a[aria-current="page"] { color: var(--accent); }
.links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); }
.links-cta { display: none; }
.burger { display: none; width: 40px; height: 40px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 23px; }
.nav.open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Intro-Animation (nur beim ersten Besuch der Startseite) */
.intro-screen { display: none; }
html.intro .intro-screen {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  animation: intro-out .6s 1.05s cubic-bezier(.7, 0, .2, 1) forwards;
}
html.intro body { overflow: hidden; }
html.intro.intro-done body { overflow: auto; }
/* Symbol und Schriftzug: gleiche Schriftgröße als Maß. Das Symbol (ohne transparenten Rand) ist so hoch wie die
   Oberlänge und steht optisch mittig zwischen Kleinbuchstaben und Oberlänge (nicht mittig zur Zeilenbox). */
.intro-logo { display: flex; align-items: center; gap: .2em; font-size: clamp(44px, 9vw, 72px); }
.intro-logo img { height: .78em; width: auto; max-width: 3em; margin-top: .06em; opacity: 0; transform: scale(.6) rotate(-90deg); filter: blur(10px); animation: intro-icon .6s .05s var(--spring) forwards; }
.intro-word { display: flex; font-size: 1em; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
/* Verlauf je Buchstabe statt am Wort: Safari zeichnet einen Text-Verlauf nicht durch einzeln animierte Buchstaben, dort stand sonst nur „deba“.
   Größe und Position je Buchstabe kommen aus der Vorlage, damit der Verlauf über das ganze Wort läuft. */
.intro-word b { display: flex; font-weight: 700; }
.intro-word b i { background-image: var(--grad); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-word i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(60%); animation: intro-letter .6s var(--spring) forwards; }
.intro-word i:nth-child(1) { animation-delay: .25s; } .intro-word i:nth-child(2) { animation-delay: .29s; }
.intro-word i:nth-child(3) { animation-delay: .33s; } .intro-word i:nth-child(4) { animation-delay: .37s; }
.intro-word b i:nth-child(1) { animation-delay: .44s; } .intro-word b i:nth-child(2) { animation-delay: .48s; } .intro-word b i:nth-child(3) { animation-delay: .52s; }
/* Schriftzug unabhängig von der Systemschrift mittig zum Symbol: Die Textbox wird auf Großbuchstabenhöhe bis Grundlinie
   beschnitten (SF Pro, Segoe UI, Roboto … haben unterschiedliche Ober-/Unterlängen). Ohne Unterstützung: bisheriges Verhalten. */
@supports (text-box: trim-both cap alphabetic) {
  .logo > span:not(.sr-only), .intro-word i { text-box: trim-both cap alphabetic; }
  .intro-logo img { margin-top: 0; }
}
.intro-line { width: 180px; height: 3px; border-radius: 3px; background: var(--grad); transform: scaleX(0); animation: intro-line .5s .5s var(--ease) forwards; }
@keyframes intro-icon { to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-letter { to { opacity: 1; transform: none; } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Einstiegs-Animationen */
.fade { opacity: 0; transform: translateY(18px); animation: up 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
html.intro .fade { animation-delay: calc(var(--d, 0s) + 1.3s); }
@keyframes up { to { opacity: 1; transform: none; } }

/* Hero */
.hero { text-align: center; padding: 88px 22px 0; overflow: hidden; }
.hero h1 { font-size: clamp(46px, 7.8vw, 96px); line-height: 1.03; letter-spacing: -.04em; margin-top: 12px; font-weight: 700; }
.hero-sub { max-width: 660px; margin: 22px auto 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.38; color: var(--text-2); letter-spacing: -.02em; }
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }

/* Geräte */
.devices {
  --c1: #0f2a4a; --c2: #f59e0b; --c3: #b45309; --bt: #1d1d1f; --pic: radial-gradient(circle at 30% 20%, #3b6aa8, #0f2a4a 70%);
  position: relative; max-width: 980px; margin: 70px auto 0; padding-bottom: 20px;
}
.devices { scale: var(--ds, 1); transform-origin: 50% 0; }
.site, .p-site { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.devices.swap .site, .devices.swap .p-site { opacity: 0; transform: translateY(6px); }
.laptop { width: 88%; margin: 0 auto 0 0; }
.lid { position: relative; background: #0b0b0c; border-radius: 16px 16px 0 0; padding: 1% 1% 1.6%; box-shadow: 0 0 0 1.5px #c7c7cc, 0 0 0 2.5px #e5e5ea; }
.cam { position: absolute; top: .45%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1c1c22; box-shadow: inset 0 0 0 1px #2c2c35; }
.screen { border-radius: 5px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; }
.base { height: 12px; margin: 0 -7%; background: linear-gradient(180deg, #f2f2f4 0%, #d1d1d6 45%, #a1a1a6 100%); border-radius: 2px 2px 16px 16px / 2px 2px 10px 10px; position: relative; box-shadow: 0 30px 40px -24px rgba(0,0,0,.4); }
.base::before { content: ""; position: absolute; top: 0; left: 50%; width: 14%; height: 5px; transform: translateX(-50%); background: linear-gradient(#b5b5ba, #d1d1d6); border-radius: 0 0 8px 8px; }

.site { height: 100%; display: flex; flex-direction: column; text-align: left; font-size: clamp(5.5px, 1.1vw, 12px); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 2em; padding: 1.4em 2.6em; border-bottom: 1px solid #eee; }
.site-logo { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1.25em; color: var(--c1); }
.site-logo i { width: 1.5em; height: 1.5em; border-radius: .4em; background: var(--c2); flex: none; transition: background .5s; }
.site-links { display: flex; gap: 2em; flex: 1; justify-content: flex-end; color: #555; }
.site-btn { background: var(--c1); color: #fff; padding: .7em 1.3em; border-radius: 2em; font-weight: 600; white-space: nowrap; }
.site-btn.big { display: inline-block; margin-top: 1.6em; padding: .9em 1.7em; background: var(--c2); color: var(--bt); }
.site-hero { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2em; align-items: center; padding: 2em 2.6em; background: linear-gradient(180deg, #f7f9fc, #fff); }
.site-hero small { color: var(--c3); font-weight: 600; }
.site-h { font-size: 3.1em; line-height: 1.05; font-weight: 700; color: var(--c1); margin: .3em 0 .45em; letter-spacing: -.035em; }
.site-hero p:not(.site-h) { color: #555; max-width: 26em; }
.site-pic { height: 100%; min-height: 10em; border-radius: 1.4em; display: grid; place-items: center; background: var(--pic); transition: background .5s; }
.site-pic svg { width: 32%; height: auto; aspect-ratio: 1; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 .4em .8em rgba(0,0,0,.25)); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; padding: 0 2.6em 2em; }
.site-cards div { border: 1px solid #eee; border-radius: 1em; padding: 1em 1.2em; display: flex; flex-direction: column; gap: .2em; }
.site-cards b { color: var(--c1); }
.site-cards span { color: #666; }

.phone, .lock { --frame: linear-gradient(145deg, #e8e8ec 0%, #a7a7ad 28%, #f4f4f6 52%, #8e8e93 78%, #d8d8dc 100%); }
.phone { position: absolute; right: 1%; bottom: 0; width: 22%; aspect-ratio: 9 / 19.5; background: var(--frame); border-radius: 17% / 7.9%; padding: .55%; box-shadow: 0 40px 70px -28px rgba(0,0,0,.5), inset 0 0 0 .5px rgba(0,0,0,.25); cursor: pointer; }
.phone::before, .phone::after, .lock::before, .lock::after { content: ""; position: absolute; width: 1.4%; border-radius: 2px; background: linear-gradient(90deg, #8e8e93, #c7c7cc); }
.phone::before, .lock::before { right: -1.1%; top: 27%; height: 11%; }
.phone::after, .lock::after { left: -1.1%; top: 22%; height: 7%; box-shadow: 0 calc(var(--bh, 30px) * 1) 0 #a1a1a6; }
.phone.ring-it { animation: shake .6s var(--ease); }
@keyframes shake { 20%, 60% { transform: rotate(-4deg); } 40%, 80% { transform: rotate(4deg); } }
.phone-screen { position: relative; height: 100%; border: clamp(2px, .42vw, 5px) solid #050505; border-radius: 15.8% / 7.3%; overflow: hidden; background: linear-gradient(180deg, #f7f9fc, #fff); }
.status { position: absolute; z-index: 4; top: 2.6%; left: 9%; right: 8%; display: flex; justify-content: space-between; align-items: center; font: 600 clamp(5px, .75vw, 9px)/1 var(--font); color: #111; letter-spacing: -.01em; }
.status span { display: flex; gap: .45em; align-items: center; }
.status i { display: block; height: .85em; background: currentColor; }
.status .sig { width: 1.5em; clip-path: polygon(0 75%, 18% 75%, 18% 100%, 0 100%, 0 75%, 27% 55%, 45% 55%, 45% 100%, 27% 100%, 27% 55%, 55% 30%, 72% 30%, 72% 100%, 55% 100%, 55% 30%, 82% 0, 100% 0, 100% 100%, 82% 100%, 82% 0); }
.status .wifi { width: 1.25em; clip-path: polygon(50% 100%, 0 30%, 15% 15%, 50% 0, 85% 15%, 100% 30%); }
.status .bat { width: 2.1em; border-radius: .25em; background: linear-gradient(90deg, currentColor 78%, transparent 78%); box-shadow: inset 0 0 0 .1em currentColor; opacity: .9; }
.status.light { color: #fff; top: 2.2%; }
.home-bar { position: absolute; z-index: 4; bottom: 1.4%; left: 50%; width: 34%; height: .7%; min-height: 2px; margin-left: -17%; border-radius: 99px; background: #111; opacity: .85; }
.home-bar.light { background: #fff; opacity: .9; }
.island { position: absolute; top: 1.8%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.5%; background: #000; border-radius: 99px; z-index: 5; transition: width .5s var(--spring), height .5s var(--spring); }
.phone.ring-it .island { width: 80%; height: 9%; }
.phone-ping { position: absolute; z-index: 4; top: 3%; left: 12%; right: 12%; color: #fff; font-size: clamp(5px, .8vw, 9px); line-height: 1.3; display: flex; flex-direction: column; opacity: 0; transition: opacity .3s; pointer-events: none; padding: .6em 0 0 .6em; }
.phone.ring-it .phone-ping { opacity: 1; transition-delay: .2s; }
.p-site { padding: 24% 8% 0; text-align: left; font-size: clamp(5px, .95vw, 10.5px); }
.p-site .site-h { font-size: 2.1em; margin: 1.2em 0 0; }
.p-site .site-btn.big { margin: 1.4em 0 1.6em; }
.p-card { border: 1px solid #eee; border-radius: 1em; padding: .9em 1em; display: flex; flex-direction: column; margin-top: .8em; background: #fff; }
.p-card b { color: var(--c1); }
.p-card span { color: #666; }

.switch { display: inline-flex; gap: 4px; margin-top: 34px; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); position: relative; }
/* Gleitende Markierung: wandert beim Wechsel mit Federbewegung zum neuen Feld (gesetzt von site.js). */
.switch-thumb { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: var(--r-pill); background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.12), 0 4px 14px -6px rgba(0,0,0,.18); pointer-events: none; opacity: 0; }
.switch.has-thumb .switch-thumb { opacity: 1; }
.switch.thumb-ready .switch-thumb { transition: transform .55s var(--spring), width .55s var(--spring), height .55s var(--spring); }
.switch.has-thumb button { z-index: 1; }
.switch.has-thumb button[aria-pressed="true"] { background: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .switch.thumb-ready .switch-thumb { transition: none; } }
.switch button { font-size: 14px; letter-spacing: -.01em; color: var(--text-2); background: none; border: 0; padding: 9px 16px; border-radius: var(--r-pill); cursor: pointer; transition: all .25s; position: relative; overflow: hidden; }
.switch button:hover { color: var(--text); }
.switch button { transition: color .35s var(--ease); }
.switch button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.switch button[aria-pressed="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: 0 50%; animation: tick 4.5s linear; }
.switch.stopped button::after { display: none; }
@keyframes tick { from { transform: scaleX(0); } }

/* Statement: Wörter leuchten beim Scrollen auf */
.statement { max-width: 980px; margin: 0 auto; padding: 150px 22px 30px; }
.statement p { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.lit span { color: var(--text); opacity: .15; transition: opacity .25s; }
.lit span.on { opacity: 1; }

/* Abschnitte */
.section { max-width: 1024px; margin: 0 auto; padding: 130px 22px 0; }
.section.wide { max-width: none; padding-left: 0; padding-right: 0; }
.section.wide .head, .section.wide .center { padding: 0 22px; }
.head { text-align: center; margin-bottom: 56px; }
.head p { margin: 16px auto 0; max-width: 620px; font-size: 21px; color: var(--text-2); line-height: 1.38; }

/* Unterseiten-Kopf */
.page-hero { text-align: center; padding: 90px 22px 0; max-width: 980px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 80px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; margin-top: 10px; }
.page-hero.small { padding-top: 70px; }
.page-hero.small h1 { font-size: clamp(36px, 5vw, 56px); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.jump a { font-size: 14px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--text); transition: background .2s, color .2s; }
.jump a:hover { background: var(--accent); color: #fff; }
/* Sprungmarken als Segment-Leiste: läuft beim Scrollen unter der Navigation mit, Markierung gleitet zum aktuellen Abschnitt. */
html:has(.jump-seg) { scroll-padding-top: calc(var(--nav-h) + 78px); }
.jump-wrap { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 40; display: flex; justify-content: center; margin: 36px auto 0; padding: 0 22px; pointer-events: none; }
.jump-seg { pointer-events: auto; position: relative; display: inline-flex; flex-wrap: nowrap; gap: 2px; max-width: 100%; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); overflow-x: auto; scrollbar-width: none; transition: box-shadow .3s, background .3s; }
.jump-seg::-webkit-scrollbar { display: none; }
.jump-wrap.stuck .jump-seg { background: color-mix(in srgb, var(--bg-2) 88%, transparent); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 10px 30px -14px rgba(0,0,0,.3), inset 0 0 0 .5px rgba(0,0,0,.06); }
.jump-seg a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 38px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; color: var(--text-2); white-space: nowrap; transition: color .35s var(--ease); }
.jump-seg a:hover, .jump-seg a[aria-current="true"] { color: var(--text); }
.jump-seg svg { display: none; }
.seg-thumb { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: var(--r-pill); background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.12), 0 4px 14px -6px rgba(0,0,0,.18); pointer-events: none; opacity: 0; }
.jump-seg.has-thumb .seg-thumb { opacity: 1; }
.jump-seg.thumb-ready .seg-thumb { transition: transform .55s var(--spring), width .55s var(--spring), height .55s var(--spring); }
@media (prefers-reduced-motion: reduce) { .jump-seg.thumb-ready .seg-thumb { transition: none; } }
@media (max-width: 600px) { .jump-seg a { min-height: 44px; padding: 9px 12px; font-size: 13px; } .jump-wrap { padding: 0 16px; } }
/* Mit Symbolen auf Handy/Tablet: gleich große Kacheln, 4 je Zeile, ohne Mitlaufen */
@media (max-width: 900px) {
  .jump-wrap:has(.jump-tiles) { position: static; }
  .jump-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 520px; padding: 0; background: none; overflow: visible; }
  .jump-tiles .seg-thumb { display: none; }
  .jump-tiles a { flex-direction: column; justify-content: center; gap: 6px; min-width: 0; min-height: 74px; padding: 12px 4px; border-radius: var(--r-lg); background: var(--bg-2); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease); }
  .jump-tiles a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .jump-tiles a:active { transform: scale(.96); }
  .jump-tiles a[aria-current="true"] { color: var(--text-2); }
  .jump-tiles a:hover { background: var(--text); color: var(--bg); }
  .jump-tiles svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 600px) { .jump-tiles { gap: 6px; } }

/* Branchen-Karussell */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(22px, calc((100vw - 980px) / 2)) 30px; scrollbar-width: none; outline: none;
}
.rail::-webkit-scrollbar { display: none; }
.b-card {
  flex: none; width: 300px; min-height: 420px; scroll-snap-align: center; border-radius: var(--r-xl); padding: 32px 28px 26px;
  background: var(--tint); display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.b-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 50px -30px rgba(0,0,0,.25); }
.b-ic { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; transition: transform .6s var(--spring); }
.b-card:hover .b-ic { transform: rotate(-10deg) scale(1.1); }
.b-card h3 { font-size: 26px; line-height: 1.12; }
.b-card p { color: var(--text-2); flex: 1; }
.mini { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.88); border-radius: 16px; padding: 10px 12px; font-size: 13px; line-height: 1.3; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.mini i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; }
.mini span { display: flex; flex-direction: column; color: var(--text-2); }
.mini b { color: var(--text); font-weight: 600; }
.b-card .mini { transform: translateY(8px); opacity: .0; transition: all .5s var(--spring); }
.b-card:hover .mini, .b-card.seen .mini { transform: none; opacity: 1; }
.rail-nav { display: flex; justify-content: flex-end; gap: 12px; max-width: 980px; margin: 0 auto; padding: 0 22px; }
.rail-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.rail-btn:hover { background: #e8e8ed; }
.rail-btn:disabled { opacity: .35; cursor: default; }

/* Ein Tag in Ihrem Betrieb */
.day { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* PC: Liste oben bündig mit dem Handy und gleichmäßig über dessen Höhe verteilt (Handy: 330 px breit, 9 : 19,5). */
@media (min-width: 901px) {
  .day { align-items: start; }
  .day-list { height: calc(330px * 19.5 / 9); justify-content: space-between; }
}
.day-list { position: relative; display: flex; flex-direction: column; }
.day-list button {
  position: relative; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 14px 0 14px 22px; display: flex; flex-direction: column; gap: 2px; color: var(--text-3);
  transition: color .3s;
}
.day-list b { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; transition: transform .45s var(--spring); transform-origin: 0 50%; }
.day-list small { font-size: 14px; color: var(--text-3); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s; }
.day-ic, .day-short { display: none; }
.day-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.day-list i { position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .3s; }
.day-list i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--dp, 0)); }
.day-list button:hover { color: var(--text-2); }
.day-list button[aria-pressed="true"] { color: var(--text); }
.day-list button[aria-pressed="true"] b { transform: scale(1.04); }
.day-list button[aria-pressed="true"] small { max-height: 24px; opacity: 1; }
.day-list button[aria-pressed="true"] i { opacity: 1; }

.day-stage { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.lock { position: relative; --bh: 42px; width: min(330px, 100%); aspect-ratio: 9 / 19.5; background: var(--frame); border-radius: 56px; padding: 3px; box-shadow: 0 50px 80px -40px rgba(0,0,0,.5), inset 0 0 0 .5px rgba(0,0,0,.25); }
.lock-screen {
  --wall: radial-gradient(120% 80% at 20% 10%, #fde68a, #f59e0b 45%, #7c2d12);
  position: relative; height: 100%; border: 6px solid #050505; border-radius: 53px; overflow: hidden; background: var(--wall);
  display: flex; flex-direction: column; padding: 56px 14px 18px; transition: background .8s var(--ease);
}
.lock-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25)); pointer-events: none; }
.lock-screen::after { content: ""; position: absolute; inset: 0; background: #05060d; opacity: var(--night, 0); transition: opacity 1.2s var(--ease); pointer-events: none; }
.lock .island { top: 11px; width: 32%; height: 30px; }
.lock-top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.15); }
.lock-date { font-size: 15px; font-weight: 600; opacity: .9; }
.lock-time { font-size: 76px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-notes { position: relative; z-index: 1; margin-top: 26px; flex: 1; display: flex; flex-direction: column; overflow: hidden;
  mask-image: linear-gradient(180deg, #000 78%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); }
.lock-notes .n-wrap > div { padding-top: 8px; }
.lock-notes .note { margin: 0; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: none; border-radius: var(--r-lg); font-size: 13px; padding: 11px 12px; grid-template-columns: 34px 1fr auto; }
.lock-notes .note .ic { width: 34px; height: 34px; border-radius: 8px; font-size: 15px; }
.lock-night { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34%; text-align: center; color: #fff; font-size: 17px; font-weight: 600; opacity: 0; transform: translateY(10px); transition: all .8s var(--ease) .4s; display: flex; flex-direction: column; gap: 8px; }
.lock-night span { font-size: 34px; }
.lock-screen.night { --night: .78; }
.lock-screen.night .lock-night { opacity: 1; transform: none; }
.lock-screen.night .lock-notes { opacity: .25; transition: opacity .8s; }
.day-stats { display: flex; gap: 40px; text-align: center; }
.day-stats div { display: flex; flex-direction: column; gap: 4px; }
.day-stats b { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.day-stats span { font-size: 14px; color: var(--text-2); }

/* Kacheln */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { background: var(--bg-2); border-radius: var(--r-xl); padding: 44px 40px 40px; display: flex; flex-direction: column; gap: 32px; overflow: hidden; }
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kicker { font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.tile h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.tile-text p:not(.kicker) { color: var(--text-2); }
.tile-text .more { display: inline-block; margin-top: 18px; }
.tile-visual, .feature-visual { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.score { display: flex; align-items: center; gap: 20px; }
.score p { color: var(--text-2); font-size: 15px; line-height: 1.35; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #e5e5ea; stroke-width: 9; }
.ring .fg { stroke: #34c759; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 600; color: #1f7a35; letter-spacing: -.03em; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-radius: var(--r-md); padding: 20px 24px; width: 100%; max-width: 340px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #34c759; color: #fff; font-size: 12px; font-weight: 700; }

/* Mitteilungen: erscheinen nacheinander */
.notes { height: 300px; width: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.notes::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, var(--bg-2)); pointer-events: none; }
.n-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease), opacity .4s; }
.n-wrap.show { grid-template-rows: 1fr; }
.n-wrap.gone { opacity: 0; }
.n-wrap > div { overflow: hidden; min-height: 0; }
.note {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 12px; align-items: center;
  margin-bottom: 10px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06); font-size: 14px; line-height: 1.3;
  opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .45s .1s, transform .6s .1s var(--spring);
}
.n-wrap.show .note { opacity: 1; transform: none; }
.note .ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 17px; }
.note b { font-weight: 600; }
.note time { color: var(--text-3); font-size: 12px; }
.note p { grid-column: 2 / -1; color: var(--text); }
.n-step { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); margin: 0 0 10px 6px; }
.n-step::before { content: ""; width: 1px; height: 12px; background: var(--line); }

/* Chat */
.chat { height: 300px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 20%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%); }
.bub { max-width: 80%; padding: 9px 14px; border-radius: 19px; font-size: 15px; line-height: 1.32; animation: pop .4s var(--spring) both; flex: none; }
.bub.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bub.them { align-self: flex-start; background: var(--bg-3); color: var(--text); border-bottom-left-radius: 6px; }
.bub.info { align-self: center; background: none; color: #1f7a35; font-size: 12px; font-weight: 500; padding: 4px; }
.dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* Zusagen */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.promises div { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.promises b { font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.promises span { color: var(--text-2); font-size: 15px; }

/* Dunkles Band: Vorher / Nachher */
.fx-section .head h2 { color: var(--text); }
.grad-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx { --paper: #e8e4dc; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; user-select: none; cursor: pointer; touch-action: pan-y;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); }
.fx-bg { position: absolute; inset: 0; background: radial-gradient(130% 100% at 85% 0%, color-mix(in srgb, var(--grad-2) 45%, #fff) 0%, var(--grad-2) 38%, var(--accent-hi) 70%, color-mix(in srgb, var(--accent-hi) 60%, #000) 100%); clip-path: circle(0% at 50% 100%); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
.fx.calm .fx-bg { clip-path: circle(150% at 50% 100%); }
.fx-clock { position: absolute; top: 9%; left: 5%; z-index: 2; display: flex; flex-direction: column; }
.fx-clock b { font-size: clamp(44px, 7vw, 88px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: #c2410c; transition: color .8s .3s; }
.fx-clock span { position: relative; height: 1.3em; font-size: 16px; font-weight: 500; margin-top: 6px; }
.fx-clock span i { position: absolute; left: 0; font-style: normal; white-space: nowrap; transition: opacity .4s, transform .5s var(--spring); }
.fx.calm .fx-clock b { color: #fff; }
.fx .t-calm { opacity: 0; transform: translateY(8px); }
.fx.calm .t-chaos { opacity: 0; transform: translateY(-8px); }
.fx.calm .t-calm { opacity: 1; transform: none; }
.fx-clock .t-chaos { color: #57534e; }
.fx-clock .t-calm { color: #a5b4fc; transition-delay: .5s; }

/* Zettel → erledigte Karten */
.fx-note {
  position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 23%; min-height: 4.4em; padding: 14px 16px 16px;
  font: 500 clamp(12px, 1.5vw, 17px)/1.3 "Marker Felt", "Comic Sans MS", "Segoe Print", cursive;
  color: #3a2f00; background: var(--c); transform: rotate(var(--r)); box-shadow: 0 12px 24px -10px rgba(0,0,0,.35);
  transition: left .9s var(--spring), top .9s var(--spring), width .9s var(--spring), transform .9s var(--spring), background .5s, border-radius .5s, box-shadow .5s, color .5s, min-height .6s;
  transition-delay: calc(var(--i) * 140ms + .25s);
}
.fx-note:nth-of-type(3) { --x: 32%; --y: 14%; --r: -6deg; --c: #fde68a; }
.fx-note:nth-of-type(4) { --x: 64%; --y: 34%; --r: 5deg; --c: #fbcfe8; color: #500724; }
.fx-note:nth-of-type(5) { --x: 7%; --y: 44%; --r: -3deg; --c: #bae6fd; color: #082f49; }
.fx-note:nth-of-type(6) { --x: 70%; --y: 8%; --r: 9deg; --c: #fde68a; }
.fx-note .t-chaos, .fx-note .t-calm { display: block; transition: opacity .35s, transform .5s var(--spring); transition-delay: calc(var(--i) * 140ms + .3s); }
.fx-note .t-calm { position: absolute; left: 52px; right: 16px; top: 50%; margin-top: -.65em; font: 500 clamp(13px, 1.4vw, 16px)/1.3 var(--font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-check { position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #34c759; color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--font); transform: scale(0); transition: transform .5s var(--spring); transition-delay: calc(var(--i) * 140ms + .7s); }
.fx.calm .fx-note { left: 50%; top: calc(16% + var(--i) * 15%); width: 44%; min-height: 0; height: 12%; transform: none; background: rgba(255,255,255,.1); border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.fx.calm .fx-check { transform: scale(1); }

/* Apps mit Zählern */
.fx-apps { position: absolute; left: 5%; bottom: 8%; z-index: 2; display: flex; gap: 18px; transition: opacity .5s 1s, transform .6s 1s var(--ease); }
.fx.calm .fx-apps { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.fx .app i { transition: transform .4s var(--spring); }
.fx.calm .app i { transform: scale(0); transition-delay: .9s; animation: none; }
.app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-ic { width: clamp(44px, 5vw, 60px); aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; color: #fff; font-size: clamp(18px, 2.2vw, 26px); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.app i { position: absolute; top: -8px; right: -10px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #d70015; color: #fff; font: 600 13px/24px var(--font); font-style: normal; text-align: center; animation: nag 2.4s infinite; }
.app small { font-size: 12px; color: #6b6259; }
@keyframes nag { 0%, 80%, 100% { transform: none; } 85% { transform: scale(1.25); } 90% { transform: scale(.95); } }
.fx-done { position: absolute; left: 5%; bottom: 9%; z-index: 2; color: #fff; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.02em; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s var(--spring); }
.fx.calm .fx-done { opacity: 1; transform: none; transition-delay: 1.4s; }

/* iOS-Schalter */
.fx-switch { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.fx-lbl { font-size: 17px; font-weight: 600; color: var(--text-3); transition: color .3s; cursor: pointer; }
.fx-lbl.off { color: var(--text); }
.fx-switch.is-on .fx-lbl.off { color: var(--text-3); }
.fx-switch.is-on .fx-lbl.on { color: var(--text); }
.ios { position: relative; width: 64px; height: 38px; border-radius: 19px; border: 0; background: #e5e5ea; cursor: pointer; transition: background .3s; }
.ios i { position: absolute; top: 3px; left: 3px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); transition: transform .4s var(--spring); }
.ios[aria-checked="true"] { background: #34c759; }
.ios[aria-checked="true"] i { transform: translateX(26px); }
.ios:active i { width: 38px; }
.ios[aria-checked="true"]:active i { transform: translateX(20px); }

.pledges { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 0; margin-top: 54px; color: var(--text-2); font-size: 15px; }
.pledges li { padding: 0 26px; border-left: 1px solid var(--line); }
.pledges li:first-child { border-left: 0; }
.pledges b { color: var(--text); font-weight: 600; }

/* Abschlussband */
.cta-band { text-align: center; border-radius: var(--r-xl); padding: 80px 30px; background: var(--bg-2); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side, rgba(var(--accent-rgb),.14), transparent 70%) var(--mx, 50%) var(--my, 50%) / 60% 60% no-repeat; transition: background-position .2s; }
.cta-band p { color: var(--text-2); font-size: 19px; max-width: 560px; margin: 16px auto 32px; }

/* Feature-Abschnitte (Leistungen) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.feature-text > p:not(.kicker) { color: var(--text-2); font-size: 19px; line-height: 1.42; }
.feature-visual.tile { padding: 40px 32px; min-height: 380px; justify-content: center; }
.list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.list li { padding-left: 30px; position: relative; color: var(--text-2); }
.list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); }
.list li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.list b { color: var(--text); font-weight: 600; }

/* Branchen-Detailseite */
.industries { display: flex; flex-direction: column; gap: 24px; padding-top: 90px; }
.industry { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; padding: 30px; border-radius: var(--r-xl); background: var(--bg-2); scroll-margin-top: calc(var(--nav-h) + 20px); }
.industry:nth-child(even) .ind-visual { order: 2; }
.ind-visual { background: var(--tint); border-radius: var(--r-lg); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.ind-visual .b-ic { width: 64px; height: 64px; }
.ind-visual .mini { align-self: flex-start; }
.ind-text h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.ind-text > p { color: var(--text-2); font-size: 18px; }
.ind-text .list { margin-top: 20px; gap: 10px; }

/* Rechner */
.calc { background: var(--bg-2); border-radius: var(--r-xl); padding: 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.calc-in { display: flex; flex-direction: column; gap: 30px; }
.field { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.field output { font-weight: 600; font-variant-numeric: tabular-nums; }
.field input { grid-column: 1 / -1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; cursor: pointer; outline: none;
  background: linear-gradient(90deg, var(--accent) var(--v, 20%), #d2d2d7 var(--v, 20%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.25), 0 0 0 .5px rgba(0,0,0,.06); transition: transform .2s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.35); }
.calc-out { display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.calc-out div { display: flex; flex-direction: column; gap: 6px; }
.calc-out b { font-size: clamp(52px, 6.4vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc-out .accent { color: var(--accent); }
.calc-out span { color: var(--text-2); line-height: 1.3; }
.fine { font-size: 13px; color: var(--text-3); }
.calc .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; }

/* Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--grad); transition: width 1.2s var(--ease) .3s; }
.steps li.in::before { width: 100%; }
.steps b { display: block; font-size: 48px; font-weight: 300; color: var(--accent); letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--text-2); font-size: 15px; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { border-radius: var(--r-xl); background: var(--bg-2); padding: 40px 32px 34px; display: flex; flex-direction: column; text-align: center; align-items: center; transition: translate .5s var(--ease), opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.price:hover { translate: 0 -4px; }
.price-main { background: var(--bg); box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px rgba(var(--accent-rgb),.35); }
.badge { font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.price h2 { font-size: 24px; letter-spacing: -.02em; }
.amount { font-size: 40px; font-weight: 700; letter-spacing: -.04em; margin-top: 10px; }
.desc { color: var(--text-2); margin-top: 4px; }
.price ul { list-style: none; margin: 26px 0 30px; width: 100%; flex: 1; }
.price li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.price li:last-child { border-bottom: 1px solid var(--line); }
.included { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.included li { background: var(--bg-2); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; }
.included b { font-size: 19px; font-weight: 600; }
.included span { color: var(--text-2); font-size: 15px; }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: var(--bg-2); border-radius: var(--r-xl); padding: 44px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--grad-1), var(--grad-2) 60%, var(--grad-3)); margin-bottom: 22px; transition: transform .6s var(--spring); }
.person:hover .avatar { transform: scale(1.06) rotate(-4deg); }
.person h2 { font-size: 26px; letter-spacing: -.02em; }
.role { color: var(--accent); font-weight: 500; margin: 4px 0 12px; }
.person p:last-child { color: var(--text-2); max-width: 340px; }

/* Projekte */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Ein einzelnes Projekt steht mittig statt links neben einer leeren Spalte. */
.projects:has(> .project:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.project { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-2); }
.project-pic { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; transition: transform .8s var(--ease); }
.project:hover .project-pic { transform: scale(1.03); }
.project-pic span { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.project-pic small { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.p-nb { background: radial-gradient(circle at 70% 20%, #24467f, #0a1a38 75%); }
.p-nb span { font-style: italic; background: linear-gradient(90deg, #b9652f, #ffc69b, #c96a34); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }
.p-me { background: radial-gradient(circle at 30% 80%, #34598f, #1c345c 75%); }
.project-text { padding: 28px 32px 32px; position: relative; background: var(--bg-2); }
.project-text h3 { font-size: 24px; margin-bottom: 6px; }
.project-text p { color: var(--text-2); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 21px; font-weight: 600; position: relative; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--text-2); font-size: 17px; animation: up .4s var(--ease); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-top: 70px; }
.contact-grid > *, .form .row > *, .form label { min-width: 0; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; }
.form { background: var(--bg-2); border-radius: var(--r-xl); padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.form input:not([type=checkbox]), .form select, .form textarea {
  font: 400 17px/1.35 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--field-line);
  border-radius: var(--r-sm); padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.15); }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; }
.form .check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form .check input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.form .check span { flex: 1; line-height: 1.45; }
.form .btn { align-self: flex-start; padding: 14px 34px; }
.form-msg { color: var(--accent); min-height: 1em; font-size: 15px; }
.contact-side { display: flex; flex-direction: column; gap: 36px; padding: 10px 6px; }
.contact-side h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.mail { color: var(--accent); font-size: 21px; }
.mail:hover { text-decoration: underline; }
.next { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 16px; }
.next li { counter-increment: n; padding-left: 42px; position: relative; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; }
.next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); color: var(--accent); font-weight: 600; display: grid; place-items: center; font-size: 14px; }
.next b { color: var(--text); font-weight: 600; font-size: 17px; }

/* Rechtliches */
.legal { max-width: 760px; padding-top: 50px; }
.legal h2 { font-size: 21px; letter-spacing: -.02em; margin: 34px 0 8px; }
.legal p { color: var(--text-2); }
.legal a { color: var(--accent); }
.todo { background: #fff8e6; color: #8a5a00 !important; border-radius: var(--r-sm); padding: 14px 18px; font-size: 15px; }

/* 404 */
.notfound { padding-top: 80px; padding-bottom: 60px; }
.big-404 { font-size: clamp(110px, 22vw, 220px); font-weight: 800; letter-spacing: -.04em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* Footer */
.foot { background: var(--bg-2); border-top: 1px solid #e5e5ea; font-size: 12px; color: var(--text-2); margin-top: 130px; }
.foot-in { max-width: 1024px; margin: 0 auto; padding: 40px 22px 28px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-cols > * { display: flex; flex-direction: column; gap: 8px; }
.foot-cols h2 { color: var(--text); font: 600 12px/1.47 var(--font); letter-spacing: -.01em; }
.foot-brand .logo { font-size: 17px; margin-bottom: 4px; }
.foot-brand .logo img { height: 26px; }
.foot-brand p { max-width: 280px; line-height: 1.5; }
.foot-cols a { padding: 2px 0; }
.foot-cols a:hover { color: var(--text); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; color: var(--text-3); flex-wrap: wrap; }
.heart { display: inline-block; color: #ff3b30; cursor: default; }
.made:hover .heart { animation: beat .8s infinite; }
@keyframes beat { 15%, 45% { transform: scale(1.35); } 30% { transform: scale(1); } }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Easter-Egg: Konfetti und Hinweis */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; z-index: 151; background: rgba(29,29,31,.92); color: #fff; padding: 12px 20px; border-radius: var(--r-pill); font-size: 15px; transition: all .5s var(--spring); pointer-events: none; backdrop-filter: blur(10px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Tablet */
@media (max-width: 900px) {
  .links { position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100dvh - var(--nav-h)); flex-direction: column; gap: 0; padding: 20px 32px; margin: 0;
    background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav.open .links { opacity: 1; visibility: visible; transform: none; }
  .links a { font-size: 28px; font-weight: 600; color: var(--text); padding: 12px 0; letter-spacing: -.03em; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .4s var(--ease); }
  .nav.open .links a { opacity: 1; transform: none; }
  .nav.open .links a:nth-child(2) { transition-delay: .04s; } .nav.open .links a:nth-child(3) { transition-delay: .08s; }
  .nav.open .links a:nth-child(4) { transition-delay: .12s; } .nav.open .links a:nth-child(5) { transition-delay: .16s; }
  .links a[aria-current="page"]::after { display: none; }
  .links-cta { display: block; }
  .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .tiles, .projects, .team, .feature, .contact-grid, .day { grid-template-columns: 1fr; }
  .day { gap: 30px; }
  /* Handy/Tablet: Branchen als gleich große Kacheln, 4 je Zeile */
  .day-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
  .day-list button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 74px; padding: 12px 4px; border-radius: var(--r-lg); background: var(--bg-2); color: var(--text-2); text-align: center; transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease); }
  .day-list button:active { transform: scale(.96); }
  .day-list button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
  .day-list b, .day-list small, .day-list i { display: none; }
  .day-list .day-ic { display: block; }
  .day-list .day-short { display: block; max-width: 100%; font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .feature.flip .feature-text { order: 0; }
  .tile-wide { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .included { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .calc { grid-template-columns: 1fr; padding: 36px; }
  .industry { grid-template-columns: 1fr; gap: 26px; }
  .industry:nth-child(even) .ind-visual { order: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
/* Handy */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-in { padding: 0 16px; }
  .hero { padding: 56px 16px 0; }
  .hero-cta { flex-direction: column; gap: 18px; }
  .devices { margin-top: 50px; }
  .laptop { width: 100%; }
  .lid { padding: 6px 6px 8px; border-radius: 10px 10px 0 0; }
  .base { height: 8px; margin: 0 -3%; }
  .site-links { display: none; }
  .phone { width: 30%; right: -2%; bottom: -14px; }
  /* Eine Zeile: alle Beispiele nebeneinander, Felder teilen sich die Breite */
  .switch { flex-wrap: nowrap; gap: 2px; padding: 3px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .switch::-webkit-scrollbar { display: none; }
  .switch button { flex: 1 1 0; padding: 9px 9px; font-size: 13px; white-space: nowrap; }
  .statement { padding: 110px 16px 10px; }
  .section { padding: 100px 16px 0; }
  .page-hero { padding: 60px 16px 0; }
  .head { margin-bottom: 40px; }
  .head p { font-size: 18px; }
  .b-card { width: 78vw; min-height: 380px; }
  .rail-nav { display: none; }
  .tile { padding: 32px 22px 26px; border-radius: var(--r-lg); }
  .feature-visual.tile { padding: 28px 18px; min-height: 0; }
  .score { flex-direction: column; text-align: center; }
  .calc { padding: 26px 20px; border-radius: var(--r-lg); }
  .steps, .included { grid-template-columns: 1fr; }
  .fx { aspect-ratio: 3 / 4.2; border-radius: var(--r-lg); }
  .fx-clock { top: 6%; left: 7%; }
  .fx-note { width: 46%; padding: 10px 12px 12px; }
  .fx-note:nth-of-type(3) { --x: 6%; --y: 27%; }
  .fx-note:nth-of-type(4) { --x: 48%; --y: 37%; }
  .fx-note:nth-of-type(5) { --x: 4%; --y: 50%; }
  .fx-note:nth-of-type(6) { --x: 50%; --y: 20%; }
  .fx.calm .fx-note { left: 6%; width: 88%; top: calc(30% + var(--i) * 12%); height: 10%; }
  .fx-note .t-calm { left: 46px; }
  .fx-check { left: 12px; }
  .fx-apps { left: 7%; bottom: 6%; gap: 14px; }
  .fx-done { left: 7%; bottom: 8%; }
  .fx-switch { gap: 12px; }
  .fx-lbl { font-size: 15px; }
  .pledges { flex-direction: column; align-items: center; gap: 10px; }
  .pledges li { border: 0; }
  .day-list { gap: 6px; }
  .lock { width: min(300px, 86vw); border-radius: 48px; }
  .lock-screen { border-radius: 38px; }
  .lock-time { font-size: 64px; }
  /* Handy: beide Werte in einer Leiste, getrennt durch eine feine Linie */
  .day-stats { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; width: min(340px, 100%); padding: 16px 0; border-radius: var(--r-xl); background: var(--bg-2); }
  .day-stats::before { content: ""; grid-column: 2; grid-row: 1; margin: 4px 0; background: var(--line); }
  .day-stats div:first-child { grid-column: 1; grid-row: 1; }
  .day-stats div:last-child { grid-column: 3; grid-row: 1; }
  .day-stats div { align-items: center; gap: 6px; padding: 0 8px; }
  .day-stats b { font-size: 26px; white-space: nowrap; }
  .day-stats span { font-size: 13px; line-height: 1.3; }
  .industry { padding: 16px; border-radius: var(--r-lg); }
  .ind-visual { min-height: 200px; padding: 24px; }
  .cta-band { padding: 56px 22px; border-radius: var(--r-lg); }
  .form { padding: 26px 20px; border-radius: var(--r-lg); }
  .form .row { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .faq summary { font-size: 18px; }
  .foot { margin-top: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .fade { opacity: 1; transform: none; filter: none; }
  .lit span { opacity: 1; }
  .b-card .mini { opacity: 1; transform: none; }
}


/* Kontaktformular: Spam-Falle und Bestätigung */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-msg a { color: var(--accent); text-decoration: underline; }
.form-msg.err { color: #c0392b; }
.sent { background: var(--bg-2); border-radius: var(--r-xl); padding: 60px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; outline: none; }
.sent[hidden] { display: none; }
.sent h2 { font-size: clamp(26px, 3vw, 34px); }
.sent p { color: var(--text-2); max-width: 420px; }
.sent-check { width: 72px; height: 72px; margin-bottom: 10px; fill: none; stroke: #34c759; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.sent-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .4s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.status.light b { visibility: hidden; }

/* ──────────────────────────────────────────────────────────────────────────
   Ergänzungen (Relaunch mit Verwaltung)
   ────────────────────────────────────────────────────────────────────────── */

/* Selbst gehostete Schriften (SIL OFL 1.1, siehe public/fonts/LIZENZ.md). Werden nur geladen, wenn sie in
   Verwaltung → Erscheinungsbild gewählt sind – @font-face allein löst keinen Download aus. */
@font-face { font-family: "Inter Variable"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans Variable"; src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope Variable"; src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit Variable"; src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Eckenform */
html[data-radius="medium"] { --r-xl: 18px; --r-lg: 16px; --r-md: 12px; --r-sm: 10px; }
html[data-radius="sharp"] { --r-xl: 6px; --r-lg: 6px; --r-md: 4px; --r-sm: 4px; --r-pill: 8px; }

/* Bewegung: „dezent“ ohne Unschärfe und mit kürzeren Wegen, „aus“ ohne jede Animation */
html[data-motion="subtle"] .js .reveal, .js[data-motion="subtle"] .reveal { filter: none; transform: translateY(12px); }
html[data-motion="subtle"] .fade { transform: none; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .reveal, html[data-motion="off"] .fade { opacity: 1 !important; transform: none !important; filter: none !important; }
html[data-motion="off"] .lit span { opacity: 1; }
html[data-motion="off"] .devices { scale: 1; }
html[data-motion="off"] .pause-btn { display: none; }

/* Nur für Screenreader */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }

/* Animationen anhalten (WCAG 2.2.2) */
.switch-row { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.switch-row .switch { margin-top: 0; }
.pause-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); font-size: 13px; cursor: pointer; transition: color .2s, background .2s; }
.pause-btn:hover { color: var(--text); background: var(--bg-2); }
.pause-ic { position: relative; width: 10px; height: 12px; }
.pause-ic::before, .pause-ic::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 1px; background: currentColor; }
.pause-ic::before { left: 0; } .pause-ic::after { right: 0; }
.pause-btn[aria-pressed="true"] .pause-ic::before { width: 0; height: 0; left: 1px; border-radius: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pause-btn[aria-pressed="true"] .pause-ic::after { display: none; }
.feature-visual .pause-btn, .day-stage .pause-btn { margin-top: -8px; }
.tiles + .center { margin-top: 18px; }
.day-stage .fine { text-align: center; max-width: 330px; margin-top: -10px; }

/* Formular */
.req { color: var(--accent); }
.form-hint { font-size: 13px; color: var(--text-2); margin-top: -8px; }
.form textarea { min-height: 140px; }
.form [aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.contact-side .phone { display: block; margin-top: 6px; }

/* Texte aus der Verwaltung (Rechtliches) */
.rich p + p, .rich ul + p, .rich p + ul { margin-top: 12px; }
.rich ul { padding-left: 1.2em; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.rich strong { color: var(--text); font-weight: 600; }
.legal .rich a, .legal a { text-decoration: underline; text-underline-offset: 3px; }
.small-sub { font-size: 17px; margin-top: 12px; }

/* Fotos statt Initialen / Grafiken */
.avatar-photo { object-fit: cover; background: var(--bg-3); padding: 0; }
.project-img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; }
.project-text h3 a:hover { color: var(--accent); }
.project-link { display: block; }

/* Preise: zwei oder vier Pakete sauber verteilen */
.prices[data-count="1"] { grid-template-columns: minmax(0, 440px); justify-content: center; }
.prices[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.prices[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .prices[data-count] { grid-template-columns: 1fr; max-width: 440px; } }

/* ──────────────────────────────────────────────────────────────────────────
   Design-Durchgang (impeccable · ui-ux-pro-max)
   ────────────────────────────────────────────────────────────────────────── */

/* Typografie: ausgewogene Umbrüche, Ziffern in Zahlen gleich breit */
h1, h2, h3, .hero-sub, .head p, .cta-band p, .statement p { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.amount, .calc-out b, .day-stats b, .lock-time, .fx-clock b, .field output, .ring b { font-variant-numeric: tabular-nums; }
.legal p, .legal .rich, .feature-text > p, .ind-text > p { max-width: 68ch; }

/* Browser-Oberflächen in Markenfarben */
html { scrollbar-color: color-mix(in srgb, var(--text) 30%, transparent) transparent; accent-color: var(--accent); }
input, textarea, select { caret-color: var(--accent); }
a { text-underline-offset: 3px; }
::placeholder { color: var(--text-2); opacity: 1; }

/* Tippflächen (WCAG 2.5.8; auf Touch-Geräten mind. 44 px) */
.burger { width: 44px; height: 44px; margin-right: -12px; }
.burger i { left: 13px; right: 13px; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.switch button { min-height: 38px; }
.jump a { display: inline-flex; align-items: center; min-height: 38px; }
@media (pointer: coarse) {
  .switch button, .jump a, .pause-btn, .day-list button, .rail-btn { min-height: 44px; }
  .foot-cols a { padding: 6px 0; }
  .links a { min-height: 44px; display: flex; align-items: center; }
}

/* Kontrast: Beschriftung „Feierabend“ auf dem Indigo-Verlauf */
.fx-clock .t-calm { color: #e0e7ff; }

/* ──────────────────────────────────────────────────────────────────────────
   Anpassungen nach Abnahme (Startseite, Rechner, Preise, Projekte, Formular)
   ────────────────────────────────────────────────────────────────────────── */

/* Startseite: Link unter dem Button, „Animationen anhalten“ mittig unter den Beispielen */
.hero-cta { flex-direction: column; gap: 18px; }
.switch-row { flex-direction: column; gap: 12px; }

/* Leitsatz („Sie sind Profi …“) zentriert */
.statement p { text-align: center; }

/* Ersparnis-Rechner: ausgewogen und mittig */
.calc { max-width: 920px; margin: 0 auto; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 36px 0; padding: 48px 0; }
.calc-in { padding: 0 48px; }
.calc-out { align-self: stretch; text-align: center; align-items: center; justify-content: center; gap: 28px; padding: 0 40px; border-left: 1px solid var(--line); }
.calc-out div { align-items: center; }
.calc-out b { font-size: clamp(48px, 5.4vw, 68px); }
.calc .fine { text-align: center; margin: 0 48px; padding-top: 20px; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; padding: 32px 0; }
  .calc-in { padding: 0 28px; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); padding: 28px 28px 0; flex-direction: row; justify-content: space-around; flex-wrap: wrap; }
  .calc .fine { margin: 0 28px; }
}
@media (max-width: 600px) { .calc-in { padding: 0 20px; } .calc-out { padding: 24px 20px 0; } .calc .fine { margin: 0 20px; } }

/* Preise: drei Karten mit gleichen Zeilen (Hinweis, Name, Preis, Text, Liste, Button) */
.prices { grid-template-rows: repeat(6, auto); }
.price { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-items: start; }
.price .badge { margin: 0 0 6px; min-height: 1.4em; }
.price h2 { margin: 0; }
.price .amount { white-space: nowrap; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin-top: 10px; }
.price .desc { margin-top: 6px; }
.price ul { margin: 26px 0 30px; align-self: stretch; }
.price .btn { align-self: end; }
@media (max-width: 900px) {
  .prices, .price { grid-template-rows: none; }
  /* Handy/Tablet: Karten untereinander – alles mittig wie am PC; die Raster-Ausrichtung (start/end) gilt hier nicht. */
  .price { display: flex; grid-row: auto; align-items: center; }
  .price .btn { align-self: center; }
  /* Leerer Platzhalter für „Unsere Empfehlung“ hält am PC die Zeilen auf gleicher Höhe – untereinander nicht nötig. */
  .price .badge[aria-hidden="true"] { display: none; }
}

/* Projekt-Logo im Kupfer-Stil (wie NB-Elektrotechnik im Original) */
.project-pic.mark-copper span { font-style: italic; background: linear-gradient(90deg, #b9652f, #ffc69b, #c96a34); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .08em; }

/* Kontaktformular: Sternchen direkt hinter der Beschriftung */
.form label .lbl { display: block; }

/* Angebotsseiten mit Ortsbezug: Kasten „Vor Ort“ neben dem Angebot, Linkleiste zu den Angeboten */
.feature.lp { align-items: start; }
.lp-card { background: var(--bg-2); border-radius: var(--r-xl); padding: 40px 36px; }
.lp-card h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; margin-bottom: 14px; }
.lp-card p { color: var(--text-2); font-size: 17px; line-height: 1.47; }
.lp-places { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; }
.lp-places li { font-size: 14px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--bg); color: var(--text); }
.lp-more { font-size: 17px; color: var(--accent); }
.lp-more::after { content: " ›"; }
.lp-more:hover { text-decoration: underline; }
.local .head { margin-bottom: 28px; }
.local-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: 760px; margin: 0 auto; }
.local-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 4px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); transition: color .2s; }
.local-links a::after { content: "›"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s var(--ease); }
.local-links a:hover { color: var(--accent); }
.local-links a:hover::after { transform: translateX(3px); }
@media (max-width: 600px) { .local-links { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .lp-card { padding: 30px 24px; }
}

.badge-soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0; border: 1px solid var(--accent); }
.project-pic span { max-width: 100%; }
.project-soon .project-pic span { font-size: clamp(40px, 7vw, 56px); }
.project-soon .project-text h3 { font-size: 21px; }

/* Projekte in Arbeit: Vorschau der entstehenden Webseite – Browserfenster und Handy in den Projektfarben */
.soon-pic { --c: var(--accent); --d: #1e1b4b; position: relative; overflow: hidden; display: block; padding: 0; background: radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 10%, var(--bg-2)) 62%); }
.soon-win { position: absolute; left: 9%; right: 17%; top: 12%; bottom: -6%; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); border-radius: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 50px -20px color-mix(in srgb, var(--d) 70%, transparent); transition: transform .6s var(--ease); }
.soon-bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; background: #f1f1f4; }
.soon-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4da; }
.soon-bar em { flex: 1; height: 12px; margin-left: 10px; border-radius: 999px; background: #fff; }
.soon-hero { flex: 1.5; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 0 8% 4%; color: #fff; background: radial-gradient(circle at 85% 0%, var(--c), var(--d) 85%); }
.soon-nav { align-self: stretch; display: flex; align-items: center; gap: 8px; padding: 9px 0 0; margin-bottom: auto; }
.soon-nav b { margin-right: auto; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.soon-nav s { width: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); }
.soon-hero strong { max-width: 100%; font-size: clamp(22px, 3.1vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1; overflow-wrap: anywhere; }
.soon-hero small { font-size: 10px; letter-spacing: .28em; opacity: .8; }
.soon-hero u { width: 70px; height: 20px; margin: 5px 0 auto; border-radius: 999px; background: #fff; }
.soon-row { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7%; padding: 5% 8% 0; }
.soon-row span { border-radius: 8px 8px 0 0; background: color-mix(in srgb, var(--c) 12%, var(--bg-2)); }
.soon-phone { position: absolute; right: 7%; bottom: -9%; width: 21%; aspect-ratio: 9 / 17; display: flex; flex-direction: column; gap: 6%; padding: 4px 4px 0; overflow: hidden; background: #fff; border: 3px solid #1d1d1f; border-radius: 16px; box-shadow: 0 24px 40px -14px color-mix(in srgb, var(--d) 75%, transparent); transition: transform .6s var(--ease); }
.soon-phone .soon-hero { flex: none; height: 46%; align-items: center; padding: 0 6%; border-radius: 10px 10px 4px 4px; gap: 5px; }
.soon-phone .soon-hero strong { font-size: clamp(8px, 1vw, 11px); letter-spacing: 0; margin-top: auto; }
.soon-phone .soon-hero u { width: 60%; height: 7px; margin: 0 0 auto; }
.soon-phone span { height: 14%; margin: 0 5%; border-radius: 4px; background: color-mix(in srgb, var(--c) 12%, var(--bg-2)); }
.project-soon:hover .project-pic { transform: none; }
.project-soon:hover .soon-win { transform: translateY(-6px); }
.project-soon:hover .soon-phone { transform: translateY(-12px); }

/* Ungerade Anzahl: das erste Projekt steht groß über die ganze Breite, damit unten keine Lücke bleibt. */
@media (min-width: 901px) {
  .projects > .project:first-child:nth-last-child(odd):not(:only-child) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .projects > .project:first-child:nth-last-child(odd):not(:only-child) .project-text { padding: 40px 48px; }
  .projects > .project:first-child:nth-last-child(odd):not(:only-child) .project-text h3 { font-size: 32px; margin-bottom: 10px; }
  .projects > .project:first-child:nth-last-child(odd):not(:only-child) .project-text p { font-size: 19px; }
}
