/* ==========================================================================
   Die Espressostation – Designvorschlag
   Schriften: Bricolage Grotesque & Instrument Sans (SIL OFL 1.1), lokal eingebunden
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f2e9;
  --paper-2: #eee7da;
  --paper-3: #e3d9c8;
  --ink: #252321;
  --ink-2: #312e2b;
  --ink-soft: #46413c;
  --grey: #655e56;
  --line: #d6ccbb;
  --red: #c43832;
  --red-dark: #a52c27;
  --red-light: #ee7a6e;      /* Rot auf dunklem Grund (Kontrast ≥ 4.5:1) */
  --yellow: #e9b949;         /* kleiner Akzent für die Zeitentafel */
  --on-dark: #f6f2e9;
  --on-dark-muted: #bfb6a9;
  --line-dark: rgba(246, 242, 233, 0.16);

  --font-head: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.25rem;
  --radius: 2px;
  --section-y: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 48em) { body { font-size: 1.0625rem; } }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 750; line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
address { font-style: normal; }
strong { font-weight: 650; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--red); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.section--dark :focus-visible,
.site-footer :focus-visible,
.board :focus-visible,
.insta :focus-visible,
.lightbox :focus-visible { outline-color: var(--yellow); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.icon { width: 1em; height: 1em; flex: none; }
/* Hinweis-Pfeil für externe Links (Inline-Element, bricht nie allein um) */
.ext {
  display: inline; padding-left: 0.95em;
  background-color: currentColor;
  -webkit-mask: url("../icons/external.svg") no-repeat 75% 58% / 0.62em 0.62em;
  mask: url("../icons/external.svg") no-repeat 75% 58% / 0.62em 0.62em;
}
@media (forced-colors: active) { .ext { background-color: LinkText; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.25em;
  min-height: 3rem; padding: 0.7rem 1.25rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.15 var(--font-body); letter-spacing: 0.005em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: #fff; color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--red-dark); }
.btn--header { min-height: 2.75rem; padding: 0.5rem 0.95rem; font-size: 0.9375rem; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Wortmarke ---------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.28em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--font-head); font-size: 1.375rem; line-height: 1; letter-spacing: -0.02em;
}
.wordmark__lead { font-weight: 450; color: var(--red); }
.wordmark__main { font-weight: 800; font-stretch: 84%; }
.wordmark--light { color: var(--on-dark); font-size: 1.75rem; }
.wordmark--light .wordmark__lead { color: var(--red-light); }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 0.75rem; min-height: var(--header-h); position: relative; }
.wordmark { margin-right: auto; }

.site-nav__list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-weight: 600; font-size: 0.9688rem; text-decoration: none; color: var(--ink);
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 calc(100% - 0.45rem);
  transition: background-size 0.2s ease;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).is-active { background-size: 100% 2px; }

.menu-toggle { display: none; }

/* Desktop */
@media (min-width: 56em) {
  .header-route { display: none; }
  .site-nav__list { gap: clamp(1.25rem, 2.2vw, 2rem); }
  .site-nav__route { margin-left: 0.5rem; }
}

