/* ══════════════════════════════════════════════════════════════════════════
   oeresundcrossing.com — Seitenschicht über dem Design System „Broadsheet".
   Alle Farben stammen aus den DS-Rampen (styles.css), hier nur unter
   sprechenden Namen. Keine Boxen, keine Trennlinien zwischen Sektionen:
   Weißraum trägt die Struktur. Ausnahme: die Zeitungs-Kopffurniture.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --paper: #ffffff;                       /* Flächen: Rechner, Karten — heller als --color-surface */
  --ink-2: var(--color-neutral-800);      /* Fließtext sekundär   #444141 */
  --ink-3: var(--color-neutral-700);      /* Meta                 #605d5d */
  --ink-4: var(--color-neutral-600);      /* schwach, Platzhalter #7d7979 */
  --line:  var(--color-neutral-300);      /* Tabellen-/Zeilenregel #d7d3d3 */
  --acc-text: var(--color-accent-700);    /* Fließtext-Akzent, Links #006786 */
  --acc-dark: var(--color-accent-800);    /* CTA-Band, Link-Hover    #004961 */
  --acc-light: var(--color-accent-400);   /* Akzent auf dunkel       #62c5ee */
  --inv: var(--color-neutral-100);        /* Invers-Text auf Cyan    #f8f4f4 */
  --ph:  var(--color-neutral-200);        /* Bildplatzhalter         #eae7e7 */
  --shell: 1440px;
  --pad: 48px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--acc-text); text-underline-offset: 3px; }
a:hover { color: var(--acc-dark); }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--color-text); color: var(--color-bg);
  padding: 10px 16px; font-size: 15px; text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--color-bg); }

/* ── Kopf ──────────────────────────────────────────────────────────────── */

.site-head { padding-top: 22px; }
.head-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { flex: none; }
.brand-name {
  font-family: var(--font-heading); font-weight: 600; font-size: 30px;
  line-height: 1; letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--acc-text); margin-top: 3px;
}

.lang { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lang-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4);
}
.lang-grid { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.lang-item a,
.lang-item span {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-decoration: none;
}
.lang-code { font-size: 11px; letter-spacing: 0.08em; color: var(--ink-4); }
.lang-bar { height: 2px; width: 20px; background: transparent; }
.lang-item.is-active .lang-code { color: var(--color-accent); }
.lang-item.is-active .lang-bar { background: var(--color-accent); }
.lang-item a:hover .lang-code { color: var(--acc-dark); }

/* Zeitungsfurniture: dick — Datumsband — dünn */
.rule-thick { height: 4px; background: var(--color-text); margin-top: 20px; }
.rule-thin  { height: 1px; background: var(--color-text); }
.dateline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 7px 0; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3);
}

.site-nav { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 16px; }
.site-nav a {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; color: var(--color-text); text-decoration: none;
  padding-bottom: 8px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--acc-text); }
