/* ==========================================================================
   Traveler Inform – Das Berlin-Journal
   Design system "Stadtjournal": newsprint, ink, signal red, highlighter.
   Square corners everywhere. No gradients. No serif fonts.
   ========================================================================== */

/* 01 TOKENS ---------------------------------------------------------------- */
:root {
  --paper: #F1EFEA;
  --ink: #121212;
  --grey: #6B6B6B;
  --rule: #121212;
  --red: #E2231A;
  --yellow: #FFD23F;
  --concrete: #D9D6CF;
  --white: #FFFFFF;
  --paper-shade: #E7E4DD;

  --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --fs-micro: .75rem;
  --fs-mono: .8125rem;
  --fs-small: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.18rem, 1.02rem + .65vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.08rem + .6vw, 1.6rem);
  --fs-h2: clamp(1.8rem, 1.25rem + 2.3vw, 3.3rem);
  --fs-h1: clamp(2.15rem, 1.1rem + 5.2vw, 6.6rem);
  --fs-mega: clamp(3.2rem, 1rem + 10vw, 11rem);

  --pad: 16px;
  --gutter: 16px;
  --wrap: 1360px;
  --measure: 68ch;

  --bw: 3px;
  --bw-thin: 2px;
  --bw-heavy: 6px;
  --line: var(--bw) solid var(--rule);
  --line-thin: var(--bw-thin) solid var(--rule);
  --line-hair: 1px solid var(--rule);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --s1: .25rem;
  --s2: .5rem;
  --s3: .75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: clamp(3rem, 2rem + 4vw, 6rem);

  --focus: var(--red);
  --speed: .18s;
}

@media (min-width: 600px) {
  :root { --pad: 24px; --gutter: 24px; }
}
@media (min-width: 1200px) {
  :root { --pad: 40px; --gutter: 32px; }
}

/* 02 RESET & BASE ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.has-dialog { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}

p, ul, ol, dl, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; }

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
  text-decoration-color: var(--red);
}

a:hover { background: var(--ink); color: var(--paper); text-decoration-color: var(--ink); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

hr {
  border: 0;
  border-top: var(--line);
  margin: var(--s6) 0;
}

abbr[title] { text-decoration: underline dotted; }

strong, b { font-weight: 700; }

small { font-size: var(--fs-small); }

::selection { background: var(--yellow); color: var(--ink); }

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

[hidden] { display: none !important; }

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

.wrap {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2 * var(--pad), 960px); }
.wrap--text { width: min(100% - 2 * var(--pad), 760px); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .02em;
}
.u-red { color: var(--red); }
.u-upper { text-transform: uppercase; }
.u-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: var(--s4) !important; }
.mt-m { margin-top: var(--s6) !important; }
.mt-l { margin-top: var(--s8) !important; }
.mb-0 { margin-bottom: 0 !important; }

.stack > * + * { margin-top: var(--s4); }

.rule { border: 0; border-top: var(--line); margin: var(--s6) 0; }
.rule--heavy { border-top-width: var(--bw-heavy); }
.rule--double {
  border: 0;
  height: 10px;
  margin: var(--s6) 0;
  border-top: var(--bw-heavy) solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

mark,
.hl {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 .16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1;
  padding: .4em .55em;
  border: var(--line-thin);
  background: var(--paper);
  color: var(--ink);
}
.tag--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag--red { background: var(--red); color: var(--white); border-color: var(--red); }
.tag--yellow { background: var(--yellow); }

/* 04 SKIP LINK ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--pad);
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  border: var(--line);
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); }
.skip-link:hover { background: var(--ink); color: var(--yellow); }

/* 05 TYPOGRAPHY ------------------------------------------------------------ */
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
}
.kicker__num {
  display: inline-grid;
  place-items: center;
  min-width: 2.4em;
  padding: .3em .45em;
  background: var(--red);
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1;
}
.kicker__sep { color: var(--red); }

.standfirst {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.42;
  max-width: 46ch;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
.byline > * { padding-right: .9rem; margin-right: .9rem; border-right: var(--line-thin); }
.byline > *:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.byline strong { font-weight: 700; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  border-bottom: var(--line);
  padding: .15rem 0;
}
.link-arrow::after { content: "\2192"; font-family: var(--font-body); font-weight: 700; }
.link-arrow:hover { padding-inline: .4rem; }

/* Long-form text. Element rules only touch unclassed elements, so components
   placed inside .prose keep their own styling. */
.prose { max-width: var(--measure); hyphens: auto; -webkit-hyphens: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose :where(p:not([class])) { line-height: 1.68; }
.prose :where(h2:not([class])) {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
  margin-top: 1.6em;
}
.prose :where(h3:not([class])) {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  margin-top: 1.8em;
}
.prose :where(h2:not([class]), h3:not([class])) + :where(p) { margin-top: .6em; }
.prose :where(h4:not([class])) {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-top: 1.8em;
}
.prose :where(ul:not([class]), ol:not([class])) { padding-left: 1.5em; }
.prose :where(ul:not([class]) > li + li, ol:not([class]) > li + li) { margin-top: .45em; }
.prose :where(ul:not([class])) { list-style: none; padding-left: 1.4em; }
.prose :where(ul:not([class]) > li) { position: relative; }
.prose :where(ul:not([class]) > li)::before {
  content: "";
  position: absolute;
  left: -1.2em;
  top: .62em;
  width: .5em;
  height: .5em;
  background: var(--red);
}
.prose :where(ol:not([class])) { list-style: decimal-leading-zero; }
.prose :where(ol:not([class]) > li)::marker {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
}
.prose :where(a:not([class])) { font-weight: 500; }
.prose :where(dl:not([class]) dt) { font-weight: 700; margin-top: .8em; }
.prose :where(dl:not([class]) dd) { margin: .2em 0 0; }
.prose .lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.45;
}
.prose .dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.6em;
  line-height: .8;
  padding: .06em .12em 0 0;
  color: var(--red);
}

/* 06 BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.2rem;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  border-radius: 0;
  transition: background-color var(--speed), color var(--speed), box-shadow var(--speed), transform var(--speed);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translate(2px, 2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); color: var(--ink); }
.btn--signal { background: var(--red); color: var(--white); border-color: var(--ink); }
.btn--signal:hover { background: var(--ink); color: var(--white); }
.btn--yellow { background: var(--yellow); }
.btn--ghost { background: transparent; border-style: dashed; }
.btn--ghost:hover { border-style: solid; }
.btn--arrow::after { content: "\2192"; font-family: var(--font-body); font-size: 1.15em; }
.btn--small { min-height: 40px; padding: .5rem .85rem; font-size: var(--fs-micro); }
.btn--block { width: 100%; }
.btn--shadow { box-shadow: var(--shadow); }
.btn--shadow:hover { box-shadow: 2px 2px 0 var(--ink); transform: translate(4px, 4px); }

/* 07 MASTHEAD: TICKER ------------------------------------------------------ */
.masthead { position: relative; z-index: 50; background: var(--paper); }

.ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1;
  border-bottom: var(--bw) solid var(--red);
}
.ticker__label {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 .8rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}
@media (max-width: 599px) {
  .ticker__label { display: none; }
}
.ticker__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 95s linear infinite;
}
.ticker__list {
  display: flex;
  flex: none;
  gap: 2.4rem;
  padding: .62rem 2.4rem .62rem 1.2rem;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}
.ticker__list li { display: flex; align-items: center; gap: .7rem; }
.ticker__list li::before {
  content: "";
  width: .55em;
  height: .55em;
  background: var(--yellow);
  flex: none;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }

.ticker__toggle {
  flex: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  border: 0;
  border-left: var(--bw-thin) solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  padding: 0;
}
.js .ticker__toggle { display: flex; }
.ticker__toggle:hover { background: var(--yellow); color: var(--ink); }
.ticker__toggle:focus-visible { outline-color: var(--yellow); outline-offset: -4px; }
.ticker__icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.ticker.is-paused .ticker__icon {
  width: 0;
  height: 0;
  border-right: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 08 MASTHEAD: META + BRAND ------------------------------------------------ */
.masthead__meta {
  display: flex;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  flex-wrap: wrap;
  padding: .6rem 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: var(--line-thin);
}
.masthead__meta p { margin: 0; }
.masthead__claim { display: none; }
@media (min-width: 700px) {
  .masthead__claim { display: block; }
}

.masthead__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  padding: clamp(.9rem, .6rem + 1.2vw, 1.6rem) 0 clamp(.8rem, .5rem + 1vw, 1.3rem);
}

.brand {
  --brand-size: clamp(1.4rem, .9rem + 2.2vw, 2.4rem);
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: calc(var(--brand-size) * .28);
  align-items: end;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { background: transparent; color: var(--ink); }
.brand:hover .brand__sub { background: var(--red); }
.brand__tower {
  grid-row: 1 / span 2;
  width: auto;
  height: calc(var(--brand-size) * 1.42);
  color: var(--ink);
}
.brand__word {
  font-family: var(--font-display);
  font-size: var(--brand-size);
  line-height: .86;
  letter-spacing: -.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__word > span { display: inline; }
.brand__sub {
  justify-self: start;
  margin-top: calc(var(--brand-size) * .14);
  padding: .3em .5em .25em;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: max(.625rem, calc(var(--brand-size) * .3));
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1;
  transition: background-color var(--speed);
}

/* Cover-sized masthead on the home page */
.page-home .brand { --brand-size: 13vw; }
.page-home .brand__word > span { display: block; }
.page-home .brand__tower { height: calc(var(--brand-size) * 2.05); }
.page-home .brand__sub { font-size: max(.7rem, calc(var(--brand-size) * .2)); letter-spacing: .22em; }
@media (min-width: 700px) {
  .page-home .brand { --brand-size: min(8vw, 7.6rem); }
  .page-home .brand__word > span { display: inline; }
  .page-home .brand__tower { height: calc(var(--brand-size) * 1.36); }
  .page-home .brand__sub { font-size: max(.75rem, calc(var(--brand-size) * .16)); }
}

/* 09 NAVIGATION ------------------------------------------------------------ */
.masthead__navbar {
  position: relative;
  border-top: var(--bw-heavy) solid var(--rule);
  border-bottom: var(--line);
  background: var(--paper);
}

.nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: .5rem var(--pad);
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
}
.js .nav-toggle { display: flex; }
.nav-toggle:hover { background: var(--red); color: var(--white); }
.nav-toggle:focus-visible { outline-color: var(--yellow); outline-offset: -5px; }
.nav-toggle__main { display: inline-flex; align-items: center; gap: .8rem; }
.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.5px;
  border-top: 3px solid currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { border-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.5px;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(-45deg); }
.nav-toggle__hint { color: var(--yellow); font-weight: 400; }

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__group { position: relative; }
.nav__tab {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 52px;
  padding: .7rem var(--pad);
  border: 0;
  border-bottom: var(--line-hair);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  transition: background-color var(--speed), color var(--speed);
}
.nav__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  color: var(--red);
  letter-spacing: .02em;
}
.nav__tab::after {
  content: "";
  width: .45em;
  height: .45em;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--speed);
}
.nav__tab[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.nav__tab:hover,
.nav__tab[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.nav__tab:hover .nav__num,
.nav__tab[aria-expanded="true"] .nav__num { color: var(--yellow); }
.nav__group:has([aria-current="page"]) > .nav__tab { box-shadow: inset 6px 0 0 var(--red); }

.nav__sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 .5rem;
  background: var(--paper);
}
.nav__link {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .7rem var(--pad) .7rem calc(var(--pad) + 2.4rem);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}
.nav__link::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  background: var(--ink);
  transform: translateY(-.1em);
}
.nav__link:hover { background: var(--ink); color: var(--paper); }
.nav__link:hover::before { background: var(--yellow); }
.nav__link[aria-current="page"] { font-weight: 700; box-shadow: inset 6px 0 0 var(--red); }
.nav__link[aria-current="page"]::before { background: var(--red); }

/* Mobile behaviour */
.js .nav { display: none; }
.js .nav.is-open { display: block; border-top: var(--line); }
html:not(.js) .nav__sub { display: block; }
html:not(.js) .nav__tab::after { display: none; }
.nav__tab[aria-expanded="true"] + .nav__sub { display: block; }

