/* ====================================================
   Peilsteiner-Hütte – Designsystem
   Hybrid: modern struktur, rustikale Farbwelt
   ==================================================== */

:root {
  /* Farben */
  --c-forest:    #2d4a2b;   /* dunkles Tannengrün – Primär */
  --c-forest-2:  #3d6339;   /* Hover/Akzent */
  --c-moss:      #6b8e5a;   /* hellgrün, dezent */
  --c-wood:      #6b4423;   /* dunkles Holz */
  --c-wood-2:    #8b5e34;   /* helles Holz */
  --c-beige:     #f5f0e6;   /* Hintergrund warm */
  --c-cream:     #faf7f1;   /* sehr hell */
  --c-stone:     #6e6a63;   /* Stein/Grau warm */
  --c-charcoal:  #2a2622;   /* Text dunkel */
  --c-line:      #d9d0bf;   /* Trennlinien */
  --c-white:     #ffffff;
  --c-accent:    #b8642d;   /* warmes Kupfer für CTA */
  --c-accent-2:  #d47a3a;

  /* Status */
  --c-free:      #5d8a4e;
  --c-busy:      #b94a3c;
  --c-partial:   #d49a2e;

  /* Typografie */
  --f-serif:  "Cormorant Garamond", "Crimson Text", Georgia, serif;
  --f-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Maße */
  --maxw: 1180px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(42, 38, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 38, 34, 0.10);
  --shadow-lg: 0 18px 48px rgba(42, 38, 34, 0.18);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--c-charcoal);
  background: var(--c-cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-forest); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-charcoal);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ============== HEADER / NAV ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--c-charcoal);
  line-height: 1.1;
}
.brand-mark {
  width: 38px; height: 38px;
  background: var(--c-forest);
  color: var(--c-cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 700;
}
.brand small {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-stone);
}
.nav-menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--c-charcoal);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a.active,
.nav-menu a:hover { border-bottom-color: var(--c-accent); color: var(--c-forest); }

.nav-cta {
  background: var(--c-forest);
  color: var(--c-cream) !important;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: none !important;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--c-forest-2); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--c-charcoal);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  color: var(--c-cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,20,.45) 0%, rgba(20,30,20,.7) 100%),
    linear-gradient(135deg, #4a5d3a 0%, #2d4a2b 50%, #1a2e1a 100%);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-bg.with-image {
  background-image:
    linear-gradient(180deg, rgba(20,30,20,.4) 0%, rgba(20,30,20,.7) 100%),
    url('hero.jpg');
}
.hero-inner { padding: 6rem 0 5rem; }
.hero-eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--c-cream);
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 0 12px rgba(0,0,0,.45);
}
.hero h1 {
  color: var(--c-cream);
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 58ch;
  color: #e8e2d2;
  margin-bottom: 2.5rem;
}
.hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .9rem;
  max-width: 600px;
}
.hero-meta div { color: #d4cdb9; }
.hero-meta strong { display: block; color: var(--c-cream); font-size: 1.05rem; font-family: var(--f-serif); margin-bottom: .15rem; }

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-cream);
}
.btn-primary:hover { background: var(--c-accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--c-cream); }
.btn-dark {
  background: var(--c-forest);
  color: var(--c-cream);
}
.btn-dark:hover { background: var(--c-forest-2); color: var(--c-cream); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============== SECTIONS ============== */
.section { padding: clamp(2.25rem, 4vw, 3.5rem) 0; }
.section-beige { background: var(--c-beige); }
.section-dark { background: var(--c-charcoal); color: var(--c-cream); }
.section-dark h2, .section-dark h3 { color: var(--c-cream); }

.section-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-head .eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* Page intro (Unterseiten) */
.page-intro {
  background: var(--c-forest);
  color: var(--c-cream);
  padding: 2.75rem 0 2.25rem;
}
.page-intro h1 { color: var(--c-cream); max-width: 22ch; margin: 0 0 .5rem; }
.page-intro p { color: #d4cdb9; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--c-cream); }

/* ============== GRIDS / CARDS ============== */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--c-beige);
  color: var(--c-forest);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--c-stone); font-size: .95rem; margin: 0; }

