/* ==========================================================================
   Verlagshaus Fachzeitungen Teegen – gemeinsame Gestaltung aller Seiten
   Aufbau: Richtung 1 „Das Verlagshaus“, Farben: Richtung 2 „Hanseatisches Blau“
   ========================================================================== */

/* Schriften: lokal, nichts von fremden Servern */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0e1f3f;     /* Nachtblau: Überschriften, Knöpfe, Fuß */
  --night-2: #162c55;
  --blue: #2a5aa8;      /* Wappenblau: Links */
  --sky: #e9eef4;       /* Eisblau: abgesetzte Bänder */
  --ice: #f5f8fb;
  --ink: #0e1f3f;
  --text: #24324d;
  --muted: #55627a;
  --line: #d6deea;
  --red: #d2382f;       /* Akzent: kurze Linien, Punkte */
  --red-text: #a8241d;  /* Rot für Schrift und Hover: 7,2:1 auf Weiß, 6,1:1 auf Hellblau */
  --foot: #c5d0e3;
  --paper: #ffffff;
  --wrap: 1120px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --head-h: 76px;
  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 1.5rem);
}
@media (pointer: fine) { html { overscroll-behavior: none; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--text);
  background: var(--paper);
  -webkit-tap-highlight-color: rgba(42, 90, 168, .15);
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
/* <source> hat im Browser keine eigene display-Regel. Ohne diese Zeile wird jede <source>
   in einem Raster zur leeren Zelle und schiebt das Bild eine Spalte weiter. */
picture > source { display: none; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-text); }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; color: var(--ink); }
h1, h2, h3, [id] { scroll-margin-top: calc(var(--head-h) + 1.5rem); }
p { text-wrap: pretty; margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
address { font-style: normal; }
.num, time { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--night); color: #fff; padding: .85rem 1.1rem; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 1rem; color: #fff; }

/* ==========================================================================
   Kopf
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14, 31, 63, .02), 0 6px 18px -14px rgba(14, 31, 63, .25);
}
@supports (backdrop-filter: blur(8px)) {
  .site-head { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); }
}
.site-head .wrap {
  width: min(100% - 2 * var(--gap), 1240px);
  display: flex; align-items: center; gap: 2rem; min-height: var(--head-h);
}
.brand {
  display: flex; align-items: center; gap: .85rem; flex-shrink: 0;
  text-decoration: none; color: var(--ink); min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 51px; }
.brand span { font-size: .8rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand strong { display: block; font-weight: 600; letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover { color: var(--red-text); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }

.head-contact {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: .85rem; line-height: 1.3; flex-shrink: 0;
}
.head-contact a { color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; padding: .1rem 0; }
.head-contact a:first-child { font-weight: 600; font-size: 1rem; }
.head-contact a:hover { color: var(--red-text); }

.menu-btn { display: none; }

/* ==========================================================================
   Knöpfe
   ========================================================================== */
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-align: center; text-decoration: none;
  border: 1.5px solid var(--night);
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--night); color: #fff; }
.btn-solid:hover { background: var(--red-text); border-color: var(--red-text); color: #fff; }
.btn-line { color: var(--night); background: transparent; }
.btn-line:hover { background: var(--night); color: #fff; }
.btn svg { width: 1em; height: 1em; flex-shrink: 0; }
.btn .short { display: none; }

/* Link mit Pfeil */
.more {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-weight: 500; color: var(--blue); text-decoration: none;
}
.more::after { content: "→"; content: "→" / ""; transition: transform .2s; }
.more:hover { color: var(--red-text); }
.more:hover::after { transform: translateX(3px); }
.more.ext::after { content: "↗"; content: "↗" / ""; }

/* ==========================================================================
   Kopfbereiche
   ========================================================================== */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero .crest { width: 72px; height: 91px; margin: 0 0 1.75rem; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em;
  max-width: 19ch;
}
.hero p { max-width: 36rem; margin: 1.5rem 0 0; font-size: 1.15rem; color: var(--muted); }
.hero .actions { margin-top: 2rem; }

/* Drei Titelseiten im Kopf der Startseite */
.hero-covers { display: block; color: var(--blue); text-decoration: none; }
.hc-stack { position: relative; display: block; aspect-ratio: 1 / .96; }
.hc-stack img {
  position: absolute; width: 58%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 31, 63, .08), 0 3px 6px rgba(14, 31, 63, .1), 0 24px 40px -22px rgba(14, 31, 63, .55);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.hc-stack picture:nth-child(1) img { left: 0; top: 0; }
.hc-stack picture:nth-child(2) img { left: 21%; top: 6%; }
.hc-stack picture:nth-child(3) img { left: 42%; top: 12%; }
.hero-covers:hover .hc-stack picture:nth-child(1) img { transform: translateX(-8px); }
.hero-covers:hover .hc-stack picture:nth-child(3) img { transform: translateX(8px); }
.hc-cap { display: flex; justify-content: flex-end; align-items: center; gap: .45rem; min-height: 44px; margin-top: .75rem; font-weight: 500; }
.hc-cap::after { content: "→"; content: "→" / ""; transition: transform .2s; }
.hero-covers:hover .hc-cap { color: var(--red-text); }
.hero-covers:hover .hc-cap::after { transform: translateX(3px); }

.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em;
  max-width: 20ch;
}
.page-head .lead { margin-top: 1.5rem; color: var(--muted); }
.page-head .label { margin-bottom: 1.5rem; }

.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: clamp(280px, 48vw, 620px); object-fit: cover; }
.hero-photo.short img { height: clamp(220px, 36vw, 480px); }

