@charset "UTF-8";
/* ============================================================
   Claudis Schreibwaren & Lotto — "Papier & Tinte"
   Handgeschriebenes CSS, kein Build-Schritt nötig.
   Reihenfolge: Tokens · Reset · Typo · Layout · Bausteine · Seiten · Responsive
   ============================================================ */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Farben */
  --papier:       #FBF7EF;   /* Grundton, warmes Papier */
  --papier-tief:  #F2ECE0;   /* abgesetzte Flächen */
  --weiss:        #FFFFFF;
  --tinte:        #16233F;   /* Text und dunkle Flächen */
  --tinte-hell:   #4E5A76;   /* Fließtext zweiter Ordnung */
  --linie:        #CFDBEA;   /* Linienpapier-Blau */
  --rot:          #C8534B;   /* Korrekturrand, Akzent */
  --rot-dunkel:   #A93F38;   /* Hover, Kontrast auf Weiß */
  --gelb:         #E3A72F;   /* Bleistift, nur auf dunklem Grund */

  /* Typo */
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans:  Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand:  Caveat, "Segoe Script", cursive;

  /* Maße */
  --breite: 1080px;
  --rand: clamp(20px, 5vw, 32px);
  --abstand-s: 14px;
  --abstand-m: 28px;
  --abstand-l: clamp(48px, 8vw, 76px);

  color-scheme: light;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

a { color: var(--rot-dunkel); }
a:hover { color: var(--rot); }

:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sprungmarke für Tastatur und Screenreader */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--tinte); color: #fff; padding: 12px 20px; font-size: 15px;
}
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- 3. Typo-Hilfsklassen ----------------------------------------- */
.mark {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--rot); margin: 0 0 10px;
}
.mark--hell { color: var(--gelb); }
.hand { font-family: var(--hand); font-size: 1.45em; line-height: 1.3; color: var(--rot); }
.hand--hell { color: var(--gelb); }
.lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--tinte-hell); max-width: 58ch; }
.klein { font-size: 14px; color: var(--tinte-hell); }
.tabellenzahl { font-variant-numeric: tabular-nums; }

/* Noch fehlende Angaben — vor dem Livegang alle ersetzen, siehe UEBERGABE.md */
.offen {
  border-bottom: 2px dashed var(--rot);
  background: #FDF0EE;
  padding: 0 3px;
  font-style: normal;
}

/* ---------- 4. Layout ---------------------------------------------------- */
.bahn { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.bahn--weit { max-width: 1240px; }
.bahn--schmal { max-width: 820px; }
.block { padding-block: var(--abstand-l); }

/* Kleine Abstands-Helfer. Sie ersetzen style="…"-Angaben im HTML, damit die
   Content-Security-Policy ohne 'unsafe-inline' auskommt. */
.ohne-oben { padding-top: 0; }
.mit-oben { padding-top: var(--abstand-l); }
.luft-1 { margin-top: 6px; }
.luft-2 { margin-top: 15px; }
.luft-3 { margin-top: 20px; }
.luft-4 { margin-top: 28px; }
.luft-mitte { margin: 16px auto 26px; }
.block--tief { background: var(--papier-tief); }
.block--tinte { background: var(--tinte); color: #E4EAF4; }
.block--tinte h1, .block--tinte h2, .block--tinte h3 { color: #fff; }
.block--tinte p { color: #BFCADF; }
.block--tinte a { color: var(--gelb); }

.kopfzeile {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; border-bottom: 2px solid var(--tinte);
  padding-bottom: 10px; margin-bottom: 32px;
}
.kopfzeile h2 { font-size: clamp(24px, 3.2vw, 34px); }
.kopfzeile .beiwort {
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tinte-hell); text-align: right;
}

/* ---------- 5. Navigation ------------------------------------------------ */
.navigation { background: var(--papier); border-bottom: 1px solid var(--linie); }
.navigation .bahn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 16px;
}
.marke {
  font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 2.4vw, 21px);
  letter-spacing: -.02em; color: var(--tinte); text-decoration: none; line-height: 1.15;
}
.marke span { display: block; font-family: var(--sans); font-weight: 400;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tinte-hell); margin-top: 3px; }

