﻿/* ======================================================================
   Zeitreisen ins Alte Rom — site.css (eine Datei für alles)
   Typo: Literata (Headlines) + Inter (UI/Text)
   Akzentfarbe: Ocker – funktional eingesetzt
   ====================================================================== */

/* ----------------------------------------------------------------------
   Globale Basis-Resets
   ---------------------------------------------------------------------- */

/*
 * [hidden]-Fix: Browser-UA-Stylesheet hat display:none für [hidden],
 * aber Author-CSS wie .card{display:flex} überschreibt das.
 * !important im Author-CSS stellt sicher, dass [hidden] immer greift.
 */
[hidden] { display: none !important; }

/* ----------------------------------------------------------------------
   Design Tokens
   ---------------------------------------------------------------------- */
:root{
  /* Materialität: Pergament & Tinte */
  --bg: #f6f1e6;
  --surface: #ffffff;
  --surface-2: #fbf7ef;

  --ink: #1f2328;
  --ink-muted: #5c636a;

  --line: rgba(31,35,40,.18);
  --line-quiet: rgba(31,35,40,.12);

  /* Akzent (Ocker): nur funktional */
  --accent: #8b6f3d;
  --accent-2: rgba(139,111,61,.14);

  /* Layout */
  --max: 1160px;        /* Landing/Grid */
  --max-text: 960px;    /* Eventdetail-Lesebühne */
  --radius: 18px;
  --radius-lg: 22px;

  /* Typo */
  --font-ui: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --font-head: "Literata", ui-serif, Georgia, "Times New Roman", serif;

  /* Schatten */
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --shadow-hover: 0 14px 40px rgba(0,0,0,.12);

  /* Breakpoints */
  --bp-md: 980px;
  --bp-sm: 720px;
}

/* ----------------------------------------------------------------------
   Reset / Base
   ---------------------------------------------------------------------- */
*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;

  /* sehr dezente Papierkörnung */
  background-image:
    radial-gradient(rgba(31,35,40,.035) 0.6px, transparent 0.6px),
    radial-gradient(rgba(31,35,40,.02) 0.8px, transparent 0.8px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 9px 13px;
}

img{ max-width: 100%; display: block; }
p{ margin: 0 0 1rem; }

/* Überschriften: Abstand kontrolliert (keine „Luftlöcher“) */
h1,h2,h3{
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 .5rem;
  padding-bottom: .06em; /* Unterlängen-Schutz */
}
h1{ font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; }
h2{ font-size: 1.5rem; line-height: 1.2; }
h3{ font-size: 1.12rem; line-height: 1.22; }

/* Unterüberschriften sollen NICHT nochmal extra Abstand darunter erzeugen */
h2 + p, h3 + p, h2 + ul, h3 + ul{ margin-top: 0; }

small{ color: var(--ink-muted); }

a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(31,35,40,.22);
  padding-bottom: 2px;
}
a:hover{ border-bottom-color: rgba(31,35,40,.38); }

/* Fokus sichtbar, aber stilvoll */
:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(139,111,61,.22);
  border-radius: 10px;
}

/* Listen: Bullets bündig mit Text/Überschriften */
ul,ol{
  margin: 0 0 1rem;
  padding-left: 0;
  list-style-position: outside;
}
li{
  margin: .32rem 0;
  margin-left: 1.2rem; /* erzeugt Bullet, Textbeginn bleibt bündig */
}
ul.square-list{ list-style-type: square; }
ul.square-list li{ margin-left: 1.25rem; }

