/* Bettbiber — landing page styles.
   No external requests: system font stacks only (no Google Fonts — same
   Abmahnung risk we removed from the app). Design tokens mirror the app. */

:root {
  --stone: #ece9e1;
  --paper: #ffffff;
  --ink: #22302b;
  --muted: #6c756f;
  --line: #e2ded4;
  --pine: #1f5c4b;
  --pine-dark: #163f34;
  --pine-deep: #12332a;
  --brass: #b98729;
  --brass-soft: #d9a04e;
  --ok-bg: #e4f0e9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 48, 43, 0.06), 0 8px 24px rgba(34, 48, 43, 0.06);
  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pine);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Kopfzeile ─────────────────────────────────────────────── */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(236, 233, 225, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brass-soft);
  color: #3a2a12;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.head-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.head-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.head-nav a:hover {
  color: var(--ink);
}

/* ── Schaltflächen ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brass-soft);
  color: #3a2a12;
}
.btn--primary:hover {
  filter: brightness(0.96);
}
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--paper);
}
.btn--onDark {
  background: var(--brass-soft);
  color: #3a2a12;
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  background: radial-gradient(120% 130% at 100% 0%, var(--pine-dark) 0%, var(--pine-deep) 70%);
  color: #eef3f1;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 46rem;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
  border: 1px solid rgba(217, 160, 78, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 1rem;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cdd9d4;
  margin: 0 0 2rem;
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(205, 217, 212, 0.8);
}

/* ── Abschnitte ────────────────────────────────────────────── */

.section {
  padding: 4.5rem 0;
}
.section--paper {
  background: var(--paper);
}
.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.6rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ── Funktionen ────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.section--paper .card {
  background: var(--stone);
  box-shadow: none;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--pine);
  margin-bottom: 0.9rem;
}
.card-icon svg {
  width: 20px;
  height: 20px;
}

/* ── Für wen ───────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--ok-bg);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.33rem;
  top: 0.7rem;
  width: 0.32rem;
  height: 0.6rem;
  border: solid var(--pine);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ── Vertrauen ─────────────────────────────────────────────── */

.trust {
  background: var(--pine-dark);
  color: #eef3f1;
}
.trust h2 {
  color: #fff;
}
.trust .section-kicker {
  color: var(--brass-soft);
}
.trust .section-lead {
  color: #cdd9d4;
}
.trust .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.trust .card h3 {
  color: #fff;
}
.trust .card p {
  color: #cdd9d4;
}
.trust .card-icon {
  background: rgba(217, 160, 78, 0.18);
  color: var(--brass-soft);
}

/* ── Preis ─────────────────────────────────────────────────── */

.price-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 34rem;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.price-tag {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.price-sub {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
}

/* ── Abschluss-CTA ─────────────────────────────────────────── */

.cta {
  text-align: center;
  padding: 4.5rem 0;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.cta p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

/* ── Fußzeile ──────────────────────────────────────────────── */

.site-foot {
  background: var(--pine-deep);
  color: #b7c6c0;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-foot a {
  color: #b7c6c0;
  text-decoration: none;
}
.site-foot a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Rechtliche Seiten ─────────────────────────────────────── */

.legal {
  background: var(--paper);
  min-height: 70vh;
}
.legal .wrap {
  max-width: 52rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
}
.legal p,
.legal li {
  font-size: 0.94rem;
  line-height: 1.7;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal li {
  margin-bottom: 0.45rem;
}
.legal a {
  color: var(--pine);
  overflow-wrap: anywhere;
}
.legal [id] {
  scroll-margin-top: 5rem;
}
.legal ul.index {
  list-style: none;
  padding-left: 0;
  columns: 2;
  column-gap: 2rem;
}
.legal ul.index li {
  margin-bottom: 0.3rem;
}
.legal a.index-link {
  text-decoration: none;
  font-size: 0.9rem;
}
.legal a.index-link:hover {
  text-decoration: underline;
}

/* ── Responsiv ─────────────────────────────────────────────── */

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .head-nav a:not(.btn) {
    display: none;
  }
  .hero .wrap {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .section {
    padding: 3rem 0;
  }
  .legal ul.index {
    columns: 1;
  }
  .site-foot .wrap {
    justify-content: flex-start;
  }
}