.menue { display: flex; gap: 26px; list-style: none; }
.menue a {
  color: var(--tinte); text-decoration: none; font-size: 15.5px;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.menue a:hover { border-bottom-color: var(--linie); color: var(--tinte); }
.menue a[aria-current="page"] { border-bottom-color: var(--gelb); font-weight: 700; }

.menue-schalter {
  display: none; background: var(--weiss); border: 1px solid var(--linie);
  color: var(--tinte); font: 600 14px/1 var(--sans); padding: 11px 16px;
  border-radius: 2px; cursor: pointer; gap: 9px; align-items: center;
}
.menue-schalter svg { width: 16px; height: 16px; }

/* ---------- 5b. Hinweisband (Urlaub, Feiertag) ---------------------------
   Wird vom Server eingesetzt, sobald in der Verwaltung ein Hinweis aktiv ist. */
.hinweisband {
  background: var(--rot); color: #fff;
  font-size: 15.5px; padding-block: 11px;
}
.hinweisband .bahn { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hinweisband-marke {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; background: rgba(255,255,255,.22);
  padding: 3px 9px; border-radius: 2px;
}

/* ---------- 6. Hero ------------------------------------------------------ */
/* Bild und Text liegen als Raster übereinander in derselben Zelle. Dadurch
   ist der Hero mindestens so hoch wie das Bild, wächst aber mit, wenn der
   Text mehr Platz braucht — sonst lief die Überschrift oben aus dem Bild
   heraus und wurde von der Kopfzeile abgeschnitten. */
.hero {
  position: relative; overflow: hidden; background: var(--tinte);
  display: flex; min-height: clamp(320px, 44vw, 460px);
}
.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; filter: saturate(.93);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(102deg, rgba(18,29,53,.90) 0%, rgba(18,29,53,.62) 46%, rgba(18,29,53,.10) 100%);
}
.hero-text {
  position: relative; z-index: 2;
  /* kein flex-grow: sonst zieht sich der Text über die ganze Breite
     und steht nicht mehr über derselben Mittelachse wie der Rest. */
  flex: 0 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding-inline: var(--rand);
  /* oben etwas Luft, unten Platz für die Karteikarte, die hineinragt */
  padding-block: 34px 58px;
  width: min(100%, var(--breite)); margin-inline: auto;
}
.hero-text > div { max-width: 42ch; }
.hero-text h1 { color: #fff; font-size: clamp(32px, 5.2vw, 58px); margin-bottom: 14px; }
.hero-text h1 em { font-style: italic; font-weight: 400; color: var(--gelb); }
.hero-text p { color: #D9E1F0; font-size: clamp(15.5px, 1.7vw, 18px); }
.hero .mark { color: var(--gelb); }

/* Kopf für Unterseiten */
.seitenkopf { padding-block: clamp(38px, 6vw, 62px) 0; }
.seitenkopf h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 14px; }

/* ---------- 7. Karteikarte mit den wichtigsten Angaben ------------------- */
.karteikarte {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--weiss);
  border: 1px solid var(--linie); border-left: 5px solid var(--rot);
  box-shadow: 0 12px 34px rgba(22, 35, 63, .10);
  position: relative; z-index: 3;
}
/* Unter dem Bild der Startseite ragt die Karte bewusst in die Bühne hinein.
   Auf den Unterseiten steht darüber Fließtext — dort braucht sie Abstand,
   sonst rutscht sie über die letzte Zeile. */
.hero + .bahn > .karteikarte { margin-top: -48px; }
.seitenkopf + .bahn > .karteikarte { margin-top: clamp(30px, 4.5vw, 46px); }
.karteikarte > div { padding: 20px 24px; border-right: 1px solid var(--linie); }
.karteikarte > div:last-child { border-right: 0; }
.karteikarte dt {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tinte-hell); font-weight: 700; margin-bottom: 9px;
}
.karteikarte dd { margin: 0; font-size: 15.5px; line-height: 1.6; }

.zeitzeile { display: flex; justify-content: space-between; gap: 14px; }
.zeitzeile + .zeitzeile { margin-top: 4px; }
.zeitzeile span:first-child { color: var(--tinte-hell); }

/* ---------- 8. Knöpfe ---------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--tinte); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15.5px; padding: 13px 24px;
  border: 2px solid var(--tinte); border-radius: 2px;
  transition: background .18s ease, color .18s ease;
}
.knopf:hover { background: #223257; color: #fff; }
.knopf--rot { background: var(--rot); border-color: var(--rot); }
.knopf--rot:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; }
.knopf--leer { background: transparent; color: var(--tinte); border-color: var(--linie); }
.knopf--leer:hover { background: var(--weiss); color: var(--tinte); border-color: var(--tinte); }

.textlink {
  display: inline-block; font-weight: 700; font-size: 14.5px;
  color: var(--rot-dunkel); text-decoration: none;
  border-bottom: 2px solid var(--rot); padding-bottom: 1px;
}
.textlink:hover { color: var(--rot); border-bottom-color: var(--rot-dunkel); }

/* ---------- 9. Notizzettel ----------------------------------------------- */
.notiz {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--papier-tief); border: 1px solid var(--linie);
  padding: 24px 28px; max-width: 780px; margin-inline: auto;
}
.notiz .kennung { font-family: var(--hand); font-size: 30px; color: var(--rot); line-height: 1; flex-shrink: 0; }
.notiz h2, .notiz h3 { font-size: 21px; margin-bottom: 5px; }
.notiz p { color: var(--tinte-hell); font-size: 15.5px; }

