/* =========================================================
   Bautrocknung PROFI Kafexholli – Stylesheet
   Farben aus dem Logo: #0426A0 (dunkelblau), #0063E5 (blau)
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #040a22;
  --ink-2: #0a1438;
  --ink-3: #111d4d;
  --blue: #0063e5;
  --blue-deep: #0426a0;
  --aqua: #4fb6ff;
  --dry: #ffb547;
  --alarm: #ff4d3d;
  --ok: #19c37d;
  --text: #eef3ff;
  --muted: rgba(220, 230, 255, .66);
  --line: rgba(160, 190, 255, .14);
  --radius: 22px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(40px, 6vw, 92px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
svg { flex: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }

/* Verlauf "nass → trocken" für Hervorhebungen */
.grad, .dry-word {
  background: linear-gradient(90deg, var(--aqua) 0%, #7ac6ff 35%, var(--dry) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dry-word { background-size: 200% 100%; animation: dryshift 6s ease-in-out infinite alternate; }
@keyframes dryshift { from { background-position: 0 0; } to { background-position: 100% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.sub { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 560px; }

.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--alarm); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px; border-radius: 16px; border: 0; cursor: pointer;
  font: 650 16px/1.15 "Inter", sans-serif; color: #fff; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn small { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 2px; }
.btn:hover { transform: translateY(-2px); }
.btn-alarm { background: var(--alarm); box-shadow: 0 14px 40px -12px rgba(255, 77, 61, .8); }
.btn-alarm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.btn-glass { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-block { width: 100%; justify-content: center; }

/* Fortschritt */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--aqua), var(--dry)); }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--gutter);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled { background: rgba(4, 10, 34, .72); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding-top: 10px; padding-bottom: 10px; }
.nav-logo img { width: 132px; height: auto; }
.nav-links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--muted); transition: color .3s, background .3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-hotline { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 16px; border-radius: 14px; background: var(--alarm); font-weight: 700; font-size: 16px; line-height: 1.1; box-shadow: 0 10px 30px -10px rgba(255, 77, 61, .8); transition: transform .3s var(--ease); }
.nav-hotline:hover { transform: translateY(-2px); }
.nav-hotline .pulse { background: #fff; }
.nav-hotline small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px var(--gutter) 120px; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 0%, #0b2a7a 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 0% 100%, #06205e 0%, transparent 60%), var(--ink); }
.water { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 1200px; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 77, 61, .12); box-shadow: inset 0 0 0 1px rgba(255, 77, 61, .35); font-size: 14px; font-weight: 600; margin-bottom: 30px; }
/* "Wasserschaden?" ist ca. 7,3 Schriftgrößen breit – Größe so gewählt, dass die Zeile immer passt */
.hero-title { font-size: clamp(38px, 8.4vw, 132px); font-weight: 700; letter-spacing: -.05em; line-height: .95; margin-bottom: 30px; }
.ln { display: block; overflow: hidden; padding: 0 .12em .08em 0; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.hero-lead { max-width: 600px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); margin-bottom: 38px; }
.hero-lead::first-line { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meter { position: absolute; right: var(--gutter); top: 50%; width: 170px; height: 170px; margin-top: -85px; display: grid; place-items: center; }
.hero-meter svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.hero-meter circle { fill: none; stroke-width: 7; }
.m-bg { stroke: rgba(255, 255, 255, .08); }
.m-val { stroke: var(--aqua); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 6.5; transition: stroke .4s; }
.hero-meter div { text-align: center; line-height: 1; }
.hero-meter strong { display: block; font-size: 48px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-meter span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; padding: 20px 0; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); border-block: 1px solid rgba(255, 255, 255, .15); }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 34s linear infinite; font-size: clamp(20px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.ticker-track i { width: 12px; height: 16px; background: var(--aqua); clip-path: path("M6 0C6 0 12 7 12 10.5A6 6 0 0 1 0 10.5C0 7 6 0 6 0Z"); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 170px) var(--gutter) 0; }
.section-pad { padding-inline: var(--gutter); }
.head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 1000px; }

