@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(fonts/inter-normal-300.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-normal-400.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-normal-500.woff2) format('woff2');}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-tint: #f3f8fc;            /* kühles Hellblau – wirkt sauber */
  --ink: #0c2a43;                /* tiefes Marineblau */
  --ink-soft: #4b6277;
  --muted: #7f93a5;
  --line: #dbe6ef;
  --blue: #145f9f;               /* Hauptblau aus dem Logo */
  --blue-dark: #0e4c82;
  --aqua: #2a9fd0;               /* frisches Aqua */
  --aqua-soft: #e3f2fa;
  --deep: #0c2a43;
  --radius: 6px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(22px, 5.5vw, 88px);
  --max: 1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-weight: 400; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; font-size: .85rem; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ── */
nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: rgba(255,255,255,.0); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, height .4s, box-shadow .4s; }
nav.scrolled, nav.solid { height: 66px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.brand small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 2px; }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a, .nav-back { text-decoration: none; font-size: .88rem; color: var(--ink-soft); transition: color .25s; }
.nav-links a:hover, .nav-back:hover { color: var(--blue); }
.nav-links a.nav-cta { background: var(--blue); color: #fff; padding: 11px 22px; border-radius: var(--radius); font-weight: 500; transition: background .25s; }
.nav-links a.nav-cta:hover { background: var(--blue-dark); color: #fff; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 28px; height: 20px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: .3s; }
.burger span:first-child { top: 6px; } .burger span:last-child { top: 13px; }
.burger[aria-expanded="true"] span:first-child { top: 10px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 10px; transform: rotate(-45deg); }

/* ── HERO ── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px var(--gutter) 90px; background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%); overflow: hidden; }
.hero::before { /* feines Fliesenraster, läuft nach unten aus */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .55;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%); mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
}
.hero::after { content: ''; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(42,159,208,.16), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 500; }
.label::before { content: ''; width: 28px; height: 2px; background: var(--aqua); }
.hero h1 { font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 28px 0 28px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { max-width: 500px; font-size: 1.1rem; color: var(--ink-soft); font-weight: 300; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 500; font-size: .95rem; text-decoration: none; padding: 15px 28px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.facts-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px -30px rgba(12,42,67,.25); padding: 8px 32px; }
.fact { display: flex; align-items: baseline; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact .n { font-size: 2.6rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--blue); min-width: 108px; }
.fact .l { font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }

/* ── WISCHEN: verschmutzte Scheibe ── */
.wipe { position: relative; border-radius: 12px; }
.wipe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; touch-action: none; cursor: crosshair; transition: opacity 1s ease; z-index: 2; }
.wipe.clean .wipe-canvas { opacity: 0; pointer-events: none; }
.wipe-hint { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; color: #5b6f82; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transition: opacity .4s; text-align: center; }
.wipe-hint svg { width: 34px; height: 34px; animation: wiggle 2.2s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
.wipe.started .wipe-hint, .wipe.clean .wipe-hint { opacity: 0; }
.wipe-skip { position: absolute; z-index: 4; right: 6px; bottom: -34px; background: none; border: 0; font: inherit; font-size: .78rem; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: opacity .4s, color .2s; }
.wipe-skip:hover { color: var(--blue); }
.wipe.clean .wipe-skip { opacity: 0; pointer-events: none; }
.wipe-shine { position: absolute; inset: 0; z-index: 3; border-radius: 12px; overflow: hidden; pointer-events: none; }
.wipe-shine::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 38%; left: -50%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); opacity: 0; }
.wipe.clean .wipe-shine::after { animation: shine 1.3s ease-out .1s 1 both; }
@keyframes shine { 0% { left: -50%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
.wipe.clean .facts-card { box-shadow: 0 24px 60px -30px rgba(12,42,67,.25), 0 0 0 1px var(--aqua); transition: box-shadow .8s; }
@media (prefers-reduced-motion: reduce) { .wipe-canvas, .wipe-hint, .wipe-skip { display: none; } }

/* ── SECTIONS ── */
section { padding: clamp(84px, 11vw, 150px) 0; }
.tint { background: var(--bg-tint); }
.sec-head { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }
h2 { font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; margin-top: 18px; }
.sec-head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; font-weight: 300; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px 28px 32px; transition: border-color .3s, box-shadow .4s, transform .4s; }
.card:hover { border-color: var(--aqua); box-shadow: 0 24px 50px -28px rgba(20,95,159,.35); transform: translateY(-4px); }
.ico { width: 48px; height: 48px; border-radius: 10px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 26px; }
.ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 36px 36px 0 0; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step .no { font-size: .8rem; letter-spacing: .2em; color: var(--aqua); font-weight: 500; }
.step h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; margin: 14px 0 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; max-width: 34ch; }

/* Über uns */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.about p { color: var(--ink-soft); font-weight: 300; font-size: 1.05rem; margin-bottom: 16px; max-width: 52ch; }
.checks { margin-top: 32px; display: grid; gap: 14px; list-style: none; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; color: var(--ink); }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--aqua); margin-top: 2px; }
.about-panel { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.about-panel img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 28px; border: 1px solid var(--line); }
.panel-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-row span:first-child { color: var(--ink-soft); }
.panel-row span:last-child { font-weight: 500; text-align: right; }