/* Mobil ohne JavaScript: Navigation als Zeile unter der Kopfzeile */
@media (max-width: 55.99em) {
  .header-bar { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .site-nav__route { display: none; }
  .no-js .site-nav__list { flex-wrap: wrap; gap: 0 1.25rem; padding-bottom: 0.25rem; }
  html.no-js { scroll-padding-top: 7.5rem; }

  /* Mobil mit JavaScript: Menü-Schaltfläche und ausklappbares Panel */
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 2.75rem; min-width: 2.75rem; padding: 0 0.6rem;
    border: 2px solid var(--ink); border-radius: var(--radius);
    background: transparent; color: var(--ink); font: 600 0.9375rem/1 var(--font-body); cursor: pointer;
  }
  .menu-toggle__icon { position: relative; width: 1.1rem; height: 0.8rem; }
  .menu-toggle__icon::before, .menu-toggle__icon::after, .menu-toggle__icon span {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-toggle__icon::before { top: 0; }
  .menu-toggle__icon span { top: calc(50% - 1px); }
  .menu-toggle__icon::after { bottom: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(0.35rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-0.35rem) rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 30px -18px rgba(37, 35, 33, 0.35);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; }
  .js .site-nav__list li { border-bottom: 1px solid var(--line); }
  .js .site-nav a:not(.btn) {
    display: flex; min-height: 3.25rem; font: 750 1.5rem/1 var(--font-head); font-stretch: 88%;
    background-position: 0 calc(100% - 0.6rem);
  }
}
/* Kompakte Kopfzeile auf Smartphones: Wortmarke, „Route planen“ und Menü in einer Zeile */
@media (max-width: 55.99em) {
  .header-bar { gap: 0.5rem; }
  .header-bar .wordmark { font-size: 1.25rem; }
  .header-route { font-size: 0.875rem; padding-inline: 0.75rem; }
}
@media (max-width: 29.99em) {
  .js .menu-toggle { padding: 0; width: 2.75rem; justify-content: center; }
  .menu-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 24em) {
  .header-bar .wordmark { font-size: 1.125rem; }
}
@media (max-width: 22.49em) {
  .header-route { display: none; }
  .js .site-nav__route { display: block; border-bottom: 0 !important; padding-top: 1rem; }
  .js .site-nav__route .btn { width: 100%; }
}

/* ---------- Gemeinsame Abschnitts-Elemente ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--split { max-width: none; display: grid; gap: 1rem 3rem; align-items: end; }
@media (min-width: 56em) { .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }

.section-label, .eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1rem;
  font: 650 0.8125rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-dark);
}
.section-label__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1rem; height: 1.6rem; padding: 0 0.35rem;
  background: var(--red); color: #fff; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
.section-title { font-size: clamp(2.125rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 780; font-stretch: 84%; line-height: 1; letter-spacing: -0.025em; }
.section-intro { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--ink-soft); max-width: 38em; }
.section-head--split .section-intro { margin-top: 0; }
.small { font-size: 0.875rem; color: var(--grey); }

/* ---------- Foto-Komponente ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--paper-3); }
.photo picture, .photo img { width: 100%; height: 100%; }
.photo img { object-fit: cover; }
.photo__tag, .gallery__tag {
  font: 650 0.75rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
}
.photo__tag {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  padding: 0.4rem 0.55rem; background: var(--paper); color: var(--ink);
}

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: clamp(2.25rem, 4vw, 4rem); align-items: center; }
@media (min-width: 60em) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }

.eyebrow { color: var(--red-dark); margin-bottom: 1.25rem; }
.eyebrow__line { width: 2.5rem; height: 2px; background: var(--red); flex: none; }
@media (max-width: 29.99em) {
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; gap: 0.6rem; }
  .eyebrow__line { width: 1.25rem; }
  .hero .btn-row .btn { padding-inline: 1rem; }
}
.hero__title {
  font-size: clamp(2.6rem, 1.2rem + 5vw, 5rem);
  font-weight: 800; font-stretch: 80%; line-height: 0.94; letter-spacing: -0.03em;
}
.hero__title span { display: block; }
.hero__accent { color: var(--red); }
.hero__lead { margin: 1.25rem 0 1.75rem; max-width: 33em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-soft); }

.ticket {
  margin-top: 2rem; max-width: 34rem;
  border-top: 3px solid var(--ink);
}
.ticket__label {
  margin: 0; padding: 0.6rem 0 0;
  font: 650 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}
.hours { margin: 0; }
.hours dd { margin: 0; }
.hours--compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.hours--compact .hours__row { padding: 0.55rem 0.75rem 0.75rem 0; }
.hours--compact .hours__row + .hours__row { padding-left: 0.85rem; border-left: 1px solid var(--line); }
.hours--compact .hours__day { font: 800 1.375rem/1.1 var(--font-head); font-stretch: 85%; }
.hours--compact .hours__time { font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours--compact .hours__unit { display: none; }
.hours--compact .is-today .hours__day { color: var(--red); }
.ticket__address { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.85rem 0 0; font-weight: 600; }
.ticket__address .icon { margin-top: 0.28em; color: var(--red); }
@media (max-width: 23.99em) {
  .hours--compact { grid-template-columns: 1fr; }
  .hours--compact .hours__row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; }
  .hours--compact .hours__row + .hours__row { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Roter Block, der versetzt hinter dem Bild hervorschaut */
.hero__media { position: relative; isolation: isolate; margin: 0 0.75rem 0.75rem 0; }
.hero__media::after {
  content: ""; position: absolute; z-index: -1;
  right: -0.75rem; bottom: -0.75rem; width: 46%; height: 44%;
  background: var(--red);
}
@media (min-width: 60em) {
  .hero__media { margin: 0 1.25rem 1.25rem 0; }
  .hero__media::after { right: -1.25rem; bottom: -1.25rem; }
}
.photo--hero { aspect-ratio: 4 / 3; }
.photo--hero img { object-position: 50% 62%; }
@media (min-width: 40em) and (max-width: 59.99em) { .photo--hero { aspect-ratio: 16 / 10; } }
@media (min-width: 60em) { .photo--hero { aspect-ratio: 1; } }

/* ---------- Kaffee & mehr ---------- */
.section--kaffee { border-top: 1px solid var(--line); background: var(--paper); }
.kaffee__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 60em) {
  .kaffee__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .kaffee__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.photo--square { aspect-ratio: 1; }
@media (max-width: 59.99em) { .kaffee__media .photo--square { aspect-ratio: 16 / 10; } }

.menu { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.menu__item {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0.35rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.menu__num { grid-row: 1 / span 2; padding-top: 0.3rem; font: 700 0.875rem/1 var(--font-body); color: var(--red-dark); font-variant-numeric: tabular-nums; }
.menu__name { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); font-weight: 760; font-stretch: 86%; line-height: 1.1; }
.menu__tag {
  align-self: start; margin: 0.15rem 0 0; padding: 0.35rem 0.5rem;
  border: 1px solid var(--line); color: var(--grey); white-space: nowrap;
  font: 650 0.6875rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
}
.menu__text { grid-column: 2 / -1; margin: 0; color: var(--ink-soft); max-width: 36em; }
@media (max-width: 35.99em) {
  .menu__item { grid-template-columns: 2rem minmax(0, 1fr); }
  .menu__num { grid-row: 1; }
  .menu__tag { grid-column: 2; justify-self: start; }
  .menu__text { grid-column: 2; }
}
.note {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: var(--paper-2); border-left: 4px solid var(--red);
}

/* ---------- Die Station (dunkel) ---------- */
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .section-label { color: var(--red-light); }
.station__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 60em) { .station__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.photo--wide { aspect-ratio: 4 / 3; background: var(--ink-2); }
.photo--wide img { object-position: 40% 50%; }
.station__text .section-title { margin-bottom: 1.5rem; }
.station__text p { color: #ddd5c8; font-size: 1.0625rem; }
@media (min-width: 48em) { .station__text p { font-size: 1.125rem; } }

.facts {
  list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  display: grid; gap: 1.5rem 2rem;
}
@media (min-width: 40em) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts__item { padding-top: 1rem; border-top: 2px solid var(--red-light); }
.facts__item h3 { font-size: 1.375rem; font-weight: 760; font-stretch: 86%; margin-bottom: 0.4rem; }
.facts__item p { margin: 0; color: var(--on-dark-muted); }

/* ---------- Eindrücke / Galerie ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__item--feature { grid-column: 1 / -1; }
@media (min-width: 48em) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; }
}
.gallery__figure { position: relative; margin: 0; height: 100%; }
.gallery__link { display: block; height: 100%; aspect-ratio: 1; overflow: hidden; background: var(--paper-3); }
.gallery__link picture, .gallery__link img { width: 100%; height: 100%; }
.gallery__link img { object-fit: cover; transition: transform 0.5s ease; }
.gallery__link:hover img { transform: scale(1.035); }
.gallery__link:focus-visible { outline-offset: 3px; }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(37, 35, 33, 0.86); color: var(--on-dark);
  font-size: 0.875rem; font-weight: 600; line-height: 1.3;
  pointer-events: none;
}
.gallery__tag { color: var(--on-dark-muted); font-size: 0.6875rem; }
@media (max-width: 29.99em) {
  .gallery__item:not(.gallery__item--feature) .gallery__caption { font-size: 0.8125rem; padding: 0.5rem 0.6rem; }
  .gallery__item:not(.gallery__item--feature) .gallery__tag { display: none; }
}

/* ---------- Besuch ---------- */
.section--besuch { background: var(--paper-2); border-top: 1px solid var(--line); }
.besuch__grid { display: grid; gap: 1.25rem; }
@media (min-width: 56em) { .besuch__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; } }

.board { background: var(--ink); color: var(--on-dark); padding: clamp(1.5rem, 3vw, 2.5rem); }
.board__title {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; margin-bottom: 0.25rem; border-bottom: 2px solid var(--red-light);
  font-size: 1.625rem; font-weight: 760; font-stretch: 86%;
}
.hours--board .hours__row {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 1rem;
  padding: 1rem 0; border-bottom: 1px dashed rgba(246, 242, 233, 0.22);
}
.hours--board .hours__day { display: flex; align-items: center; gap: 0.6rem; font: 760 1.5rem/1.1 var(--font-head); font-stretch: 86%; }
.hours--board .hours__time { font: 650 1.3125rem/1.2 var(--font-body); color: var(--yellow); font-variant-numeric: tabular-nums; }
.hours--board .hours__dash { margin-inline: 0.15em; }
.hours--board .hours__unit { font-size: 0.875rem; color: var(--on-dark-muted); font-weight: 600; }
.hours__today {
  display: inline-block; padding: 0.25rem 0.45rem; background: var(--yellow); color: var(--ink);
  font: 700 0.6875rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
}
.board__note { margin: 1.25rem 0 0; font-size: 0.875rem; color: var(--on-dark-muted); }
.board__note a { color: var(--on-dark); }

.location {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper); border: 2px solid var(--ink);
}
.location__title { font-size: 1.625rem; font-weight: 760; font-stretch: 86%; padding-bottom: 1rem; border-bottom: 2px solid var(--red); }
.location__address { display: grid; gap: 0.25rem; }
.location__street { font: 800 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1 var(--font-head); font-stretch: 82%; letter-spacing: -0.02em; }
.location__city { font-weight: 600; font-size: 1.0625rem; }
.location__hint { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--red-dark); font-weight: 650; }
.location__hint::before { content: ""; width: 0.6rem; height: 0.6rem; background: var(--red); flex: none; }
.location__routes { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 0.5rem; }
@media (max-width: 29.99em) { .location__routes .btn { width: 100%; } }

