/* ==========================================================================
   Hintes Glühweingarten, Version 2: base.css (Design-System)
   Besitzer: T-A. Seitenspezifisches CSS steht in den Dateien index.css,
   karte.css usw., Selektoren unter .p-index, .p-karte ... (kein ID-Selektor).
   Inhalt: 1 Tokens, 2 Schriften, 3 Reset, 4 Typografie, 5 Layout, 6 Utilities,
   7 Links und Fokus, 8 Kopfzeile und Menue, 9 Mobiler Button, 10 Fusszeile,
   11 Buttons, 12 Formulare, 13 Advent-Leiste, 14 Reduzierte Bewegung
   ========================================================================== */

/* 1 Tokens --------------------------------------------------------------- */
:root {
  --bg: #14100e;
  --bg-2: #1d1714;
  --bg-3: #2a211c;
  --line: #3d312a;
  --text: #f3e9d8;
  --muted: #c2b3a1;
  --dim: #958679;
  --error: #e0565e;
  --accent: #b3202a;
  --accent-hover: #951a22;
  --on-accent: #fff8ee;
  --gold: #d9b46a;
  --paper: #f3e9d8;
  --ink: #1d1714;
  --ink-muted: #5a4a40;
  --paper-line: #cdbfa8;
  --scrim: linear-gradient(180deg, rgb(20 16 14 / 0) 25%, rgb(20 16 14 / .6) 55%, rgb(20 16 14 / .92) 100%);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
  --step-0: clamp(1.0625rem, 1rem + .25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.125rem);
  --step-3: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --step-4: clamp(2.375rem, .9rem + 7.4vw, 4rem);
  --step-5: clamp(2.5rem, 1.4rem + 5vw, 6.5rem);

  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section: clamp(3rem, 2rem + 4vw, 6rem);
  --gap: clamp(1rem, .5rem + 1.6vw, 2rem);

  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1520px;
  --header-h: 60px;
  --cta-h: calc(76px + env(safe-area-inset-bottom));
  --radius: 4px;

  color-scheme: dark;
}

@media (min-width: 900px) {
  :root { --step-4: min(8.5rem, 4.6vw); }
}

@media (min-width: 960px) {
  :root { --header-h: 72px; }
}

/* 2 Schriften ------------------------------------------------------------ */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Metrik-angepasste Ersatzschriften gegen Layoutsprung */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 25%;
}

@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  size-adjust: 102%;
  ascent-override: 95%;
  descent-override: 25%;
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  font-optical-sizing: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { display: block; flex: 1 0 auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

table { border-collapse: collapse; }

::selection { background: var(--accent); color: var(--on-accent); }

/* 4 Typografie ----------------------------------------------------------- */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1.05;
}

h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -.01em;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step-1);
  line-height: 1.25;
}

p { max-width: 68ch; }

small { font-size: var(--step--1); font-weight: 500; }

strong, b { font-weight: 700; }

.price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 5 Layout --------------------------------------------------------------- */
.page {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] min(100% - 2 * var(--gutter), var(--max))
    [content-end] minmax(var(--gutter), 1fr) [full-end];
  align-content: start;
}

.page > * { grid-column: content; }
.page > .bleed { grid-column: full; }

.grid12 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
}

.grid12 > * { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .grid12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.bar {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* 6 Utilities ------------------------------------------------------------ */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  overflow: hidden; /* bewusste Ausnahme: sonst verbreitern sr-Texte die Seite */
  border: 0;
}

.skip {
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--text);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-300%);
}

.skip:focus { transform: none; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { margin-top: var(--s-7); }
.prose h2 + * { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--s-2); }

.toc-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}


/* 7 Links und Fokus ------------------------------------------------------ */
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

