:root{
  --bg:#f4fbff;
  --bg2:#dff4ff;
  --card:rgba(255,255,255,.82);
  /* Neutral stroke to avoid blue halo on cards/CTA */
  --stroke:rgba(0, 0, 0, .08);
  --shadow: 0 22px 70px rgba(6, 38, 58, .18);
  --shadow2: 0 12px 28px rgba(6, 38, 58, .12);
  --primary:#3bb7ff;
  --primary2:#1b86d8;
  --navy:#0e3a57;
  --ink:#143244;
  --muted:#5b7e92;

  --radius:18px;
  --radius2:30px;
  --max:1150px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  --script: "Dancing Script", "Pacifico", "Segoe Script", cursive;
}

/* =============================
   Dark Mode
   - toggle via html[data-theme="dark"]
   - default respects prefers-color-scheme (see js/theme.js)
   ============================= */
html[data-theme="dark"]{
  --bg:#070b10;
  --bg2:#0b121a;
  --card: rgba(18, 26, 34, .78);
  --stroke: rgba(255, 255, 255, .12);
  --shadow: 0 26px 80px rgba(0, 0, 0, .55);
  --shadow2: 0 14px 34px rgba(0, 0, 0, .42);

  /* keep brand accent, just adapt text */
  --navy:#eaf4ff;
  --ink:#eaf4ff;
  --muted:#a9c0cf;
}

