/* =========================================================
   RD24/7 – GLOBAL STYLE (CLEANED)
   Stand: 2026-05-11
   Fokus: keine doppelten Auth-/Dropdown-/Showcase-Blöcke
   Wichtig: Login bleibt geschlossen, bis body.modal-open gesetzt ist.
   ========================================================= */

/* ---------- GLOBAL VARS ---------- */
:root{
  --bg:#0b1020;
  --bg-2:#0e1429;
  --fg:#e5e7eb;
  --muted:#9ca3af;

  --accent:#22c55e;
  --accent-2:#16a34a;
  --accent-3:#86efac;

  --card:#111827;
  --border:#1f2937;
  --shadow:0 10px 20px rgba(0,0,0,.35);

  --overlay-rgb:11 14 20;
  --overlay-alpha:.60;
  --overlay-alpha-mobile:var(--overlay-alpha);

  --card-rgb:17 24 39;
  --card-alpha:.95;

  --rd24-bg-image-1:url("/img/start_bg_4k.webp");
  --rd24-bg-image-2:url("/img/start_bg.png");
  --rd24-bg-pos:center center;
  --rd24-bg-size:cover;
  --rd24-bg-repeat:no-repeat;
  --rd24-bg-attach:fixed;

  --page-bg:
    linear-gradient(0deg,
      rgb(var(--overlay-rgb) / var(--overlay-alpha)),
      rgb(var(--overlay-rgb) / var(--overlay-alpha))
    ),
    var(--rd24-bg-image-1) var(--rd24-bg-pos) / var(--rd24-bg-size) var(--rd24-bg-repeat) var(--rd24-bg-attach),
    var(--rd24-bg-image-2) var(--rd24-bg-pos) / var(--rd24-bg-size) var(--rd24-bg-repeat) var(--rd24-bg-attach);

  --panel-alpha:.85;
  --panel-blur:10px;

  --rd24-footer-bg:rgba(15,23,42,.70);
  --rd24-footer-border:rgba(148,163,184,.35);
  --rd24-footer-text:rgba(255,255,255,.86);
  --rd24-footer-muted:rgba(255,255,255,.70);
  --rd24-footer-blur:8px;
  --rd24-footer-shadow:0 10px 25px rgba(0,0,0,.45);
  --rd24-footer-link:#93c5fd;
  --rd24-footer-pill-bg:rgba(0,0,0,.28);
  --rd24-footer-pill-border:rgba(255,255,255,.12);

  --z-ui:9999;
  --z-header:60000;
  --z-dropdown:90000;
  --z-dropdown-fixed:999999;
  --z-modal-backdrop:2147483646;
  --z-modal:2147483647;
}

@media (max-width:900px){
  :root{
    --page-bg:
      linear-gradient(0deg,
        rgb(var(--overlay-rgb) / var(--overlay-alpha-mobile)),
        rgb(var(--overlay-rgb) / var(--overlay-alpha-mobile))
      ),
      var(--rd24-bg-image-1) var(--rd24-bg-pos) / var(--rd24-bg-size) var(--rd24-bg-repeat),
      var(--rd24-bg-image-2) var(--rd24-bg-pos) / var(--rd24-bg-size) var(--rd24-bg-repeat);
  }
}

/* ---------- BASE ---------- */
*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  overflow-x:hidden;
  background:var(--page-bg, linear-gradient(180deg,var(--bg),var(--bg-2)));
  color:var(--fg);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  line-height:1.5;
}

a{ color:var(--accent-3); text-decoration:none; }
a:hover{ text-decoration:underline; }

[hidden]{ display:none !important; }

.container{ max-width:1100px; margin:0 auto; padding:0 20px; }
.muted{ color:var(--muted); }

/* ---------- HARD-OFF: Schnee + Susi ---------- */
#snow,#snow-canvas,#snowCanvas,
.snow,.snow-layer,.snow-overlay,
canvas.snow,canvas#snow,canvas#snow-canvas,
#susi,.susi,
#susi-fly,.susi-fly,
#susi-plane,.susi-plane,
#susi-banner,.susi-banner,
#rd24-susi,.rd24-susi{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* ---------- HEADER ---------- */
header,
#rd24-header,
header.site-header,
.rd24-header{
  position:relative !important;
  top:auto !important;
  z-index:var(--z-header) !important;
  margin:0;
  padding:0;
  overflow:visible !important;
  isolation:isolate !important;
  pointer-events:auto !important;
  background:rgb(var(--card-rgb) / var(--card-alpha));
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

header img,
#rd24-header img{
  width:auto !important;
  height:auto !important;
  max-width:32px !important;
  max-height:32px !important;
}

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

