/* ShooterFinder – Website. Farben wie App und Icon: Waldgrün, Creme, Signalrot. Systemschrift (keine externen Fonts, DSGVO). */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --forest: #1d3a28;
  --forest-2: #24472f;
  --forest-ink: #10251a;
  --cream: #f2eee4;
  /* Text auf Waldgrün – bleibt im Dunkelmodus hell. */
  --on-forest: #f2eee4;
  --paper: #fbf9f4;
  --ink: #1b1f1a;
  --muted: #5d665e;
  --line: rgba(27, 31, 26, 0.12);
  --red: #b0131e;
  --signal: #e0482e;
  --ok: #2f7a33;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101712;
    --cream: #172119;
    --ink: #e9e6dc;
    --muted: #a3ab9f;
    --line: rgba(233, 230, 220, 0.14);
    color-scheme: dark;
  }
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopf */
header.top { background: var(--forest); color: var(--on-forest); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.main { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav.main a { text-decoration: none; opacity: 0.85; }
nav.main a:hover, nav.main a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.lang { font-size: 13px; font-weight: 700; border: 1px solid rgba(242, 238, 228, 0.35); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
@media (max-width: 760px) { nav.main { display: none; } .lang { margin-left: auto; } }

/* Hero */
.hero { background: var(--forest); color: var(--on-forest); overflow: hidden; position: relative; }
.hero::after {
  /* Baumsilhouette wie im Icon */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: var(--forest-ink);
  clip-path: polygon(0 100%, 0 60%, 4% 20%, 8% 60%, 12% 35%, 17% 70%, 22% 30%, 27% 65%, 33% 40%, 38% 75%, 44% 25%, 50% 70%, 56% 45%, 61% 72%, 67% 30%, 73% 68%, 79% 38%, 85% 72%, 90% 28%, 95% 62%, 100% 40%, 100% 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 110px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--signal); }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.025em; margin: 14px 0 18px; font-weight: 850; }
.hero p.lead { font-size: 20px; opacity: 0.9; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--on-forest); color: var(--forest); }
.btn.ghost { border: 1px solid rgba(242, 238, 228, 0.4); color: var(--on-forest); }
.btn.dark { background: var(--forest); color: var(--on-forest); }
.note { font-size: 14px; opacity: 0.75; margin-top: 12px; }
.phones { display: flex; justify-content: center; gap: 18px; position: relative; z-index: 1; }
.phone { width: 230px; border-radius: 34px; border: 8px solid #0b140e; background: #0b140e; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); overflow: hidden; }
.phone img { border-radius: 26px; }
.phones .phone:nth-child(2) { transform: translateY(40px); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .phone { width: 46%; max-width: 220px; }
}

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--cream); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 800; }
h3 { font-size: 19px; margin-bottom: 6px; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; margin-bottom: 36px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .step { background: var(--paper); }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--on-forest); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .phone { margin: 0 auto; width: 260px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split .phone { width: 220px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border-top: 3px solid var(--forest); padding-top: 16px; }
.feature p { color: var(--muted); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); }
.checks li::after { content: "✓"; position: absolute; left: 4px; top: 0; color: #fff; font-size: 13px; font-weight: 800; }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.role b { display: block; font-size: 17px; margin-bottom: 4px; }
.role span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

.banner { background: var(--forest); color: var(--on-forest); border-radius: 24px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner h2 { margin: 0; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 8px; }

/* Textseiten (Hilfe, Recht) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 18px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink); }
.page p + p { margin-top: 12px; }
.page ul, .page ol { margin: 8px 0 8px 22px; }
.page li + li { margin-top: 6px; }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.page th { background: var(--cream); }
.page .meta { color: var(--muted); font-size: 15px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0; }
.page a, .card a, footer a { color: inherit; text-underline-offset: 3px; }

footer { background: var(--forest-ink); color: var(--on-forest); padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer .fine { opacity: 0.7; }

/* Zahlenband unter dem Aufmacher */
.stats { background: var(--forest-ink); color: var(--on-forest); padding: 36px 0 40px; }
.stats .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats .num { font-size: clamp(36px, 5vw, 52px); font-weight: 850; letter-spacing: -0.02em; line-height: 1; color: var(--signal); }
.stats .lbl { margin-top: 8px; opacity: 0.9; font-size: 16px; }
.stats .lead2 { margin-top: 26px; font-size: 18px; max-width: 46em; }
.stats .src { margin-top: 12px; font-size: 13px; opacity: 0.6; }
.stats .src a { color: inherit; }
@media (max-width: 700px) { .stats .grid { grid-template-columns: 1fr; gap: 18px; } }
