:root{
  --bg1:#0b0f1a;
  --bg2:#0a0a0a;
  --card:#121a2a;
  --card2:#0f1524;
  --text:#e9eefc;
  --muted:#aab3cf;
  --line:rgba(255,255,255,.08);
  --green:#22c55e;
  --gray:#6b7280;
  --red:#ef4444;
  --blue:#3b82f6;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:radial-gradient(900px 500px at 20% 10%, #192447 0%, transparent 60%), linear-gradient(180deg,var(--bg1),var(--bg2));}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max);margin:0 auto;padding:22px}
.header{
  position:sticky;top:0;z-index:20;
  backdrop-filter: blur(10px);
  background:rgba(10,10,10,.55);
  border-bottom:1px solid var(--line);
}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.3px}
.logo{
  width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,#ff4d6d,#7c3aed);
  box-shadow:0 10px 30px rgba(124,58,237,.25);
}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{
  padding:10px 12px;border-radius:12px;border:1px solid var(--line);
  color:var(--muted);transition:.18s ease;
}
.nav a:hover{transform:translateY(-1px);color:var(--text);border-color:rgba(255,255,255,.18)}
.nav a.active{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.35);
  color:var(--green);
}

.hero{
  padding:26px 0 10px;
  display:grid;grid-template-columns:1.25fr .75fr;gap:18px;align-items:stretch;
}
@media (max-width:900px){.hero{grid-template-columns:1fr}}
.card{
  background:linear-gradient(180deg, rgba(18,26,42,.92), rgba(15,21,36,.92));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.h1{font-size:34px;line-height:1.12;margin:0 0 10px;font-weight:900}
.p{color:var(--muted);margin:0 0 14px;line-height:1.55}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 0}
.badge{
  font-size:12px;color:var(--muted);
  padding:7px 10px;border-radius:999px;border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.ctas{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.btn{
  padding:12px 14px;border-radius:14px;font-weight:700;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  transition:.18s ease;cursor:pointer;display:inline-flex;gap:10px;align-items:center;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18)}
.btn.primary{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35);color:var(--green)}
.btn.danger{background:rgba(239,68,68,.10);border-color:rgba(239,68,68,.35);color:#fecaca}
.btn.blue{background:rgba(59,130,246,.10);border-color:rgba(59,130,246,.35);color:#bfdbfe}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:900px){.grid2{grid-template-columns:1fr}}
.tile{
  padding:16px;border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}
.tile h3{margin:0 0 6px;font-size:16px}
.tile p{margin:0 0 10px;color:var(--muted);line-height:1.5;font-size:14px}

.hr{height:1px;background:var(--line);margin:16px 0}
.small{font-size:12px;color:var(--muted);line-height:1.45}

.form{display:grid;gap:12px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:700px){.row{grid-template-columns:1fr}}
label{font-size:12px;color:var(--muted)}
input,select{
  width:100%;
  padding:12px 12px;border-radius:14px;border:1px solid var(--line);
  background:rgba(0,0,0,.25);color:var(--text);
  outline:none;
}
input:focus,select:focus{border-color:rgba(34,197,94,.35);box-shadow:0 0 0 3px rgba(34,197,94,.08)}
.notice{
  border:1px solid rgba(59,130,246,.35);
  background:rgba(59,130,246,.08);
  padding:12px;border-radius:14px;color:#dbeafe;font-size:13px;line-height:1.45;
}
.warn{
  border:1px solid rgba(239,68,68,.35);
  background:rgba(239,68,68,.08);
  padding:12px;border-radius:14px;color:#fee2e2;font-size:13px;line-height:1.45;
}

.progress{
  width:100%;height:10px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden;border:1px solid var(--line);
}
.progress > div{height:100%;width:0;background:linear-gradient(90deg,#22c55e,#3b82f6);transition:width .25s ease}

.profileGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width:900px){.profileGrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.profileGrid{grid-template-columns:1fr}}
.profile{
  padding:14px;border-radius:var(--radius);border:1px solid var(--line);
  background:rgba(255,255,255,.03);position:relative;overflow:hidden;
}
.avatar{
  width:44px;height:44px;border-radius:14px;
  background:linear-gradient(135deg,#111827,#374151);
  border:1px solid var(--line);
}
.profileTop{display:flex;gap:12px;align-items:center}
.profile h4{margin:0;font-size:14px}
.profile .meta{margin:2px 0 0;color:var(--muted);font-size:12px}
.blur{
  filter: blur(8px);
  user-select:none;
}
.lock{
  position:absolute;inset:auto 10px 10px auto;
  padding:7px 10px;border-radius:999px;
  background:rgba(0,0,0,.55);border:1px solid var(--line);
  font-size:12px;color:#e5e7eb;
}

.stickyFooter{
  position:fixed;left:0;right:0;bottom:0;z-index:30;
  background:rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
}
.stickyFooter .container{display:flex;gap:10px;align-items:center;justify-content:space-between}
.stickyFooter .ad{color:var(--muted);font-size:12px}
.stickyFooter .btn{padding:10px 12px;border-radius:12px}
.footer{
  margin-top:26px;padding:22px 0 60px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;
}
.footer a{color:#cbd5e1}

/* =========================
   CONSENT BANNER (DSGVO)
========================= */
.consent-backdrop{
  position:fixed; inset:0; z-index:9998;
  background:rgba(0,0,0,.55);
  display:none;
}
.consent{
  position:fixed; left:0; right:0; bottom:0; z-index:9999;
  border-top:1px solid var(--line);
  background:rgba(10,10,10,.88);
  backdrop-filter: blur(12px);
  display:none;
}
.consent .box{
  max-width:var(--max);
  margin:0 auto;
  padding:16px 22px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
@media (max-width:900px){
  .consent .box{grid-template-columns:1fr}
}
.consent h4{margin:0 0 6px;font-size:14px}
.consent p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.45}
.consent .actions{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;
  align-items:center;
}
.consent .mini{
  font-size:12px;color:var(--muted);
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  padding:8px 10px;border-radius:12px;
}

/* Preferences Modal */
.modal-backdrop{
  position:fixed; inset:0; z-index:10000;
  background:rgba(0,0,0,.6);
  display:none;
}
.modal{
  position:fixed; inset:auto 0 0 0; z-index:10001;
  max-width:720px; margin:0 auto 20px;
  background:linear-gradient(180deg, rgba(18,26,42,.96), rgba(15,21,36,.96));
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  display:none;
}
.modal .inner{padding:16px}
.modal h3{margin:0 0 8px;font-size:16px}
.modal .opt{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding:12px; border:1px solid var(--line); border-radius:14px;
  background:rgba(255,255,255,.03);
  margin:10px 0;
}
.modal .opt b{font-size:13px}
.modal .opt p{margin:4px 0 0; font-size:12px; color:var(--muted); line-height:1.4}
.toggle{
  width:46px;height:26px;border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid var(--line);
  position:relative; flex:0 0 auto;
}
.toggle input{opacity:0; width:0; height:0}
.toggle span{
  position:absolute; top:2px; left:2px;
  width:22px;height:22px;border-radius:50%;
  background:#cbd5e1; transition:.18s ease;
}
.toggle input:checked + span{
  transform:translateX(20px);
  background:var(--green);
}

/* =========================
   EMAIL POPUP
========================= */
.email-backdrop{
  position:fixed; inset:0; z-index:10002;
  background:rgba(0,0,0,.6);
  display:none;
}
.email-popup{
  position:fixed; inset:0; z-index:10003;
  display:none; align-items:center; justify-content:center;
  padding:22px;
}
.email-card{
  width:min(720px, 100%);
  background:linear-gradient(180deg, rgba(18,26,42,.96), rgba(15,21,36,.96));
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.email-card .top{
  padding:16px 16px 0 16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.email-card .body{padding:10px 16px 16px 16px}
.email-card h3{margin:0;font-size:16px}
.close-x{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.close-x:hover{color:var(--text);border-color:rgba(255,255,255,.18)}
.email-card .hint{
  font-size:12px;color:var(--muted);line-height:1.45;margin-top:10px;
}
.email-card .success{
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.08);
  padding:12px;border-radius:14px;color:#dcfce7;font-size:13px;line-height:1.45;
  display:none;
}

/* ===== Cookie Banner UX Fix ===== */
.consent .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Alle 3 Buttons gleich groß, nicht "unsichtbar" */
.consent .actions .btn{
  flex:1 1 170px;
  min-height:44px;
  font-weight:600;
}

/* "Nur notwendig" bewusst sichtbar, aber neutral */
#btnRejectAll{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.22);
  color:rgba(255,255,255,0.92);
}
#btnRejectAll:hover{
  background:rgba(255,255,255,0.12);
  border-color:rgba(255,255,255,0.35);
}

/* Optional: Blue/Primary etwas klarer */
#btnManage.btn.blue{
  border:1px solid rgba(255,255,255,0.12);
}
#btnAcceptAll.btn.primary{
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
}
/* =========================
   MOBILE FIRST OPTIMIERUNG
========================= */

/* Buttons größer für Daumen */
.btn {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 10px;
}

/* Navigation Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-top: 10px;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav.active {
    display: flex;
  }

  /* Hero einspaltig */
  .hero {
    display: block !important;
  }

  .grid2 {
    display: block !important;
  }

  .tile {
    margin-bottom: 15px;
  }

  /* Städte Grid */
  .city-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .city-card {
    display: block;
    padding: 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
  }

  .city-card:hover {
    background: rgba(255,255,255,0.15);
  }

  /* Sidebar unter Hero */
  aside {
    margin-top: 20px;
  }

  /* Sticky Footer kompakter */
  .stickyFooter .container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .stickyFooter .btn {
    width: 100%;
  }

  /* Text lesbarer */
  .p {
    font-size: 15px;
    line-height: 1.5;
  }
}
/* ===============================
   ULTRA MINIMAL MOBILE VERSION
================================ */

.mobile-main {
  padding: 20px;
  max-width: 480px;
  margin: auto;
}

.mobile-hero {
  text-align: center;
  margin-bottom: 30px;
}

.mobile-hero h1 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.mobile-hero p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.cta-primary {
  display: block;
  background: #ff2f5e;
  color: white;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 16px;
}

.cta-secondary {
  width: 100%;
  padding: 14px;
  background: #111;
  color: white;
  border: 1px solid #ff2f5e;
  border-radius: 12px;
  font-size: 15px;
}

.mobile-cities {
  margin-top: 20px;
}

.mobile-cities h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.city {
  display: block;
  padding: 14px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.city:hover {
  background: rgba(255,255,255,0.15);
}

.mobile-note {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 25px;
  text-align: center;
}


/* =====================================
   RESPONSIVE SWITCH
===================================== */

/* Standard: Mobile verstecken */
.mobile-version {
  display: none;
}

/* Mobile aktivieren unter 768px */
@media (max-width: 768px) {

  .desktop-version {
    display: none;
  }

  .mobile-version {
    display: block;
    padding: 20px;
    max-width: 480px;
    margin: auto;
  }

  .mobile-hero {
    text-align: center;
    margin-bottom: 30px;
  }

  .mobile-hero h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .mobile-hero p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
  }

  .cta-primary {
    display: block;
    background: #ff2f5e;
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .cta-secondary {
    width: 100%;
    padding: 14px;
    background: #111;
    color: white;
    border: 1px solid #ff2f5e;
    border-radius: 12px;
    font-size: 15px;
  }

  .mobile-cities h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .city {
    display: block;
    padding: 14px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
  }

}
/* =========================
   SCROLL CTA (MOBILE)
========================= */

.scroll-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 90px; /* Platz über stickyFooter */
  z-index: 9999;
  transform: translateY(140%);
  transition: transform 220ms ease;
  display: none; /* wird nur auf Mobile aktiv */
}

.scroll-cta.show {
  transform: translateY(0);
}

.scroll-cta-inner {
  position: relative;
  background: rgba(0,0,0,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 12px 12px 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.scroll-cta-text {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.scroll-cta-actions {
  display: flex;
  gap: 10px;
}

.scroll-cta-actions .btn {
  flex: 1;
  width: 100%;
  padding: 12px 12px;
  font-size: 15px;
  border-radius: 12px;
}

.scroll-cta-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
}

/* Nur Mobile aktivieren */
@media (max-width: 768px) {
  .scroll-cta {
    display: block;
  }
}

