/* Bruckwerk – gemeinsame Gestaltung aller Seiten (Schriften: fonts.css) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:        #F9F0C8;
  --parchment:    #F0E8B0;
  --green:        #44763B;
  --green-light:  #5A8F50;
  --brown:        #1E2A1A;
  --gold:         #44763B;
  --sage:         #A4B3CF;
  --violet:       #80709C;
  --red:          #C15F57;
  --white:        #FDFDF8;
  --pause-line:   #C8D2E0;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--brown);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(240,234,216,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44,37,25,0.1);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brown); text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--brown); text-decoration: none; opacity: 0.7; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 2.5rem 5rem;
  background:
    linear-gradient(to bottom, rgba(44,37,25,0.1) 0%, rgba(44,37,25,0.55) 100%),
    url('hero.jpg') center/cover no-repeat;
}
.hero-inner { max-width: 860px; }
.hero .label { color: var(--sage); margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--white); letter-spacing: 0.04em; margin-bottom: 1rem;
}
.hero-tagline {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(250,250,245,0.85); margin-bottom: 2.5rem; max-width: 540px;
}
.hero-cta {
  display: inline-block; background: var(--white); color: var(--brown);
  padding: 0.85rem 2rem; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s;
}
.hero-cta:hover { background: var(--cream); }

/* ── SAVE THE DATE ── */
.save-date { background: var(--green); color: var(--white); padding: 4rem 2.5rem; }
.save-date-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.save-date .label { color: var(--sage); margin-bottom: 1rem; }
.save-date h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 0.4rem; }
.save-date .dates {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--sage); margin-bottom: 2rem;
}
.date-item { border-top: 1px solid rgba(250,250,245,0.2); padding: 1rem 0; }
.date-item strong { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.date-item p { font-size: 0.9rem; opacity: 0.8; }
.date-item em { font-size: 0.8rem; opacity: 0.6; font-style: italic; }
.save-date-right { background: rgba(250,250,245,0.08); padding: 2rem; border: 1px solid rgba(250,250,245,0.15); }
.save-date-right p { font-size: 0.95rem; margin-bottom: 1rem; opacity: 0.9; }
.btn-outline {
  display: inline-block; border: 1px solid var(--white); color: var(--white);
  padding: 0.75rem 1.75rem; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.2s;
}
.btn-outline:hover { background: rgba(250,250,245,0.15); }

/* ── AGENDA ── */
.agenda { background: var(--cream); padding: 5rem 2.5rem; }
.agenda .section-inner { max-width: 1100px; margin: 0 auto; }
.agenda .section-header { margin-bottom: 2.5rem; }
.agenda .section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top: 0.5rem; }

.agenda-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.agenda-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}
.agenda-table thead th:first-child,
.agenda-table .time-col { width: 110px; }

.agenda-table thead th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid rgba(44,37,25,0.15);
  white-space: nowrap;
}
.agenda-table thead th:first-child { opacity: 0.4; }

.time-col { width: 120px; padding: 0.85rem 1rem 0.85rem 0; vertical-align: top; white-space: nowrap; }
.time-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); opacity: 0.55; display: block; }
.time-range { font-size: 0.78rem; color: var(--brown); opacity: 0.45; }