/* Gebiete */
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.area { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .95rem; transition: border-color .25s, color .25s; }
.area svg { width: 16px; height: 16px; color: var(--aqua); }
.area:hover { border-color: var(--blue); color: var(--blue); }
.area.more { background: transparent; border-style: dashed; color: var(--ink-soft); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.contact-cards { margin-top: 36px; display: grid; gap: 14px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .25s, box-shadow .3s; }
.ccard:hover { border-color: var(--aqua); box-shadow: 0 16px 36px -24px rgba(20,95,159,.4); }
.ccard .ico { margin: 0; flex-shrink: 0; }
.ccard small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ccard strong { font-weight: 500; font-size: 1.02rem; word-break: break-word; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 70px -40px rgba(12,42,67,.35); }
.form-box h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; }
.form-box .form-sub { color: var(--ink-soft); font-size: .93rem; margin: 6px 0 30px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .8rem; font-weight: 500; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; outline: none; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237f93a5' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #a9b8c5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(42,159,208,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; }
.captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; font-size: .9rem; color: var(--ink-soft); }
.captcha b { color: var(--blue); font-weight: 500; font-size: 1.02rem; }
.captcha input { width: 84px; text-align: center; font: inherit; font-weight: 500; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px; outline: none; }
.captcha input:focus { border-color: var(--aqua); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 24px; }
.consent input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--blue); }
.btn-submit { width: 100%; justify-content: center; background: var(--blue); color: #fff; padding: 16px; }
.btn-submit:hover:not(:disabled) { background: var(--blue-dark); }
.btn-submit:disabled { opacity: .55; cursor: wait; }
.form-msg { margin-top: 16px; font-size: .9rem; min-height: 22px; }
.form-msg.success { color: #1c7a4b; } .form-msg.error { color: #b3372f; }

/* Footer */
footer { background: var(--deep); color: #8fa6bb; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; font-size: .82rem; }
footer ul { display: flex; gap: 28px; list-style: none; }
footer a { text-decoration: none; transition: color .25s; }
footer a:hover { color: #fff; }

footer .powered { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 28px; justify-content: center; }
footer .powered a { display: inline-flex; align-items: center; gap: 14px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; transition: opacity .3s; }
footer .powered a:hover { opacity: 1; }
.pw-logo { display: block; position: relative; overflow: hidden; width: 104px; aspect-ratio: 431 / 162; }
.pw-logo img { position: absolute; max-width: none; height: auto; width: calc(104px * 500 / 431); left: calc(104px * -34 / 431); top: calc(104px * -163 / 431); filter: brightness(0) invert(1); }

/* Rechtstexte */
.page { max-width: var(--max); margin: 0 auto; padding: 170px var(--gutter) 130px; }
.page h1 { font-weight: 500; font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.035em; line-height: 1.05; margin: 22px 0 70px; }
.block { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--line); }
.block:last-child { border-bottom: 1px solid var(--line); }
.block h2 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 4px 0 0; line-height: 1.6; }
.block p { color: var(--ink-soft); max-width: 66ch; }
.block p + p { margin-top: 14px; }
.block a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--line); }
.block a:hover { border-color: var(--blue); }
.todo { background: var(--aqua-soft); padding: 0 6px; }

/* Reveal – gestaffelt beim Runterscrollen, nur mit JS */
.js .reveal, .js .card, .js .step, .js .fact, .js .area, .js .ccard { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.2,.7,.2,1) var(--d,0s), transform 1s cubic-bezier(.2,.7,.2,1) var(--d,0s), border-color .3s, box-shadow .4s; }
.js .reveal.in, .js .card.in, .js .step.in, .js .fact.in, .js .area.in, .js .ccard.in { opacity: 1; transform: none; }
.js .card.in:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .card, .js .step, .js .fact, .js .area, .js .ccard { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1060px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .hero { align-items: flex-start; padding-top: 118px; }
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .block { grid-template-columns: 1fr; gap: 14px; }
  .burger { display: block; }
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta { margin-top: 16px; text-align: center; border: 0; }
  .page { padding-top: 130px; }
}
@media (max-width: 560px) {
  .cards, .row2 { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .facts-card { padding: 4px 22px; }
}

/* Preis-Orientierung */
.schaetz { background: var(--aqua-soft); border: 1px solid #bfe0f1; border-radius: 12px; padding: 22px 24px; margin-bottom: 22px; }
.schaetz .field { margin-bottom: 10px; }
.schaetz-out { font-size: 1.25rem; font-weight: 500; color: var(--ink-soft); margin-top: 6px; letter-spacing: -.01em; }
.schaetz-out.ok { color: var(--blue); font-size: 1.5rem; }
.schaetz-hint { font-size: .78rem; color: var(--ink-soft); margin-top: 6px; }
