/* ── Fonts (self-hosted) ────────────────────────────────── */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/archivo-black-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/archivo-black-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:    #061549;
  --blue:   #093ad8;
  --sky:    #4ec7ff;
  --ice:    #eaf8ff;
  --white:  #ffffff;
  --muted:  #5c6b90;
  --line:   rgba(6, 21, 73, .14);
  --shadow: 0 24px 80px rgba(6, 21, 73, .14);
  --max:    1180px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
html  { scroll-behavior: smooth; scroll-padding-top: 40px; overflow-x: clip; }
img   { max-width: 100%; display: block; -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ── Base ───────────────────────────────────────────────── */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(78, 199, 255, .82), transparent 34%),
    radial-gradient(circle at 18% 0%,  rgba(255,255,255, .95), transparent 30%),
    linear-gradient(90deg, white 0%, transparent 12%, transparent 88%, white 100%),
    linear-gradient(135deg, #f8fdff 0%, #d7f3ff 42%, #8edfff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

p { line-height: 1.65; }

h1, h2, h3 {
  line-height: .92;
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 18px;
}

h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ── Grain overlay ──────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  z-index: 50;
  display: flex;
  align-items: flex-start;
  overflow: visible;
}

.logo-image {
  position: absolute;
  top: 20px;
  left: clamp(20px, calc((100vw - var(--max)) / 2 + 20px), 40px);
  width: 400px;
  aspect-ratio: 756 / 299;
  background: url('assets/logo-mockup.png') left top / contain no-repeat;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav a { color: var(--ink); }
.main-nav a:hover { color: var(--blue); }
.main-nav a.is-active { color: var(--blue); }
.nav-story-btn {
  background: var(--blue);
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s;
  margin-left: 4px;
}
.nav-story-btn:hover { opacity: .85; }
.lang-switch {
  border: 1.5px solid rgba(9, 58, 216, .45);
  padding: 4px 10px;
  margin-left: 8px;
}

.nav-cta {
  margin-left: clamp(8px, 1.5vw, 18px);
  padding: 12px 20px;
  border: 1.5px solid rgba(9, 58, 216, .85);
  background: rgba(255,255,255, .28);
  backdrop-filter: blur(12px);
  transition: background .2s;
}
.nav-cta:hover { background: rgba(255,255,255, .5); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  margin-bottom: 14px;
  display: block;
}

/* ── Buttons ────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.button:hover { transform: translateY(-2px); }

.primary {
  color: white;
  background: linear-gradient(135deg, #0832ba, #005eff);
  box-shadow: 0 14px 38px rgba(9, 58, 216, .28);
}
.primary:hover { box-shadow: 0 18px 44px rgba(9, 58, 216, .38); }

.ghost {
  color: var(--ink);
  border: 1.5px solid rgba(9, 58, 216, .72);
  background: rgba(255,255,255, .35);
  backdrop-filter: blur(12px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 24px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(9, 58, 216, .35);
  text-underline-offset: 2px;
}
.inline-link:hover { text-decoration-color: var(--blue); }
.text-link--right { justify-self: end; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 200px 0 80px;
  margin-left: max(40px, calc((100vw - var(--max)) / 2 + 40px));
}


.claim {
  margin: 20px 0 24px;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
}
.claim mark {
  background: none;
  color: var(--blue);
}

.hero-description {
  display: grid;
  gap: 1rem;
  max-width: 500px;
}
.hero-description p {
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
  opacity: .6;
  z-index: 3;
  transition: opacity .2s;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator.is-hidden { opacity: 0; pointer-events: none; transition: opacity .4s; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: max(40px, calc((100vw - var(--max)) / 2));
  top: 80px;
  width: min(44%, 580px);
  height: calc(100% - 80px);
  overflow: hidden;
  background: url('assets/victor-hero.webp') top center / cover no-repeat;
  filter: saturate(1.06) contrast(1.03);
}


/* ── Section wrapper ────────────────────────────────────── */
.section {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto 20px;
}

/* ── Three-column section ───────────────────────────────── */
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.three-col-header {
  margin-bottom: 0;
  padding-top: clamp(52px, 7vw, 84px);
  padding-bottom: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
}
.three-col-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0;
}

