/* =============================================
   DESIGN TOKENS (aus Figma extrahiert)
   ============================================= */
:root {
  /* Farben */
  --c-bg:       #ffffff;
  --c-ink:      #161a1e;
  --c-sub:      #6f7d8a;
  --c-line:     #e7eef5;
  --c-soft:     #f5f8fa;
  --c-accent:   #b6dff9;
  --c-accent2:  #daf0ff;
  --c-dark:     #161a1e;

  /* Typografie */
  --f-head: "Urbanist", sans-serif;
  --f-body: "Inter Tight", sans-serif;

  /* Radius */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 100px;

  /* Layout */
  --wrap: 1404px;        /* Figma: 1440px - 2x18px gutter */
  --gap: 18px;
  --pad-x: 18px;         /* globaler Seitenabstand */
  --pad-section: 40px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Unsichtbarer Seitenrahmen */
.page {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  overflow-x: clip;   /* statt hidden — blockt kein position:sticky */
}

img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); color: var(--c-ink); }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
ol { margin: 0; padding: 0; list-style: none; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  /* kein padding-inline — kommt vom body */
}

.section {
  padding-block: var(--pad-section);
}

.section__head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.section__head p {
  color: var(--c-sub);
}

.center { text-align: center; margin-top: 24px; }

/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */
h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: capitalize;
}