header ul,header li,
#rd24-header ul,#rd24-header li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}

.logo{ display:flex; align-items:center; gap:12px; font-weight:800; min-width:0; }
.logo img{ width:32px; height:32px; }
.logo .name{ font-size:1.05rem; letter-spacing:.2px; }
.logo .tag{
  color:var(--muted);
  font-weight:600;
  font-size:.85rem;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

nav ul{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
  row-gap:10px;
}
nav a{ color:var(--fg); font-weight:600; opacity:.9; }
nav a:hover{ opacity:1; }

header .nav-search-form,
#rd24-header .nav-search-form{
  display:flex;
  align-items:center;
}

header .nav-search-form input,
#rd24-header .nav-search-form input,
.nav-search-form input[type="search"]{
  max-width:240px;
  min-width:160px;
  border-radius:999px;
  border:1px solid #253446;
  padding:6px 10px;
  background:#111827;
  color:#e5e7eb;
  font-size:.9rem;
}

@media (max-width:980px){
  header .nav-search-form,
  #rd24-header .nav-search-form{ display:none; }
}

/* ---------- AUTH ROW IM HEADER ---------- */
.rd24-authlist{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin:0 !important;
  padding:0 !important;
}
.rd24-authlist > li{ white-space:nowrap !important; }

.rd24-authlist a,
.rd24-authlist button{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:6px 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.06) !important;
  color:#e5e7eb !important;
  font-weight:650 !important;
  text-decoration:none !important;
}
.rd24-authlist a:hover,
.rd24-authlist button:hover{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

header #user-avatar,
header img#user-avatar,
header #nav-user-li img{
  width:26px !important;
  height:26px !important;
  border-radius:999px !important;
  object-fit:cover !important;
}

#nav-login-li,
#nav-user-li{
  position:relative;
  z-index:0 !important;
}

@media (max-width:900px){
  header .nav{
    flex-wrap:wrap;
    gap:10px 12px;
    align-items:flex-start;
    justify-content:flex-start;
  }
  header .logo{
    flex:1 1 100%;
    width:100%;
    order:1;
    justify-content:flex-start;
  }
  header nav{
    flex:1 1 100%;
    width:100%;
    order:2;
  }
  header nav ul{
    width:100%;
    justify-content:flex-start;
    gap:12px 10px;
    row-gap:8px;
  }
  header .email,
  header .user-email,
  header .account-email,
  header .profile-email{ display:none !important; }
}

/* ---------- DROPDOWNS ---------- */
.dropdown,
nav li,
header .dropdown{
  position:relative !important;
}

nav li{ z-index:1; }
.dropdown{ z-index:50 !important; }
header .dropdown.open{ z-index:var(--z-dropdown) !important; }

header .dropdown:hover > .drop-menu{ display:none !important; }
header .drop-menu{ display:none !important; }
header .dropdown.open > .drop-menu{ display:block !important; }

header .drop-toggle{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  padding:6px 14px !important;
  background:rgba(255,255,255,.06) !important;
  color:#e5e7eb !important;
  font-weight:600 !important;
}
header .drop-toggle:hover{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
}

header .drop-menu{
  position:absolute !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  right:auto !important;
  transform:none !important;
  min-width:260px !important;
  max-width:calc(100vw - 16px) !important;
  padding:10px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:rgba(10,16,28,.96) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.55) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:var(--z-dropdown-fixed) !important;
}

.dropdown .drop-menu{ z-index:999999 !important; }

header .drop-menu a,
header .drop-menu button.drop-toggle{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  text-align:left !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  background:rgba(255,255,255,.03) !important;
  color:rgba(226,232,240,.96) !important;
  text-decoration:none !important;
  font-weight:650 !important;
  line-height:1.15 !important;
  opacity:.98;
  transition:background .14s ease,border-color .14s ease,transform .10s ease,opacity .14s ease;
}
header .drop-menu a:hover,
header .drop-menu button.drop-toggle:hover{
  background:rgba(96,165,250,.10) !important;
  border-color:rgba(96,165,250,.24) !important;
  transform:translateY(-1px);
  opacity:1;
}

header .drop-menu li.sep,
header .drop-menu li.divider{
  height:10px;
  margin:6px 0;
  border-top:1px solid rgba(148,163,184,.18);
}

header .dropdown-more.open > .drop-menu,
header .admin-only.open > .drop-menu{
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
}