/* Cells are transparent containers; each program item is its own colored box by category */
.slot-cell { padding: 0.4rem; vertical-align: top; }
.slot-content { font-size: 0.82rem; line-height: 1.45; min-height: 2.4rem; }
.slot-parallel { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.35rem; }
.slot-besucher-label { color: #2C4A6E; }
.slot-empty { color: rgba(44,37,25,0.3); font-style: italic; padding: 0.5rem 0.2rem; }

/* program item box (modeled on the "Geeignet für" box) */
.prog { padding: 0.55rem 0.75rem; margin-bottom: 0.4rem; border-radius: 2px; }
.prog:last-child { margin-bottom: 0; }
.prog .who { display: block; font-size: 0.74em; opacity: 0.78; font-style: italic; margin-top: 2px; }
.prog .t { font-weight: 700; font-size: 0.82em; opacity: 0.7; margin-right: 0.35em; }

/* categories — using the site's existing colour scheme */
.cat-werkstatt { background: var(--green); color: rgba(250,250,245,0.95); }
.cat-kueche    { background: var(--parchment); color: var(--brown); }
.cat-besucher  { background: var(--sage); color: #1a3050; }
.cat-koerper   { background: var(--violet); color: rgba(250,250,245,0.96); }
.cat-gesellschaft { background: var(--red); color: rgba(250,250,245,0.96); }

/* legend */
.agenda-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--brown); opacity: 0.85; }
.legend-swatch { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0; }

.pause-row { display: none; }
.slot-row { border: none; }

/* mobile day-view (hidden on desktop) */
.agenda-mobile { display: none; }
.day-card { margin-bottom: 2rem; }
.day-card:last-child { margin-bottom: 0; }
.day-card-head {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--brown);
  padding-bottom: 0.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--green);
}
.day-slot { margin-bottom: 1.1rem; }
.day-slot:last-child { margin-bottom: 0; }
.day-slot-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.day-slot-label span { opacity: 0.6; font-weight: 500; margin-left: 0.4rem; }

/* ── GENERIC SECTIONS ── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-header .label { margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-header .sub {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--gold); margin-top: 0.5rem;
}

/* ── IDEE ── */
.idee { background: var(--white); }
.idee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.idee-text p { font-size: 1.05rem; margin-bottom: 1.5rem; opacity: 0.85; }
.idee-claim {
  font-family: 'Playfair Display', serif; font-size: 1.25rem; font-style: italic;
  border-left: 3px solid var(--green); padding-left: 1.25rem; margin: 2rem 0; color: var(--green);
}
.negation-list { list-style: none; margin: 1.5rem 0; }
.negation-list li {
  font-size: 0.9rem; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(44,37,25,0.1);
  opacity: 0.7; text-decoration: line-through;
}
.negation-list li:last-child { border-bottom: none; }
.img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sage) 0%, var(--green-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,250,245,0.6); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.section-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-caption { font-size: 0.78rem; font-style: italic; color: var(--brown); opacity: 0.6; margin-top: 0.5rem; }
.section-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.werkstatt-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
.werkstatt-mini img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }

/* ── RÄUME ── */
.raeume { background: var(--cream); }
.raum-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.raum-card { background: var(--white); padding: 2rem; }
.raum-card .img-placeholder { margin: -2rem -2rem 2rem; width: calc(100% + 4rem); }
.raum-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.raum-card .sub { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); font-size: 0.9rem; margin-bottom: 1.5rem; }
.raum-facts { list-style: none; margin-top: 1.5rem; }
.raum-facts li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid rgba(44,37,25,0.1); font-size: 0.85rem; }
.raum-facts li:last-child { border-bottom: 1px solid rgba(44,37,25,0.1); }
.fact-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding-top: 0.1rem; }
.geeignet { background: var(--sage); padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: 0.85rem; line-height: 1.6; }
.geeignet strong { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--green); }

/* ── MITMACHEN ── */
.mitmachen { background: var(--cream); }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(44,37,25,0.12); margin-top: 3rem; }
.option { padding: 2.5rem; border: 1px solid rgba(44,37,25,0.12); }
.option-letter { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--sage); line-height: 1; margin-bottom: 0.5rem; }
.option-timing { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.option h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.option p { font-size: 0.88rem; opacity: 0.75; margin-bottom: 1rem; line-height: 1.6; }
.option .ideal { font-style: italic; font-size: 0.8rem; color: var(--green-light); }
.option-link { display: inline-block; margin-top: 1rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); text-decoration: none; border-bottom: 1px solid var(--green); padding-bottom: 2px; }
.option-link:hover { opacity: 0.6; }
.mitmachen-note { margin-top: 2.5rem; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1rem; color: var(--gold); text-align: center; }