/* ==========================================================================
   Abschnitte und Typografie
   ========================================================================== */
.band { padding: clamp(4rem, 9vw, 7rem) 0; }
.band.sky { background: var(--sky); }
.band.ice { background: var(--ice); }
.band.tight { padding-top: 0; }

.label {
  display: inline-block; position: relative;
  font: 500 clamp(1.05rem, 1.6vw, 1.3rem)/1.3 var(--sans);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  padding-bottom: .45rem; margin-bottom: 2rem;
}
.label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2rem; height: 2px; background: var(--red); }
.center .label::after, .label.center::after { left: 50%; transform: translateX(-50%); }

.statement {
  font: 400 clamp(1.55rem, 3vw, 2.3rem)/1.3 var(--sans);
  color: var(--ink); max-width: 26ch; letter-spacing: .01em; text-wrap: balance;
}
.lead { max-width: 40rem; font-size: 1.15rem; margin-top: 1.5rem; }
.lead:first-child { margin-top: 0; }
.muted { color: var(--muted); }

.h3 {
  font: 500 1.15rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); margin: 2.5rem 0 1rem;
}
.h3:first-child { margin-top: 0; }

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1rem; }
.prose p { margin: 0; }
.prose h2 { font: 500 clamp(1.4rem, 2.4vw, 1.75rem)/1.25 var(--serif); margin-top: 3rem; }
.prose h3 { font: 600 1.1rem/1.35 var(--sans); margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose address { line-height: 1.7; }

/* ==========================================================================
   Bausteine
   ========================================================================== */

/* Zahlen */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; border-top: 1px solid var(--line); margin: 3rem 0 0; }
.facts div { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd {
  margin: .35rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink); font-variant-numeric: tabular-nums lining-nums; line-height: 1.15;
}
.facts dd small { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: .3rem; line-height: 1.45; }