@media (max-width:900px){
  header .drop-menu.is-fixed{
    position:fixed !important;
    left:8px !important;
    right:8px !important;
    width:auto !important;
    max-width:calc(100vw - 16px) !important;
    max-height:calc(100vh - 140px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    z-index:var(--z-dropdown-fixed) !important;
  }
  header .drop-menu.is-fixed a,
  header .drop-menu.is-fixed button{ white-space:normal !important; }

  header .dropdown-more.open > .drop-menu.is-fixed,
  header .admin-only.open > .drop-menu.is-fixed{
    left:50% !important;
    right:auto !important;
    width:min(340px, calc(100vw - 16px)) !important;
    max-width:calc(100vw - 16px) !important;
    transform:translateX(-50%) !important;
  }
}

/* ---------- BUTTONS / LAYOUT ---------- */
.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--fg);
  font-weight:700;
  box-shadow:var(--shadow);
  transition:transform .06s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#04130a;
  border-color:transparent;
}
.btn.ghost{ background:transparent; border-color:var(--border); color:var(--fg); }
.btn.small{
  padding:.45rem .65rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgb(var(--card-rgb) / var(--card-alpha));
  color:inherit;
  cursor:pointer;
}
.btn.small.ghost{ background:transparent; }

.hero{ padding:72px 0 36px; border-bottom:1px solid var(--border); }
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(220px, .55fr);
  gap:24px;
  align-items:start;
}
h1{ font-size:clamp(2rem,4.5vw,3rem); line-height:1.1; margin:0 0 10px; }
.lead{ font-size:1.1rem; color:var(--muted); max-width:55ch; }
.cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }

.card,.doc-card{
  background:rgb(var(--card-rgb) / var(--card-alpha));
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}

.kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.kpi .num{ font-size:1.6rem; font-weight:800; }
.section{ padding:40px 0; }
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature h3{ margin:10px 0 6px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  font-size:.85rem;
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid{ grid-template-columns:1fr; }
  .kpis{ grid-template-columns:1fr 1fr 1fr; }
}

/* ---------- ADS / OVERLAYS ---------- */
.gallery-ad{
  grid-column:1 / -1;
  padding:8px;
  border-radius:16px;
  border:1px solid #1f2937;
  background:rgba(17,24,39,.95);
  box-shadow:0 10px 20px rgba(0,0,0,.35);
}
.ad-card ins.adsbygoogle,
.ad-footer ins.adsbygoogle,
.gallery-ad ins.adsbygoogle{ display:block; width:100%; min-height:120px; }
@media (max-width:600px){ .gallery-ad ins.adsbygoogle{ min-height:180px; } }

.adsbygoogle,
iframe,
ins.adsbygoogle{ z-index:1 !important; }

#page-bg,
.snow,
.snow-layer,
canvas,
.overlay,
.bg-overlay{ pointer-events:none !important; }
.settings-btn,.gear,.ui-settings,#settings{ position:relative; z-index:var(--z-ui); pointer-events:auto; }

/* ---------- FUN PAGE ---------- */
body.fun-page,
body.fun-page *{
  color:#f9fafb;
  text-shadow:0 1px 2px rgba(0,0,0,.85);
}
body.fun-page .fun-intro,
body.fun-page .fun-stats,
body.fun-page .fun-info,
body.fun-page .fun-clips-header{
  background:rgb(var(--card-rgb) / .88);
  border-radius:14px;
  padding:8px 14px;
  box-shadow:var(--shadow);
}
body.fun-page a{ color:var(--accent-3); }

/* ---------- NEWS PAGE ---------- */
body.page-news{
  --rd24-bg-image-1:url("/news/regiodeals_news_bg.webp");
  --rd24-bg-image-2:url("/news/regiodeals_news_bg.webp");
  --overlay-alpha:.55;
  --overlay-alpha-mobile:.60;
}
body.page-news .news-list{ display:flex; flex-direction:column; gap:50px; }
body.page-news .news-item,
body.page-news .news-article{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.28);
  background:rgb(15 23 42 / var(--card-alpha, .75));
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
body.page-news .news-item h2,
body.page-news .news-article h2{ margin:0 0 6px; }
body.page-news .news-item .meta,
body.page-news .news-article .meta,
body.page-news .news-article .subtitle{ opacity:.85; }
body.page-news figure.news-image,
body.page-news .news-image{
  height:auto !important;
  max-height:none !important;
  margin:12px 0 14px;
  overflow:visible !important;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(2,6,23,.35);
}
body.page-news figure.news-image img,
body.page-news .news-image img{
  display:block;
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  border-radius:16px;
  background:rgba(0,0,0,.15);
}
body.page-news .news-image figcaption{ padding:10px 12px; font-size:.95rem; opacity:.85; }
body.page-news .tabs .tab{
  padding:6px 10px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.28);
  background:rgba(15,23,42,.55);
}
body.page-news .tabs .tab.active{ border-color:rgba(34,197,94,.55); }
body.page-news ul,
body.page-news ol{ padding-left:18px; }
body.page-news li{ margin:4px 0; }

