/* oasisfreiecasinos.com — Merkblatt-Layout
   Konzept: ein deutsches Referenzblatt mit Randspalte. Jede Angabe steht neben
   ihrer Fundstelle. Farbe kodiert den Status, sie schmueckt nicht. */

:root {
  color-scheme: light;

  --papier:      #f1f2ee;
  --papier-tief: #e8eae3;
  --band:        #e4e1d4;
  --flaeche:     #fbfbf9;

  --tinte:       #16211d;
  --tinte-weich: #4c5a52;
  --linie:       #c9cec4;
  --linie-fein:  #dde0d8;

  --amt:         #2c4c76;   /* deutsche Vorgabe, Struktur, Links */
  --oxid:        #a9341e;   /* faellt ausserhalb des Systems weg */
  --moos:        #3c6b4d;   /* gilt weiterhin */

  --satz:   "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --grotesk:"Archivo", "Helvetica Neue", Arial, sans-serif;

  --mass: 36rem;            /* Zeilenlaenge, knapp unter 70 Zeichen */
  --rand-breite: 13.5rem;
  --spalte: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--satz);
  font-size: 17px;
  line-height: 1.72;
  font-variant-numeric: oldstyle-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 48rem) { body { font-size: 18px; } }

p { margin: 0 0 1.1em; max-width: var(--mass); }
ul, ol { max-width: var(--mass); }

a { color: var(--amt); text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
a:hover { color: var(--oxid); }
a:focus-visible, .knopf:focus-visible, .sprung:focus {
  outline: 3px solid var(--amt);
  outline-offset: 3px;
}

h1, h2, h3, .grotesk {
  font-family: var(--grotesk);
  font-variant-numeric: lining-nums;
  font-weight: 600;
}

.sprung {
  position: absolute; left: -9999px;
  background: var(--tinte); color: var(--papier);
  padding: 0.6rem 1rem; font-family: var(--grotesk); font-size: 0.9rem; z-index: 10;
}
.sprung:focus { left: 1rem; top: 1rem; }

.vs-nur-lesen {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Kopf ---------- */

.kopf { border-bottom: 1px solid var(--linie); background: var(--flaeche); }

.kopf__innen {
  max-width: 76rem; margin: 0 auto;
  padding: 1.05rem 1.25rem;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}

.marke {
  font-family: var(--grotesk);
  font-size: 1.12rem; font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none; color: var(--tinte);
  display: inline-flex; align-items: baseline; gap: 0.3ch;
}
.marke__wort--zwei { color: var(--oxid); }
.marke:hover .marke__wort { color: var(--amt); }
.marke:hover .marke__wort--zwei { color: var(--oxid); }

.kopf__stand {
  margin: 0; font-family: var(--grotesk);
  font-size: 0.82rem; font-weight: 500; color: var(--tinte-weich);
  font-variant-numeric: lining-nums;
}

/* ---------- Auftakt ---------- */

.auftakt { background: var(--flaeche); border-bottom: 3px double var(--linie); }

.auftakt__innen {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.75rem) 1.25rem clamp(2.25rem, 4vw, 3.25rem);
}

h1 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.15rem, 6.1vw, 4.1rem);
  line-height: 0.99;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 21ch;
  text-wrap: balance;
}

.antwort {
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  line-height: 1.6;
  max-width: 44rem;
  margin-bottom: 2rem;
}

.inhalt {
  margin: 0 0 2rem;
  border-top: 2px solid var(--linie);
  padding-top: 0.85rem;
}
.inhalt__titel {
  margin: 0 0 0.55rem;
  font-size: 0.74rem; font-weight: 600;
  color: var(--amt); max-width: none;
  letter-spacing: 0.01em;
}
.inhalt ol {
  list-style: none; margin: 0; padding: 0;
  counter-reset: toc;
  columns: 2; column-gap: 2rem;
}
.inhalt li {
  counter-increment: toc;
  font-family: var(--grotesk); font-size: 0.83rem; line-height: 1.4;
  margin-bottom: 0.42rem;
  break-inside: avoid;
  display: flex; gap: 0.6ch;
}
.inhalt li::before {
  content: counter(toc);
  color: var(--tinte-weich); font-variant-numeric: lining-nums;
  font-size: 0.72rem; flex: none; min-width: 1.4ch; text-align: right;
  padding-top: 0.12em;
}
.inhalt a { color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--linie); }
.inhalt a:hover { color: var(--oxid); border-bottom-color: var(--oxid); }