/* ----------------------------------------------------------------------
   Layout Containers
   ---------------------------------------------------------------------- */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.container--text{
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------------------------------------------
   Minimal Navigation (Landing + Pages)
   ---------------------------------------------------------------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(246,241,230,.78);
  border-bottom: 1px solid var(--line-quiet);
}
.nav__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav__brand{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo{
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
/* Responsiver Zeilenumbruch im Hero-H1 */
.hero-br{ display: none; }
@media (max-width: 440px){
  .hero-br{ display: inline; }
}
.nav__links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: .875rem;
  color: var(--ink-muted);
}
.nav__links a{
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav__links a:hover{
  color: var(--ink);
  border-bottom-color: rgba(31,35,40,.22);
}

/* ----------------------------------------------------------------------
   Buttons (funktionale Ocker-Akzente)
   ---------------------------------------------------------------------- */
.btn,
.btn-dark{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .56rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(31,35,40,.22);
  background: var(--surface-2);
  color: var(--ink);
  transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover,
.btn-dark:hover{
  background: #fff;
  border-color: rgba(31,35,40,.30);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.btn:active,
.btn-dark:active{ transform: translateY(1px); }

.btn--primary{
  border-color: rgba(139,111,61,.40);
  background: rgba(139,111,61,.12);
}
.btn--primary:hover{
  background: rgba(139,111,61,.16);
  border-color: rgba(139,111,61,.52);
}

/* ======================================================================
   Landing Hero (3:2 + Slideshow, ohne JS)
   ====================================================================== */

/* Container */
.hero{
  margin: 18px 0 26px;
}

.hero__frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-quiet);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  position: relative;
  background: linear-gradient(135deg, rgba(31,35,40,.12), rgba(31,35,40,.04));
}

/* 3:2-Format – KEIN 16:9 mehr */
.hero__media{
  position: relative;
  aspect-ratio: 3 / 2;   /* Projektstandard */
  overflow: hidden;
}
/* Slides-Layer */
.hero__slides{
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Einzelne Slide */
.hero__slide{
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: heroFade 32s infinite; /* 4 Slides × 8s */
  will-change: opacity;
}

/* Bild passt exakt in 3:2-Rahmen */
.hero__slide picture,
.hero__slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* kein Beschnitt bei 3:2-Bildern */
}

/* Reihenfolge */
.hero__slide:nth-child(1){ animation-delay: 0s; }
.hero__slide:nth-child(2){ animation-delay: 8s; }
.hero__slide:nth-child(3){ animation-delay: 16s; }
.hero__slide:nth-child(4){ animation-delay: 24s; }

/* 8s pro Bild – ruhige Überblendung */
@keyframes heroFade{
  0%   { opacity: 0; }
  3.75% { opacity: 1; }   /* ~1.2s Fade-In */
  21.25% { opacity: 1; }  /* sichtbar */
  25%  { opacity: 0; }    /* ~1.2s Fade-Out */
  100% { opacity: 0; }
}

/* Overlay-Text liegt über Slides */
.hero__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px 22px 20px;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55),
    rgba(0,0,0,.0)
  );
}

.hero__text{
  max-width: 64ch;
  color: rgba(255,255,255,.92);
}

.hero__h1{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.hero__claim{
  margin: 10px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 10px 26px rgba(0,0,0,.32);
}

.hero__mini{
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  text-shadow: 0 10px 24px rgba(0,0,0,.30);
}

/* ruhiger dunkler Verlauf unten */
.hero__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
  z-index: 2;
  pointer-events:none;
}

/* Motion-Reduktion respektieren */
@media (prefers-reduced-motion: reduce){
  .hero__slide{
    animation: none;
    opacity: 0;
  }
  .hero__slide:first-child{
    opacity: 1;
  }
}

/* ---------- Landing Hero (3:2 + Slideshow) — Add-ons ---------- */

/* Slideshow Container */
.hero__media--slideshow{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Slides stacken */
.hero__slides{
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* kein Crop, 3:2 bleibt */
}

/* Jeder Slide liegt übereinander */
.hero__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease; /* sanfter Fade */
}

/* Aktiver Slide sichtbar */
.hero__slide.is-active{
  opacity: 1;
  pointer-events: auto;
}

/* Bild füllt 3:2-Fläche ohne Cropping */
.hero__slide img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* wichtig: kein Crop */
  background: linear-gradient(135deg, rgba(31,35,40,.10), rgba(31,35,40,.03));
}

/* Pfeile */
.hero__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.92);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
  transition: background .15s ease, transform .08s ease, border-color .15s ease;
}
.hero__nav:hover{
  background: rgba(0,0,0,.36);
  border-color: rgba(255,255,255,.50);
}
.hero__nav:active{ transform: translateY(-50%) translateY(1px); }

.hero__nav--prev{ left: 14px; }
.hero__nav--next{ right: 14px; }

/* Dots (Positionsanzeige) */
.hero__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}

.hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.20);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.hero__dot:hover{ transform: scale(1.12); }
.hero__dot.is-active{
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.92);
}

/* Optional: Pfeile/Dots auf sehr kleinen Screens etwas kleiner */
@media (max-width: 720px){
  .hero__nav{ width: 40px; height: 40px; font-size: 26px; }
  .hero__nav--prev{ left: 10px; }
  .hero__nav--next{ right: 10px; }
  .hero__dots{ bottom: 10px; }
}

