:root {
  --bg: #ffffff;
  --fg: #111827; /* slate-900 */
  --muted: #6b7280; /* slate-500 */
  --brand: #0ea5e9; /* sky-500 */
  --brand-600: #0284c7; /* sky-600 */
  --accent: #10b981; /* emerald-500 */
  --card: #f8fafc; /* slate-50 */
  --ring: rgba(2,132,199,.35);
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
  --maxw: 1100px;
  --gap: clamp(.8rem, 2vw, 1.2rem);
  --fs-body: clamp(16px, .9vw + 12px, 18px);
  --fs-h1: clamp(28px, 3vw + 16px, 44px);
  --fs-h2: clamp(22px, 2vw + 14px, 30px);
  --fs-h3: clamp(18px, 1.2vw + 12px, 22px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --fg: #e5e7eb;
    --muted: #94a3b8;
    --card: #0f172a;
    --shadow: 0 2px 12px rgba(0,0,0,.35);
  }
  .logo-invert { filter: invert(1) hue-rotate(180deg); }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--fs-body)/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

/* Links / focus */
 a { color: var(--brand-600); text-decoration: none; }
 a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible {
  outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 10px;
}

/* Layout */
.container { width: min(100%, var(--maxw)); margin-inline: auto; padding: 0 var(--gap); }
header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.bar { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; gap: var(--gap); }
.brand { display: flex; gap: .7rem; align-items: center; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow); background: #fff; object-fit: cover; }
.brand h1 { font-size: 1.1rem; margin: 0; letter-spacing: .2px; }

/* Hero */
.hero { padding: 2.2rem 0 1.4rem; }
.hero h2 { font-size: var(--fs-h1); line-height: 1.15; margin: 0 0 .6rem; }
.hero p { margin: 0 0 1.1rem; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); background: var(--brand); color: white; box-shadow: var(--shadow); text-decoration: none; min-height: 44px; }
.btn.secondary { background: var(--card); color: var(--fg); }
.btn:active { transform: translateY(1px); }

/* Grid / Cards */
.grid { display: grid; gap: var(--gap); }
.cards { grid-template-columns: 1fr; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); overflow-x: auto; }
.card h3 { font-size: var(--fs-h3); margin: 0 0 .35rem; }
.badge { display: inline-block; padding: .2rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-size: .85em; }
.card--map { display: flex; flex-direction: column; }
.card--map iframe { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; border-radius: 12px; }

/* Sections */
section { padding: 1.2rem 0 1.6rem; }
section h2 { font-size: var(--fs-h2); margin: 0 0 .6rem; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .5rem .6rem; text-align: left; vertical-align: top; }
.hours tr + tr td, .hours tr + tr th { border-top: 1px dashed color-mix(in srgb, var(--fg) 12%, transparent); }

/* Footer */
footer { border-top: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); padding: 1.2rem 0 3rem; }
.foot { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.muted { color: var(--muted); }

/* Utilities */
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pill { border-radius: 999px; padding: .15rem .5rem; border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }

/* Hero photo (shared) */
.hero-photo img {
  width: 100%;
  height: clamp(240px, 55vh, 640px);
  object-fit: cover;
  display: block;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
}

/* Prose helpers (used on aktuality) */
.prose{line-height:1.7}
.prose p{margin:.6rem 0}
.prose figure{margin:1rem 0}
.prose figcaption{font-size:.9em;color:var(--muted)}
/* Multi-image figure grid */
figure.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(.5rem, 1.5vw, .9rem);
  margin: 1rem 0;
}
figure.photo-grid > img {
  width: 100%;
  height: auto;                 /* keep natural ratio */
  display: block;
  border-radius: 12px;          /* match card radius vibe */
  box-shadow: var(--shadow);
  object-fit: cover;
}
figure.photo-grid > figcaption {
  grid-column: 1 / -1;          /* caption spans full width */
  font-size: .95em;
  color: var(--muted);
}
figure.photo-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
figure.photo-grid a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.collapsible {
  cursor: pointer;
  margin-bottom: 2rem;
}

.collapsible-toggle {
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.collapsible.open .collapsible-content {
  max-height: 500000px; /* big enough */
}

