:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1f2a2e;
  --muted: #55636a;
  --brand: #2f5d62;
  --brand-dark: #234749;
  --accent: #e8a33d;
  --line: #e4ddd2;
  --soft: #eef4f3;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 19px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.logo svg { flex: none; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #1f2a2e; font-weight: 700;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; font-size: 1.05rem;
  box-shadow: 0 6px 16px rgba(232, 163, 61, .35); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); color: #1f2a2e; }
.btn-small { padding: 10px 18px; font-size: .95rem; box-shadow: none; white-space: nowrap; }

/* Hero */
.hero { padding: 64px 0 96px; background: linear-gradient(180deg, var(--soft), var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.hero-card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(31, 42, 46, .08); }
.hero-card .big { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 6px; }
.hero-card small { color: var(--muted); display: block; margin-top: 12px; font-size: .85rem; line-height: 1.45; }

/* Fotos */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; box-shadow: 0 12px 30px rgba(31, 42, 46, .12); }
.photo.tall { height: 100%; min-height: 420px; }
.hero-visual { position: relative; }
.hero-visual .hero-card { position: absolute; left: -40px; bottom: -64px; max-width: 280px; padding: 18px 20px; z-index: 1; }
.hero-visual .hero-card .big { font-size: 2rem; }
.hero-visual .hero-card small { margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.cards-media { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
.cards-media.reverse .photo { order: 2; }
.stack { display: grid; gap: 24px; }

/* Abschnitte */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 46em; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; margin-top: 28px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px;
}

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card ul { padding-left: 1.2em; margin: 0 0 1em; }
.card li { margin-bottom: .35em; }

.price-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { color: var(--muted); font-weight: 600; }

.note { font-size: .85rem; color: var(--muted); }

.callout { background: var(--soft); border-left: 5px solid var(--brand); padding: 20px 24px; border-radius: 8px; margin: 24px 0; }

/* Funnel */
.funnel-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: 0 12px 30px rgba(31, 42, 46, .06); }
.funnel-box heyflow-wrapper { display: block; text-align: left; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 30px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* Fußzeile */
.site-footer { background: var(--brand-dark); color: #d9e4e2; padding: 36px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #fff; margin-right: 18px; }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal address { font-style: normal; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  .hero { padding: 40px 0; }
  .hero .wrap, .cards, .steps, .split, .cards-media { grid-template-columns: 1fr; }
  .hero-visual .hero-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -40px 16px 0; }
  .photo.tall { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .cards-media.reverse .photo { order: 0; }
  .split { gap: 24px; }
  .nav { display: none; }
  .logo { font-size: 1rem; }
  .btn-small { padding: 9px 14px; font-size: .85rem; }
  section { padding: 48px 0; }
  .funnel-box { padding: 20px 14px; }
}