a:hover { text-decoration-color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.menu-paper { color: var(--ink); }
.menu-paper a { color: var(--ink); }
.menu-paper :focus-visible { outline-color: var(--ink); }

/* 8 Kopfzeile und Menue -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: calc(var(--header-h) - 1px);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.1;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  white-space: nowrap;
}

@media (max-width: 379.98px) {
  .wordmark__long {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    overflow: hidden;
  }
}

.wordmark__long::before { content: "\00a0"; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 var(--s-4);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.menu-toggle:hover { background: var(--bg-3); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}

.site-nav__meta { color: var(--muted); font-size: var(--step--1); }
.site-nav__meta a { display: inline-flex; color: var(--muted); text-decoration: underline; text-decoration-color: var(--accent); }

/* Nur html sperren: overflow:hidden auch auf body machte body zum Scrollcontainer, die sticky Kopfzeile lief dann mit der Seite weg. */
html.menu-open { overflow: hidden; }

/* mobil, mit JavaScript: Menuefeld */
@media (max-width: 959.98px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }

  .js .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 60;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--s-6) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  }

  .js .site-nav li { border-bottom: 1px solid var(--line); }
  .js .site-nav li:first-child { border-top: 1px solid var(--line); }

  .js .site-nav li a {
    min-height: 56px;
    font-weight: 700;
    font-size: clamp(1.625rem, 8vw, var(--step-3));
    line-height: 1.15;
    padding-block: var(--s-2);
  }

  .js .site-nav__meta { margin-top: var(--s-6); }

  /* mobil, ohne JavaScript: waagerechte Zeile unter der Leiste */
  .no-js .site-header .bar { flex-wrap: wrap; row-gap: 0; }
  .no-js .site-nav { flex: 1 0 100%; order: 3; min-width: 0; }
  .no-js .site-nav ul { display: flex; gap: var(--s-5); overflow-x: auto; white-space: nowrap; }
  .no-js .site-nav li { flex: 0 0 auto; }
  .no-js .site-nav__meta { display: none; }
}

@media (min-width: 960px) {
  .site-nav__meta { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: var(--s-6); }
}

/* 9 Mobiler Button unten ------------------------------------------------- */
body.has-cta { padding-bottom: var(--cta-h); }

.mobile-cta {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
}

@media (min-width: 960px) {
  body.has-cta { padding-bottom: 0; }
}

/* 10 Fusszeile ----------------------------------------------------------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: var(--s-7);
  font-size: var(--step--1);
  color: var(--muted);
}

.site-footer__grid { display: grid; gap: var(--s-5); }

.site-footer p { max-width: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  font-size: var(--step-0);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }

.site-footer__name { line-height: 1.7; font-size: var(--step-0); }
.site-footer__wordmark { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--text); }
.site-footer__fine { font-size: var(--step--1); }

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .site-footer__name { grid-column: 1 / 5; }
  .site-footer__contact { grid-column: 5 / 9; }
  .site-footer nav { grid-column: 9 / 13; }
  .site-footer__fine { grid-column: 1 / -1; }
  .site-footer a { min-height: 44px; }
}

/* 11 Buttons ------------------------------------------------------------- */
.btn, .mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.btn:hover, .mobile-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* nach der gemeinsamen Regel oben, sonst gewinnt deren min-height: 48px */
.mobile-cta { min-height: 52px; }

html.menu-open .mobile-cta { display: none; }

@media (min-width: 960px) {
  .mobile-cta { display: none; }
}

.btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--muted);
}

.btn--quiet:hover { background: var(--bg-3); border-color: var(--muted); }

/* 12 Formulare ----------------------------------------------------------- */
input, select, textarea {
  appearance: none;
  -webkit-appearance: none;
  font-size: max(16px, var(--step-0));
  min-height: 48px;
  width: 100%;
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--dim);
  border-radius: var(--radius);
  padding: .65rem .85rem;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }

input[type="date"] { display: block; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.9); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f3e9d8' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}

input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  margin: 0;
  accent-color: var(--accent);
}

input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--gold); }
/* 2px statt 1px: Polster um 1px verringert, damit sich nichts verschiebt */
input:user-invalid:not([type="checkbox"]), select:user-invalid, textarea:user-invalid { border-color: var(--error); border-width: 2px; padding: calc(.65rem - 1px) calc(.85rem - 1px); }

label { display: block; font-weight: 600; }

.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field label { margin: 0; }

.hint { color: var(--muted); font-size: var(--step--1); font-weight: 500; }

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  min-height: 48px;
}

.check label { font-weight: 400; cursor: pointer; }