.kern {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: grid; gap: 0; border-top: 1px solid var(--linie);
}
.kern li {
  font-family: var(--grotesk);
  font-size: 0.93rem; line-height: 1.45;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--linie-fein);
  display: flex; align-items: baseline; gap: 0.85rem;
  color: var(--tinte-weich);
}
.kern__wert {
  font-weight: 700; font-size: 1.5rem; color: var(--tinte);
  font-variant-numeric: lining-nums;
  min-width: 2.6ch; flex: none;
}
@media (min-width: 62rem) {
  .auftakt__innen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
    column-gap: var(--spalte);
    align-items: start;
  }
  .auftakt__innen > h1 { grid-column: 1 / -1; }
  .antwort { grid-column: 1; margin-bottom: 0; }
  .inhalt { grid-column: 2; margin: 0.4rem 0 0; }
  .inhalt ol { columns: 1; }
  .kern { grid-column: 1 / -1; margin-top: 2.5rem; }
}

@media (min-width: 52rem) {
  .kern { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--linie-fein); }
  .kern li { border-bottom: 0; border-right: 1px solid var(--linie-fein); padding-right: 1.5rem; }
  .kern li:last-child { border-right: 0; }
}

/* ---------- Ledger: der laute Teil der Seite ---------- */

.ledger { background: var(--band); }

.ledger__innen {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) 1.25rem clamp(2.25rem, 4vw, 3rem);
}

.ledger__titel {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  letter-spacing: -0.02em;
}
.ledger__lead { color: var(--tinte-weich); max-width: 46rem; margin-bottom: 2rem; }

.tab { width: 100%; border-collapse: collapse; }

.tab thead th {
  font-family: var(--grotesk);
  font-size: 0.82rem; font-weight: 600;
  text-align: left; vertical-align: bottom;
  padding: 0 0.9rem 0.6rem 0;
  border-bottom: 2px solid var(--tinte);
  color: var(--tinte);
}
.tab thead th:nth-child(2) { color: var(--amt); }
.tab thead th:nth-child(3) { color: var(--oxid); }

.tab tbody th {
  font-family: var(--grotesk);
  font-size: 0.95rem; font-weight: 600; text-align: left;
  padding: 0.85rem 0.9rem 0.85rem 0;
  vertical-align: top; width: 26%;
}
.tab tbody td {
  padding: 0.85rem 0.9rem 0.85rem 0;
  vertical-align: top;
  font-size: 0.97rem; line-height: 1.5;
}
.tab tbody tr { border-bottom: 1px solid rgba(22, 33, 29, 0.14); }
.tab tbody tr:last-child { border-bottom: 2px solid var(--tinte); }

.st { display: inline-block; font-family: var(--grotesk); font-size: 0.93rem; }
.st--pflicht { color: var(--amt); }
.st--frei    { color: var(--oxid); }
.st--warn    { color: var(--oxid); font-weight: 700; }

.st::before {
  content: ""; display: inline-block;
  width: 0.62em; height: 0.62em; margin-right: 0.6em;
  vertical-align: 0.04em; border: 1.5px solid currentColor;
}
.st--pflicht::before { background: currentColor; }
.st--frei::before    { border-radius: 50%; }
.st--warn::before    { background: currentColor; border-radius: 50%; }

.quelle {
  font-family: var(--grotesk);
  font-size: 0.8rem; color: var(--tinte-weich);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.ledger__fuss {
  margin: 1.6rem 0 0; max-width: 44rem;
  font-size: 0.97rem; color: var(--tinte-weich);
}

@media (max-width: 54rem) {
  .tab, .tab thead, .tab tbody, .tab tr, .tab th, .tab td { display: block; width: auto; }
  .tab thead { display: none; }
  .tab tbody tr {
    border: 1px solid rgba(22, 33, 29, 0.18);
    border-radius: 3px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
    background: rgba(251, 251, 249, 0.6);
  }
  .tab tbody tr:last-child { border-bottom: 1px solid rgba(22, 33, 29, 0.18); }
  .tab tbody th { width: auto; padding: 0 0 0.5rem; font-size: 1rem; }
  .tab tbody td { padding: 0.3rem 0; }
  .tab tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--grotesk); font-size: 0.72rem; font-weight: 600;
    color: var(--tinte-weich); margin-bottom: 0.1rem;
  }
  .tab tbody td.quelle { white-space: normal; padding-top: 0.5rem; }
}