/* ---------- 10. Leistungen auf Linienpapier ------------------------------ */
/* Die Zeilenhöhe ist bewusst 28px, damit der Text auf den Linien sitzt. */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); }
.leistungen > div {
  padding: 28px 26px 28px; border-right: 1px solid var(--linie);
  background: repeating-linear-gradient(to bottom, transparent 0 27px, var(--linie) 27px 28px);
  background-origin: content-box; background-clip: content-box;
}
.leistungen > div:last-child { border-right: 0; }
.leistungen--kasten { background: var(--weiss); border: 1px solid var(--linie); }
.leistungen h3 { font-size: 20px; line-height: 28px; margin: 0; }
.leistungen .titelzeile { margin: 0 0 28px; }
.leistungen p { font-size: 15px; line-height: 28px; color: var(--tinte-hell); }

/* ---------- 11. Sortiment als Inhaltsverzeichnis ------------------------- */
.verzeichnis { list-style: none; }
.verzeichnis li { border-bottom: 1px solid var(--linie); }
.verzeichnis a {
  display: grid; grid-template-columns: 136px 1fr auto;
  gap: 26px; align-items: center; padding: 16px 0;
  text-decoration: none; color: var(--tinte);
}
.verzeichnis img { width: 136px; height: 98px; object-fit: cover; }
.verzeichnis h3 { font-size: 21px; margin-bottom: 3px; }
.verzeichnis p { font-size: 15px; color: var(--tinte-hell); }
.verzeichnis .pfeil { font-size: 14px; font-weight: 700; color: var(--rot-dunkel); white-space: nowrap; }
.verzeichnis a:hover h3 { color: var(--rot-dunkel); }

/* ---------- 12. Bereichs-Abschnitte (Sortimentsseite) -------------------- */
.bereich {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 56px); align-items: center;
  padding-block: clamp(34px, 5vw, 52px);
  border-bottom: 1px solid var(--linie);
}
.bereich:last-of-type { border-bottom: 0; }
.bereich img { width: 100%; height: clamp(260px, 34vw, 380px); object-fit: cover; }
.bereich h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 12px; }
.bereich p { color: var(--tinte-hell); margin-bottom: 14px; }
.bereich:nth-of-type(even) figure { order: 2; }
.stichworte { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.stichworte li {
  font-size: 13.5px; background: var(--weiss); border: 1px solid var(--linie);
  padding: 5px 12px; border-radius: 2px; color: var(--tinte-hell);
}

/* ---------- 13. Bildraster ----------------------------------------------- */
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.raster--vier { grid-template-columns: repeat(4, 1fr); }
.raster img { width: 100%; height: 240px; object-fit: cover; }
.raster figcaption { font-size: 13.5px; color: var(--tinte-hell); margin-top: 8px; }

/* ---------- 14. Unikate -------------------------------------------------- */
.unikate-teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
.unikate-teaser h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.unikate-teaser h2 em { font-style: italic; font-weight: 400; color: var(--gelb); }
.unikate-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unikate-bilder img { width: 100%; height: 200px; object-fit: cover; }

/* ---------- 15. Fragen (Akkordeon ohne JavaScript) ----------------------- */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0;
  font-family: var(--serif); font-weight: 600; font-size: 19px; position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--rot); line-height: 1;
}
.fragen details[open] summary::after { content: "–"; }
.fragen .antwort { padding: 0 40px 20px 0; color: var(--tinte-hell); }