/* Desktop tabs */
@media (min-width: 960px) {
  .js .nav-toggle { display: none; }
  .js .nav,
  .nav { display: block; border-top: 0; }
  .nav__list {
    display: flex;
    width: min(100% - 2 * var(--pad), var(--wrap));
    margin-inline: auto;
    border-left: var(--line-thin);
  }
  .nav__group { flex: 1 1 auto; border-right: var(--line-thin); }
  .nav__tab {
    justify-content: flex-start;
    min-height: 56px;
    padding: .7rem 1rem;
    border-bottom: 0;
    font-size: .9375rem;
  }
  .nav__tab::after { margin-left: .6rem; }
  .nav__group:has([aria-current="page"]) > .nav__tab { box-shadow: inset 0 -6px 0 var(--red); }
  html:not(.js) .nav__sub,
  .nav__sub {
    display: none;
    position: absolute;
    top: calc(100% + var(--bw));
    left: calc(-1 * var(--bw-thin));
    min-width: max(100%, 290px);
    padding: 0;
    border: var(--line);
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav__group:last-child .nav__sub { left: auto; right: calc(-1 * var(--bw-thin)); }
  .nav__link {
    padding: .8rem 1rem;
    border-bottom: var(--line-hair);
  }
  .nav__sub li:last-child .nav__link { border-bottom: 0; }
  html:not(.js) .nav__group:focus-within > .nav__sub,
  .nav__tab[aria-expanded="true"] + .nav__sub { display: block; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .nav__tab { padding: .7rem .6rem; font-size: .8125rem; gap: .4rem; letter-spacing: 0; }
  .nav__tab::after { margin-left: .35rem; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav__tab { padding: .7rem .75rem; font-size: .875rem; gap: .45rem; }
  .nav__tab::after { margin-left: .4rem; }
}
@media (min-width: 960px) and (hover: hover) {
  .nav__group:hover > .nav__sub { display: block; }
  .nav__group:hover > .nav__tab { background: var(--ink); color: var(--paper); }
  .nav__group:hover > .nav__tab .nav__num { color: var(--yellow); }
}

/* 10 BREADCRUMB ------------------------------------------------------------ */
.breadcrumb {
  padding: .9rem 0;
  border-bottom: var(--line-hair);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 .6rem;
  color: var(--red);
  font-weight: 700;
}
.breadcrumb a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--ink); }
.breadcrumb a:hover { text-decoration: none; }
.breadcrumb [aria-current="page"] { font-weight: 700; }

/* 11 SECTIONS & SECTION HEADS --------------------------------------------- */
.section { padding-block: var(--s8); }
.section + .section { border-top: var(--line); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section--concrete { background: var(--concrete); }
.section--yellow { background: var(--yellow); }
.section--ink { background: var(--ink); color: var(--paper); --focus: var(--yellow); }
.section--ink a:hover { background: var(--paper); color: var(--ink); }
.section--raster {
  background-color: var(--paper);
  background-image: url("../img/svg/raster.svg");
  background-size: 8px 8px;
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .2rem var(--gutter);
  align-items: end;
  padding-top: var(--s4);
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-top: var(--bw-heavy) solid var(--rule);
}
.section-head__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 2rem + 6vw, 8rem);
  line-height: .78;
  color: var(--red);
  letter-spacing: -.04em;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -.025em;
}
.section-head__note {
  grid-column: 1 / -1;
  margin-top: var(--s4);
  max-width: 62ch;
  font-size: var(--fs-small);
  color: var(--ink);
}
.section--ink .section-head { border-top-color: var(--paper); }
.section--ink .section-head__num { color: var(--yellow); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem); }
  .section-head__note { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; align-self: end; padding-bottom: .3rem; }
}

/* 12 PAGE HEAD (article / page header) ------------------------------------- */
.page-head {
  padding-block: clamp(1.8rem, 1rem + 3vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem);
}
.page-head__title {
  margin-top: var(--s4);
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: .92;
  letter-spacing: -.035em;
  max-width: 16ch;
}
.page-head__title .u-red,
.page-head__title em { font-style: normal; color: var(--red); }
.page-head .standfirst { margin-top: var(--s5); }
.page-head .byline { margin-top: var(--s5); padding-top: var(--s3); border-top: var(--line); max-width: 46rem; }
@media (min-width: 900px) {
  .page-head__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    align-items: end;
  }
  .page-head__grid > .page-head__main { grid-column: 1 / span 8; }
  .page-head__grid > .page-head__aside { grid-column: 10 / span 3; }
}
.page-head__aside {
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
}

/* Black band variant – for service, legal and contact pages */
.page-head--band {
  background: var(--ink);
  color: var(--paper);
  --focus: var(--yellow);
}
.page-head--band .kicker { color: var(--paper); }
.page-head--band .page-head__title { color: var(--paper); }
.page-head--band .byline { border-top-color: var(--paper); color: var(--paper); }
.page-head--band .byline > * { border-right-color: var(--paper); }
.page-head--band a:hover { background: var(--paper); color: var(--ink); }

/* Yellow variant – for planning pages */
.page-head--yellow { background: var(--yellow); }

/* 13 HEROES ---------------------------------------------------------------- */
/* a) Full-width image below the page head */
.hero-figure { margin: 0; border-block: var(--line); background: var(--ink); }
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  max-height: 78vh;
}
.hero-figure .caption { padding-inline: var(--pad); background: var(--paper); }
@media (min-width: 1200px) {
  .hero-figure .caption { padding-inline: calc((100% - min(100% - 2 * var(--pad), var(--wrap))) / 2); }
}

/* b) Split hero: text left, image right (asymmetric 5/7) */
.hero-split {
  display: grid;
  gap: var(--gutter);
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
}
.hero-split__media { position: relative; margin: 0; }
.hero-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--line);
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .hero-split__text { grid-column: 1 / span 6; grid-row: 1; position: relative; z-index: 2; padding-bottom: var(--s5); }
  .hero-split__media { grid-column: 6 / -1; grid-row: 1; }
  .hero-split__media img { aspect-ratio: 5 / 4; }
  .hero-split .page-head__title { max-width: none; }
  /* only the headline may reach into the photo column; text below stays clear of it */
  .hero-split__text > :not(.page-head__title) { max-width: calc(100% * 5 / 6 - var(--gutter) / 6); }
  .hero-split .page-head__title > span {
    background: var(--paper);
    padding-right: .14em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
}

/* c) Photo hero: full-bleed photo with headline block cut into it */
.hero-photo {
  position: relative;
  display: grid;
  background: var(--ink);
  border-bottom: var(--line);
}
.hero-photo > img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 82vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-photo__box {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  position: relative;
  width: min(100% - 2 * var(--pad), 52rem);
  margin: 0 0 var(--pad) var(--pad);
  padding: clamp(1rem, .8rem + 1.4vw, 2rem);
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-photo__box .page-head__title { margin-top: var(--s3); font-size: clamp(2rem, 1rem + 4.6vw, 5.6rem); }
.hero-photo__box .standfirst { margin-top: var(--s4); }
@media (min-width: 1200px) {
  .hero-photo__box { margin-left: max(var(--pad), calc((100% - var(--wrap)) / 2)); }
}
@media (max-width: 599px) {
  .hero-photo { display: block; }
  .hero-photo > img { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-photo__box { width: auto; margin: -2.5rem var(--pad) var(--pad); box-shadow: var(--shadow); }
}

/* 14 FIGURES & CAPTIONS ---------------------------------------------------- */
.figure { margin: 0; }
.figure img { width: 100%; border: var(--line); background: var(--concrete); }
.caption,
figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .9rem;
  padding: .6rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--ink);
}
.caption::before,
figcaption::before {
  content: "";
  flex: none;
  width: .7em;
  height: .7em;
  margin-top: .35em;
  background: var(--red);
}
.caption__text { flex: 1 1 20rem; }
.caption__credit { color: var(--grey); }
.caption__credit a { color: var(--grey); text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.caption__credit a:hover { color: var(--paper); }

.prose .figure,
.prose .photo-break,
.prose .facts,
.prose .callout,
.prose .route,
.prose .pullquote,
.prose .table-wrap,
.prose .timeline,
.prose .spec,
.prose .faq,
.prose .gallery,
.prose .dayplan,
.prose .stats,
.prose .cards { margin-top: 2em; margin-bottom: 2em; }
.prose .photo-break { margin-block: var(--s7); }

.figure--portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 900px) {
  .prose .figure--inset {
    float: right;
    width: 44%;
    margin: .4em 0 1.2em 1.8em;
  }
  .prose .figure--inset-left {
    float: left;
    width: 44%;
    margin: .4em 1.8em 1.2em 0;
  }
  .prose .figure--wide { margin-right: calc(-1 * min(18vw, 14rem)); }
}
.prose h2,
.prose .chapter,
.prose .photo-break { clear: both; }