.form-status {
  padding: var(--s-4);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-status.ok { border-left: 3px solid var(--gold); }
.form-status.warn { border-left: 3px solid var(--accent); }

/* 13 Advent-Leiste "19 Abende" ------------------------------------------- */
.advent { display: grid; gap: var(--s-3); container-type: inline-size; }

.advent__title {
  font-weight: 700;
  font-size: var(--step-0);
  line-height: 1.3;
}

/* Wochengruppen bleiben zusammen: schmal 2 Gruppen pro Zeile (3 Zeilen), breit 3 pro Zeile (Nov, Dez) */
.advent__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: var(--s-3) var(--s-2);
}

@container (min-width: 40rem) {
  .advent__list { grid-template-columns: repeat(3, max-content); column-gap: var(--s-3); }
}

/* feste Spalte fuer die Monatsmarke, damit die Tage aller Gruppen untereinander stehen */
.advent__wk {
  display: grid;
  grid-template-columns: 2.25rem max-content;
  align-items: end;
}

.advent__wk > ol {
  grid-column: 2;
  grid-row: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--s-1);
}

.advent__m {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: .4rem;
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1;
  color: var(--muted);
}

.advent time {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.25rem;
  padding: .25rem .2rem .3rem;
  border-radius: var(--radius);
  line-height: 1.1;
  transition: background-color .16s ease, color .16s ease;
}

/* 320px: kleinere Zellen, damit zwei Gruppen nebeneinander passen */
@media (max-width: 359.98px) {
  .advent__wk { grid-template-columns: 1.75rem max-content; }
  .advent time { min-width: 1.75rem; }
}

.advent__wd {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
}

.advent__d {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-1);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--text);
}

.advent time.is-past .advent__wd,
.advent time.is-past .advent__d { color: var(--dim); }

.advent time.is-next { background: var(--accent); }
.advent time.is-next .advent__wd,
.advent time.is-next .advent__d { color: var(--on-accent); }

/* grosse Bildschirme: groessere Zahlen, damit die Leiste die Spalte fuellt (3 Gruppen pro Zeile, ca. 600px) */
@media (min-width: 1600px) {
  .advent__d { font-size: var(--step-2); }
  .advent time { min-width: 3rem; }
}

.advent__hours {
  max-width: none;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 500;
}

/* 14 Reduzierte Bewegung ------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Sanftes Einblenden beim Scrollen (Klasse .reveal setzt site.js, ohne JS bleibt alles sichtbar) */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }

  /* naechster Oeffnungsabend leuchtet sanft */
  .advent time.is-next { animation: next-glow 3.5s ease-in-out infinite; }
}

@keyframes next-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgb(232 190 110 / 0); }
  50% { box-shadow: 0 0 0 2px rgb(232 190 110 / .7), 0 0 18px rgb(232 190 110 / .5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* 15 Goldene Akzente: warmes, leuchtendes Gold auf allen Seiten ------------- */
:root {
  --gold-hell: #e8be6e;
  --gold-glow: rgb(232 190 110 / .45);
  --gold-linie: linear-gradient(90deg, rgb(232 190 110 / 0), var(--gold) 18%, var(--gold-hell) 50%, var(--gold) 82%, rgb(232 190 110 / 0));
}

/* sanfter warmer Lichtschein oben auf jeder Seite */
body {
  background-image: radial-gradient(1100px 520px at 50% -140px, rgb(232 190 110 / .07), rgb(232 190 110 / 0) 70%);
  background-repeat: no-repeat;
}

/* Seitentitel in leuchtendem Gold */
h1 { color: var(--gold-hell); text-shadow: 0 0 24px rgb(232 190 110 / .28); }

/* Links und Navigation: goldene Unterstreichung, aktive Seite leuchtet */
a { text-decoration-color: var(--gold); }
.site-nav__meta a { text-decoration-color: var(--gold); }
.site-nav a[aria-current="page"] {
  color: var(--gold-hell);
  text-decoration-color: var(--gold-hell);
  text-shadow: 0 0 14px var(--gold-glow);
}

/* feine goldene Lichterkette als Linie unter der Kopfzeile und über der Fusszeile */
.site-header::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-linie);
  opacity: .6;
  pointer-events: none;
}
.site-header::after { bottom: -1px; }
.site-footer { position: relative; border-top-color: transparent; }
.site-footer::before { top: -1px; box-shadow: 0 0 12px 1px rgb(232 190 110 / .35); }

/* Knöpfe: goldener Schein beim Drüberfahren */
.btn:hover, .mobile-cta:hover, .btn:focus-visible { box-shadow: 0 0 0 1px var(--gold-hell), 0 0 24px var(--gold-glow); }
.btn--quiet:hover { border-color: var(--gold); }

