/* InterSky 2001–2015 · Erinnerungsseite */
:root {
  --navy: #13294b;
  --navy-2: #0c1d38;
  --navy-3: #1d3a66;
  --yellow: #f5b400;
  --yellow-2: #ffcf3f;
  --sky: #2f6db5;
  --paper: #f4efe3;
  --paper-2: #ebe3d1;
  --white: #ffffff;
  --ink: #1b2233;
  --ink-2: #4a5468;
  --line: #d9cfba;
  --red: #c8423b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 29, 56, .14);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(19, 41, 75, .09) 1px, transparent 1px);
  background-size: 6px 6px;
}
.section--paper > .container { position: relative; }
.section--navy { background: var(--navy); color: #dbe3f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.kicker {
  font: 600 .8rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.kicker--yellow { color: var(--yellow); }
.muted { opacity: .55; }
.small { font-size: .9rem; color: var(--ink-2); margin-top: 18px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.h-small { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 28px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: rgba(19, 41, 75, .96); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--yellow);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); font: 800 1.6rem/1 var(--head); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: #c9d4e6; text-decoration: none; white-space: nowrap;
  font: 600 .95rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 10px; border-radius: 6px;
}
.nav a:hover, .nav a.is-current { color: var(--navy); background: var(--yellow); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-2); }
.hero__img {
  position: absolute; inset: 0; background-size: cover; background-position: center 60%;
  filter: saturate(.9) contrast(1.05);
}
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12, 29, 56, .94) 0%, rgba(12, 29, 56, .78) 42%, rgba(12, 29, 56, .25) 75%, rgba(12, 29, 56, .1) 100%);
}
.hero__inner {
  position: relative; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 80px 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.hero .kicker { color: var(--yellow); grid-column: 1; }
.hero h1 {
  grid-column: 1; color: var(--white); font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.015em; margin: 0; line-height: .92;
}
.hero__lead { grid-column: 1; color: #d6deea; font-size: 1.15rem; max-width: 52ch; }
.hero__inner > .kicker, .hero__inner > h1, .hero__inner > .hero__lead { grid-column: 1; }
.pass { grid-column: 2; grid-row: 1 / span 3; }

/* Boarding pass */
.pass {
  display: grid; grid-template-columns: 1fr 150px; background: var(--white); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transform: rotate(2.5deg); color: var(--ink);
  position: relative; max-width: 520px; justify-self: end; width: 100%;
  animation: pass-in 1s cubic-bezier(.2, .8, .2, 1) both .2s;
}
@keyframes pass-in { from { transform: translateY(40px) rotate(8deg); opacity: 0; } }
.pass__main { padding: 22px 24px 20px; border-right: 2px dashed var(--line); position: relative; }
.pass__main::before, .pass__main::after {
  content: ""; position: absolute; right: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-2);
}
.pass__main::before { top: -12px; }
.pass__main::after { bottom: -12px; }
.pass__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pass__logo { height: 52px; width: auto; }
.pass__type { font: 600 .78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; text-align: right; color: var(--navy); }
.pass__type small { color: var(--ink-2); font-weight: 400; }
.pass__route { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0 12px; }
.pass__route > div { display: flex; flex-direction: column; }
.pass__route > div:last-child { text-align: right; }
.iata { font: 800 2.9rem/1 var(--head); color: var(--navy); }
.city { font: 500 .78rem/1.2 var(--mono); color: var(--ink-2); text-transform: uppercase; }
.pass__plane { width: 34px; height: 34px; fill: var(--yellow); transform: rotate(90deg); flex: none; }
.pass__grid, .pass__stub dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.pass__grid dt, .pass__stub dt { font: 500 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 4px; }
.pass__grid dd, .pass__stub dd { margin: 0; font: 700 1.05rem/1.15 var(--head); color: var(--navy); text-transform: uppercase; }
.pass__stub { padding: 22px 16px 18px; background: var(--yellow); border-radius: 0 16px 16px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.pass__stub dl { grid-template-columns: 1fr; }
.pass__stub dt { color: rgba(19, 41, 75, .7); }
.barcode {
  height: 54px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 8px, var(--navy) 8px 9px, transparent 9px 12px);
}

/* ---------- Departure board ---------- */
.board-wrap { background: #0a0f18; padding: 56px 0 48px; border-top: 4px solid var(--yellow); }
.board-title { color: var(--yellow); font: 700 1.6rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.board-title .muted { color: #8b97ad; opacity: 1; font-weight: 500; }
.board { background: #111823; border-radius: 10px; padding: 14px; box-shadow: inset 0 0 0 1px #1f2a3a, 0 20px 40px rgba(0, 0, 0, .4); overflow-x: auto; }
.board__row { display: grid; grid-template-columns: 9.5em 11em 10em 8em; gap: 1.2em; padding: 6px 4px; min-width: max-content; }
.board__row--head span { font: 600 .72rem/1 var(--mono); color: #7f8aa0; letter-spacing: .16em; text-transform: uppercase; }
.board__row + .board__row:not(.board__row--head) { border-top: 1px solid #1a2331; }
.flap { display: inline-flex; gap: 2px; }
.flap i {
  font: 600 1.02rem/1.6 var(--mono); font-style: normal; text-transform: uppercase;
  width: 1.05em; text-align: center; color: #f3f1e8; border-radius: 2px;
  background: linear-gradient(#1d2532 50%, #18202b 50%); box-shadow: 0 1px 0 #05080d;
  position: relative;
}
.flap i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap--status i { color: var(--yellow); }
.board-note { color: #7f8aa0; font: 400 .8rem/1.5 var(--mono); margin: 14px 0 0; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story__text p { font-size: 1.08rem; }
.story__text strong { color: var(--navy); }
.story__aside { display: flex; flex-direction: column; gap: 28px; }
.polaroid { background: var(--white); padding: 10px 10px 4px; box-shadow: var(--shadow); margin: 0; border-radius: 3px; }
.polaroid img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.polaroid figcaption { font: 500 .8rem/1.3 var(--mono); color: var(--ink-2); padding: 10px 4px; }
.tilt-r { transform: rotate(1.6deg); }
.tilt-l { transform: rotate(-1.6deg); }
.quote { margin: 0; padding: 20px 24px; border-left: 5px solid var(--yellow); background: var(--paper); }
.quote p { font: 600 1.6rem/1.15 var(--head); color: var(--navy); margin: 0 0 8px; }
.quote cite { font: 400 .8rem/1 var(--mono); color: var(--ink-2); font-style: normal; }
.facts-card { background: var(--navy); color: #dbe3f0; border-radius: var(--radius); padding: 24px; }
.facts-card h3 { color: var(--yellow); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.facts-card dl { margin: 0; display: grid; gap: 8px; }
.facts-card dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 8px; }
.facts-card dt { font: 500 .72rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #8fa1bf; }
.facts-card dd { margin: 0; font-weight: 600; color: var(--white); }

/* ---------- Filters / chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.chip {
  font: 600 .9rem/1 var(--head); letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy);
  transition: background .2s, color .2s;
}
.chip:hover { background: rgba(19, 41, 75, .08); }
.chip.is-active { background: var(--navy); color: var(--white); }
.chip:focus-visible, .seg button:focus-visible, .nav a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 6px; bottom: 6px; width: 3px; background: repeating-linear-gradient(var(--navy) 0 10px, transparent 10px 18px); opacity: .35; }
.tl { display: grid; grid-template-columns: 112px 40px 1fr; gap: 0 4px; align-items: start; padding: 10px 0; }
.tl[hidden] { display: none; }
.tl__date { font: 600 .82rem/1.3 var(--mono); color: var(--ink-2); text-align: right; padding-top: 6px; }
.tl__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); margin: 5px auto 0; position: relative; z-index: 1; }
.tl--key .tl__dot { background: var(--yellow); border-color: var(--navy); width: 22px; height: 22px; margin-top: 3px; }
.tl--end .tl__dot { background: var(--red); border-color: var(--red); }
.tl__body { background: var(--white); border-radius: 10px; padding: 12px 18px; box-shadow: 0 2px 0 var(--line); }
.tl__body h3 { font-size: 1.2rem; margin: 0 0 2px; }
.tl__body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.tl--key .tl__body { border-left: 4px solid var(--yellow); }
.tl--end .tl__body { border-left: 4px solid var(--red); }
.tl__year { grid-column: 1 / -1; font: 800 2.4rem/1 var(--head); color: var(--navy); opacity: .16; padding: 18px 0 2px 80px; }

/* ---------- Stats & chart ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 40px; }
.stat { background: var(--navy-3); border-radius: var(--radius); padding: 22px 20px; border-top: 4px solid var(--yellow); }
.stat__num { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--head); color: var(--yellow); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .92rem; color: #c3cee0; line-height: 1.4; display: block; }
.chart-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px clamp(16px, 3vw, 32px) 18px; }
.chart-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-card h3 { color: var(--navy); margin: 0; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; cursor: pointer; padding: 8px 14px; border-radius: 999px; font: 600 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.seg button.is-active { background: var(--navy); color: var(--white); }
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bar { fill: var(--navy); transition: fill .2s; }
.chart .bar.is-hi { fill: var(--sky); }
.chart .bar:hover, .chart g:hover .bar { fill: var(--yellow); }
.chart .val { font: 600 11px var(--mono); fill: var(--ink); text-anchor: middle; }
.chart .yr { font: 600 12px var(--mono); fill: var(--ink-2); text-anchor: middle; }
.chart .grid { stroke: #e7e1d3; }
.chart .ann { font: 500 11px var(--mono); fill: var(--red); }
.chart .ann-line { stroke: var(--red); stroke-dasharray: 3 3; }
.chart .na { font: 500 11px var(--mono); fill: #9aa3b4; text-anchor: middle; }
.chart-note { font-size: .82rem; color: var(--ink-2); margin: 12px 0 0; }

/* ---------- Fleet ---------- */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plane-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid #ece6d8; }
.plane-card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.plane-card__body { padding: 22px 24px 24px; }
.plane-card h3 small { font-size: .9rem; color: var(--sky); margin-left: 6px; }
.spec { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec li { background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.spec span { display: block; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 6px; }
.spec b { font: 700 1.05rem/1.15 var(--head); color: var(--navy); }
.regs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.regs span { font: 600 .85rem/1 var(--mono); padding: 7px 10px; border: 2px solid var(--navy); border-radius: 4px; color: var(--navy); cursor: help; }
.regs .gone { border-style: dashed; opacity: .7; }
.livery { margin: 36px 0 0; background: #1b1d22; border-radius: var(--radius); overflow: hidden; }
.livery img { width: 100%; }
.livery figcaption { color: #b9c0cc; font-size: .85rem; padding: 12px 18px 16px; }

/* ---------- Map ---------- */
.map-card { background: var(--navy); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); position: relative; }
.map { width: 100%; height: auto; display: block; }
.map .graticule { stroke: rgba(255, 255, 255, .07); fill: none; }
.map .land { fill: #22467a; stroke: #33598f; stroke-width: 1; }
.map .route { fill: none; stroke-linecap: round; transition: opacity .3s; }
.map .route--line { stroke: var(--yellow); stroke-width: 1.8; opacity: .9; }
.map .route--leisure { stroke: #7fc4ff; stroke-width: 1.4; stroke-dasharray: 2 4; opacity: .85; }
.map .route--record { stroke: #ff6b5e; stroke-width: 2.2; stroke-dasharray: 8 5; }
.map .route.is-dim { opacity: .08; }
.map .apt circle { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; cursor: pointer; }
.map .apt--hub circle { fill: var(--yellow); r: 7; }
.map .apt text { font: 600 11px var(--mono); fill: #e7ecf5; paint-order: stroke; stroke: var(--navy); stroke-width: 3px; pointer-events: none; }
.map .apt--hub text { fill: var(--yellow); font-size: 12px; }
.map .apt:hover circle, .map .apt.is-on circle { fill: var(--yellow); r: 8; }
.map .layer-off { display: none; }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 12px 6px 0; font: 500 .8rem/1 var(--mono); color: #c9d4e6; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 26px; height: 0; border-top: 2px solid var(--yellow); }
.lg--leisure { border-top: 2px dotted #7fc4ff; }
.lg--record { border-top: 2px dashed #ff6b5e; }
.lg--hub { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--yellow); }
.map-tip { position: absolute; top: 26px; right: 26px; margin: 0; background: rgba(12, 29, 56, .92); color: var(--white); font: 500 .85rem/1.4 var(--mono); padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); max-width: 300px; pointer-events: none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.card__tag { display: inline-block; font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--navy); color: var(--yellow); padding: 6px 9px; border-radius: 4px; margin-bottom: 14px; }
.card--img { grid-row: span 2; padding: 0 0 24px; background: var(--navy); }
.card--img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.card--img > :not(img) { margin-left: 24px; margin-right: 24px; }
.card--img h3 { color: var(--white); }
.card--img p { color: #c6d1e3; }
.card--img .card__tag { background: var(--yellow); color: var(--navy); }
.card--quote { background: var(--yellow); display: flex; flex-direction: column; justify-content: center; }
.card--quote p { font: 700 1.9rem/1.08 var(--head); color: var(--navy); margin-bottom: 12px; }
.card--quote cite { font: 500 .8rem/1.3 var(--mono); font-style: normal; color: var(--navy); }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.roster { list-style: none; padding: 0; margin: 0; }
.roster li { padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-size: .95rem; }
.roster b { display: block; color: var(--navy); font: 700 1.1rem/1.2 var(--head); }
.people__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.people__photos .polaroid:first-child { grid-column: 1 / -1; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; text-align: left; border-radius: 10px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: var(--white); font: 500 .8rem/1.3 var(--mono); background: linear-gradient(transparent, rgba(12, 29, 56, .85)); opacity: 0; transition: opacity .3s; }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }
.gallery button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 14, 28, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1400px, 92vw); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #dbe3f0; font: 500 .9rem/1.4 var(--mono); text-align: center; padding-top: 12px; }
.lightbox__close, .lightbox__nav { position: fixed; background: rgba(255, 255, 255, .1); color: var(--white); border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; }
.lightbox__next { right: 18px; top: 50%; }
.lightbox button:hover { background: var(--yellow); color: var(--navy); }

/* ---------- Magazine shelf ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px; margin-top: 28px; }
.mag { text-decoration: none; color: inherit; display: block; perspective: 800px; }
.mag__cover {
  aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-3), var(--navy) 60%); color: var(--white);
  padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: -6px 0 0 var(--navy-2) inset, 0 14px 28px rgba(12, 29, 56, .25); transition: transform .4s;
  transform-origin: left center;
}
.mag:hover .mag__cover { transform: rotateY(-14deg); }
.mag__cover::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--yellow); opacity: .9; }

.mag__title { font: 700 1.5rem/1.05 var(--head); text-transform: uppercase; position: relative; z-index: 1; }
.mag__issue { font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); position: relative; z-index: 1; align-self: flex-end; }
.mag__meta { font: 500 .8rem/1.4 var(--mono); color: var(--ink-2); padding-top: 10px; }
.mag--empty .mag__cover { background: repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper) 10px 20px); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--line); }
.mag--empty .mag__cover::after { display: none; }

/* ---------- Farewell ---------- */
.farewell { background: var(--navy-2); color: #d6deea; overflow: hidden; }
.farewell__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; filter: grayscale(.6); }
.farewell__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-2), rgba(12, 29, 56, .5) 40%, var(--navy-2)); }
.farewell__inner { position: relative; max-width: 820px; text-align: center; }
.farewell .kicker { justify-content: center; }
.farewell h2 { color: var(--white); font-size: clamp(2.6rem, 7vw, 5rem); }
.farewell p { font-size: 1.08rem; }
.farewell__big { font: 700 clamp(1.5rem, 3.4vw, 2.3rem)/1.15 var(--head); color: var(--yellow); margin: 36px 0; text-transform: uppercase; }
.farewell__sign { font: 400 .9rem/1.5 var(--mono); color: #93a3bf; font-style: italic; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: 40px 0; font-size: .85rem; color: var(--ink-2); border-top: 4px solid var(--yellow); }
.footer__inner { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.footer__logo { width: 200px; mix-blend-mode: multiply; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .pass { grid-column: 1; grid-row: auto; justify-self: start; transform: rotate(-1.5deg); margin-top: 16px; }
  .story, .people, .fleet { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav { max-width: 60vw; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { padding: 8px 16px; }
  .brand { flex: none; }
  .nav { max-width: calc(100vw - 80px); }
  .hero { min-height: auto; }
  .hero__inner { padding: 56px 0; }
  .pass { grid-template-columns: 1fr; transform: none; }
  .pass__main { border-right: 0; border-bottom: 2px dashed var(--line); }
  .pass__main::before, .pass__main::after { display: none; }
  .pass__stub { border-radius: 0 0 16px 16px; }
  .pass__stub dl { grid-template-columns: repeat(3, 1fr); }
  .iata { font-size: 2.3rem; }
  .stats, .cards, .spec { grid-template-columns: 1fr; }
  .card--img { grid-row: auto; }
  .timeline::before { left: 9px; }
  .tl { grid-template-columns: 22px 1fr; gap: 4px 12px; }
  .tl__date { grid-column: 2; text-align: left; padding: 0; order: -1; }
  .tl__dot { grid-column: 1; grid-row: 1 / span 2; margin: 2px 0 0; }
  .tl__body { grid-column: 2; }
  .tl__year { padding-left: 34px; }
  .footer__inner { grid-template-columns: 1fr; }
  .facts-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .map-tip { position: static; margin-top: 10px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Videos ---------- */
.lede--light { color: #b9c6dc; }
.chip--light { border-color: #8fa1bf; color: #dbe3f0; }
.chip--light:hover { background: rgba(255, 255, 255, .08); }
.chip--light.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video[hidden] { display: none; }
.video { background: var(--navy-3); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #0a1426 center / cover no-repeat; display: grid; place-items: center; }
.video__play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 14, 28, .7)); }
.video__play svg { position: relative; width: 68px; height: 68px; transition: transform .2s; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.video__play:hover svg, .video__play:focus-visible svg { transform: scale(1.12); }
.video__play:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.video__body { padding: 14px 18px 18px; }
.video__body h3 { font-size: 1.15rem; margin: 0 0 6px; color: var(--white); }
.video__body p { font-size: .9rem; color: #b9c6dc; margin: 0 0 8px; }
.video__src { font: 500 .72rem/1.3 var(--mono); color: #8fa1bf; text-decoration: none; }
.video__src:hover { color: var(--yellow); }

/* board as one grid so columns align */
.board { display: grid; grid-template-columns: repeat(4, max-content); column-gap: 1.4em; row-gap: 6px; justify-content: start; }
.board__row { display: contents; }
.board__row--head span { padding-bottom: 6px; }

/* ---------- Original-Logo ---------- */
.brand img { height: 36px; width: auto; display: block; }
.mag__brand { width: 78%; height: auto; position: relative; z-index: 1; }
.mag--empty .mag__brand { opacity: .55; }
.footer__logo { mix-blend-mode: normal; }
.farewell__logo { width: min(320px, 70%); margin: 8px auto 28px; }
@media (max-width: 640px) { .brand img { height: 28px; } }

/* ---------- Roger Hohl ---------- */
.roger__grid { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: 56px; }
.roger__portrait img { aspect-ratio: 3 / 4; object-position: center 20%; }
.roger__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.roger__stats div { background: var(--navy-3); border-radius: 12px; padding: 16px; border-top: 4px solid var(--yellow); }
.roger__stats b { display: block; font: 800 2rem/1 var(--head); color: var(--yellow); margin-bottom: 8px; white-space: nowrap; }
.roger__stats span { font-size: .85rem; color: #c3cee0; line-height: 1.35; display: block; }
.career { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; counter-reset: c; }
.career::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 12px, transparent 12px 20px); opacity: .6; }
.career li { position: relative; padding: 36px 12px 0 0; }
.career li::before { content: ""; position: absolute; top: 5px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--yellow); }
.career__top::before { background: var(--yellow) !important; width: 22px !important; height: 22px !important; top: 2px !important; }
.career__yr { display: block; font: 600 .75rem/1 var(--mono); color: var(--yellow); letter-spacing: .08em; margin-bottom: 6px; }
.career b { display: block; font: 700 1.15rem/1.1 var(--head); color: var(--white); margin-bottom: 6px; text-transform: uppercase; }
.career li > span:last-child { font-size: .85rem; color: #b9c6dc; line-height: 1.4; display: block; }
.quote--dark { background: var(--navy-3); margin-bottom: 48px; }
.quote--dark p { color: var(--white); }
.quote--dark cite { color: #8fa1bf; }
.roger__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.farewell__from { font: 600 .9rem/1.4 var(--mono); color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-top: -16px; }
@media (max-width: 980px) {
  .roger__grid { grid-template-columns: 1fr; }
  .roger__portrait { max-width: 320px; }
  .roger__stats { grid-template-columns: 1fr 1fr; }
  .career { grid-template-columns: 1fr; }
  .career::before { left: 7px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(var(--yellow) 0 12px, transparent 12px 20px); }
  .career li { padding: 0 0 22px 36px; }
  .career li::before { top: 2px; }
  .roger__photos { grid-template-columns: 1fr; }
}
.tl--rh .tl__dot { background: var(--sky); border-color: var(--navy); }
.tl--rh .tl__body { border-left: 4px solid var(--sky); background: #eef4fb; }
.tl--rh .tl__body h3::before { content: "RH"; font: 600 .66rem/1 var(--mono); background: var(--sky); color: var(--white); padding: 4px 6px; border-radius: 3px; margin-right: 8px; vertical-align: 3px; }
.chip--rh { border-color: var(--sky); color: var(--sky); }
.chip--rh.is-active { background: var(--sky); color: var(--white); }
.career b { hyphens: auto; overflow-wrap: anywhere; }

/* ---------- Abschied: Signatur ---------- */
.farewell__from { margin-bottom: 4px; }
.farewell__from + .farewell__from { margin-top: 0; margin-bottom: 28px; }

/* ---------- Footer-Links ---------- */
.footer__links { font: 500 .85rem/1.4 var(--mono); margin: 0; }
.footer__links a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--yellow); }
.footer__links a:hover { color: var(--sky); }

/* ---------- Rechtsseiten ---------- */
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; text-transform: uppercase; margin-bottom: 32px; overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 4px; }
.legal address { font-style: normal; line-height: 1.7; margin-bottom: 1em; color: var(--ink); }
.legal__card { background: var(--white); border-radius: var(--radius); padding: 22px 26px; border-left: 5px solid var(--yellow); box-shadow: var(--shadow); margin: 24px 0; }
.legal__card h2 { margin-top: 0; }
.legal__card p:last-child, .legal__card ul:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.page-404 { background: #0a0f18; color: #c9d4e6; min-height: 100vh; display: grid; place-items: center; }
.notfound { width: min(720px, 100% - 32px); text-align: center; padding: 48px 0; }
.notfound__logo { width: min(280px, 70%); margin: 0 auto 36px; }
.notfound__board { display: inline-grid; grid-template-columns: repeat(3, max-content); margin: 0 auto 32px; max-width: 100%; }
.notfound h1 { color: var(--yellow); font-size: clamp(2.4rem, 7vw, 4rem); text-transform: uppercase; }
.notfound__btn { display: inline-block; margin-top: 12px; background: var(--yellow); color: var(--navy); font: 700 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 14px 24px; border-radius: 999px; text-decoration: none; }
.notfound__btn:hover { background: var(--yellow-2); }
.page-404 { grid-template-columns: 100%; justify-items: center; }
.notfound { min-width: 0; }
.notfound__board { display: grid; width: max-content; max-width: 100%; margin-inline: auto; }
@media (max-width: 520px) { .notfound .flap i { font-size: .72rem; } .notfound__board { column-gap: .8em; } }

/* ---------- Link auf rogerhohl.com ---------- */
.rh-link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--yellow), var(--yellow)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .2s, color .2s; }
.rh-link:hover, .rh-link:focus-visible { color: var(--yellow); }
.section--paper .rh-link:hover, .footer .rh-link:hover, .story .rh-link:hover { color: var(--sky); }
h2 .rh-link { background-size: 100% 4px; }

/* ---------- Copyright ---------- */
.footer__copy { font: 400 .78rem/1.5 var(--mono); color: var(--ink-2); margin: 10px 0 0; }
.notfound__copy { font: 400 .78rem/1.5 var(--mono); color: #7f8aa0; margin-top: 40px; }
.notfound__copy a { color: #c9d4e6; }

/* ---------- Die Gründer ---------- */
.founders { background: var(--paper); }
.founders__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.founder { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 5px solid var(--yellow); }
.founder__img { margin: 0; }
.founder__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; }
.founder__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.founder__role { font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.founder h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 14px; }
.founder p { color: var(--ink-2); font-size: .98rem; }
.founder__facts { list-style: none; padding: 0; margin: 6px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.founder__facts li { background: var(--paper); border-radius: 8px; padding: 9px 12px; font-size: .88rem; color: var(--ink-2); }
.founder__facts b { display: block; font: 700 1.05rem/1.1 var(--head); color: var(--navy); }
.founder__quote { margin: auto 0 0; padding: 16px 18px; border-left: 4px solid var(--yellow); background: var(--paper); font: 600 1.2rem/1.2 var(--head); color: var(--navy); }
.founder__quote cite { display: block; margin-top: 8px; font: 400 .75rem/1.3 var(--mono); font-style: normal; color: var(--ink-2); }
.founders__band { margin-top: 36px; background: var(--navy); border-left-color: var(--yellow); }
.founders__band p { color: var(--white); }
.founders__band cite { color: #8fa1bf; }
@media (max-width: 860px) { .founders__grid { grid-template-columns: 1fr; } }

/* ---------- Hauptmenü mit Dropdowns ---------- */
.nav--main { overflow: visible; gap: 2px; }
.nav__group { position: relative; }
.nav__btn {
  display: flex; align-items: center; gap: 7px; cursor: pointer; border: 0; background: none;
  color: #c9d4e6; font: 600 .95rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 6px;
}
.nav__btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__btn:hover, .nav__group.is-open .nav__btn, .nav__btn.is-current { color: var(--navy); background: var(--yellow); }
.nav__group.is-open .nav__btn::after { transform: translateY(1px) rotate(-135deg); }
.nav__btn:focus-visible, .nav__toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.nav__menu {
  display: none; position: absolute; right: 0; top: 100%; min-width: 230px; padding: 14px 8px 8px;
  background: var(--navy); border-bottom: 3px solid var(--yellow); border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); z-index: 60;
}
.nav__group.is-open .nav__menu { display: block; }
@media (hover: hover) and (min-width: 761px) {
  .nav__group:hover .nav__menu { display: block; }
  .nav__group:hover .nav__btn { color: var(--navy); background: var(--yellow); }
}
.nav--main .nav__menu a { display: block; padding: 10px 12px; border-radius: 6px; white-space: nowrap; }
.nav--main .nav__menu a:hover, .nav--main .nav__menu a.is-current { color: var(--navy); background: var(--yellow); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .topbar { flex-wrap: nowrap; }
  .nav__toggle {
    display: flex; align-items: center; gap: 10px; margin-left: auto; cursor: pointer;
    background: none; border: 2px solid var(--yellow); color: var(--white); border-radius: 999px;
    padding: 8px 14px; font: 700 .9rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase;
  }
  .nav__toggle i, .nav__toggle i::before, .nav__toggle i::after { display: block; width: 16px; height: 2px; background: var(--yellow); position: relative; transition: transform .2s, background .2s; }
  .nav__toggle i::before, .nav__toggle i::after { content: ""; position: absolute; left: 0; }
  .nav__toggle i::before { top: -5px; }
  .nav__toggle i::after { top: 5px; }
  .topbar.is-open .nav__toggle i { background: transparent; }
  .topbar.is-open .nav__toggle i::before { transform: translateY(5px) rotate(45deg); }
  .topbar.is-open .nav__toggle i::after { transform: translateY(-5px) rotate(-45deg); }
  .nav--main {
    display: none; position: fixed; left: 0; right: 0; top: var(--topbar-h, 56px); bottom: 0; max-width: none;
    flex-direction: column; gap: 6px; padding: 18px 16px 40px; overflow-y: auto; background: var(--navy-2);
  }
  .topbar.is-open .nav--main { display: flex; }
  .nav__btn { pointer-events: none; color: var(--yellow); padding: 8px 4px 4px; font-size: .8rem; letter-spacing: .14em; }
  .nav__btn::after { display: none; }
  .nav__menu { display: block; position: static; min-width: 0; padding: 0 0 10px; background: none; border: 0; box-shadow: none; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav--main .nav__menu a { font-size: 1.3rem; padding: 10px 4px; color: var(--white); }
  body.menu-open { overflow: hidden; }
}

/* Platz für spät geladene Inhalte reservieren, damit Sprungmarken genau landen */
.chart { aspect-ratio: 900 / 330; }
.livery img { aspect-ratio: 1600 / 1127; width: 100%; height: auto; }
/* backdrop-filter macht die Leiste zum Bezugsrahmen für position:fixed, daher auf dem Handy ohne */
@media (max-width: 760px) { .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); } }

/* ---------- Einwilligung (Google Analytics) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner {
  pointer-events: auto; width: min(560px, 100%); background: var(--navy); color: #d6deea;
  border-radius: 14px; border-top: 4px solid var(--yellow); padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: consent-in .4s ease-out both;
}
@keyframes consent-in { from { transform: translateY(20px); opacity: 0; } }
.consent__kicker { font: 600 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 8px; }
.consent__title { font: 800 1.6rem/1.05 var(--head); color: var(--white); text-transform: uppercase; margin: 0 0 8px; }
.consent__text { font-size: .9rem; line-height: 1.5; margin: 0 0 16px; }
.consent__text a { color: var(--yellow); }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent__btn { cursor: pointer; border-radius: 999px; padding: 11px 20px; font: 700 .95rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; border: 2px solid var(--yellow); }
.consent__btn--no { background: transparent; color: var(--white); }
.consent__btn--yes { background: var(--yellow); color: var(--navy); }
.consent__btn:hover { filter: brightness(1.1); }
.consent__btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
@media (max-width: 480px) { .consent__actions { justify-content: stretch; } .consent__btn { flex: 1; } }

/* ---------- Sprachumschalter DE / EN ---------- */
.brand { order: 0; }
.nav { order: 2; }
.nav__toggle { order: 2; }
.lang { order: 3; display: flex; align-items: center; gap: 2px; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); flex: none; }
.lang a, .lang__current { font: 700 .85rem/1 var(--mono); letter-spacing: .08em; padding: 7px 8px; border-radius: 5px; text-decoration: none; }
.lang a { color: #c9d4e6; }
.lang a:hover, .lang a:focus-visible { color: var(--navy); background: var(--yellow); outline: none; }
.lang__current { color: var(--yellow); }
.topbar .nav:not(.nav--main) { margin-left: auto; }
@media (max-width: 760px) {
  .lang { order: 1; margin-left: auto; border-left: 0; padding-left: 0; }
  .nav__toggle { margin-left: 8px; }
  .page-legal .lang { margin-left: auto; }
  .page-legal .topbar .nav { order: 4; }
}
.notfound__en { color: #93a3bf; font-size: .9rem; margin: -6px 0 18px; }
.notfound__en a { color: var(--yellow); }

/* ---------- Galerie: Themenfilter ---------- */
.gallery button[hidden] { display: none; }
.chip span { opacity: .6; font-weight: 500; margin-left: 2px; }
.gallery-more { text-align: center; margin: 8px 0 0; }
.filters:has(+ .filters--years) { margin-bottom: 10px; }
.chip--year { padding: 7px 12px; font-size: .8rem; }
.chip:disabled { opacity: .3; cursor: default; background: transparent; }

/* ---------- Roger: Zusatzfunktionen ---------- */
.roger__extra { margin: -16px 0 48px; }
.roger__extra ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roger__extra li { border: 1px solid rgba(245, 180, 0, .35); border-radius: 8px; padding: 12px 14px; }
.roger__extra b { display: block; font: 700 .95rem/1.2 var(--head); color: var(--white); text-transform: uppercase; margin-bottom: 4px; }
.roger__extra span { display: block; font-size: .82rem; line-height: 1.4; color: #b9c6dc; }
@media (max-width: 980px) { .roger__extra ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roger__extra ul { grid-template-columns: 1fr; } }

/* ---------- Flotte: Wet-Lease ---------- */
.wetlease { margin-top: 48px; padding-top: 32px; border-top: 2px dashed #d9d1c0; }
.wetlease__title { font: 700 1.5rem/1.15 var(--head); text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.wetlease__intro { max-width: 760px; margin: 0 0 24px; }

/* ---------- Strecken: Partner ---------- */
.partner { margin: 22px 0 6px; max-width: 760px; }
.partner a { color: var(--navy); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