/* Full-bleed photo break (works inside .prose / .article__body or standalone) */
.photo-break {
  position: relative;
  z-index: 3;
  margin: var(--s8) 0;
  background: var(--paper);
  border-block: var(--line);
}
.photo-break img {
  width: 100%;
  height: clamp(280px, 62vh, 760px);
  object-fit: cover;
}
.photo-break figcaption {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto;
  padding-block: .7rem;
}
.article__body .photo-break {
  width: 100vw;
  margin-left: calc((min(100vw - 2 * var(--pad), var(--wrap)) - 100vw) / 2);
}
.article__body .photo-break figcaption {
  width: min(100vw - 2 * var(--pad), var(--wrap));
}

/* 15 ARTICLE LAYOUT -------------------------------------------------------- */
.article__layout {
  display: grid;
  gap: var(--s6) var(--gutter);
  padding-block: clamp(2rem, 1.5rem + 2vw, 4rem) var(--s8);
}
.article__rail { display: grid; gap: var(--s5); align-content: start; }
.article__body { min-width: 0; }
@media (min-width: 1024px) {
  .article__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .article__body { grid-column: 1 / span 8; grid-row: 1; }
  .article__rail { grid-column: 10 / span 3; grid-row: 1; position: sticky; top: var(--s5); }
  .article__layout--wide .article__body { grid-column: 1 / -1; }
}

/* Chapters with big red numerals */
.chapter { scroll-margin-top: var(--s5); }
.chapter + .chapter { margin-top: var(--s8); }
.chapter__title {
  display: grid;
  gap: .3rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -.025em;
  padding-top: var(--s4);
  border-top: var(--line);
  margin-bottom: var(--s5);
}
.chapter__num {
  display: block;
  font-size: clamp(3.6rem, 2.4rem + 5vw, 7.5rem);
  line-height: .8;
  color: var(--red);
  letter-spacing: -.05em;
}
@media (min-width: 700px) {
  .chapter__title { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: var(--s5); }
}
.chapter > :where(* + *) { margin-top: 1.1em; }
.chapter > :where(.chapter__title + *) { margin-top: 0; }

/* Table of contents box (rail) */
.toc-box {
  border: var(--line);
  background: var(--paper);
}
.toc-box__title {
  padding: .6rem .9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.toc-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.toc-box li { counter-increment: toc; }
.toc-box li + li { border-top: var(--line-hair); }
.toc-box a {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  padding: .6rem .9rem;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}
.toc-box a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--red);
  padding-top: .15em;
}
.toc-box a:hover::before,
.toc-box a.is-active::before { color: var(--yellow); }
.toc-box a.is-active { background: var(--ink); color: var(--paper); }

/* 16 FACT BOX (black) & SPEC BOX (newsprint) ------------------------------- */
.facts {
  background: var(--ink);
  color: var(--white);
  border: var(--line);
  padding: clamp(1rem, .8rem + 1vw, 1.6rem);
  --focus: var(--yellow);
}
.facts__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .7rem;
  margin-bottom: .2rem;
  border-bottom: var(--bw) solid var(--red);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--white);
}
.facts__title::after {
  content: "";
  width: .7rem;
  height: .7rem;
  background: var(--yellow);
}
.facts__list { margin: 0; }
.facts__list > div {
  display: grid;
  gap: .15rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(241, 239, 234, .28);
}
.facts__list > div:last-child { border-bottom: 0; }
.facts__list dt {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--concrete);
}
.facts__list dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}
.facts__note {
  margin-top: .8rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--concrete);
}
.facts a { color: var(--white); text-decoration-color: var(--yellow); }
.facts a:hover { background: var(--yellow); color: var(--ink); }
@media (min-width: 600px) {
  .facts--wide .facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); }
  .facts--wide .facts__list > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}

.spec { border: var(--line); background: var(--paper); }
.spec__title {
  padding: .6rem .9rem;
  background: var(--concrete);
  border-bottom: var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.spec__list { margin: 0; }
.spec__list > div {
  display: grid;
  grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr);
  gap: .8rem;
  padding: .65rem .9rem;
  border-bottom: var(--line-hair);
}
.spec__list > div:last-child { border-bottom: 0; }
.spec__list dt {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding-top: .2em;
}
.spec__list dd { margin: 0; font-weight: 500; line-height: 1.4; }

/* 17 PULL QUOTE ------------------------------------------------------------ */
.pullquote {
  position: relative;
  margin: var(--s7) 0;
  padding: .2rem 0 .2rem clamp(1.1rem, .8rem + 1.5vw, 2rem);
  border-left: 14px solid var(--red);
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.pullquote footer,
.pullquote__source {
  margin-top: var(--s4);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.pullquote--yellow p span,
.pullquote mark { background: var(--yellow); }
.pullquote > * + * { margin-top: var(--s4); }

/* 18 CALLOUTS -------------------------------------------------------------- */
.callout {
  position: relative;
  padding: 1.1rem 1.2rem 1.2rem;
  border: var(--line);
  background: var(--paper);
}
.callout > * + * { margin-top: .6rem; }
.callout__label {
  display: inline-block;
  margin-bottom: .2rem;
  padding: .3rem .5rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1;
}
.callout__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.25;
}
.callout--tip { background: var(--yellow); box-shadow: var(--shadow); }
.callout--note { background: var(--concrete); }
.callout--alert { border-color: var(--red); border-left-width: 12px; }
.callout--alert .callout__label { background: var(--red); color: var(--white); }
.callout p { line-height: 1.55; }

/* 19 ROUTE BOX – "So kommen Sie hin" -------------------------------------- */
.route { border: var(--line); background: var(--paper); }
.route__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  background: var(--yellow);
  border-bottom: var(--line);
}
.route__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.route__pin {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--red);
  border: var(--line-thin);
}
.route__list { list-style: none; margin: 0; padding: 0; }
.route__list li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: .9rem;
  padding: .85rem 1rem;
  border-bottom: var(--line-hair);
  line-height: 1.5;
}
.route__list li:last-child { border-bottom: 0; }
.route__mode {
  align-self: start;
  display: inline-grid;
  place-items: center;
  min-height: 2rem;
  padding: .25rem .3rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.1;
}
.route__mode--walk { background: var(--paper); color: var(--ink); border: var(--line-thin); }
.route__mode--bike { background: var(--concrete); color: var(--ink); }
.route__mode--red { background: var(--red); color: var(--white); }
.route__list strong { display: block; }
.route__note {
  padding: .7rem 1rem;
  border-top: var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.5;
  background: var(--paper-shade);
}