.col-panel {
  padding: clamp(28px, 4.5vw, 52px);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.col-panel h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 16px;
}
.col-panel p {
  font-size: .95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.col-panel p:last-of-type { margin-bottom: 0; }

.col-about  { background: #eef3f8; }
.col-stories {
  background: var(--white);
  border-left:  1px solid var(--line);
  border-right: 1px solid var(--line);
}
.col-reise  { background: #e4f4ff; overflow: hidden; }


/* ── Pride flags divider ────────────────────────────────── */
.flags-divider {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 24px;
}

.flags-divider img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(6,21,73,.15);
}

.flag-wrap {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

.flag-wrap::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}

.flag-wrap:hover::after,
.flag-wrap:focus::after {
  opacity: 1;
}
.flag-wrap:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── Journey section ────────────────────────────────────── */
.geschichte {
  padding: clamp(52px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
}
.geschichte-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.geschichte-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.geschichte-foto {
  width: 100%;
  max-width: 380px;
  height: 416px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}
.geschichte-text {
  display: grid;
  gap: 1rem;
}
.geschichte-text p {
  font-size: clamp(.92rem, 1.1vw, 1.02rem);
  line-height: 1.7;
}

.journey {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(52px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
}

.journey-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.journey-header h2  { font-size: clamp(2rem, 4vw, 3.2rem); }
.journey-header .eyebrow { margin-top: 12px; }
.journey-header p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
}

#reise-map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  background: #f5f5f0;
}

.map-zoom-hint {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 500;
}
.map-zoom-hint.is-visible { opacity: 1; }

@media (prefers-color-scheme: dark) {
  #reise-map { background: #0d1117; }
}

.map-all-events-btn {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 30px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #0832ba, #005eff);
  box-shadow: 0 4px 14px rgba(9,58,216,.35);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.map-all-events-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(9,58,216,.45);
}
.map-all-events-btn--active {
  background: linear-gradient(135deg, #444, #666);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.map-all-events-btn--active:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.map-popup .leaflet-popup-content-wrapper {
  background: #fff;
  border: 1px solid rgba(9,58,216,.15);
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(6,21,73,.12);
  padding: 0;
}
.map-popup .leaflet-popup-tip { background: #fff; }
.map-popup .leaflet-popup-content {
  margin: 0;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  max-height: 280px;
  overflow-y: auto;
}
.map-popup-city {
  font-family: 'Archivo Black', sans-serif;
  font-size: .85rem;
  color: #093ad8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 20px;
}
.map-popup-flag { font-size: 1rem; line-height: 1; text-transform: none; letter-spacing: 0; }
.map-popup-event {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0;
  border-top: 1px solid rgba(9,58,216,.10);
  scroll-margin: 6px;
  transition: background .2s;
}
.map-popup-event--highlight {
  background: rgba(9,58,216,.08);
  margin: 0 -16px;
  padding: 6px 16px;
}
.map-popup-date { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.map-popup-title { font-size: .82rem; color: var(--ink); line-height: 1.35; }
.map-popup-link { text-decoration: underline; text-underline-offset: 2px; }
.map-popup-link:hover { color: #093ad8; }
.map-popup-past .map-popup-title { color: var(--muted); }
.map-popup-past-summary {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(9,58,216,.1);
  font-size: .75rem;
  color: var(--muted);
  font-style: italic;
}
.map-popup .leaflet-popup-close-button { color: var(--muted) !important; top: 8px !important; right: 8px !important; }
.map-popup--hover .leaflet-popup-close-button { display: none !important; }

.marker-upcoming .marker-dot  { fill: #093ad8; stroke: #fff; }
.marker-upcoming .marker-glow { fill: #093ad8; }
.marker-past .marker-dot      { fill: #9ca3af; stroke: rgba(0,0,0,.2); }
.marker-dimmed .marker-dot    { opacity: 0.25; }
.marker-dimmed .marker-glow   { opacity: 0; }
.marker-active .marker-dot    { stroke-width: 2.5; filter: drop-shadow(0 0 4px currentColor); }

@media (prefers-color-scheme: dark) {
  .marker-upcoming .marker-dot  { fill: #4ec7ff; stroke: rgba(255,255,255,.15); }
  .marker-upcoming .marker-glow { fill: #4ec7ff; }
  .marker-past .marker-dot      { fill: #4b5563; stroke: rgba(255,255,255,.1); }
}

@media (prefers-color-scheme: dark) {
  .map-popup .leaflet-popup-content-wrapper { background: #0d1117; border-color: rgba(78,199,255,.25); box-shadow: 0 8px 32px rgba(6,21,73,.5); }
  .map-popup .leaflet-popup-tip { background: #0d1117; }
  .map-popup-city { color: #4ec7ff; }
  .map-popup-event { border-top-color: rgba(78,199,255,.12); }
  .map-popup-event--highlight { background: rgba(78,199,255,.12); }
  .map-popup-date { color: rgba(255,255,255,.45); }
  .map-popup-title { color: #fff; }
  .map-popup-past .map-popup-title { color: rgba(255,255,255,.45); }
  .map-popup .leaflet-popup-close-button { color: rgba(255,255,255,.4) !important; }
}

.journey-events {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(9,58,216,.10);
  backdrop-filter: blur(12px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 16px;
  display: grid;
  gap: 0;
  transition: height .3s ease;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
  align-items: start;
  gap: 10px;
  min-width: 0; /* Grid-Item nicht durch langen Unterevent-Text über den Rahmen hinaus wachsen lassen */
}
.journey-timeline .event-card { height: 160px; }
.journey-timeline.is-entering {
  animation: slide-in-right .6s cubic-bezier(.25, .46, .45, .94) forwards;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
.journey-timeline.is-rewinding {
  animation: slide-in-left .6s cubic-bezier(.25, .46, .45, .94) forwards;
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(to bottom, var(--cb, rgba(255,255,255,.3)), rgba(255,255,255,.55) 65%);
  border: 1px solid rgba(9, 58, 216, .12);
  backdrop-filter: blur(10px);
  color: var(--ink);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s, flex-grow .35s ease;
}
.event-card--link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cs, #069), var(--ce, #069));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

@media (hover: hover) {
  .event-card--link:hover::before { transform: scaleY(1); }
  .event-card--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
    color: #fff;
  }
  .event-card--link:hover .event-ort,
  .event-card--link:hover .event-titel { color: #fff; }
  .event-card--link:hover .event-rahmen-titel { color: #fff; opacity: .9; }
  /* Unterevents auf dem dunklen Hover-Overlay lesbar machen */
  .event-card--link:hover .event-subevents {
    background: transparent;
    border-top-color: rgba(255,255,255,.28);
    color: #fff;
  }
  .event-card--link:hover .event-rahmen-date { color: #fff; }
}

.event-card--placeholder {
  pointer-events: none;
  border-style: dashed;
  border-color: rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  backdrop-filter: none;
}
.event-card--placeholder .event-date-band {
  background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.08));
  border-bottom: none;
}
.event-card--placeholder .event-body {
  position: relative;
  flex: 1;
}
.event-card--placeholder .event-ort,
.event-card--placeholder .event-titel {
  visibility: hidden;
}
.event-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.25);
}

.event-date-band {
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, var(--cs, var(--blue)), var(--ce, var(--blue)));
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: background .35s ease, filter .2s;
  display: flex;
  align-items: center;
}

.event-date {
  display: block;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-body {
  position: relative;
  z-index: 1;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.event-ort {
  display: block;
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-arrow {
  margin-left: auto;
  margin-right: -6px;
  padding: 4px 6px;
  font-size: .9rem;
  line-height: 1;
  color: #fff;
  z-index: 2;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
@media (hover: hover) {
  .event-arrow:hover {
    background: rgba(255, 255, 255, .22);
    animation: arrow-float 1.2s ease-in-out infinite;
  }
}
@keyframes arrow-float {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(3px, -3px); }
}

.event-titel {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}

.event-card--expandable:hover,
.event-card--expandable:focus-within {
  overflow: visible;
  z-index: 5;
  height: auto;
}

.event-subevents {
  position: relative;
  z-index: 1; /* über dem ::before-Hover-Overlay der Karte, sonst dunkler Text auf dunklem Grund */
  background: linear-gradient(to bottom, var(--cb, rgba(255,255,255,.3)), rgba(255,255,255,.55) 65%);
  border-top: 0 solid rgba(9,58,216,.12);
  padding: 0 16px;
  color: var(--ink);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
}
.event-card--expandable:hover .event-subevents,
.event-card--expandable:focus-within .event-subevents {
  max-height: 640px;
  opacity: 1;
  padding: 10px 16px 14px;
  border-top-width: 1px;
}
.event-subevents .event-rahmen-list { margin-top: 0; }

/* Desktop: Karte mit Unterevents wird beim Hover breiter, Nachbarn schmaler */
@media (min-width: 981px) {
  .journey-timeline {
    display: flex;
    align-items: flex-start;
  }
  .journey-timeline > .event-card {
    flex: 1 1 0;
    min-width: 0;
  }
  .journey-timeline > .event-card--expandable:hover,
  .journey-timeline > .event-card--expandable:focus-within {
    flex-grow: 2.5;
  }
}

/* ── Reise Navigation ───────────────────────────────────── */
.reise-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(9,58,216,.12);
  width: 100%;
}

.reise-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.reise-dot {
  width: 44px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot-visual {
  position: relative;
  width: 14px;
  height: 6px;
  border-radius: 99px;
  background: rgba(9,58,216,.22);
  overflow: hidden;
  flex-shrink: 0;
  transition: width .3s ease, background .2s;
}
.reise-dot.is-active .dot-visual {
  width: 44px;
  background: rgba(9,58,216,.35);
}
.is-stopped .reise-dot.is-active .dot-visual {
  background: var(--blue);
}
.reise-dot.is-active .dot-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  animation: dot-progress 4.5s linear forwards;
  animation-play-state: paused;
}
.is-playing .reise-dot.is-active .dot-visual::after {
  animation-play-state: running;
}
.reise-dot:hover:not(.is-active) .dot-visual {
  width: 22px;
  background: rgba(9,58,216,.4);
}

@keyframes dot-progress {
  to { transform: scaleX(1); }
}


/* ── Reise Archiv ───────────────────────────────────────── */
.reise-archiv {
  width: 100%;
  border-top: 1px solid rgba(9,58,216,.12);
  margin-top: 8px;
  padding-top: 8px;
}

.reise-archiv-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  min-height: 44px;
}
.reise-archiv-toggle:hover { color: var(--blue); }

.reise-archiv-icon {
  font-style: normal;
  transition: transform .2s;
}

.reise-archiv-list {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.reise-archiv-list.is-open {
  display: grid;
}

.event-card--past {
  opacity: .45;
  filter: grayscale(.6);
  pointer-events: none;
}
.event-card--past .event-date-band {
  background: linear-gradient(to right, rgba(0,0,0,.35), rgba(0,0,0,.22));
}

.event-rahmen-titel {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .6;
  margin-bottom: .3rem;
}

.event-rahmen-list {
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .82rem;
  opacity: .85;
}
.event-rahmen-list li {
  display: grid;
  grid-template-columns: minmax(4.4rem, auto) 1fr;
  gap: .3rem;
  align-items: baseline;
}
.event-rahmen-date {
  font-variant-numeric: tabular-nums;
  opacity: .7;
  font-size: .78rem;
  white-space: nowrap;
}

.reise-leer {
  color: var(--muted);
  font-size: .9rem;
}

.reise-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2.5rem 0;
  grid-column: 1 / -1;
}
.reise-loading span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, #093ad8);
  opacity: 0.5;
  animation: reise-bounce 1.2s ease-in-out infinite;
}
.reise-loading span:nth-child(2) { animation-delay: .2s; }
.reise-loading span:nth-child(3) { animation-delay: .4s; }

@keyframes reise-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40%            { transform: translateY(-10px); opacity: 1; }
}


/* ── Stories section ────────────────────────────────────── */
.stories {
  padding: clamp(52px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.stories-header {
  position: sticky;
  top: 80px;
}

.stories-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.stories-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 10px;
}

.stories-disclaimer {
  font-size: .78rem;
  color: var(--muted);
  opacity: .6;
  margin-top: 16px;
  line-height: 1.5;
}

.stories-anon-hint {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .6;
  margin-top: 8px;
}

.stories-grid-wrap {
  position: relative;
  overflow: hidden;
}
.stories-grid-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 8px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--white));
  pointer-events: none;
  transition: opacity .3s;
}
.stories-grid-wrap.is-end::after {
  opacity: 0;
}

.stories-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.stories-grid::-webkit-scrollbar { height: 4px; width: 0; }
.stories-grid::-webkit-scrollbar-track { background: transparent; }
.stories-grid::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(240px, 28vw, 300px);
  scroll-snap-align: start;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  overflow: hidden;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
}
button.story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), #1a3fa8);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
@media (hover: hover) {
  button.story-card:hover::before { transform: scaleY(1); }
  button.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
  }
  button.story-card:hover blockquote p,
  button.story-card:hover .story-name,
  button.story-card:hover .story-lang,
  button.story-card:hover .story-link { color: #fff; }
  button.story-card:hover .story-lang { border-color: rgba(255,255,255,.4); }
  button.story-card:hover .story-arrow { opacity: 1; color: #fff; }
  button.story-card:hover blockquote::before { color: #fff; opacity: .2; }
  button.story-card:hover .story-meta { border-color: rgba(255,255,255,.2); }
}
@media (hover: none) {
  button.story-card:active::before { transform: scaleY(1); }
  .story-arrow { opacity: 1; }
}

.story-arrow {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  font-size: 1rem;
  color: var(--blue);
  opacity: .5;
  transition: opacity .2s;
  z-index: 1;
}

.story-card blockquote {
  flex: 1;
  position: relative;
  padding-top: 52px;
  z-index: 1;
}

.story-card blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -4px;
  font-family: 'Archivo Black', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  pointer-events: none;
  transition: color .2s, opacity .2s;
}

.story-card blockquote p {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.65;
  color: var(--ink);
  transition: color .2s;
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
  transition: border-color .2s;
}

.story-name {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.story-link {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.story-link:hover { color: var(--blue); }

.stories-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(32px, 4vw, 48px);
  border: 1px dashed var(--line);
  text-decoration: none;
  transition: border-color .2s;
}
.stories-empty-link:hover {
  border-color: var(--blue);
}
.stories-empty-link:hover .stories-empty-icon {
  opacity: .6;
}

.stories-empty-icon {
  font-size: 2rem;
  color: var(--blue);
  opacity: .35;
  line-height: 1;
}

.stories-empty-headline {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.stories-empty-anon {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .7;
  margin: 0;
}

.story-lang {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 1px 5px;
}

.story-date {
  font-size: .65rem;
  letter-spacing: .04em;
  color: var(--muted);
  opacity: .7;
}

#story-modal-badges .story-date {
  font-size: .75rem;
  color: var(--blue);
  opacity: .6;
}

/* ── Story-Formular Modal ────────────────────────────────── */
.story-submit-modal { width: min(100%, 600px); }

.story-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.story-form-text,
.story-form-input {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.6;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
}
.story-form-text { resize: vertical; min-height: 260px; }
.story-form-text::placeholder,
.story-form-input::placeholder { color: var(--muted); opacity: .7; }
.story-form-text:focus,
.story-form-input:focus { border-color: var(--blue); }

.story-form-anon-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.story-form-anon-label input[type="checkbox"] {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.story-form-identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease;
}
.story-form-identity.is-visible {
  max-height: 140px;
  opacity: 1;
}

.story-form-submit {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 4px;
}
.story-form-submit:hover { opacity: .7; }


@media (min-width: 641px) and (max-width: 980px) {
  .stories-grid { gap: 12px; }
  .story-card { flex: 0 0 calc(43% - 6px); }
}
@media (max-width: 640px) {
  .stories-grid { gap: 12px; }
  .story-card { flex: 0 0 85%; }
}
@media (max-width: 640px) {
  .stories { grid-template-columns: 1fr; }
  .stories-header { position: static; margin-bottom: clamp(24px, 4vw, 40px); }
}

@media (prefers-color-scheme: dark) {
  .story-card {
    background: rgba(15, 24, 45, .75);
    border-color: rgba(91, 139, 255, .16);
  }
}

/* ── CTA section ────────────────────────────────────────── */
.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: stretch;
  padding: clamp(52px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
}

.cta-left {
  display: flex;
  flex-direction: column;
}
.cta-left h2 {
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  letter-spacing: -.07em;
  margin-bottom: 10px;
}
.cta-tagline {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
  padding-top: 16px;
  line-height: 1.05;
  margin-top: auto;
}
.cta-left p:not(.cta-tagline) {
  font-size: .95rem;
  max-width: 500px;
  margin-bottom: 10px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  font-size: .74rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .06em;
}
.site-footer nav { display: flex; gap: 18px; }
.footer-copy,
.footer-made { color: var(--muted); }


/* ── Footer legal links ─────────────────────────────────── */
.footer-legal { display: flex; gap: 16px; }
.footer-legal-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 8px 0;
  min-height: 44px;
}
.footer-legal-btn:hover { color: var(--blue); }

/* ── Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 21, 73, .55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: var(--white);
  width: min(100%, 640px);
  max-height: min(90vh, 800px);
  overflow-y: auto;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform .25s ease;
}
.modal-overlay.is-open .modal { transform: translateY(0); }

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 12px 12px -44px auto;
  z-index: 1;
  transition: background .15s;
}
.modal-close:hover {
  background: rgba(255,255,255,.5);
}
.modal-close span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: absolute;
}
.modal-close span:nth-child(1) { transform: rotate(45deg); }
.modal-close span:nth-child(2) { transform: rotate(-45deg); }
.modal-close:hover span { background: var(--blue); }

.story-hl {
  background: none;
  color: var(--blue);
  font-weight: 900;
}

/* ── Story Modal ─────────────────────────────────────────── */
.story-modal {
  width: min(100%, 680px);
  position: relative;
}

.story-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  float: none;
  margin: 0;
  z-index: 2;
}

.story-modal-header {
  background: var(--card-bg, #dce8f5);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: clamp(28px, 4vw, 48px);
  padding-top: clamp(36px, 5vw, 52px);
  display: flex;
  align-items: flex-end;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.story-modal-quote-mark {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  font-family: 'Archivo Black', serif;
  flex-shrink: 0;
  margin-bottom: -8px;
}
.story-modal-quote-mark::before {
  content: '\201C';
}

.story-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-modal-meta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink);
  margin: 0;
}

#story-modal-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

#story-modal-badges .story-lang {
  color: var(--blue);
  border-color: rgba(0,0,0,.2);
}

#story-modal-badges .story-link {
  color: var(--blue);
  opacity: .7;
}
#story-modal-badges .story-link:hover { opacity: 1; }

.story-modal-body {
  padding: clamp(28px, 4vw, 48px);
}

.story-modal-body p {
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.2em;
  max-width: 60ch;
}

.modal-body {
  padding: clamp(28px, 5vw, 52px);
  padding-top: clamp(28px, 5vw, 52px);
  display: grid;
  gap: 40px;
}

.modal-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}
.modal-section h3 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--blue);
  margin: 20px 0 6px;
}
.modal-section h3:first-of-type { margin-top: 24px; }
.modal-section p { font-size: .92rem; margin-bottom: 8px; line-height: 1.65; }

#modal-datenschutz { border-top: 1px solid var(--line); padding-top: 40px; }

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive: tablet ─────────────────────────────────── */
@media (max-width: 980px) {
  .logo-image { width: 234px; }

  .hero { min-height: 100svh; padding-top: 64px; }
  .hero-copy {
    margin-top: 90px;
    margin-left: 24px;
    max-width: 46%;
    padding: 20px 0 48px 20px;
    background: none;
  }
  .hero-visual {
    width: 50%;
    right: 0;
    height: calc(100% - 80px);
    top: 80px;
    opacity: 1;
  }

  .three-col {
    grid-template-columns: 1fr;
    width: min(calc(100% - 80px), var(--max));
    gap: 6px;
    border-top: 3px solid var(--blue);
  }
  .col-panel {
    min-height: 0;
    padding: 28px;
  }
  .col-panel h3 { font-size: 1.4rem; }
  .col-stories { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .journey {
    grid-template-columns: 1fr;
  }
  .journey-header { grid-template-columns: 1fr; }
  .journey-timeline { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .journey-timeline .event-card { height: auto; }
  .reise-archiv-list { grid-template-columns: repeat(2, 1fr); }
  .event-arrow { opacity: 1; }
  .event-ort { font-size: 1.1rem; }
  .event-date-band { padding: 12px 18px; }
  .event-body { padding: 14px 18px 18px; gap: 6px; }

  .cta-section { grid-template-columns: 1fr; gap: 32px; }
  .cta-right   { display: grid; grid-template-columns: 1fr 1fr; min-width: auto; }

  .site-header {
    padding: 14px 20px;
    top: 24px;
    width: min(calc(100% - 40px), var(--max));
    transform: translateX(-50%);
    left: 50%;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: auto;
    min-width: 200px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(235, 249, 255, .97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(9, 58, 216, .13);
    box-shadow: 0 12px 40px rgba(6, 21, 73, .14);
    z-index: 99;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 14px 22px;
    border-bottom: 1px solid rgba(9, 58, 216, .07);
    color: var(--ink);
    white-space: nowrap;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .lang-switch { border: none; padding: 14px 22px; margin-left: 0; }
  .nav-story-btn { padding: 14px 22px; border-bottom: 1px solid rgba(9, 58, 216, .07); text-align: left; }
  .nav-toggle { display: flex; }

}

/* ── Responsive: mobile ─────────────────────────────────── */
@media (max-width: 620px) {
  .logo-image { width: 140px; }
  .geschichte-header { grid-template-columns: 1fr; }
  .geschichte-foto {
    max-width: 100%;
    height: clamp(240px, 72vw, 380px);
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  }

  .scroll-indicator { display: none; }

  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy {
    margin-top: 0;
    margin-left: 0;
    max-width: 100%;
    padding: 24px 40px 32px;
    background: none;
    order: 1;
  }
  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(240px, 72vw, 380px);
    opacity: 1;
    order: 0;
    margin-top: 64px;
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  }

  .three-col {
    width: min(calc(100% - 80px), var(--max));
    gap: 10px;
    border-top: 3px solid var(--blue);
  }
  .col-panel { padding: 22px 24px; border-left: 3px solid rgba(9,58,216,.25); }
  .col-panel h3 { font-size: 1.2rem; }
  .col-panel p { font-size: .88rem; }
  .col-panel .eyebrow { display: none; }
  .col-stories { border-top: none; border-bottom: none; }


  .journey-timeline {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .reise-archiv-list { grid-template-columns: 1fr; }
  .journey-timeline { overflow: hidden; }
  .reise-nav { display: flex; }
  .reise-dots {
    overflow: hidden;
    max-width: 100%;
    justify-content: center;
  }
  .reise-dot { width: 28px; }
  .dot-visual { width: 8px; height: 5px; }
  .reise-dot.is-active .dot-visual { width: 28px; }
  .event-date-band { padding: 8px 14px; }
  .event-body { padding: 10px 14px 12px; }
  .event-date { font-size: 1.1rem; }

  .cta-right { grid-template-columns: 1fr; }

  .site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
  }
  .footer-copy { flex: 1; }
  .footer-legal {
    order: 1;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .flags-divider { gap: 4px; }
}

/* ── Accessibility utilities ────────────────────────────── */
.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;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── Back to top ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6,21,73,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--blue); }
.back-to-top:hover svg { transform: translateY(-2px); }
.back-to-top svg { transition: transform .2s; }

/* ── Dark mode ──────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --ink:    #e8eef8;
    --blue:   #5b8bff;
    --sky:    #4ec7ff;
    --ice:    #0d1a2e;
    --white:  #111827;
    --muted:  #8a9abf;
    --line:   rgba(232, 238, 248, .10);
    --shadow: 0 24px 80px rgba(0, 0, 0, .45);
  }

  body {
    background:
      radial-gradient(circle at 82% 12%, rgba(78, 199, 255, .10), transparent 34%),
      radial-gradient(circle at 18% 0%,  rgba(30, 50, 100, .40), transparent 30%),
      linear-gradient(90deg, #0a0f1e 0%, transparent 12%, transparent 88%, #0a0f1e 100%),
      linear-gradient(135deg, #0a0f1e 0%, #0d1628 42%, #0e1e38 100%);
  }

  .grain { mix-blend-mode: screen; opacity: .06; }

  .col-about  { background: #131d30; }
  .col-stories { background: #0f1829; }
  .col-reise  { background: #0d1e33; }

  .journey-events {
    background: rgba(15, 24, 45, .75);
    border-color: rgba(91, 139, 255, .14);
  }

  .event-card {
    background: linear-gradient(to bottom, var(--cb, rgba(15,24,45,.6)), rgba(13,22,40,.85) 65%);
    border-color: rgba(91, 139, 255, .16);
    color: var(--ink);
  }

  .event-card--placeholder {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
  }

  .ghost {
    color: var(--ink);
    border-color: rgba(91, 139, 255, .55);
    background: rgba(15, 24, 45, .45);
  }

  .nav-cta {
    border-color: rgba(91, 139, 255, .6);
    background: rgba(15, 24, 45, .45);
  }
  .nav-cta:hover { background: rgba(15, 24, 45, .75); }

  .main-nav a { color: var(--ink); }

  .modal {
    background: #111827;
    border: 1px solid rgba(91, 139, 255, .18);
  }

  .modal-overlay { background: rgba(0, 0, 5, .72); }

  .modal-close span { background: var(--ink); }

  .story-modal-header {
    background: #0d1e38;
    border-bottom-color: rgba(91, 139, 255, .15);
  }

  #story-modal-badges .story-lang {
    border-color: rgba(255, 255, 255, .2);
  }

  .story-modal .modal-close span { background: #e8eef8; }

  .logo-image { filter: brightness(0) invert(1); }

  /* Mobile nav dropdown */
  @media (max-width: 980px) {
    .main-nav {
      background: rgba(10, 15, 30, .97);
      border-color: rgba(91, 139, 255, .18);
      box-shadow: 0 12px 40px rgba(0,0,0,.5);
    }
  }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