/* ---------- QUICK / FEATURE CARDS ---------- */
.quick-feature-stack{
  display:grid;
  gap:16px;
  margin:16px 0 18px;
}
.quick-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}
.feature--highlight{
  grid-column:span 2;
  min-height:220px;
  padding:22px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.feature--highlight h3{ font-size:1.25rem; margin-bottom:10px; }
.feature--highlight p{ font-size:1rem; }
.feature--hero{
  position:relative;
  overflow:hidden;
  width:100%;
  min-height:170px;
  padding:22px 22px 24px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(145deg, rgba(15,23,42,.92), rgba(15,23,42,.75));
  box-shadow:0 12px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.05);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature--hero:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 50px rgba(0,0,0,.55), 0 0 20px var(--accent-glow, rgba(34,197,94,.25));
  border-color:rgba(255,255,255,.20);
}
.feature--hero h3{ font-size:1.3rem; margin:0 0 10px; }
.feature--hero p{ font-size:1rem; max-width:900px; }
.feature--hero .btn{ margin-top:6px; box-shadow:0 0 10px rgba(255,255,255,.08); }
.feature--service{ --accent:#22c55e; --accent-glow:rgba(34,197,94,.35); }
.feature--akten{ --accent:#eab308; --accent-glow:rgba(234,179,8,.35); }

#quick .feature{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(15,23,42,.88);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#quick .feature:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(0,0,0,.28);
  border-color:rgba(255,255,255,.14);
}
#quick .feature::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:var(--accent, rgba(255,255,255,.35));
  box-shadow:0 0 14px var(--accent-glow, rgba(255,255,255,.18));
  z-index:2;
}
#quick .feature::before{
  content:"";
  position:absolute;
  top:14px;
  bottom:14px;
  left:0;
  width:3px;
  border-radius:0 8px 8px 0;
  background:var(--accent, rgba(255,255,255,.22));
  opacity:.9;
  z-index:2;
}
#quick .feature > *{ position:relative; z-index:3; }
#quick .quick-grid .feature:nth-child(1){ --accent:#7c3aed; --accent-glow:rgba(124,58,237,.35); }
#quick .quick-grid .feature:nth-child(2){ --accent:#94a3b8; --accent-glow:rgba(148,163,184,.35); }
#quick .quick-grid .feature:nth-child(3){ --accent:#a855f7; --accent-glow:rgba(168,85,247,.35); }
#quick .quick-grid .feature:nth-child(4){ --accent:#f59e0b; --accent-glow:rgba(245,158,11,.35); }
#quick .quick-grid .feature:nth-child(5){ --accent:#f97316; --accent-glow:rgba(249,115,22,.35); }

@media (max-width:900px){ .feature--highlight{ grid-column:span 1; } }