/* 16 Leuchtendes Weinrot als zweiter Akzent neben dem Gold ------------------ */
:root {
  --wein: #a3182f;
  --wein-glow: rgb(163 24 47 / .5);
  --wein-linie: linear-gradient(90deg, rgb(163 24 47 / 0), var(--wein) 25%, #c42a3d 50%, var(--wein) 75%, rgb(163 24 47 / 0));
}

/* warmer roter Lichtschein unten links, ergänzt den goldenen oben */
body {
  background-image:
    radial-gradient(1100px 520px at 50% -140px, rgb(232 190 110 / .07), rgb(232 190 110 / 0) 70%),
    radial-gradient(900px 700px at -10% 110%, rgb(163 24 47 / .2), rgb(163 24 47 / 0) 70%),
    radial-gradient(800px 600px at 110% 40%, rgb(163 24 47 / .12), rgb(163 24 47 / 0) 70%);
  background-attachment: scroll, fixed, fixed;
}

/* rote Knöpfe glühen leise */
.btn, .mobile-cta { box-shadow: 0 0 18px var(--wein-glow); }
.btn:hover, .mobile-cta:hover, .btn:focus-visible { box-shadow: 0 0 0 1px var(--gold-hell), 0 0 26px var(--wein-glow), 0 0 40px rgb(232 190 110 / .25); }
.btn--quiet { box-shadow: none; }

/* naechster Abend: rot gefüllt mit rotem und goldenem Schein */
.advent time.is-next { box-shadow: 0 0 16px var(--wein-glow); }

/* Fusszeile: rote Glut unter der goldenen Linie */
.site-footer { background-image: linear-gradient(180deg, rgb(163 24 47 / .22), rgb(163 24 47 / 0) 160px); }

/* mehr Weinrot: Kopfzeilen-Linie rot-gold, Seitentitel mit roter Glut */
.site-header::after { background: linear-gradient(90deg, rgb(163 24 47 / 0), var(--wein) 15%, var(--gold-hell) 50%, var(--wein) 85%, rgb(163 24 47 / 0)); opacity: .8; }
h1 { text-shadow: 0 0 24px rgb(232 190 110 / .28), 0 0 46px rgb(163 24 47 / .35); }

/* 17 Dezente Weihnachtsdetails ---------------------------------------------- */
/* kaum sichtbarer Sternenhimmel im Hintergrund, kleine Punkte und vierzackige Sterne */
body {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg fill='%23e8be6e'%3E%3Ccircle cx='22' cy='34' r='.9' opacity='.16'/%3E%3Ccircle cx='141' cy='18' r='.7' opacity='.12'/%3E%3Ccircle cx='238' cy='96' r='1' opacity='.14'/%3E%3Ccircle cx='96' cy='152' r='.8' opacity='.12'/%3E%3Ccircle cx='190' cy='214' r='.9' opacity='.15'/%3E%3Ccircle cx='38' cy='246' r='.7' opacity='.1'/%3E%3Cpath d='M70 70l1.1 3.4 3.4 1.1-3.4 1.1L70 79l-1.1-3.4-3.4-1.1 3.4-1.1z' opacity='.14'/%3E%3Cpath d='M214 158l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9z' opacity='.12'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1100px 520px at 50% -140px, rgb(232 190 110 / .07), rgb(232 190 110 / 0) 70%),
    radial-gradient(900px 700px at -10% 110%, rgb(163 24 47 / .2), rgb(163 24 47 / 0) 70%),
    radial-gradient(800px 600px at 110% 40%, rgb(163 24 47 / .12), rgb(163 24 47 / 0) 70%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, scroll, fixed, fixed;
}

/* kleiner goldener Stern am Seitentitel, funkelt ganz leise */
.page:not(.p-index) h1::after {
  content: "";
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-left: .3em;
  vertical-align: .55em;
  background: var(--gold-hell);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l1.2 3.8L10 5 6.2 6.2 5 10 3.8 6.2 0 5l3.8-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l1.2 3.8L10 5 6.2 6.2 5 10 3.8 6.2 0 5l3.8-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgb(232 190 110 / .8));
  opacity: .85;
}

