:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ec;
  --bg-hero: #faf7f0;
  --surface: #ffffff;
  --border: #e8e2d4;
  --text: #1c1c1c;
  --muted: #5f5a52;
  --accent: #c9b46c;
  --accent-dark: #a89548;
  --accent-soft: #f3eedf;
  --accent-warm: #b8a35e;
  --max: 1140px;
  --radius: 12px;
  --shadow: 0 18px 48px rgba(201, 180, 108, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Corbel, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
}

.brand img.logo-mark {
  border-radius: 10px;
}

.brand small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

/* Hero */

.hero {
  background:
    linear-gradient(135deg, var(--bg-hero) 0%, #f8fbfe 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero .shell {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero .lead {
  margin: 0 0 28px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card img {
  margin-bottom: 20px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */

section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Pillars */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--accent);
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pillar ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pillar ul li {
  margin-bottom: 4px;
}

/* Compare */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.compare-card.solo {
  background: #fafbfc;
}

.compare-card.recos {
  background: var(--accent-soft);
  border-color: rgba(201, 180, 108, 0.35);
}

.compare-card h3 {
  margin: 0 0 12px;
}

.compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Journey */

.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.journey-step {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.journey-step span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.journey-step h3 {
  margin: 0 0 10px;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Model */

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.model-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.model-panel h3 {
  margin: 0 0 12px;
}

.model-panel p,
.model-panel li {
  color: var(--muted);
}

.model-panel ul {
  margin: 0;
  padding-left: 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-box {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 20px;
}

.stat-box strong {
  display: block;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Page */

.page {
  padding: 56px 0 72px;
}

.page h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.page .meta {
  margin: 0 0 32px;
  color: var(--muted);
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 20px;
}

.panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

/* Placeholder (Rechner) */

.placeholder-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 32px;
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.placeholder-box h2 {
  margin: 0 0 12px;
}

.placeholder-box p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
}

/* Rechner */

.page-calc {
  padding: 40px 0 48px;
}

.page-calc h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
}

.page-calc .meta {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.shell-narrow {
  max-width: 760px;
}

.calc-tool {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.calc-field span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-field-highlight span {
  color: var(--accent-dark);
}

.calc-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.calc-field-highlight .calc-input-wrap {
  border-color: rgba(201, 180, 108, 0.45);
}

.calc-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(201, 180, 108, 0.12);
}

.calc-input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 7px 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  outline: none;
  font-variant-numeric: tabular-nums;
}

.calc-input-wrap input::-webkit-outer-spin-button,
.calc-input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-suffix {
  color: var(--muted);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.calc-body {
  padding: 12px 16px 14px;
}

.calc-basis {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 6px;
  line-height: 1.4;
}

.calc-basis strong {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calc-basis-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-compare {
  gap: 10px;
  margin-bottom: 10px;
}

.calc-compare .compare-card {
  padding: 12px 14px;
  border-radius: 8px;
}

.calc-compare .compare-card h3 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-metrics {
  margin: 0;
}

.calc-metrics > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.calc-metrics > div:last-child {
  border-bottom: 0;
}

.calc-metrics dt {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.calc-metrics dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.calc-metrics .calc-muted {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.calc-metrics .calc-deduction {
  color: #9a6b6b;
  font-weight: 600;
  font-size: 0.85rem;
}

.calc-total-row {
  margin-top: 2px;
  padding-top: 7px !important;
  border-top: 1px solid rgba(201, 180, 108, 0.35) !important;
}

.calc-total-row dd {
  font-size: 1.05rem;
  color: var(--accent-dark);
}

.calc-diff {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin: 0 -16px -14px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 12px;
}

.calc-diff-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.calc-diff-value {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}

.calc-diff-value.positive {
  color: #3d7a4a;
}

.calc-diff-value.negative {
  color: #9a6b6b;
}

.calc-diff-hint {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.calc-disclaimer {
  margin-top: 0;
}

.calc-disclaimer p {
  margin-bottom: 0;
  font-size: 0.85rem;
  max-width: 65ch;
}

.calc-disclaimer .inline-actions {
  margin-top: 16px;
}

/* CTA band */

.cta-band {
  background: var(--accent);
  color: #fff;
}

.cta-band .shell {
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
  max-width: 48ch;
}

.cta-band .button-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .button-primary:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Footer */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

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

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.footer-note {
  width: 100%;
  padding-bottom: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .compare,
  .journey,
  .model-grid,
  .pillar-grid,
  .contact-grid,
  .calc-inputs {
    grid-template-columns: 1fr;
  }

  .calc-diff {
    grid-template-columns: 1fr auto;
  }

  .calc-diff-value {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-header .shell {
    position: relative;
    flex-wrap: wrap;
  }

  .cta-band .shell {
    flex-direction: column;
    align-items: flex-start;
  }
}