/* Wenn JS aktiv ist: CSS-Animation der No-JS-Slideshow deaktivieren */
.js .hero__media--slideshow .hero__slide{
  animation: none !important;
}

/* Wenn JS aktiv ist: kein Cropping (3:2 bleibt vollständig sichtbar) */
.js .hero__media--slideshow .hero__slide picture,
.js .hero__media--slideshow .hero__slide img{
  object-fit: contain !important;
}


/* ----------------------------------------------------------------------
   Sections (Landing)
   ---------------------------------------------------------------------- */
.section{ margin: 26px 0; }

/* Visueller Rhythmus: Option A – Surface-Hintergrund (Cremeweiß, Schatten)
   --surface-2 (#fbf7ef) statt reinem Weiß, damit Route-Karten darin noch sichtbar sind */
.section--card{
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface-2);
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 24px 28px;
}
/* Visueller Rhythmus: Option C – Schmalere Lesebühne ohne Hintergrundwechsel */
.section--narrow{
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.section__top{
  display:flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.section__title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
}
.section__sub{
  margin: 0;
  color: var(--ink-muted);
  max-width: 80ch;
  font-size: .98rem;
  line-height: 1.45;
}

/* ----------------------------------------------------------------------
   Feature (Landing)
   ---------------------------------------------------------------------- */
.feature{
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  /* Whole-card link (stretched link pattern) */
  position: relative;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
/* Stretched link: der .btn--primary innen spannt sich über die gesamte Karte */
.feature .btn--primary::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* CTA-Button bleibt über dem gestreckten Pseudo-Element anklickbar */
.feature .btn--primary{
  position: relative;
  z-index: 1;
}
@media (max-width: 980px){ .feature{ grid-template-columns: 1fr; } }

.feature__media{
  position: relative;
  min-height: 360px;
  background:
    radial-gradient(120% 120% at 25% 15%, rgba(255,255,255,.6), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(31,35,40,.12), rgba(31,35,40,.04));
}
.feature__media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(135deg,
      rgba(31,35,40,.05) 0px,
      rgba(31,35,40,.05) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: .16;
  mix-blend-mode: multiply;
  pointer-events:none;
}
.feature__ph{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding: 14px;
  color: rgba(31,35,40,.62);
  font-weight: 700;
  text-align:center;
}
.feature__body{
  padding: 18px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f4ee;
}
.meta{
  color: var(--ink-muted);
  font-size: .88rem;
  letter-spacing: .01em;
  font-weight: 600;
  line-height: 1.2;
}
.place{ color: var(--ink); font-weight: 800; }
.feature__title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.18;
}
.feature__teaser{
  margin: 0;
  font-size: 1.0rem;
  line-height: 1.5;
  max-width: 70ch;
}
.why{
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-quiet);
}
.why__title{
  margin: 0 0 6px;
  font-weight: 800;
  font-size: .92rem;
}
.why__list{
  margin: 0;
  padding-left: 0;
  color: var(--ink-muted);
  font-size: .95rem;
}
.why__list li{ margin-left: 1.2rem; }

/* ----------------------------------------------------------------------
   Filter Chips (Landing)
   ---------------------------------------------------------------------- */
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap: .45rem;
  padding: .38rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: .90rem;
  line-height: 1.1;
  cursor:pointer;
  user-select:none;
  transition: border-color .15s ease, background .15s ease, transform .08s ease;
}
.chip:hover{ border-color: rgba(31,35,40,.28); }
.chip:active{ transform: translateY(1px); }
.chip__dot{ color: rgba(31,35,40,.35); }
.chip--active,
.chips input:checked + label{
  background: var(--accent-2);
  border-color: rgba(139,111,61,.45);
}

/* Routen-spezifische Chip-Dots und aktive Zustände */
.chip[data-route="spektakel"] .chip__dot{ color: rgba(193,89,61,.65); }
.chip[data-route="ritual-alltag"] .chip__dot{ color: rgba(139,111,61,.65); }
.chip[data-route="stadt-macht"] .chip__dot{ color: rgba(74,98,120,.65); }

.chip[data-route="spektakel"].chip--active{
  background: rgba(193,89,61,.10);
  border-color: rgba(193,89,61,.40);
}
.chip[data-route="ritual-alltag"].chip--active{
  background: rgba(139,111,61,.13);
  border-color: rgba(139,111,61,.45);
}
.chip[data-route="stadt-macht"].chip--active{
  background: rgba(74,98,120,.09);
  border-color: rgba(74,98,120,.34);
}