/* ---------- SHOWCASE ---------- */
.showcase,
.showcase-card{ margin-top:16px; }
.showcase-card{
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.showcase-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:.6rem;
  margin-bottom:.8rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.showcase-head h2{ margin:0; font-size:1.25rem; }
.showcase-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.showcase-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin:10px 0 14px !important;
}
.showcase-tabs .tab{
  flex:0 0 auto;
  cursor:pointer !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(148,163,184,.65) !important;
  background:rgba(15,23,42,.92) !important;
  color:#e5e7eb !important;
  font-weight:700 !important;
  opacity:1 !important;
  box-shadow:0 4px 14px rgba(0,0,0,.28) !important;
}
.showcase-tabs .tab:hover{
  background:rgba(30,41,59,.98) !important;
  color:#fff !important;
  border-color:rgba(34,197,94,.75) !important;
}
.showcase-tabs .tab.active,
.showcase-tabs .tab[aria-selected="true"]{
  background:#22c55e !important;
  color:#04130a !important;
  border-color:#22c55e !important;
  box-shadow:0 0 16px rgba(34,197,94,.38) !important;
}
.sc-viewport{
  position:relative;
  overflow:hidden;
  width:100%;
  border-radius:16px;
}
.sc-viewport::before,
.sc-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:60px;
  z-index:2;
  pointer-events:none;
}
.sc-viewport::before{ left:0; background:linear-gradient(to right, rgba(8,14,28,1), rgba(8,14,28,0)); }
.sc-viewport::after{ right:0; background:linear-gradient(to left, rgba(8,14,28,1), rgba(8,14,28,0)); }
.showcase-row,
#showcaseRow{
  display:flex;
  gap:12px;
  padding:10px 4px;
  overflow:visible !important;
  scroll-snap-type:none !important;
  will-change:transform;
  transform:translate3d(0,0,0);
}
.showcase-row .sc-card,
.sc-card{
  flex:0 0 auto;
  width:340px;
  max-width:340px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgb(var(--card-rgb) / var(--card-alpha));
  box-shadow:var(--shadow, 0 10px 30px rgba(0,0,0,.25));
}
.showcase-row .sc-img,
.sc-img{
  display:block;
  width:100%;
  height:190px;
  object-fit:cover;
  background:rgba(255,255,255,.05);
  border-top-left-radius:14px;
  border-top-right-radius:14px;
}
.sc-body{ padding:10px 12px 12px; }
.sc-title{ margin:0 0 6px; font-weight:800; font-size:1rem; line-height:1.25; }
.sc-meta{ display:flex; flex-wrap:wrap; gap:.5rem; font-size:.85rem; opacity:.85; }
.showcase-hint{ margin:.5rem 0 0; font-size:.85rem; opacity:.75; }

@media (max-width:640px){
  .showcase-head h2{ font-size:1.05rem; }
  .showcase-actions .btn.small{ min-width:40px; padding:.45rem .65rem; }
  .showcase-tabs{ flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .showcase-tabs::-webkit-scrollbar{ display:none; }
  .showcase-row,#showcaseRow{ gap:10px; padding:10px 2px; }
  .showcase-row .sc-card,.sc-card{ width:78vw; max-width:320px; }
  .showcase-row .sc-img,.sc-img{ height:44vw; max-height:190px; }
  .showcase-row .sc-title,.sc-title{ font-size:.95rem; }
  .showcase-row .badge,.badge{ font-size:.72rem; }
}
@media (prefers-reduced-motion:reduce){ .showcase-row,#showcaseRow{ transform:none !important; } }

/* ---------- FOOTER ---------- */
.rd24-footer{
  position:relative;
  z-index:5;
  margin-top:40px;
  padding:24px 0;
  border-top:1px solid var(--border);
  color:var(--rd24-footer-muted);
}
.rd24-footer .footer-box{
  max-width:1200px;
  margin:12px auto 18px;
  padding:12px 16px;
  overflow:visible;
  border-radius:14px;
  border:1px solid var(--rd24-footer-border);
  background:var(--rd24-footer-bg);
  box-shadow:var(--rd24-footer-shadow);
  backdrop-filter:blur(var(--rd24-footer-blur));
  -webkit-backdrop-filter:blur(var(--rd24-footer-blur));
}
.rd24-footer .container,
.rd24-footer .footer-wrap{ overflow:visible; }
.rd24-footer .footer-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  text-align:center;
}
.rd24-footer a{ color:var(--rd24-footer-link); text-decoration:none; }
.rd24-footer a:hover{ text-decoration:underline; }
.rd24-footer .footer-stats,
.footer-legal{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px 12px;
  text-align:center;
  color:var(--rd24-footer-muted);
}
.rd24-footer .footer-stats .pill{
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--rd24-footer-pill-border);
  background:var(--rd24-footer-pill-bg);
  color:var(--rd24-footer-text);
  font-variant-numeric:tabular-nums;
}
.rd24-footer .footer-stats #stat-page{ opacity:.85; }
.footer-legal{ gap:.35rem .55rem; }
.footer-legal a{ white-space:nowrap; }
.footer-copy{
  position:relative;
  z-index:5;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.35rem;
}
.footer-agb{
  position:relative;
  display:inline-block;
  vertical-align:middle;
}
.footer-agb > summary{ list-style:none; cursor:pointer; }
.footer-agb > summary::-webkit-details-marker{ display:none; }
.footer-agb__btn{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.15rem .45rem;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  white-space:nowrap;
}
.footer-agb[open] .footer-agb__btn{ background:rgba(255,255,255,.08); }
.footer-agb__menu{
  position:absolute;
  bottom:calc(100% + .6rem);
  left:50%;
  min-width:220px;
  padding:.35rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(10,16,28,.96);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
  transform:translateX(-50%);
  z-index:9999;
}
.footer-agb__menu a{
  display:block;
  padding:.42rem .55rem;
  border-radius:10px;
  text-decoration:none;
}
.footer-agb__menu a:hover{ background:rgba(255,255,255,.07); }

