/* ==========================================================================
   Festgemeinde Dieblich e.V. – Stylesheet
   Farben aus dem Vereinslogo, Schriften lokal (keine Google-Verbindung)
   ========================================================================== */

@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sacramento"; src: url("/assets/fonts/sacramento-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --mint: #CFE6CF;
  --mint-soft: #E9F4E7;
  --ocker: #A97F22;        /* Logo-Ocker: große Schrift & Deko */
  --ocker-deep: #85631A;   /* Buttons/Links: ausreichend Kontrast */
  --gold: #D4A83A;         /* gestrichelte Linien */
  --ink: #2B2118;
  --ink-soft: #5A4A3B;
  --cream: #FFFBF2;
  --paper: #FFFFFF;
  --night: #1F1712;

  --font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Sacramento", "Brush Script MT", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgb(43 33 24 / .35);
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
[hidden] { display: none !important; } /* sonst überschreiben display-Regeln das hidden-Attribut */
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--ocker-deep); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ocker-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p, ul, ol, dl { margin: 0 0 1em; }
address { font-style: normal; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 48rem; }
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--mint { background: var(--mint-soft); }
.section--night { background: var(--night); color: var(--cream); }
.plain { list-style: none; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; text-transform: none; }
.eyebrow { font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: .4rem; }
.todo, .prose p:has(> mark) { background: #fff3c4; }

/* Überschrift mit gestrichelter Goldlinie wie der Ring im Logo */
.section-title { display: flex; align-items: center; gap: 1rem; color: var(--ink); }
.section-title::after { content: ""; flex: 1; border-top: 3px dashed var(--gold); transform: translateY(.1em); }
.section-title--center { justify-content: center; text-align: center; }
.section-title--center::before { content: ""; flex: 1; border-top: 3px dashed var(--gold); transform: translateY(.1em); }
.section-lead { max-width: 42rem; color: var(--ink-soft); margin-top: -.2rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--ocker-deep); background: var(--ocker-deep); color: #fff; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ocker-deep); }
.btn--ghost:hover { background: var(--ocker-deep); color: #fff; border-color: var(--ocker-deep); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header & Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 251 242 / .94); backdrop-filter: blur(8px); border-bottom: 2px dashed var(--gold); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand__text { font-family: var(--font-head); font-size: 1.05rem; line-height: 1; }
.brand__text small { font-family: var(--font-body); font-weight: 600; font-size: .75rem; color: var(--ocker-deep); letter-spacing: .06em; text-transform: uppercase; }
.nav-toggle { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.2rem; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: absolute; inset: 100% 0 auto; background: var(--cream); border-bottom: 2px dashed var(--gold); display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1rem; }
.site-nav a { display: block; padding: .75rem 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgb(43 33 24 / .08); }
.site-nav a[aria-current="page"] { color: var(--ocker-deep); }
@media (min-width: 56rem) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; }
  .site-nav ul { display: flex; gap: .25rem; padding: 0; }
  .site-nav a { padding: .5rem .85rem; border: 0; border-radius: 999px; }
  .site-nav a:hover { background: var(--mint); }
  .site-nav a[aria-current="page"] { background: var(--mint); color: var(--ink); }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; isolation: isolate; color: var(--cream); background: var(--night); overflow: hidden; min-height: min(92vh, 52rem); display: grid; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% 35%, rgb(31 23 18 / .25), rgb(31 23 18 / .75) 70%),
  linear-gradient(180deg, rgb(31 23 18 / .55), rgb(31 23 18 / .2) 35%, rgb(31 23 18 / .85)); }
