@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --accent: #2f6f5e;
  --accent-dark: #1d4d40;
  --accent-light: #e8f0ed;
  --accent-mid: #c5d9d3;
  --bg: #fafaf8;
  --bg-tinted: #f2f5f3;
  --text: #1a1f1e;
  --text-muted: #5a6760;
  --text-light: #8fa09c;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(47,111,94,0.10);
  --shadow-lg: 0 8px 40px rgba(47,111,94,0.14);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --section-pad: clamp(60px, 8vw, 120px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(47,111,94,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo--footer {
  font-size: 0.95rem;
}

nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-list a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-nav {
  background: var(--white);
  border-top: 1px solid var(--accent-light);
  padding: 16px clamp(16px, 4vw, 48px) 24px;
}

.mobile-nav ul { list-style: none; }
.mobile-nav li + li { margin-top: 12px; }

.mobile-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  display: block;
  padding: 6px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  padding: 12px 24px;
  line-height: 1;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(47,111,94,0.25);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-large {
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 18px;
}

.btn-full {
  width: 100%;
  display: block;
}

/* ===== SECTION COMMON ===== */
.section-pad {
  padding: var(--section-pad) 0;
}

.bg-tinted { background: var(--bg-tinted); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 20px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 7vw, 100px);
  background: linear-gradient(160deg, var(--bg) 55%, var(--accent-light) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.price-hint {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* HERO VISUAL / MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(47,111,94,0.08);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-tinted);
  border-bottom: 1px solid var(--accent-light);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-mid);
}

.mockup-bar span:first-child { background: #f08080; }
.mockup-bar span:nth-child(2) { background: #f0c060; }

.mockup-body { padding: 20px; }

.mockup-house {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tinted);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
}

.mockup-row .label { color: var(--text-muted); }
.mockup-row .val { font-weight: 700; color: var(--accent); }

/* ===== PROBLEM ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47,111,94,0.06);
}

.problem-icon { margin-bottom: 16px; }

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== KONFIGURATOR ===== */
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.config-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47,111,94,0.08);
}

.config-form fieldset {
  border: none;
  margin-bottom: 28px;
}

.config-form legend {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.form-row input[type="text"],
.form-row input[type="number"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--accent-mid);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -moz-appearance: textfield;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,111,94,0.12);
  outline: none;
}

.input-hint {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Radio */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-label {
  cursor: pointer;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-tinted);
  border: 2px solid var(--accent-mid);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.radio-label input[type="radio"]:checked + .radio-box {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
}

.radio-label input[type="radio"]:focus-visible + .radio-box {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Config Result */
.config-result {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47,111,94,0.08);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.result-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.result-dims {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.result-visual {
  background: var(--bg-tinted);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.result-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--accent-light);
}

.result-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-tinted);
  color: var(--text);
}

.result-table tr:last-child td { border-bottom: none; }

.result-table td:nth-child(2),
.result-table td:nth-child(3) {
  text-align: right;
  font-weight: 600;
  color: var(--accent-dark);
}

.result-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(47,111,94,0.08);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card--accent {
  border-color: var(--accent);
  background: var(--accent-light);
}

.feature-icon { margin-bottom: 16px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== VERTRAUEN ===== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 48px;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-mid);
  font-family: Georgia, serif;
}

.quote-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  padding-top: 20px;
  margin-bottom: 14px;
  font-style: italic;
}

.quote-card footer {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: normal;
}

.trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-val {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--accent-mid);
  flex-shrink: 0;
}

/* ===== WAITLIST ===== */
.waitlist {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.waitlist-text .section-label { color: rgba(255,255,255,0.7); }
.waitlist-text .section-heading { color: var(--white); }

.waitlist-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 24px;
}

.waitlist-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.waitlist-perks li svg { flex-shrink: 0; }

.waitlist-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}

.waitlist-form .form-row { margin-bottom: 16px; }

.form-legal {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== KONTAKT ===== */
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.kontakt-inner > div p {
  color: var(--text-muted);
  font-size: 1rem;
}

.kontakt-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47,111,94,0.08);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-tinted);
  border-top: 1px solid var(--accent-light);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-copy a {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

/* ===== HONEYPOT ===== */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== VISUALLY HIDDEN ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }

  .problem-grid,
  .features-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .configurator-layout,
  .waitlist-inner,
  .kontakt-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-stats {
    gap: 24px;
    padding: 28px 24px;
  }

  .stat-divider { display: none; }
}

@media (max-width: 680px) {
  nav .nav-list { display: none; }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner { height: 56px; }

  .hero-text h1 { font-size: clamp(1.7rem, 7vw, 2.6rem); }

  .problem-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .quote-grid { grid-template-columns: 1fr; }

  .trust-stats { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }

  .radio-group { flex-direction: column; }
}