/* Kralbet Casino — kralbetcasino.com.de — Casino-Fokus (Slots, Live-Casino, Bonus, Mobil)
   Gleiche Markenpalette wie kralbet1.de, andere Struktur: Foto-Hero, Kategorie-Chips,
   andere Nav-Reihenfolge, andere Kartenoptik. Kein Framework, kein Tracking. */

:root{
  --navy: #030021;
  --slate: #142e3f;
  --royal: #002162;
  --fog: #eaecf4;
  --fog-alt: #e6e8f0;
  --gold: #e0a80c;
  --gold-bright: #ffc618;
  --ink: #0c1220;
  --ink-soft: #3c4657;
  --line: #d7dbe8;
  --white: #ffffff;
  --danger: #8a1f2b;
  --danger-bg: #fbeceb;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 14px 34px -16px rgba(3,0,33,.4);
}

*, *::before, *::after{ box-sizing:border-box; }
html{ overflow-x:clip; }
body{ margin:0; font-family:var(--font); color:var(--ink); background:var(--fog); line-height:1.55; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:var(--royal); text-decoration:underline; text-decoration-color:rgba(0,33,98,.35); text-underline-offset:2px; }
a:hover{ text-decoration-color:var(--royal); }
.kb-container{ width:100%; max-width:1160px; margin-inline:auto; padding-inline:20px; }
.kb-visually-hidden{ position:absolute; width:1px;height:1px; padding:0;margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Header (goldener Top-Strip statt Outline-CTA) ---------- */
.kb-topstrip{ background:linear-gradient(90deg, var(--gold-bright), #ffe07a 50%, var(--gold-bright)); height:4px; }
.kb-header{ position:sticky; top:0; z-index:40; background:var(--navy); color:var(--fog); }
.kb-header__bar{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:10px; }
.kb-brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.kb-brand img{ height:30px; width:auto; }
.kb-brand__word{ font-weight:800; font-size:1.05rem; color:var(--fog); }
.kb-nav-desktop{ display:flex; align-items:center; gap:20px; }
.kb-nav-desktop a{ color:var(--fog); text-decoration:none; font-size:.92rem; font-weight:700; opacity:.85; padding-bottom:3px; border-bottom:2px solid transparent; }
.kb-nav-desktop a:hover, .kb-nav-desktop a[aria-current="page"]{ opacity:1; border-color:var(--gold-bright); }
.kb-header__actions{ display:flex; align-items:center; gap:12px; }
.kb-cta{
  display:inline-flex; align-items:center; gap:8px; background:var(--gold-bright); color:var(--navy);
  border:1.5px solid var(--gold-bright); padding:9px 18px; border-radius:9px; font-weight:800; font-size:.85rem;
  text-decoration:none; white-space:nowrap;
}
.kb-cta:hover{ background:transparent; color:var(--gold-bright); }
.kb-burger{ display:none; width:40px; height:40px; border-radius:10px; border:1px solid rgba(255,255,255,.18); background:transparent; position:relative; cursor:pointer; flex:0 0 auto; }
.kb-burger__bar, .kb-burger__bar::before, .kb-burger__bar::after{ content:""; position:absolute; left:9px; right:9px; height:2px; background:var(--fog); transition:transform .2s ease, opacity .2s ease; }
.kb-burger__bar{ top:50%; transform:translateY(-50%); }
.kb-burger__bar::before{ top:-8px; }
.kb-burger__bar::after{ top:8px; }
.kb-burger[aria-expanded="true"] .kb-burger__bar{ background:transparent; }
.kb-burger[aria-expanded="true"] .kb-burger__bar::before{ top:0; transform:rotate(45deg); }
.kb-burger[aria-expanded="true"] .kb-burger__bar::after{ top:0; transform:rotate(-45deg); }

.kb-mobile-nav{
  position:fixed; inset:0 0 0 auto; width:min(320px,86vw); height:100vh; background:var(--navy); color:var(--fog);
  transform:translateX(100%); transition:transform .25s ease; z-index:50; padding:20px; overflow-y:auto;
  border-left:1px solid rgba(255,255,255,.08);
}
.kb-mobile-nav[data-open="true"]{ transform:translateX(0); }
.kb-mobile-nav__top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.kb-mobile-nav__close{ background:none; border:1px solid rgba(255,255,255,.2); color:var(--fog); width:36px;height:36px; border-radius:9px; font-size:1.1rem; cursor:pointer; }
.kb-mobile-nav ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.kb-mobile-nav a{ display:block; color:var(--fog); text-decoration:none; padding:13px 6px; border-bottom:1px solid rgba(255,255,255,.08); font-weight:700; }
.kb-mobile-nav .kb-cta{ margin-top:18px; width:100%; justify-content:center; }
.kb-scrim{ position:fixed; inset:0; background:rgba(3,0,33,.55); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:45; }
.kb-scrim[data-open="true"]{ opacity:1; pointer-events:auto; }

@media (max-width:860px){
  .kb-nav-desktop{ display:none; }
  .kb-header__actions .kb-cta{ display:none; }
  .kb-burger{ display:block; }
}

/* ---------- Hero (Foto-Panel) ---------- */
.kbc-hero{ background:var(--navy); color:var(--fog); }
.kbc-hero__grid{
  display:grid; grid-template-columns:1.25fr 1fr; gap:0; align-items:stretch; min-height:340px;
}
.kbc-hero__text{ padding:44px 20px 40px 20px; max-width:640px; margin-inline:auto; width:100%; }
.kbc-hero__eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,198,24,.12); border:1px solid rgba(255,198,24,.35);
  color:var(--gold-bright); font-size:.76rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px; margin-bottom:16px;
}
.kbc-hero h1{ margin:0 0 14px; font-size:clamp(1.6rem,3.6vw,2.35rem); line-height:1.2; font-weight:800; color:var(--white); }
.kbc-hero__lead{ font-size:1.02rem; color:#d7dceb; margin:0 0 20px; max-width:60ch; }
.kbc-hero__badges{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.kb-badge{ display:inline-flex; align-items:center; gap:6px; font-size:.76rem; font-weight:700; padding:6px 11px; border-radius:8px; background:rgba(138,31,43,.2); color:#ff9b9b; border:1px solid rgba(255,155,155,.3); }
.kb-badge--neutral{ background:rgba(255,255,255,.08); color:var(--fog); border-color:rgba(255,255,255,.18); }
.kbc-hero__ctarow{ display:flex; flex-wrap:wrap; gap:12px; }
.kb-btn-ghost{ display:inline-flex; align-items:center; gap:8px; color:var(--fog); border:1px solid rgba(255,255,255,.25); padding:11px 18px; border-radius:10px; text-decoration:none; font-weight:700; font-size:.9rem; }
.kb-btn-ghost:hover{ border-color:var(--gold-bright); color:var(--gold-bright); }

.kbc-hero__media{ position:relative; overflow:hidden; background:#1a0d3a; }
.kbc-hero__media img{ width:100%; height:100%; object-fit:cover; object-position:center; min-height:220px; }
.kbc-hero__media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(3,0,33,0) 0%, rgba(3,0,33,.85) 100%); }
.kbc-hero__caption{ position:absolute; left:0; right:0; bottom:0; z-index:1; padding:12px 16px; font-size:.72rem; color:#c9cee2; }

@media (max-width:820px){
  .kbc-hero__grid{ grid-template-columns:1fr; }
  .kbc-hero__media{ order:-1; min-height:150px; }
  .kbc-hero__media img{ min-height:150px; }
  .kbc-hero__text{ padding-top:28px; }
}

/* ---------- Kategorie-Chips (Filter) ---------- */
.kbc-cats{ padding-block:32px 8px; background:var(--white); }
.kbc-cats__title{ margin:0 0 4px; font-size:1.3rem; font-weight:800; color:var(--navy); }
.kbc-cats__hint{ margin:0 0 18px; color:var(--ink-soft); font-size:.88rem; }
.kbc-chipbar{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.kbc-chip{
  border:1.5px solid var(--line); background:var(--white); color:var(--ink-soft); font-weight:700; font-size:.84rem;
  padding:8px 15px; border-radius:999px; cursor:pointer;
}
.kbc-chip[aria-pressed="true"]{ background:var(--navy); border-color:var(--navy); color:var(--gold-bright); }
.kbc-catgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-bottom:8px; }
.kbc-catcard{ background:var(--fog); border:1px solid var(--line); border-radius:14px; padding:18px; }
.kbc-catcard__icon{ width:38px; height:38px; border-radius:10px; background:var(--navy); position:relative; margin-bottom:12px; }
.kbc-catcard__icon::before{ content:""; position:absolute; inset:9px; border-radius:5px; background:var(--gold-bright); }
.kbc-catcard__title{ font-weight:800; color:var(--navy); margin:0 0 6px; font-size:1rem; }
.kbc-catcard__desc{ margin:0; color:var(--ink-soft); font-size:.87rem; }
.kbc-catcard[hidden]{ display:none; }

/* ---------- Artikel (geteilt) ---------- */
.kb-article-wrap{ background:var(--white); }
.kb-article{ max-width:760px; margin-inline:auto; padding:8px 20px 48px; }
.kb-article h2{ font-size:1.35rem; font-weight:800; color:var(--navy); margin:34px 0 12px; scroll-margin-top:90px; }
.kb-article h3{ font-size:1.05rem; font-weight:750; color:var(--navy); margin:0 0 6px; }
.kb-article p{ margin:0 0 14px; color:var(--ink); font-size:1rem; }
.kb-article ul, .kb-article ol{ margin:0 0 16px; padding-left:22px; }
.kb-article li{ margin-bottom:8px; }
.kb-article a{ font-weight:700; }
.kb-article table{ width:100%; border-collapse:collapse; table-layout:fixed; margin:0 0 18px; font-size:.92rem; }
.kb-article table td, .kb-article table th{ border:1px solid var(--line); padding:10px 12px; overflow-wrap:anywhere; text-align:left; }
@media (max-width:560px){
  .kb-article table, .kb-article table tr, .kb-article table td{ display:block; width:100%; }
  .kb-article table td{ border:none; border-bottom:1px solid var(--line); padding:8px 4px; font-size:.86rem; }
}
.kb-article ul.kb-callout-list{
  border-left:4px solid var(--danger); background:var(--danger-bg); border-radius:0 10px 10px 0;
  padding:14px 18px 14px 32px; margin:18px 0 20px; list-style:disc;
}
.kb-article ul.kb-callout-list li{ margin-bottom:7px; font-size:.94rem; }
.kb-article ul.kb-callout-list li::marker{ color:var(--danger); }

/* ---------- FAQ Accordion ---------- */
.kb-faq{ margin-top:30px; border-top:1px solid var(--line); padding-top:22px; }
.kb-faq-item{ border-bottom:1px solid var(--line); }
.kb-faq-item__q{ margin:0; font-size:1rem; }
.kb-faq-item__btn{ width:100%; text-align:left; background:none; border:none; padding:15px 4px; font:inherit; font-weight:700; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.kb-faq-item__icon{ flex:0 0 auto; width:20px; height:20px; position:relative; }
.kb-faq-item__icon::before, .kb-faq-item__icon::after{ content:""; position:absolute; background:var(--royal); border-radius:2px; transition:transform .2s ease; }
.kb-faq-item__icon::before{ left:2px; right:2px; top:9px; height:2px; }
.kb-faq-item__icon::after{ top:2px; bottom:2px; left:9px; width:2px; }
.kb-faq-item__btn[aria-expanded="true"] .kb-faq-item__icon::after{ transform:rotate(90deg); opacity:0; }
.kb-faq-item__a{ overflow:hidden; max-height:0; transition:max-height .22s ease; }
.kb-faq-item__a p{ margin:0 0 16px; color:var(--ink-soft); font-size:.94rem; padding-right:6px; }
/* max-height des geöffneten Zustands wird per JS inline gesetzt (scrollHeight) —
   .kb-faq-item__a ist kein Geschwister von __btn, sondern von __q (h3). */

/* ---------- Breadcrumbs ---------- */
.kb-breadcrumb{ background:var(--fog-alt); border-bottom:1px solid var(--line); }
.kb-breadcrumb ol{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:10px 20px; max-width:1160px; margin-inline:auto; font-size:.82rem; }
.kb-breadcrumb li{ display:flex; align-items:center; gap:6px; color:var(--ink-soft); }
.kb-breadcrumb li:not(:last-child)::after{ content:"/"; color:#aab0c3; margin-left:6px; }
.kb-breadcrumb a{ color:var(--ink-soft); text-decoration:none; }
.kb-breadcrumb a:hover{ text-decoration:underline; }
.kb-breadcrumb li:last-child{ color:var(--navy); font-weight:700; }

/* ---------- Footer ---------- */
.kb-footer{ background:var(--navy); color:#c7cbe0; padding-block:38px 24px; }
.kb-footer__grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:28px; margin-bottom:26px; }
.kb-footer__brand{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.kb-footer__brand img{ height:26px; }
.kb-footer__tagline{ font-size:.86rem; color:#a9aecb; max-width:38ch; margin:0; }
.kb-footer__heading{ font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color:#8b90ae; margin:0 0 12px; font-weight:800; }
.kb-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.kb-footer a{ color:#c7cbe0; text-decoration:none; font-size:.88rem; }
.kb-footer a:hover{ color:var(--gold-bright); }
.kb-footer__responsible{ border-top:1px solid rgba(255,255,255,.1); padding-top:18px; font-size:.8rem; color:#9aa0bd; line-height:1.6; }
.kb-footer__responsible strong{ color:#c7cbe0; }
.kb-footer__bottom{ margin-top:16px; font-size:.78rem; color:#7d82a0; }
@media (max-width:760px){
  .kb-footer__grid{ grid-template-columns:1fr 1fr; }
  .kb-footer__grid > :first-child{ grid-column:1 / -1; }
}

/* ---------- 404 ---------- */
.kb-404{ min-height:60vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:60px 20px; }
.kb-404 h1{ font-size:2.2rem; color:var(--navy); margin:0 0 10px; }
.kb-404 p{ color:var(--ink-soft); margin:0 0 20px; }