/* ---------- 16. Lotto ---------------------------------------------------- */
.spielschein {
  display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
  background: var(--weiss); border: 2px solid var(--tinte); padding: 28px 32px;
}
.spielschein h2, .spielschein h3 { font-size: clamp(21px, 2.6vw, 26px); margin-bottom: 8px; }
.spielschein p { color: var(--tinte-hell); font-size: 15.5px; }
.tippfeld { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.tippfeld i { width: 22px; height: 22px; border: 1px solid var(--linie); display: block; }
.tippfeld i.getippt { background: var(--rot); border-color: var(--rot); }

.jackpots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jackpot {
  background: var(--tinte); color: #fff; padding: 26px 28px; border-radius: 2px;
  border-left: 5px solid var(--gelb);
}
.jackpot span {
  display: block; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: #9FB0CE; margin-bottom: 8px;
}
.jackpot b { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 42px); color: var(--gelb); line-height: 1; }
.jackpot small { display: block; margin-top: 10px; font-size: 13px; color: #9FB0CE; }

.hinweis-18 {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid var(--linie); background: var(--weiss);
  padding: 16px 20px; font-size: 14px; color: var(--tinte-hell);
}
.hinweis-18 b {
  flex-shrink: 0; width: 44px; height: 44px; border: 2px solid var(--rot);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--rot); font-family: var(--serif); font-size: 15px;
}

/* ---------- 17. Über mich ------------------------------------------------ */
.vorstellung { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.vorstellung img { width: 100%; height: 420px; object-fit: cover; border: 1px solid var(--linie); }
.vorstellung h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.vorstellung p { color: var(--tinte-hell); margin-bottom: 13px; }
.unterschrift { font-family: var(--hand); font-size: 32px; color: var(--rot); }

.gruende { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gruende h3 { font-size: 20px; margin-bottom: 0; }
.gruende .titelzeile { margin-bottom: 8px; }
.gruende p { color: var(--tinte-hell); font-size: 15.5px; }
.gruende .zahl {
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  color: var(--rot); display: block; margin-bottom: 10px;
  border-top: 2px solid var(--rot); padding-top: 10px; width: 30px;
}

/* ---------- 17b. Symbole vor Überschriften ------------------------------- */
/* Die Symbole liegen als SVG in der Seite. Sie stehen neben der Überschrift,
   nicht darin — so bleibt der Titel in der Verwaltung frei änderbar.
   Die Höhe der Zeile bleibt bei 28px, damit der Text in den Leistungs-Kacheln
   weiter genau auf den Linien des Papiers sitzt. */
.titelzeile { display: flex; align-items: center; gap: 10px; }
.titelzeile > * { margin: 0; }
.symbol { width: 24px; height: 24px; flex: none; display: block; }
.leistungen .symbol { width: 22px; height: 22px; }

/* ---------- 18. Kontaktseite --------------------------------------------- */
.kontaktkarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--linie); background: var(--weiss); }
.kontaktkarten > div { padding: 28px 26px; border-right: 1px solid var(--linie); }
.kontaktkarten > div:last-child { border-right: 0; }
.kontaktkarten h2 {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--tinte-hell); font-weight: 700; margin-bottom: 12px;
}
.kontaktkarten p, .kontaktkarten li { font-size: 16px; line-height: 1.65; }
.kontaktkarten ul { list-style: none; }

.oeffnungstabelle { width: 100%; border-collapse: collapse; }
.oeffnungstabelle th, .oeffnungstabelle td {
  text-align: left; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: 16px;
}
.oeffnungstabelle th { font-weight: 400; color: var(--tinte-hell); }
.oeffnungstabelle td { text-align: right; font-variant-numeric: tabular-nums; }
.oeffnungstabelle tr.heute th, .oeffnungstabelle tr.heute td { font-weight: 700; color: var(--tinte); }
.oeffnungstabelle tr.heute th::before { content: "› "; color: var(--rot); }

/* ---------- 19. Rechtstexte ---------------------------------------------- */
.rechtstext { max-width: 68ch; }
.rechtstext h2 { font-size: 22px; margin: 34px 0 10px; }
.rechtstext h3 { font-size: 18px; margin: 24px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--tinte-hell); margin-bottom: 12px; }
.rechtstext ul { padding-left: 22px; list-style: disc; }
.rechtstext address { font-style: normal; color: var(--tinte); }