.hero__lights { position: absolute; top: 0; left: 0; width: 100%; height: auto; z-index: -1; pointer-events: none; }
.hero__lights .bulb { fill: #ffd98a; filter: drop-shadow(0 0 6px #ffcb5c) drop-shadow(0 0 14px rgb(255 190 80 / .7)); animation: twinkle 3.2s ease-in-out infinite; }
.hero__lights .bulb:nth-child(3n) { animation-delay: -1.1s; } .hero__lights .bulb:nth-child(4n+1) { animation-delay: -2.2s; }
@keyframes twinkle { 50% { opacity: .55; } }
.hero__inner { display: grid; justify-items: center; text-align: center; padding-block: 6rem 4rem; }
.hero__logo { width: clamp(9rem, 32vw, 15rem); filter: drop-shadow(0 12px 30px rgb(0 0 0 / .45)); margin-bottom: 1rem; }
.hero__welcome { font-family: var(--font-script); font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; color: #ffe3a3; margin: 0; text-shadow: 0 0 18px rgb(255 190 80 / .55); }
.hero h1 { color: var(--cream); text-shadow: 0 3px 20px rgb(0 0 0 / .5); margin: .2em 0 .4em; max-width: 18ch; }
.hero__sub { max-width: 34rem; font-size: 1.1rem; color: rgb(255 251 242 / .9); }
.hero .btn-row { justify-content: center; margin-top: .5rem; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; background: var(--mint); padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem); border-bottom: 3px dashed var(--gold); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 16rem; height: 16rem; border-radius: 50%; border: 3px dashed rgb(169 127 34 / .45); }
.page-hero h1 { margin-bottom: .2em; max-width: 24ch; }
.page-hero .script { display: inline-block; font-size: 1.35em; color: var(--ocker); margin-right: .1em; line-height: .8; }
.page-hero__lead { font-size: 1.15rem; max-width: 40rem; margin: 0; color: var(--ink-soft); }
.page-hero .eyebrow a { color: var(--ink); text-decoration: none; }
.page-hero--event { background: linear-gradient(135deg, var(--mint) 0%, #e9dcb6 100%); }

/* ---------- Plakate (Pinnwand) ---------- */
.pinboard { background: var(--mint-soft) radial-gradient(rgb(169 127 34 / .14) 1px, transparent 1.5px) 0 0 / 18px 18px; }
.posters { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.poster { position: relative; background: var(--paper); padding: .6rem .6rem .9rem; border-radius: 4px; box-shadow: var(--shadow); transform: rotate(-1.2deg); transition: transform .2s; }
.poster:nth-child(2n) { transform: rotate(1.4deg); }
.poster:nth-child(3n) { transform: rotate(-.4deg); }
.poster:hover, .poster:focus-within { transform: rotate(0) translateY(-4px); }
.poster::before { content: ""; position: absolute; top: -12px; left: 50%; width: 5.5rem; height: 1.6rem; transform: translateX(-50%) rotate(-3deg); background: rgb(212 168 58 / .55); border-radius: 2px; }
.poster > a { display: block; }
.poster img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; background: var(--mint); }
.poster__label { display: grid; gap: .1rem; padding-top: .7rem; font-size: .92rem; }
.poster__label strong { font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; }
.poster__pdf { display: grid; place-items: center; gap: .5rem; aspect-ratio: 1 / 1.414; background: var(--mint); text-decoration: none; color: var(--ink); text-align: center; padding: 1rem; }
.poster__pdf-icon { font-family: var(--font-head); font-size: 2rem; border: 3px dashed var(--ocker); border-radius: 8px; padding: .4rem .8rem; color: var(--ocker-deep); }
.poster--single { transform: rotate(1deg); padding: .5rem; display: block; margin-top: 1.5rem; }
.posters__empty { font-size: 1.05rem; }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover, .card:focus-within { transform: translateY(-3px); }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mint); }
.card__img--placeholder { display: grid; place-items: center; }
.card__img--placeholder img { width: 40%; }
.card__body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; }
.card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.card__body p:last-child { margin-bottom: 0; }
.card--event .card__img { aspect-ratio: 16 / 10; }