html[data-theme="dark"] body{
  color: var(--ink);
  background:
    radial-gradient(1200px 720px at 55% 0%, rgba(59,183,255,.10), transparent 60%),
    radial-gradient(900px 520px at 20% 8%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, #0b1117 0%, #070b10 55%, #06090d 100%);
}
html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after{
  opacity: .55;
  filter: blur(0.6px);
}
html[data-theme="dark"] body::before{
  background:
    radial-gradient(120px 60px at 8% 80%, rgba(255,255,255,.08), rgba(255,255,255,0) 70%),
    radial-gradient(170px 80px at 22% 55%, rgba(255,255,255,.07), rgba(255,255,255,0) 72%),
    radial-gradient(200px 90px at 40% 70%, rgba(255,255,255,.06), rgba(255,255,255,0) 72%),
    radial-gradient(160px 70px at 60% 55%, rgba(255,255,255,.07), rgba(255,255,255,0) 72%),
    radial-gradient(220px 100px at 78% 70%, rgba(255,255,255,.06), rgba(255,255,255,0) 72%),
    radial-gradient(170px 80px at 92% 55%, rgba(255,255,255,.07), rgba(255,255,255,0) 72%);
}
html[data-theme="dark"] body::after{
  background:
    radial-gradient(220px 110px at 10% 40%, rgba(255,255,255,.07), rgba(255,255,255,0) 72%),
    radial-gradient(300px 140px at 34% 52%, rgba(255,255,255,.06), rgba(255,255,255,0) 72%),
    radial-gradient(260px 120px at 58% 44%, rgba(255,255,255,.07), rgba(255,255,255,0) 72%),
    radial-gradient(320px 150px at 84% 54%, rgba(255,255,255,.06), rgba(255,255,255,0) 72%);
}

html[data-theme="dark"] .topbar{
  background: linear-gradient(180deg, rgba(9,14,20,.78), rgba(9,14,20,.54));
  border-bottom: 1px solid var(--stroke);
}
html[data-theme="dark"] .nav a{color: var(--ink); opacity: .92;}
html[data-theme="dark"] .nav a:hover{background: rgba(59,183,255,.14)}

html[data-theme="dark"] .btn{
  background: rgba(18, 26, 34, .82);
  color: var(--ink);
}
html[data-theme="dark"] .btn:hover{box-shadow: 0 18px 44px rgba(0,0,0,.55)}
html[data-theme="dark"] .btn--primary{color:#fff;}

html[data-theme="dark"] .brand img{filter: drop-shadow(0 10px 18px rgba(0,0,0,.55))}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--sans);
  color:var(--ink);
  background:
    radial-gradient(1200px 720px at 55% 0%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(900px 520px at 20% 8%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #ffffff 100%);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:-120px -60px auto -60px;
  height: 340px;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(120px 60px at 8% 80%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(170px 80px at 22% 55%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
    radial-gradient(200px 90px at 40% 70%, rgba(255,255,255,.90), rgba(255,255,255,0) 72%),
    radial-gradient(160px 70px at 60% 55%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
    radial-gradient(220px 100px at 78% 70%, rgba(255,255,255,.90), rgba(255,255,255,0) 72%),
    radial-gradient(170px 80px at 92% 55%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%);
  filter: blur(0.2px);
  opacity:.9;
}
body::after{
  content:"";
  position:fixed;
  inset:auto -60px -140px -60px;
  height: 380px;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(220px 110px at 10% 40%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%),
    radial-gradient(300px 140px at 34% 52%, rgba(255,255,255,.93), rgba(255,255,255,0) 72%),
    radial-gradient(260px 120px at 58% 44%, rgba(255,255,255,.94), rgba(255,255,255,0) 72%),
    radial-gradient(320px 150px at 84% 54%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%);
  opacity:.95;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:min(var(--max), calc(100% - 36px)); margin:0 auto}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:16px;
  font-weight:800;letter-spacing:.1px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px); box-shadow: 0 16px 36px rgba(6,38,58,.16)}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
  border:0;
  box-shadow: var(--shadow2);
}
.btn--primary:hover{box-shadow: var(--shadow);}

/* Ghost / neutral button (used in header + secondary actions) */
.btn--ghost{
  background: rgba(255,255,255,.70);
  color: var(--navy);
}

/* Theme toggle button */
.theme-toggle{
  width:44px;
  height:44px;
  padding:0;
  border-radius:14px;
  font-size:18px;
  line-height:1;
}

html[data-theme="dark"] .btn{
  background: rgba(18,26,34,.78);
  color: var(--ink);
}
html[data-theme="dark"] .btn--ghost{
  background: rgba(18,26,34,.60);
  color: var(--ink);
}
html[data-theme="dark"] .btn:hover{
  box-shadow: 0 16px 36px rgba(0,0,0,.55);
}

.topbar{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  border-bottom:1px solid var(--stroke);
}
html[data-theme="dark"] .topbar{
  background: linear-gradient(180deg, rgba(10,16,22,.78), rgba(10,16,22,.52));
}
.topbar__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:12px 0;
}
.brand{display:flex;align-items:center;gap:12px;min-width: 240px}
.brand img{width:44px;height:44px;object-fit:contain;filter: drop-shadow(0 10px 18px rgba(0,0,0,.12))}
.brand__text strong{display:block;font-weight:950;color:var(--navy)}
.brand__text span{display:block;font-size:12px;color:var(--muted);font-weight:650;margin-top:2px}

.nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.nav a{
  padding:10px 12px;border-radius:14px;
  font-weight:800;font-size:14px;color:var(--navy);
  opacity:.9;
}
.nav a:hover{background: rgba(45,167,234,.10)}
html[data-theme="dark"] .nav a:hover{background: rgba(59,183,255,.12)}

.topbar__cta{display:flex;align-items:center;gap:10px}
.burger{
  display:none;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--stroke); background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2); padding:10px;
}
html[data-theme="dark"] .burger{
  background: rgba(18,26,34,.70);
}
.burger span{display:block;height:2px;background: var(--navy);margin:6px 0;border-radius:2px}