/* 20 TABLES ---------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 3px; }
.table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--fs-small);
  line-height: 1.45;
}
.table caption {
  caption-side: top;
  padding: .7rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: var(--line);
}
.table th,
.table td {
  padding: .7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: var(--line-hair);
}
.table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.table tbody th { font-weight: 700; }
.table tbody tr:nth-child(even) { background: var(--paper-shade); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.table td > img { width: 8rem; max-width: none; border: var(--line-hair); }

/* 21 TIMELINE -------------------------------------------------------------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-left: var(--bw-heavy) solid var(--ink);
  margin-left: .55rem;
}
.timeline__item {
  position: relative;
  padding: 0 0 var(--s6) clamp(1.3rem, 1rem + 1.5vw, 2.2rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-.55rem - 3px);
  top: .3rem;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--red);
  border: var(--line-thin);
}
.timeline__year {
  display: inline-block;
  padding: .25rem .5rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
}
.timeline__title {
  margin-top: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.timeline__item p { margin-top: .45rem; line-height: 1.6; }
.timeline__item--key::before { background: var(--yellow); width: 1.4rem; height: 1.4rem; left: calc(-.7rem - 3px); }
.timeline__item--key .timeline__year { background: var(--red); color: var(--white); }

/* 22 CARDS ----------------------------------------------------------------- */
.cards {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
@media (min-width: 1100px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background-color var(--speed), color var(--speed), box-shadow var(--speed), transform var(--speed);
}
.card__media { margin: 0; overflow: hidden; border-bottom: var(--line); background: var(--ink); }
.card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter .3s, transform .4s;
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex: 1 1 auto;
  padding: 1rem 1.1rem 1.2rem;
}
.card__kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:hover { background: transparent; color: inherit; }
.card__link:focus-visible { outline: none; }
.card__text { font-size: var(--fs-small); line-height: 1.55; }
.card__more {
  margin-top: auto;
  padding-top: .4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.card__more::after { content: " \2192"; font-family: var(--font-body); }
.card:hover,
.card:focus-within {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  transform: translate(-3px, -3px);
}
.card:hover .kicker__num,
.card:focus-within .kicker__num { background: var(--yellow); color: var(--ink); }
.card:hover .card__media img,
.card:focus-within .card__media img { filter: none; }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--color .card__media img { filter: none; }

.card--lead .card__media img { aspect-ratio: 4 / 3; }
.card--lead .card__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); line-height: .96; }
.card--lead .card__text { font-size: var(--fs-body); max-width: 52ch; }
@media (min-width: 700px) {
  .card--row { flex-direction: row; }
  .card--row .card__media { flex: 0 0 46%; border-bottom: 0; border-right: var(--line); }
  .card--row .card__media img { height: 100%; aspect-ratio: auto; min-height: 15rem; }
}

/* Text-only tile (no image) */
.card--text { background: var(--concrete); }
.card--text .card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }

/* 23 FAQ / ACCORDION ------------------------------------------------------- */
.faq { border-top: var(--line); }
.faq__item { border-bottom: var(--line); }
.faq__q {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.2rem;
  gap: 1rem;
  align-items: center;
  padding: 1rem .2rem 1rem 0;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: var(--line);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}
.faq__item[open] > .faq__q::after { content: "\2212"; background: var(--ink); color: var(--paper); }
.faq__q:hover { background: var(--ink); color: var(--paper); padding-left: .6rem; }
.faq__q:hover::after { border-color: var(--paper); }
.faq__a { padding: 0 0 1.2rem; max-width: var(--measure); }
.faq__a > * + * { margin-top: .7rem; }

/* 24 RELATED LINKS --------------------------------------------------------- */
.related { padding-block: var(--s8); border-top: var(--bw-heavy) solid var(--rule); }
.related__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: var(--s5);
}
.related__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line);
  border-left: var(--line);
}
.related__list li { border-right: var(--line); border-bottom: var(--line); }
.related__link {
  display: grid;
  gap: .4rem;
  height: 100%;
  padding: 1rem 1.1rem 1.3rem;
  text-decoration: none;
}
.related__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: .9;
  color: var(--red);
}
.related__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.05;
}
.related__desc { font-size: var(--fs-small); line-height: 1.5; }
.related__link:hover { background: var(--ink); color: var(--paper); }
.related__link:hover .related__num { color: var(--yellow); }

/* Prev / next pager */
.pager {
  display: grid;
  border: var(--line);
  margin-top: var(--s6);
}
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  display: grid;
  gap: .3rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
}
.pager a + a { border-top: var(--line); }
@media (min-width: 700px) {
  .pager a + a { border-top: 0; border-left: var(--line); text-align: right; }
}
.pager__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
}
.pager__title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.05; }
.pager a:hover .pager__label { color: var(--yellow); }

/* 25 GALLERY STRIP --------------------------------------------------------- */
.gallery { border-top: var(--line); padding-top: var(--s4); }
.gallery__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--s4);
}
.gallery__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.05; }
.gallery__nav { display: none; gap: .5rem; }
.js .gallery__nav { display: flex; }
.gallery__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.gallery__btn:hover { background: var(--ink); color: var(--paper); }
.gallery__btn:disabled { opacity: .35; cursor: default; background: var(--paper); color: var(--ink); }
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 30rem);
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
  scrollbar-color: var(--ink) var(--concrete);
}
.gallery__item { scroll-snap-align: start; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--line); }

