/* Heimweit — Waldgrün, Ocker, Sand. Keine externen Schriften oder Skripte. */

:root {
  --bg:      #F7F3EC;
  --surface: #FFFFFF;
  --ink:     #17302B;
  --muted:   #5D6E69;
  --line:    #E4DDD0;
  --primary: #1F4E46;
  --accent:  #C9811C;
  --soft:    #F6E7CC;
  --radius:  20px;
  --max:     1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #0F1E1B;
    --surface: #172B27;
    --ink:     #EEF2EF;
    --muted:   #A3B4AE;
    --line:    #26403A;
    --primary: #8CC9B8;
    --accent:  #E9A23B;
    --soft:    #2C2717;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } }
.header-end { display: flex; align-items: center; gap: 22px; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.lang:hover { color: var(--ink); }

.hero { padding: 84px 24px 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 56px; } }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.03em; margin: 14px 0 20px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 28px; max-width: 580px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--primary); color: var(--bg); font-weight: 700; font-size: 15px; }

/* Beispiel rechts im Hero: Suchwunsch in eigenen Worten und was Heimweit daraus versteht. */
.demo { display: grid; gap: 14px; }
.demo .wish { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 20px 22px; font-style: italic; }
.demo .wish::before { content: "„"; }
.demo .wish::after { content: "“"; }
html[lang="en"] .demo .wish::before { content: "“"; }
html[lang="en"] .demo .wish::after { content: "”"; }
.demo .parsed { background: var(--primary); color: var(--bg); border-radius: var(--radius); padding: 20px 22px; }
.demo .parsed p { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: .8; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); }
.chips li.soft { background: transparent; border: 1px dashed rgba(255,255,255,.5); }

section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 19px; margin: 0 0 32px; max-width: 680px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }

.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.flag { font-size: 30px; line-height: 1; display: block; margin-bottom: 12px; }

.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { padding-left: 28px; position: relative; color: var(--muted); }
.compare li::before { position: absolute; left: 0; font-weight: 800; }
.compare .classic { background: transparent; }
.compare .classic li::before { content: "–"; color: var(--muted); }
.compare .ours { border: 2px solid var(--primary); }
.compare .ours li { color: var(--ink); }
.compare .ours li::before { content: "✓"; color: var(--accent); }

.partner { background: var(--surface); border: 2px solid var(--primary); border-radius: var(--radius); padding: 34px; }
.partner ul { margin: 18px 0 24px; padding-left: 20px; color: var(--muted); }
.partner li + li { margin-top: 6px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { filter: brightness(1.05); }

.note { font-size: 15px; color: var(--muted); margin-top: 18px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--accent); text-decoration: none; font-weight: 600; }