.site-nav a[aria-current="page"] { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ── Grundraster ───────────────────────────────────────────────────────── */

.site-main { padding-bottom: 40px; }
.page-top { padding-top: 56px; }

.row { display: flex; flex-wrap: wrap; }
.row-gap-72 { gap: 72px; } .row-gap-64 { gap: 64px; } .row-gap-56 { gap: 56px; }
.row-gap-40 { gap: 40px; } .row-gap-32 { gap: 32px; } .row-gap-14 { gap: 14px; }
.row-gap-12 { gap: 12px; }
.row-top { align-items: flex-start; }
.mt-64 { margin-top: 64px; } .mt-72 { margin-top: 72px; } .mt-80 { margin-top: 80px; }
.mt-88 { margin-top: 88px; } .mt-92 { margin-top: 92px; } .mt-56 { margin-top: 56px; }
.mt-34 { margin-top: 34px; } .mt-26 { margin-top: 26px; } .mt-22 { margin-top: 22px; }

.col-620 { flex: 1 1 460px; max-width: 620px; }
.col-560 { flex: 1 1 420px; max-width: 560px; }
.col-520 { flex: 1 1 380px; max-width: 520px; }
.col-440 { flex: 1 1 320px; max-width: 440px; }
.col-400 { flex: 1 1 300px; max-width: 400px; }
.col-480 { flex: 1 1 480px; }
.col-420 { flex: 1 1 420px; }
.col-380 { flex: 1 1 380px; }
.col-340 { flex: 1 1 340px; }
.col-300 { flex: 1 1 300px; }
.col-220 { flex: 1 1 220px; }

/* ── Typografie ────────────────────────────────────────────────────────── */

.kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc-text);
}
.kicker-sm {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc-text);
}
.h-hero {
  font-family: var(--font-heading); font-weight: 600; font-size: 62px; line-height: 1.03;
  letter-spacing: -0.025em; margin: 14px 0 20px; text-wrap: pretty; max-width: 20ch;
}
.h-page {
  font-family: var(--font-heading); font-weight: 600; font-size: 56px; line-height: 1.05;
  letter-spacing: -0.02em; margin: 14px 0 20px; max-width: 20ch; text-wrap: pretty;
}
.h-page.wide { max-width: 22ch; }
.h-40 { font-size: 40px; line-height: 1.1; margin: 12px 0 28px; max-width: 22ch; }
.h-36 { font-size: 36px; line-height: 1.12; margin: 12px 0 16px; }
.h-34 { font-size: 34px; line-height: 1.12; margin: 10px 0 14px; }
.h-32 { font-size: 32px; line-height: 1.12; margin: 20px 0 12px; }
.h-30 { font-size: 30px; line-height: 1.12; margin: 0 0 18px; }
.h-28 { font-size: 28px; line-height: 1.15; margin: 0 0 12px; }
.h-26 { font-size: 26px; line-height: 1.15; margin: 10px 0 12px; }
.h-24 { font-size: 24px; line-height: 1.15; margin: 14px 0 10px; }
.lead {
  font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 24px;
  max-width: 62ch; text-wrap: pretty;
}
.prose { color: var(--ink-2); max-width: 70ch; }
.prose-56 { color: var(--ink-2); max-width: 56ch; }
.prose-18 { font-size: 18px; }
.meta { font-size: 15px; color: var(--ink-3); margin: 0; }
.note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; max-width: 80ch; }
.p-last { margin-bottom: 0; }

/* ── Flächen, Bänder, Karten ───────────────────────────────────────────── */

.surface { background: var(--paper); padding: 30px; }
.surface-lg { background: var(--paper); padding: 34px 34px 30px; }