/* 26 GLOSSARY / LETTER INDEX ---------------------------------------------- */
.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0 0 var(--s6);
  padding: 0;
  border-top: var(--line);
  border-left: var(--line);
}
.letter-nav li { border-right: var(--line); border-bottom: var(--line); }
.letter-nav a,
.letter-nav span {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
}
.letter-nav span { color: var(--grey); background: var(--paper-shade); }
.letter-nav a:hover { background: var(--ink); color: var(--yellow); }
.glossary__group {
  display: grid;
  gap: var(--s4) var(--gutter);
  padding: var(--s5) 0;
  border-top: var(--line);
  scroll-margin-top: var(--s5);
}
@media (min-width: 800px) { .glossary__group { grid-template-columns: 6rem minmax(0, 1fr); } }
.glossary__letter {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .8;
  color: var(--red);
}
.glossary__list { margin: 0; }
.glossary__list dt { font-weight: 700; font-size: 1.1rem; }
.glossary__list dt:not(:first-child) { margin-top: var(--s4); padding-top: var(--s4); border-top: var(--line-hair); }
.glossary__list dd { margin: .3rem 0 0; max-width: var(--measure); line-height: 1.6; }

/* 27 HOME: COVER ----------------------------------------------------------- */
.cover {
  padding-block: clamp(1.4rem, 1rem + 2vw, 3rem) clamp(2rem, 1.5rem + 2.5vw, 4rem);
  border-bottom: var(--bw-heavy) solid var(--rule);
}
.cover__grid { display: grid; gap: var(--s5) var(--gutter); }
.cover__title {
  margin-top: var(--s4);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, .8rem + 5.6vw, 7rem);
  line-height: .9;
  letter-spacing: -.04em;
}
.cover__title > span {
  background: var(--paper);
  padding-right: .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.cover__title .u-red { background: transparent; padding: 0; }
.cover__standfirst { margin-top: var(--s5); }
.cover__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: var(--s5); }
.cover__figure { position: relative; margin: 0; }
.cover__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 66% 50%;
  border: var(--line);
}
.sticker {
  position: absolute;
  top: clamp(-1.2rem, -1vw, -.6rem);
  right: clamp(.6rem, 2vw, 1.8rem);
  z-index: 2;
  display: grid;
  gap: .25rem;
  padding: .7rem .8rem .8rem;
  max-width: 11rem;
  background: var(--yellow);
  border: var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.25;
}
.sticker strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: none;
}
@media (max-width: 599px) {
  .sticker { max-width: 8.6rem; padding: .5rem .6rem .6rem; top: -.7rem; right: .5rem; font-size: .625rem; }
  .sticker strong { font-size: 1.5rem; }
}
.coverlines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line);
}
.coverlines li { border-bottom: var(--line-hair); }
.coverlines a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: .6rem;
  padding: .75rem .2rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
}
.coverlines__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--red);
  padding-top: .1em;
}
.coverlines__cat {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .15rem;
}
.coverlines a:hover { background: var(--ink); color: var(--paper); padding-left: .6rem; }
.coverlines a:hover .coverlines__num { color: var(--yellow); }
@media (min-width: 900px) {
  .cover__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .cover__text { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; padding-top: clamp(.5rem, 3vw, 3rem); }
  .cover__figure { grid-column: 6 / -1; grid-row: 1 / span 2; }
  .cover__figure img { aspect-ratio: 1 / 1; max-height: 860px; }
  .cover__lines { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
  .cover__standfirst { max-width: 30ch; }
  .cover__actions { max-width: calc(100% * 5 / 7); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .cover__standfirst { max-width: 24ch; }
}

/* Section-level photo credit line (for card grids without captions) */
.credits-line {
  margin-top: var(--s5);
  padding-top: .6rem;
  border-top: var(--line-hair);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--ink);
}
.credits-line a { text-decoration-thickness: 1px; }
.section--ink .credits-line { border-top-color: var(--paper); color: var(--paper); }

/* 28 HOME: EDITORIAL + CONTENTS INDEX ------------------------------------- */
.contents { display: grid; gap: var(--s6) var(--gutter); }
.editorial { align-self: start; }
.editorial__title {
  margin-top: var(--s4);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.editorial p { margin-top: var(--s4); line-height: 1.65; }
.editorial__sign {
  margin-top: var(--s5) !important;
  padding-top: .6rem;
  border-top: var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
@media (min-width: 1024px) {
  .contents { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .editorial { grid-column: 1 / span 4; position: sticky; top: var(--s5); }
  .toc { grid-column: 6 / -1; }
}

.toc__group { border-top: var(--bw-heavy) solid var(--rule); }
.toc__group + .toc__group { margin-top: var(--s5); }
.toc__cat {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 0;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-bottom: var(--line);
}
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list li { border-bottom: var(--line-hair); }
.toc__row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: .3rem .9rem;
  align-items: baseline;
  padding: .9rem .3rem;
  text-decoration: none;
  transition: background-color var(--speed), color var(--speed), padding var(--speed);
}
.toc__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: -.03em;
}
.toc__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.9rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.toc__arrow {
  grid-row: span 2;
  align-self: center;
  font-weight: 700;
  font-size: 1.3rem;
}
.toc__desc { grid-column: 2; font-size: var(--fs-small); line-height: 1.45; }
.toc__row:hover { background: var(--ink); color: var(--paper); padding-left: .9rem; }
.toc__row:hover .toc__num { color: var(--yellow); }

/* 29 HOME: FEATURE GRID ---------------------------------------------------- */
.features { display: grid; gap: var(--gutter); }
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .features > :nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .features > :nth-child(2) { grid-column: 8 / -1; grid-row: 1; }
  .features > :nth-child(3) { grid-column: 8 / -1; grid-row: 2; }
  .features > :nth-child(4) { grid-column: 1 / span 5; grid-row: 3; }
  .features > :nth-child(5) { grid-column: 6 / -1; grid-row: 3; flex-direction: row; }
  .features > :nth-child(1) .card__media { flex: 1 1 auto; }
  .features > :nth-child(1) .card__media img { height: 100%; min-height: 26rem; aspect-ratio: auto; }
  .features > :nth-child(2) .card__media img,
  .features > :nth-child(3) .card__media img { aspect-ratio: 16 / 9; }
  .features > :nth-child(5) .card__media { flex: 0 0 48%; border-bottom: 0; border-right: var(--line); }
  .features > :nth-child(5) .card__media img { height: 100%; aspect-ratio: auto; }
}

/* 30 STATS – "Berlin in Zahlen" -------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line);
  border-left: var(--line);
}
@media (min-width: 600px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)) !important; }
.stat {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: clamp(1rem, .8rem + 1vw, 1.6rem);
  border-right: var(--line);
  border-bottom: var(--line);
  background: var(--paper);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3.6vw, 5.4rem);
  line-height: .86;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.stat__value--long { font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.9rem); }
.stat__unit {
  font-size: .38em;
  letter-spacing: 0;
  margin-left: .12em;
  color: var(--red);
}
.stat__label {
  margin-top: .4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.35;
}
.stat__note { font-size: var(--fs-small); line-height: 1.5; }
.stat--yellow { background: var(--yellow); }
.stat--ink { background: var(--ink); color: var(--paper); }
.stat--ink .stat__unit { color: var(--yellow); }
.stat--red { background: var(--red); color: var(--white); }
.stat--red .stat__unit { color: var(--ink); }
.stats__source {
  margin-top: var(--s4);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  max-width: 80ch;
}
.stats--compact .stat__value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }

/* 31 TEASERS --------------------------------------------------------------- */
.teaser-pair { display: grid; gap: var(--gutter); }
@media (min-width: 900px) {
  .teaser-pair { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .teaser-pair > :first-child { grid-column: 1 / span 7; }
  .teaser-pair > :last-child { grid-column: 8 / -1; margin-top: var(--s8); }
}
.teaser {
  position: relative;
  border: var(--line);
  background: var(--paper);
  transition: background-color var(--speed), color var(--speed);
}
.teaser__media { margin: 0; border-bottom: var(--line); overflow: hidden; }
.teaser__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.teaser__body { padding: clamp(1rem, .8rem + 1vw, 1.8rem); display: grid; gap: .8rem; }
.teaser__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem);
  line-height: .96;
  letter-spacing: -.025em;
}
.teaser__title a { text-decoration: none; }
.teaser__title a::after { content: ""; position: absolute; inset: 0; }
.teaser__title a:hover { background: transparent; color: inherit; }
.teaser__title a:focus-visible { outline: none; }
.teaser:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.teaser:hover,
.teaser:focus-within { background: var(--ink); color: var(--paper); }
.teaser:hover .kicker,
.teaser:focus-within .kicker { color: var(--paper); }
.teaser:hover .kicker__num,
.teaser:focus-within .kicker__num { background: var(--yellow); color: var(--ink); }