/* Abschnittsüberschriften auf Unterseiten: winziger Stern als Auftakt */
.page:not(.p-index) h2:not(.sr)::before {
  content: "\2726";
  margin-right: .4em;
  font-size: .55em;
  vertical-align: .25em;
  color: var(--gold-hell);
  opacity: .55;
}

@media (prefers-reduced-motion: no-preference) {
  .page:not(.p-index) h1::after { animation: stern-funkeln 4.5s ease-in-out infinite; }
}
@keyframes stern-funkeln {
  0%, 100% { opacity: .85; transform: scale(1) rotate(0deg); }
  50% { opacity: .4; transform: scale(.75) rotate(20deg); }
}
/* 18 Flüssig auf dem Handy ---------------------------------------------------- */
/* nächster Abend: Schein liegt fertig auf einer eigenen Ebene, nur die Deckkraft pulsiert */
.advent time.is-next { position: relative; }
.advent time.is-next::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgb(232 190 110 / .7), 0 0 18px rgb(232 190 110 / .5);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .advent time.is-next { animation: none; }
  .advent time.is-next::after { animation: puls-deckkraft 3.5s ease-in-out infinite; will-change: opacity; }
}
@keyframes puls-deckkraft { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* feste Hintergründe zwingen Handys beim Scrollen zum Neuzeichnen: dort mitscrollen lassen */
@media (max-width: 899.98px) {
  body { background-attachment: scroll, scroll, scroll, scroll; }
}

/* Live-Status: geöffnet oder nächster Abend */
.live {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  color: var(--gold-hell);
}
.hero__hours .live { display: flex; margin-top: var(--s-2); }
.live::before {
  content: "";
  flex: 0 0 auto;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: var(--gold-hell);
  box-shadow: 0 0 8px var(--gold-glow);
}
.live.is-offen::before { background: #e0344f; box-shadow: 0 0 8px var(--wein-glow); }
@media (prefers-reduced-motion: no-preference) {
  .live.is-offen::before { animation: puls-punkt 2.2s ease-in-out infinite; will-change: transform, opacity; }
}
@keyframes puls-punkt { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .55; } }.live { align-items: flex-start; }
.live::before { margin-top: .45em; }
.zeiten > .live { margin-top: var(--s-3); }
/* Menü-Knopf: drei goldene Striche wie kleine Lichterketten, beim Öffnen werden sie zum X */
.menu-toggle { padding: 0; width: 48px; border-color: rgb(217 180 106 / .45); }
.menu-icon { width: 28px; height: 24px; overflow: visible; }
.menu-icon path { fill: none; stroke: var(--gold-hell); stroke-width: 2; stroke-linecap: round; }
.menu-icon .birne { fill: #f6d98f; }
.menu-icon .birne.rot { fill: #e0344f; }
.menu-icon .strich { transform-box: view-box; transform-origin: 14px 12px; transition: transform .3s ease, opacity .2s ease; }
.menu-icon .birne { transition: opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .s1 { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .s2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .s3 { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .birne { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .menu-toggle[aria-expanded="false"] .birne { animation: menu-funkeln 3s ease-in-out infinite; }
  .menu-toggle[aria-expanded="false"] .s2 .birne { animation-delay: -1s; }
  .menu-toggle[aria-expanded="false"] .s3 .birne { animation-delay: -2s; }
}
@keyframes menu-funkeln { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
/* Große Schrift (z. B. 200 % Textgröße): Kopfzeile bricht um statt über den Rand zu ragen */
.wordmark { white-space: normal; min-width: 0; }
.menu-toggle { flex: 0 0 auto; }
@media (min-width: 960px) {
  .site-nav { min-width: 0; }
  .site-nav ul { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; column-gap: clamp(1rem, 2vw, var(--s-6)); }
}
/* Große Schrift: lange Wörter und Adressen umbrechen, Felder nie breiter als die Spalte */
body { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.wordmark__long, .site-footer a, .site-nav__meta, .toc a, .toc li { overflow-wrap: anywhere; }
input, select, textarea { min-width: 0; max-width: 100%; }
.form .field { min-width: 0; }
@media (max-width: 899.98px) {
  .advent__list { display: flex; flex-wrap: wrap; }
  .advent__wk { flex: 0 0 auto; }
}.check label { min-width: 0; overflow-wrap: anywhere; }
