/* Weihnachtsfenster – Winternacht & Kerzenlicht */
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
  --nacht: #0b1630;
  --nacht-2: #14244a;
  --nacht-3: #1f3566;
  --schnee: #eef3fb;
  --papier: #fbf8f2;
  --gold: #f2c46d;
  --kerze: #ffb547;
  --kerze-hell: #ffe2a6;
  --beere: #a8242c;
  --beere-dunkel: #861b22;
  --tanne: #1f5a45;
  --tinte: #1c2333;
  --grau: #5e6678;
  --linie: #e3dccf;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; color: var(--tinte); background: var(--schnee); }
img { max-width: 100%; display: block; }
a { color: var(--beere); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; color: var(--nacht); font-variation-settings: "SOFT" 100, "WONK" 0; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; margin-top: 1.6em; }
code { font-size: .88em; background: rgba(11,22,48,.07); padding: 1px 6px; border-radius: 4px; }

.wf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wf-narrow { max-width: 660px; }
.wf-section { padding: 72px 0; }
.wf-center { text-align: center; }
.wf-muted { color: var(--grau); }
.wf-small { font-size: .85rem; }
.wf-nowrap { white-space: nowrap; }
.wf-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* ---------- Kopf: Winternacht ---------- */
.wf-top {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 68% 8%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 24%, #fff 50%, transparent 51%),
    linear-gradient(180deg, #050b1d 0%, var(--nacht) 45%, var(--nacht-3) 100%);
  padding-bottom: 150px;
}
.wf-top::before { /* Mond */
  content: ""; position: absolute; top: calc(22% - 34px); left: calc(82% - 34px); width: 68px; height: 68px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffaf0, #f3e3bd 70%); box-shadow: 0 0 40px 18px rgba(255,236,190,.22), 0 0 120px 60px rgba(255,236,190,.07);
}
.wf-top:not(.wf-top--hero) { padding-bottom: 110px; }
.wf-top:not(.wf-top--hero)::before { top: 74px; width: 48px; height: 48px; }
.wf-village { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 170px; }
.wf-top:not(.wf-top--hero) .wf-village { height: 120px; }
.wf-lit rect { fill: var(--kerze); filter: drop-shadow(0 0 6px rgba(255,181,71,.9)); animation: flicker 4s ease-in-out infinite; }
.wf-lit rect:nth-child(3n) { animation-delay: -1.3s; } .wf-lit rect:nth-child(4n) { animation-delay: -2.6s; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 55% { opacity: .95; } }

.wf-nav { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wf-brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; text-decoration: none; }
.wf-star { color: var(--gold); }
.wf-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.wf-nav a:not(.wf-brand) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 99px; }
.wf-nav a:not(.wf-brand):hover, .wf-nav a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }

