/* ============================================================
   Empfehlungsprogramm – Kevin Hamann Immobilien
   Mobile First: Basiswerte gelten für Smartphone,
   größere Screens werden per min-width erweitert.
   ============================================================ */

:root {
  --cream: #F4EEE1;
  --cream-deep: #EAE0CC;
  --ink: #201B16;
  --ink-soft: #56504A;
  --terracotta: #E0614A;
  --terracotta-dark: #B84732;
  --terracotta-tint: #FBE7E1;
  --navy: #1F2B38;
  --white: #FFFFFF;
  --line: rgba(32, 27, 22, 0.13);
  --shadow-soft: 0 12px 30px -18px rgba(32, 27, 22, 0.4);
  --shadow-lift: 0 18px 44px -22px rgba(32, 27, 22, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }

.container { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Kopfzeile ---------- */
.topbar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; }
.topbar img.mark { width: 30px; }
.topbar .brand { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.15; }
.topbar .brand span {
  display: block; font-family: var(--font-body); font-size: 10.5px;
  font-weight: 500; color: var(--ink-soft); letter-spacing: 0.02em; margin-top: 2px;
}

/* ---------- Typografie ---------- */
h1.display { font-family: var(--font-display); font-weight: 600; font-size: 29px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
h2.display { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
h3.sub { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.lead { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 22px; }
.note { font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }

.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--terracotta-dark); background: var(--terracotta-tint);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}

/* ---------- Provisions-Hero ---------- */
.payout { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.payout-pct { font-family: var(--font-display); font-weight: 700; font-size: 76px; line-height: 0.85; color: var(--terracotta); letter-spacing: -0.03em; }
.payout-of { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink-soft); max-width: 160px; line-height: 1.25; }
.payout-euro { display: block; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--ink); margin: 10px 0 4px; }
.payout-euro em { font-style: normal; color: var(--terracotta-dark); }

/* ---------- Portrait ---------- */
.portrait-card { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-soft); }
.portrait-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.portrait-card .who strong { display: block; font-size: 16px; font-family: var(--font-display); font-weight: 600; }
.portrait-card .who span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

.hero-figure { position: relative; margin: 20px -20px 0; background: linear-gradient(180deg, transparent 0%, var(--cream-deep) 100%); display: flex; justify-content: center; }
.hero-figure img { width: 74%; max-width: 300px; }

/* ---------- Google-Badge ---------- */
.google-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--white); border-radius: var(--radius-lg); padding: 20px 18px; box-shadow: var(--shadow-soft); text-align: center; text-decoration: none; }
.google-badge img { width: 170px; margin: 0 auto; }
.google-badge .score { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ink); }
.google-badge .cap { font-size: 13px; color: var(--ink-soft); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; }
.stat { background: var(--white); border-radius: var(--radius); padding: 14px 8px; text-align: center; box-shadow: var(--shadow-soft); }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.1; }
.stat span { display: block; font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; line-height: 1.3; }

/* ---------- Karten ---------- */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-lift); }
.card + .card { margin-top: 16px; }
.section { padding: 34px 0; }
.section-tint { background: var(--cream-deep); }

.rowlist > .row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.rowlist > .row:first-child { border-top: none; padding-top: 0; }
.row .idx { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--terracotta-tint); color: var(--terracotta-dark); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.row .txt strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.row .txt span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Pitch ---------- */
.pitch { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 22px 18px; }
.pitch h2 { color: var(--white); font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; }
.pitch .pitch-intro { color: rgba(255,255,255,0.72); font-size: 14.5px; margin: 0 0 16px; }
.pitch blockquote { margin: 0; padding: 16px; background: rgba(255,255,255,0.09); border-left: 3px solid var(--terracotta); border-radius: 0 12px 12px 0; font-size: 15.5px; line-height: 1.55; }
.pitch .copy-pitch { margin-top: 14px; background: var(--terracotta); color: var(--white); border: none; border-radius: 100px; padding: 13px 22px; font-family: var(--font-body); font-weight: 600; font-size: 15px; width: 100%; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: none; border-radius: 100px; padding: 17px 24px; font-family: var(--font-body); font-weight: 600; font-size: 16.5px; text-decoration: none; cursor: pointer; transition: background 0.15s ease, transform 0.12s ease; min-height: 54px; }
.btn + .btn { margin-top: 10px; }
.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 10px 24px -12px rgba(224,97,74,0.8); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:disabled { opacity: 0.55; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-call { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }

/* ---------- Formular ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.field input { width: 100%; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); font-family: var(--font-body); font-size: 16px; background: var(--cream); color: var(--ink); }
.field input:focus { background: var(--white); border-color: var(--terracotta); outline: none; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--terracotta); }
.consent a { color: var(--terracotta-dark); }

.msg { display: none; font-size: 14.5px; padding: 14px; border-radius: 12px; margin-top: 14px; }
.msg.show { display: block; }
.msg-success { background: #E4F0E2; color: #2C5632; }
.msg-error { background: #FBE1DC; color: #8E3524; }

.divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Kundenstimmen ---------- */
.quote { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.quote p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.quote-stars { color: #F5A623; font-size: 13px; letter-spacing: 1px; margin-bottom: 6px; }

/* ---------- Empfehler-Badge ---------- */
.referrer { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--terracotta-tint); border-radius: 100px; padding: 7px 16px 7px 7px; margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.referrer .av { width: 32px; height: 32px; border-radius: 50%; background: var(--terracotta); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.referrer span { font-size: 13.5px; color: var(--ink-soft); }
.referrer strong { color: var(--ink); }

/* ---------- Link-Box ---------- */
.linkbox { background: var(--cream); border: 1.5px dashed var(--terracotta); border-radius: 14px; padding: 14px; font-size: 14px; font-weight: 600; word-break: break-all; text-align: center; margin-bottom: 14px; }

/* ---------- Fußzeile ---------- */
footer { padding: 28px 0 44px; font-size: 12.5px; color: var(--ink-soft); }
footer .links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { text-decoration: underline; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 700px; margin: 0 auto; padding: 30px 20px 70px; }
.legal h1 { font-family: var(--font-display); font-size: 27px; margin: 0 0 6px; }
.legal h2 { font-family: var(--font-display); font-size: 18px; margin: 26px 0 8px; }
.legal h3 { font-size: 15px; margin: 18px 0 6px; }
.legal p, .legal li { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.legal strong { color: var(--ink); }
.notice { background: var(--terracotta-tint); color: var(--terracotta-dark); padding: 13px 16px; border-radius: 12px; font-size: 13.5px; margin-bottom: 22px; }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Ab Tablet
   ============================================================ */
@media (min-width: 600px) {
  body { font-size: 17px; }
  .container { padding: 0 28px; }
  h1.display { font-size: 38px; }
  h2.display { font-size: 26px; }
  .payout-pct { font-size: 104px; }
  .payout-of { font-size: 17px; max-width: 200px; }
  .payout-euro { font-size: 31px; }
  .card { padding: 28px 26px; }
  .btn { width: auto; min-width: 240px; }
  .btn + .btn { margin-top: 0; }
  .btn-row { display: flex; gap: 12px; }
  .btn-row .btn { flex: 1; min-width: 0; }
  .portrait-card img { width: 100px; height: 100px; }
  .google-badge { flex-direction: row; justify-content: center; gap: 18px; text-align: left; }
  .google-badge img { width: 190px; }
  .hero-figure { margin: 24px 0 0; border-radius: var(--radius-lg); }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12.5px; }
  .pitch { padding: 30px 28px; }
  .pitch .copy-pitch { width: auto; }
}