/* ----------------------------------------------------------------------
   Grid + Cards (Landing + Related)
   ---------------------------------------------------------------------- */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Default: 3 Spalten (12/4) */
.card{
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
  min-height: 360px;
  transition: transform .18s ease, box-shadow .18s ease;
  outline: none;
}
@media (max-width: 980px){ .card{ grid-column: span 6; } }
@media (max-width: 680px){ .card{ grid-column: span 12; } }

.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.card:focus-visible{
  box-shadow: 0 0 0 4px rgba(139,111,61,.22), var(--shadow-hover);
}

.media{
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.65), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(31,35,40,.10), rgba(31,35,40,.03));
  transform-origin:center;
  transition: transform .18s ease;
}
.card:hover .media{ transform: scale(1.02); }

/* Promo-Badge (Reise-Hinweis oben links in Kachel-Bild) */
.promo-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.promo-badge--rot   { background: #c0392b; color: #fff; }
.promo-badge--gelb  { background: #c48a00; color: #fff; }
.promo-badge--gruen { background: #27ae60; color: #fff; }
@media (max-width: 680px){
  .promo-badge{ font-size: .65rem; padding: 2px 7px; top: 8px; left: 8px; }
}

.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback-Platzhalter */
.media::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(135deg,
      rgba(31,35,40,.05) 0px,
      rgba(31,35,40,.05) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: .18;
  mix-blend-mode: multiply;
  pointer-events:none;
}
.media__ph{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding: 14px;
  color: rgba(31,35,40,.62);
  font-weight: 700;
  text-align:center;
  pointer-events:none;
  font-size: .92rem;
}

.body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.22;
  letter-spacing: .01em;
  padding-bottom: .06em;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  overflow:hidden;
  -webkit-line-clamp: 2;
}
.teaser{
  margin: 0;
  font-size: .98rem;
  line-height: 1.45;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  overflow:hidden;
  -webkit-line-clamp: 3;
}

/* Labels */
.labels{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.k-label{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  padding:.22rem .54rem;
  border:1px solid rgba(139,111,61,.22);
  border-radius:999px;
  font-weight: 600;
  font-size: .84rem;
  line-height: 1.1;
  color: var(--ink);
  background: rgba(251,247,239,.88);
  white-space: nowrap;
}
.k-label--quiet{
  color: var(--ink-muted);
  border-color: var(--line-quiet);
  background: rgba(251,247,239,.55);
}

/* ----------------------------------------------------------------------
   Routen-Farbsystem: Spektakel & Massen | Ritual & Alltag | Stadt & Macht
   Terrakotta · Ocker · Schieferblau
   Reihenfolge der Deklaration ist bewusst: Spektakel steht zuletzt und
   gewinnt für multi-route-Kacheln (z. B. data-route=”spektakel stadt-macht”).
   ---------------------------------------------------------------------- */

/* Stadt & Macht – Schieferblau */
.card[data-route~=”stadt-macht”] .k-label{
  background: rgba(74,98,120,.09);
  border-color: rgba(74,98,120,.30);
  color: #1e3d55;
}
.card[data-route~=”stadt-macht”] .k-label--quiet{
  background: rgba(74,98,120,.05);
  border-color: rgba(74,98,120,.18);
  color: rgba(30,61,85,.62);
}

/* Ritual & Alltag – Ocker (Projektakzent leicht gesättigter) */
.card[data-route~=”ritual-alltag”] .k-label{
  background: rgba(139,111,61,.13);
  border-color: rgba(139,111,61,.38);
  color: #5c3d10;
}
.card[data-route~=”ritual-alltag”] .k-label--quiet{
  background: rgba(139,111,61,.07);
  border-color: rgba(139,111,61,.22);
  color: rgba(92,61,16,.62);
}

/* Spektakel & Massen – Terrakotta (zuletzt → gewinnt bei Mehrfach-Route) */
.card[data-route~=”spektakel”] .k-label{
  background: rgba(193,89,61,.10);
  border-color: rgba(193,89,61,.32);
  color: #6e2310;
}
.card[data-route~=”spektakel”] .k-label--quiet{
  background: rgba(193,89,61,.05);
  border-color: rgba(193,89,61,.18);
  color: rgba(110,35,16,.62);
}

/* Compact card variant (für „Wenn Sie schon mal da sind”) */
.card.compact{ min-height: 320px; }
.card.compact .title{ font-size: 1.05rem; }
.card.compact .teaser{ -webkit-line-clamp: 2; font-size: .95rem; }

/* ----------------------------------------------------------------------
   Routes Cards (Landing)
   ---------------------------------------------------------------------- */
.routes{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.route{
  grid-column: span 4;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  position: relative;
}
.route__icon{
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 10px;
  opacity: .75;
}
@media (max-width: 980px){ .route{ grid-column: span 6; } }
@media (max-width: 680px){ .route{ grid-column: span 12; } }

.route::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  background: rgba(139,111,61,.40);
  border-radius: 999px;
}

/* Routen-Balken: farblich differenziert */
#route-spektakel::before{ background: rgba(193,89,61,.52); }
#route-ritual-alltag::before{ background: rgba(139,111,61,.48); }
#route-stadt-macht::before{ background: rgba(74,98,120,.48); }

#route-spektakel .route__link{ border-bottom-color: rgba(193,89,61,.38); }
#route-spektakel .route__link:hover{ border-bottom-color: rgba(193,89,61,.62); }
#route-ritual-alltag .route__link{ border-bottom-color: rgba(139,111,61,.38); }
#route-ritual-alltag .route__link:hover{ border-bottom-color: rgba(139,111,61,.60); }
#route-stadt-macht .route__link{ border-bottom-color: rgba(74,98,120,.38); }
#route-stadt-macht .route__link:hover{ border-bottom-color: rgba(74,98,120,.60); }

.route__title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.2;
}
.route__sub{
  margin: 6px 0 10px;
  color: var(--ink-muted);
  font-size: .95rem;
}
.route__list{ margin: 0; padding-left: 0; color: var(--ink); font-size: .95rem; }
.route__list li{ margin-left: 1.2rem; }
.route__link{
  margin-top: 10px;
  display:inline-block;
  color: var(--ink-muted);
  border-bottom: 1px solid rgba(139,111,61,.35);
  padding-bottom: 2px;
  font-weight: 700;
}
.route__link:hover{
  color: var(--ink);
  border-bottom-color: rgba(139,111,61,.55);
}

/* ----------------------------------------------------------------------
   Methodik Block (Landing)
   ---------------------------------------------------------------------- */
.method{
  display:grid;
  grid-template-columns: 3fr 2fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.7);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
@media (max-width: 980px){ .method{ grid-template-columns: 1fr; } }

.method__viz{
  min-height: 240px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(31,35,40,.06), rgba(31,35,40,.02));
  position: relative;
}
.method__viz::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(135deg,
      rgba(31,35,40,.05) 0px,
      rgba(31,35,40,.05) 1px,
      transparent 1px,
      transparent 8px
    );
  opacity: .12;
  mix-blend-mode: multiply;
  pointer-events:none;
}
.layer{
  position: relative;
  margin: 10px 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line-quiet);
  background: rgba(255,255,255,.78);
}
.layer__t{
  margin: 0 0 4px;
  font-weight: 900;
  letter-spacing: .01em;
  font-size: .92rem;
}
.layer__p{ margin: 0; color: var(--ink-muted); font-size: .92rem; }