/* ---------- Blatt mit Randspalte ---------- */

.blatt { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

.abschnitt {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--linie);
}
.abschnitt:last-child { border-bottom: 0; }

.rand { margin: 0 0 1.5rem; }

.rand__note {
  font-family: var(--grotesk);
  font-size: 0.8rem; line-height: 1.5;
  color: var(--tinte-weich);
  margin: 0 0 0.85rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--linie);
  max-width: var(--mass);
}
.rand__kopf {
  display: block;
  font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.01em;
  color: var(--amt);
  margin-bottom: 0.1rem;
}

.text > h2:first-child { margin-top: 0; }

h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.42rem, 2.8vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
  text-wrap: balance;
}

h3 {
  margin: 2rem 0 0.55rem;
  font-size: 1.07rem;
  line-height: 1.3;
  max-width: var(--mass);
}

@media (min-width: 62rem) {
  .abschnitt {
    display: grid;
    grid-template-columns: var(--rand-breite) minmax(0, 41rem) minmax(0, 1fr);
    column-gap: var(--spalte);
    align-items: start;
  }
  .abschnitt--register { grid-template-columns: var(--rand-breite) minmax(0, 1fr); }
  .rand { margin: 0.45rem 0 0; position: sticky; top: 1.5rem; }
  .rand__note { border-left: 0; padding-left: 0; border-top: 2px solid var(--linie); padding-top: 0.5rem; }
  h1 { max-width: 19ch; }
}

/* ---------- Definitionsliste ---------- */

.liste { margin: 1.4rem 0 1.4rem; max-width: var(--mass); }
.liste dt {
  font-family: var(--grotesk); font-weight: 700;
  font-size: 0.98rem; margin-top: 1rem; color: var(--amt);
}
.liste dd { margin: 0.1rem 0 0; }

/* ---------- Register ---------- */

.register { list-style: none; margin: 2rem 0 0; padding: 0; max-width: none; }

.eintrag {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--amt);
  border-radius: 3px;
  padding: 1.4rem 1.4rem 1.2rem;
  margin-bottom: 1.1rem;
}

.eintrag__kopf { display: flex; gap: 1rem; align-items: flex-start; }

.monogramm {
  flex: none;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--tinte); color: var(--papier);
  font-family: var(--grotesk); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.02em;
  border-radius: 3px;
}
/* Alle vier Marken tragen dieselbe Farbe. Eine Abstufung waere hier eine
   Wertung, und das Register ist ausdruecklich keine Rangliste. */
.eintrag { border-left-color: var(--tinte); }

.eintrag__titel h3 { margin: 0 0 0.2rem; font-size: 1.3rem; letter-spacing: -0.015em; }
.eintrag__zeile { margin: 0; font-size: 0.97rem; color: var(--tinte-weich); max-width: 40rem; }

.daten { margin: 1.25rem 0 0; display: grid; gap: 0; }
.daten > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.05rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--linie-fein);
}
.daten dt {
  font-family: var(--grotesk); font-size: 0.78rem; font-weight: 600;
  color: var(--tinte-weich);
}
.daten dd { margin: 0; font-size: 0.98rem; line-height: 1.45; }
.daten dd.leer { color: var(--tinte-weich); font-style: italic; }

@media (min-width: 40rem) {
  .daten > div { grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
  .daten dt { font-size: 0.85rem; }
}

.beleg {
  margin: 1.1rem 0 0;
  font-size: 0.85rem; line-height: 1.55;
  color: var(--tinte-weich);
  font-family: var(--grotesk);
  max-width: 44rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--linie-fein);
}

.aktion { margin: 1.1rem 0 0; }