/* Sofort-Hilfe */
.aid-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aid button, .aid a {
  position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; text-align: left;
  padding: 26px 24px 28px; border-radius: var(--radius); border: 0; cursor: pointer;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s, background .45s;
}
.aid button:hover, .aid a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(79, 182, 255, .5); }
.aid strong { font-size: 21px; letter-spacing: -.01em; }
.aid span:not(.aid-no) { color: var(--muted); font-size: 15px; }
.aid-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(79, 182, 255, .14); color: var(--aqua); font-weight: 700; margin-bottom: 8px; transition: background .4s, color .4s; }
.tick { position: absolute; right: 20px; top: 22px; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: background .4s, box-shadow .4s; }
.tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .4s var(--ease); }
.aid button[aria-pressed="true"] { background: rgba(25, 195, 125, .1); box-shadow: inset 0 0 0 1px rgba(25, 195, 125, .5); }
.aid button[aria-pressed="true"] .tick { background: var(--ok); box-shadow: none; }
.aid button[aria-pressed="true"] .tick::after { transform: rotate(45deg) scale(1); }
.aid button[aria-pressed="true"] .aid-no { background: var(--ok); color: #fff; }
.aid button[aria-pressed="true"] strong { text-decoration: line-through; text-decoration-color: var(--ok); text-decoration-thickness: 2px; }
.aid-call a { background: linear-gradient(150deg, #ff5d4d, #d8261a); box-shadow: 0 20px 50px -20px rgba(255, 77, 61, .8); }
.aid-call a span:not(.aid-no) { color: rgba(255, 255, 255, .85); }
.aid-call .aid-no { background: rgba(255, 255, 255, .2); color: #fff; }
.aid-call em { font-style: normal; font-weight: 700; margin-top: auto; padding-top: 10px; font-size: 18px; }

/* ---------- Ablauf / Scroll-Film ---------- */
.story { position: relative; margin-top: clamp(90px, 12vw, 170px); }
.story-pin { min-height: 100svh; display: grid; grid-template-columns: minmax(300px, .8fr) 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: 90px var(--gutter) 40px; }
.story-copy h2 { font-size: clamp(36px, 4.2vw, 64px); margin-bottom: 34px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chapter { display: flex; gap: 16px; padding: 14px 16px; border-radius: 16px; opacity: .38; transition: opacity .5s, background .5s; }
.chapter > span { font-size: 13px; font-weight: 700; color: var(--aqua); padding-top: 3px; }
.chapter strong { display: block; font-size: 19px; }
.chapter p { overflow: hidden; color: var(--muted); font-size: 15px; max-height: 200px; margin-top: 6px; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.chapter.is-active { opacity: 1; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.js .chapter:not(.is-active) p { max-height: 0; margin-top: 0; }

.story-stage { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -40px rgba(0, 0, 0, .8); }
.scene { display: block; width: 100%; height: auto; }
.hud { position: absolute; left: 18px; right: 18px; top: 18px; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hud-item { padding: 8px 14px; border-radius: 12px; background: rgba(4, 10, 34, .7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.15; }
.hud-item small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hud-item strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.hud-bar { flex: 1 1 120px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hud-bar span { display: block; height: 100%; width: 96%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--aqua)); transition: background .4s; }
.story-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .06); }
.story-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua), var(--dry)); }
.s-water-wave { animation: wave 3s linear infinite; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-300px); } }
.s-jet { animation: jet .5s linear infinite; }
@keyframes jet { to { stroke-dashoffset: -24; } }
.drop { animation: drip 1.1s ease-in infinite; }
.d2 { animation-delay: .35s; } .d3 { animation-delay: .7s; }
@keyframes drip { from { transform: translateY(0); opacity: 1; } to { transform: translateY(220px); opacity: 0; } }
.s-fan-blades { animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.air { animation: air 1.6s linear infinite; }
.air:nth-child(2) { animation-delay: -.4s; } .air:nth-child(3) { animation-delay: -.8s; } .air:nth-child(4) { animation-delay: -1.2s; }
@keyframes air { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.s-found-ring { transform-origin: 760px 302px; animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.s-scanline { animation: scan 1.6s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(98px); } }

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { position: relative; padding: 30px 26px 32px; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 182, 255, .14), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(79, 182, 255, .45); }
.svc:hover::before { opacity: 1; }
.svc-hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); box-shadow: 0 30px 70px -30px rgba(0, 99, 229, .8); }
.svc-hero p, .svc-hero li { color: rgba(255, 255, 255, .85) !important; }
.svc-no { position: absolute; right: 24px; top: 26px; font-size: 13px; font-weight: 700; color: var(--muted); }
.svc h3 { font-size: 26px; margin: 26px 0 10px; }
.svc p { color: var(--muted); margin-bottom: 18px; }
.svc ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 24px; font-size: 15px; color: var(--muted); }
.svc li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, var(--aqua) 35%, transparent 40%); box-shadow: inset 0 0 0 1.5px var(--aqua); }
.svc-hero li::before { background: radial-gradient(circle, #fff 35%, transparent 40%); box-shadow: inset 0 0 0 1.5px #fff; }

.svc-icon { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(79, 182, 255, .12); color: var(--aqua); }
.svc-hero .svc-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.svc-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.ic-radar i { position: absolute; inset: 14px; border-radius: 50%; border: 1.5px solid currentColor; animation: radar 2.4s ease-out infinite; }
.ic-radar i:nth-child(2) { animation-delay: .8s; } .ic-radar i:nth-child(3) { animation-delay: 1.6s; }
@keyframes radar { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.ic-hammer svg { transform-origin: 70% 30%; animation: hammer 1.4s var(--ease) infinite; }
@keyframes hammer { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-28deg); } 45% { transform: rotate(8deg); } }
.ic-hammer b { position: absolute; width: 4px; height: 4px; border-radius: 1px; background: currentColor; left: 16px; bottom: 14px; opacity: 0; animation: chip 1.4s ease-out infinite; }
.ic-hammer b + b { left: 22px; animation-delay: .05s; }
@keyframes chip { 0%, 40% { opacity: 0; transform: translate(0, 0); } 48% { opacity: 1; } 80% { opacity: 0; transform: translate(-10px, -14px) rotate(90deg); } }
.ic-fan svg { animation: spin 1.2s linear infinite; }
.ic-roller svg { animation: roll 2.2s var(--ease) infinite; }
.ic-roller b { position: absolute; left: 14px; top: 16px; height: 6px; width: 0; border-radius: 3px; background: currentColor; opacity: .5; animation: paint 2.2s var(--ease) infinite; }
@keyframes roll { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes paint { 0% { width: 0; } 50% { width: 36px; } 100% { width: 36px; opacity: 0; } }

/* ---------- Video ---------- */
.video-sec { padding: clamp(90px, 12vw, 170px) var(--gutter) 0; display: grid; gap: 40px; }
.video-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #0d1530; box-shadow: 0 60px 120px -50px rgba(0, 99, 229, .6); will-change: transform; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-label { position: absolute; left: 20px; top: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(4, 10, 34, .7); backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--alarm); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.video-toggle { position: absolute; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(4, 10, 34, .7); backdrop-filter: blur(10px); display: grid; place-items: center; }
.video-toggle span { width: 14px; height: 16px; border-inline: 4px solid #fff; }
.video-toggle.paused span { width: 0; height: 0; border: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.video-copy p { color: var(--muted); font-size: 19px; max-width: 520px; }

/* ---------- Warum wir (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; padding: 30px; border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.tile p { color: var(--muted); max-width: 420px; }
.t-clock { grid-column: span 2; }
.t-measure { grid-column: span 4; }
.t-hand { grid-column: span 4; background: linear-gradient(130deg, var(--ink-2), #13245e); }
.t-price { grid-column: span 2; }
.clock { position: absolute; right: 28px; top: 28px; width: 92px; height: 92px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line), 0 0 0 10px rgba(79, 182, 255, .05); }
.clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--aqua); }
.clock i { position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; transform-origin: 50% 100%; }
.clock .h { height: 24px; animation: spin 12s linear infinite; }
.clock .m { height: 36px; background: var(--aqua); animation: spin 2s linear infinite; }
.bars { position: absolute; right: 30px; top: 30px; display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { width: 16px; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--aqua), var(--blue)); animation: bars 3.6s var(--ease) infinite; }
.bars i:nth-child(1) { --h: 100%; } .bars i:nth-child(2) { --h: 86%; animation-delay: .1s; } .bars i:nth-child(3) { --h: 70%; animation-delay: .2s; } .bars i:nth-child(4) { --h: 54%; animation-delay: .3s; } .bars i:nth-child(5) { --h: 40%; animation-delay: .4s; } .bars i:nth-child(6) { --h: 26%; animation-delay: .5s; } .bars i:nth-child(7) { --h: 14%; animation-delay: .6s; background: linear-gradient(var(--dry), #f08a00); }
@keyframes bars { 0% { height: 6%; } 40%, 85% { height: var(--h); } 100% { height: 6%; } }
.partner { display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 650; font-size: 15px; align-self: flex-start; transition: transform .4s var(--ease); }
.partner:hover { transform: translateY(-3px); }
.partner img { height: 44px; width: auto; }
.big { font-size: clamp(64px, 7vw, 100px); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin-bottom: auto; color: var(--dry); }

/* ---------- Referenzen ---------- */
.refs { padding-top: clamp(90px, 12vw, 170px); }
.ref-rows { display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ref-row { overflow: hidden; }
.ref-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.ref-row:nth-child(2) .ref-track { animation-direction: reverse; animation-duration: 80s; }
.ref-rows:hover .ref-track { animation-play-state: paused; }
.ref { flex: none; width: clamp(200px, 22vw, 300px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--ink-2); }
.ref img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.8) brightness(.9); }
.ref:hover img { transform: scale(1.08); filter: none; }

/* ---------- Kontakt ---------- */
.contact { position: relative; margin-top: clamp(90px, 12vw, 170px); padding: clamp(80px, 10vw, 140px) var(--gutter); overflow: hidden; border-top: 1px solid var(--line); }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: invert(1) hue-rotate(180deg) saturate(1.6); opacity: .35; mix-blend-mode: screen; pointer-events: none; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(0, 99, 229, .25), transparent 60%); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(40px, 6vw, 100px); align-items: start; }
.phone-xl { display: inline-block; margin: 36px 0 40px; font-size: clamp(38px, 5.4vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, #fff, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a:hover { color: var(--aqua); }

.form { padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: rgba(10, 20, 56, .75); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); display: grid; gap: 14px; }
.form h3 { font-size: 28px; }
.form-note { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 550; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.chips input:checked + span { background: var(--blue); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; resize: vertical; transition: box-shadow .3s, background .3s; }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 2px var(--aqua); }
.field span { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s; transform-origin: 0 0; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.75); }
.field.invalid input { box-shadow: inset 0 0 0 2px var(--alarm); }
.form-msg { min-height: 1em; font-size: 14px; color: var(--dry); }
.form-legal { font-size: 13px; color: var(--muted); }
.form-legal a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { padding: 60px var(--gutter) 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.footer-phone { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer a:hover { color: var(--aqua); }

/* Mobile Anrufleiste */
.callbar { display: none; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55; align-items: center; justify-content: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--alarm); font-weight: 700; font-size: 17px; box-shadow: 0 16px 40px -10px rgba(255, 77, 61, .8); transform: translateY(150%); transition: transform .5s var(--ease); }
.callbar .pulse { background: #fff; }
.callbar.show { transform: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 90vh; }
.lightbox::backdrop { background: rgba(2, 6, 20, .88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; width: auto; border-radius: 18px; }
.lb-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 150px var(--gutter) 100px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -.01em; line-height: 1.2; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--aqua); text-decoration: underline; }
.back { display: inline-block; margin-bottom: 30px; color: var(--aqua); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-meter { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .aid-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .story-pin { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: 80px; }
  .story-copy { order: 2; }
  .story-copy .eyebrow, .story-copy h2 { display: none; }
  .chapter:not(.is-active) { display: none; }
  .chapter { opacity: 1; padding: 0; background: none !important; box-shadow: none !important; }
  .video-copy, .contact-inner { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-clock, .t-measure, .t-hand, .t-price { grid-column: span 2; }
  .callbar { display: flex; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  .nav-hotline-text small { display: none; }
  .nav-hotline { padding: 10px 14px; font-size: 14px; }
  .nav-logo img { width: 110px; }
  .aid-grid, .svc-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hud-item { padding: 6px 10px; }
  .hud-item strong { font-size: 14px; }
  .hud { left: 10px; right: 10px; top: 10px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .tile { min-height: 220px; padding: 24px; }
  .bars { height: 80px; }
  .clock { width: 70px; height: 70px; }
}

/* Anfangszustand für Einblend-Animationen (nur mit JS) */
.js .reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