.method__body{
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.method__title{
  margin:0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}
.method__bullets{ margin: 0; padding-left: 0; font-size: .98rem; line-height: 1.5; }
.method__bullets li{ margin-left: 1.2rem; }
.method__bullets strong{ font-weight: 900; }

/* ----------------------------------------------------------------------
   Footer (Landing)
   ---------------------------------------------------------------------- */
footer{
  margin: 34px 0 46px;
  padding-top: 14px;
  border-top: 1px solid var(--line-quiet);
  color: var(--ink-muted);
  font-size: .92rem;
  display:flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}
footer a{
  color: inherit;
  border-bottom: 1px solid rgba(31,35,40,.18);
}
footer a:hover{
  border-bottom-color: rgba(31,35,40,.35);
  color: var(--ink);
}
.mantra{
  font-weight: 800;
  color: rgba(31,35,40,.75);
}

/* ======================================================================
   Event Detail Pages (events/*.html)
   ====================================================================== */
.event-detail{
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.event-hero{ margin: 18px 0 26px; }

/* Einzelbild-Fallback (wenn kein .event-hero-media-Wrapper vorhanden) */
.event-hero-image{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-quiet);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  background:
    radial-gradient(140% 120% at 20% 15%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(31,35,40,.16), rgba(31,35,40,.05));
}

/* Bilderschau im Event-Hero (≥2 Bilder) */
.event-hero-media{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-quiet);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31,35,40,.16), rgba(31,35,40,.05));
}
.event-hero-media picture{
  position: absolute;
  inset: 0;
}
.event-hero-media picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
  aspect-ratio: unset;
}
/* Überblendung: 2 Bilder à 9 s sichtbar, 1 s Übergang = 20 s Zyklus */
.event-hero-media picture:nth-child(1){ animation: ehFade1 20s infinite; }
.event-hero-media picture:nth-child(2){ animation: ehFade2 20s infinite; }
@keyframes ehFade1{
  0%, 45%  { opacity: 1; }
  50%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes ehFade2{
  0%, 45%  { opacity: 0; }
  50%, 95% { opacity: 1; }
  100%     { opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .event-hero-media picture:nth-child(1){ animation: none; opacity: 1; }
  .event-hero-media picture:nth-child(2){ animation: none; opacity: 0; }
}

/* KI-Rekonstruktion-Badge: erscheint absolut positioniert unten rechts
   im hero__media-Container bzw. im ki-img-wrap-Container im Accordion. */
.ki-badge{
  position: absolute;
  bottom: 9px;
  right: 11px;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 8px 3px;
  border-radius: 4px;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  line-height: 1.4;
}

/* Wrapper für Rekonstruktionsbild im Accordion */
.ki-img-wrap{
  position: relative;
  display: inline-block;
  max-width: 560px;
  width: 100%;
  margin-bottom: .4rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.ki-img-wrap img{
  display: block;
  width: 100%;
  border-radius: var(--radius);
}
/* Bildunterschrift nach ki-img-wrap: maximal so breit wie das Bild */
.ki-img-wrap + p{
  max-width: 560px;
}

.event-hero-text{ margin-top: 16px; }
.event-meta{
  color: var(--ink-muted);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 6px;
}
.event-claim{
  margin: 6px 0 0;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--accent);
  letter-spacing: .01em;
}

.event-section{ margin-top: 32px; }

/* Frontstage / Werbetext: einen Hauch größer als Basistext */
.frontstage > p{ font-size: 1.06rem; line-height: 1.52; }
/* h2 in der Frontstage (z. B. „Nutzerstimmen aus der Antike") braucht Abstand nach oben */
.frontstage h2{ margin-top: 2rem; }

/* kleinere Textblöcke (Historischer Kontext / Rekonstruktion / Quellen) */
.smalltype{ font-size: .90em; }
.smalltype h3{ font-size: 1em; }

/* Premium-Box */
.premium-box{
  background: var(--surface-2);
  border: 1px solid rgba(139,111,61,.18);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0 10px;
}
.premium-box > strong{
  display:block;
  font-weight: 900;
  margin-bottom: 8px;
}
.premium-box ul{ margin: 0; padding-left: 0; }
.premium-box li{ margin-left: 1.2rem; }

/* Testimonial / Zitatbox */
.testimonial{
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line-quiet);
  border-radius: 4px;
  padding: 2.4rem 2.4rem 1.8rem 2.4rem;
  margin: 24px 0 0;
  overflow: hidden;
}
/* Grosses dekoratives Anfuehrungszeichen */
.testimonial::before{
  content: "\201E";
  position: absolute;
  top: -0.55rem;
  left: 1.6rem;
  font-size: 9rem;
  line-height: 1;
  font-family: var(--font-head);
  color: var(--accent);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}
/* Linker Goldbalken */
.testimonial::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}
.stars{
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: .10em;
}
.stars .empty{
  color: var(--line);
}
/* Lateinisches Original */
.review-latin{
  font-family: var(--font-head);
  font-variant: small-caps;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 0.6rem 0;
}
/* Deutsche Uebersetzung */
.review-translation{
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 1.6rem 0;
}
/* Trennlinie */
.review-divider{
  border: none;
  border-top: 1px solid var(--line-quiet);
  margin: 0 0 0.9rem 0;
}
/* Fallback blockquote (alte Struktur) */
.testimonial blockquote{
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}
.testimonial cite{
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0.03em;
}
.testimonial cite em{
  font-style: italic;
}