/* ── GRÜNDER ── */
.gruender { background: var(--white); }
.gruender-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.gruender-card { display: flex; flex-direction: column; gap: 1rem; }
.gruender-card .img-placeholder { aspect-ratio: 3/4; max-height: 320px; }
.gruender-card h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.gruender-card p { font-size: 0.9rem; opacity: 0.8; line-height: 1.7; }

/* ── COMMUNITY ── */
.community { background: var(--cream); }
.community-intro {
  max-width: 640px; font-size: 1.05rem; opacity: 0.85; margin-top: 1.5rem; line-height: 1.7;
}
.community-thanks {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.2rem; color: var(--green); margin: 2rem 0 2.5rem;
}
.name-cloud {
  display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; align-items: baseline;
}
.name-cloud span {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brown);
  padding: 0.3rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(44,37,25,0.08);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.name-cloud span:nth-child(3n) { color: var(--green); }
.name-cloud span:nth-child(4n) { background: rgba(164,179,207,0.25); }
.name-cloud span:hover { background: var(--green); color: var(--white); }

/* Community Steward */
.steward {
  display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem;
  align-items: center; margin-top: 4rem;
  padding-top: 3rem; border-top: 1px solid rgba(44,37,25,0.15);
}
.steward-photo { overflow: hidden; aspect-ratio: 3/4; border-radius: 2px; }
.steward-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steward-body .label { margin-bottom: 0.4rem; }
.steward-body h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 1rem; color: var(--brown); }
.steward-body p { font-size: 1rem; opacity: 0.85; line-height: 1.75; }

/* ── KONTAKT ── */
.kontakt { background: var(--green); color: var(--white); }
.kontakt .label { color: var(--sage); }
.kontakt h2 { color: var(--white); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.kontakt-info p { font-size: 0.95rem; opacity: 0.85; margin-bottom: 0.5rem; }
.kontakt-info a { color: var(--sage); text-decoration: none; }
.kontakt-info a:hover { text-decoration: underline; }
.anfahrt-item { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(250,250,245,0.15); font-size: 0.9rem; opacity: 0.85; }
.anfahrt-item:last-child { border-bottom: 1px solid rgba(250,250,245,0.15); }
.anfahrt-item .mode { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); min-width: 60px; padding-top: 0.15rem; }

/* ── AGENDA TABLE — light background ── */
.time-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brown); opacity: 0.5; display: block;
}
.time-range { font-size: 0.78rem; color: var(--brown); opacity: 0.45; }
.slot-cell {
  padding: 0.5rem; vertical-align: top;
  border-left: 1px solid rgba(44,37,25,0.08);
}
.slot-content {
  background: var(--white); border-radius: 2px;
  padding: 0.6rem 0.8rem; font-size: 0.82rem; line-height: 1.5;
  color: var(--brown); opacity: 0.45; font-style: italic; min-height: 2.5rem;
}
.slot-content.filled { font-style: normal; opacity: 1; }
.pause-row td { padding: 0; height: 6px; background: transparent; }
.pause-row td.pause-line { background: rgba(44,37,25,0.1); height: 1px; padding: 0; }
.pause-row td:first-child { background: transparent; }
.slot-row { border-top: 1px solid rgba(44,37,25,0.06); }
/* Salvia Blue — Hauptprogramm Besucher */
.slot-cell.highlight {
  background: rgba(164,179,207,0.45);
  border-left: 3px solid #A4B3CF;
}
.slot-cell.highlight .slot-content {
  background: transparent; color: #1a3050;
  font-style: normal; font-weight: 500; opacity: 1;
}
.slot-cell.highlight .event-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #2C4A6E; margin-bottom: 0.35rem; display: block;
}
/* Beige — Mittagspause + Abends */
.slot-row.beige-row .slot-cell { background: rgba(249,240,200,0.7); }
.slot-row.beige-row .slot-content { background: transparent; color: var(--brown); opacity: 0.45; }