/* ---------- ANSPRECHPARTNER ---------- */
#card-ansprechpartner{
  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 12px 40px rgba(0,0,0,.45) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
#card-ansprechpartner,
#card-ansprechpartner *{
  color:rgba(255,255,255,.92) !important;
  text-shadow:0 2px 10px rgba(0,0,0,.65);
}

/* ---------- BACK TO TOP ---------- */
#backToTop,
#to-top,
#rd24-to-top{
  position:fixed !important;
  right:18px !important;
  bottom:86px !important;
  left:auto !important;
  top:auto !important;
  z-index:2147483645 !important;
  width:54px !important;
  height:54px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:999px !important;
  border:1px solid rgba(148,163,184,.55) !important;
  background:rgba(15,23,42,.92) !important;
  color:#e5e7eb !important;
  box-shadow:0 18px 40px rgba(0,0,0,.55) !important;
  cursor:pointer !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(8px) !important;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}
#backToTop.show,
#to-top.show,
#rd24-to-top.show{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transform:translateY(0) !important;
}
@media (max-width:480px){
  #backToTop,#to-top,#rd24-to-top{
    right:12px !important;
    bottom:74px !important;
    width:52px !important;
    height:52px !important;
  }
}

/* =========================================================
   AUTH MODAL – EIN EINZIGES SYSTEM
   Login bleibt zu, bis rd24-auth.js body.modal-open setzt.
   ========================================================= */
#auth-backdrop,
#auth-modal{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

body.modal-open #auth-backdrop{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:fixed !important;
  inset:0 !important;
  z-index:var(--z-modal-backdrop) !important;
  background:rgba(0,0,0,.65) !important;
  backdrop-filter:blur(8px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(8px) saturate(120%) !important;
}

body.modal-open #auth-modal{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:none !important;
  position:fixed !important;
  inset:0 !important;
  z-index:var(--z-modal) !important;
  align-items:center !important;
  justify-content:center !important;
  padding:16px !important;
}

#auth-modal .box{
  position:relative !important;
  width:min(560px, calc(100vw - 24px)) !important;
  max-height:calc(100vh - 24px) !important;
  overflow:auto !important;
  margin:0 auto !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  pointer-events:auto !important;
  border:1px solid rgba(255,255,255,.16) !important;
  
}

#auth-modal .box h3{
  background:rgba(255,255,255,.06) !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}

#auth-modal input[type="email"],
#auth-modal input[type="password"],
#auth-modal input[type="text"]{
  background:rgba(0,0,0,.35) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  color:#fff !important;
}
#auth-modal input:focus{
  border-color:#22c55e !important;
  box-shadow:0 0 0 3px rgba(34,197,94,.24) !important;
}
#auth-modal input[type="checkbox"]{ accent-color:#22c55e !important; }
#auth-modal .btn,
#auth-modal button{ border-radius:999px !important; font-weight:800 !important; cursor:pointer !important; }
#btn-email-login{
  border:0 !important;
  background:linear-gradient(135deg,#22c55e,#16a34a) !important;
  color:#052e16 !important;
}
#btn-google{
  width:100% !important;
  margin:8px 0 12px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:rgba(255,255,255,.09) !important;
  color:#fff !important;
}
#btn-email-register,
#btn-reset,
#btn-guest,
#auth-cancel-btn{
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.08) !important;
  color:#e5e7eb !important;
}
#auth-x{
  position:absolute !important;
  right:12px !important;
  top:12px !important;
  width:34px !important;
  height:34px !important;
  border-radius:999px !important;
  border:1px solid rgba(148,163,184,.30) !important;
  background:rgba(15,23,42,.95) !important;
  color:#cbd5e1 !important;
  cursor:pointer !important;
}
#auth-err{ margin-top:10px !important; color:#fca5a5 !important; font-size:.9rem !important; line-height:1.35 !important; }
body.modal-open{ overflow:hidden !important; }

@media (max-width:420px){
  body.modal-open #auth-modal{ padding:10px !important; }
  #auth-modal .box{ width:calc(100vw - 20px) !important; }
}
/* =========================================================
   RD24 LOGIN MODAL FIX – immer mittig, nie oben kleben
   ========================================================= */