.knopf {
  display: inline-block;
  background: var(--tinte); color: var(--papier);
  font-family: var(--grotesk); font-weight: 600; font-size: 0.95rem;
  padding: 0.68rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
}
.knopf:hover { background: var(--amt); color: #fff; }

/* ---------- Pruefliste ---------- */

.pruefliste { list-style: none; margin: 1.6rem 0 0; padding: 0; max-width: none; }
.pruefliste > li {
  position: relative;
  padding: 0 0 1.1rem 3.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--linie-fein);
}
.pruefliste > li:last-child { border-bottom: 0; margin-bottom: 0; }
.pruef__marke {
  position: absolute; left: 0; top: 0.1rem;
  width: 2.6rem;
  display: grid; justify-items: center; gap: 0.15rem;
  color: var(--amt);
}
.pruef__marke .ikon { width: 1.7rem; height: 1.7rem; stroke-width: 1.5; }
.pruef__nr {
  font-family: var(--grotesk); font-weight: 700; font-size: 0.76rem;
  color: var(--oxid);
  font-variant-numeric: lining-nums;
}
.pruefliste h3 { margin: 0 0 0.3rem; font-size: 1.04rem; }
.pruefliste p { margin: 0; }

/* ---------- FAQ ---------- */

#faq .text h3 {
  margin-top: 2.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie-fein);
  font-size: 1.1rem;
  color: var(--amt);
}
#faq .text h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.4rem; }

/* ---------- Hilfe ---------- */

.hilfe { background: var(--papier-tief); border-top: 1px solid var(--linie); }

.hilfe__innen {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.25rem, 4vw, 3.25rem) 1.25rem;
  display: grid; gap: 1.5rem;
}
@media (min-width: 48rem) {
  .hilfe__innen { grid-template-columns: var(--rand-breite) minmax(0, 1fr); column-gap: var(--spalte); align-items: start; }
}

.hilfe__marke {
  margin: 0;
  font-family: var(--grotesk); font-weight: 700;
  font-size: 2.6rem; line-height: 1;
  color: var(--oxid);
  font-variant-numeric: lining-nums;
  border-bottom: 3px solid var(--oxid);
  display: inline-block;
  padding-bottom: 0.1rem;
}

.hilfe__text h2 { margin-top: 0; font-size: 1.35rem; }
.hilfe__liste { margin: 1.1rem 0 0; padding-left: 1.1rem; }
.hilfe__liste li { margin-bottom: 0.5rem; font-size: 0.97rem; line-height: 1.55; }

/* ---------- Fuss ---------- */