.insta {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
  background: var(--red); color: #fff;
}
.insta__title { font-size: 1.375rem; font-weight: 760; font-stretch: 86%; margin-bottom: 0.25rem; }
.insta p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 6px solid var(--red); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 40em) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr 1fr; } }
.footer-brand p { margin-top: 0.9rem; color: var(--on-dark-muted); max-width: 22em; }
.footer-title { margin-bottom: 0.9rem; font: 650 0.8125rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-list { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.footer-list a, .footer-col a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration-color: rgba(246, 242, 233, 0.35); }
.site-footer a:hover { text-decoration-color: var(--red-light); }
.footer-address { margin-bottom: 0.75rem; }
.footer-hours { color: var(--on-dark-muted); margin-bottom: 0.5rem; }
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem;
  font-size: 0.875rem; color: var(--on-dark-muted);
}
.footer-bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.footer-bottom p { margin: 0; }
.demo-notice { display: flex; gap: 0.6rem; align-items: baseline; color: var(--on-dark); font-weight: 600; }
.demo-notice__mark { width: 0.6rem; height: 0.6rem; background: var(--red-light); flex: none; }
.footer-meta a { color: var(--on-dark); }

/* ---------- Rechtliche Seiten ---------- */
.legal-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; color: var(--red-dark); text-decoration: none; }
.back-link .icon { transform: rotate(180deg); }
.back-link:hover span { text-decoration: underline; }
.legal-title { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); font-weight: 800; font-stretch: 80%; line-height: 0.95; letter-spacing: -0.03em; }
.legal-lead { margin: 1rem 0 0; font-size: 1.125rem; color: var(--ink-soft); max-width: 38em; }
.legal-grid { display: grid; gap: 2rem 3.5rem; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem); }
@media (min-width: 60em) { .legal-grid { grid-template-columns: 13rem minmax(0, 46rem); } }
.legal-nav__title { margin: 0 0 0.5rem; font: 650 0.75rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.legal-nav__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; border-top: 3px solid var(--ink); padding-top: 0.25rem; }
.legal-nav__list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
.legal-nav__list a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.legal-nav__list a[aria-current="page"] { color: var(--red-dark); box-shadow: inset 0 -2px 0 var(--red); }
@media (min-width: 60em) {
  .legal-nav { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .legal-nav__list { flex-direction: column; }
  .legal-nav__list li { border-bottom: 1px solid var(--line); }
  .legal-nav__list a { min-height: 2.75rem; }
  .legal-nav__list a[aria-current="page"] { box-shadow: none; }
  .legal-nav__list a[aria-current="page"]::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--red); margin-right: 0.6rem; }
}

