:root {
  --brand: #F6871F;          /* Logo-Orange */
  --brand-ink: #A8560A;      /* Orange für Text/Links auf hellem Grund */
  --brand-soft: #FFF4E8;
  --on-brand: #1C1917;

  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --text: #1C1917;
  --muted: #57534E;
  --line: #E7E5E4;

  --hero-bg: #141619;        /* dunkles Anthrazit, in beiden Modi */
  --hero-text: #F5F5F4;
  --hero-muted: #A8A29E;
  --hero-line: #2A2D31;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #FFA14D;
    --brand-soft: #2A1E12;
    --bg: #0F1113;
    --surface: #181B1F;
    --text: #EDEDEC;
    --muted: #A8A29E;
    --line: #2A2D31;
    --hero-bg: #181B1F;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-ink); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: var(--surface); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; }
.brand img { display: block; height: 30px; width: auto; }
nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--brand-ink); }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(246,135,31,.18), rgba(246,135,31,0) 65%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; position: relative; }
.hero-globe { width: 240px; height: auto; opacity: .95; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
h1 { font-size: clamp(2rem, 4.8vw, 3rem); line-height: 1.15; margin: 14px 0 16px; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--hero-muted); max-width: 620px; margin: 0; }

.notice {
  margin-top: 32px; padding: 18px 20px; border-radius: 12px; max-width: 640px;
  background: rgba(246,135,31,.08); border: 1px solid rgba(246,135,31,.35);
  border-left: 4px solid var(--brand);
}
.notice strong { display: block; margin-bottom: 4px; color: var(--hero-text); }
.notice span { color: var(--hero-muted); }

.cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: #FF9A3D; }
.btn-ghost { color: var(--hero-text); border: 1px solid var(--hero-line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--brand); }

/* Sections */
section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head .eyebrow { color: var(--brand-ink); }
h2 { font-size: 1.7rem; margin: 6px 0 0; letter-spacing: -.01em; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.grid .card { border-top: 3px solid var(--brand); }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.why { background: var(--brand-soft); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.facts li { padding-left: 30px; position: relative; font-weight: 500; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--brand); background: radial-gradient(circle, var(--brand) 0 3px, transparent 4px);
}

.contact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact .card p { color: var(--text); font-size: 1rem; }
.label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }

#impressum { padding-top: 24px; }
#impressum .card { max-width: 720px; }
#impressum p { margin: 0 0 12px; color: var(--text); font-size: .95rem; }
#impressum p:last-child { margin-bottom: 0; }

footer { background: var(--hero-bg); color: var(--hero-muted); padding: 28px 0; font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--hero-muted); margin-left: 18px; text-decoration: none; }
footer a:hover { color: var(--brand); }
footer a:first-child { margin-left: 0; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-globe { display: none; }
  .brand img { height: 24px; }
  nav a { margin-left: 14px; font-size: .9rem; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }

/* Unterseiten (Datenschutz, AGB) */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 6px 0 8px; }
.legal .stand { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal .back { display: inline-block; margin-top: 40px; }
.placeholder { border: 2px dashed var(--brand); border-radius: 12px; padding: 20px; background: var(--brand-soft); }

/* AGB */
.toc { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 22px; margin: 0 0 40px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc .letter { display: inline-block; width: 1.6em; font-weight: 700; color: var(--brand-ink); }
.legal h2.part { font-size: 1.35rem; margin: 56px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.legal h2.part .letter { color: var(--brand-ink); margin-right: .4em; }
.legal h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.legal p.cl { padding-left: 2.2em; text-indent: -2.2em; margin: 0 0 12px; }
.legal p.cl .n { display: inline-block; width: 2.2em; text-indent: 0; font-weight: 600; color: var(--muted); }
.legal p.sub { margin-left: 2.2em; }
.legal p.cont { padding-left: 2.2em; margin: 0 0 12px; }
.legal ul.items { margin: 0 0 12px 2.2em; padding-left: 1.2em; }
.legal ul.items li { margin-bottom: 4px; }
.legal ul.items li::marker { color: var(--brand); }
.download { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
@media print {
  header nav, footer, .back, .toc, .download { display: none; }
  body { background: #fff; color: #000; }
}
.legal ul.items.deep { margin-left: 4.4em; }
@media (max-width: 560px) {
  .legal p.sub { margin-left: 0.8em; }
  .legal ul.items { margin-left: 1.6em; }
  .legal ul.items.deep { margin-left: 2.6em; }
}

/* Status-Hinweis im Kontaktbereich */
.contact .card p.status-line { margin-top: 10px; font-size: .95rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; }

/* Mitlaufender Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0,0,0,.04);
}
/* Sprungziele (#kontakt, #impressum, AGB-Abschnitte) nicht unter dem Header verstecken */
html { scroll-padding-top: 84px; }
.legal h2.part { scroll-margin-top: 0; }
@media (max-width: 560px) {
  header .wrap { padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  html { scroll-padding-top: 96px; }
}

/* Kurze Seiten (404) füllen den Bildschirm */
.page-fill { min-height: 100vh; display: flex; flex-direction: column; }
.page-fill main { flex: 1; display: flex; }
.page-fill .hero { flex: 1; display: flex; align-items: center; }
.page-fill .hero .wrap { width: 100%; }

/* Überschriften ausgewogen umbrechen (kein einzelnes Wort in der letzten Zeile) */
h1, h2 { text-wrap: balance; }

/* Zweispaltiges Raster (Tablet): ungerade letzte Karte über volle Breite */
@media (min-width: 576px) and (max-width: 851px) {
  .grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
