:root {
  --teal: #5cc6e6;
  --teal-d: #2f8aa0;
  --blue: #2d5470;
  --blue-d: #233f55;
  --navy: #121529;
  --ink: #1f2a37;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f1f9fc;
  --line: #e6f0f4;
  --radius: 20px;
  --shadow-sm: 0 6px 18px rgba(45, 84, 112, 0.07);
  --shadow: 0 18px 44px rgba(45, 84, 112, 0.12);
  --shadow-lg: 0 30px 60px rgba(35, 63, 85, 0.30);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand-text { font-family: "Poppins", "Inter", sans-serif; letter-spacing: -0.01em; }
a { color: var(--blue); }
img { max-width: 100%; }
.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(45,84,112,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.brand-heart { width: 30px; height: 30px; fill: var(--teal); flex: none; transition: transform .3s var(--ease); }
.brand:hover .brand-heart { transform: scale(1.12) rotate(-6deg); }
.brand-text { font-size: 1.16rem; font-weight: 600; }
.brand-text strong { color: var(--blue); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; position: relative; }
.nav a:not(.nav-call)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--teal); border-radius: 2px; transition: width .25s var(--ease);
}
.nav a:not(.nav-call):hover::after { width: 100%; }
.nav-call {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: #fff !important; padding: 10px 17px;
  border-radius: 999px; font-weight: 600 !important; transition: background .2s, transform .2s;
}
.nav-call svg { width: 16px; height: 16px; fill: currentColor; }
.nav-call:hover { background: var(--blue-d); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; margin-right: -8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, #eefaff 0%, #d9f1fa 50%, #c6ebf7 100%);
  padding: 84px 0 120px;
  overflow: hidden;
}
.hero-blob {
  position: absolute; top: -120px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(92,198,230,.55), rgba(92,198,230,0) 70%);
  border-radius: 50%; filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; color: var(--teal-d); margin: 0 0 16px;
  text-transform: uppercase; letter-spacing: 1.6px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(92,198,230,.25); }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.1; margin: 0 0 22px; color: var(--blue); }
.hero h1 span { color: var(--navy); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; transition: transform .18s var(--ease), box-shadow .25s, background .2s;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--blue-d); }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid #c5e6f0; }
.btn-ghost:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--blue); font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; fill: var(--teal-d); flex: none; }

.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--blue), var(--blue-d));
  border-radius: 28px; padding: 40px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 28px;
  background: radial-gradient(circle at 80% 0%, rgba(92,198,230,.35), transparent 55%);
}
.hero-card-inner { position: relative; }
.hero-card-heart { width: 58px; height: 58px; fill: var(--teal); margin-bottom: 20px; }
.hero-card-quote { font-family: "Poppins", sans-serif; font-size: 1.42rem; line-height: 1.4; margin: 0 0 22px; font-weight: 500; }
.hero-card-link { color: var(--teal); text-decoration: none; font-weight: 600; font-size: .98rem; }
.hero-card-link:hover { color: #fff; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: var(--bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 50px; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 1.6px; font-size: .82rem;
  font-weight: 600; color: var(--teal-d); margin: 0 0 10px;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--blue); margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 16px; background: linear-gradient(160deg, var(--teal), var(--teal-d));
  margin-bottom: 20px; box-shadow: 0 8px 18px rgba(47,138,160,.28);
}
.card-icon svg { width: 28px; height: 28px; fill: #fff; }
.card h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--blue); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Reasons */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reasons li {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .3s;
}
.reasons li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.check {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, var(--teal), var(--teal-d));
  display: grid; place-items: center; box-shadow: 0 8px 16px rgba(47,138,160,.26);
}
.check svg { width: 22px; height: 22px; fill: #fff; }
.reasons h3 { margin: 0 0 5px; font-size: 1.1rem; color: var(--blue); }
.reasons p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 30px 30px; box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: -22px; left: 30px;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--blue), var(--blue-d)); color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.25rem;
  box-shadow: 0 10px 20px rgba(45,84,112,.3);
}
.steps h3 { margin: 6px 0 8px; color: var(--blue); font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* CTA */
.cta { position: relative; background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; top: -80px; right: -60px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(92,198,230,.30), transparent 70%); border-radius: 50%;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 12px; color: #fff; }
.cta-text p { color: #cfe6f0; margin: 0 0 22px; font-size: 1.06rem; max-width: 460px; }
.phone-big {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: #fff; text-decoration: none; letter-spacing: .5px;
  transition: color .2s;
}
.phone-big svg { width: 34px; height: 34px; fill: var(--teal); }
.phone-big:hover { color: var(--teal); }
.cta-address {
  font-style: normal; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 30px; display: grid; gap: 14px;
}
.cta-address strong { font-size: 1.18rem; }
.cta-line { display: flex; gap: 11px; align-items: flex-start; color: #d7e8f1; line-height: 1.6; }
.cta-line svg { width: 19px; height: 19px; fill: var(--teal); flex: none; margin-top: 2px; }
.cta-address a { color: #fff; text-decoration: none; font-weight: 600; }
.cta-address a:hover { color: var(--teal); }

/* Footer */
.site-footer { background: var(--navy); color: #aeb6c4; padding: 28px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: #c7cedb; text-decoration: none; }
.footer-nav a:hover { color: var(--teal); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { color: var(--blue); font-size: 2rem; }
.legal h2 { color: var(--blue); font-size: 1.25rem; margin-top: 34px; }
.legal p, .legal li { color: var(--muted); }
.legal .back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; }
.todo { background: #fff7e6; border: 1px solid #ffe0a3; border-radius: 12px; padding: 14px 18px; color: #8a6d3b; }

/* ---------- Reveal animation (GSAP-gesteuert) ----------
   Anfangszustand nur, wenn JS läuft (html.js). Ohne/vor JS sind alle
   Inhalte sichtbar – die Seite kann nie leer erscheinen.
   Die Bewegung selbst macht GSAP; .in ist der JS-freie Fallback. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 96px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .cta-inner { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 6%; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  .site-header.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-call)::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav-call { justify-content: center; margin: 12px 0 6px; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.02rem; }
  .section { padding: 64px 0; }
  .hero-card { padding: 32px; }
}
