/* ==================================================================
   towercasino.at - Seitenblatt, wird als letztes geladen,
   nach base.css, style.css und theme4.css.

   Ziel: eine Hülle, die sich von allen Tower-Casino-Geschwistern
   unterscheidet, ohne die bewährten Renderer zu verlassen.

   1. Navigationsspalte links, aber schmal, Beschriftung klein.
   2. Überschriften in schmalen Versalien der Grundschrift,
      Ziffern in einer Monospace-Auszeichnung. Keine Serifen.
   3. Abschnittsnummer als hohler Kreis im h2, nicht als Kästchen.
   4. Gegenprobe-Block: drei Spalten, Schirm A, Schirm B, Unterschied.
   5. Tintenblauer Grund, Amethyst als Akzent, Minze als Zweitfarbe.
   ================================================================== */

:root {
  --font-display: 'Segoe UI Semibold', 'Segoe UI', 'Noto Sans', 'DejaVu Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', 'Noto Sans', 'DejaVu Sans', system-ui, -apple-system, sans-serif;
  --font-num: 'DejaVu Sans Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --at-rule: rgba(121, 210, 166, 0.34);
}

/* ---- 1. Schmale Navigationsspalte links ------------------------- */
@media (min-width: 1025px) {
  .wi-shell {
    grid-template-columns: 224px 1fr;
    grid-template-areas: "sidebar main";
  }
  .wi-sidebar {
    border-left: 0;
    border-right: 1px solid var(--color-border, #2f3547);
    padding-left: 16px;
    padding-right: 16px;
  }
  .wi-main {
    min-width: 0;
    margin-inline: auto;
  }
}

.wi-sidebar__nav-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.62rem;
  color: var(--color-accent-secondary, #79d2a6);
}

.wi-sidebar__nav-label-text {
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

/* ---- 2. Überschriften: schmale Versalien ------------------------ */
h1, h2, h3, h4,
.hero h1,
.page-hero h1,
.wi-hero__title,
.wi-page-header h1,
.content-section h2,
.content-section h3,
.wi-seo__heading,
.wi-games-tabs__title,
.wi-payments__title,
.wi-faq__title,
.wi-faq-item__question,
.wi-cta-banner__title,
.wi-banking__title,
.section-title,
.seo-content h2,
.seo-content h3,
.faq-accordion__question {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  hyphens: none;
}

/* Die Fragen im Akkordeon bleiben lesbar, also keine Versalien dort. */
.wi-faq-item__question,
.faq-accordion__question {
  text-transform: none;
  letter-spacing: 0.01em;
  font-stretch: normal;
}

h1, .wi-page-header h1, .wi-hero__title { line-height: 1.14; }
h2 { line-height: 1.2; }
h3 { line-height: 1.28; font-size: 1.08rem; letter-spacing: 0.03em; }

.wi-main p,
.wi-main li,
.wi-main td,
.wi-main th {
  font-family: var(--font-body);
  hyphens: none;
  overflow-wrap: break-word;
}

.wi-page-header__eyebrow,
.wi-hero__eyebrow,
.wi-footer__col-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

/* Keine Linie und kein Quadrat unter den Überschriften: das Merkmal
   dieser Seite ist der hohle Kreis mit der Abschnittsnummer. */
.wi-main .content-section .container > h2,
.wi-main .seo-content h2 {
  border-bottom: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* ---- 3. Abschnittsnummer als hohler Kreis ----------------------- */
.probe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: 0.1em;
  margin-right: 13px;
  width: 1.95em;
  height: 1.95em;
  font-family: var(--font-num);
  font-size: 0.62rem;
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-accent-secondary, #79d2a6);
  background: transparent;
  border: 1px solid var(--at-rule);
  border-radius: 50%;
  white-space: nowrap;
}

/* ---- 4. Gegenprobe: drei Spalten -------------------------------- */
.gegenprobe {
  margin: 1.7rem 0;
  border: 1px solid var(--color-border, #2f3547);
  border-radius: 10px;
  overflow: hidden;
}

.gp-zeile {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 0;
  border-bottom: 1px solid var(--color-border, #2f3547);
}
.gp-zeile:last-child { border-bottom: 0; }
.gp-zeile:nth-child(odd) { background: rgba(27, 31, 43, 0.6); }

.gp-zeile > span {
  padding: 0.72rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted, #a8b0c6);
  border-right: 1px solid var(--color-border, #2f3547);
}
.gp-zeile > span:last-child { border-right: 0; }

.gp-a { color: var(--color-text, #eceff7); }
.gp-b { color: var(--color-text, #eceff7); }
.gp-diff {
  background: rgba(155, 111, 212, 0.09);
  color: var(--color-accent, #9b6fd4);
  font-weight: 600;
}

/* Kopfzeile des Blocks */
.gp-kopf > span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--color-accent-secondary, #79d2a6);
  background: rgba(10, 12, 18, 0.55);
}
.gp-kopf .gp-diff { color: var(--color-accent-secondary, #79d2a6); background: rgba(10, 12, 18, 0.55); }

@media (max-width: 700px) {
  .gp-zeile { grid-template-columns: 1fr; }
  .gp-zeile > span { border-right: 0; border-bottom: 1px dotted var(--at-rule); }
  .gp-zeile > span:last-child { border-bottom: 0; }
  /* Kopfzeile bleibt als Legende über den gestapelten Zellen lesbar */
  .gp-kopf { display: block; padding: 0.55rem 0.9rem 0.5rem; background: rgba(10, 12, 18, 0.55); }
  .gp-kopf > span,
  .gp-kopf .gp-diff { display: inline; padding: 0; border: 0; background: none; }
  .gp-kopf > span + span::before { content: "\00A0\00B7\00A0"; color: var(--color-text-muted, #a8b0c6); }
  .gp-zeile:not(.gp-kopf) > .gp-diff { border-left: 3px solid var(--color-accent, #9b6fd4); }
}

/* Zahlen im Gegenprobe-Block und in Tabellen monospace */
.zahl {
  font-family: var(--font-num);
  font-size: 0.94em;
  letter-spacing: -0.01em;
  color: var(--color-text, #eceff7);
}

/* ---- 5. Kasten der ungedeckten Angaben -------------------------- */
.ungedeckt {
  margin: 1.8rem 0;
  padding: 1.15rem 1.3rem 1rem;
  background: linear-gradient(180deg, rgba(224, 101, 95, 0.08), rgba(224, 101, 95, 0));
  border: 1px solid rgba(224, 101, 95, 0.36);
  border-radius: 10px;
}
.ungedeckt h3 {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  color: var(--color-text, #eceff7);
}
.ungedeckt ul { margin: 0; padding-left: 1.15rem; }
.ungedeckt li { margin-bottom: 0.42rem; }

/* ---- 6. Hinweisabsatz ------------------------------------------- */
p.hinweis {
  margin: 1.5rem 0;
  padding: 0.95rem 1.15rem;
  background: var(--color-surface, #1b1f2b);
  border-left: 3px solid var(--color-accent-secondary, #79d2a6);
  border-radius: 0 8px 8px 0;
  font-size: 0.96rem;
  color: var(--color-text-muted, #a8b0c6);
}

/* ---- 7. Beigestellte Bilder, transparenter Grund ---------------- */
.illus {
  margin: 0 0 1.1rem;
  padding: 0;
  background:
    radial-gradient(114% 84% at 50% 18%, rgba(155, 111, 212, 0.12) 0%, rgba(155, 111, 212, 0) 62%);
  border-radius: 14px;
  filter: drop-shadow(0 14px 26px rgba(6, 8, 14, 0.62));
}
.illus img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 761px) {
  .illus {
    width: 288px;
    max-width: 41%;
  }
  .illus--rechts {
    float: right;
    margin-left: 1.9rem;
  }
  .illus--links {
    float: left;
    margin-right: 1.9rem;
  }
}

@media (max-width: 760px) {
  .illus {
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
    float: none;
  }
}

/* Ein folgender Abschnitt darf nicht neben ein umflossenes Bild rutschen. */
.wi-main .content-section .container::after {
  content: "";
  display: block;
  clear: both;
}

/* ---- 8. Kopfbereich neu gefärbt --------------------------------- */
.wi-hero::before {
  background: linear-gradient(
    90deg,
    rgba(10, 12, 18, 0.95) 0%,
    rgba(29, 33, 53, 0.6) 52%,
    rgba(29, 33, 53, 0.1) 100%
  );
}

.wi-hero__eyebrow {
  color: var(--color-accent-secondary, #79d2a6);
  border-color: rgba(121, 210, 166, 0.4);
  background: rgba(121, 210, 166, 0.08);
}

/* ---- 9. Fixe Leiste unten -------------------------------------- */
.sticky-cta {
  background: rgba(10, 12, 18, 0.96);
  border-top: 1px solid var(--color-border-2, #454d68);
}
.sticky-cta__bonus {
  text-transform: none;
  letter-spacing: 0;
}

/* ---- 10. Akzentdetails ----------------------------------------- */
.wi-sidebar__cta a { color: var(--color-cta-text, #f6f2ff); }
.wi-pay { border-radius: 4px; }
blockquote, .wi-infobox { border-left: 3px solid var(--color-accent, #9b6fd4); }

/* ---- 11. Tabellen, auch am Telefon lesbar ---------------------- */
.wi-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.94rem;
}
.wi-main thead th {
  font-family: var(--font-display);
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--color-accent-secondary, #79d2a6);
  border-bottom: 1px solid var(--color-border-2, #454d68);
  padding: 0.6rem 0.7rem;
}
.wi-main tbody td {
  padding: 0.62rem 0.7rem;
  border-bottom: 1px solid var(--color-border, #2f3547);
  vertical-align: top;
}
.wi-main tbody tr:nth-child(odd) td {
  background: rgba(27, 31, 43, 0.55);
}

@media (max-width: 760px) {
  .wi-main table { display: block; overflow-x: auto; }
  .wi-main table thead,
  .wi-main table tbody { min-width: 34rem; }
}

/* ---- Sticky-Leiste: auf schmalen Schirmen kompakt halten ---- */
@media (max-width: 640px) {
  .sticky-cta__bonus {
    font-size: .74rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sticky-cta__text { min-width: 0; }
  .sticky-cta .container { gap: .6rem; }
}