/* Rekonstruktionsabschnitt */
.reconstruction{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius);
  padding: 18px;
}

/* Quellen/Accordion (ohne JS) */
.sources details,
.accordion details{
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.sources summary,
.accordion summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 900;
  color: var(--ink);
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  background: rgba(251,247,239,.7);
  border-bottom: 1px solid var(--line-quiet);
}
.sources summary::-webkit-details-marker,
.accordion summary::-webkit-details-marker{ display:none; }

.sources summary::after,
.accordion summary::after{
  content: "▾";
  color: var(--accent);
  font-weight: 900;
  transform: translateY(-1px);
}
.sources details[open] summary::after,
.accordion details[open] summary::after{ content: "▴"; }

.sources details > *:not(summary),
details.accordion > *:not(summary){ padding: 14px 16px; }

.accordion__head{
  display:flex;
  flex-direction: column;
  gap: 2px;
}
.accordion__hint{
  color: var(--ink-muted);
  font-weight: 700;
  font-size: .92em;
  line-height: 1.25;
}

/* Quellenlisten: Quadrat + Einzug */
.sources ul{ margin: 0 0 14px; padding-left: 0; }
.sources ul li{ margin-left: 1.25rem; }
.sources ul.square-list li{ margin-left: 1.35rem; }

