/* =========================================================
   ENSAR Gebäudereinigung – Design im Markenauftritt
   Navy #0A2463 · Royalblau #1A5FD6 · Hellblau #3D8BFF
   Alle Ressourcen lokal (DSGVO-freundlich)
   ========================================================= */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-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: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --navy: #0a2463;
  --deep: #071a4a;
  --royal: #1a5fd6;
  --royal-d: #134bb3;
  --bright: #3d8bff;
  --sky: #e8f1ff;
  --sky-2: #f4f8ff;
  --text: #1e2b4f;
  --muted: #5a6a8e;
  --line: #dfe7f5;
  --wa: #25d366;
  --gold: #f5b83d;
  --r: 22px;
  --r-lg: 30px;
  --sh: 0 18px 50px -18px rgba(10,36,99,.28), 0 4px 14px -6px rgba(10,36,99,.1);
  --sh-lg: 0 40px 90px -30px rgba(7,26,74,.45);
  --grad: linear-gradient(135deg, var(--bright) 0%, var(--royal) 45%, var(--navy) 100%);
  --font: "Geist", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1260px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { hyphens: manual; margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }
h1 em, h2 em { font-style: normal; --g: linear-gradient(100deg, var(--royal) 10%, var(--bright) 90%); background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Wort-für-Wort-Einblendung */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.w > span { display: inline-block; opacity: 0; transform: translate3d(0, 105%, 0); transition: transform .75s cubic-bezier(.22, 1, .36, 1), opacity .45s ease; transition-delay: calc(var(--i, 0) * 45ms + 80ms); backface-visibility: hidden; }
.in .w > span, .no-js .w > span { opacity: 1; transform: none; }
h1 em:has(.w), h2 em:has(.w) { background: none; }
em .w > span { background: var(--g); background-size: var(--gs, 100%) 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--bright), var(--royal) 55%); color: #fff; box-shadow: 0 12px 28px -10px rgba(26,95,214,.75); }
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(26,95,214,.9); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 28px -12px rgba(37,211,102,.8); }
.btn-white { background: #fff; color: var(--navy); }

/* ---------- Topbar ---------- */
.topbar { background: var(--deep); color: #b9caf0; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.tb-live { display: inline-flex; align-items: center; gap: 9px; }
.tb-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); } 70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.tb-right { display: flex; align-items: center; gap: 22px; }
.tb-right a { color: #fff; }
.lang { display: flex; background: rgba(255,255,255,.08); border-radius: 9px; padding: 3px; }
.lang button { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #b9caf0; padding: 4px 9px; border-radius: 7px; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--royal); color: #fff; }
.lang button:hover { color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(10,36,99,.35); }
.header .wrap { display: flex; align-items: center; gap: 30px; height: 84px; }
.logo { position: relative; display: flex; align-items: center; gap: 11px; margin-right: auto; color: var(--navy); }
.logo img { width: 52px; height: 52px; animation: logoIn 1.1s var(--ease) both; transition: transform .5s var(--ease); transform-origin: 40% 60%; }
.logo:hover img { transform: rotate(-8deg) scale(1.08); }
/* funkelnder Stern am Logo */
.logo::before { content: ""; position: absolute; left: 36px; top: -3px; width: 20px; height: 20px; z-index: 2; pointer-events: none; background: radial-gradient(circle, #fff 0 18%, #8fc3ff 35%, rgba(61,139,255,0) 70%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: starTw 3.2s ease-in-out infinite 1s; opacity: 0; }
.logo:hover::before { animation-duration: .9s; }
@keyframes starTw { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 82% { opacity: 1; transform: scale(1.25) rotate(45deg); } 92% { opacity: .6; transform: scale(.8) rotate(90deg); } }
@keyframes logoIn { 0% { opacity: 0; transform: perspective(300px) rotateY(-90deg) scale(.7); } 60% { opacity: 1; transform: perspective(300px) rotateY(12deg) scale(1.05); } 100% { transform: none; } }
@keyframes shine { 0%, 55% { background-position: 120% 0; } 85%, 100% { background-position: -20% 0; } }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 28px; font-weight: 800; letter-spacing: .005em; line-height: .88; background: linear-gradient(110deg, var(--navy) 40%, #5aa2ff 50%, var(--navy) 60%) 120% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite 1.4s; }
.logo-text small { animation: fadeUp .8s var(--ease) .35s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.logo-text small { font-size: 11.6px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-top: 5px; color: var(--navy); }
.nav { display: flex; align-items: center; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 9px 13px; border-radius: 10px; font-size: 15.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; white-space: nowrap; }
.nav a:hover { background: var(--sky); color: var(--royal); }
.nav a.active { color: var(--royal); }
.nav .nav-cta { display: none; }
.h-actions { display: flex; align-items: center; gap: 16px; }
.h-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.h-phone .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--royal); display: grid; place-items: center; }
.h-phone small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.h-cta { height: 46px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.h-cta .icon, .nav-cta .icon { width: 15px; height: 15px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--navy); align-items: center; justify-content: center; }
.burger .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 0% 100%, rgba(61,139,255,.14), transparent 60%), linear-gradient(180deg, var(--sky-2), #eaf2ff); padding: 64px 0 0; }
.swoosh { position: absolute; pointer-events: none; }
.swoosh-a { top: 0; right: 0; width: 44vw; max-width: 760px; height: 560px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px -10px rgba(10,36,99,.35); color: var(--royal); font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow .icon { width: 15px; height: 15px; color: var(--bright); }
.hero h1 { font-size: clamp(40px, 4.5vw, 62px); margin: 24px 0 22px; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 em { display: block; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 30px; }
.ticks { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 15.5px; }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--royal); color: #fff; stroke-width: 3; }

.hero-visual { position: relative; padding: 10px 0 30px; }
.wipe { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1374 / 1145; box-shadow: var(--sh-lg); border: 7px solid #fff; background: #ccd; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.wipe.wiping { cursor: grabbing; }
.wipe img { width: 100%; height: 100%; object-fit: cover; }
.wipe canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 1s ease; }
.wipe.clean canvas { opacity: 0; }
.wipe-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; background: rgba(10,36,99,.88); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; pointer-events: none; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); transition: opacity .4s, transform .4s; backdrop-filter: blur(6px); }
.wipe-hint .icon { width: 14px; height: 14px; color: var(--bright); animation: twinkle 1.6s ease-in-out infinite; }
.wipe.touched .wipe-hint { opacity: 0; transform: translate(-50%, -70%); pointer-events: none; }
.wipe-meter { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); transition: opacity .4s; }
.wipe-meter b { color: var(--navy); min-width: 42px; font-variant-numeric: tabular-nums; }
.wipe-meter i { width: 90px; height: 6px; border-radius: 6px; background: var(--sky); overflow: hidden; }
.wipe-meter em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bright), var(--royal)); transition: width .3s; }
.wipe.clean .wipe-meter { opacity: 0; }
.wipe-done { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 14px; background: #fff; padding: 10px 10px 10px 20px; border-radius: 16px; box-shadow: var(--sh); transition: all .6s var(--ease) .3s; white-space: nowrap; }
.wipe-done strong { color: var(--navy); font-size: 15.5px; }
.wipe.clean .wipe-done { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.wipe-reset { display: inline-flex; align-items: center; gap: 6px; background: var(--sky); color: var(--royal); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.wipe-reset .icon { width: 16px; height: 16px; }
.squeegee { position: absolute; left: 0; top: 0; width: 150px; height: 18px; margin: -9px 0 0 -75px; border-radius: 9px; background: linear-gradient(180deg, #1a5fd6, #0a2463); box-shadow: 0 6px 14px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform-origin: center; }
.squeegee::before { content: ""; position: absolute; left: 6px; right: 6px; bottom: -5px; height: 6px; border-radius: 0 0 4px 4px; background: #1b1f2a; }
.squeegee::after { content: ""; position: absolute; left: 50%; top: -64px; width: 12px; height: 66px; margin-left: -6px; border-radius: 6px; background: linear-gradient(90deg, #cfd7e6, #fff, #b8c2d6); box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles span { position: absolute; color: #fff; filter: drop-shadow(0 0 6px rgba(61,139,255,.9)); animation: spark 1.4s ease-out forwards; }
.sparkles span svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes spark { 0% { transform: scale(0) rotate(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.2) rotate(90deg); opacity: 0; } }
@keyframes twinkle { 0%,100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }

.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--sh); font-size: 13px; line-height: 1.3; animation: floaty 7s ease-in-out infinite; z-index: 2; }
.chip b { display: block; color: var(--navy); font-size: 14.5px; }
.chip small { color: var(--muted); }
.chip .ci { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--royal); display: grid; place-items: center; }
.chip .ci-g { background: #e5f9ee; color: #11934a; }
.chip-a { left: -40px; top: 46px; }
.chip-b { right: -22px; bottom: 74px; animation-delay: -3.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; transform: translateY(50%); background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.stats div { padding: 26px 28px; display: flex; align-items: baseline; gap: 12px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stats span { color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; position: relative; }
#leistungen { padding-top: 170px; }
.head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.head.left { margin-left: 0; text-align: left; }
.head h2 { font-size: clamp(34px, 4.2vw, 56px); margin: 14px 0 16px; }
.head p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--royal); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 14px; height: 14px; background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.kicker-light { color: var(--bright); }

/* Filter + Karten */
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter button { padding: 10px 20px; border-radius: 999px; background: var(--sky-2); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px; transition: all .2s; }
.filter button:hover { border-color: var(--bright); }
.filter button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; text-align: left; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, opacity .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.card.hide { display: none; }
.card-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sky); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.07); }
.card-b { display: flex; flex-direction: column; padding: 34px 22px 22px; flex: 1; position: relative; }
.card .card-ic { position: absolute; left: 20px; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(26,95,214,.8); border: 3px solid #fff; transform: translateY(-50%); }
.card .card-img + .card-ic { top: 0; margin-top: calc((100% * 11 / 16)); }
.card b { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; font-size: 18.5px; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.card small { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--royal); font-weight: 600; font-size: 14.5px; }
.more .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .more .icon { transform: translateX(4px); }
.tag { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #3b2600; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }

/* ---------- Konfigurator ---------- */
.quote { background: linear-gradient(140deg, var(--deep) 0%, var(--navy) 45%, var(--royal) 130%); color: #c9d8fb; overflow: hidden; }
.quote::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(61,139,255,.35), transparent); pointer-events: none; }
.quote-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.quote h2 { color: #fff; font-size: clamp(34px, 4vw, 54px); margin: 14px 0 18px; }
.quote h2 em { --g: linear-gradient(100deg, #8fbcff, #fff); background: var(--g); -webkit-background-clip: text; background-clip: text; }
.quote-intro > p { font-size: 18px; color: #c9d8fb; }
.q-points { display: grid; gap: 12px; margin: 26px 0 34px; }
.q-points li { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 500; }
.q-points .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(61,139,255,.25); color: #8fbcff; stroke-width: 3; }
.q-photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 16/10; border: 6px solid rgba(255,255,255,.1); }
.q-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.wizard { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-lg); min-height: 560px; display: flex; flex-direction: column; }
.w-top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.w-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--sky); overflow: hidden; }
.w-bar i { display: block; height: 100%; width: 20%; border-radius: 8px; background: linear-gradient(90deg, var(--bright), var(--royal)); transition: width .5s var(--ease); }
.w-count { font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.w-count b { color: var(--navy); }
.w-panel { display: none; animation: panelIn .45s var(--ease); }
.w-panel.on { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.w-panel legend { font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -.03em; margin-bottom: 20px; padding: 0; }
.w-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.w-tile { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; text-align: left; font-weight: 600; font-size: 14px; line-height: 1.25; color: var(--navy); transition: border-color .2s, background .2s, transform .2s; }
.w-tile:hover { border-color: var(--bright); transform: translateY(-2px); }
.w-tile .ti { width: 38px; height: 38px; border-radius: 11px; background: var(--sky); color: var(--royal); display: grid; place-items: center; transition: background .2s, color .2s; }
.w-tile.sel { border-color: var(--royal); background: var(--sky-2); box-shadow: 0 0 0 3px rgba(26,95,214,.12); }
.w-tile.sel .ti { background: var(--royal); color: #fff; }
.w-tile.sel::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.w-size { background: var(--sky-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.w-size output { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.w-size input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--royal) var(--fill, 6%), var(--line) var(--fill, 6%)); outline: none; }
.w-size input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 7px solid var(--royal); box-shadow: 0 4px 12px rgba(10,36,99,.35); cursor: pointer; }
.w-size input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--royal); cursor: pointer; }
.w-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.w-chips button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--navy); transition: all .2s; }
.w-chips button:hover { border-color: var(--bright); }
.w-chips button.sel { background: var(--royal); border-color: var(--royal); color: #fff; }
.w-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.w-opts button { text-align: left; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); transition: all .2s; }
.w-opts button b { display: block; color: var(--navy); font-size: 17px; }
.w-opts button small { color: var(--muted); font-size: 13.5px; }
.w-opts button:hover { border-color: var(--bright); }
.w-opts button.sel { border-color: var(--royal); background: var(--sky-2); box-shadow: 0 0 0 3px rgba(26,95,214,.12); }
.w-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.w-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--royal); flex: none; }
.w-check a { color: var(--royal); text-decoration: underline; }
.w-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.w-field > span { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.w-field input, .w-field textarea { font: inherit; font-size: 16px; color: var(--text); padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sky-2); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.w-field input:focus, .w-field textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(26,95,214,.12); }
.w-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.w-summary { background: var(--sky-2); border: 1px dashed #b9cdf3; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-size: 14px; }
.w-summary div { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.w-summary span { color: var(--muted); }
.w-summary b { color: var(--navy); text-align: right; font-weight: 600; }
.w-err { display: none; color: #c62828; font-weight: 600; font-size: 14px; margin: 10px 0 0; }
.w-err.show { display: block; }
.w-send { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.w-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 26px; }
.w-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; padding: 10px 6px; }
.w-back:disabled { opacity: .3; cursor: default; }
.wizard.last .w-next { visibility: hidden; }

.area-result { margin: 4px 0 0; font-weight: 600; font-size: 15px; min-height: 1.5em; display: flex; gap: 10px; align-items: flex-start; }
.area-result.ok { color: #11934a; }
.area-result.maybe { color: #b26a00; }
.area-result.no { color: #c62828; }
.area-result .badge { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; }
.area-result.ok .badge { background: #11934a; }
.area-result.maybe .badge { background: #e09100; }
.area-result.no .badge { background: #c62828; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--deep); color: #b9caf0; }
.split-img { position: relative; min-height: 560px; overflow: hidden; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,74,0) 60%, rgba(7,26,74,.9)); }
.split-body { padding: 100px 8%; display: flex; flex-direction: column; justify-content: center; }
.split h2 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); margin: 14px 0 18px; }
.split-body > p { font-size: 18px; }
.times { margin-top: 18px; display: grid; gap: 10px; }
.times li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.times b { color: #fff; text-align: right; font-weight: 600; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--royal) var(--p, 0%), var(--line) var(--p, 0%)); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.st-ic { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; place-items: center; color: var(--royal); transition: background .5s, color .5s; }
.st-ic .icon { width: 34px; height: 34px; stroke-width: 1.7; }
.steps li.done .st-ic { background: var(--grad); color: #fff; border-color: transparent; }
.st-n { display: block; font-weight: 800; color: var(--bright); font-size: 14px; letter-spacing: .1em; margin-bottom: 6px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Warum ---------- */
.why { background: linear-gradient(160deg, var(--navy), var(--deep)); color: #b9caf0; overflow: hidden; }
.why h2 { color: #fff; }
.why h2 em { --g: linear-gradient(100deg, #8fbcff, #fff); background: var(--g); -webkit-background-clip: text; background-clip: text; }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.why-media { position: relative; }
.why-media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 714 / 630; object-fit: cover; box-shadow: var(--sh-lg); }
.seal { position: absolute; right: -24px; bottom: -24px; width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: radial-gradient(circle at 30% 30%, #2a64d9, var(--navy)); box-shadow: 0 0 0 6px var(--deep), 0 0 0 8px var(--gold), var(--sh-lg); line-height: 1.15; }
.seal span { color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.seal b { font-size: 17px; margin: 4px 0; }
.seal small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #b9caf0; }
.benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ben { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.ben:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); border-color: rgba(61,139,255,.5); }
.b-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.ben h3 { color: #fff; font-size: 17.5px; margin: 2px 0 6px; letter-spacing: -.015em; }
.ben p { margin: 0; font-size: 14.5px; line-height: 1.5; }

/* ---------- Über uns ---------- */
.about { background: linear-gradient(180deg, #fff, var(--sky-2)); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.about-text > p { color: var(--muted); font-size: 17.5px; }
blockquote { margin: 28px 0; padding: 24px 26px; background: #fff; border-radius: 18px; border-left: 5px solid var(--royal); box-shadow: var(--sh); }
blockquote p { font-size: 20px; line-height: 1.45; color: var(--navy); font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
blockquote footer { color: var(--royal); font-weight: 600; font-size: 15px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--navy); }
.langs b { font-size: 12px; color: #fff; background: var(--royal); border-radius: 6px; padding: 1px 6px; }
.about-media { position: relative; padding-bottom: 60px; }
.am-main { width: 88%; margin-left: auto; border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 575/345; object-fit: cover; }
.am-sub { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: var(--r); border: 6px solid #fff; box-shadow: var(--sh); aspect-ratio: 3/2; object-fit: cover; }
.am-badge { position: absolute; right: 4%; bottom: 10px; display: flex; gap: 10px; align-items: center; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--sh); }
.am-badge .icon { color: var(--bright); }
.am-badge b { display: block; font-size: 15px; }
.am-badge small { color: #b9caf0; font-size: 12.5px; }

/* ---------- Einsatzgebiet ---------- */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.map-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 14px; border: 1px solid var(--line); }
.map { width: 100%; height: auto; display: block; border-radius: 20px; background: linear-gradient(180deg, #f7faff, #eef4ff); }
.map .ring { fill: none; stroke: var(--bright); stroke-dasharray: 4 7; opacity: .55; }
.map .river { fill: none; stroke: #b9d2ff; stroke-width: 6; stroke-linecap: round; }
.map .towns-svg circle { fill: var(--navy); stroke: #fff; stroke-width: 1.5; }
.map .towns-svg text { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: var(--navy); paint-order: stroke; stroke: #f3f7ff; stroke-width: 4px; stroke-linejoin: round; }
.map .rl { font-family: var(--font); font-size: 11px; font-weight: 700; fill: var(--royal); }
.map .home-l { font-family: var(--font); font-size: 13px; font-weight: 700; fill: #fff; }
.map .pulse { fill: var(--bright); transform-origin: 260px 250px; animation: radar 2.6s ease-out infinite; }
@keyframes radar { from { transform: scale(.3); opacity: .55; } to { transform: scale(3); opacity: 0; } }
.map-hit .hit-dot { fill: #11934a; stroke: #fff; stroke-width: 3; }
.map-hit .hit-ring { fill: none; stroke: #11934a; stroke-width: 2; animation: hitR 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.map-hit .hit-line { stroke: #11934a; stroke-width: 2; stroke-dasharray: 5 5; }
.map-hit.far .hit-dot { fill: #e09100; } .map-hit.far .hit-ring, .map-hit.far .hit-line { stroke: #e09100; }
@keyframes hitR { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.checker { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 8px 8px 8px 18px; box-shadow: var(--sh); transition: border-color .2s; }
.checker:focus-within { border-color: var(--royal); }
.checker .icon { color: var(--muted); }
.checker input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; color: var(--navy); background: transparent; }
.checker .btn { height: 48px; }
.area-result.big { font-size: 17px; margin: 18px 0; }
.town-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.town-chips button { padding: 8px 14px; border-radius: 999px; background: var(--sky-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); transition: all .2s; }
.town-chips button:hover { background: var(--royal); border-color: var(--royal); color: #fff; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--sky-2); }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--sh); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 600; font-size: 18px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sky); color: var(--royal); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--royal); color: #fff; }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 110px; background: var(--sky-2); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px 60px; border-radius: var(--r-lg); background: var(--grad); color: #dbe7ff; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.cta-in::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' fill-opacity='.12' d='M12 1c.7 5.6 5.4 10.3 11 11-5.6.7-10.3 5.4-11 11-.7-5.6-5.4-10.3-11-11C6.6 11.3 11.3 6.6 12 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta-in > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.cta p { margin: 0; font-size: 18px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #9fb3e0; padding: 80px 0 0; font-size: 15px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.logo-w { color: #fff; margin-bottom: 18px; display: inline-flex; }
.logo-w .logo-text small { color: #cfe0ff; }
.logo-w .logo-text b { background-image: linear-gradient(110deg, #fff 40%, #8fc3ff 50%, #fff 60%); }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.f-bottom nav { display: flex; gap: 24px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(7,26,74,.6); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); animation: popIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.m-img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.m-body { padding: 36px; }
.m-body h3 { font-size: 28px; margin-bottom: 10px; }
.m-body p { color: var(--muted); }
#m-list { display: grid; gap: 9px; margin: 18px 0 26px; }
#m-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--navy); }
#m-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--royal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--sh); }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
.mbar { display: none; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Legal ---------- */
.legal-head { background: var(--grad); color: #fff; padding: 80px 0 70px; }
.legal-head h1 { color: #fff; font-size: clamp(36px, 4.5vw, 56px); margin-top: 12px; }
.legal-head .kicker { color: #cfe0ff; }
.legal { max-width: 820px; margin: 0 auto; padding: 70px 28px 100px; }
.legal h2 { font-size: 22px; margin: 2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal a { color: var(--royal); text-decoration: underline; }
.ph { background: #fff4d6; color: #7a5600; padding: 0 5px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .h-phone { display: none; }
  .nav a { padding: 9px 10px; }
}
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chip-a { left: -10px; } .chip-b { right: -6px; }
}
@media (max-width: 980px) {
  .header .wrap { height: 72px; }
  .burger { display: inline-flex; }
  .h-cta { display: none; }
  .nav { position: fixed; inset: 112px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 22px; box-shadow: var(--sh); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); max-height: calc(100vh - 112px); overflow: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 15px 8px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-cta { display: inline-flex; margin-top: 16px; }
  .hero-grid, .quote-grid, .why-grid, .about-grid, .area-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding-top: 40px; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .swoosh-a { width: 70vw; height: 300px; opacity: .5; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: translateY(40%); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-img { min-height: 340px; }
  .split-img::after { background: linear-gradient(180deg, rgba(7,26,74,0) 50%, rgba(7,26,74,.9)); }
  .split-body { padding: 70px 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .why-media { max-width: 560px; }
  .about-media { order: -1; }
  .f-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sec { padding: 90px 0; }
  #leistungen { padding-top: 150px; }
  .modal-box { grid-template-columns: minmax(0, 1fr); }
  .m-img img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  body { font-size: 16px; }
  .tb-hide { display: none; }
  .topbar { font-size: 12.5px; }
  .tb-live { min-width: 0; flex: 1; }
  .tb-live > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar .wrap { gap: 10px; }
  .lang button { padding: 4px 7px; }
  .logo img { width: 44px; height: 44px; }
  .logo-text b { font-size: 23px; }
  .logo::before { left: 30px; top: -4px; }
  .logo-text small { font-size: 9.6px; }
  .nav { inset: 110px 0 auto 0; }
  .hero h1 { font-size: 35px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .ticks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; }
  .ticks li { font-size: 14px; align-items: flex-start; }
  .wipe { border-width: 5px; touch-action: none; }
  .wipe-hint { font-size: 12.5px; padding: 8px 12px; }
  .wipe-meter i { width: 60px; }
  .chip { padding: 9px 12px; }
  .chip .ci { width: 34px; height: 34px; }
  .chip b { font-size: 13px; }
  .chip small { display: none; }
  .chip-a { left: -4px; top: -6px; }
  .chip-b { right: -4px; bottom: 6px; }
  .stats div { padding: 18px; flex-direction: column; gap: 4px; }
  .stats span { font-size: 13.5px; }
  .sec { padding: 72px 0; }
  #leistungen { padding-top: 130px; }
  .head h2 { font-size: 34px; }
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .card-b { padding: 30px 14px 16px; }
  .card .card-ic { width: 42px; height: 42px; left: 12px; }
  .card b { font-size: 15.5px; }
  .card small { display: none; }
  .tag { top: 8px; right: 8px; font-size: 10px; }
  .wizard { padding: 22px 16px; min-height: 0; border-radius: 22px; }
  .w-panel legend { font-size: 22px; }
  .w-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .w-tile { font-size: 13px; padding: 12px; }
  .w-opts, .w-grid, .w-send { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .seal { width: 112px; height: 112px; right: 8px; bottom: -20px; }
  .seal b { font-size: 13.5px; }
  .am-badge { display: none; }
  .checker { padding-left: 12px; }
  .checker .btn { padding: 0 16px; }
  .cta-in { padding: 36px 24px; }
  .cta-btns .btn { flex: 1 1 100%; }
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer { padding-bottom: 70px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -8px 24px -12px rgba(10,36,99,.35); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
  .mbar a:nth-child(2) { background: var(--grad); color: #fff; }
  .mbar a:nth-child(3) { color: #11934a; }
  .modal-box { border-radius: 22px; }
  .m-body { padding: 24px; }
}


/* ---------- Mobile-Feinschliff ---------- */
.tb-phone { display: none; }
@media (max-width: 640px) {
  .topbar .wrap { min-height: 38px; }
  .tb-live > span { display: none; }
  .tb-live::after { content: "24/7"; font-weight: 700; color: #fff; }
  .tb-phone { display: inline; font-weight: 700; }
  .tb-right { gap: 12px; }
  .header .wrap { height: 66px; }
  .nav { inset: 104px 0 auto 0; }
  .hero { padding-top: 26px; }
  .eyebrow { font-size: 11.5px; padding: 7px 12px 7px 10px; letter-spacing: .06em; }
  .hero h1 { margin: 18px 0 14px; }
  .lead { font-size: 16px; line-height: 1.55; }
  .hero-cta { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; margin: 22px 0 22px; }
  .hero-cta .btn { height: 54px; padding: 0 12px; font-size: 15px; border-radius: 14px; }
  .ticks { gap: 9px 12px; }
  .ticks li { font-size: 13.5px; gap: 8px; line-height: 1.3; }
  .ticks .icon { width: 20px; height: 20px; }
  .hero-visual { padding-top: 6px; }
  .stats { margin-top: 34px; }
  .stats b { font-size: 30px; }
  .head { margin-bottom: 32px; }
  .head p { font-size: 16px; }
  .filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -18px 26px; padding: 2px 18px 6px; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; padding: 9px 16px; font-size: 14px; }
  .quote h2, .split h2 { font-size: 32px; }
  .q-photo { display: none; }
  .q-points { margin-bottom: 0; }
  .split-img { min-height: 240px; }
  .times li { padding: 13px 16px; font-size: 14.5px; }
  .faq summary { padding: 18px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }
  .cta { padding-bottom: 80px; }
  .why-media img { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) {
  .hero-cta { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .hero-cta .btn { font-size: 14.5px; padding: 0 10px; gap: 7px; min-width: 0; }
  .hero-cta .btn .arr { display: none; }
  .swoosh-a { width: 46vw; height: 210px; opacity: .55; }
  .hero-text { position: relative; z-index: 1; }
  #leistungen { padding-top: 100px; }
}
@media (max-width: 640px) {
  .steps { row-gap: 0; position: relative; padding-left: 0; }
  .steps::before { display: block; top: 30px; bottom: 30px; left: 29px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--royal) var(--p, 0%), var(--line) var(--p, 0%)); }
  .steps li { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 0 0 26px; }
  .st-ic { grid-row: 1 / 4; width: 60px; height: 60px; border-radius: 18px; margin: 0; }
  .st-ic .icon { width: 26px; height: 26px; }
  .st-n { margin: 4px 0 2px; }
  .steps h3 { font-size: 18px; margin-bottom: 4px; }
  .steps p { font-size: 14.5px; }
  .times li { flex-direction: column; gap: 2px; }
  .times b { text-align: left; }
}

/* Hero: wechselnde Zeile – gleitet als Ganzes (nur transform/opacity = flüssig) */
.hero h1 em.rot { display: block; overflow: hidden; background: none; padding-bottom: .14em; margin-bottom: -.14em; min-height: 1.2em; }
.rp { display: inline-block; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translate3d(0, 100%, 0); opacity: 0; backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .45s ease; }
.rot.show .rp { transform: none; opacity: 1; }
.rot.out .rp { transform: translate3d(0, -100%, 0); opacity: 0; transition: transform .45s cubic-bezier(.64, 0, .78, 0), opacity .35s ease; }
@media (max-width: 640px) { .hero h1 em.rot { min-height: 2.24em; } }