#rd24-auth-modal,
.rd24-auth-modal,
.auth-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;

  display: none;
  align-items: center !important;
  justify-content: center !important;

  padding: 20px !important;
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(6px);
}

#rd24-auth-modal.open,
#rd24-auth-modal.is-open,
.rd24-auth-modal.open,
.rd24-auth-modal.is-open,
.auth-modal.open,
.auth-modal.is-open {
  display: flex !important;
}

#rd24-auth-box,
.rd24-auth-box,
.auth-box {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: min(420px, 94vw) !important;
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;

  margin: 0 auto !important;
}
.rd24-dice{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}

.rd24-tooltip-wrap{
  position:relative;
  display:inline-block;
}

.rd24-tooltip{
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  transform:translateX(-50%);

  min-width:240px;
  padding:10px 12px;

  border-radius:12px;
  background:rgba(10,16,28,.96);
  border:1px solid rgba(255,255,255,.12);

  color:#fff;
  font-size:13px;
  line-height:1.45;
  text-align:left;

  opacity:0;
  visibility:hidden;
  transition:.18s;

  z-index:99999;
  pointer-events:none;

  box-shadow:0 12px 35px rgba(0,0,0,.45);
}

.rd24-tooltip-wrap .rd24-tooltip{
  opacity:0;
  visibility:hidden;
}
.rd24-tooltip-wrap{
  display:flex;
  align-items:center;
  gap:10px; /* Abstand zwischen Button und ? */
}

.rd24-help-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:24px;
  height:24px;
  border-radius:999px;

  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);

  font-size:13px;
  font-weight:700;
  cursor:pointer;

  flex-shrink:0;

  z-index:5;
}

.rd24-help-icon.tooltip-open .rd24-tooltip{
  opacity:1;
  visibility:visible;
}

.rd24-tooltip{
  position:absolute;

  left:calc(100% + 12px);
  top:50%;
  transform:translateY(-50%);

  min-width:240px;
  max-width:280px;

  padding:12px;
  border-radius:14px;

  background:rgba(10,16,28,.97);
  border:1px solid rgba(255,255,255,.12);

  color:#fff;
  font-size:13px;
  line-height:1.45;
  text-align:left;

  opacity:0;
  visibility:hidden;

  transition:.18s;

  z-index:99999;

  pointer-events:none;

  box-shadow:0 12px 35px rgba(0,0,0,.45);
}
/* ==================================================
   RD24 Dice Tooltip – nach links öffnen
   Fix: Tooltip läuft rechts aus dem Bildschirm
   ================================================== */

.rd24-tooltip-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.rd24-help-icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rd24-help-icon .rd24-tooltip{
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  left: auto !important;
  transform: translateY(-50%);
  width: min(260px, calc(100vw - 32px));
  max-width: 260px;
  z-index: 99999;
  text-align: left;
  white-space: normal;
}

.rd24-help-icon .rd24-tooltip::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  border-width: 7px 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15,23,42,.96);
}

/* Mobile: unter dem Fragezeichen zentriert, damit nichts rausläuft */
@media (max-width: 520px){
  .rd24-help-icon .rd24-tooltip{
    top: calc(100% + 10px);
    right: 50%;
    transform: translateX(50%);
    width: min(280px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .rd24-help-icon .rd24-tooltip::after{
    top: -7px;
    right: 50%;
    transform: translateX(50%) rotate(90deg);
  }
}
/* =========================================
   RD24 Daily Login Tooltip – Mobile Fix
   ========================================= */

.rd24-dice-wrap{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;
}

.rd24-tooltip-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: visible !important;
}

/* Fragezeichen */
.rd24-help-icon{
  position: relative;
  z-index: 20;
}

/* Tooltip */
.rd24-help-icon .rd24-tooltip{
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  right: auto !important;

  transform: translateX(-50%);

  width: min(320px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);

  padding: 14px 16px;
  border-radius: 18px;

  background: rgba(5,10,20,.96);
  border: 1px solid rgba(255,255,255,.12);

  box-shadow: 0 18px 50px rgba(0,0,0,.45);

  text-align: left;
  white-space: normal;

  z-index: 999999;
}

/* Pfeil */
.rd24-help-icon .rd24-tooltip::after{
  content: "";
  position: absolute;

  top: 100%;
  left: 50%;

  transform: translateX(-50%);

  border-width: 8px;
  border-style: solid;

  border-color:
    rgba(5,10,20,.96)
    transparent
    transparent
    transparent;
}

/* Mobile extra spacing */
@media (max-width: 600px){

  .rd24-dice-wrap{
    margin-top: 10px;
  }

  .rd24-help-icon .rd24-tooltip{
    font-size: 15px;
    line-height: 1.45;
  }
}
/* ==================================================
   RD24 Tooltips – Mobile Final Fix
   Daily Login + Dice Tooltip bleiben im Bildschirm
   ================================================== */

@media (max-width: 700px){

  .reward-help .reward-tooltip,
  .rd24-help-icon .rd24-tooltip{
    position: fixed !important;

    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translate(-50%, -50%) !important;

    width: calc(100vw - 32px) !important;
    max-width: 340px !important;
    min-width: 0 !important;

    max-height: 70vh !important;
    overflow-y: auto !important;

    padding: 16px 18px !important;
    border-radius: 18px !important;

    background: rgba(5,10,20,.98) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: 0 22px 80px rgba(0,0,0,.65) !important;

    color: #fff !important;
    text-align: left !important;
    white-space: normal !important;
    line-height: 1.45 !important;
    font-size: 15px !important;

    z-index: 2147483647 !important;
  }

  .reward-help .reward-tooltip::after,
  .rd24-help-icon .rd24-tooltip::after{
    display: none !important;
  }

  .reward-help,
  .rd24-help-icon{
    position: relative !important;
    z-index: 2147483647 !important;
  }
}
/* ==================================================
   RD24 Casino Help Tooltip – Startseite Fix
   ================================================== */

.rd24-casino-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:14px;
}

