/* ====== Theme Tokens (Default = Light) ====== */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --card:#f8fafc;
  --panel:#ffffff;
  --line:#e2e8f0;

  --primary:#1d4ed8;
  --primary2:#0ea5e9;

  --radius:16px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --container-pad: 20px;

  color-scheme: light dark; /* lässt Browser-Controls (Formulare etc.) passend rendern */
}

/* ====== Auto Dark Mode (System) ====== */
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b1220;
    --text:#e5e7eb;
    --muted:#9aa4b2;
    --card:#0f172a;
    --panel:#0b1220;
    --line:#1f2a44;

    --shadow: 0 10px 30px rgba(0,0,0,.35);
  }
}

/* ====== Base ====== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{ color:inherit; }
.container{ max-width:1100px; margin:0 auto; padding:0 var(--container-pad); }

/* Helpers */
.small{ font-size:13px; color:var(--muted); }
.m0{ margin:0; }
.mb6{ margin-bottom:6px; }
.mb8{ margin-bottom:8px; }
.mb10{ margin-bottom:10px; }
.mb14{ margin-bottom:14px; }
.mt10{ margin-top:10px; }
.mt12{ margin-top:12px; }
.mt14{ margin-top:14px; }

/* Honeypot hidden */
.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* ====== Header / Nav ====== */
header{
  position:sticky;
  top:0;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:10;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  padding-left:12px;
  gap:16px;
}
.brand{ display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.2px; text-decoration:none; color:var(--text); }
.brand .small{ display:block; margin:0; }
.menu{ display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
.menu a{
  font-size:14px;
  color:var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
}
.menu a:hover{
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color:var(--text);
}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  text-decoration:none;
  font-weight:700;
  gap:10px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}
.btn.primary{
  background: linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  border:none;
  box-shadow: var(--shadow);
}
.btn:hover{ transform: translateY(-1px); }

/* ====== Hero ====== */
.hero{
  padding:64px 0 30px;
  background:
    radial-gradient(1000px 500px at 20% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent),
    radial-gradient(900px 500px at 80% 20%, color-mix(in srgb, var(--primary2) 18%, transparent), transparent);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:center;
}
h1{ font-size:44px; line-height:1.1; margin:0 0 14px; }
.lead{ font-size:18px; color:var(--muted); margin:0 0 22px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.pillrow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.pill{
  font-size:13px;
  color:var(--muted);
  border:1px solid var(--line);
  background: var(--panel);
  padding:8px 10px;
  border-radius:999px;
}
.pill-link{
  color:var(--text);
  font-weight:700;
  text-decoration:none;
  border-width:2px;
}
.pill-link:hover{
  transform: translateY(-1px);
}
.highlight-yellow,
.highlight-green,
.highlight-purple,
.highlight-cyan{
  background: color-mix(in srgb, var(--primary) 16%, var(--panel));
  border-color: color-mix(in srgb, var(--primary) 70%, #93c5fd);
  color: color-mix(in srgb, var(--text) 80%, var(--primary));
}


.offers-list{
  display:grid;
  gap:16px;
}
.offer{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}
.offer h3{
  margin:0 0 10px;
  font-size:22px;
}
.offer p{
  margin:0 0 10px;
}
.offer p:last-child{
  margin-bottom:0;
}

/* ====== Cards / Blocks ====== */
.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:14px; }
.stats-two{ grid-template-columns: repeat(2,1fr); }
.stat{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}
.stat b{ display:block; font-size:18px; }

.stat-list{
  margin:8px 0 0;
  padding-left:18px;
}
.stat-list li{
  margin-bottom:4px;
}
.stat-list li:last-child{
  margin-bottom:0;
}

/* ====== Sections ====== */
section{ padding:44px 0; }
section[id], article[id]{ scroll-margin-top: calc(var(--header-offset, 96px) + 12px); }
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
h2{ margin:0; font-size:28px; }
.sub{ margin:0; color:var(--muted); }

.grid3{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.grid4{ display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }

.feature{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
}
.feature h3{ margin:0 0 6px; font-size:16px; }
.feature p{ margin:0; color:var(--muted); font-size:14px; }

.list{ margin:10px 0 0; padding-left:18px; color:var(--muted); }

/* Steps */
.steps{ counter-reset: step; }
.step{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  position:relative;
}
.step:before{
  counter-increment: step;
  content: counter(step);
  position:absolute; top:14px; right:14px;
  width:28px; height:28px; border-radius:10px;
  background: linear-gradient(135deg,var(--primary),var(--primary2));
  color:white;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  box-shadow: var(--shadow);
}

/* FAQ */
.faq details{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 16px;
  margin-bottom:10px;
}
.faq summary{ cursor:pointer; font-weight:700; }
.faq p{ margin:10px 0 0; color:var(--muted); }

/* Contact */
.contact{
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary) 10%, transparent),
    color-mix(in srgb, var(--primary2) 10%, transparent)
  );
  border-top:1px solid var(--line);
}
form{ display:grid; gap:10px; }
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  font:inherit;
  background: var(--panel);
  color: var(--text);
}
textarea{ min-height:110px; resize:vertical; }

/* Footer */
footer{ padding:26px 0; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
.footer-row{
  display:flex; gap:12px; flex-wrap:wrap;
  justify-content:space-between; align-items:center;
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  h1{ font-size:36px; }
  .grid3{ grid-template-columns:1fr; }
  .grid4{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr; }
  .menu{ display:none; }
}

@media (max-width: 640px){
  :root{
    --container-pad: 24px;
  }

  .brand{
    margin-inline-start: 0;
  }
}
