/* Wintergarden und Eventseiten (seit 16.11.2026)
 *
 * Gemeinsames Blatt für winterzauber.html und die Seiten der Ticket-Partys
 * (erzeugt von werkzeuge/events.py). Normales HTML ohne x-dc und ohne
 * desktop.js: die Seiten bauen ihr Raster selbst, vom Handy bis 1920 Pixel.
 * Inhalt läuft in .wg-rahmen (höchstens 1360 px), Bilder und Farbflächen
 * laufen randlos. */

:root{
  --wg-grund:#1F1B17; --wg-karte:#2A241F; --wg-linie:#3A332C; --wg-linie2:#4A4038;
  --wg-text:#F3EEE6; --wg-leise:#DDD4C8; --wg-still:#B9AFA3;
  --wg-gold:#D6A848; --wg-gold2:#E9C77B; --wg-sand:#F3EEE6; --wg-sand2:#FBF8F3; --wg-tinte:#1F1B17;
  --wg-titel:'AQP Titel','Archivo',system-ui,sans-serif;
  --wg-rand:clamp(20px,4.5vw,64px);
  --wg-sek:clamp(56px,8vw,120px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;background:var(--wg-grund);color:var(--wg-text);font-family:'Archivo',system-ui,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.wg-rahmen{width:100%;max-width:1360px;margin:0 auto;padding:0 var(--wg-rand)}
.wg-kicker{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--wg-gold);margin:0 0 14px}
.wg-h1,.wg-h2,.wg-h3{font-family:var(--wg-titel);font-weight:400;margin:0;letter-spacing:-.01em}
.wg-h1{font-size:clamp(46px,7.4vw,108px);line-height:.92}
.wg-h2{font-size:clamp(36px,4.6vw,64px);line-height:.98}
.wg-h3{font-size:clamp(24px,2.2vw,30px);line-height:1.05}
.wg-text{color:var(--wg-leise);font-size:clamp(16px,1.25vw,18px);margin:16px 0 0;max-width:60ch}
.wg-klein{font-size:13.5px;color:var(--wg-still)}
@media (max-width:600px){.wg-h1,.wg-h2,.wg-h3{hyphens:auto;overflow-wrap:break-word}}

/* Knöpfe: einer pro Karte, Fakten in die Beschriftung */
.wg-knopf{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 26px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;white-space:nowrap;transition:transform .15s,background .15s}
.wg-knopf:hover{transform:translateY(-1px)}
.wg-knopf.hell{background:var(--wg-sand);color:var(--wg-tinte)}
.wg-knopf.hell:hover{background:#fff}
.wg-knopf.gold{background:var(--wg-gold2);color:var(--wg-tinte)}
.wg-knopf.gold:hover{background:#F0D493}
.wg-knopf.dunkel{background:var(--wg-tinte);color:var(--wg-sand)}
.wg-knopf.rand{border:1.5px solid var(--wg-linie2);color:var(--wg-text)}
.wg-knopf.rand:hover{border-color:var(--wg-leise)}
.wg-link{font-weight:600;text-decoration:underline;text-decoration-color:var(--wg-gold);text-underline-offset:4px}

/* ===== Kopf ===== */
.wg-kopf{position:sticky;top:0;z-index:50;background:rgba(31,27,23,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(74,64,56,.6)}
.wg-kopf .wg-rahmen{display:flex;align-items:center;justify-content:space-between;gap:20px;height:68px}
.wg-logo{font-weight:800;letter-spacing:.14em;font-size:13px;text-decoration:none;white-space:nowrap}
.wg-logo span{font-weight:400}
.wg-nav{display:none;gap:4px}
.wg-nav a{padding:10px 14px;border-radius:999px;text-decoration:none;font-size:14.5px;font-weight:600;color:var(--wg-leise)}
.wg-nav a:hover{color:var(--wg-text);background:var(--wg-karte)}
.wg-nav a[aria-current]{color:var(--wg-text);box-shadow:inset 0 -2px 0 var(--wg-gold)}
.wg-kopf-rechts{display:flex;align-items:center;gap:14px}
.wg-tel{display:none;flex-direction:column;line-height:1.15;text-decoration:none;font-weight:700;font-size:15px}
.wg-tel small{font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--wg-still)}
.wg-kopf .wg-knopf{display:none;min-height:44px;padding:0 20px;font-size:14.5px}
.wg-menue{width:44px;height:44px;border-radius:22px;background:var(--wg-sand);display:flex;align-items:center;justify-content:center}
@media (min-width:1024px){
  .wg-nav{display:flex}.wg-tel{display:flex}.wg-kopf .wg-knopf{display:inline-flex}.wg-menue{display:none}
}

/* ===== Hero ===== */
.wg-hero{position:relative;min-height:min(88vh,860px);display:flex;align-items:flex-end;overflow:hidden;background:#3A332C}
.wg-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wg-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,20,17,.5) 0%,rgba(23,20,17,.55) 18%,rgba(23,20,17,.82) 38%,rgba(23,20,17,.94) 60%,#1F1B17 100%)}
/* Lesbarkeit: am Desktop steht der Text links, dort dunkelt ein Verlauf von links ab */
@media (min-width:1024px){.wg-hero::after{background:linear-gradient(90deg,rgba(23,20,17,.9) 0%,rgba(23,20,17,.72) 38%,rgba(23,20,17,.15) 70%,rgba(23,20,17,0) 100%),linear-gradient(180deg,rgba(23,20,17,.4) 0%,rgba(23,20,17,0) 25%,rgba(23,20,17,0) 60%,rgba(31,27,23,.95) 100%)}}
.wg-hero .wg-kicker{color:var(--wg-sand);text-shadow:0 1px 14px rgba(0,0,0,.8)}
.wg-hero .wg-rahmen{position:relative;z-index:1;padding-top:120px;padding-bottom:clamp(28px,5vw,64px);display:grid;gap:28px;align-items:end}
.wg-hero .wg-text{color:#F3EEE6;text-shadow:0 1px 10px rgba(0,0,0,.45);font-size:clamp(17px,1.4vw,20px)}
.wg-knoepfe{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.wg-fakten{display:flex;flex-wrap:wrap;gap:8px 22px;margin:22px 0 0;padding:0;list-style:none;font-size:14.5px;color:var(--wg-leise)}
.wg-fakten li{display:flex;align-items:center;gap:8px}
.wg-fakten li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--wg-gold)}
@media (max-width:600px){.wg-hero{min-height:640px}.wg-knoepfe .wg-knopf{flex:1 1 100%}}
/* Nächste Party als Karte rechts im Hero */
.wg-next{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;background:rgba(31,27,23,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(214,168,72,.45);border-radius:22px;padding:12px;text-decoration:none;max-width:460px}
.wg-next img{width:96px;height:96px;border-radius:14px;object-fit:cover}
.wg-next small{display:block;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--wg-gold)}
.wg-next b{display:block;font-family:var(--wg-titel);font-weight:400;font-size:26px;line-height:1.05;margin:4px 0}
.wg-next span{font-size:14px;color:var(--wg-leise)}
.wg-next em{font-style:normal;color:var(--wg-gold2);font-weight:700}
@media (min-width:1024px){
  .wg-hero .wg-rahmen{grid-template-columns:minmax(0,1fr) auto}
  .wg-next{justify-self:end}
}

/* ===== Sektionen ===== */
.wg-sek{padding:var(--wg-sek) 0}
.wg-sek.hell{background:var(--wg-sand);color:var(--wg-tinte)}
.wg-sek.hell .wg-text{color:#3D362F}
.wg-sek.hell .wg-kicker{color:#8A6420}
.wg-sek.karte-grund{background:#171411}
.wg-kopfzeile{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:clamp(28px,4vw,48px)}
.wg-kopfzeile .wg-text{margin-top:14px}

/* Zwei Spalten: links fest, rechts Inhalt */
.wg-zwei{display:grid;gap:36px}
@media (min-width:1024px){
  .wg-zwei{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,5vw,96px);align-items:start}
  .wg-zwei>.wg-fest{position:sticky;top:100px}
}

/* Öffnungszeiten als Tabelle */
.wg-zeiten{margin:26px 0 0;padding:0;list-style:none;border-top:1px solid var(--wg-linie);max-width:420px}
.wg-zeiten li{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--wg-linie);font-size:15.5px}
.wg-zeiten b{font-weight:600}
.wg-zeiten span{color:var(--wg-leise)}

/* Programm aus werkzeuge/programm.py. Eine Spalte (André, 23.11.2026): zwei
 * Spalten ergaben ungleich hohe Karten mit Lücken und umbrechende Titel. */

/* Partys mit Ticket */
.wg-partys{display:grid;gap:20px}
@media (min-width:900px){.wg-partys{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
.wg-party{position:relative;border-radius:26px;overflow:hidden;background:var(--wg-karte);display:flex;flex-direction:column}
.wg-party-bild{position:relative;aspect-ratio:16/9;overflow:hidden}
.wg-party-bild img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.wg-party:hover .wg-party-bild img{transform:scale(1.03)}
.wg-party-datum{position:absolute;left:16px;top:16px;background:var(--wg-tinte);border-radius:14px;padding:8px 12px;text-align:center;line-height:1}
.wg-party-datum small{display:block;font-size:10.5px;font-weight:600;letter-spacing:.1em;color:var(--wg-still)}
.wg-party-datum b{display:block;font-family:var(--wg-titel);font-weight:400;font-size:30px;margin:3px 0 2px}
.wg-party-datum span{font-size:10.5px;font-weight:600;letter-spacing:.12em}
.wg-party-inhalt{padding:clamp(20px,2.4vw,30px);display:flex;flex-direction:column;gap:10px;flex:1}
.wg-party-inhalt p{margin:0;color:var(--wg-leise)}
.wg-party-fuss{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;padding-top:12px}
.wg-party-fuss .wg-link{font-size:15px}
/* Nur eine Party (André, 23.11.2026): Bild links, Text rechts, volle Breite,
 * statt einer halben Karte neben leerer Fläche. */
@media (min-width:900px){
  .wg-party:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .wg-party:only-child .wg-party-bild{aspect-ratio:auto;min-height:340px}
  .wg-party:only-child .wg-party-inhalt{justify-content:center;padding:clamp(28px,3vw,44px)}
  .wg-party:only-child .wg-party-fuss{margin-top:8px;justify-content:flex-start;gap:22px}
}

/* Woche im Überblick */
.wg-woche{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.wg-tag{border-radius:20px;background:var(--wg-sand2);border:1px solid #D9D0C3;padding:20px;display:flex;flex-direction:column;gap:8px}
.wg-tag small{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8A6420}
.wg-tag ul{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:6px;font-size:14.5px;color:#3D362F}
.wg-tag li{display:grid;grid-template-columns:52px 1fr;gap:8px}
.wg-tag li b{font-weight:600;color:var(--wg-tinte)}

/* Erlebnisse zum Buchen */
.wg-buchen{display:grid;gap:20px}
@media (min-width:900px){.wg-buchen{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
.wg-erlebnis{display:grid;border-radius:26px;overflow:hidden;background:var(--wg-karte);text-decoration:none}
.wg-erlebnis-bild{aspect-ratio:4/3;overflow:hidden}
.wg-erlebnis-bild img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.wg-erlebnis:hover img{transform:scale(1.03)}
.wg-erlebnis-text{padding:clamp(20px,2.4vw,30px);display:flex;flex-direction:column;gap:10px}
.wg-erlebnis-text p{margin:0;color:var(--wg-leise)}
.wg-erlebnis-text .wg-knopf{align-self:flex-start;margin-top:8px}
/* Die Karten bleiben bei jeder Breite gestapelt (Bild oben, Text unten). Mit drei
   Karten nebeneinander (ab 1200 px, siehe unten) ist eine Textspalte neben dem Bild
   nur noch rund 190 px breit, der Knopf „Termin wählen · 59,90 € p. P.“ ragte dann
   130 px über die Karte hinaus und wurde abgeschnitten. */

/* Das erwartet euch */
.wg-vier{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.wg-bild-karte{border-radius:22px;overflow:hidden;background:var(--wg-karte)}
.wg-bild-karte img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.wg-bild-karte div{padding:20px;display:flex;flex-direction:column;gap:6px}
.wg-bild-karte p{margin:0;color:var(--wg-leise);font-size:15px}

/* Bild und Text nebeneinander */
.wg-bildtext{display:grid;gap:32px;align-items:center}
.wg-bildtext>img{width:100%;height:auto;border-radius:26px;aspect-ratio:4/3;object-fit:cover}
@media (min-width:1024px){
  .wg-bildtext{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:clamp(40px,5vw,96px)}
  .wg-bildtext.gespiegelt>img{order:2}
}
.wg-kontakt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;border-radius:20px;background:var(--wg-karte);padding:18px 20px}
.wg-kontakt small{display:block;font-size:12.5px;color:var(--wg-still)}
.wg-kontakt a.tel{font-family:var(--wg-titel);font-size:30px;text-decoration:none}
/* Auf der hellen Sektion (#feiern) steht der Kasten weiß; der helle Grauton der dunklen Karten hätte dort 2,2:1 */
.wg-sek.hell .wg-kontakt small{color:#6F665C}

/* Anfahrt */
.wg-anfahrt{display:grid;gap:24px;align-items:center;border-top:1px solid var(--wg-linie);padding-top:clamp(28px,4vw,48px)}
@media (min-width:1024px){.wg-anfahrt{grid-template-columns:minmax(0,3fr) minmax(0,6fr) auto}}
.wg-anfahrt p{margin:0;color:var(--wg-leise);font-size:17px}

/* Auf einen Blick (Eventseiten) */
.wg-blick{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.wg-blick div{border-radius:20px;background:var(--wg-karte);padding:20px}
.wg-blick small{display:block;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--wg-gold);margin-bottom:8px}
.wg-blick b{display:block;font-family:var(--wg-titel);font-weight:400;font-size:24px;line-height:1.1}
.wg-blick span{display:block;margin-top:6px;color:var(--wg-leise);font-size:14.5px}
.wg-ablauf{margin:0;padding:0;list-style:none;border-left:2px solid var(--wg-linie2)}
.wg-ablauf li{position:relative;padding:0 0 26px 26px}
.wg-ablauf li::before{content:"";position:absolute;left:-8px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--wg-grund);border:2px solid var(--wg-gold)}
.wg-ablauf li.haupt::before{background:var(--wg-gold)}
.wg-ablauf b{display:block;font-size:13px;font-weight:600;letter-spacing:.1em;color:var(--wg-gold)}
.wg-ablauf span{display:block;font-family:var(--wg-titel);font-size:24px;line-height:1.15;margin-top:2px}
.wg-ablauf p{margin:4px 0 0;color:var(--wg-leise);font-size:15px}
.wg-fragen details{border-bottom:1px solid var(--wg-linie);padding:18px 0}
.wg-fragen summary{cursor:pointer;font-weight:600;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.wg-fragen summary::-webkit-details-marker{display:none}
.wg-fragen summary::after{content:"+";font-size:22px;line-height:1;color:var(--wg-gold)}
.wg-fragen details[open] summary::after{content:"−"}
.wg-fragen p{margin:10px 0 0;color:var(--wg-leise);max-width:70ch}

/* Anfrageformular (#anfrage) */
.wg-form{background:var(--wg-sand2);color:var(--wg-tinte);border-radius:26px;padding:clamp(20px,3vw,36px);display:grid;gap:18px}
.wg-form fieldset{border:0;margin:0;padding:0}
.wg-form legend{font-weight:600;font-size:17px;margin-bottom:12px}
.wg-wahl{display:flex;flex-wrap:wrap;gap:8px}
.wg-wahl label{cursor:pointer}
.wg-wahl input{position:absolute;opacity:0;pointer-events:none}
.wg-wahl span{display:inline-block;padding:11px 16px;border-radius:14px;border:1.5px solid #D9D0C3;background:#fff;font-size:15px;font-weight:600}
.wg-wahl input:checked+span{border-color:var(--wg-tinte);background:#FBF4E2;box-shadow:inset 0 0 0 1px var(--wg-tinte)}
.wg-wahl input:focus-visible+span{outline:2px solid var(--wg-gold);outline-offset:2px}
.wg-felder{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.wg-form label{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:600;color:#3D362F}
.wg-form input:not([type=checkbox]),.wg-form select,.wg-form textarea{font:inherit;font-size:16px;font-weight:400;color:var(--wg-tinte);background:#fff;border:1.5px solid #D9D0C3;border-radius:12px;padding:12px 14px;width:100%}
.wg-form input:focus,.wg-form select:focus,.wg-form textarea:focus{outline:none;border-color:var(--wg-tinte)}
/* iOS Safari gibt dem Datumsfeld eine eigene Mindestbreite und Höhe; es ragte rechts aus der Karte und war leer doppelt so hoch (17.11.2026). */
.wg-form input[type=date]{-webkit-appearance:none;appearance:none;min-width:0;max-width:100%;display:block;min-height:50px;line-height:1.3}
.wg-form input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
.wg-form label{min-width:0}
.wg-form label.wg-haken{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:14px}
.wg-haken input{width:20px;height:20px;margin-top:1px;flex:0 0 20px;accent-color:#1F1B17}
.wg-form .wg-knopf{justify-self:start;border:0;cursor:pointer;font-family:inherit}
.wg-falle{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wg-meldung{margin:0;font-size:15px}
.wg-meldung.fehler{color:#A3261C}
.wg-meldung.ok{color:#1F6B41;font-weight:600}
@media (max-width:600px){.wg-form .wg-knopf{justify-self:stretch}}

/* Feste Ticketleiste am Handy */
.wg-leiste{position:fixed;left:50%;bottom:12px;z-index:40;width:calc(100vw - 24px);max-width:480px;transform:translate(-50%,16px);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;border-radius:20px;background:var(--wg-sand2);color:var(--wg-tinte);box-shadow:0 8px 24px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 18px}
.wg-leiste small{display:block;font-size:11.5px;color:#6F665C}
.wg-leiste b{font-family:var(--wg-titel);font-weight:400;font-size:22px;line-height:1.1;white-space:nowrap}
.wg-leiste .wg-knopf{min-height:48px;padding:0 18px;font-size:15px}
.wg-leiste.an{opacity:1;transform:translate(-50%,0);pointer-events:auto}
@media (min-width:1024px){.wg-leiste{display:none}}

/* ===== Fuß ===== */
.wg-fuss{border-top:1px solid var(--wg-linie);padding:clamp(40px,6vw,72px) 0 calc(40px + env(safe-area-inset-bottom));font-size:14px}
.wg-fuss-raster{display:grid;gap:32px}
@media (min-width:900px){.wg-fuss-raster{grid-template-columns:minmax(0,4fr) repeat(4,minmax(0,2fr))}}
/* h3, nicht h4: Die Seiten gliedern mit h2, ein h4 im Fuß wäre eine übersprungene Ebene (Lighthouse, Screenreader). */
.wg-fuss h3{margin:0 0 10px;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--wg-still)}
.wg-fuss nav{display:flex;flex-direction:column;gap:8px}
.wg-fuss nav a{text-decoration:none;color:var(--wg-text)}
.wg-fuss nav a:hover{color:var(--wg-gold2)}
.wg-fuss address{font-style:normal;color:var(--wg-leise);white-space:pre-line;margin-top:14px}
.wg-fuss-unten{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;margin-top:36px;padding-top:20px;border-top:1px solid var(--wg-linie);color:var(--wg-still);font-size:12.5px}
.wg-fuss-unten a{color:var(--wg-still)}
.wg-fuss-unten div{display:flex;flex-wrap:wrap;gap:6px 16px}
.wg-fuss .ki-hinweis{margin-top:16px;color:var(--wg-still)}
@media (min-width:1200px){.wg-buchen{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Stubenfoto am Handy und Tablet als Bild über dem Text, damit Fenster und
 * See zu sehen sind (André, 19.11.2026). Ab 1024 px bleibt es Hintergrund. */
@media (max-width:1023px){
  .wg-hero.wg-hero-foto{display:block;min-height:0;background:#1F1B17}
  .wg-hero.wg-hero-foto>img{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:35% 70%}
  .wg-hero.wg-hero-foto::after{inset:auto 0 auto 0;top:0;height:75vw;background:linear-gradient(180deg,rgba(23,20,17,0) 60%,#1F1B17 100%)}
  .wg-hero.wg-hero-foto .wg-rahmen{padding-top:12px}
}
.wg-hero.wg-hero-foto>img{object-position:50% 85%}
@media (max-width:1023px){.wg-hero.wg-hero-foto>img{object-position:35% 70%}}
