@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/Poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/Poppins-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/Poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/Poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/Poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/Poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --purple: #370C7B;
  --purple-hell: #EFE9F7;
  --gold: #FFC300;
  --charcoal: #2D2D2D;
  --grau: #6B6B6B;
  --linie: #E3DEEA;
  --grund: #F7F5FA;
  --karte: #FFFFFF;
  --fehler: #A4161A;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Poppins", Arial, sans-serif; color: var(--charcoal); background: var(--grund); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--purple); }
[hidden] { display: none !important; }

.kopf { background: var(--purple); border-bottom: 4px solid var(--gold); }
.kopf-innen { max-width: 760px; margin: 0 auto; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.marke { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: .01em; }
.sprachen a { color: #fff; opacity: .7; text-decoration: none; font-size: .85rem; font-weight: 500; margin-left: 12px; }
.sprachen a[aria-current] { opacity: 1; border-bottom: 2px solid var(--gold); }

.karte { width: calc(100% - 32px); max-width: 760px; margin: 28px auto; background: var(--karte); border-radius: 14px; padding: 32px; box-shadow: 0 6px 24px rgba(55, 12, 123, .08); flex: 1 0 auto; }
.vorzeile { color: var(--purple); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 10px; font-weight: 600; }
h2 { font-size: 1.25rem; font-weight: 600; }
.schritt { font-size: 1rem; margin: 28px 0 12px; color: var(--purple); }
.zone { color: var(--grau); font-size: .85rem; margin: 6px 0 0; }

.laden { display: flex; align-items: center; gap: 10px; color: var(--grau); padding: 16px 0; }
.kreisel { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: drehen .8s linear infinite; flex: none; }
@keyframes drehen { to { transform: rotate(360deg); } }

.tage { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.tag { flex: 0 0 72px; scroll-snap-align: start; border: 1px solid var(--linie); background: #fff; border-radius: 10px; padding: 10px 4px; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tag .wt, .tag .mo { font-size: .75rem; color: var(--grau); }
.tag .nr { font-size: 1.3rem; font-weight: 600; margin: 2px 0; }
.tag:hover { border-color: var(--purple); }
.tag[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.tag[aria-pressed="true"] .wt, .tag[aria-pressed="true"] .mo { color: #fff; opacity: .85; }

.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.zeit { border: 1px solid var(--purple); color: var(--purple); background: #fff; border-radius: 8px; padding: 10px 0; font: inherit; font-weight: 500; cursor: pointer; }
.zeit:hover, .zeit:focus-visible { background: var(--purple); color: #fff; }

.zurueck { background: none; border: 0; color: var(--purple); font: inherit; cursor: pointer; padding: 0; margin: 20px 0 8px; }
.gewaehlt { background: var(--purple-hell); border-left: 4px solid var(--gold); padding: 12px 14px; border-radius: 6px; font-weight: 500; }

form label { display: block; font-weight: 500; font-size: .9rem; margin: 16px 0 0; }
input, textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--linie); border-radius: 8px; font: inherit; font-weight: 400; color: inherit; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.klein { font-size: .8rem; color: var(--grau); margin: 16px 0; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--purple); color: #fff; border: 0; border-radius: 8px; padding: 13px 24px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.knopf:hover { background: #2a0960; }
.knopf:disabled { opacity: .7; cursor: wait; }
.hinweis { color: var(--fehler); background: #FBEAEA; padding: 12px 14px; border-radius: 8px; }

.haken { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--purple); font-size: 1.8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.fuss { text-align: center; padding: 8px 16px 28px; font-size: .8rem; }
.fuss a { color: var(--grau); margin: 0 10px; }

@media (max-width: 560px) {
  .karte { padding: 22px 18px; margin: 16px auto; }
  h1 { font-size: 1.4rem; }
  .knopf { width: 100%; }
}

.trailer { position: relative; margin: -8px -8px 22px; border-radius: 12px; overflow: hidden; background: #14042F; aspect-ratio: 16 / 9; }
.trailer video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ton { position: absolute; right: 12px; bottom: 12px; background: rgba(20, 4, 47, .75); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 20px; padding: 6px 14px; font: inherit; font-size: .8rem; cursor: pointer; }
.ton[aria-pressed="true"] { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
@media (max-width: 560px) { .trailer { margin: -4px -4px 18px; } }

/* Monatskalender links, Uhrzeiten rechts (seit 27.10.2026) */
.wahl { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.kal-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 600; }
.kal-pfeil { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--purple-hell); color: var(--purple); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kal-pfeil:disabled { background: transparent; color: #ccc; cursor: default; }
.kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.kal-wt { font-size: .72rem; font-weight: 600; text-transform: uppercase; color: var(--grau); margin-bottom: 6px; }
.kal-tag { aspect-ratio: 1; width: 100%; max-width: 46px; justify-self: center; border-radius: 50%; border: 0; background: transparent; color: #b5b0bd; font: inherit; font-size: .95rem; }
.kal-tag.frei { background: var(--purple-hell); color: var(--purple); font-weight: 600; cursor: pointer; }
.kal-tag.frei:hover { background: #ddd2ef; }
.kal-tag.frei[aria-pressed="true"] { background: var(--purple); color: #fff; }
.tag-titel { font-weight: 600; margin: 4px 0 12px; }
.zeit-spalte .zeiten { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.zeit-spalte .zeit { padding: 12px 0; }
.zone { margin-top: 14px; }
@media (max-width: 640px) {
  .wahl { grid-template-columns: 1fr; gap: 20px; }
  .zeit-spalte .zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); max-height: none; }
}

/* Trailer klein neben dem Begruessungstext, damit der Kalender ohne Scrollen sichtbar ist */
.kopfzeile.mit-trailer { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 26px; align-items: center; }
.kopfzeile.mit-trailer .trailer { margin: 0; }
.kopfzeile.mit-trailer h1 { font-size: 1.5rem; }
.kopfzeile.mit-trailer .intro p:not(.vorzeile) { margin-bottom: 0; }
.karte { margin-top: 20px; }
@media (max-width: 640px) {
  .kopfzeile.mit-trailer { grid-template-columns: 1fr; gap: 16px; }
}

.optional { font-weight: 400; color: var(--grau); }