/* Season strip */
.seasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line);
  border-left: var(--line);
}
.season {
  padding: 1rem 1.1rem 1.2rem;
  border-right: var(--line);
  border-bottom: var(--line);
  background: var(--paper);
}
.season__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.season__months {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.season p { margin-top: .6rem; font-size: var(--fs-small); line-height: 1.5; }
.season--spring { box-shadow: inset 0 8px 0 var(--concrete); }
.season--summer { box-shadow: inset 0 8px 0 var(--yellow); }
.season--autumn { box-shadow: inset 0 8px 0 var(--red); }
.season--winter { box-shadow: inset 0 8px 0 var(--ink); }

/* 32 TIPS & STEPS ---------------------------------------------------------- */
.tips {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tip;
  display: grid;
  gap: 0;
  border-top: var(--line);
}
@media (min-width: 900px) {
  .tips--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); }
}
.tips > li {
  counter-increment: tip;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: var(--line);
}
.tips > li::before {
  content: counter(tip, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-mono);
}
.tips__title { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.tips p { margin-top: .3rem; line-height: 1.55; font-size: var(--fs-small); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 var(--s5) 3.6rem;
  min-height: 3rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.steps > li::after {
  content: "";
  position: absolute;
  left: calc(1.3rem - 1.5px);
  top: 2.6rem;
  bottom: .3rem;
  border-left: var(--line);
}
.steps > li:last-child::after { display: none; }
.steps h3,
.steps__title { font-weight: 700; font-size: var(--fs-h4); line-height: 1.3; font-family: var(--font-body); }

/* Day plan (itineraries) */
.dayplan { border: var(--line); }
.dayplan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1rem;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--paper);
}
.dayplan__day { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.dayplan__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow);
}
.dayplan__slots { list-style: none; margin: 0; padding: 0; }
.dayplan__slot {
  display: grid;
  gap: .3rem 1rem;
  padding: 1rem;
  border-top: var(--line-hair);
}
.dayplan__slot:first-child { border-top: 0; }
@media (min-width: 700px) { .dayplan__slot { grid-template-columns: 9rem minmax(0, 1fr); } }
.dayplan__time {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
}
.dayplan__slot h3,
.dayplan__title { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.dayplan__slot p { margin-top: .3rem; line-height: 1.55; }

/* 33 LEGAL PAGES ----------------------------------------------------------- */
.legal { max-width: var(--measure); counter-reset: legal; padding-block: clamp(2rem, 1.5rem + 2vw, 4rem) var(--s8); }
.legal__updated {
  display: inline-block;
  padding: .45rem .7rem;
  border: var(--line);
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: .04em;
}
.legal > * + * { margin-top: 1em; }
.legal h2 {
  counter-increment: legal;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .6rem;
  align-items: baseline;
  margin-top: 2.2em;
  padding-top: .8rem;
  border-top: var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.9rem);
  line-height: 1.1;
}
.legal h2::before {
  content: counter(legal, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  color: var(--red);
}
.legal h3 { margin-top: 1.6em; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.legal p,
.legal li { line-height: 1.68; }
.legal ul,
.legal ol { padding-left: 1.4em; }
.legal li + li { margin-top: .4em; }
.legal ul { list-style: square; }
.legal ul li::marker { color: var(--red); }
.legal address { font-style: normal; }
.legal .table-wrap { margin-top: 1.4em; }

/* 34 CONTACT FORM ---------------------------------------------------------- */
.form { display: grid; gap: var(--s5); max-width: 44rem; }
.form__row { display: grid; gap: var(--s5); }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: .45rem; }
.form__label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.form__req { color: var(--red); }
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  min-height: 52px;
  padding: .8rem .9rem;
  border: var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
  appearance: none;
}
.form__textarea { min-height: 12rem; resize: vertical; }
.form__input:focus,
.form__textarea:focus,
.form__select:focus { outline: 3px solid var(--red); outline-offset: 2px; box-shadow: var(--shadow); }
.form__input:user-invalid,
.form__textarea:user-invalid { border-color: var(--red); }
.form__hint { font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.form__check { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .8rem; align-items: start; font-size: var(--fs-small); line-height: 1.5; }
.form__check input { width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--ink); }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form__status {
  min-height: 1.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  line-height: 1.5;
}
.form__status.is-error { color: var(--red); font-weight: 700; }
.form__status.is-ok { background: var(--yellow); padding: .6rem .8rem; border: var(--line); }

.contact-card {
  display: grid;
  gap: .6rem;
  padding: clamp(1.2rem, 1rem + 1vw, 2rem);
  border: var(--line);
  background: var(--ink);
  color: var(--paper);
  --focus: var(--yellow);
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--yellow);
}
.contact-card__mail {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .8rem + 1.4vw, 1.9rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  color: var(--paper);
  text-decoration-color: var(--red);
}
.contact-card__mail:hover { background: var(--paper); color: var(--ink); }

