:root{
  --navy:#152B5C;
  --navy-deep:#0D1D40;
  --green:#2FAE60;
  --ink:#0B0E14;
  --grey:#5B6472;
  --grey-light:#98A1AE;
  --bg:#FFFFFF;
  --bg-soft:#F6F7F9;
  --line:#EAECF0;
  --shape-gray:#E7EAF0;
  --shape-blue:#D9E4F5;
  --font:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --wrap:1240px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font); color:var(--ink); line-height:1.5; -webkit-font-smoothing:antialiased;
  /* Ein durchgehender, fließender Verlauf über die ganze Seite statt harter Blöcke */
  background:linear-gradient(180deg,#FFFFFF 0%,#F3F8FD 26%,#FFFFFF 52%,#F2FAF6 76%,#FFFFFF 100%);
  overflow-x:hidden;
}
img{max-width:100%; display:block;}

/* ── Animierter Hintergrund: weiche Blobs, driften + Parallax beim Scrollen ── */
.bg-layer{position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none;}
.blob{position:absolute; border-radius:50%; filter:blur(76px); opacity:.72; will-change:transform;}
.blob-1{width:580px; height:580px; background:#CFE0FA; top:-120px; left:-140px; animation:drift 18s ease-in-out infinite;}
.blob-2{width:520px; height:520px; background:#D7F1E3; top:32%; right:-170px; animation:drift 22s ease-in-out infinite reverse;}
.blob-3{width:460px; height:460px; background:#DEE9FB; top:64%; left:0%; animation:drift 26s ease-in-out infinite;}
.blob-4{width:400px; height:400px; background:#E1F4EC; top:88%; right:10%; animation:drift 20s ease-in-out infinite reverse;}
/* Eigenständige translate/scale-Properties, damit die JS-Parallax
   (die transform setzt) diese Drift-Animation nicht überschreibt. */
@keyframes drift{0%,100%{translate:0 0; scale:1;}50%{translate:52px -42px; scale:1.12;}}
@media (prefers-reduced-motion: reduce){ .blob{animation:none;} }
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }
:focus-visible{outline:2.5px solid var(--navy); outline-offset:3px;}
a{color:inherit;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* Buttons */
.btn{
  font-family:var(--font); font-weight:600; font-size:0.95rem;
  padding:13px 28px; border-radius:100px; border:none; cursor:pointer;
  text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition:background .18s ease, transform .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-navy{background:var(--navy); color:#fff;}
.btn-navy:hover{background:var(--navy-deep); transform:translateY(-1px);}
.btn-outline{background:transparent; color:var(--navy); border:1.5px solid var(--line);}
.btn-outline:hover{border-color:var(--navy);}
.btn-ghost{background:transparent; color:var(--grey); padding:13px 18px;}
.btn-ghost:hover{color:var(--ink);}

/* Header */
header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,0.86);
  backdrop-filter:saturate(180%) blur(14px); -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
header .bar{display:flex; align-items:center; justify-content:space-between; height:78px; gap:24px;}
.logo{display:flex; align-items:center;}
.logo img{height:58px; width:auto;}
@media (max-width:640px){ .logo img{height:46px;} }
.nav-links{display:flex; align-items:center; gap:28px;}
.nav-links a.btn-ghost{
  padding:0; font-size:0.82rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--grey);
}
.nav-links a.btn-ghost:hover{color:var(--navy);}
@media (max-width:760px){ .nav-links{display:none;} }

/* ── Verteilte geometrische Deko-Formen (grau + blau) ──
   Aufbau: .deco (positioniert, bewegt sich per Parallax) enthält
   eine innere Form, die ihre eigene Rotation/Optik behält. */
.deco{position:absolute; z-index:0; pointer-events:none; will-change:transform;}
.deco > span{display:block;}
.tri-gray{width:0; height:0; border-top:52px solid transparent; border-bottom:52px solid transparent; border-left:88px solid var(--shape-gray);}
.diamond-blue{width:66px; height:66px; border:3px solid var(--shape-blue); transform:rotate(45deg); border-radius:10px;}
.ring-gray{width:110px; height:110px; border-radius:50%; border:20px solid var(--shape-gray);}
.ring-blue{width:88px; height:88px; border-radius:50%; border:16px solid var(--shape-blue);}
.square-blue{width:80px; height:80px; background:var(--shape-blue); border-radius:16px; transform:rotate(12deg); opacity:.7;}
.dot-blue{width:20px; height:20px; border-radius:50%; background:var(--navy); opacity:.16; box-shadow:34px 18px 0 var(--navy), 18px 42px 0 var(--navy);}
@media (max-width:760px){ .deco{display:none;} }

/* ── Verbindungslinie, die sich beim Scrollen durch die Visuals zieht ── */
main{position:relative;}
#thread{position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; overflow:visible;}
#thread .thread-base{fill:none; stroke:var(--shape-blue); stroke-width:2.5; stroke-linecap:round; stroke-dasharray:2 12;}
#thread .thread-progress{fill:none; stroke:var(--green); stroke-width:2.5; stroke-linecap:round;}
#thread .thread-node{fill:#fff; stroke:var(--green); stroke-width:2.5;}
/* Auf Mobil/Tablet ohne die durchgezogene Verbindungslinie: sie ist fürs
   schmale, gestapelte Layout nicht gemacht und wirkt dort schnell "billig".
   Die Marken-Sprache (Illustrationen, Grün, Ziffern, Icons) bleibt konsistent. */
@media (max-width:960px){ #thread{display:none;} }
@media (prefers-reduced-motion: reduce){ #thread{display:none;} }

/* ── Alternierende Reihen (Text/Visual, abwechselnd links/rechts) ── */
.row{position:relative; padding:80px 0;}
.hero.row{padding:64px 0 90px;}
.row-grid{
  display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:56px;
  position:relative; z-index:1;
}
/* Das Wechselmuster ergibt sich aus der HTML-Reihenfolge der Spalten:
   Hero = Text,Visual · So funktioniert's = Visual,Text · Vorteile = Text,Visual */
/* Mobil/Tablet: ruhiges, gestapeltes Layout. Illustration als moderater
   Akzent (nicht bildschirmfüllend), Text zentriert. In den Inhaltssektionen
   sitzt die Illustration oben als Blickfang, dann kommt der Text. */
@media (max-width:960px){
  .row{padding:34px 0;}
  .hero.row{padding:18px 0 12px;}
  .newsletter-section{padding:42px 0 50px;}
  .row-grid{display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center;}
  .row-visual{max-width:148px; margin:0 auto;}
  /* Wäschekorb-Illustration auf Mobil entfernt (Wunsch Erik) — Hero ist dort
     rein textbasiert, das wirkt aufgeräumter und spart Leerraum. */
  .hero .row-visual{display:none;}
  .row.section .row-visual{order:0;}
  .row.section .row-copy{order:1;}
}

.row-visual{position:relative;}
.row-visual svg, .row-visual img{width:100%; height:auto; display:block; overflow:visible;}
/* Illustrationen etwas kleiner als volle Spaltenbreite, damit sie luftig wirken */
.row-visual img{max-width:80%; margin-inline:auto;}
@media (max-width:960px){ .row-visual img{max-width:100%;} }
@keyframes floaty{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}
.row-visual .float{animation:floaty 6s ease-in-out infinite; transform-origin:center;}
@media (prefers-reduced-motion: reduce){ .row-visual .float{animation:none;} }

/* Hero-Typo */
.hero h1{
  font-size:clamp(2.9rem, 6vw, 5.2rem); font-weight:800; letter-spacing:-0.04em;
  line-height:0.98; max-width:11ch;
}
@media (max-width:960px){ .hero h1{font-size:clamp(2.1rem, 7.4vw, 2.9rem); line-height:1.06; max-width:none;} }
.accent{color:var(--navy);}
.hero .sub{font-size:1.18rem; color:var(--grey); max-width:440px; margin:28px 0 0; line-height:1.6;}
@media (max-width:960px){ .hero .sub{font-size:1rem; margin-top:14px; max-width:none;} }
.hero-actions{display:flex; align-items:center; gap:14px; margin-top:40px; flex-wrap:wrap;}
@media (max-width:960px){ .hero-actions{margin-top:24px; gap:10px; justify-content:center;} }

/* Formular: Name-Zeile (optional) oben, E-Mail + Button-Zeile darunter */
.signup{display:flex; flex-direction:column; gap:10px; max-width:420px; margin-top:36px;}
@media (max-width:960px){ .signup{margin-inline:auto;} }
.signup-row{display:flex; gap:8px;}
.signup input{
  flex:1; padding:14px 18px; border-radius:100px; border:1.5px solid var(--line);
  font-family:var(--font); font-size:0.95rem; color:var(--ink); background:#fff; width:100%;
}
.signup input:focus{border-color:var(--navy); outline:none;}
@media (max-width:420px){ .signup-row{flex-direction:column;} }
.hero-note{font-size:0.85rem; color:var(--grey-light); margin-top:14px;}
.form-msg{display:none; font-size:0.92rem; font-weight:600; margin-top:16px;}
.form-msg.show{display:block;}
.form-msg.ok{color:var(--green);}
.form-msg.err{color:#D92D20;}

/* ── Scroll-Reveal ── */
.reveal{opacity:0; transform:translateY(34px); transition:opacity .8s ease, transform .8s ease;}
.reveal.in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none; transition:none;} }

/* ── Sektions-Typo ── */
.section{position:relative;}
.kicker{
  display:inline-block; font-size:0.8rem; font-weight:700; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--green); margin-bottom:16px;
}
.section h2, .row-copy h2{font-size:clamp(1.9rem, 3.6vw, 3rem); font-weight:800; letter-spacing:-0.03em; line-height:1.08;}
@media (max-width:960px){
  .section h2, .row-copy h2{font-size:clamp(1.4rem, 5.2vw, 1.9rem); line-height:1.14;}
  .kicker{margin-bottom:10px; font-size:0.72rem;}
}
.section-sub{font-size:1.1rem; color:var(--grey); margin-top:16px; line-height:1.6;}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0;}
/* Honeypot: fuer Menschen komplett unsichtbar, nur Bots fuellen es aus. */
.hp-field{position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; overflow:hidden;}

/* ── Schritte als vertikale Liste ── */
.steplist{margin-top:34px; display:flex; flex-direction:column; gap:12px;}
.stepline{
  display:flex; gap:18px; align-items:flex-start; text-align:left;
  padding:14px 18px; border-radius:16px; transition:background .18s ease;
}
.stepline:hover{background:rgba(255,255,255,0.6);}
.stepline:hover .step-num{border-color:var(--green); box-shadow:0 6px 16px -10px rgba(13,29,64,0.4);}
@media (max-width:960px){
  .steplist{margin:26px auto 0; gap:10px; max-width:360px; text-align:left;}
  .stepline{gap:14px; padding:10px 12px;}
  .step-num{width:40px; height:40px; font-size:0.95rem; border-radius:11px;}
  .stepline h3{font-size:1.08rem;}
  .stepline p{font-size:0.94rem; margin-top:3px; line-height:1.5;}
}
.step-num{
  flex:none; font-size:1.05rem; font-weight:800; color:var(--green);
  width:46px; height:46px; border-radius:12px; background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.stepline h3{font-size:1.2rem; font-weight:700; letter-spacing:-0.01em;}
.stepline p{font-size:1rem; color:var(--grey); margin-top:6px; line-height:1.6;}

/* ── Vorteile als vertikale Liste mit Icons ── */
.benefits{margin-top:36px; display:flex; flex-direction:column; gap:12px;}
.benefit{
  display:flex; gap:18px; align-items:center; text-align:left;
  padding:16px 18px; border-radius:16px; transition:background .18s ease;
}
.benefit:hover{background:rgba(255,255,255,0.6);}
@media (max-width:960px){
  .benefits{margin-top:26px; display:grid; grid-template-columns:1fr 1fr; gap:12px; text-align:left;}
  .benefit{
    flex-direction:column; align-items:flex-start; gap:10px;
    padding:16px 14px; background:rgba(255,255,255,0.7);
    border:1px solid var(--line); border-radius:16px;
    box-shadow:0 12px 26px -22px rgba(13,29,64,0.45);
  }
  .benefit-icon{width:40px; height:40px; border-radius:11px;}
  .benefit-icon svg{width:22px; height:22px;}
  .benefit h3{font-size:1rem;}
  .benefit p{font-size:0.9rem; line-height:1.45; margin-top:0;}
}
@media (max-width:400px){
  .benefits{grid-template-columns:1fr;}
}
.benefit-icon{
  flex:none; width:52px; height:52px; border-radius:14px;
  background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px -10px rgba(13,29,64,0.4);
}
.benefit-icon svg{width:26px; height:26px;}
.benefit h3{font-size:1.16rem; font-weight:700; letter-spacing:-0.01em;}
.benefit p{font-size:1rem; color:var(--grey); margin-top:3px; line-height:1.5;}

/* ── Newsletter ── */
.newsletter-section{padding:80px 0 100px;}
.newsletter-card{
  position:relative; z-index:1; max-width:760px; margin:0 auto; text-align:center;
  background:rgba(255,255,255,0.75); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--line); border-radius:28px;
  padding:64px 48px; box-shadow:0 30px 60px -40px rgba(13,29,64,0.3);
}
@media (max-width:560px){ .newsletter-card{padding:44px 24px;} }
.newsletter-card .signup{margin:32px auto 0; max-width:460px;}
.newsletter-card .hero-note a{color:var(--navy); text-decoration:underline;}
.form-msg a{color:inherit;}

/* ── Footer ── */
footer{background:var(--navy-deep); color:#fff; padding:72px 0 32px;}
.footer-inner{display:grid; grid-template-columns:1.3fr 2fr; gap:56px;}
@media (max-width:820px){ .footer-inner{grid-template-columns:1fr; gap:44px;} }
.footer-brand img{height:40px; width:auto; filter:brightness(0) invert(1); margin-bottom:18px;}
.footer-brand p{color:rgba(255,255,255,0.7); font-size:0.98rem; line-height:1.6; max-width:300px;}
.socials{display:flex; gap:14px; margin-top:22px; flex-wrap:wrap;}
.social{
  display:inline-flex; align-items:center; gap:9px;
  color:#fff; text-decoration:none; font-size:0.9rem; font-weight:500;
  padding:9px 16px; border:1px solid rgba(255,255,255,0.2); border-radius:100px;
  opacity:.88; transition:opacity .18s ease, border-color .18s ease, background .18s ease;
}
.social:hover{opacity:1; border-color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.06);}
.footer-cols{display:grid; grid-template-columns:repeat(3,1fr); gap:32px;}
@media (max-width:560px){ .footer-cols{grid-template-columns:1fr 1fr; gap:28px;} }
.footer-col h4{font-size:0.82rem; text-transform:uppercase; letter-spacing:0.1em; color:rgba(255,255,255,0.5); margin-bottom:16px;}
.footer-col a, .footer-muted{display:block; color:rgba(255,255,255,0.82); text-decoration:none; font-size:0.95rem; margin-bottom:11px; transition:color .15s ease;}
.footer-col a:hover{color:#fff;}
.footer-muted{color:rgba(255,255,255,0.5);}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  margin-top:52px; padding-top:26px; border-top:1px solid rgba(255,255,255,0.12);
  font-size:0.86rem; color:rgba(255,255,255,0.55);
}