h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.5;
  font-weight: 700;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.btn--dark    { background: var(--c-dark); color: #fff; }
.btn--outline { border-color: var(--c-dark); color: var(--c-dark); background: transparent; }
.btn--accent  { background: var(--c-accent); color: var(--c-dark); }

/* =============================================
   HEADER
   ============================================= */
.header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 100;
  margin-inline: calc(-1 * var(--pad-x));
  padding-inline: var(--pad-x);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav {
  display: none; /* mobile: hidden */
  gap: 32px;
}

.nav a {
  font-size: 16px;
  color: var(--c-ink);
}

.nav a:hover { opacity: 0.7; }

/* =============================================
   HERO
   ============================================= */
.hero {
  margin-block: 10px;
}

.hero__inner {
  position: relative;
  min-height: 280px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #c6def5;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Info Card — Figma: left:68px top:70px, w:572px h:463px */
.hero__card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 14px;
  padding: 14px;
  max-width: min(260px, 55%);
}

.hero__card-mask {
  position: absolute;
  inset: auto 0 0 auto;
  width: 92px;
  opacity: 0.9;
  pointer-events: none;
}

.hero__card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__card h1 {
  font-size: clamp(22px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero__card p {
  font-size: 11px;
  line-height: 1.5;
  color: #465565;
}

/* Chips — Figma: h:32px, w:115px, rounded-[100px] */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 0 10px;
  height: 24px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.chip__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f0f5fb;
  color: #4c5967;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

/* Chip positions — Figma: top-right area */
.hero__chip--tl { top: 14px; right: 76px; }
.hero__chip--br { bottom: 60px; right: 14px; }

/* Stats bar — Figma: bottom, w:493px, h:76px, rounded-[24px_24px_0_0] */
.hero__stats {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 16px;
  right: 16px;
  background: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 10px 14px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__stats strong {
  font-family: var(--f-head);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-ink);
}

.hero__stats p {
  font-size: 13px;
  line-height: 1.35;
  max-width: 210px;
  color: var(--c-ink);
}

/* =============================================
   BENTO GRID (Why Choose)
   ============================================= */
.bento {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

.bento__card--sm { grid-column: span 1; }
.bento__card--lg { grid-column: span 1; }

.bento__card {
  background: var(--c-soft);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento__card p {
  color: var(--c-sub);
  font-size: 15px;
  line-height: 1.5;
}

/* =============================================
   JOURNEY
   ============================================= */
.journey__inner {
  display: grid;
  gap: 24px;
}

.journey__inner img {
  width: 100%;
  border-radius: var(--r-md);
  aspect-ratio: 370 / 240;
  object-fit: cover;
}

.journey__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.journey__text p { color: var(--c-sub); }

/* =============================================
   SHARED CARD GRID
   ============================================= */
.grid-2,
.grid-3 {
  display: grid;
  gap: var(--gap);
}

.card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: #fff;
}

.card img {
  width: 100%;
  aspect-ratio: 370 / 240;
  object-fit: cover;
}

.card h3 {
  padding: 12px 16px;
  font-size: 16px;
}

.card p {
  padding: 0 16px 12px;
  font-size: 13px;
  color: var(--c-sub);
}

/* =============================================
   STATS
   ============================================= */
.stats .section__head { margin-bottom: 24px; }

.stats__grid {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
}

.stats__card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats__card--blue  { background: var(--c-accent); }
.stats__card--light { background: var(--c-accent2); }
.stats__card--pale  { background: var(--c-soft); }

.num {
  font-family: var(--f-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-ink);
  margin: 0;
}

.stats__card p:last-child {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
}

/* =============================================
   QUOTE BANNER
   ============================================= */
.banner { padding-block: 12px; }

.banner__inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.banner__inner img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.banner__inner blockquote {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 20px 24px;
  color: #fff;
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.5;
  background: linear-gradient(180deg, transparent 0%, rgba(22,26,30,.86) 80%);
}

/* =============================================
   STEPS
   ============================================= */
.steps__inner {
  display: grid;
  gap: 24px;
}

.steps__lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps__list {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #f8fbff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.steps__list span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-accent2);
  color: var(--c-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial > p {
  font-size: 16px;
  line-height: 1.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author strong { font-size: 14px; }

/* =============================================
   CTA
   ============================================= */
.cta {
  padding-block: 12px;
}

.cta__inner {
  background: linear-gradient(120deg, var(--c-accent) 0%, var(--c-accent2) 100%);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__text { display: flex; flex-direction: column; gap: 12px; }
.cta__text p { color: var(--c-ink); font-size: 16px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding-block: 12px;
}

.footer__inner {
  background: var(--c-dark);
  color: #b9babc;
  border-radius: var(--r-xl);
  padding: 48px 32px 32px;
  display: grid;
  gap: 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand p { font-size: 15px; line-height: 1.6; }

.footer__nav h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer__nav li + li { margin-top: 8px; }
.footer__nav a { font-size: 14px; }
.footer__nav a:hover { color: #fff; }

.subscribe {
  display: flex;
  gap: 10px;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  border: 1px solid #4a5257;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--f-body);
}

.subscribe input::placeholder { color: #a2a3a5; }

.footer__copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(115,118,120,.3);
  font-size: 13px;
}

/* =============================================
   DESKTOP (≥ 940px)
   ============================================= */
@media (min-width: 940px) {

  /* Header */
  .header__inner { min-height: 86px; gap: 48px; }
  .nav { display: flex; }

  /* Hero — Figma Desktop exakt */
  .hero__inner { min-height: 715px; }

  .hero__card {
    position: absolute;
    top: 70px;
    left: 68px;
    margin: 0;
    padding: 56px;
    width: 572px;
    max-width: 572px;
    min-height: 463px;
  }

  .hero__card-mask { width: 572px; }
  .hero__card p { font-size: 16px; line-height: 1.5; }

  .hero__chip { height: 32px; width: 115px; font-size: 14px; }
  /* Chip TL: rechts neben der Card */
  .hero__chip--tl { top: 56px; left: calc(68px + 572px + 65px); right: auto; }
  .hero__chip--br { bottom: 88px; right: 80px; }

  .chip__dot { width: 18px; height: 18px; font-size: 14px; }

  .hero__stats {
    left: 115px;
    right: auto;
    width: 493px;
    height: 76px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    gap: 24px;
    padding: 10px 22px;
  }

  .hero__stats strong { font-size: 40px; line-height: 60px; }
  .hero__stats p { font-size: 18px; line-height: 27px; max-width: 260px; }

  /* Section head 2-col */
  .section__head {
    grid-template-columns: 1fr 500px;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
  }

  /* Bento grid — 3 cols, sm=1 lg=2 → echtes [sm|LG] / [LG|sm] Muster */
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .bento__card--lg { grid-column: span 2; }
  .bento__card { padding: 40px; }

  /* Journey */
  .journey__inner {
    grid-template-columns: 370px 1fr;
    align-items: center;
    gap: 40px;
  }

  /* Grids */
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
    border-radius: var(--r-xl);
  }

  .stats__card--blue  { border-radius: var(--r-xl) 0 0 var(--r-xl); }
  .stats__card--pale  { border-radius: 0 var(--r-xl) var(--r-xl) 0; }

  .stats__card { padding: 37px 40px; }

  /* Steps */
  .steps__inner { grid-template-columns: 1fr 1fr; align-items: center; }

  /* CTA */
  .cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px 80px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1.6fr 1fr 1fr;
    padding: 80px 80px 32px;
    gap: 40px;
  }
}