.sources h3{
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

/* Accordion: kein Leerzeilen-Abstand zwischen h3 und nachfolgendem Text */
.accordion details h3{ margin-bottom: 2px; }

/* Event footer nav */
.event-footer-nav{
  margin-top: 44px;
  font-weight: 800;
}
.event-footer-nav a{ border-bottom-color: rgba(139,111,61,.35); }
.event-footer-nav a:hover{ border-bottom-color: rgba(139,111,61,.55); }

/* ----------------------------------------------------------------------
   Related Events (Ende der Eventseiten)
   Ziel: 4 Kacheln nebeneinander auf Desktop, ohne den Lesebühnen-Maxwert
   zu sprengen: wir erlauben hier breitere Bühne.
   ---------------------------------------------------------------------- */
.related-events{
  margin-top: 34px;
}

/* Der Block darf breiter als --max-text sein */
.related-events .related-shell{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.related-events .related-top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.related-events .related-title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}
.related-events .related-sub{
  margin: 0;
  color: var(--ink-muted);
  font-size: .98rem;
  line-height: 1.45;
  max-width: 70ch;
}

/* 4 nebeneinander (Desktop), dann 2, dann 1 */
.related-events .related-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .related-events .related-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .related-events .related-grid{ grid-template-columns: 1fr; }
}

/* In related-grid sollen cards NICHT an 12er-Grid-Span-Regeln hängen */
.related-events .related-grid .card{
  grid-column: auto;
  min-height: 320px;
}

/* kleiner Abschluss-Marker */
.related-events .related-title::after{
  content:"";
  display:block;
  width: 84px;
  height: 3px;
  margin-top: 10px;
  background: rgba(139,111,61,.42);
  border-radius: 999px;
}

/* ======================================================================
   Utilities
   ====================================================================== */
.muted{ color: var(--ink-muted); }
.surface{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line-quiet);
  border-radius: var(--radius);
  padding: 16px;
}


/* Aliase für ältere Klassenamen in vorhandenen HTML-Dateien */
.related-events__top{ display:flex; align-items: baseline; justify-content: space-between; gap:14px; flex-wrap:wrap; margin-bottom:14px; }
.related-events__title{ margin:0; font-family: var(--font-head); font-weight:600; font-size:1.35rem; line-height:1.2; }
.related-events__sub{ margin:0; color: var(--ink-muted); font-size:.98rem; line-height:1.45; max-width:70ch; }

.related-events .related-events__title::after{
  content:"";
  display:block;
  width: 84px;
  height: 3px;
  margin-top: 10px;
  background: rgba(139,111,61,.42);
  border-radius: 999px;
}