/* ---------- Über uns / Werte ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } .split--flip > :first-child { order: 2; } }
.split__img { border-radius: var(--radius); box-shadow: var(--shadow); }
.values { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.values li { background: var(--mint); border: 2px dashed var(--ocker); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .92rem; }

/* ---------- Vorstand ---------- */
.board { list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); }
.member { background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1.25rem; text-align: center; box-shadow: var(--shadow); }
.member__foto { width: 9rem; height: 9rem; margin: 0 auto 1rem; border-radius: 50%; object-fit: cover; border: 4px solid var(--mint); outline: 2px dashed var(--gold); outline-offset: 4px; }
.member__foto--placeholder { display: grid; place-items: center; background: var(--mint); font-family: var(--font-head); font-size: 2.4rem; color: var(--ocker-deep); }
.member h3 { margin-bottom: .2rem; }
.member__rolle { color: var(--ocker-deep); font-weight: 600; margin-bottom: .6rem; }
.member p:last-child { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Mitglied werden (CTA) ---------- */
.cta { position: relative; background: var(--night); color: var(--cream); border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 6vw, 3.5rem); overflow: hidden; display: grid; gap: 1.5rem; align-items: center; }
.cta::before { content: ""; position: absolute; inset: .75rem; border: 2px dashed var(--gold); border-radius: var(--radius); pointer-events: none; }
.cta h2 { color: var(--cream); }
.cta .script { color: #ffe3a3; font-size: 1.5em; }
.cta p { color: rgb(255 251 242 / .88); max-width: 38rem; }
.cta a:not(.btn) { color: #ffe3a3; }
@media (min-width: 56rem) { .cta { grid-template-columns: 1fr auto; } }

/* ---------- Instagram ---------- */
.insta__consent { display: grid; justify-items: center; text-align: center; gap: .4rem; background: var(--paper); border: 3px dashed var(--gold); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 5vw, 3rem); max-width: 44rem; margin-inline: auto; }
.insta__consent img { width: 6rem; }
.insta__handle { font-family: var(--font-head); font-size: 1.3rem; margin: 0; }
.insta__handle a { color: var(--ink); text-decoration: none; }
.insta__consent p { max-width: 34rem; font-size: .95rem; }
.insta__actions { display: grid; gap: .8rem; justify-items: center; }
.check { display: inline-flex; gap: .5rem; align-items: center; font-size: .9rem; }
.insta__highlights { margin-bottom: 1.5rem; }
.insta__revoke { text-align: center; font-size: .85rem; margin-top: 1rem; }

/* ---------- Beitragsliste & Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 2.5rem; list-style: none; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .8rem; border-radius: 999px; border: 2px solid var(--ocker-deep); text-decoration: none; font-weight: 600; }
.pagination [aria-current] { background: var(--ocker-deep); color: #fff; }

/* ---------- Beitragsarchiv ---------- */
.archiv-hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding: 1.5rem; background: var(--mint-soft); border: 3px dashed var(--gold); border-radius: var(--radius); }
.archiv-hinweis h2 { font-size: 1.3rem; margin-bottom: .25rem; }
.archiv-hinweis p { margin: 0; color: var(--ink-soft); }
.archiv-jahre { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.archiv-jahre a { padding: .35rem 1rem; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 600; text-decoration: none; }
.archiv-jahre a:hover { background: var(--gold); }
.archiv-jahr + .archiv-jahr { margin-top: 2.5rem; }
.archiv-liste { list-style: none; padding: 0; margin: 0; }
.archiv-liste li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .25rem 1rem; padding: .9rem 0; border-bottom: 1px solid rgb(43 33 24 / .1); }
.archiv-liste time { color: var(--ocker-deep); font-weight: 600; font-size: .9rem; padding-top: .1rem; }
.archiv-liste a { font-weight: 600; color: var(--ink); }
.archiv-liste p { margin: .2rem 0 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 30rem) { .archiv-liste li { grid-template-columns: 1fr; } }

/* ---------- Fließtext ---------- */
.prose { max-width: 46rem; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; } /* lange URLs (z. B. in der Datenschutzerklärung) umbrechen */
.prose.wrap { max-width: 48rem; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; } .prose h3 { margin-top: 1.6rem; } .prose h4 { margin-top: 1.4rem; font-size: 1.05rem; }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; box-shadow: var(--shadow); }
.prose a[data-lightbox] img { cursor: zoom-in; }
.prose ul { padding-left: 1.2rem; }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px dashed var(--gold); }
.beitrag__bild img { width: auto; max-width: 100%; max-height: 75vh; margin: 0 auto; }
.prose img { max-height: 85vh; width: auto; }
.beitrag__nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0 3rem; font-weight: 600; }
.beitrag__nav a { max-width: 22rem; }