.mobile{
  position:fixed; z-index:9999; inset:0; background: rgba(0,0,0,.35);
  display:grid; place-items:start center; padding-top:80px;

  z-index: 99999;
  pointer-events: auto;
}
.mobile__panel{position:relative;
  width:min(520px, calc(100% - 28px));
  background: rgba(255,255,255,.92);
  border:1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding:16px;
  display:grid; gap:10px;
}
.mobile__head{display:flex;align-items:center;justify-content:space-between}
.iconbtn{
  position:relative; z-index:2;
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--stroke); background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2); font-weight:900;
}
.mobile a{padding:12px 12px;border-radius:14px;font-weight:900;color:var(--navy)}
.mobile a:hover{background: rgba(45,167,234,.10)}

.hero{
  position:relative;
  min-height: 85vh;
  padding: 26px 0 120px;
  overflow: hidden;
}
.hero__bg{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter:saturate(1.05) contrast(1.03);
}
/* weicher Cloud-Fade nach unten, damit Sections klar getrennt sind */
.hero__bg::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 210px;
  pointer-events:none;
  z-index: 2;
  background: url("../assets/cloud-divider.png") no-repeat bottom center;
  background-size: cover;
  opacity: .95;
}

.hero__content{
  position:relative;
  z-index: 1;
  width:min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 110px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:stretch;
}
.hero__left{padding:18px}
.hero__badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
}
.dot{width:10px;height:10px;border-radius:999px;background: linear-gradient(180deg, var(--primary), var(--primary2)); box-shadow: 0 10px 20px rgba(0,0,0,.10)}
.hero h1{
  margin:14px 0 0;
  font-size: clamp(34px, 3.6vw, 54px);
  letter-spacing: -1px;
  color: var(--navy);
  text-shadow: 0 10px 30px rgba(255,255,255,.6);
}
.hero__sub{margin:10px 0 0; color: var(--muted); font-weight: 650; max-width: 62ch; line-height:1.55}
.hero__actions{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.hero__stats{
  margin-top:16px;
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.stat{
  background: rgba(255,255,255,.72);
  border:1px solid var(--stroke);
  border-radius: 16px;
  padding:12px;
  box-shadow: var(--shadow2);
}
.stat strong{display:block; font-weight:950; color: var(--navy)}
.stat span{display:block; margin-top:4px; font-weight:700; font-size: 13px; color: var(--muted)}

.hero__right{padding:18px; display:flex; align-items:stretch}
.glass{
  width:100%;
  background: rgba(255,255,255,.75);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding:16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.glass h3{margin:0;color:var(--navy);font-size:18px}
.glass p{margin:8px 0 14px;color:var(--muted);font-weight:650;line-height:1.55}
.glass__row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.pill{
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(45,167,234,.10);
  border: 1px solid rgba(45,167,234,.18);
  font-weight:850;
  color: var(--navy);
  font-size: 13px;
}

.wave{width:100%; margin-top: -18px}
.wave svg{width:100%;height:120px}
.wave path{fill: #fff}

/* Cloud-like Übergänge (wie im Referenzbild) */
.cloudwave{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 210px;
  pointer-events:none;
  z-index: 2;
  background:
    radial-gradient(220px 110px at 8% 55%, rgba(255,255,255,.98), rgba(255,255,255,0) 72%),
    radial-gradient(320px 150px at 26% 62%, rgba(255,255,255,.96), rgba(255,255,255,0) 74%),
    radial-gradient(280px 130px at 48% 50%, rgba(255,255,255,.97), rgba(255,255,255,0) 74%),
    radial-gradient(360px 170px at 70% 62%, rgba(255,255,255,.95), rgba(255,255,255,0) 74%),
    radial-gradient(260px 120px at 90% 52%, rgba(255,255,255,.97), rgba(255,255,255,0) 72%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 46%, rgba(255,255,255,1) 100%);
}

/* Sections bekommen am Übergang eine weiche "Wolkenkante" */
.section{
  position: relative;
}
.section::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-1px;
  height: 170px;
  pointer-events:none;
  z-index: 0;
  background: url("../assets/cloud-divider.png") no-repeat top center;
  background-size: cover;
  transform: rotate(180deg);
  opacity: .85;
}
.section::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-1px;
  height: 170px;
  pointer-events:none;
  z-index: 0;
  background: url("../assets/cloud-divider.png") no-repeat bottom center;
  background-size: cover;
  opacity: .85;
}

.section > .wrap{position:relative; z-index:1;}

.section{padding: 110px 0}
.section--alt{
  background: radial-gradient(900px 480px at 20% 0%, rgba(45,167,234,.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.0));
}
.section__head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin-bottom: 18px;
}
.kicker{font-weight:950; letter-spacing:.55px; text-transform:uppercase; font-size:12px; color: rgba(14,58,87,.75)}
.section h2{margin:6px 0 0; color: var(--navy); font-size: clamp(30px, 3vw, 44px); letter-spacing:-.3px; font-family: var(--script); font-weight: 900; text-shadow: 0 10px 26px rgba(255,255,255,.75)}
.section p{margin:8px 0 0; color: var(--muted); font-weight:650; line-height:1.65; max-width: 82ch}
.section__side{display:flex;gap:10px;flex-wrap:wrap}
.mini{
  padding:12px 12px; border-radius: 16px;
  background: #ffffff;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
  min-width: 150px;
}
.mini strong{display:block;color:var(--navy);font-weight:950}
.mini span{display:block;color:var(--muted);font-weight:700;margin-top:4px;font-size:13px}

.cards{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.card h3{margin:0;color:var(--navy);font-size:18px}
.card p{margin:8px 0 0}

.grid{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.feature{
  background: rgba(255,255,255,.78);
  border:1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 14px;
  display:flex; gap:12px; align-items:center;
}
.ico{
  width:46px;height:46px;border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(45,167,234,.12);
  border: 1px solid rgba(45,167,234,.20);
  font-size: 22px;
}
.feature strong{display:block;color:var(--navy);font-weight:950}
.feature span{display:block;color:var(--muted);font-weight:700;margin-top:3px;font-size:13px}

.steps{
  margin-top: 16px;
  display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;
}
.step{
  background: rgba(255,255,255,.78);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 16px;
  position:relative;
  overflow:hidden;
}
.step::before{
  content:""; position:absolute; inset: -40px -40px auto auto;
  width: 120px; height: 120px; border-radius: 999px;
  background: rgba(45,167,234,.10);
}
.step__n{
  width:42px;height:42px;border-radius: 16px;
  display:grid;place-items:center;
  color:#fff; font-weight:950;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  box-shadow: var(--shadow2);
}
.step h3{margin:12px 0 0;color:var(--navy);font-size:18px}
.step p{margin:8px 0 0}

.team{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.member{
  background: rgba(255,255,255,.80);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.member img{width:100%; height: 220px; object-fit:cover}
.member__body{padding:14px}
.member__body strong{display:block;color:var(--navy);font-weight:950;font-size:18px}
.member__body span{display:block;color:var(--muted);font-weight:750;margin-top:4px}
.member--empty{display:grid;place-items:center;min-height: 280px}
.member--empty .q{
  width:96px;height:96px;border-radius: 26px;
  display:grid;place-items:center;
  font-weight:950;font-size:42px;color: var(--navy);
  background: rgba(45,167,234,.10);
  border:1px dashed rgba(45,167,234,.35);
}
.member--empty .member__body{text-align:center}

.roles{display:grid; gap:12px}
.role{
  background: rgba(255,255,255,.78);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 16px;
  display:flex; gap:12px; align-items:flex-start;
}
.check{
  width:32px;height:32px;border-radius: 999px;
  display:grid;place-items:center;
  color:#fff;font-weight:950;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  box-shadow: var(--shadow2);
  flex:0 0 auto;
  margin-top:2px;
}
.role h3{margin:0;color:var(--navy);font-size:18px}
.role p{margin:8px 0 0}

.cta{
  margin-top: 16px;
  /* remove blue glow/gradient */
  background: #ffffff;
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.cta h3{margin:0;color:var(--navy);font-size:20px}
.cta p{margin:8px 0 0}
.cta__buttons{display:flex;gap:10px;flex-wrap:wrap}

.faq{display:grid; gap:12px}
.qa{
  background: rgba(255,255,255,.78);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 14px 16px;
}
.qa summary{
  cursor:pointer;
  color: var(--navy);
  font-weight: 950;
}
.qa p{margin:10px 0 0}

.footer{
  padding: 26px 0 46px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.0), rgba(45,167,234,.06));
}
.footer__inner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.footer__brand{display:flex;align-items:center;gap:12px}
.footer__brand img{width:44px;height:44px;object-fit:contain}
.footer__brand strong{display:block;color:var(--navy);font-weight:950}
.footer__brand span{display:block;color:var(--muted);font-weight:700;font-size:13px;margin-top:2px}
.footer__links{display:flex;gap:14px;flex-wrap:wrap}
.footer__links a{color:var(--navy);font-weight:900;opacity:.9}
.footer__links a:hover{text-decoration:underline}

@media (max-width: 980px){
  .nav{display:none}
  .burger{display:inline-block}
  .hero__content{
  position:relative;
  z-index: 1;
  width:min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 110px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:stretch;
}
  .hero__stats{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .team{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .team{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}


/* Whitelist page */
.nav__active{background: rgba(45,167,234,.10)}
.wl{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items:start;
}
.wl__form{
  background: rgba(255,255,255,.78);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.wl__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field{display:block}
.field span{
  display:block;
  font-weight: 950;
  color: var(--navy);
  margin-bottom: 6px;
}
.field em{color: var(--primary2); font-style: normal}
.field input, .field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid rgba(76, 171, 231, .30);
  background: rgba(255,255,255,.88);
  outline:none;
  font-weight: 700;
  color: var(--ink);
}
.field input:focus, .field textarea:focus{
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
.field small{
  display:block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
}
.is-invalid{
  border-color: rgba(220, 60, 60, .55) !important;
  box-shadow: 0 0 0 4px rgba(220, 60, 60, .10) !important;
}
.checks{
  display:grid;
  gap:8px;
  padding: 10px 0 0;
}
.checks label{
  display:flex; gap:10px; align-items:flex-start;
  color: var(--muted);
  font-weight: 700;
}
.checks input{margin-top:3px}
.wl__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px}
.wl__result{
  margin-top: 14px;
  background: rgba(45,167,234,.06);
  border:1px solid rgba(45,167,234,.22);
  border-radius: var(--radius2);
  padding: 14px;
}
.wl__resultHead h3{margin:0;color:var(--navy)}
.wl__resultHead p{margin:6px 0 0}
.wl__result textarea{
  width:100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border:1px solid rgba(76, 171, 231, .30);
  background: rgba(255,255,255,.92);
  font-weight: 700;
  color: var(--ink);
}
.wl__hint{margin:10px 0 0; color: var(--muted); font-weight: 650; font-size: 13px}
.wl__side{display:grid; gap:14px}

@media (max-width: 980px){
  .wl{grid-template-columns: 1fr}
  .wl__grid{grid-template-columns: 1fr}
}


/* Simple status section */
#status code{
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(45,167,234,.10);
  border: 1px solid rgba(45,167,234,.18);
  font-weight: 850;
  color: var(--navy);
}


/* Streams */
.streams{display:grid; gap:14px}
.streams__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.streams__hint p{margin:8px 0}
.stream{
  padding: 14px;
}
.stream__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.stream__top strong{display:block; color: var(--navy); font-size: 18px}
.muted{color: var(--muted); font-weight: 650}
.stream__actions{display:flex; gap:10px; flex-wrap:wrap}
.stream__embed{
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(76, 171, 231, .25);
  background: rgba(0,0,0,.06);
}
@media (max-width: 980px){
  .streams__grid{grid-template-columns: 1fr}
}

/* Modal */
.modal{position:fixed; inset:0; z-index:99999; display:grid; place-items:center}
.modal__overlay{position:absolute; inset:0; background: rgba(10,18,28,.55); backdrop-filter: blur(6px)}
.modal__panel{
  position:relative;
  width:min(680px, calc(100% - 24px));
  background: rgba(255,255,255,.92);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.modal__head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom: 10px}
.modal__form{padding-top: 6px}

/* Footer Impressum Fix */
.footer-links {
  margin-top: 8px;
  text-align: center;
}
.footer-links a {
  display: inline-block;
}

/* Optional: improve link contrast in dark */



/* Theme toggle button */



/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  
}










/* Theme toggle button (uses existing variables) */



/* Small quality-of-life */






/* Make "everything white" go dark in darkmode */


/* Common containers */


/* Cards / boxes / glass panels (best-effort selectors) */


/* Inputs */


/* Keep text readable everywhere */


/* Links */



/* Theme toggle button */



/* Selection */


.section__head::after{
  content:"";
  display:block;
  height:2px;
  width: 120px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0));
}

.hero__title{
  font-family: var(--script);
  font-weight: 900;
  letter-spacing: -.5px;
  font-size: clamp(44px, 5vw, 64px);
  color: var(--navy);
  text-shadow: 0 6px 20px rgba(255,255,255,.85);
  margin: 14px 0 8px;
}


/* leichter Übergang von Hero zu Team */
#team{position:relative; z-index:2; margin-top: -60px;}


/* === DARKMODE TRANSITION FIX === */
html[data-theme="dark"] section,
html[data-theme="dark"] .section,
html[data-theme="dark"] .features,
html[data-theme="dark"] .divider,
html[data-theme="dark"] .divider-section {
  background: #0f1117 !important;
}

html[data-theme="dark"] section::before,
html[data-theme="dark"] section::after,
html[data-theme="dark"] .section::before,
html[data-theme="dark"] .section::after {
  display: none !important;
}


/* === DARKMODE: ROLE/CTA BOXES FIX (Recruiting) === */
html[data-theme="dark"] .role,
html[data-theme="dark"] .cta{
  background: var(--card) !important;
  border-color: var(--stroke) !important;
  box-shadow: var(--shadow2) !important;
}

html[data-theme="dark"] .role h3,
html[data-theme="dark"] .cta h3{
  color: var(--ink) !important;
}

html[data-theme="dark"] .role p,
html[data-theme="dark"] .cta p{
  color: var(--muted) !important;
}

html[data-theme="dark"] .check{
  box-shadow: none !important;
}

html[data-theme="dark"] .btn--ghost{
  background: rgba(255,255,255,.08) !important;
  color: var(--ink) !important;
  border: 1px solid var(--stroke) !important;
}


/* === DARKMODE FAQ FIX === */
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .faq-question,
html[data-theme="dark"] .faq-answer,
html[data-theme="dark"] .accordion,
html[data-theme="dark"] .accordion-item {
  background: #1a1c22 !important;
  color: #e6e8ef !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .faq-question {
  font-weight: 600;
}

html[data-theme="dark"] .faq-answer {
  color: #b7bccb !important;
}


/* === DARKMODE FAQ (details.qa) OVERRIDE === */
html[data-theme="dark"] .faq .qa{
  background: rgba(26,28,34,.92) !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .faq .qa summary{
  color: #e6e8ef !important;
}
html[data-theme="dark"] .faq .qa p{
  color: #b7bccb !important;
}
html[data-theme="dark"] .faq .qa[open]{
  background: rgba(26,28,34,.96) !important;
}


/* === DARKMODE TEAM CARDS FIX === */
html[data-theme="dark"] .team-card,
html[data-theme="dark"] .member,
html[data-theme="dark"] .team-member {
  background: #1a1c22 !important;
  color: #e6e8ef !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .team-card .role,
html[data-theme="dark"] .team-card .name,
html[data-theme="dark"] .member-role {
  color: #b7bccb !important;
}

html[data-theme="dark"] .team-card.placeholder {
  background: #15171c !important;
  border: 1px dashed rgba(255,255,255,0.12);
}


/* === DARKMODE FEATURES + STEPS CARDS FIX === */
html[data-theme="dark"] .features .card,
html[data-theme="dark"] .cards .card,
html[data-theme="dark"] .card.feature,
html[data-theme="dark"] .feature.card,
html[data-theme="dark"] .feature,
html[data-theme="dark"] .steps .card,
html[data-theme="dark"] .step {
  background: #1a1c22 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  color: #e6e8ef !important;
}

html[data-theme="dark"] .features .card p,
html[data-theme="dark"] .cards .card p,
html[data-theme="dark"] .steps .card p,
html[data-theme="dark"] .step p {
  color: #b7bccb !important;
}

/* icons / pills in dark */
html[data-theme="dark"] .pill {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: #e6e8ef !important;
}

/* step number bubble */
html[data-theme="dark"] .step__n {
  box-shadow: none !important;
}


/* === DARKMODE SERVER STATUS FIX === */
html[data-theme="dark"] .status,
html[data-theme="dark"] .server-status,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .online {
  background: #1a1c22 !important;
  color: #e6e8ef !important;
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

html[data-theme="dark"] .online {
  color: #7cf29a !important; /* subtle green for online */
}


/* === DARKMODE SERVER MINI BADGE FIX (Online / Count) === */
html[data-theme="dark"] .mini{
  background: #1a1c22 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] #srvState{
  color: #7cf29a !important; /* online */
}
html[data-theme="dark"] #srvCount{
  color: #b7bccb !important;
}


/* === SERVER STATUS POSITION FIX === */
.server-status,
.server {
  position: relative;
}

.mini {
  position: absolute;
  right: 0;
  top: 10px;
}


/* NEWS */
.news-list{display:grid;gap:14px}
.news-item h3{margin-top:10px}
.news-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.news-date{font-size:13px;color:var(--muted);font-weight:850}
.news-link{display:inline-block}
.news-link:hover{text-decoration:underline}
.news-cta{margin-top:12px}
.news-note{margin-top:18px}
.news-note code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;font-size:.95em}

/* NEWS DETAIL (Artikel-Seite) */
.breadcrumb{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin: 4px 0 14px;
  font-weight:850;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a:hover{text-decoration:underline}

.news-post{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.news-cover{
  height: 240px;
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(59,183,255,.40), transparent 60%),
    radial-gradient(900px 420px at 78% 12%, rgba(27,134,216,.28), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.12));
  border-bottom: 1px solid var(--stroke);
}

.news-post__head{padding: 18px 18px 8px}
.news-post__head h1{
  margin:10px 0 0;
  color: var(--navy);
  letter-spacing: -.2px;
  font-size: clamp(26px, 2.3vw, 38px);
}
.news-lead{margin:10px 0 0; color: var(--muted); font-weight:750; line-height:1.7; max-width: 80ch}
.news-actions{margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap}

.news-body{padding: 10px 18px 18px}
.prose h2{margin: 18px 0 8px; font-size: 18px; color: var(--navy)}
.prose p{margin: 10px 0 0; color: var(--muted); font-weight:700; line-height:1.75}
.prose ul, .prose ol{margin: 10px 0 0 18px; color: var(--muted); font-weight:700; line-height:1.75}
.prose li{margin: 6px 0}
.prose code{padding: 2px 6px; border-radius: 10px; background: rgba(255,255,255,.65); border:1px solid var(--stroke)}
html[data-theme="dark"] .prose code{background: rgba(18,26,34,.70)}

.prose blockquote{
  margin: 16px 0 0;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(59,183,255,.10);
  border: 1px solid rgba(59,183,255,.18);
  color: var(--ink);
  font-weight:800;
}

.callout{
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.callout strong{color: var(--navy); font-weight:950}
.callout span{color: var(--muted); font-weight:750}

.news-footer{padding: 0 18px 18px; display:flex; gap:10px; flex-wrap:wrap}


/* Guide Connect */

.guide-hero{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:18px;
  align-items:start;
  margin-top:14px;
}
@media (max-width: 980px){
  .guide-hero{ grid-template-columns:1fr; }
}
.guide-hero__text h1{ margin:10px 0 10px; }
.crumbs{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:.95rem;
  opacity:.85;
}
.crumbs a{ text-decoration:none; opacity:.9; }
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-weight:600;
  font-size:.9rem;
}
.guide-quick{ display:grid; gap:10px; margin:18px 0 0; }
.guide-quick__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  background: var(--card);
  border:1px solid var(--stroke);
}
.guide-hero__card{
  padding:18px;
  border-radius:18px;
  background: var(--card);
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.guide-hero__card h3{ margin:0 0 6px; }
.muted{ opacity:.75; font-size:.95rem; margin:0 0 14px; }
.kv{ display:grid; gap:12px; margin-top:10px; }
.kv__k{ display:block; font-size:.9rem; opacity:.8; margin-bottom:6px; }
.kv__v{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.06);
  border:1px solid var(--stroke);
}
.kv__v code{ font-size:.95rem; }

/* Copy button (Text-Button statt Icon-Button) */
.copybtn{
  border:1px solid var(--stroke);
  background: var(--card);
  border-radius: 12px;
  padding:10px 12px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.copybtn:hover{ filter: brightness(0.98); }
.note{
  margin-top:14px;
  padding:12px 12px;
  border-radius:14px;
  background: var(--card);
  border:1px solid var(--stroke);
  opacity:.9;
  font-size:.95rem;
}
.guide-steps{ margin-top:34px; }
.steps-grid{
  align-items: start;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:28px;
  margin-top:18px;
}
@media (max-width: 980px){
  .steps-grid{ grid-template-columns:1fr; }
}
.step-card{
  position:relative;
  padding:26px 22px 20px;
  border-radius:18px;
  background: #ffffff;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
  opacity: 1;
  filter: none;
  transform: none;
}
.step-card__n{
  position:absolute;
  top:-14px;
  left:-14px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background: var(--primary);
  color:#fff;
  font-weight:900;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow2);
}
.step-card h3{ margin:0 0 8px; font-size:1.05rem; }
.step-card p{ margin:0 0 10px; opacity:.9; }
.mini{ margin:0; padding-left:18px; opacity:.9; }
.mini li{ margin:6px 0; }

/* Guide: UL lists must not use the .mini absolute badge styles */
.guide-steps ul.mini{
  position: static !important;
  right: auto !important;
  top: auto !important;
  min-width: 0 !important;
  padding: 0 0 0 18px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.guide-steps ul.mini li{ margin: 6px 0 !important; }

.guide-steps ul.mini li{
  margin: 6px 0;
}

.codebox{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.06);
  border:1px solid var(--stroke);
}
.codebox code{ display:block; margin-top:6px; }
.callout{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: var(--card);
  margin-top:14px;
}
.callout--warn{
  background: rgba(255, 180, 0, .10);
  border-color: rgba(255, 180, 0, .25);
}
.callout--info{
  background: rgba(0, 180, 255, .10);
  border-color: rgba(0, 180, 255, .25);
}
.btnrow{ display:flex; gap:10px; flex-wrap:wrap; }
.guide-faq{ margin-top:34px; }
.faq-list{ display:grid; gap:10px; margin-top:12px; }
.faq-item{
  border-radius:16px;
  border:1px solid var(--stroke);
  background: var(--card);
  padding:12px 12px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{ margin-top:10px; opacity:.92; }
.faq-body ul{ margin:0; padding-left:18px; }


/* Guide fixes: avoid faded/blurred step cards & use blue accents */
.steps-grid > .step-card{
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  backdrop-filter: none !important;
}
.step-card__n{ background: var(--primary) !important; }