.wf-hero { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 56px 20px 0; }
.wf-hero h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5.2rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: .3em; }
.wf-hero h1 em { font-style: italic; color: var(--kerze-hell); font-weight: 400; }
.wf-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 34ch; margin: 0 0 30px; }
.wf-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wf-hero--small { padding-top: 28px; }
.wf-hero--small h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Schnee */
.wf-snow { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.wf-snow i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; animation: fall linear infinite; }
.wf-snow i:nth-child(odd) { width: 4px; height: 4px; opacity: .5; }
.wf-snow i:nth-child(1){left:3%;animation-duration:14s;animation-delay:-2s}.wf-snow i:nth-child(2){left:9%;animation-duration:18s;animation-delay:-9s}
.wf-snow i:nth-child(3){left:15%;animation-duration:12s;animation-delay:-5s}.wf-snow i:nth-child(4){left:20%;animation-duration:20s;animation-delay:-14s}
.wf-snow i:nth-child(5){left:26%;animation-duration:15s;animation-delay:-1s}.wf-snow i:nth-child(6){left:31%;animation-duration:17s;animation-delay:-11s}
.wf-snow i:nth-child(7){left:37%;animation-duration:13s;animation-delay:-7s}.wf-snow i:nth-child(8){left:42%;animation-duration:19s;animation-delay:-3s}
.wf-snow i:nth-child(9){left:48%;animation-duration:16s;animation-delay:-12s}.wf-snow i:nth-child(10){left:53%;animation-duration:14s;animation-delay:-6s}
.wf-snow i:nth-child(11){left:58%;animation-duration:21s;animation-delay:-16s}.wf-snow i:nth-child(12){left:63%;animation-duration:12s;animation-delay:-4s}
.wf-snow i:nth-child(13){left:68%;animation-duration:18s;animation-delay:-10s}.wf-snow i:nth-child(14){left:73%;animation-duration:15s;animation-delay:-8s}
.wf-snow i:nth-child(15){left:78%;animation-duration:17s;animation-delay:-13s}.wf-snow i:nth-child(16){left:83%;animation-duration:13s;animation-delay:-2s}
.wf-snow i:nth-child(17){left:88%;animation-duration:19s;animation-delay:-15s}.wf-snow i:nth-child(18){left:93%;animation-duration:14s;animation-delay:-5s}
.wf-snow i:nth-child(19){left:97%;animation-duration:16s;animation-delay:-9s}.wf-snow i:nth-child(20){left:6%;animation-duration:22s;animation-delay:-18s}
.wf-snow i:nth-child(21){left:23%;animation-duration:11s;animation-delay:-3s}.wf-snow i:nth-child(22){left:45%;animation-duration:23s;animation-delay:-20s}
.wf-snow i:nth-child(23){left:61%;animation-duration:11s;animation-delay:-7s}.wf-snow i:nth-child(24){left:76%;animation-duration:24s;animation-delay:-19s}
.wf-snow i:nth-child(25){left:86%;animation-duration:12s;animation-delay:-1s}.wf-snow i:nth-child(26){left:34%;animation-duration:20s;animation-delay:-17s}
.wf-snow i:nth-child(27){left:51%;animation-duration:13s;animation-delay:-11s}.wf-snow i:nth-child(28){left:70%;animation-duration:18s;animation-delay:-6s}
@keyframes fall { to { transform: translate3d(30px, 640px, 0); } }