.rd24-casino-help{
  position:relative;
  width:24px;
  height:24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  z-index:50;
}

.rd24-casino-tooltip{
  position:absolute;
  left:50%;
  bottom:calc(100% + 12px);
  transform:translateX(-50%);
  width:260px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(5,10,20,.98);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 50px rgba(0,0,0,.55);
  color:#fff;
  font-size:13px;
  line-height:1.45;
  text-align:left;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:999999;
}

.rd24-casino-help.tooltip-open .rd24-casino-tooltip{
  opacity:1;
  visibility:visible;
}

@media(max-width:700px){
  .rd24-casino-tooltip{
    position:fixed;
    left:50%;
    top:50%;
    bottom:auto;
    transform:translate(-50%, -50%);
    width:calc(100vw - 32px);
    max-width:340px;
  }
}
.service-btn{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  line-height:1.15;
}

.service-btn small{
  display:block;
  margin-top:4px;
  font-size:.82rem;
  font-weight:600;
  opacity:.9;
}
/* ==================================================
   RD24 FINAL FIX – ALLE Header Dropdowns mittig
   Galerien / Mehr / Owner / Admin
   ================================================== */

#rd24-header header .dropdown.open > .drop-menu,
#rd24-header .dropdown.open > .drop-menu,
header .dropdown.open > .drop-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

/* Mobile: alle Menüs bleiben im Bildschirm */
@media (max-width: 900px) {
  #rd24-header header .dropdown.open > .drop-menu,
  #rd24-header .dropdown.open > .drop-menu,
  header .dropdown.open > .drop-menu {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(340px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
  }
}
/* ==========================================
   RD24 Mehr-Menü Gruppen Design
   ========================================== */

.menu-section{
  list-style:none !important;

  margin:10px 6px 6px !important;
  padding:6px 12px !important;

  background:transparent !important;

  border-left:none !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;

  color:#94a3b8 !important;

  font-size:.70rem !important;
  font-weight:800 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;

  pointer-events:none !important;
}

.dropdown-more .drop-menu a{
  min-height:48px !important;

  margin:3px 0 !important;

  padding:12px 14px !important;

  border-radius:12px !important;

  display:flex !important;
  align-items:center !important;

  line-height:1.25 !important;
}

.dropdown-more .drop-menu a:hover{
  background:rgba(34,197,94,.10) !important;
}

.dropdown-more .drop-menu .sep{
  margin:12px 0 !important;
}
/* ✅ RD24 Dropdown besser lesbar */
header .drop-menu{
  background:rgba(3,7,18,.995) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.04) inset !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* ✅ Grüne Gruppen wieder sichtbar */
.menu-section{
  list-style:none !important;
  margin:12px 6px 8px !important;
  padding:8px 12px !important;
  border-radius:10px !important;
  background:linear-gradient(90deg,rgba(34,197,94,.22),rgba(34,197,94,.07)) !important;
  border-left:4px solid #22c55e !important;
  color:#bbf7d0 !important;
  font-size:.72rem !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  pointer-events:none !important;
}