.feature-card {
  background: var(--c-cream);
  border-left: 3px solid var(--c-accent);
  padding: 1.5rem 1.75rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature-card p { color: var(--c-stone); margin: 0; font-size: .92rem; }

/* Faktentafel */
.factsheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  padding: 1.5rem;
  background: var(--c-white);
}
@media (max-width: 900px) { .factsheet { grid-template-columns: repeat(2, 1fr); } }
.fact-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-stone);
  margin-bottom: .5rem;
}
.fact-value {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  color: var(--c-forest);
  font-weight: 600;
}

/* Prose (Text-Bereich) */
.prose {
  max-width: 70ch;
  margin: 0 auto;
}
.prose p { font-size: 1.05rem; }
.prose .dropcap::first-letter {
  font-family: var(--f-serif);
  font-size: 4em;
  float: left;
  line-height: .85;
  padding: .1em .15em 0 0;
  color: var(--c-forest);
  font-weight: 600;
}

/* Timeline (Geschichte) */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-line);
}
.tl-item {
  position: relative;
  padding: 0 0 2.5rem;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 18px; height: 18px;
  background: var(--c-accent);
  border: 3px solid var(--c-cream);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--c-accent);
}
.tl-year {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-forest);
  margin-bottom: .25rem;
}
.tl-item p { margin: 0; }
.section-dark .tl-year { color: #e39a5e; font-weight: 700; }

/* ============== FOOTER ============== */
.site-footer {
  background: var(--c-charcoal);
  color: #b8b0a3;
  padding: 4rem 0 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  color: var(--c-cream);
  font-family: var(--f-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin: 0 0 1rem;
}
.site-footer a { color: #b8b0a3; }
.site-footer a:hover { color: var(--c-accent-2); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #3a342e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #7a7268;
}

/* ============== KALENDER ============== */
.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.calendar {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cal-title {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-charcoal);
}
.cal-nav {
  display: flex;
  gap: .5rem;
}
.cal-nav button {
  background: var(--c-beige);
  border: 1px solid var(--c-line);
  width: 36px; height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--c-charcoal);
  transition: background .15s ease;
}
.cal-nav button:hover { background: var(--c-line); }
.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-weekdays {
  margin-bottom: .5rem;
}
.cal-weekday {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-stone);
  padding: .5rem 0;
}
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--c-cream);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  position: relative;
  border: 2px solid transparent;
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.past { color: var(--c-stone); background: transparent; cursor: not-allowed; opacity: .4; }
.cal-day.free { background: #e8f0e2; color: var(--c-forest); }
.cal-day.free:hover { background: #d4e3c9; }
.cal-day.partial { background: #fbf0d4; color: #8a6420; }
.cal-day.partial:hover { background: #f5e2b3; }
.cal-day.busy { background: #f7d9d5; color: var(--c-busy); cursor: not-allowed; }
.cal-day.selected { background: var(--c-forest) !important; color: var(--c-cream) !important; border-color: var(--c-accent); }
.cal-day.in-range { background: var(--c-moss); color: var(--c-cream); }
.cal-day.today { border-color: var(--c-accent); font-weight: 700; }

.cal-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--c-stone);
  flex-wrap: wrap;
}
.cal-legend span { display: flex; align-items: center; gap: .4rem; }
.cal-legend i {
  width: 14px; height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.leg-free { background: #e8f0e2; }
.leg-partial { background: #fbf0d4; }
.leg-busy { background: #f7d9d5; }

/* Buchungsformular */
.booking-form {
  background: var(--c-beige);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 2rem;
}
.booking-form h3 { margin-top: 0; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-stone);
  margin-bottom: .35rem;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: var(--c-white);
  color: var(--c-charcoal);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--c-forest);
  outline-offset: 1px;
  border-color: transparent;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.selected-range {
  background: var(--c-white);
  border: 1px dashed var(--c-line);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: .95rem;
  color: var(--c-stone);
}
.selected-range strong { color: var(--c-forest); }

.notice {
  background: var(--c-beige);
  border-left: 3px solid var(--c-accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: .92rem;
  color: var(--c-charcoal);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 880px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--c-cream);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .booking-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 1.25rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; }
  body { font-size: 16px; }
  .hero-inner { padding: 4rem 0 3.5rem; }
}

/* ====================================================
   Galerie, Archiv, Verein – Ergänzung 2026
   ==================================================== */

/* Filter-Leiste */
.filterbar { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin: 0 0 2.5rem; }
.filterbar button {
  font-family: var(--f-sans); font-size:.88rem; font-weight:500; letter-spacing:.02em;
  padding:.55rem 1.1rem; border-radius:100px; cursor:pointer;
  background: var(--c-white); color: var(--c-charcoal);
  border:1px solid var(--c-line); transition: all .18s ease;
}
.filterbar button:hover { border-color: var(--c-forest); color: var(--c-forest); }
.filterbar button.active { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-cream); }

/* Galerie-Grid */
.gallery { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.25rem; }
.gal-item {
  position:relative; margin:0; overflow:hidden; border-radius: var(--radius);
  background: var(--c-beige); border:1px solid var(--c-line);
  box-shadow: var(--shadow-sm); cursor:zoom-in; transition: transform .25s ease, box-shadow .25s ease;
}
.gal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gal-item img { width:100%; aspect-ratio: 25/18; object-fit:cover; }
.gal-item figcaption {
  padding:.7rem .9rem .85rem; font-size:.85rem; line-height:1.45; color: var(--c-stone);
  background: var(--c-white); border-top:1px solid var(--c-line);
}
.gal-item.hidden { display:none; }
.gal-archiv img { aspect-ratio: 4/3; object-fit: contain; background:#fff; }

/* Lightbox */
.lightbox {
  position:fixed; inset:0; z-index:200; display:none;
  background: rgba(24,20,16,.97); padding: clamp(1rem,4vw,3rem);
}
.lightbox.open { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.lightbox img { max-width:100%; max-height:82vh; object-fit:contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-caption { color:#e8e0d2; font-size:.95rem; margin-top:1rem; text-align:center; max-width:60ch; }
.lb-close, .lb-prev, .lb-next {
  position:absolute; background: rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25);
  width:48px; height:48px; border-radius:50%; font-size:1.4rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition: background .18s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.24); }
.lb-close { top:1.2rem; right:1.4rem; }
.lb-prev { left:1.2rem; top:50%; transform:translateY(-50%); }
.lb-next { right:1.2rem; top:50%; transform:translateY(-50%); }

/* Team */
.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap:1.1rem; }
.person {
  background: var(--c-white); border:1px solid var(--c-line); border-radius: var(--radius);
  padding:1.3rem 1.4rem; box-shadow: var(--shadow-sm);
}
.person .rolle {
  font-size:.72rem; text-transform:uppercase; letter-spacing:.16em;
  color: var(--c-accent); font-weight:600; margin-bottom:.35rem;
}
.person .name { font-family: var(--f-serif); font-size:1.28rem; font-weight:600; color: var(--c-charcoal); }
.person .stv { font-size:.9rem; color: var(--c-stone); margin-top:.5rem; }

/* Termine */
.termine { border-top:1px solid var(--c-line); margin-top:1.5rem; }
.termin {
  display:grid; grid-template-columns: 120px 1fr; gap:1.2rem; align-items:baseline;
  padding:1rem .2rem; border-bottom:1px solid var(--c-line);
}
.termin .datum { font-family: var(--f-serif); font-size:1.15rem; font-weight:600; color: var(--c-forest); }
.termin .was { font-weight:500; }
.termin .wo { font-size:.88rem; color: var(--c-stone); }
@media (max-width: 560px) { .termin { grid-template-columns: 1fr; gap:.2rem; } }

/* Vorstand im Überblick (Listenkarte) */
.vorstand-card{max-width:720px;margin:0 auto;background:var(--c-white);border-radius:24px;padding:1.75rem 1.9rem;box-shadow:0 12px 32px rgba(42,38,34,.10);border:1px solid rgba(217,208,191,.6);}
.vorstand-card h3{font-family:var(--f-sans);font-size:1.2rem;font-weight:700;margin:0 0 .6rem;color:var(--c-charcoal);}
.vorstand-list{list-style:none;margin:0;padding:0;}
.vorstand-list li{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.95rem 0;border-bottom:1px solid #ece6da;}
.vorstand-list li:last-child{border-bottom:0;}
.vorstand-list .v-name{font-weight:700;color:var(--c-forest);}
.vorstand-list .v-rolle{color:var(--c-stone);text-align:right;}
@media (max-width:480px){.vorstand-card{padding:1.25rem 1.1rem;}.vorstand-list li{flex-direction:column;gap:.15rem;}.vorstand-list .v-rolle{text-align:left;}}

/* PDF-Festschrift */
.pdf-viewer{max-width:960px;margin:0 auto;border:1px solid var(--c-line);border-radius:var(--radius);overflow:hidden;background:var(--c-white);box-shadow:0 12px 32px rgba(42,38,34,.10);}
.pdf-viewer iframe{display:block;width:100%;height:80vh;min-height:520px;border:0;}
@media (max-width:560px){.pdf-viewer iframe{height:65vh;min-height:420px;}}

/* Bilder in der Zeitleiste */
.tl-imgs{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem;}
.tl-imgs a{display:block;border-radius:6px;overflow:hidden;border:1px solid var(--c-line);}
.tl-imgs img{display:block;width:150px;height:108px;object-fit:cover;transition:transform .2s ease;}
.tl-imgs a:hover img{transform:scale(1.04);}
@media (max-width:480px){.tl-imgs img{width:120px;height:86px;}}

/* Chronik-Kacheln Startseite */
.card-chronik{display:flex;flex-direction:column;}
.card-chronik p{flex:1;}
.card-more{margin-top:1.1rem;font-weight:600;font-size:.9rem;color:var(--c-accent);}
.card-more:hover{color:var(--c-forest);}

/* ============== RESERVIERUNG (Mitgliederbereich) ============== */
button.cal-day { font-family: inherit; color: inherit; width: 100%; padding: 0; }
button.cal-day:disabled { cursor: not-allowed; }
.cal-day.busy { text-decoration: line-through; }
.leg-sel { background: var(--c-forest); }
.btn-light { background: var(--c-white); color: var(--c-charcoal); border: 1px solid var(--c-line); }
.btn-light:hover { background: var(--c-line); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.res-intro { margin-top: 0; color: var(--c-stone); font-size: .9rem; }
.res-hint { font-size: .85rem; color: var(--c-stone); }
.res-meldung { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .95rem; border-left: 3px solid var(--c-stone); background: var(--c-white); }
.res-meldung.ok { border-left-color: var(--c-free); background: #eef4ea; }
.res-meldung.fehler { border-left-color: var(--c-busy); background: #fbecea; }
.res-code { margin: .75rem 0; font-size: .95rem; }
.res-code span { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 1.35rem; font-weight: 700; letter-spacing: .12em; color: var(--c-forest); background: var(--c-white); border: 1px dashed var(--c-forest); padding: .2rem .6rem; border-radius: var(--radius); margin-left: .4rem; }
.res-storno-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.res-box { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem; }
.res-box h3 { margin-top: 0; }
.res-zeile { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--c-line); }
.res-zeile:last-child { border-bottom: 0; }
.res-zeile span { font-size: .85rem; color: var(--c-stone); }
.res-zeile .btn { padding: .5rem 1rem; font-size: .85rem; }
.res-leer { color: var(--c-stone); font-size: .92rem; margin: 0; }
.res-inline { display: flex; gap: .75rem; flex-wrap: wrap; }
.res-inline input { flex: 1; min-width: 180px; padding: .7rem .9rem; border: 1px solid var(--c-line); border-radius: var(--radius); font-family: inherit; font-size: .95rem; }
#storno-code { text-transform: uppercase; letter-spacing: .1em; font-family: ui-monospace, Consolas, monospace; }
.res-admin { margin-top: 2.5rem; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1rem 1.5rem; }
.res-admin summary { cursor: pointer; font-weight: 600; color: var(--c-stone); }
.res-admin[open] summary { margin-bottom: 1rem; }
.res-admin #admin-liste { margin-top: 1rem; }
@media (max-width: 880px) { .res-storno-grid { grid-template-columns: 1fr; } }