/* Aufgabenbereiche (Über uns) */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
.areas li { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); position: relative; }
.areas li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2rem; height: 2px; background: var(--red); }
.areas h3 { font: 500 1.15rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.areas p { margin: .75rem 0 0; flex: 1; }
.areas .more { margin-top: .75rem; }

/* Heftseite mit Anzeigenformaten (Anzeige schalten) */
.page-figure { background: var(--sky); padding: clamp(1.75rem, 4vw, 3rem); }
.page-figure svg {
  display: block; width: min(100%, 340px); height: auto; margin-inline: auto; background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 31, 63, .06), 0 3px 6px rgba(14, 31, 63, .08), 0 24px 40px -24px rgba(14, 31, 63, .5);
}
.page-figure text { font-family: var(--sans); }
.page-figure figcaption { text-align: center; margin-top: 1.25rem; }

/* Heft-Cover (Startseite) */
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; list-style: none; padding: 0; }
.covers li { min-width: 0; }
.covers a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.covers img, .mag-cover {
  width: 100%; aspect-ratio: 210 / 297; object-fit: cover; background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 31, 63, .08), 0 2px 4px rgba(14, 31, 63, .08), 0 14px 28px -16px rgba(14, 31, 63, .45);
}
.covers img { margin-bottom: 1rem; transition: transform .3s ease, box-shadow .3s ease; }
.covers a:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(14, 31, 63, .1), 0 4px 8px rgba(14, 31, 63, .1), 0 22px 36px -18px rgba(14, 31, 63, .55); }
.cv-region { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.covers strong { display: block; font-weight: 500; font-size: 1.08rem; line-height: 1.3; color: var(--ink); margin: .2rem 0 .3rem; transition: color .2s; }
.covers a:hover strong { color: var(--red-text); }
.covers .num, .covers .freq { display: block; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.cv-cta a {
  justify-content: flex-end; width: 100%; height: auto; aspect-ratio: 210 / 297; padding: 1.4rem;
  background: var(--night); color: var(--foot); transition: background-color .2s;
}
.cv-cta a:hover { background: var(--night-2); }
.cv-cta .cv-region { color: var(--foot); }
.cv-cta strong { font: 500 clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--serif); color: #fff; margin: .4rem 0 .6rem; }
.cv-cta a:hover strong { color: #fff; }
.cv-cta strong::after { content: " ↓"; content: " ↓" / ""; font-family: var(--sans); font-size: .8em; color: var(--red); }
.cv-cta :focus-visible, .cv-cta a:focus-visible { outline-color: var(--blue); }
.titles-sum { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; font-size: .95rem; color: var(--muted); }
.titles-sum b { color: var(--ink); font-weight: 600; }

/* Zweispalter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split > * { min-width: 0; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split figure.wide img { aspect-ratio: 4 / 3; }
.split.flip figure { order: 2; }
.split.top { align-items: start; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

/* Schlagwörter */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.75rem 0 0; list-style: none; }
.tags li { border: 1px solid var(--line); padding: .35rem .8rem; font-size: .92rem; background: #fff; color: var(--ink); }

/* Leser-Zeile */
.reader {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0;
}
.reader p { margin: 0; max-width: 46rem; }
.titles-sum + .reader { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.reader b { font-weight: 600; color: var(--ink); }

/* Kontaktblock „Direkt mit dem Chef“ */
.chef { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.chef > * { min-width: 0; }
.chef figure { margin: 0; }
.chef img { width: 300px; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; }
.chef figcaption { font-size: .95rem; color: var(--muted); margin-top: .75rem; }
.chef figcaption b { color: var(--ink); font-weight: 600; }
.phone {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.5rem;
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15;
  color: var(--ink); text-decoration: none; font-variant-numeric: lining-nums tabular-nums;
}
.phone:hover { color: var(--red-text); }
.mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.15rem; }
.contact-lines { display: flex; flex-direction: column; align-items: flex-start; }

/* Sprungmarken */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem;
  border: 1px solid #8794ab; background: #fff; color: var(--ink); text-decoration: none; font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.jump a:hover { border-color: var(--red-text); color: var(--red-text); }

/* Zeitschriften-Blöcke */
.mags { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.mag {
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line);
}
.mag > * { min-width: 0; }
.mag-region { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; }
.mag h3 { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--serif); }
.mag-sub { margin: .6rem 0 0; color: var(--muted); }
.mag .more { margin-top: 1rem; }

/* Zeitschrift mit Cover */
.mag.has-cover { grid-template-columns: 170px 1fr 1.25fr; }
.mag-cover { width: 170px; height: auto; }
.wrap.mag.has-cover { grid-template-columns: 220px 1fr 1.15fr; align-items: start; }
.wrap.mag .mag-cover { width: 220px; }
.pos-low img { object-position: 50% 62%; }
.mag .spec div { grid-template-columns: 8.5rem 1fr; }

/* Angaben als Zeilen */
.spec { margin: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: .95rem; }
.spec dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.spec dd small { display: block; color: var(--muted); font-size: .9rem; }
.spec-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 5rem); border-top: 0; }
.spec-2 div:nth-child(-n+2) { border-top: 1px solid var(--line); }
.beilagen { margin-top: clamp(3.5rem, 7vw, 5rem); align-items: start; }
.beilagen .label { margin-bottom: 1.25rem; }

/* Kontaktseite: am Desktop Foto links, auf dem Handy erst Überschrift und Nummer */
.contact-head figure { order: -1; }
.statement .line { display: block; }

/* Tabellen */
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 1.5rem; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
caption { text-align: left; font: 500 1rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding-bottom: .9rem; }
caption small { display: block; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: .92rem; }
th, td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
thead th { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
td.r, th.r { text-align: right; padding-right: 2rem; padding-left: 1rem; }
td.r:last-child, th.r:last-child { padding-right: 0; }
td.r { white-space: nowrap; color: var(--ink); }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 1rem; }
.tables > * { min-width: 0; }
tfoot th, tfoot td { font-weight: 600; color: var(--ink); border-bottom: 0; border-top: 1px solid var(--ink); }
table.stack tbody th a { color: var(--ink); text-decoration: none; font-weight: 500; }
table.stack tbody th a:hover { color: var(--red-text); }
table.stack tbody th { white-space: normal; }
.md-cols { margin-top: clamp(2.5rem, 5vw, 4rem); }
.md-download { background: var(--sky); padding: clamp(1.5rem, 3vw, 2.25rem); }
.md-download .btn { margin-top: .5rem; }
.btn-meta { font-size: .8em; font-weight: 400; opacity: .8; }
.note { font-size: .95rem; color: var(--muted); margin-top: 1.25rem; max-width: 44rem; }

/* Rabatt-Stufen */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.steps li { background: #fff; min-width: 0; padding: 1.6rem 1.5rem; border-top: 2px solid var(--night); box-shadow: 0 1px 2px rgba(14, 31, 63, .05); }
.steps b { display: block; font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.steps span { display: block; margin-top: .5rem; color: var(--muted); }

/* Abstände zwischen Bausteinen */
.lead + .spec, .lead + .steps, .statement + .spec { margin-top: 1.75rem; }
.spec + .lead { margin-top: 1.75rem; }
p + .more, .spec + .more, .tags + .more { margin-top: 1rem; }
.titles-sum p { margin: 0; }
.hero-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: .75rem; margin-inline: auto; }

/* Messejournale: Titel als h2 */
.mag h2, .mag-text h2 { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--serif); }
.mag-text .lead { margin-top: 1rem; }
.wrap.mag { padding: 0; border-bottom: 0; }

/* Zwei Spalten mit Text */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.cols > * { min-width: 0; }

/* Zeitstrahl (Über uns)
   Desktop: waagerecht zum Blättern, die rote Linie wächst mit.
   Handy: senkrecht, die Linie füllt sich beim Scrollen.
   Ohne JavaScript: alles sichtbar, Linie voll. */
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.tl-intro { display: flex; align-items: flex-start; gap: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.tl-intro .crest { width: 72px; height: 91px; flex-shrink: 0; }
.tl-intro .statement { max-width: 30ch; }
.tl-nav { display: none; gap: .5rem; flex-shrink: 0; }
.js .tl-nav { display: flex; }
.tl-nav button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: #fff; color: var(--night); border: 1.5px solid var(--night);
  transition: background-color .2s, color .2s, opacity .2s;
}
.tl-nav button:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--night); color: #fff; }
.tl-nav button:disabled, .tl-nav button[aria-disabled="true"] { opacity: .3; cursor: default; }