/* ---------- Veranstaltung ---------- */
.event { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .event { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } .event__aside { position: sticky; top: 6rem; } }
.infobox { background: var(--mint-soft); border: 3px dashed var(--gold); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.infobox h2 { font-size: 1.2rem; }
.infobox dl { display: grid; gap: .2rem; margin: 0; }
.infobox dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ocker-deep); margin-top: .5rem; }
.infobox dd { margin: 0; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(11rem, 45%), 1fr)); }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- Verleih ---------- */
.rent { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); list-style: none; padding: 0; }
.rent .card__img { aspect-ratio: 1; object-fit: contain; background: #fff; padding: 1rem; }
.rent .card__body { display: flex; flex-direction: column; gap: .5rem; }
.rent .card__body p { margin: 0; }
.rent .btn { margin-top: auto; align-self: flex-start; }
.preis { font-weight: 700; color: var(--ocker-deep); }

.link-klein { align-self: center; font-size: .9rem; font-weight: 600; }
.verleih-hinweis { margin-top: 2.5rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--mint-soft); border: 3px dashed var(--gold); border-radius: var(--radius); }
.verleih-hinweis h2 { font-size: 1.4rem; }
.verleih-hinweis p { max-width: 42rem; }
.verleih-hinweis .btn { overflow-wrap: anywhere; }