/* Falls der Block direkt in .event-detail sitzt: er darf breiter werden */
.event-detail .related-events{
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}
.event-detail .related-events > *{
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* ======================================================================
   Compat: 4-Kachel-Grid (alte Markup-Variante .grid--4)
   Damit alte/abweichende Eventseiten trotzdem 4 nebeneinander zeigen.
   ====================================================================== */

.grid.grid--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Falls jemand .grid--4 ohne .grid nutzt */
.grid--4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Responsive wie bei related-grid */
@media (max-width: 980px){
  .grid.grid--4,
  .grid--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px){
  .grid.grid--4,
  .grid--4{
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------------
   Responsive Video-Einbettung (YouTube / iFrame)
   ---------------------------------------------------------------------- */
.video-wrap{
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 1rem 0;
}
.video-wrap iframe{
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-caption{
  font-size: .85rem;
  color: var(--ink-muted);
  margin-top: .35rem;
  margin-bottom: 1.25rem;
}

/* ======================================================================
   Hamburger-Navigation (mobil)
   ====================================================================== */

.nav__toggle{
  display: none;
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px;
  transition: background .15s ease;
  margin-left: auto;
}
.nav__toggle:hover{
  background: var(--accent-2);
}
.nav__bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .22s ease, opacity .18s ease;
}

@media (max-width: 680px){
  .nav{
    position: relative;
  }
  .nav__toggle{
    display: flex;
  }
  .nav__links{
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(246,241,230,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-quiet);
    padding: 4px 20px 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    z-index: 20;
  }
  .nav__links.is-open{
    display: flex;
  }
  .nav__links a{
    padding: 10px 0;
    border-bottom: 1px solid var(--line-quiet);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink) !important;
  }
  .nav__links a:last-child{
    border-bottom: none;
  }
  /* X-Animation */
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2){
    opacity: 0;
    transform: scaleX(0.2);
  }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ---------------------------------------------------------------
     Hero: Overlay-Text unterhalb des Bildes auf kleinen Screens
     --------------------------------------------------------------- */
  .hero__frame{
    overflow: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: none;
  }
  .hero__media{
    border-radius: var(--radius-lg, var(--radius));
    border: 1px solid var(--line-quiet);
    box-shadow: 0 8px 20px rgba(0,0,0,.09);
  }
  .hero__media::after{
    opacity: 0;
  }
  .hero__overlay{
    position: static;
    padding: 14px 0 6px;
    background: none;
  }
  .hero__text{
    color: var(--ink);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero__h1{
    color: var(--ink);
    text-shadow: none;
  }
  .hero__claim{
    color: var(--ink-muted);
    text-shadow: none;
    margin: 0;
  }
  .hero__mini{
    color: var(--ink-muted);
    text-shadow: none;
    margin: 0;
  }
  .hero__text > *{
    margin: 0;
  }
  .hero__text a.btn{
    margin-left: 0 !important;
  }
}


/* ======================================================================
   Lightbox / Vollbildschau für Event-Hero-Slideshow
   ====================================================================== */

.lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb[hidden] { display: none; }

.lb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.40);
  color: rgba(255,255,255,.92);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s;
}
.lb__close:hover { background: rgba(255,255,255,.18); }

.lb__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1600px;
  padding: 0 16px;
}

.lb__stage {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb__slide {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.lb__slide.is-active { display: flex; }
.lb__slide picture { display: flex; }
.lb__slide img {
  max-width: 100%;
  max-height: calc(100dvh - 80px);
  object-fit: contain;
  border-radius: var(--radius);
}

.lb__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.40);
  color: rgba(255,255,255,.92);
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s;
}
.lb__nav:hover { background: rgba(255,255,255,.18); }
.lb__nav[hidden] { visibility: hidden; }

/* Zoom-Cursor: Klick auf Event-Hero-Slideshow öffnet Lightbox */
.event-hero .hero__slide { cursor: zoom-in; }
.event-hero .hero__nav,
.event-hero .hero__dot  { cursor: pointer; }

@media (max-width: 540px) {
  .lb__nav  { width: 36px; height: 36px; font-size: 22px; }
  .lb__inner { gap: 6px; padding: 0 8px; }
}


/* -- Definitionslisten im Historischen Kontext -- */
.context-definitions {
  margin: 1.5rem 0;
  padding: 0;
}

.context-def {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 0 2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-quiet);
  align-items: baseline;
}

.context-def:last-child {
  border-bottom: 1px solid var(--line-quiet);
}

.context-def dt {
  font-weight: bold;
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.45;
}

.context-def__latin {
  display: block;
  font-style: italic;
  font-weight: normal;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.context-def__latin::before { content: "("; }
.context-def__latin::after  { content: ")"; }

.context-def dd {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink);
}

@media (max-width: 600px) {
  .context-def {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }
}

/* -- Historischer Kontext: Sektionsabgrenzung -- */
.context-section {
  background-color: #e4dfd3;
  margin-left: -20px;
  margin-right: -20px;
  padding: 3rem 20px 3.5rem;
  margin-top: 3rem;
}

.context-section h2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.context-section .context-body {
  max-width: calc(100% - 2.5rem);
  margin-left: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

@media (max-width: 600px) {
  .context-section {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .context-section .context-body {
    margin-left: 0;
    max-width: 100%;
  }
}