.fuss { background: var(--tinte); color: #d6ddd7; }
.fuss a { color: #cfdcea; }
.fuss a:hover { color: #f0b7a7; }

.fuss__innen {
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.25rem, 4vw, 3.25rem) 1.25rem clamp(2.5rem, 4vw, 3.5rem);
  display: grid; gap: 2.25rem;
}
@media (min-width: 52rem) {
  .fuss__innen { grid-template-columns: 1.3fr 1fr; column-gap: var(--spalte); }
}

.fuss h2 {
  font-size: 0.88rem; font-weight: 600;
  color: #9fb0a5; margin-bottom: 0.9rem; max-width: none;
}
.fuss ul { margin: 0; padding-left: 1.1rem; }
.fuss li, .fuss p { font-size: 0.87rem; line-height: 1.6; margin-bottom: 0.6rem; max-width: 40rem; }
.fuss__stand { font-family: var(--grotesk); color: #9fb0a5; margin-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Ikonen ----------
   Ein Satz duenner Strichzeichen, alle im selben Raster und in der Textfarbe.
   Sie benennen die Art der Pruefung, sie schmuecken nicht. */

.ikonensatz { position: absolute; width: 0; height: 0; overflow: hidden; }

.ikon {
  width: 1.2rem; height: 1.2rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.weg { display: flex; align-items: center; gap: 0.55rem; }
.weg .ikon { width: 1.1rem; height: 1.1rem; color: var(--tinte-weich); }

/* ---------- Schema: Weg einer Sperre ----------
   Bewusst als Text im Dokument gebaut, nicht als Bild: der Inhalt soll
   auslesbar bleiben und auf dem Telefon umbrechen koennen. */

.schema {
  margin: 2.2rem 0 1.8rem;
  padding: 1.3rem 1.15rem 1.5rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 3px;
  max-width: none;
}

.schema__titel {
  font-family: var(--grotesk);
  font-size: 0.95rem; font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--tinte);
  max-width: none;
}

.schema__bandkopf {
  font-family: var(--grotesk);
  font-size: 0.73rem; font-weight: 600;
  color: var(--amt);
  margin: 0 0 0.55rem;
  max-width: none;
}

.schema__paar { display: grid; gap: 0.85rem; }

.knoten {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-top: 3px solid var(--linie);
  border-radius: 2px;
  padding: 0.85rem 0.95rem 0.9rem;
}

.knoten h4 {
  font-family: var(--grotesk); font-weight: 700;
  font-size: 0.97rem; line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}

.knoten p {
  margin: 0;
  max-width: none;
  font-size: 0.88rem; line-height: 1.55;
  color: var(--tinte-weich);
}

.knoten--amt    { border-top-color: var(--tinte); background: var(--flaeche); }
.knoten--pflicht { border-top-color: var(--amt); }
.knoten--frei    { border-top-color: var(--oxid); }

.schema__felder {
  list-style: none; margin: 0.65rem 0 0; padding: 0; max-width: none;
  font-family: var(--grotesk); font-size: 0.78rem; line-height: 1.45;
  color: var(--tinte-weich);
}
.schema__felder li { padding: 0.22rem 0; border-top: 1px solid var(--linie-fein); }

.knoten .knoten__weg {
  display: flex; gap: 0.5rem; align-items: baseline;
  font-family: var(--grotesk); font-size: 0.83rem; line-height: 1.4;
  margin-top: 0.42rem;
  color: var(--tinte);
}
.knoten__weg span {
  flex: none; min-width: 3.3rem;
  font-size: 0.72rem; color: var(--tinte-weich);
}
.knoten .knoten__weg--aus { color: var(--tinte-weich); }

.knoten .knoten__folge {
  margin-top: 0.75rem; padding-top: 0.6rem;
  border-top: 1px solid var(--linie-fein);
  font-size: 0.8rem; line-height: 1.5;
}

.schema__pfeil {
  display: block; margin: 0.9rem auto;
  color: var(--tinte-weich);
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

@media (min-width: 40rem) {
  .schema { padding: 1.5rem 1.5rem 1.7rem; }
  .schema__paar { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ---------- Markenplatte ----------
   Dieselbe Platte fuer Monogramm und Logo, damit die vier Karten gleich
   schwer bleiben. Ein Logo liegt bislang nur fuer eine Marke vor. */

.monogramm--marke {
  width: auto; min-width: 3rem;
  padding: 0 0.75rem;
}
.monogramm--marke svg { display: block; height: 1.6rem; width: auto; }

/* ---------- Ablauf beim Kontozugang ----------
   Eine Zeichnung, kein Schmuck: sie zeigt den einen Schritt, der den
   Unterschied ausmacht. Der Text dazu steht auch im Fliesstext. */

.ablauf { margin: 1.9rem 0 1.4rem; padding: 0; max-width: 33rem; }

.ablauf__bild {
  display: block; width: 100%; height: auto;
  font-family: var(--grotesk);
  fill: var(--tinte);
}

.ablauf__band { font-size: 12px; font-weight: 600; fill: var(--amt); }

.ablauf__reihe rect {
  fill: var(--flaeche);
  stroke: var(--linie);
  stroke-width: 1.5;
}
.ablauf__reihe rect.ab-amt { stroke: var(--amt); stroke-width: 2; }
.ablauf__reihe rect.ab-leer {
  fill: none;
  stroke: var(--oxid);
  stroke-dasharray: 5 4;
}

.ablauf__feld {
  font-size: 15px; font-weight: 600;
  text-anchor: middle;
  fill: var(--tinte);
}
.ablauf__feld.ab-leer-text { fill: var(--oxid); font-weight: 500; }

.ablauf__pfeil { stroke: var(--tinte-weich); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.ablauf__fuss { font-size: 12.5px; fill: var(--tinte-weich); }

.ablauf figcaption {
  margin-top: 0.7rem;
  font-family: var(--grotesk); font-size: 0.78rem;
  color: var(--tinte-weich);
  max-width: var(--mass);
}
