:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:rgba(17,24,39,.10);
  --shadow:0 10px 30px rgba(17,24,39,.08);
  --shadow2:0 6px 18px rgba(17,24,39,.08);
  --radius:18px;
  --radius2:14px;
  --max:1120px;

  --accent:#111827;
  --accent2:#0ea5e9;
  --ok:#16a34a;
  --warn:#f59e0b;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(17,24,39,.10), transparent 55%),
    var(--bg);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Header */
header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(246,247,251,.75);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.10em;
  flex:0 0 auto;
}

.brand-badge{
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(14,165,233,.25), rgba(17,24,39,.10));
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  box-shadow:var(--shadow2);
  font-weight:900;
}

.brand small{
  display:block;
  letter-spacing:.02em;
  color:var(--muted);
  font-weight:600;
  margin-top:-2px;
}

.navlinks{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navlinks a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:rgba(17,24,39,.85);
  font-weight:650;
  white-space:nowrap;
}

.navlinks a:hover{
  border-color:var(--line);
  background:rgba(255,255,255,.65);
}

.navlinks a.active{
  border-color:rgba(14,165,233,.25);
  background:rgba(14,165,233,.10);
}

/* Hero */
.hero{ padding:44px 0 18px; }

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}

.hero-card{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero-inner{ padding:26px; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(17,24,39,.06);
  border:1px solid rgba(17,24,39,.08);
  color:rgba(17,24,39,.85);
  font-weight:700;
  font-size:13px;
}

.kicker .dot{
  width:8px; height:8px;
  border-radius:999px;
  background:var(--accent2);
  box-shadow:0 0 0 6px rgba(14,165,233,.12);
}

h1{
  margin:14px 0 10px;
  font-size:clamp(26px, 3.3vw, 40px);
  line-height:1.15;
  letter-spacing:-.02em;
}

.lead{
  margin:0 0 16px;
  color:rgba(17,24,39,.78);
  font-size:16.5px;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:750;
  box-shadow:0 6px 18px rgba(17,24,39,.06);
  transition:transform .08s ease;
}

.btn:hover{ transform:translateY(-1px); }

.btn.primary{
  background:linear-gradient(135deg, rgba(14,165,233,.18), rgba(17,24,39,.04));
  border-color:rgba(14,165,233,.28);
}

.btn .arrow{ font-size:16px; opacity:.9; }

/* Sections */
section{ padding:18px 0 34px; }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:18px 0 12px;
}

.section-head h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.01em;
}

.section-head p{
  margin:0;
  color:var(--muted);
  max-width:560px;
  font-size:14.5px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}

.card{
  grid-column:span 6;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
}

.card.full{ grid-column:span 12; }

.card .img{ height:180px; background:#e5e7eb; }
.card .img img{ width:100%; height:100%; object-fit:cover; }
.card .body{ padding:16px; }

.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid var(--line);
  background:rgba(17,24,39,.04);
  color:rgba(17,24,39,.85);
}

.tag .pill{
  width:8px; height:8px;
  border-radius:999px;
  background:var(--accent2);
}

.card h3{
  margin:10px 0 8px;
  font-size:18px;
  letter-spacing:-.01em;
}

.card p{
  margin:0 0 12px;
  color:rgba(17,24,39,.74);
  font-size:14.5px;
}

.card .foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding-top:10px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}

.link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:rgba(17,24,39,.92);
}

.link:hover{ text-decoration:underline; }

.notice{
  margin-top:16px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow2);
  color:rgba(17,24,39,.78);
  font-size:14px;
}

.notice b{ color:rgba(17,24,39,.92); }

/* Footer */
footer{
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.55);
  padding:22px 0 26px;
  color:rgba(17,24,39,.72);
  font-size:14px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  align-items:start;
}

.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-links a{
  color:rgba(17,24,39,.78);
  font-weight:650;
}

.footer-links a:hover{ text-decoration:underline; }

/* Base responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .card{ grid-column:span 12; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-links{ justify-content:flex-start; }
}

/* ✅ MOBILE NAV – 1 Zeile, wischbar, Fade-Hinweis */
@media (max-width: 680px){
  .nav{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:10px 0;
  }

  .navlinks{
    width:100%;
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:8px;
    padding-right:36px;
    position:relative;
    justify-content:flex-start;
  }

  .navlinks::-webkit-scrollbar{ display:none; }

  .navlinks a{
    white-space:nowrap;
    flex:0 0 auto;
    padding:8px 10px;
    font-size:14px;
  }

  .navlinks::after{
    content:"";
    position:absolute;
    right:0; top:0; bottom:0;
    width:36px;
    pointer-events:none;
    background:linear-gradient(to right, rgba(246,247,251,0), rgba(246,247,251,1));
  }

  /* Hero kompakter */
  .hero{ padding:18px 0 10px; }
  .hero-inner{ padding:16px; }
  h1{ font-size:24px; line-height:1.2; margin:10px 0 8px; }
  .lead{ font-size:15px; margin-bottom:12px; }
  .hero-actions{ flex-direction:column; gap:8px; }
  .btn{ width:100%; padding:12px; }
}

/* Vergleich: Provider-Liste (falls du sie nutzt) */
.provider{
  display:grid;
  grid-template-columns:54px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-top:1px solid var(--line);
}
.provider:first-child{ border-top:0; }

.provider img{
  width:54px; height:54px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
}

.provider h3{ margin:0 0 4px; font-size:16px; }
.provider p{ margin:0; color:rgba(17,24,39,.74); font-size:14px; }

@media (max-width: 680px){
  .provider{
    grid-template-columns:54px 1fr;
    grid-template-areas:
      "img text"
      "btn btn";
    align-items:start;
  }
  .provider img{ grid-area:img; }
  .provider > div{ grid-area:text; }
  .provider .btn{ grid-area:btn; width:100%; margin-top:8px; }
}
/* =========================
   TEXTSEITEN (Impressum / Datenschutz)
   ========================= */

.card{
  padding: 20px 24px;
}

@media (max-width:680px){
  .card{
    padding: 18px 18px;
  }
}