/* ---------- 20. Fußzeile ------------------------------------------------- */
.fusszeile { background: var(--tinte); color: #C3CEE3; margin-top: auto; padding-block: 46px 28px; }
.fusszeile .spalten { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.fusszeile h2 {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gelb); font-weight: 700; margin-bottom: 12px;
}
.fusszeile .name { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 8px; }
.fusszeile ul { list-style: none; font-size: 15px; line-height: 1.8; }
.fusszeile a { color: #C3CEE3; text-decoration: none; border-bottom: 1px solid #33456C; }
.fusszeile a:hover { color: #fff; border-bottom-color: var(--gelb); }
.fusszeile .schluss {
  border-top: 1px solid #2B3B5E; margin-top: 30px; padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #8B9AB8;
}
.fusszeile .schluss a { border-bottom: 0; color: #8B9AB8; }
.fusszeile .schluss a:hover { color: #fff; }

/* ---------- 21. Fehlerseite ---------------------------------------------- */
.fehler { text-align: center; padding-block: clamp(60px, 12vw, 120px); }
.fehler .nummer { font-family: var(--hand); font-size: clamp(80px, 18vw, 150px); color: var(--rot); line-height: 1; }

/* ---------- 22. Responsive ----------------------------------------------- */
@media (max-width: 900px) {
  body { font-size: 16.5px; }

  .menue-schalter { display: inline-flex; }
  .menue {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--weiss);
    border-bottom: 1px solid var(--linie); box-shadow: 0 14px 30px rgba(22,35,63,.10);
    padding: 8px var(--rand) 16px; z-index: 40;
  }
  .navigation { position: relative; }
  .navigation[data-offen="ja"] .menue { display: flex; }
  .menue li { border-bottom: 1px solid var(--linie); }
  .menue li:last-child { border-bottom: 0; }
  .menue a { display: block; padding: 14px 0; border-bottom: 0; font-size: 17px; }
  .menue a[aria-current="page"] { color: var(--rot-dunkel); }

  .karteikarte { grid-template-columns: 1fr; border-left-width: 5px; }
  .hero + .bahn > .karteikarte { margin-top: 0; }
  .seitenkopf + .bahn > .karteikarte { margin-top: 26px; }
  .karteikarte > div { border-right: 0; border-bottom: 1px solid var(--linie); }
  .karteikarte > div:last-child { border-bottom: 0; }

  .leistungen, .gruende, .raster, .raster--vier,
  .jackpots, .kontaktkarten, .fusszeile .spalten { grid-template-columns: 1fr; }
  .leistungen > div { border-right: 0; border-bottom: 1px solid var(--linie); }
  .leistungen > div:last-child { border-bottom: 0; }
  .kontaktkarten > div { border-right: 0; border-bottom: 1px solid var(--linie); }
  .kontaktkarten > div:last-child { border-bottom: 0; }

  .bereich, .unikate-teaser, .vorstellung, .spielschein { grid-template-columns: 1fr; }
  .bereich:nth-of-type(even) figure { order: 0; }
  .vorstellung img { height: 330px; }
  .spielschein { justify-items: start; }

  .raster img { height: 210px; }

  .verzeichnis a { grid-template-columns: 96px 1fr; gap: 18px; }
  .verzeichnis img { width: 96px; height: 76px; }
  .verzeichnis .pfeil { grid-column: 2; }

  .kopfzeile { flex-direction: column; align-items: flex-start; gap: 6px; }
  .kopfzeile .beiwort { text-align: left; }
}

@media (max-width: 560px) {
  .raster { grid-template-columns: 1fr 1fr; }
  .raster img { height: 150px; }
  .unikate-bilder img { height: 150px; }
  .notiz { flex-direction: column; gap: 10px; }
}

/* ---------- 23. Druck ---------------------------------------------------- */
@media print {
  .navigation, .fusszeile, .hero::after { display: none; }
  body { background: #fff; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
}

/* ==========================================================================
   24. Bausteine für die Unikate-Ausrichtung
   ========================================================================== */

/* ---- Knopfreihen -------------------------------------------------------- */
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.knopf--gruen { background: #17835A; border-color: #17835A; }
.knopf--gruen:hover { background: #126847; border-color: #126847; color: #fff; }
.knopf svg { flex-shrink: 0; }

/* Kontaktknöpfe, deren Nummer noch fehlt — vor dem Livegang eintragen */
[data-fehlt] { position: relative; }
[data-fehlt]::after {
  content: "Nummer fehlt"; position: absolute; top: -10px; right: -8px;
  background: var(--rot); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; padding: 2px 7px; border-radius: 2px;
}

/* ---- Größerer Hero für die Startseite ----------------------------------- */

/* ---- Anlässe ------------------------------------------------------------ */
.anlassraster {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.anlass { text-decoration: none; color: var(--tinte); display: block; }
.anlass img {
  width: 100%; height: 190px; object-fit: cover;
  border: 1px solid var(--linie); transition: filter .25s ease;
}
.anlass:hover img { filter: brightness(1.05) saturate(1.05); }
.anlass span { display: block; padding-top: 12px; }
.anlass b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.anlass em {
  display: block; font-style: normal; font-size: 14px;
  color: var(--rot-dunkel); font-weight: 700; margin-top: 3px;
}
.anlass:hover b { color: var(--rot-dunkel); }

/* ---- Galerie ------------------------------------------------------------ */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stueck { background: var(--weiss); border: 1px solid var(--linie); }
.stueck img { width: 100%; height: 280px; object-fit: cover; }
.stueck figcaption {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 14px 16px 16px;
}
.stueck b { font-family: var(--serif); font-size: 17.5px; font-weight: 600; }
.stueck .preis {
  font-size: 14px; font-weight: 700; color: var(--rot-dunkel); white-space: nowrap;
}

/* ---- Bibliothek: Galerie in Aufklappern --------------------------------- */
/* Reines <details>, damit die Sammlung auch ohne JavaScript aufgeht. Die
   Gruppen sitzen auf derselben Linie wie die Fragen weiter unten. */
.bibliothek { border-top: 1px solid var(--linie); }
.bibliothek .gruppe { border-bottom: 1px solid var(--linie); }
.bibliothek summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 44px 18px 0;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.bibliothek summary::-webkit-details-marker { display: none; }
.bibliothek summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 24px; font-weight: 400;
  color: var(--rot); line-height: 1;
}
.bibliothek details[open] > summary::after { content: "\2013"; }
.gruppe-name { font-family: var(--serif); font-weight: 600; font-size: 21px; }
.gruppe-anzahl {
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tinte-hell); font-weight: 700;
}
.bibliothek .galerie { padding-bottom: 26px; }
.gruppe-rest { border-top: 1px dashed var(--linie); }
.gruppe-rest > summary { padding: 16px 44px 16px 0; }
.gruppe-rest > summary { font-family: var(--sans); font-size: 14.5px;
  font-weight: 700; color: var(--rot-dunkel); }

/* ---- Richtpreise -------------------------------------------------------- */
.preise { width: 100%; border-collapse: collapse; }
.preise caption {
  text-align: left; font-size: 14px; color: var(--tinte-hell);
  padding-bottom: 12px; caption-side: top;
}
.preise th, .preise td {
  padding: 13px 0; border-bottom: 1px solid var(--linie);
  font-weight: 400; text-align: left; font-size: 16.5px;
}
.preise th a { color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--linie); }
.preise th a:hover { color: var(--rot-dunkel); border-bottom-color: var(--rot); }
.preise td { text-align: right; font-weight: 700; color: var(--rot-dunkel); }

.preisschild {
  display: inline-block; margin-top: 16px;
  font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--rot-dunkel);
  border: 2px solid var(--rot); border-radius: 2px; padding: 6px 16px;
}

/* ---- Zweispaltiger Abschnitt -------------------------------------------- */
.zweispalt {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.zweispalt img { width: 100%; height: clamp(240px, 30vw, 340px); object-fit: cover; }

/* ---- Schlussaufruf ------------------------------------------------------ */
.schlussruf { text-align: center; }
.schlussruf h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.schlussruf p { max-width: 52ch; margin-inline: auto; }
.schlussruf .knopfreihe { justify-content: center; }
.klein--hell { color: #93A2C0 !important; font-size: 13.5px; margin-top: 22px; }

/* ---- Vierspaltige Fußzeile ---------------------------------------------- */
.spalten--vier { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.fusszeile .spalten--vier a { border-bottom: 0; }
.fusszeile .spalten--vier a:hover { border-bottom: 1px solid var(--gelb); }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .anlassraster { grid-template-columns: repeat(3, 1fr); }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .spalten--vier { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .zweispalt { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .anlassraster { grid-template-columns: 1fr 1fr; }
  .anlass img { height: 150px; }
  .galerie { grid-template-columns: 1fr; }
  .stueck img { height: 240px; }
  .spalten--vier { grid-template-columns: 1fr; }
  .knopfreihe .knopf { flex: 1 1 100%; justify-content: center; }
}

/* Umriss-Knöpfe auf dunklem Grund: sonst steht dunkelblauer Text auf
   dunkelblauem Grund und der Knopf verschwindet. */
.hero .knopf--leer,
.buehne .knopf--leer,
.block--tinte .knopf--leer {
  color: #fff; border-color: rgba(255,255,255,.65);
  /* Dunkler Grund statt nur Transparenz: sonst verschwindet der Umriss,
     sobald hinter dem Knopf eine helle Stelle des Fotos liegt. */
  background: rgba(18,29,53,.55);
  backdrop-filter: blur(2px);
}
.hero .knopf--leer:hover,
.buehne .knopf--leer:hover,
.block--tinte .knopf--leer:hover {
  color: var(--tinte); background: #fff; border-color: #fff;
}

/* ==========================================================================
   25. Hero auf schmalen Bildschirmen
   Der Hero hatte eine feste Höhe und den Text absolut darin positioniert.
   Auf dem Handy ist der Text aber höher als das Bild — Überschrift und
   Knöpfe liefen unten heraus. Ab hier wächst der Hero mit seinem Inhalt:
   das Bild liegt als Fläche dahinter, der Text steht im normalen Fluss.
   ========================================================================== */
@media (max-width: 900px) {
  .hero-text { padding-block: 40px 78px; }
  .hero-text > div { max-width: none; }
}

/* Die Markierung fehlender Nummern darf nicht über den Rand hinausragen. */
[data-fehlt]::after { right: 0; }
@media (max-width: 620px) {
  [data-fehlt]::after { top: -9px; right: 4px; font-size: 9.5px; padding: 2px 6px; }
}

/* Kopfzeile: der lange Ladenname bekommt auf schmalen Geräten weniger
   Schriftgröße, damit Name und Zeile darunter nicht dreizeilig werden. */
@media (max-width: 620px) {
  .marke { font-size: 16.5px; line-height: 1.2; }
  .marke span { font-size: 10px; letter-spacing: .1em; margin-top: 4px; }
  .navigation .bahn { align-items: flex-start; gap: 12px; }
  .menue-schalter { flex-shrink: 0; }
}

/* ==========================================================================
   26. Die Unikate-Bühne
   Ein Abschnitt statt vieler: Die Startseite behält ihren gewohnten Aufbau,
   und die handgemachten Geschenke bekommen an einer Stelle so viel Gewicht,
   dass man beim Scrollen hängenbleibt.
   ========================================================================== */
.buehne {
  background: var(--tinte);
  color: #E4EAF4;
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 88px);
}
/* Warmer Lichtschein hinter der Bildseite — gibt dem Block Tiefe,
   ohne dass ein zweites Bild geladen werden muss. */
.buehne::before {
  content: "";
  position: absolute; top: -30%; right: -10%;
  width: 70%; height: 160%;
  background: radial-gradient(closest-side, rgba(227,167,47,.20), transparent 70%);
  pointer-events: none;
}
.buehne > .bahn { position: relative; z-index: 1; }

.buehne-innen {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.buehne h2 {
  color: #fff; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 16px;
}
.buehne h2 em { font-style: italic; font-weight: 400; color: var(--gelb); }
.buehne p { color: #C3CEE3; font-size: clamp(16px, 1.8vw, 18.5px); }
.buehne .preiszeile {
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px);
  color: var(--gelb); margin-top: 18px;
}

/* Bildwand: ein großes Stück, drei kleinere daneben. */
.buehne-bilder {
  display: grid; grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.buehne-bilder img {
  width: 100%; height: 100%; object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.buehne-bilder a, .buehne-bilder figure { margin: 0; overflow: hidden; }
.buehne-bilder > *:first-child { grid-row: span 2; }
.buehne-bilder > * { overflow: hidden; min-height: 168px; }
.buehne-bilder > *:first-child { min-height: 348px; }
@media (hover: hover) {
  .buehne-bilder > *:hover img { transform: scale(1.04); }
}

/* Die Anlässe als schmales Band unter der Bühne — sie gehören zu den
   Unikaten, sollen aber keinen eigenen Abschnitt beanspruchen. */
.anlassband {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255,255,255,.16);
}
.anlassband > span {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #93A2C0; align-self: center; margin-right: 8px;
}
.anlassband a {
  display: inline-flex; align-items: baseline; gap: 9px;
  border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
  padding: 9px 18px; text-decoration: none; color: #fff; font-size: 15.5px;
  transition: background .18s, border-color .18s;
}
.anlassband a:hover { background: rgba(255,255,255,.10); border-color: var(--gelb); color: #fff; }
.anlassband a b { font-weight: 500; }
.anlassband a em { font-style: normal; font-size: 13px; color: var(--gelb); }

@media (max-width: 900px) {
  .buehne-innen { grid-template-columns: 1fr; }
  .buehne-bilder { grid-template-columns: 1fr 1fr; }
  .buehne-bilder > *:first-child { grid-row: span 2; min-height: 260px; }
  .buehne-bilder > * { min-height: 124px; }
}
@media (max-width: 560px) {
  .buehne-bilder { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .buehne-bilder > *:first-child { grid-row: span 1; grid-column: span 2; min-height: 230px; }
  .buehne-bilder > * { min-height: 130px; }
  .anlassband a { flex: 1 1 100%; justify-content: space-between; }
}

/* Muster-Widerrufsformular in den AGB */
.rechtstext .formular {
  margin: 18px 0 6px; padding: 22px 24px;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--rot);
}
.rechtstext .formular p { margin-bottom: 10px; color: var(--tinte); }
.rechtstext .formular p:last-child { margin-bottom: 0; }

/* Die Unterstrich-Zeilen im Muster-Widerrufsformular können nicht umbrechen
   und haben die AGB-Seite auf dem Handy breiter gemacht als den Bildschirm. */
.rechtstext .formular p { overflow-wrap: anywhere; word-break: break-word; }

/* ==========================================================================
   27. Hingucker im Hero
   Ein kleiner angehefteter Verweis auf die Unikate — genug, um neugierig zu
   machen, ohne die Startseite umzubauen. Auf dem Handy rutscht er unter den
   Hero-Text, statt darüber zu liegen.
   ========================================================================== */
.hinkucker {
  position: absolute; z-index: 3;
  right: clamp(20px, 5vw, 48px); bottom: 96px;
  display: flex; align-items: center; gap: 14px;
  width: min(340px, 40vw);
  background: var(--papier); color: var(--tinte); text-decoration: none;
  border: 1px solid var(--linie); border-left: 5px solid var(--rot);
  padding: 12px 18px 12px 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .38);
  transform: rotate(-1.5deg);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.hinkucker:hover, .hinkucker:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
  color: var(--tinte);
}
.hinkucker img {
  width: 78px; height: 78px; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--linie);
}
.hinkucker b {
  display: block; font-family: var(--serif); font-size: 17.5px;
  font-weight: 600; line-height: 1.18;
}
.hinkucker em {
  display: block; font-style: normal; font-size: 13px;
  color: var(--tinte-hell); margin-top: 4px; line-height: 1.35;
}
.hinkucker i {
  display: block; font-style: normal; font-size: 13px; font-weight: 700;
  color: var(--rot-dunkel); margin-top: 7px;
}

@media (max-width: 900px) {
  .hinkucker {
    position: relative; right: auto; bottom: auto;
    width: auto; margin-top: 24px; transform: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  }
  .hinkucker:hover, .hinkucker:focus-visible { transform: translateY(-2px); }
}

/* Sprungziele (/laden#lotto und die Sortiments-Anker) sollen nicht direkt an
   der Oberkante kleben — und schon gar nicht unter dem Hinweisband landen. */
[id] { scroll-margin-top: 24px; }
.bereich[id], section[id] { scroll-margin-top: 32px; }

/* Ausgeschaltete Anlässe: das hidden muss auch gegen flex und grid gewinnen. */
[hidden] { display: none !important; }

/* ===========================================================================
   28. Bild groß ansehen
   Klick auf ein Galeriebild öffnet es formatfüllend über der Seite.
   =========================================================================== */
.lupe { cursor: zoom-in; }
.lupe:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }

html.bild-offen { overflow: hidden; }

.grossbild {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 17, 32, .92);
  animation: einblenden .16s ease-out;
}
.grossbild[hidden] { display: none; }
.grossbild-pfeil[hidden] { display: none; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

.grossbild-innen {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  gap: 14px; max-width: 100%; max-height: 100%;
}
.grossbild-innen img {
  display: block; max-width: min(1000px, 92vw); max-height: 78vh;
  width: auto; height: auto; border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  background: var(--papier);
}
.grossbild-innen figcaption {
  color: #F3EFE6; font-family: var(--serif); font-size: 17px;
  text-align: center; max-width: 44ch; line-height: 1.4;
}

.grossbild-schliessen,
.grossbild-pfeil {
  position: absolute; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff; cursor: pointer;
  border-radius: 999px; line-height: 1;
  transition: background .15s ease, transform .15s ease;
}
.grossbild-schliessen:hover,
.grossbild-pfeil:hover { background: rgba(255, 255, 255, .26); }
.grossbild-schliessen:focus-visible,
.grossbild-pfeil:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

.grossbild-schliessen {
  top: 16px; right: 16px; width: 46px; height: 46px; font-size: 30px;
  padding-bottom: 4px;
}
.grossbild-pfeil {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; font-size: 34px; padding-bottom: 6px;
}
.grossbild-zurueck { left: 12px; }
.grossbild-weiter { right: 12px; }
.grossbild-pfeil:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 620px) {
  .grossbild-innen img { max-height: 66vh; }
  .grossbild-pfeil { width: 44px; height: 44px; font-size: 28px; }
  .grossbild-zurueck { left: 4px; }
  .grossbild-weiter { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .grossbild { animation: none; }
  .grossbild-pfeil:hover { transform: translateY(-50%); }
}