.tl-outer { position: relative; }
.tl-outer::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 1rem; width: 5rem; pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
  transition: opacity .3s;
}
.tl-outer.at-end::after { opacity: 0; }
.tl-scroll {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: .5rem 0 1.5rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.tl-scroll:focus-visible { outline-offset: 4px; }
.tl-scroll.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
@media (pointer: fine) { .js .tl-scroll { cursor: grab; } }

.tl { --dot: 20px; --p: 1; position: relative; display: flex; width: max-content; list-style: none; padding: 0; margin: 0; }
.tl::before, .tl::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--dot) / 2 - 1px); height: 2px; background: var(--line);
}
.tl::before, .tl::after { right: calc(17.5rem - var(--dot)); }
.tl::after { background: var(--red); transform-origin: left center; transform: scaleX(var(--p)); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.tl li { position: relative; z-index: 1; width: 17.5rem; padding: calc(var(--dot) + 1.4rem) 2.25rem 0 0; scroll-snap-align: start; }
.tl li::before {
  content: ""; position: absolute; left: 0; top: 0; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: #fff; border: 2px solid var(--red); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--red);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.js .tl li:not(.is-reached)::before { border-color: var(--line); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #fff; }
.js .tl li.is-current::before { transform: scale(1.2); }
.tl time { display: block; font: 500 clamp(1.7rem, 2.6vw, 2.1rem)/1 var(--serif); color: var(--ink); transition: color .3s; }
.js .tl li:not(.is-reached) time { color: var(--muted); }
.tl h3 { font: 600 1.02rem/1.35 var(--sans); color: var(--ink); margin: .7rem 0 .45rem; letter-spacing: .01em; }
.tl p { margin: 0; font-size: .95rem; line-height: 1.6; }

/* Adresse auf der Kontaktseite */
.addr { font-size: 1.1rem; line-height: 1.7; color: var(--ink); }

/* ==========================================================================
   Fuß
   ========================================================================== */
.site-foot { background: var(--night); color: var(--foot); padding: 4rem 0 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
.site-foot h2 { font: 500 1.15rem/1.3 var(--sans); color: #fff; margin-bottom: 1rem; }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 32px; }
.site-foot a { color: var(--foot); text-decoration: none; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; transition: color .2s; }
.site-foot a:hover { color: #fff; }
.site-foot address { line-height: 1.75; }
.site-foot address strong { color: #fff; font-weight: 500; }
.site-foot address a { text-transform: none; font-size: .95rem; letter-spacing: 0; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.site-foot address a:hover { text-decoration-color: var(--red); }
.site-foot :focus-visible, .callbar :focus-visible { outline-color: #fff; }
.foot-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  border-top: 1px solid rgba(197, 208, 227, .2); margin-top: 3rem; padding-top: 1.25rem; font-size: .8rem;
}
.foot-legal a { text-transform: none; font-size: .85rem; display: inline-flex; align-items: center; min-height: 32px; }
.foot-legal span { color: #9aa8c2; }

/* Handy-Leiste */
.callbar { display: none; }

/* ==========================================================================
   Breiten
   ========================================================================== */
@media (max-width: 1240px) {
  .site-head .wrap { gap: 1.25rem; }
  .nav ul { gap: 1rem; }
}

/* Ab hier: Menü-Knopf statt Navigation, Kontaktleiste unten */
@media (max-width: 1000px) {
  .head-contact { display: none; }
  /* Ohne JavaScript: Navigation einfach unter dem Logo umbrechen */
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; }
  .brand span { display: block; }
  .nav { width: 100%; margin-left: 0; }
  .nav ul { flex-wrap: wrap; gap: 0 1.25rem; padding-bottom: .5rem; }

  /* Mit JavaScript: aufklappbares Menü */
  .js .site-head .wrap { flex-wrap: nowrap; }
  .js .nav { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: .55rem; margin-left: auto;
    min-height: 44px; padding: 0 1rem; cursor: pointer;
    background: #fff; border: 1px solid var(--line); color: var(--ink);
    font: 500 1rem/1 var(--sans); transition: border-color .2s, color .2s;
  }
  .js .menu-btn:hover { border-color: var(--night); }
  .menu-btn svg { width: 18px; height: 18px; }
  .menu-btn .i-close { display: none; }
  .site-head.open .menu-btn .i-close { display: block; }
  .site-head.open .menu-btn .i-open { display: none; }
  .js .site-head.open .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(14, 31, 63, .45);
    max-height: calc(100dvh - var(--head-h) - 56px - env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .js .site-head.open .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gap) 1.25rem; }
  .js .site-head.open .nav a { display: flex; min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  /* Aktuelle Seite: nicht nur farbig, sondern mit Balken links und fetter Schrift */
  .js .site-head.open .nav a[aria-current="page"] { color: var(--red-text); font-weight: 600; border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--red-text); padding-left: .85rem; }

  /* Einzeln stehende Links: Daumenfläche mindestens 44 px, ohne das Layout zu verschieben */
  .spec dd > a, table.stack tbody th a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  html { scroll-padding-bottom: 72px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--night); padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
    box-shadow: 0 -8px 20px -12px rgba(14, 31, 63, .5);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px;
    color: #fff; text-decoration: none; font-weight: 500; transition: background-color .2s;
  }
  .callbar a:hover, .callbar a:active { background: var(--night-2); color: #fff; }
  .callbar a + a { border-left: 1px solid rgba(255, 255, 255, .25); }
  .callbar svg { width: 18px; height: 18px; }
  .callbar :focus-visible { outline-offset: -4px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-covers { width: min(100%, 440px); }
  .covers { grid-template-columns: repeat(3, 1fr); }
  .spec-2 { grid-template-columns: 1fr; }
  .spec-2 div:nth-child(2) { border-top: 0; }
  .contact-head figure { order: 0; }
  .site-foot li a, .foot-legal a { min-height: 44px; }
  .site-foot address a { display: inline-flex; align-items: center; min-height: 44px; }
  .mag.has-cover, .wrap.mag.has-cover { grid-template-columns: 130px 1fr; column-gap: 1.5rem; }
  .mag-cover, .wrap.mag .mag-cover { width: 130px; }
  .mag.has-cover .spec { grid-column: 1 / -1; }
  /* Mediadaten-Tabelle: auf schmalen Bildschirmen als Karten */
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tfoot { display: block; }
  table.stack tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  table.stack th, table.stack td { display: block; border: 0; padding: .15rem 0; text-align: left; }
  table.stack th { grid-column: 1 / -1; font-size: 1.05rem; padding-bottom: .4rem; }
  table.stack td::before { content: attr(data-label); display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  table.stack td[aria-hidden] { display: none; }
  table.stack tfoot tr { border-top: 1px solid var(--ink); border-bottom: 0; }
  table.stack tfoot th, table.stack tfoot td { border-top: 0; }
  .split, .chef, .reader, .mag, .cols, .tables, .areas { grid-template-columns: 1fr; }
  .split.flip figure { order: 0; }
  .split figure img { aspect-ratio: 4 / 3; max-height: 70vh; }
  .chef img { width: 220px; }
  /* Zeitstrahl senkrecht */
  .js .tl-nav { display: none; }
  .tl-outer::after { display: none; }
  .tl-scroll { overflow: visible; scroll-snap-type: none; padding: 0; }
  .js .tl-scroll { cursor: auto; }
  .tl { display: block; width: auto; }
  .tl::before, .tl::after { left: calc(var(--dot) / 2 - 1px); right: auto; top: .4rem; bottom: 0; width: 2px; height: auto; }
  .tl::after { transform-origin: center top; transform: scaleY(var(--p)); transition-duration: .2s; }
  .tl li { width: auto; padding: 0 0 2.25rem calc(var(--dot) + 1.4rem); }
  .tl li:last-child { padding-bottom: 0; }
  .tl li::before { top: .4rem; }
  .tl h3 { margin-top: .5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  /* Lange deutsche Wörter in schmalen Spalten trennen statt überlaufen; Namen nie trennen */
  p, li, dd, td, figcaption { hyphens: auto; -webkit-hyphens: auto; }
  [translate="no"], .covers strong, .btn, .nowrap { hyphens: manual; -webkit-hyphens: manual; }
  .titles-sum .sep { display: none; }
  .titles-sum .sum-2 { display: block; }
  /* Kleine Beschriftungen auf mindestens 13 px */
  .cv-region, .mag-region, .facts dt, thead th, .btn-meta, .foot-legal, .foot-legal a, .foot-legal span { font-size: .8125rem; }
  table.stack td::before { font-size: .8125rem; }
  .brand span { font-size: .75rem; letter-spacing: .05em; }
  /* Tabellen passen ohne seitliches Scrollen auf schmale Bildschirme */
  th, td { padding-right: .6rem; }
  td.r, th.r { padding-left: .4rem; padding-right: .6rem; }
  td.r:last-child, th.r:last-child { padding-right: 0; }
  td, tbody th { font-size: .95rem; }
  .facts, .steps { grid-template-columns: 1fr; }
  .covers { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .covers strong { font-size: 1rem; }
  .cv-cta a { padding: 1rem; }
  /* Titelseite links, Text fließt darum herum und nutzt die volle Breite */
  .mag.has-cover, .wrap.mag.has-cover { display: block; }
  .mag-cover, .wrap.mag .mag-cover { width: 96px; float: left; margin: .3rem 1.1rem .75rem 0; }
  .mag.has-cover .spec { clear: both; padding-top: 0; }
  .mag.has-cover > div { margin-bottom: 1.5rem; }
  .mag .spec div { grid-template-columns: 1fr; }
  .hero .crest { width: 56px; height: 71px; margin-bottom: 1.25rem; }
  .actions .btn { width: 100%; }
  .spec div { grid-template-columns: 1fr; gap: .1rem; }
  .tl-intro .crest { width: 52px; height: 66px; }
  .foot-grid { grid-template-columns: 1fr; }
  .reader .btn { width: 100%; }
}

@media (max-width: 400px) {
  /* Anruf-Knopf in einer Zeile: kurzer Text */
  .btn .long { display: none; }
  .btn .short { display: inline; }
  /* Maße-Tabelle auf schmalen Handys als Karten */
  table.stack-sm thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack-sm, table.stack-sm tbody { display: block; }
  table.stack-sm caption { display: block; }
  table.stack-sm tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  table.stack-sm th, table.stack-sm td { display: block; border: 0; padding: .1rem 0; }
  table.stack-sm th { grid-column: 1 / -1; padding-bottom: .35rem; }
  table.stack-sm td::before { content: attr(data-label); display: block; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .brand { gap: .6rem; }
  .brand img { width: 34px; height: 44px; }
  .js .menu-btn { padding: 0 .8rem; gap: .45rem; }
}

@media (max-width: 345px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head, .callbar, .skip { display: none; }
  .site-foot { background: none; color: #000; }
  body { padding: 0; }
}