/* ── FOOTER ── */
footer {
  background: var(--brown); color: rgba(250,250,245,0.5);
  padding: 2rem 2.5rem; font-size: 0.78rem;
  display: flex; justify-content: space-between; align-items: center;
}
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--white); }
footer .footer-links { display: flex; gap: 1.5rem; }

/* ── NAV: Untermenüs ── */
.nav-links > li { position: relative; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 500; }
.nav-links .sub {
  display: none; position: absolute; top: 100%; left: -1rem; min-width: 200px;
  list-style: none; padding: 0.9rem 1rem 0.6rem; margin-top: 0;
  background: rgba(240,234,216,0.98); border: 1px solid rgba(44,37,25,0.1);
}
.nav-links .sub li { padding: 0.3rem 0; }
.nav-links .has-sub:hover .sub,
.nav-links .has-sub:focus-within .sub { display: block; }
.nav-links .has-sub > a::after { content: " ▾"; font-size: 0.7em; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(44,37,25,0.3); color: var(--brown);
  font: 500 0.75rem 'Inter', sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 0.8rem; cursor: pointer;
}

/* ── SEITENKOPF (Unterseiten) ── */
.page-head { background: var(--white); padding: 9rem 2.5rem 4rem; }
.page-head .label { margin-bottom: 0.75rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 760px; }
.page-head .sub {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.15rem; color: var(--gold); margin-top: 0.75rem; max-width: 640px;
}
.page-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.page-nav a {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--green); border: 1px solid var(--green); padding: 0.45rem 0.9rem;
}
.page-nav a:hover { background: var(--green); color: var(--white); }