/* ---------- Buttons ---------- */
.wf-btn {
  display: inline-block; font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 99px; border: 2px solid var(--beere); background: var(--beere); color: #fff;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.wf-btn:hover { background: var(--beere-dunkel); border-color: var(--beere-dunkel); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(168,36,44,.3); }
.wf-btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.wf-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.wf-btn--ghost-dark { background: transparent; border-color: var(--nacht); color: var(--nacht); }
.wf-btn--ghost-dark:hover { background: var(--nacht); color: #fff; border-color: var(--nacht); box-shadow: none; }
.wf-btn--block { width: 100%; }
.wf-btn--sm { padding: 7px 16px; font-size: .88rem; }
:focus-visible { outline: 3px solid var(--kerze); outline-offset: 2px; }

/* ---------- Intro ---------- */
.wf-intro { background: var(--schnee); }
.wf-intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.wf-sign { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--beere); }
.wf-counter { background: var(--nacht); color: #fff; border-radius: 24px; padding: 32px; text-align: center; box-shadow: 0 20px 50px rgba(11,22,48,.25); }
.wf-counter__ring {
  --p: 0; width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--kerze) calc(var(--p) * 1%), rgba(255,255,255,.1) 0);
  box-shadow: 0 0 40px rgba(255,181,71,.25);
}
.wf-counter__ring span { width: 120px; height: 120px; border-radius: 50%; background: var(--nacht); display: grid; place-content: center; line-height: 1.1; font-size: .85rem; color: rgba(255,255,255,.75); }
.wf-counter__ring strong { font-family: var(--serif); font-size: 2.6rem; color: var(--kerze-hell); font-weight: 600; }
.wf-counter p { margin: 0 0 16px; }
.wf-facts { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.wf-facts li { background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 99px; }
.wf-facts span { color: var(--gold); font-weight: 800; margin-right: 4px; }

/* Anlass */
.wf-event { background: linear-gradient(135deg, var(--tanne), #173f33); color: #fff; border-radius: 24px; padding: 36px 40px; margin: 0 0 8px; }
.wf-event h2 { color: #fff; }
.wf-event dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0 0; }
.wf-event dt { color: var(--gold); font-weight: 800; }
.wf-event dd { margin: 0; }

/* ---------- Kalender: Hauswand mit 24 Fenstern ---------- */
.wf-calendar-section {
  background:
    linear-gradient(rgba(255,255,255,.035) 2px, transparent 2px) 0 0 / 100% 34px,
    linear-gradient(180deg, var(--nacht-2), var(--nacht));
  color: #fff;
}
.wf-calendar-section h2 { color: #fff; }
.wf-calendar-section .wf-muted { color: rgba(255,255,255,.7); }
.wf-legend { list-style: none; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 0; margin: 20px 0 36px; font-size: .9rem; color: rgba(255,255,255,.85); }
.wf-legend i { display: inline-block; width: 18px; height: 22px; border-radius: 4px; vertical-align: -5px; margin-right: 6px; border: 2px solid #c9b48a; }
.lg-lit { background: radial-gradient(circle at 50% 60%, var(--kerze-hell), var(--kerze)); box-shadow: 0 0 10px rgba(255,181,71,.7); }
.lg-apero { border-color: var(--beere) !important; box-shadow: 0 0 0 2px var(--beere), 0 0 10px rgba(255,181,71,.7); }
.lg-free { background: #22386b; border-style: dashed !important; border-color: rgba(255,255,255,.4) !important; }

.wf-house { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.wf-win {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  width: 100%; aspect-ratio: 3 / 4; padding: 12px; text-align: left; font: inherit; color: inherit; text-decoration: none;
  border-radius: 10px 10px 6px 6px; border: 5px solid #c9b48a; cursor: default; overflow: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), #c9b48a calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    linear-gradient(180deg, transparent calc(42% - 2px), #c9b48a calc(42% - 2px) calc(42% + 2px), transparent calc(42% + 2px)),
    #1b2d58;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 0 6px 0 -1px #9b8a68;   /* Fensterbank */
  transition: transform .2s, box-shadow .2s;
}
.wf-win > * { position: relative; z-index: 1; }
.wf-win__day { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; line-height: 1; }
.wf-win__wd { position: absolute; top: 8px; left: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.wf-win__name { font-size: .78rem; font-weight: 700; line-height: 1.25; margin-top: 4px; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wf-win__apero { position: absolute; top: 6px; right: 8px; font-size: 1.05rem; }

.wf-win--belegt {
  cursor: pointer; color: #4a2a00;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), #c9b48a calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    linear-gradient(180deg, transparent calc(42% - 2px), #c9b48a calc(42% - 2px) calc(42% + 2px), transparent calc(42% + 2px)),
    radial-gradient(ellipse at 50% 70%, #fff3d4 0%, var(--kerze-hell) 35%, var(--kerze) 100%);
  box-shadow: inset 0 0 20px rgba(160,80,0,.35), 0 6px 0 -1px #9b8a68, 0 0 34px rgba(255,181,71,.45);
}
.wf-win--belegt.has-apero { border-color: #d9c38f; }
.wf-win--belegt.has-apero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--beere) 0 10px, var(--tanne) 10px 20px); z-index: 2; }
.wf-win--belegt:hover { transform: translateY(-3px); box-shadow: inset 0 0 20px rgba(160,80,0,.35), 0 6px 0 -1px #9b8a68, 0 0 50px rgba(255,181,71,.7); }

.wf-win--frei { border-style: dashed; border-color: rgba(201,180,138,.55); cursor: pointer; color: rgba(255,255,255,.9); }
a.wf-win--frei:hover { transform: translateY(-3px); border-color: var(--gold); background-color: #24407a; }
a.wf-win--frei:hover .wf-win__name::after { content: " – jetzt reservieren"; }
.wf-win--frei .wf-win__name { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.wf-win--gesperrt { opacity: .7; }
.wf-win--vorbei { opacity: .35; }

/* ---------- Formular ---------- */
.wf-form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.wf-list { padding: 0; margin: 0; list-style: none; }
.wf-list li { position: relative; padding: 8px 0 8px 30px; }
.wf-list li::before { content: "✦"; position: absolute; left: 4px; top: 8px; color: var(--beere); font-size: .9rem; }
.wf-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 16px 50px rgba(11,22,48,.1); border-top: 6px solid var(--beere); }
.wf-form { display: flex; flex-direction: column; gap: 18px; }
.wf-form--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wf-field { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .93rem; color: var(--nacht); }
.wf-field small { font-weight: 400; color: var(--grau); font-size: .82rem; }
.wf-field input, .wf-field select, .wf-mini {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--linie); border-radius: 10px; background: var(--papier); color: var(--tinte); width: 100%;
}
.wf-field input:focus, .wf-field select:focus { outline: none; border-color: var(--kerze); box-shadow: 0 0 0 4px rgba(255,181,71,.25); background: #fff; }
.wf-choice { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.wf-choice legend { font-weight: 800; font-size: .93rem; color: var(--nacht); margin-bottom: 8px; }
.wf-choice label { flex: 1; min-width: 120px; }
.wf-choice input { position: absolute; opacity: 0; }
.wf-choice span { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--linie); border-radius: 10px; cursor: pointer; font-weight: 700; background: var(--papier); }
.wf-choice input:checked + span { border-color: var(--beere); background: #fdf1f1; color: var(--beere); box-shadow: 0 0 0 1px var(--beere); }
.wf-choice input:focus-visible + span { outline: 3px solid var(--kerze); outline-offset: 2px; }
.wf-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.wf-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--beere); flex: none; }
.wf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wf-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.wf-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; border-left: 4px solid; background: var(--papier); }
.wf-alert--err { border-color: var(--beere); color: var(--beere-dunkel); }
.wf-alert--ok { border-color: var(--tanne); color: var(--tanne); }
.wf-thanks { text-align: center; }
.wf-thanks__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--nacht); background: radial-gradient(circle, var(--kerze-hell), var(--kerze)); box-shadow: 0 0 40px rgba(255,181,71,.6); }

/* ---------- Dialoge ---------- */
.wf-dialog { border: 0; border-radius: 22px; padding: 36px 36px 28px; width: min(92vw, 440px); background: var(--papier); color: var(--tinte); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.wf-dialog::backdrop { background: rgba(5,11,29,.65); backdrop-filter: blur(3px); }
.wf-dialog .wf-eyebrow { color: var(--beere); }
.wf-dialog dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.wf-dialog dt { font-weight: 800; color: var(--grau); }
.wf-dialog dd { margin: 0; }
.wf-dialog__close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--grau); }

/* ---------- Impressionen ---------- */
.wf-years { display: flex; justify-content: center; gap: 8px; margin: 24px 0 8px; flex-wrap: wrap; }
.wf-years a { text-decoration: none; font-weight: 800; padding: 8px 18px; border-radius: 99px; background: #fff; color: var(--nacht); box-shadow: 0 2px 10px rgba(11,22,48,.08); }
.wf-years a:hover { background: var(--nacht); color: #fff; }
.wf-year { padding-top: 40px; }
.wf-year h2 small { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--grau); margin-left: 8px; }
.wf-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.wf-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--nacht-2); box-shadow: 0 8px 24px rgba(11,22,48,.12); }
.wf-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wf-tile:hover img { transform: scale(1.05); }
.wf-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; color: #fff; font-weight: 700; font-size: .88rem; background: linear-gradient(transparent, rgba(5,11,29,.8)); }
.wf-tile__badge { position: absolute; top: 10px; right: 10px; background: rgba(5,11,29,.75); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; }

.wf-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.wf-lightbox::backdrop { background: rgba(5,11,29,.94); }
.wf-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.wf-lightbox figure { margin: 0; max-width: calc(100vw - 140px); text-align: center; }
.wf-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; border-radius: 8px; }
.wf-lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 12px; font-weight: 700; }
.lb-btn { position: fixed; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.wf-prose h2 { margin-top: 1.4em; } .wf-prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.wf-footer { background: var(--nacht); color: rgba(255,255,255,.75); text-align: center; padding: 44px 20px; font-size: .92rem; }
.wf-footer a { color: #fff; }
.wf-footer p { margin: 4px 0; }
.wf-footer__brand { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.wf-footer__brand::first-letter { color: var(--gold); }

/* ---------- Admin ---------- */
.wf-admin { padding-top: 40px; }
.wf-adminbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.wf-adminbar nav { display: flex; gap: 8px; }
.wf-yearpick select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--linie); margin-left: 6px; }
.wf-stats { display: flex; gap: 16px; }
.wf-stats span { background: #fff; padding: 6px 14px; border-radius: 99px; font-size: .9rem; }
.wf-tablewrap { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(11,22,48,.07); }
.wf-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.wf-table th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); padding: 12px; border-bottom: 2px solid var(--linie); }
.wf-table td { padding: 10px 12px; border-bottom: 1px solid #f0ebe1; vertical-align: middle; }
.wf-table tr.is-belegt td:first-child { box-shadow: inset 4px 0 0 var(--kerze); }
.wf-table tr.is-gesperrt td:first-child { box-shadow: inset 4px 0 0 var(--grau); }
.wf-table tr.is-vorbei, .wf-table tr.is-cancelled { color: #9a9fab; }
.wf-row-actions { white-space: nowrap; text-align: right; }
.wf-row-actions form { display: inline-flex; gap: 6px; align-items: center; margin-left: 8px; }
.wf-row-actions a { font-weight: 800; text-decoration: none; }
.wf-link { background: none; border: 0; font: inherit; font-weight: 800; color: var(--beere); cursor: pointer; padding: 0 4px; }
.wf-link:hover, .wf-row-actions a:hover { text-decoration: underline; }
.wf-link--danger { color: #6b0f15; }
.wf-mini { width: 110px; padding: 5px 8px; font-size: .82rem; }
.wf-details { margin-top: 20px; background: #fff; border-radius: 16px; padding: 14px 18px; }
.wf-details summary { cursor: pointer; font-weight: 800; }
.wf-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.wf-admin .wf-card h2 { font-size: 1.35rem; }
.wf-edit { margin-bottom: 24px; }
.wf-code { width: 100%; font-family: Consolas, "Courier New", monospace; font-size: .85rem; padding: 12px; border: 1.5px solid var(--linie); border-radius: 10px; background: var(--papier); resize: none; word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wf-intro__grid, .wf-form-grid, .wf-admin-grid { grid-template-columns: 1fr; gap: 36px; }
  .wf-house { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .wf-section { padding: 52px 0; }
  .wf-house { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .wf-win { border-width: 4px; padding: 8px; }
  .wf-win__name { font-size: .7rem; }
  .wf-card { padding: 26px 20px; }
  .wf-form--grid { grid-template-columns: 1fr; }
  .wf-nav ul { width: 100%; }
  .wf-lightbox figure { max-width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-snow, .wf-lit rect { animation: none !important; }
  .wf-snow { display: none; }
  html { scroll-behavior: auto; }
}