.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin: 2.5rem 0 0.75rem; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 760; font-stretch: 86%; line-height: 1.1; }
.prose h3 { margin: 1.75rem 0 0.5rem; font-size: 1.1875rem; font-weight: 720; font-stretch: 90%; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red-dark); }
.prose a:hover { text-decoration-thickness: 2px; }
.callout { margin: 1.5rem 0; padding: 1.1rem 1.25rem; background: var(--paper-2); border-left: 4px solid var(--red); }
.legal-updated { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--grey); }

.toc { margin-bottom: 2rem; padding: 1.1rem 1.25rem; border: 2px solid var(--ink); }
.toc__title { margin: 0 0 0.5rem; font: 650 0.75rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 1; }
@media (min-width: 40em) { .toc ol { columns: 2; column-gap: 2.5rem; } }
.toc li { break-inside: avoid; margin-bottom: 0.3rem; }
.toc a { color: var(--ink); }

/* Bildnachweise */
.credits { list-style: none; padding: 0 !important; display: grid; gap: 1.25rem; margin: 1rem 0 0 !important; }
.credit { display: grid; gap: 1rem 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); margin: 0 !important; }
@media (min-width: 36em) { .credit { grid-template-columns: 9rem minmax(0, 1fr); } }
.credit__thumb { aspect-ratio: 1; overflow: hidden; background: var(--paper-3); max-width: 12rem; }
.credit__thumb picture, .credit__thumb img { width: 100%; height: 100%; object-fit: cover; }
.credit__title { margin: 0 0 0.75rem !important; font-size: 1.1875rem !important; }
.credit__num { color: var(--red-dark); font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; margin-right: 0.35rem; }
.credit__list { margin: 0; display: grid; gap: 0.35rem; font-size: 0.9375rem; }
.credit__list div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; }
.credit__list dt { color: var(--grey); font-weight: 600; }
.credit__list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 23.99em) { .credit__list div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(3rem, 8vw, 6rem); }
.notfound__inner { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 48em) { .notfound__inner { grid-template-columns: auto minmax(0, 1fr); } }
.notfound__code { margin: 0; font: 800 clamp(6rem, 3rem + 14vw, 13rem)/0.8 var(--font-head); font-stretch: 75%; color: var(--red); letter-spacing: -0.04em; }
.notfound__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; font-stretch: 82%; margin-bottom: 1rem; }
.notfound__text .btn-row { margin-top: 1.5rem; }
.notfound__hours { margin-top: 1.5rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(calc(100vw - 2rem), 64rem); max-width: none; max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; background: var(--ink); color: var(--on-dark); overflow: hidden;
}
.lightbox::backdrop { background: rgba(18, 17, 16, 0.88); }
.lightbox__inner { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; min-height: 0; flex: 1; }
.lightbox__img { width: 100%; height: auto; max-height: calc(100dvh - 9.5rem); object-fit: contain; background: #161514; }
.lightbox__caption { padding: 0.85rem 1.25rem 0.25rem; font-weight: 600; }
.lightbox__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.75rem 0.75rem; }
.lightbox__count { margin: 0; font-size: 0.875rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.lightbox__btn, .lightbox__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid rgba(246, 242, 233, 0.4); border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); cursor: pointer;
}
.lightbox__btn:hover, .lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { position: absolute; top: 0.75rem; right: 0.75rem; }
body.lightbox-open { overflow: hidden; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .gallery__link:hover img { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .menu-toggle, .lightbox, .hero__media::after { display: none !important; }
  body { background: #fff; }
  .section--dark, .board, .site-footer, .insta { background: #fff !important; color: #000 !important; }
}