/* 35 FOOTER ---------------------------------------------------------------- */
.footer {
  margin-top: 0;
  background: var(--ink);
  color: var(--paper);
  border-top: var(--bw-heavy) solid var(--red);
  --focus: var(--yellow);
}
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { background: var(--paper); color: var(--ink); }
.footer__top {
  display: grid;
  gap: var(--s6) var(--gutter);
  padding-block: var(--s8) var(--s6);
}
.footer__about p { line-height: 1.6; max-width: 36ch; font-size: var(--fs-small); }
.footer__about p + p { margin-top: var(--s4); }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: var(--s4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.footer__brand svg { height: 3.4rem; width: auto; color: var(--paper); }
.footer__mail {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  border-bottom: var(--bw-thin) solid var(--red);
  overflow-wrap: anywhere;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr));
  gap: var(--s5) var(--gutter);
}
.footer__heading {
  display: flex;
  gap: .5rem;
  padding-bottom: .5rem;
  margin-bottom: .6rem;
  border-bottom: var(--bw-thin) solid var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer__heading span { color: var(--yellow); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li + li { margin-top: .15rem; }
.footer__list a {
  display: inline-block;
  padding: .28rem .2rem .28rem 0;
  font-size: var(--fs-small);
  line-height: 1.3;
}
.footer__list a:hover { padding-left: .35rem; }
.footer__wordmark {
  margin: 0;
  padding: 0 var(--pad);
  font-family: var(--font-display);
  font-size: calc((100vw - 2 * var(--pad)) / 10.3);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  user-select: none;
  overflow: hidden;
}
@media (min-width: 1440px) {
  .footer__wordmark { font-size: calc(var(--wrap) / 10.3); }
}
@media (max-width: 599px) {
  .footer__wordmark { -webkit-text-stroke-width: 1px; }
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-block: var(--s5);
  margin-top: var(--s4);
  border-top: var(--bw-thin) solid var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer__base p { margin: 0; }
.footer__top-link::after { content: " \2191"; font-family: var(--font-body); }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / span 3; }
  .footer__cols { grid-column: 5 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 36 COOKIE CONSENT -------------------------------------------------------- */
.consent {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  z-index: 900;
  max-width: 36rem;
  max-height: calc(100vh - 2 * var(--pad));
  overflow-y: auto;
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow-lg);
}
.consent__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem .9rem;
  background: var(--yellow);
  border-bottom: var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.consent__body { padding: 1rem 1.1rem 1.15rem; }
.consent__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.consent__text { margin-top: .6rem; font-size: var(--fs-small); line-height: 1.55; }
.consent__actions {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}
@media (min-width: 520px) {
  .consent__actions { grid-template-columns: repeat(3, auto); justify-content: start; }
}
.consent__actions .btn { min-height: 44px; padding: .6rem .9rem; }
@media (max-width: 519px) {
  .consent__body { padding: .85rem .9rem .95rem; }
  .consent__text { font-size: .875rem; line-height: 1.5; }
  .consent__actions { grid-template-columns: 1fr 1fr; }
  .consent__actions .btn { padding: .55rem .5rem; letter-spacing: .04em; }
  .consent__actions .btn:first-child { grid-column: 1 / -1; }
}

.consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--pad);
  background: rgba(18, 18, 18, .78);
  overflow-y: auto;
}
.consent-dialog__panel {
  width: min(100%, 40rem);
  max-height: calc(100vh - 2 * var(--pad));
  overflow-y: auto;
  background: var(--paper);
  border: var(--line);
  box-shadow: 12px 12px 0 var(--red);
}
.consent-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem .8rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  --focus: var(--yellow);
}
.consent-dialog__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
  line-height: 1;
}
.consent-dialog__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: var(--bw-thin) solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.consent-dialog__close:hover { background: var(--paper); color: var(--ink); }
.consent-dialog__body { padding: 1.1rem; }
.consent-dialog__intro { font-size: var(--fs-small); line-height: 1.55; }
.consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem 1rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1rem;
  border: var(--line);
}
.consent-option__title { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.consent-option__text { grid-column: 1 / -1; font-size: var(--fs-small); line-height: 1.5; }
.consent-option__state {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.consent-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.1rem;
}

/* Square toggle switch */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 58px;
  height: 30px;
  margin: 0;
  cursor: pointer;
}
.switch__track {
  position: relative;
  flex: none;
  width: 58px;
  height: 30px;
  border: var(--line);
  background: var(--paper);
  transition: background-color var(--speed);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--ink);
  transition: transform var(--speed), background-color var(--speed);
}
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(28px); background: var(--yellow); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--red); outline-offset: 3px; }
.switch input:disabled,
.switch input:disabled + .switch__track { cursor: not-allowed; }
.switch input:disabled + .switch__track { background: var(--concrete); border-color: var(--grey); }
.switch input:disabled + .switch__track::after { background: var(--grey); }
.switch input:disabled:checked + .switch__track::after { transform: translateX(28px); }

/* 37 ERROR PAGE (404) ------------------------------------------------------ */
.error-page {
  padding-block: var(--s8);
  background-image: url("../img/svg/raster.svg");
  background-size: 8px 8px;
  border-bottom: var(--line);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 3rem + 22vw, 22rem);
  line-height: .78;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
}
.error-page__code span { color: var(--red); -webkit-text-stroke: 0; }
.error-page__title {
  margin-top: var(--s5);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
}
.error-page__title > span { background: var(--yellow); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.error-page :where(p:not([class])) { margin-top: var(--s4); max-width: 52ch; font-size: var(--fs-lead); line-height: 1.45; }
.error-page__code { margin-top: var(--s4); }
.error-page__links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s6); }

/* 38 MOTION PREFERENCES ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; width: auto; }
  .ticker__viewport { overflow-x: auto; scrollbar-width: none; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .js .ticker__toggle { display: none; }
  .card:hover,
  .card:focus-within { transform: none; }
}

/* 39 PRINT ----------------------------------------------------------------- */
@media print {
  :root { --paper: #FFFFFF; }
  body { background: #FFFFFF; font-size: 11pt; }
  .ticker,
  .masthead__navbar,
  .masthead__meta,
  .skip-link,
  .consent,
  .consent-dialog,
  .gallery__nav,
  .footer__cols,
  .footer__wordmark,
  .article__rail .toc-box,
  .related,
  .pager { display: none !important; }
  .footer { background: #FFFFFF; color: #000000; border-top: 2px solid #000000; }
  .footer a { color: #000000; }
  .article__layout { display: block; }
  .card__media img { filter: none; }
  .photo-break,
  .article__body .photo-break { width: auto; margin-left: 0; }
  .photo-break img,
  .hero-figure img { height: auto; max-height: 10cm; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .facts { background: #FFFFFF; color: #000000; }
  .facts__list dt,
  .facts__note { color: #000000; }
  h1, h2, h3 { break-after: avoid; }
  figure, .facts, .route, .callout { break-inside: avoid; }
}