/* ── STARTSEITE: Kacheln ── */
.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.teaser { background: var(--white); text-decoration: none; color: var(--brown); display: block; transition: transform 0.2s; }
.teaser:hover { transform: translateY(-3px); }
.teaser .teaser-img { aspect-ratio: 16/10; overflow: hidden; }
.teaser .teaser-body { padding: 1.5rem 1.75rem 1.75rem; }
.teaser h3 { font-size: 1.4rem; margin: 0.4rem 0 0.5rem; }
.teaser p { font-size: 0.9rem; opacity: 0.8; }
.teaser .more { display: inline-block; margin-top: 1rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-cta.secondary { background: transparent; color: var(--white); border: 1px solid var(--white); }
.hero-cta.secondary:hover { background: rgba(250,250,245,0.15); }

/* ── FORMULARE ── */
.form-card { background: var(--white); padding: 2.5rem; margin-top: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend {
  display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%; font: 400 0.95rem 'Inter', sans-serif; color: var(--brown);
  background: var(--cream); border: 1px solid rgba(44,37,25,0.2); border-radius: 2px;
  padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.field fieldset { border: none; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.checks label {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--brown); margin: 0;
}
.checks input { width: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; opacity: 0.7; margin-top: 1.25rem; }
.form-note a { color: var(--green); }
.btn {
  display: inline-block; background: var(--green); color: var(--white); border: none; cursor: pointer;
  padding: 0.9rem 2rem; font: 500 0.8rem 'Inter', sans-serif; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; margin-top: 1.5rem; transition: background 0.2s;
}
.btn:hover { background: var(--green-light); }
.btn[disabled] { background: rgba(44,37,25,0.25); cursor: not-allowed; }
.form-status { margin-top: 1rem; font-size: 0.95rem; }
.form-status.ok { color: var(--green); font-weight: 500; }
.form-status.err { color: var(--red); }

/* ── BELEGUNGSKALENDER (lädt erst nach Klick) ── */
.cal-box {
  background: var(--white); border: 1px solid rgba(44,37,25,0.1); margin-top: 2.5rem;
  min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.cal-box .cal-consent { max-width: 460px; padding: 2rem; }
.cal-box .cal-consent p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 0.5rem; }
.cal-box .cal-consent a { color: var(--green); }
.cal-box iframe { width: 100%; height: 600px; border: 0; display: block; }
.cal-box.loaded { display: block; }

/* ── GALERIE (Räume) ── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.gallery figure { background: var(--white); }
.gallery .g-img { aspect-ratio: 4/3; overflow: hidden; }
.gallery figcaption { padding: 1rem 1.25rem 1.25rem; }
.gallery figcaption strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.gallery figcaption span { font-size: 0.85rem; opacity: 0.75; }
/* Räume: Bereiche abwechselnd hell / creme */
.bereich { background: var(--white); }
.bereich .gallery figure { background: var(--cream); }
.bereich.alt { background: var(--cream); }
.bereich.alt .gallery figure { background: var(--white); }
.img-placeholder.small { aspect-ratio: 4/3; height: 100%; }

/* ── EVENTS ── */
.event-list { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.event-card { background: var(--white); display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 2rem; }
.event-date { font-family: 'Playfair Display', serif; color: var(--green); line-height: 1.2; }
.event-date .day { font-size: 2.6rem; display: block; }
.event-date .month { font-size: 1rem; font-style: italic; }
.event-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.event-card .meta { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.event-card p { font-size: 0.92rem; opacity: 0.85; }
.event-card.placeholder { border: 1px dashed rgba(44,37,25,0.3); background: transparent; }
.past-wrap { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.past-head { margin-bottom: 2rem; }
.past-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top: 0.4rem; }
.past-head .dates { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: var(--green); }
.past-head p { max-width: 640px; margin-top: 0.75rem; opacity: 0.85; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 1rem 1.25rem; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0; width: 100%;
    max-height: calc(100vh - 4rem); overflow-y: auto; padding: 1rem 0 0.5rem;
  }
  nav.open { background: rgba(240,234,216,0.99); }
  nav.open .nav-links { display: flex; }
  .nav-links > li { padding: 0.55rem 0; border-top: 1px solid rgba(44,37,25,0.08); }
  .nav-links a { font-size: 0.95rem; opacity: 0.9; }
  .nav-links .has-sub > a::after { content: ""; }
  .nav-links .sub { display: block; position: static; background: none; border: none; padding: 0.3rem 0 0 1rem; min-width: 0; }
  .nav-links .sub a { font-size: 0.88rem; opacity: 0.7; }
  section { padding: 4rem 1.25rem; }
  .page-head { padding: 7rem 1.25rem 3rem; }
  .idee-grid, .raum-cards, .options-grid, .gruender-grid,
  .kontakt-grid, .save-date-inner, .bild-galerie, .steward,
  .teaser-grid, .form-grid, .gallery, .event-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-card { padding: 1.5rem 1.25rem; }
  .past-wrap { padding: 0 1.25rem; }
  .event-card { padding: 1.5rem; gap: 0.75rem; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem 1.25rem; }

  /* Hero */
  .hero { padding: 0 1.25rem 3.5rem; min-height: 90vh; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }

  /* Program: hide desktop table, show day-view */
  .agenda-wrap { display: none; }
  .agenda-mobile { display: block; }
  .prog { font-size: 0.9rem; padding: 0.7rem 0.85rem; }

  /* Community names a touch smaller */
  .name-cloud span { font-size: 1.05rem; padding: 0.25rem 0.75rem; }
  .steward { margin-top: 2.5rem; padding-top: 2rem; }
  .steward-photo { max-width: 220px; }

  /* Legend wraps with comfortable spacing */
  .agenda-legend { gap: 0.6rem 1.2rem; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: clamp(2.6rem, 17vw, 3.6rem); }
  .section-header h2 { font-size: 1.6rem; }
}