/* ---------- Belegungskalender ---------- */
.kalender { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 3vw, 1.75rem); max-width: 46rem; }
.kalender__steuerung { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.kalender__steuerung label { font-weight: 600; margin-right: .5rem; }
.kalender__steuerung select { font: inherit; padding: .5rem .75rem; border: 2px solid #b9ad9c; border-radius: 10px; background: #fff; max-width: 100%; }
.kalender__monat { display: flex; align-items: center; gap: .5rem; }
.kalender__titel { margin: 0; min-width: 10.5rem; text-align: center; font-size: 1.15rem; }
.kalender__nav { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px solid var(--ocker-deep); background: none; color: var(--ocker-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kalender__nav:hover:not(:disabled) { background: var(--ocker-deep); color: #fff; }
.kalender__nav:disabled { opacity: .35; cursor: default; }
.kalender__tabelle { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.kalender__tabelle th { font-size: .8rem; font-weight: 600; color: var(--ink-soft); padding-bottom: .25rem; }
.tag { height: 2.6rem; text-align: center; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.tag--frei { background: var(--mint-soft); }
.tag--teil { background: #f6dd9a; }
.tag--voll { background: #e7a28f; color: #4a1c10; }
.tag--vergangen { color: #b3a898; }
.tag--heute { outline: 2px solid var(--ocker-deep); outline-offset: -2px; }
.kalender__legende { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9rem; }
.punkt { display: inline-block; width: .9rem; height: .9rem; border-radius: 4px; vertical-align: -.1em; margin-right: .3rem; }
.punkt--frei { background: var(--mint-soft); border: 1px solid #9fc49f; } .punkt--teil { background: #f6dd9a; } .punkt--voll { background: #e7a28f; }
.kalender__liste { margin-top: 1.25rem; border-top: 2px dashed var(--gold); padding-top: 1rem; font-size: .95rem; }
.kalender__liste h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin: 0 0 .4rem; }
.kalender__liste ul { margin: 0; padding-left: 1.1rem; }
.kalender__fallback { padding-left: 1.2rem; }

/* ---------- Verleih-Anfrage: Artikelauswahl ---------- */
.auswahl { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.auswahl__eintrag { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem .9rem; border: 2px solid #b9ad9c; border-radius: 10px; }
.auswahl__eintrag:has(input[type="checkbox"]:checked) { border-color: var(--ocker-deep); background: var(--mint-soft); }
.auswahl__label { display: flex; align-items: center; gap: .7rem; font-weight: 600; cursor: pointer; flex: 1 1 14rem; }
.auswahl__label input { width: 1.25rem; height: 1.25rem; accent-color: var(--ocker-deep); }
.auswahl__anzahl { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.form .auswahl__anzahl input { width: 4.5rem; padding: .4rem .5rem; }
.auswahl__anzahl input:disabled { opacity: .5; }
.hinweis-verfuegbarkeit { margin: .25rem 0 0; padding: .7rem 1rem; border-radius: 10px; background: var(--mint); font-size: .95rem; }
.hinweis-verfuegbarkeit.is-konflikt { background: #fbe3c2; }

/* ---------- Kontakt & Formular ---------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1.4fr; } }
.contact__card { background: var(--mint-soft); border-radius: var(--radius); padding: 1.5rem; border: 3px dashed var(--gold); align-self: start; }
.form { display: grid; gap: 1rem; background: var(--paper); padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; gap: .3rem; }
.form__row[hidden] { display: none; }
.form label { font-weight: 600; font-size: .95rem; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 2px solid #b9ad9c; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ocker-deep); outline: 3px solid rgb(169 127 34 / .25); outline-offset: 0; }
.form__row--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.form__row--check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--ocker-deep); }
.form__row--check label { font-weight: 400; font-size: .9rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 .5rem; display: grid; gap: 1rem; min-width: 0; }
.form legend { font-family: var(--font-head); font-size: 1.15rem; padding: 0 0 .75rem; width: 100%; border-bottom: 2px dashed var(--gold); margin-bottom: .25rem; }
.form__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.form__grid--familie { padding-top: .75rem; border-top: 1px solid rgb(43 33 24 / .1); }
.form__row--wide { grid-column: 1 / -1; }
.form__choices { display: grid; gap: .6rem; }
.choice { display: flex; gap: .7rem; align-items: center; padding: .8rem 1rem; border: 2px solid #b9ad9c; border-radius: 10px; font-weight: 600; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ocker-deep); background: var(--mint-soft); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--ocker-deep); }
.familie { display: grid; gap: .5rem; padding: 1rem; background: var(--mint-soft); border-radius: 12px; }
.familie__titel { font-size: 1.05rem; margin: 0; }
.form__captcha { min-height: 4.5rem; }
.form :user-invalid { border-color: #b3261e; }
.beitraege { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
.contact > * { min-width: 0; }
.beitraege dt { font-weight: 600; hyphens: auto; min-width: 0; } .beitraege dd { margin: 0; text-align: right; font-weight: 700; color: var(--ocker-deep); white-space: nowrap; }
.beitraege dd small { display: block; font-weight: 400; color: var(--ink-soft); }
.form__status:empty { display: none; }
.form__status { padding: .8rem 1rem; border-radius: 10px; background: var(--mint); font-weight: 600; }
.form__status.is-error { background: #fde2dc; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgb(255 251 242 / .85); padding-top: 3.5rem; border-top: 4px dashed var(--gold); font-size: .95rem; }
.site-footer a { color: #ffe3a3; overflow-wrap: anywhere; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); padding-bottom: 2.5rem; }
.site-footer__grid img { width: 5.5rem; margin-bottom: .75rem; }
.site-footer__slogan { font-family: var(--font-script); font-size: 1.9rem; line-height: 1.1; color: #ffe3a3; }
.site-footer__title { font-size: 1rem; color: var(--cream); letter-spacing: .04em; }
.site-footer li { margin-bottom: .35rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.25rem 2rem; border-top: 1px solid rgb(255 251 242 / .15); font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 15 11 / .94); color: var(--cream); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgb(20 15 11 / .8); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: .75rem; padding: 3.5rem .5rem 1.5rem; height: 100vh; grid-template-rows: 1fr auto; min-width: 0; }
.lightbox__figure img { max-height: calc(100vh - 7rem); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__figure figcaption { text-align: center; font-size: .95rem; }
.lightbox button { background: rgb(255 251 242 / .12); color: var(--cream); border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; margin: .5rem; }
.lightbox button:hover { background: var(--ocker-deep); }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { visibility: hidden; }

/* ---------- Startseiten-Abschnitte ---------- */
.home-intro { display: grid; gap: 2rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.75rem; }
.section-head .section-title { flex: 1 1 20rem; margin: 0; }
.dates { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.dates li { display: flex; gap: .9rem; align-items: center; background: var(--paper); border-radius: 12px; padding: .7rem 1rem; box-shadow: 0 4px 14px -8px rgb(43 33 24 / .35); }
.dates time { font-family: var(--font-head); color: var(--ocker); font-size: 1.15rem; min-width: 4.2rem; }