.cta-band {
  background: var(--acc-text); color: var(--inv); padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band .kicker-sm { color: inherit; opacity: 0.75; }
.cta-title {
  font-family: var(--font-heading); font-weight: 600; font-size: 30px;
  line-height: 1.15; margin-top: 6px;
}
.cta-text { margin: 8px 0 0; font-size: 16px; opacity: 0.88; }
.cta-btn {
  background: var(--inv); color: var(--acc-dark); padding: 14px 26px;
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  text-decoration: none; border-radius: var(--radius-md); white-space: nowrap;
}
.cta-btn:hover { background: #fff; color: var(--color-accent-900); }
.cta-btn-outline {
  border: 1px solid var(--inv); color: var(--inv); background: transparent;
}
.cta-btn-outline:hover { background: color-mix(in srgb, #f8f4f4 14%, transparent); color: var(--inv); }

.stat-caption { margin: 16px 0 0; color: var(--ink-2); }

.status-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }
.status-list-lg .status-row { padding: 16px 0; }
.status-ok { color: var(--acc-text); }
.status-live { color: var(--ink-3); }

/* ── Fotografien ───────────────────────────────────────────────────────────
   Bilder drucken auf Papier, nicht auf Bildschirm: die Aufnahme liegt unter
   einem feinen Rasterpunkt-Screen und leicht entsättigt, wie ein Zeitungs-
   bild. Zeigt der Besucher darauf, löst sich der Druck in die Fotografie auf
   — der Blick auf die Andruckplatte am Leuchttisch. Ohne feinen Zeiger
   (Touch) entfällt das, dort steht das Bild von vornherein etwas klarer. */
.photo { margin: 0; }
.photo-frame {
  position: relative; overflow: hidden; background: var(--ph);
  width: 100%; display: block;
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-plate img {
  filter: grayscale(0.18) contrast(1.06) saturate(0.94);
  transition: filter 260ms ease;
}
.photo-plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.16) 30%, transparent 32%);
  background-size: 3px 3px; mix-blend-mode: multiply;
  opacity: 0.75; transition: opacity 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .photo-plate:hover img { filter: none; }
  .photo-plate:hover::after { opacity: 0; }
}
@media (hover: none), (pointer: coarse) {
  .photo-plate img { filter: grayscale(0.08) contrast(1.03); }
  .photo-plate::after { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-plate img, .photo-plate::after { transition: none; }
}
/* .halftone (broadsheet.css) trägt Raster und Entsättigung selbst — hier nur
   der Rahmen, sonst läge der Screen doppelt auf. */

.photo-cap {
  margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-3);
}
.photo-caption { color: var(--ink-2); }
.photo-credit { color: var(--ink-4); }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit a:hover { color: var(--acc-text); }
.photo-wide { max-width: 1100px; }
.photo-fig { max-width: 900px; }

/* ── Mautrechner ───────────────────────────────────────────────────────── */

.calc-title {
  font-family: var(--font-heading); font-weight: 600; font-size: 30px;
  line-height: 1.1; margin: 0 0 22px;
}
.calc-fields { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field-veh { flex: 1 1 250px; }
.calc-field-trips { flex: 0 1 170px; }
.calc-label {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.calc-cols { display: flex; gap: 26px; flex-wrap: wrap; padding-bottom: 22px; }
.calc-col { flex: 1 1 120px; }
.calc-col-head {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.calc-col-head.is-go { color: var(--acc-text); }
.calc-sum { font-family: var(--font-heading); font-weight: 600; font-size: 26px; }
.calc-per { font-size: 13px; color: var(--ink-4); }
.calc-best {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap;
}
.calc-best-label {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.calc-best-num {
  --cmyk-num-ground: var(--paper);
  font-family: var(--font-heading); font-weight: 600; font-size: 58px;
}
.calc-best-num .paper { color: var(--paper); text-shadow: 0.036em 0.025em 0 var(--paper), -0.031em -0.023em 0 var(--paper); }
.calc-advice { margin: 0; font-size: 15px; color: var(--ink-2); flex: 1 1 200px; }

.calc-compact .calc-field { margin-bottom: 0; }
.calc-compact-fields { display: flex; flex-direction: column; gap: 16px; }
.calc-compact-out { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-compact-row { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; }
.calc-compact-row.is-go { color: var(--acc-text); }
.calc-compact-row b { font-family: var(--font-heading); font-weight: 600; }
.calc-compact .calc-advice { margin-top: 16px; }
.calc-dkk { font-size: 13px; color: var(--ink-4); }

/* ── Partner-Einbindungen (Klick zum Laden) ────────────────────────────── */

.embed { max-width: 1000px; }
.embed-ph {
  background: var(--paper); padding: 34px 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-height: 240px; justify-content: center;
}
.embed-ph-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 22px; line-height: 1.2; margin: 0;
}
.embed-ph-text { margin: 0; color: var(--ink-2); max-width: 62ch; font-size: 16px; }
.embed-note { margin: 4px 0 0; font-size: 13px; color: var(--ink-4); max-width: 70ch; }
.embed-frame { width: 100%; height: 620px; border: 0; display: block; background: var(--ph); }
@media (max-width: 720px) {
  .embed-ph { padding: 22px; min-height: 0; }
  .embed-frame { height: 520px; }
}

/* ── Zeitleiste ────────────────────────────────────────────────────────── */

.timeline { display: flex; flex-direction: column; gap: 44px; max-width: 900px; }
.timeline-item { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.timeline-year {
  font-family: var(--font-heading); font-weight: 600; font-size: 54px; flex: 0 0 190px;
}
.timeline-body { flex: 1 1 380px; }
.timeline-body h3 { font-size: 26px; margin: 0 0 8px; }
.timeline-body p { margin: 0; color: var(--ink-2); }

/* ── Beiträge ──────────────────────────────────────────────────────────── */

.post-list { display: flex; flex-direction: column; gap: 40px; max-width: 900px; }
.post { display: flex; gap: 32px; flex-wrap: wrap; }
.post-meta {
  flex: 0 0 200px; font-size: 14px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-4);
}
.post-body { flex: 1 1 420px; }
.post-body h2 { font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
.post-body p { margin: 0; color: var(--ink-2); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.faq-item summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.15;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--acc-text); margin-left: 10px; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--acc-text); }
.faq-item p { margin: 8px 0 0; color: var(--ink-2); }

/* ── Abschnittswähler Route ────────────────────────────────────────────── */

.spot-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.spot-nav .btn[aria-selected="true"] {
  border-color: var(--color-accent); color: var(--acc-text);
}
.spot-panel { margin-top: 34px; max-width: 70ch; }
.spot-panel[hidden] { display: none; }
.spot-panel p.spot-text { margin: 0 0 12px; color: var(--ink-2); font-size: 18px; }

/* ── Tabellen ──────────────────────────────────────────────────────────── */

.table-900 { max-width: 900px; }
.table-1000 { max-width: 1000px; }
.table td { color: var(--ink-2); }
.table td:first-child { color: var(--color-text); }

/* ── Fuß ───────────────────────────────────────────────────────────────── */

.site-foot { padding: 64px 0 72px; }
.foot-inner { display: flex; gap: 56px; flex-wrap: wrap; justify-content: space-between; margin-top: 28px; }
.foot-brand { flex: 0 1 320px; }
.foot-brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.foot-brand-name span { color: var(--acc-text); }
.foot-brand p { margin: 10px 0 0; font-size: 15px; color: var(--ink-3); }
.foot-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-col-head {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4);
}
.foot-col a { font-size: 16px; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }

/* ── SVG-Grafiken ──────────────────────────────────────────────────────── */

.figure-svg { width: 100%; height: auto; }
.figure-svg text { font-family: var(--font-body); }

/* ── Mobil ─────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  :root { --pad: 32px; }
  .h-hero { font-size: 48px; }
  .h-page { font-size: 44px; }
  .h-40 { font-size: 34px; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  .h-hero { font-size: 36px; letter-spacing: -0.02em; }
  .h-page { font-size: 32px; }
  .h-40 { font-size: 28px; }
  .h-36, .h-34, .h-32 { font-size: 26px; }
  .h-30, .h-28 { font-size: 24px; }
  .h-26, .h-24 { font-size: 21px; }
  .lead { font-size: 18px; }
  body { font-size: 16px; }

  .page-top { padding-top: 34px; }
  .mt-92, .mt-88, .mt-80, .mt-72 { margin-top: 56px; }
  .mt-64, .mt-56 { margin-top: 44px; }
  .row-gap-72, .row-gap-64, .row-gap-56 { gap: 40px; }

  .head-top { gap: 16px; align-items: center; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 11px; letter-spacing: 0.28em; }
  .brand-mark { width: 40px; height: 40px; }

  /* Flaggen: volle Breite als eigene Zeile, notfalls quer scrollbar —
     das Raster selbst bleibt sichtbar, kein aufklappbares Menü */
  .lang { flex: 1 1 100%; align-items: flex-start; gap: 6px; }
  .lang-label { font-size: 11px; }
  .lang-grid {
    gap: 12px; width: 100%; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .lang-grid::-webkit-scrollbar { display: none; }
  .lang-item { flex: none; }

  /* Navigation als horizontal scrollbare Leiste */
  .site-nav {
    flex-wrap: nowrap; overflow-x: auto; gap: 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: 16px; }

  .dateline { gap: 4px; font-size: 11px; }
  .dateline span:nth-child(2) { order: 3; }

  .surface, .surface-lg { padding: 22px; }
  .cta-band { padding: 26px 22px; }
  .cta-title { font-size: 24px; }
  .cta-btn { font-size: 16px; padding: 12px 20px; }
  .calc-best-num { font-size: 44px; }
  .timeline-item { gap: 12px; }
  .timeline-year { font-size: 42px; flex: 0 0 100%; }
  .post { gap: 8px; }
  .post-meta { flex: 0 0 100%; }
  .site-foot { padding: 44px 0 52px; }
  .foot-cols { gap: 32px; }

  /* Tabellen: eigener Scrollbereich, die Seite selbst scrollt nie quer */
  .table-scroll { overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .table-scroll .table { min-width: 620px; }
}

@media print {
  .site-nav, .lang, .cta-band, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
