/* oysterinfo, Basis-Stylesheet. Weltbild: Prüfbogen (Papier, Tinte, Haarlinien, Waldgrün). */

@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --paper: #f5f3ec;
  --paper-2: #ebe8dc;
  --paper-3: #e1ddcd;
  --ink: #16211a;
  --ink-2: #48554c;
  --rule: #cdc8b8;
  --rule-strong: #16211a;
  --green: #42a504;          /* CI-Grün aus dem Logo: Flächen, Akzente, Fokus */
  --green-text: #236f00;     /* lesbare Variante für Text auf Papier */
  --forest: #004d00;         /* CI-Waldgrün: Footer, Tafeln */
  --forest-ink: #f2f1e6;
  --forest-soft: #b9d6a8;
  --danger: #8a2a1a;

  --measure: 68ch;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.2vw, 2.2rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.7rem + 4vw, 5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.7;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: #fff; }
img { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }  /* kein Markieren, Ziehen oder Kontextmenü auf Bildern; Safari färbt markierte Bilder sonst mit der Auswahlfarbe ein */
img::selection { background: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.skip:hover { color: var(--paper); }

/* Scrollbar, Caret */
html { scrollbar-color: var(--forest) var(--paper-2); }
input { caret-color: var(--green); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); font-weight: 700; }
h2 { font-size: var(--step-2); font-weight: 650; }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(245 243 236 / 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(22 33 26 / 0.12); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; justify-self: start; line-height: 1; text-decoration: none; color: var(--ink); }
.brand .wordmark { font: 750 1.55rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand .wordmark b { color: var(--green); font-weight: 750; }
.brand .since { font: 650 0.54rem/1 var(--font-display); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-2); margin-right: -0.26em; }
.nav { display: contents; }
.nav > ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav > ul > li { position: relative; }
.nav-link, .nav button.nav-top {
  font: 500 0.88rem/1 var(--font-text);
  letter-spacing: 0.03em;
  color: #3d4941;
  text-decoration: none;
  padding: 24px 0;
  display: inline-block;
  background: none; border: 0; cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color .2s;
}
.nav-link::after, .nav button.nav-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-link.is-parent, .nav-link:hover, .nav button.nav-top:hover, .nav button.nav-top[aria-expanded="true"], .nav .is-current > button, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link.is-parent::after, .nav-link:hover::after, .nav button.nav-top:hover::after, .nav button.nav-top[aria-expanded="true"]::after, .nav .is-current > button::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* Dropdown: schwebende Tafel, Papier mit Unschärfe, Haarlinie */
.sub {
  display: none; position: absolute; left: -22px; top: 100%; min-width: 260px;
  margin: 0; padding: 12px; list-style: none;
  background: #faf9f4;
  border: 1px solid rgb(22 33 26 / 0.14); border-radius: 6px;
  box-shadow: 0 1px 2px rgb(22 33 26 / 0.06), 0 22px 44px -18px rgb(22 33 26 / 0.34);
}
.sub.is-open { display: block; animation: drop .26s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sub li { margin: 0; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font: 500 0.92rem/1.3 var(--font-text); letter-spacing: 0.01em; color: #3d4941; text-decoration: none; border-radius: 4px; transition: color .2s, background .2s; }
.sub a::before { content: ""; width: 0; height: 1px; background: var(--green); transition: width .3s var(--ease); flex: none; }
.sub a:hover, .sub a[aria-current="page"] { color: var(--ink); background: rgb(22 33 26 / 0.045); }
.sub a:hover::before, .sub a[aria-current="page"]::before { width: 14px; }
.sub .sub-label { font: 600 0.68rem/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: #6a766d; padding: 14px 12px 6px; }
.sub .sub-label:first-child { padding-top: 6px; }

.lang { justify-self: end; display: flex; align-items: center; gap: 0.6rem; font: 500 0.78rem/1 var(--font-text); letter-spacing: 0.06em; }
.lang a { text-decoration: none; color: #3d4941; opacity: 0.6; transition: opacity .2s; }
.lang a:hover { opacity: 1; color: var(--ink); }
.lang a[aria-current="true"] { opacity: 1; font-weight: 700; color: var(--ink); }

.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-btn line { transform-origin: center; transition: transform .35s var(--ease); }
.menu-btn line { transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l3 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-5px) rotate(-45deg); }

.nav-close, .lang-head, .nav-scrim { display: none; }
@media (max-width: 1040px) {
  .site-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(245 243 236 / 0.97); }
  .head-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .menu-btn { display: inline-flex; grid-column: 1; grid-row: 1; justify-self: start; margin: 0 0 0 -10px; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; align-items: center; }
  .brand .since { margin-right: -0.26em; }
  .lang-head { display: block; grid-column: 3; grid-row: 1; justify-self: end; }
  .lang-head .lang { margin: 0; }
  .nav > .lang { display: none; }
  .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 2; width: min(86vw, 22rem);
    padding: 64px var(--gutter) 28px; overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); box-shadow: 0 0 40px rgb(22 33 26 / 0.25);
    transform: translateX(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link, .nav button.nav-top { width: 100%; text-align: left; padding: 17px 0; font-size: 1.02rem; border-bottom: 1px solid rgb(22 33 26 / 0.1); }
  .nav-link::after, .nav button.nav-top::after { display: none; }
  .nav button.nav-top[aria-expanded="true"] { color: var(--green-text); }
  .sub { position: static; min-width: 0; padding: 4px 0 10px 4px; border: 0; border-radius: 0; box-shadow: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none !important; }
  .sub a { padding: 11px 8px; }
  .nav-close { display: inline-flex; position: absolute; top: 10px; right: calc(var(--gutter) - 10px); width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
  .nav-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 1; background: rgb(20 24 21 / 0.5); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
  html.menu-open .nav-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
  html.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav-scrim { transition: none; } }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(48px, 8vw, 104px); }
.rule-top { border-top: 1px solid var(--rule-strong); }

/* ---------- Startseite ---------- */
.home-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding-top: clamp(40px, 6vw, 80px); }
.home-top h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; }
.home-top h1 em { font-style: normal; color: var(--green-text); white-space: nowrap; }
@media (max-width: 860px) { .home-top { grid-template-columns: 1fr; } }

.plate { margin: 0; position: relative; }
.plate img { width: 100%; aspect-ratio: 1100 / 400; object-fit: cover; background: #111; }
.home-plate { position: relative; }
.plate.home-plate figcaption { position: absolute; left: 0; bottom: 0; background: rgb(0 0 0 / .62); color: #fff; padding: 8px 12px; text-transform: none; letter-spacing: 0.01em; font-weight: 500; font-size: 0.82rem; }
.plate figcaption { font: 600 0.72rem/1.4 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding-top: 8px; display: flex; justify-content: space-between; gap: 12px; }
.home-plate { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 640px) { .home-plate img { aspect-ratio: 4 / 3; } }

.finder { background: var(--forest); color: var(--forest-ink); margin-top: -1px; padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px 36px; align-items: center; }
.finder h2 { color: var(--forest-ink); font-size: var(--step-1); letter-spacing: -0.01em; }
.finder p { margin: 6px 0 0; color: var(--forest-soft); font-size: 0.95rem; line-height: 1.5; }
.finder form { display: flex; gap: 10px; }
.finder input { flex: 1; min-width: 0; font: 600 1.15rem var(--font-display); letter-spacing: 0.04em; padding: 14px 16px; border: 2px solid transparent; background: var(--paper); color: var(--ink); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.finder input::placeholder { color: #7b8a7f; font-weight: 500; }
.finder input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.btn { font: 700 0.9rem var(--font-display); padding: 14px 22px; border: 0; background: var(--green); color: #07200a; cursor: pointer; border-radius: var(--radius); transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #55c014; }
.btn:active { transform: translateY(1px); }
@media (max-width: 720px) { .finder { grid-template-columns: 1fr; } .finder form { flex-direction: column; } }

.about-strip { background: var(--paper-2); }
.about-strip .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); }
@media (max-width: 860px) { .about-strip .wrap { grid-template-columns: 1fr; } }
.legal-note { font-size: 0.8rem; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ---------- Artikel ---------- */
.article-head { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.crumbs { font: 650 0.78rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 22px; color: var(--green-text); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--green-text); }
.crumbs span { margin-inline: 8px; color: var(--rule); }
.article-head .lede { margin: 20px 0 0; }

.article { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(280px, 1fr); gap: clamp(24px, 4vw, 72px); padding-block: clamp(32px, 5vw, 64px) clamp(51px, 7.2vw, 102px); }
.article .prose { grid-column: 1; grid-row: 1; }
.article aside.margin { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 92px; }
@media (max-width: 1100px) { .article { grid-template-columns: minmax(0, 1fr); } .article .prose, .article aside.margin { grid-column: 1; grid-row: auto; } .article aside.margin { position: static; order: -1; } }
.prose h2 { margin: 2.2em 0 0.6em; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; padding-left: 0.2em; }
.prose li::marker { color: var(--green); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; background: var(--paper-2); }
.prose { counter-reset: fig; }
.prose figure { counter-increment: fig; }
.prose figure figcaption::before { content: attr(data-prefix) " " counter(fig); }
.prose figure figcaption.cap::before { content: none; }
.prose figure.is-small img { max-width: 420px; }
.prose a { font-weight: 600; }

.toc { border-top: 2px solid var(--ink); }
.toc h2 { font: 700 0.72rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 0 10px; color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { border-top: 1px solid var(--rule); }
.toc a { display: flex; gap: 12px; padding: 11px 0; text-decoration: none; color: var(--ink); font: 600 0.92rem/1.35 var(--font-display); }
.toc a:hover { color: var(--green-text); }
.toc a .n { font-variant-numeric: tabular-nums; color: var(--green-text); min-width: 1.4em; }

/* ---------- Tabellen ---------- */
.table-wrap { margin: 2em 0; border: 1px solid var(--ink); background: #fbfaf5; max-height: 560px; overflow: auto; }
.table-wrap:focus-visible { outline-offset: 0; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.97rem; }
table.data caption { text-align: left; font: 700 1rem/1.2 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; padding: 14px 16px 10px; color: var(--ink); position: sticky; left: 0; }
table.data th, table.data td { text-align: left; padding: 9px 16px; border-top: 1px solid var(--rule); }
table.data thead th { position: sticky; top: 0; background: var(--forest); color: var(--forest-ink); font: 700 1rem/1.2 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; border-top: 0; z-index: 1; }
table.data tbody th { font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
table.data tbody tr:hover { background: var(--paper-2); }
table.data tr.hit { background: #d8efc4; outline: 2px solid var(--green); outline-offset: -2px; }
table.data .empty { color: var(--ink-2); }
.table-note { font-size: 0.9rem; color: var(--ink-2); margin-top: -1em; }

/* Seriennummern-Prüfer */
.checker { background: var(--forest); color: var(--forest-ink); padding: 22px; margin: 0 0 2em; }
.checker h2 { color: var(--forest-ink); font-size: var(--step-1); margin: 0 0 4px; letter-spacing: -0.01em; }
.checker p { color: var(--forest-soft); font-size: 0.92rem; line-height: 1.5; margin: 0 0 14px; }
.checker form { display: flex; gap: 10px; }
.checker input { flex: 1; min-width: 0; font: 600 1.1rem var(--font-display); letter-spacing: 0.04em; padding: 12px 14px; border: 0; background: var(--paper); color: var(--ink); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.checker .result { margin-top: 14px; min-height: 1.5em; font-size: 0.98rem; line-height: 1.55; color: var(--forest-ink); }
.checker .result strong { font-family: var(--font-display); color: #fff; }
.checker .result .warn { color: var(--forest-soft); font-size: 0.88rem; display: block; margin-top: 8px; }
.checker .btn { padding: 12px 18px; }

/* ---------- Workshop ---------- */
.kit { padding-bottom: clamp(24px, 4vw, 44px); }
.kit h2 { font: 700 0.75rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.kit ul { list-style: none; padding: 0; margin: 0; }
.kit li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; line-height: 1.4; break-inside: avoid; margin: 0; }
.kit li::before { content: ""; flex: none; width: 11px; height: 11px; border: 1.5px solid var(--ink-2); border-radius: 2px; transform: translateY(1px); }
.steps { width: min(100% - 2 * var(--gutter), var(--col)); padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 128px); }
.step { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid var(--ink); }
.step:first-child { border-top: 0; }
.article.pre-steps { padding-bottom: clamp(12px, 2vw, 24px); }
.article.pre-steps + .steps { padding-top: 0; }
.steps.has-tail { padding-bottom: 0; }
.steps.has-tail + .article { padding-top: 0; }
.step-no { position: sticky; top: 92px; align-self: start; }
.step-no .n { display: block; font: 750 clamp(3.2rem, 7vw, 6rem)/0.85 var(--font-display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.step-no .label { display: block; font: 700 0.72rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); margin-top: 14px; }
.step-body { max-width: 76ch; }
.step-body h2 { font-size: var(--step-2); margin: 0 0 0.6em; }
.step-body h2 small { display: block; margin-top: 0.35em; font: 500 0.5em/1.2 var(--font-text); letter-spacing: 0; color: var(--ink-2); }
.step-body figure { margin: 2em 0; }
.step-body figure img { width: 100%; background: var(--paper-2); }
.step-body .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2em 0; }
.step-body .shots figure { margin: 0; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; } .step-no { position: static; display: flex; align-items: baseline; gap: 16px; } .step-no .n { font-size: 3.5rem; } .step-no .label { margin: 0; } .step-body .shots { grid-template-columns: 1fr; } }
.tip { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 24px; margin: 1.8em 0; position: relative; }
.tip h3 { font-size: var(--step-0); font-family: var(--font-display); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.tip h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.tip p:last-child { margin-bottom: 0; }

/* ---------- Zeitleiste (Unternehmen) ---------- */
.company-hero { margin: clamp(24px, 4vw, 48px) 0 0; }
.company-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: var(--pos, center 40%); background: var(--paper-2); }
.credit { font: 500 0.78rem/1.5 var(--font-text); color: var(--ink-2); padding-top: 8px; }
.timeline-wrap { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline { --tl-gap: clamp(20px, 4vw, 64px); --tl-side: 300px; }
.tl-item { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 62ch); gap: var(--tl-gap); padding-block: clamp(22px, 3.2vw, 40px); border-top: 1px solid var(--rule); position: relative; }
.tl-item:first-child { border-top: 1px solid var(--ink); }
.tl-item.has-fig { grid-template-columns: minmax(96px, 150px) minmax(0, 62ch) minmax(0, 300px); }
.tl-year span { position: sticky; top: 92px; display: block; font: 750 clamp(1.9rem, 3.4vw, 3rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.tl-body, .tl-side, .tl-year { min-width: 0; }
.tl-item:not(.tl-break)::before { content: ""; position: absolute; left: 0; top: -2px; width: 40px; height: 3px; background: var(--green); }
.tl-body > :first-child { margin-top: 0; }
.tl-body p:last-child { margin-bottom: 0; }
.tl-fig { margin: 0; align-self: start; }
.tl-fig img { width: 100%; height: auto; background: var(--paper-2); }
.tl-fig.is-portrait { max-width: min(420px, 100%); }
.checks { list-style: none; padding: 0; margin: 1em 0 1.2em; }
.checks li { padding: 4px 0 4px 28px; position: relative; margin: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 0.95em; width: 9px; height: 9px; background: var(--green); }
.tl-break { padding-block: clamp(36px, 6vw, 72px); border-top: 1px solid var(--rule); }
.tl-break p { font: 600 clamp(1.3rem, 2.2vw, 1.85rem)/1.35 var(--font-display); letter-spacing: -0.02em; max-width: 34ch; margin: 0 0 0 calc(clamp(96px, 12vw, 150px) + clamp(20px, 4vw, 64px)); color: var(--forest); text-wrap: balance; }
.credit { margin: clamp(24px, 4vw, 48px) 0 0; border-top: 1px solid var(--rule); padding-top: 14px; }
@media (max-width: 1100px) {
  .tl-item.has-fig { grid-template-columns: minmax(96px, 150px) minmax(0, 62ch); }
  .tl-item.has-fig .tl-fig { grid-column: 2; max-width: 360px; }
}
@media (max-width: 700px) {
  .tl-item, .tl-item.has-fig { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tl-year span { position: static; display: flex; align-items: center; gap: 12px; }
  .tl-fig { grid-column: 1; max-width: none; }
  .tl-break p { margin-left: 0; }
  .company-hero img { aspect-ratio: 16 / 10; }
}

/* Kapitel statt Jahreszahlen (GMT-Master, Oysterquartz) */
.tl-item.is-chapter .tl-year span { font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.15; letter-spacing: -0.025em; hyphens: manual; overflow-wrap: normal; }
.tl-item.is-chapter .tl-year span.no-label { font-size: 0; }
.tl-side { display: grid; gap: 22px; align-content: start; }
.tl-body .tl-fig.is-wide { margin: 2em 0 0; }
.tl-body h3 { margin: 1.8em 0 0.5em; }
.tl-body .tl-fig + .tl-fig { margin-top: 1.4em; }
.tl-item.is-chapter { grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); }
.tl-item.tl-flow { grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); }
.tl-item.tl-flow .tl-body { display: flow-root; max-width: 760px; }
@media (max-width: 700px) { .tl-item.tl-flow { grid-template-columns: minmax(0, 1fr); } }
.tl-item.is-chapter .tl-body { display: flow-root; max-width: 760px; }
.tl-body .tl-fig.is-side { float: right; clear: right; width: min(var(--tl-side), 38%); margin: 6px 0 20px 40px; }
.tl-body .tl-fig.is-wide { clear: both; }
.tl-body .tl-fig.is-wide + p, .tl-body .tl-fig.is-wide + ul, .tl-body .tl-fig.is-wide + h3 { margin-top: 2em; }
@media (max-width: 700px) { .tl-item.is-chapter { grid-template-columns: minmax(0, 1fr); } .tl-body .tl-fig.is-side { float: none; width: 100%; max-width: 420px; margin: 1.4em 0; } }
.tl-body .table-wrap { margin: 2em 0; }

.tl-body a { font-weight: 600; }

/* Steckbrief (Daytona) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 0 0 clamp(28px, 4vw, 48px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.facts > div { padding: 16px 20px 16px 0; }
.facts dt { font: 700 0.7rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 8px; }
.facts dd { margin: 0; font: 600 1rem/1.35 var(--font-display); letter-spacing: -0.01em; }

/* Baujahre-Diagramm: Referenz im Balken, Zeitraum direkt daneben */
@media (min-width: 701px) { .tl-item.is-chapter:has(.gantt) { grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); } }
.gantt { margin: 1.6em 0 0; --lab: 0px; --gut: 52px; max-width: 780px; }
.g-plot { position: relative; padding-top: 30px; }
.g-axis, .g-lines { position: absolute; left: var(--lab); right: var(--gut); top: 0; }
.g-axis { height: 24px; font: 600 0.7rem/24px var(--font-display); letter-spacing: 0.04em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.g-axis span { position: absolute; transform: translateX(-50%); }
.g-lines { top: 28px; bottom: 0; pointer-events: none; }
.g-lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.g-rows { list-style: none; margin: 0; padding: 0; position: relative; border-top: 1px solid var(--ink); }
.g-rows li { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; border-bottom: 1px solid rgb(22 33 26 / 0.07); }
.g-rows li:last-child { border-bottom: 1px solid var(--rule); }
.g-ref { display: none; }
.g-track { position: relative; height: 42px; margin-right: var(--gut); }
.g-bar { position: absolute; top: 6px; bottom: 6px; background: var(--forest); border-radius: 6px; display: flex; align-items: center; overflow: hidden; }
.g-bar em { font: 700 0.78rem/1 var(--font-display); font-style: normal; letter-spacing: 0; color: #fff; padding-left: 9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-bar.is-open { background: linear-gradient(90deg, var(--forest) 0%, var(--forest) 62%, rgb(0 77 0 / 0.1) 100%); }
.g-years { position: absolute; top: 50%; transform: translateY(-50%); font: 500 0.8rem/1 var(--font-text); color: var(--ink-2); white-space: nowrap; background: var(--paper); padding: 3px 6px; border-radius: 3px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .g-bar { animation: grow .9s var(--ease) both; transform-origin: left; } .g-rows li:nth-child(2) .g-bar { animation-delay: .05s; } .g-rows li:nth-child(3) .g-bar { animation-delay: .1s; } .g-rows li:nth-child(4) .g-bar { animation-delay: .15s; } .g-rows li:nth-child(5) .g-bar { animation-delay: .2s; } .g-rows li:nth-child(6) .g-bar { animation-delay: .25s; } .g-rows li:nth-child(7) .g-bar { animation-delay: .3s; } .g-rows li:nth-child(8) .g-bar { animation-delay: .35s; } @keyframes grow { from { transform: scaleX(0); } to { transform: none; } } }
@media (max-width: 560px) {
  .gantt { --lab: 84px; --gut: 0px; }
  .g-rows li { grid-template-columns: var(--lab) minmax(0, 1fr); }
  .g-ref { display: flex; flex-direction: column; gap: 4px; padding-right: 8px; }
  .g-ref b { font: 700 0.82rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
  .g-ref small { font: 500 0.7rem/1 var(--font-text); color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .g-bar em, .g-years { display: none; }
  .g-rows li, .g-track { min-height: 44px; height: 44px; }
  .g-bar { top: 13px; bottom: 13px; border-radius: 999px; }
}

/* Modellkapitel mit Kurzbeschreibung */
.model-lead { font: 500 0.95rem/1.5 var(--font-text); color: var(--ink-2); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.model-lead b { font: 700 0.85rem/1 var(--font-display); color: var(--green-text); font-variant-numeric: tabular-nums; margin-right: 8px; }

/* ---------- Galerie (Anzeigen) ---------- */
.gallery-wrap { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 112px); }
.gal-count { font: 500 0.9rem/1.5 var(--font-text); color: var(--ink-2); margin: 0 0 20px; }
.gal-box { container-type: inline-size; }
.wrap.wide { width: min(100% - 2 * var(--gutter), 1360px); }
.gal { --cols: 6; --gap: 14px; --w: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols)); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: calc(var(--w) * 4 / 3); gap: var(--gap); }
@container (max-width: 1059px) { .gal { --cols: 4; } }
@container (max-width: 559px) { .gal { --cols: 2; --gap: 10px; } }
.gi { margin: 0; min-width: 0; min-height: 0; }
.gi-pair { grid-column: span 2; }
.gi a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #ecebe6; border-radius: 6px; overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 2px rgb(22 33 26 / .12); }
.gi img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gi-pair a { position: relative; }
.gi-pair a img { max-width: 50%; }
.gi-pair a::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 16px; margin-left: -8px; background: linear-gradient(90deg, transparent, rgb(0 0 0 / .14), transparent); pointer-events: none; z-index: 1; }
.gi a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Großansicht */
.lb { border: 0; padding: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: rgb(14 20 16 / .94); color: #f2f1e6; overflow: hidden; }
.lb::backdrop { background: rgb(14 20 16 / .94); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; animation: lbin .25s var(--ease) both; }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { display: flex; align-items: center; justify-content: center; gap: 0; padding: 56px 72px 8px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; display: block; box-shadow: 0 20px 60px rgb(0 0 0 / .5); user-select: none; -webkit-user-drag: none; }
.lb-stage.is-pair img { max-width: 50%; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 24px 18px; font: 500 0.85rem/1.4 var(--font-text); color: #b9d6a8; }
.lb-btn { position: absolute; background: rgb(242 241 230 / .08); border: 1px solid rgb(242 241 230 / .25); color: #f2f1e6; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font: 500 1.3rem/1 var(--font-display); display: grid; place-items: center; }
.lb-btn:hover { background: rgb(242 241 230 / .18); }
.lb-close { top: 14px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb-stage { padding: 56px 8px 8px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: 14px; } .lb-next { right: 14px; } .lb-bar { justify-content: center; text-align: center; padding-bottom: 76px; } }

/* ---------- Booklets ---------- */
.bk-intro { width: min(100% - 2 * var(--gutter), var(--col)); padding-top: clamp(24px, 4vw, 48px); }
.bk-intro p { margin: 0 0 1.1em; break-inside: avoid; }
@media (max-width: 860px) { .bk-intro { columns: 1; } }
.bk-shelf { margin-top: clamp(40px, 6vw, 80px); background: var(--paper-2); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 112px); }
.bk-shelf h2 { margin-bottom: clamp(24px, 4vw, 44px); }
.bk-shelf .bk-h2:not(:first-child) { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--ink); }
.bk-thanks { margin: clamp(48px, 7vw, 88px) 0 0; font-size: 0.9rem; color: var(--ink-2); }
.bk-group { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 16px clamp(20px, 4vw, 56px); padding-block: clamp(24px, 3.5vw, 40px); border-top: 1px solid var(--rule); }
.bk-group h3 { margin: 0; padding: 0; border: 0; align-self: start; position: sticky; top: 92px; }
.bk-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: clamp(18px, 2.6vw, 28px); }
@media (max-width: 760px) { .bk-group { grid-template-columns: 1fr; } .bk-group h3 { position: static; } }
.bk-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; line-height: 0; background: #dedbcd; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgb(22 33 26 / .16), 0 14px 26px -16px rgb(22 33 26 / .5); }
.bk-cover img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
a.bk-cover { cursor: zoom-in; }
.bk-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; }
.bk-meta b { font: 750 1.6rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.bk-more { font: 600 0.78rem/1.3 var(--font-text); color: var(--green-text); text-align: right; }

/* ---------- Boxen ---------- */
.box-sec { padding-block: clamp(28px, 4vw, 48px) 0; }
.box-sec h2 { padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 26px; font-size: var(--step-2); }
.box-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.6vw, 28px); }
.box { margin: 0; }
.box-media { position: relative; display: block; aspect-ratio: 4 / 3; line-height: 0; border-radius: 6px; overflow: hidden; background: #ecebe6; box-shadow: 0 1px 2px rgb(22 33 26 / .14), 0 12px 24px -16px rgb(22 33 26 / .5); cursor: zoom-in; margin-bottom: 14px; }
.box-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.box-media.is-empty { cursor: default; background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.box-count { position: absolute; right: 8px; bottom: 8px; font: 600 0.72rem/1 var(--font-text); background: rgb(14 20 16 / .8); color: #f2f1e6; padding: 6px 9px; border-radius: 999px; }
.box h3 { font-size: var(--step-1); margin: 0 0 8px; }
.box dl { margin: 0; }
.box dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 0.9rem; line-height: 1.45; }
.box dt { color: var(--ink-2); font-size: 0.8rem; padding-top: 1px; }
.box dd { margin: 0; font-variant-numeric: tabular-nums; }
.box-note { margin: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Fuß ---------- */
.site-foot { background: var(--forest); color: var(--forest-ink); padding-block: clamp(40px, 6vw, 64px) 28px; }
.site-foot a { color: var(--forest-ink); text-decoration-color: var(--green); }
.site-foot a:hover { color: #fff; }
.foot-top { display: flex; align-items: baseline; gap: 12px 36px; flex-wrap: wrap; }
.foot-word { font: 750 1.6rem/1 var(--font-display); letter-spacing: -0.03em; flex: none; }
.foot-word b { color: var(--green); font-weight: 750; }
.foot-top p { flex: 1 1 320px; color: var(--forest-soft); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.foot-legal { border-top: 1px solid rgb(242 241 230 / 0.25); margin: 32px 0 0; padding-top: 22px; font-size: 0.8rem; line-height: 1.65; color: var(--forest-soft); }
.foot-bottom { text-align: center; margin-top: 34px; }
.foot-top + .foot-bottom { border-top: 1px solid rgb(242 241 230 / 0.25); margin-top: 32px; padding-top: 22px; }  /* Seiten ohne Markenhinweis */
.foot-links { display: flex; gap: 1.6rem; justify-content: center; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.85rem; }
.foot-links li { margin: 0; }
.foot-links a { text-decoration: none; opacity: 0.8; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.foot-meta { margin: 0; font-size: 0.78rem; color: var(--forest-soft); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise-2 { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-head, .site-foot, .finder, .checker, .toc { display: none; }
  body { background: #fff; }
}

/* Mehrere Bilder in einem Kapitel: paarweise unter dem durchlaufenden Text */
.tl-body .tl-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 2em; clear: both; }
.tl-body .tl-figs .tl-fig.is-side { float: none; width: auto; max-width: none; grid-column: auto; margin: 0; }
@media (max-width: 700px) { .tl-body .tl-figs { gap: 14px; } .tl-body .tl-figs .tl-fig.is-side { max-width: none; } }

/* Preisentwicklung */
.pc-page > section { max-width: 920px; }
.pc-page section { margin-top: clamp(32px, 5vw, 56px); }
.pc-page p { max-width: none; font-size: var(--step-0); line-height: 1.7; }
.pc-fig { margin: 2em 0 0; }
.pc { display: block; width: 100%; height: auto; overflow: visible; }
.pc .g { stroke: var(--rule); stroke-width: 1; }
.pc .g.v { stroke-dasharray: 2 4; }
.pc .ax { font: 500 11px var(--font-text); fill: var(--ink-2); }
.pc .ln { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.pc .ln.dash { stroke-dasharray: 4 5; opacity: .75; }
.pc .pt { fill: var(--paper); stroke: var(--c); stroke-width: 1.6; }
.pc .ld { stroke: var(--c); stroke-width: 1; fill: none; opacity: .7; }
.pc .lb { font: 650 12.5px var(--font-text); fill: var(--c); }
.pc.pi { margin-top: 6px; }
.pc .ib { fill: var(--ink-2); opacity: .55; }
.pc-legend { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 28px; }
.pc-legend li { border-left: 4px solid var(--c); padding-left: 12px; display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 2px; margin: 0; min-height: 4.6em; }
.pc-legend b { font: 700 0.95rem var(--font-display); }
.pc-legend span { font: 500 0.82rem/1.45 var(--font-text); color: var(--ink-2); }
.pc-data { margin-top: 1.6em; }
.pc-data summary { cursor: pointer; font-weight: 650; }
.price-table { font-variant-numeric: tabular-nums; font-size: 0.82rem; }
.price-table td { text-align: right; white-space: nowrap; }
@media (max-width: 700px) { .pc .ax, .pc .lb { font-size: 14px; } }

/* Referenznummern */
.refs-page > section { max-width: 920px; margin-top: clamp(32px, 5vw, 56px); }
.refs-page p { max-width: none; font-size: var(--step-0); line-height: 1.7; }
.refs-page .sub { margin-top: 1.8em; }
.refs-page figure { margin: 2em 0; max-width: 520px; }
.refs-page .table-wrap { max-width: none; }
.code-table th[scope="row"] { width: 4.5em; font-variant-numeric: tabular-nums; }
.stand { color: var(--ink-2); font-size: 0.88em; }
.ref-jump ul { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ref-jump li { margin: 0; }
.ref-jump a { display: block; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; font: 600 0.82rem var(--font-text); text-decoration: none; color: var(--ink); }
.ref-jump a:hover { border-color: var(--green); color: var(--forest); }
.ref-group { margin-top: clamp(28px, 4vw, 44px); scroll-margin-top: 90px; }
.ref-group h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.ref-group h3 small { font: 500 0.78rem var(--font-text); color: var(--ink-2); }
.ref-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ref-list li { margin: 0; padding: 3px 9px; background: var(--paper-2); border-radius: 4px; font: 600 0.9rem var(--font-text); font-variant-numeric: tabular-nums; }

/* Eine Inhaltsspalte für alle Seiten: Kopf und Inhalt sitzen gemeinsam mittig, die Zeilen bleiben linksbündig */
:root { --col: 980px; }
.article-head, .wrap.wide.article-head { width: min(100% - 2 * var(--gutter), var(--col)); }
.hero-wrap { width: min(100% - 2 * var(--gutter), var(--col)); }
.pc-page, .refs-page, .timeline-wrap, .wrap.article { width: min(100% - 2 * var(--gutter), var(--col)); }
.pc-page > section, .refs-page > section { max-width: none; margin-left: 0; }
.article-head h1, .article-head .lede { max-width: var(--col); }

/* Kundencodes */
.lookup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 1.4em 0 1em; }
.lookup label { font: 650 0.85rem var(--font-display); }
.lookup input { font: 600 1rem var(--font-text); padding: 10px 14px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: var(--radius); min-width: min(100%, 280px); }
.lookup .count { font-size: 0.85rem; color: var(--ink-2); }
.unsure { color: var(--ink-2); font-size: 0.88em; }
.finder-2 { margin-top: 10px; }
.plate + .finder, .plate + form.finder, .home-plate + .finder { margin-top: 10px; }
.finder .btn { min-width: 6.8rem; }
.checker .result .jump { display: inline-block; margin-top: 10px; color: var(--forest-ink); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 3px; }
.checker input::placeholder { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; }
.prose > :first-child, .prose > h2:first-child { margin-top: 0; }
.about-strip { margin-top: clamp(40px, 6vw, 88px); }

/* Leuchtmasse und Zertifikatcode */
.lume-list { list-style: none; padding: 0; margin: 1.4em 0 0; border-top: 1px solid var(--rule); }
.prose .lume-list li::marker { content: none; }
.lume-item { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 8px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.lume-item img { width: 225px; height: auto; display: block; background: var(--paper-2); }
.lume-item h3 { margin: 0 0 4px; font-size: var(--step-1); }
.lume-item ul { list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; }
.lume-item ul li { margin: 0; padding: 0; }
@media (max-width: 560px) { .lume-item { grid-template-columns: 1fr; } }
.key-table { max-width: 560px; text-align: center; font-variant-numeric: tabular-nums; }
.key-table th[scope="row"] { text-align: left; }
.lume-item .printed { margin: 0 0 4px; font: 650 0.72rem/1.2 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* Bücher */
.book-list { list-style: none; padding: 0; margin: 1.4em 0 0; }
.prose .book-list li::marker { content: none; }
.book { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--rule); margin: 0; }
.book img { width: 150px; height: auto; display: block; background: var(--paper-2); }
.book h3 { margin: 0 0 8px; font-size: var(--step-1); line-height: 1.25; }
.book dl { display: grid; gap: 2px; margin: 0; font-size: 0.92rem; }
.book dl div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
.book dt { color: var(--ink-2); }
.book dd { margin: 0; }
.book-note { margin: 10px 0 0; font-size: 0.95rem; }
.book-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 0.9rem; }
@media (max-width: 560px) { .book { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .book img { width: 96px; } }
.article.is-wide { grid-template-columns: minmax(0, 1fr); }
.article.is-wide .prose { max-width: none; grid-column: 1; }
.is-wide .book { grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
.is-wide .book img { width: 170px; }
@media (max-width: 560px) { .is-wide .book { grid-template-columns: 96px minmax(0, 1fr); } .is-wide .book img { width: 96px; } }
.prose .book-list, .prose .lume-list { padding-left: 0; }

/* Links */
.link-list { list-style: none; padding: 0; margin: 0.6em 0 0; columns: 2 340px; column-gap: 40px; }
.prose .link-list { padding-left: 0; }
.link-list li { break-inside: avoid; margin: 0; padding: 6px 0; line-height: 1.4; }
.lang-tag { display: inline-block; margin-left: 8px; padding: 1px 6px; border: 1px solid var(--rule); border-radius: 3px; font: 650 0.66rem/1.4 var(--font-display); letter-spacing: 0.08em; color: var(--ink-2); vertical-align: 1px; }
.book-status { margin: 12px 0 0; font-size: 0.95rem; }
.book-status.is-new strong { color: var(--green-text); }
.book-offer { margin: 2px 0 0; font-size: 0.95rem; }
.book-status span, .book-offer span { color: var(--ink-2); font-size: 0.85em; }
.wrap.tail { width: min(100% - 2 * var(--gutter), var(--col)); padding-bottom: clamp(40px, 6vw, 80px); }
.wrap.tail .credit { margin: 0; }
.col-wrap, .bk-shelf .wrap, .wrap.wide.gallery-wrap { width: min(100% - 2 * var(--gutter), var(--col)); }

/* Magazin, Veröffentlichungen, Beiträge */
.prose .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 2em 0; }
.prose .shots figure { margin: 0; }
@media (max-width: 560px) { .prose .shots { grid-template-columns: 1fr; } }
.post-list, .pub-list { list-style: none; padding: 0; margin: 0; }
.prose .post-list, .prose .pub-list { padding-left: 0; }
.post-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); margin: 0; }
.post-card img { width: 220px; height: auto; display: block; background: var(--paper-2); }
.post-card h2 { margin: 0 0 8px; font-size: var(--step-1); }
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover { color: var(--green-text); }
.post-card p { margin: 0; }
.post-meta { color: var(--ink-2); font-size: 0.85rem; margin-bottom: 4px !important; }
.post-date { margin-top: 12px; }
@media (max-width: 640px) { .post-card { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } .post-card img { width: 96px; } }
.pub-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; margin-top: 1.2em; }
.pub img { width: 100%; max-width: 220px; height: auto; display: block; box-shadow: 0 1px 3px rgb(22 33 26 / .18); }
.pub p { margin: 10px 0 0; font-size: 0.92rem; line-height: 1.45; }
.tags { color: var(--ink-2); font-size: 0.9rem; margin-top: 2em; }
.back-link { margin-top: 2.4em; }
.flag-tag { color: var(--ink-2); font-size: 0.8em; }
.mail { white-space: nowrap; }
.archive-h { margin-top: clamp(40px, 6vw, 72px); }
.spec-table { max-width: 720px; }
.spec-table th[scope="row"] { width: 11em; font-weight: 650; }

/* Rettungsseiten (privat) */
.celeb-grid, .tv-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 18px; }
.prose .celeb-grid, .prose .tv-list { padding-left: 0; }
.celeb-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.celeb { margin: 0; }
.celeb img { width: 100%; height: 200px; object-fit: cover; object-position: top; background: var(--paper-2); display: block; }
.celeb p { margin: 6px 0 0; font-size: 0.82rem; line-height: 1.3; }
.tv-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.tvspot { margin: 0; }
.tvspot video { width: 100%; background: #000; }
.tvspot h3 { margin: 0 0 8px; font-size: var(--step-0); }
.post-card.no-thumb { grid-template-columns: minmax(0, 1fr); }

.ico-dl { width: 1.05em; height: 1.05em; margin-left: 0.4em; vertical-align: -0.16em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pc-page { padding-bottom: clamp(56px, 8vw, 112px); }

/* Hochformat im Fließtext: rechts eingeschwebt, Text läuft darum herum */
.prose figure.is-side { float: right; clear: right; margin: 6px 0 20px 40px; }
.prose h2, .prose h3 { clear: both; }
@media (max-width: 700px) { .prose figure.is-side { float: none; width: 100% !important; max-width: 420px; margin: 1.4em 0; } }

.prose.no-clear h2, .prose.no-clear h3 { clear: none; }

/* Zwischenseite Zubehör: Zeilen mit Nummer, Titel und Kurztext */
.hub-list-wrap { width: min(100% - 2 * var(--gutter), var(--col)); padding-block: clamp(8px, 2vw, 24px) clamp(56px, 8vw, 104px); }
.hub-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.hub-list li { border-bottom: 1px solid var(--rule); }
.hub-row { display: grid; grid-template-columns: clamp(56px, 8vw, 96px) minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 3vw, 32px); padding: clamp(16px, 2.4vw, 26px) 0; text-decoration: none; color: var(--ink); }
.hub-row::after { content: "\2192"; color: var(--green-text); font-size: 1.3rem; transition: transform .25s var(--ease); }
.hub-row:hover::after { transform: translateX(6px); }
.hub-row:hover strong { color: var(--green-text); }
.hub-no { font: 750 clamp(1.6rem, 3vw, 2.6rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.hub-text { display: grid; gap: 4px; }
.hub-text strong { font: 700 var(--step-1)/1.2 var(--font-display); letter-spacing: -0.01em; }
.hub-text span { color: var(--ink-2); line-height: 1.5; }

/* Ergebnis der Prüfer auf der Startseite */
.finder-result { grid-column: 1 / -1; margin: 0; padding-top: 4px; color: var(--forest-ink); font-size: 0.98rem; line-height: 1.55; }
.finder-result:empty { display: none; }
.finder-result .warn { display: block; margin-top: 4px; color: var(--forest-soft); font-size: 0.86rem; }
.finder-result .jump { display: block; width: fit-content; margin-top: 8px; color: var(--forest-ink); font-weight: 600; }
.finder-result .jump:hover { color: #fff; }

/* Referenznummern: Bild neben dem Text, Rücksprung zu den Modellreihen */
.refs-page figure.is-side { float: right; clear: right; margin: 6px 0 20px 40px; }
.refs-page section.flow { display: flow-root; }
.ref-group h3 .ref-up { margin-left: auto; font: 600 0.78rem var(--font-text); letter-spacing: 0.02em; text-decoration: none; color: var(--green-text); white-space: nowrap; }
.ref-group h3 .ref-up:hover { text-decoration: underline; }
#modellreihen { scroll-margin-top: 90px; }
@media (max-width: 700px) { .refs-page figure.is-side { float: none; width: 100% !important; max-width: 420px; margin: 1.2em 0; } }

.table-wrap.is-short { max-height: none; }

/* Einheitlicher Abstand zwischen Seitenende und Fußzeile (statt je Seitentyp verschieden) */
:root { --end-gap: clamp(56px, 8vw, 96px); }
main > .wrap:last-child, main > section:last-child:not(.about-strip) { padding-bottom: var(--end-gap) !important; margin-bottom: 0 !important; }
main > .wrap:last-child > :last-child, main > .wrap:last-child > :last-child > :last-child, main > .wrap:last-child > :last-child > :last-child > :last-child,
main > .wrap:last-child > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0; }
main > .wrap:last-child .timeline > li:last-child, main > .wrap:last-child .steps > .step:last-child, main > .wrap.steps:last-child > .step:last-child { padding-bottom: 0; }
main > .wrap:last-child .step:last-child .step-body > :last-child, main > .wrap:last-child .step:last-child .step-body > :last-child > :last-child { margin-bottom: 0; }

/* Bildunterschrift: ein einziger Stil für alle Seiten (Ausnahme: Beschriftung auf dem Startseitenbild) */
figure:not(.home-plate) > figcaption, .company-hero figcaption, .fig-no { font: 500 0.88rem/1.5 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--ink-2); padding-top: 10px; display: block; }
.cap-credit { display: block; margin-top: 3px; font-size: 0.76rem; line-height: 1.4; opacity: 0.72; }

/* 404-Seite: Deutsch und Englisch nebeneinander, am Handy untereinander */
.nf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.nf-cols h2 { margin-top: 0; }
@media (max-width: 760px) { .nf-cols { grid-template-columns: minmax(0, 1fr); } }

/* Sprachumschalter: größere Trefferfläche für den Finger, Aussehen bleibt gleich */
.lang a { position: relative; }
.lang a::after { content: ""; position: absolute; inset: -16px -6px; }
@media (pointer: coarse) { .lang { gap: 1.6rem; } .lang a::after { inset: -17px -12px; } }

/* Fotos im Text: ein Klick öffnet die Großansicht, feine Linie hebt helle Bilder vom Papier ab */
figure > a.zoom { display: block; cursor: zoom-in; }
figure > a.zoom img { display: block; }
figure > a.zoom:hover img { filter: brightness(0.97); }
figure > a.zoom:focus-visible { outline-color: var(--green-text); }
.prose figure:not(.company-hero) img, .step-body figure img, .tl-fig img, .refs-page figure img { box-shadow: 0 0 0 1px var(--rule); }

/* Kernzeile am Anfang eines Zeitleisten-Kapitels (Referenz, Kaliber, Jahr auf einen Blick) */
.tl-body .lead { margin: 0 0 1.2em; font: 650 0.84rem/1.5 var(--font-display); letter-spacing: 0.015em; color: var(--forest); }

/* Geschichtsseiten: große Jahreszahl wie beim Unternehmen, Kernzeile klein darunter, Zwischenüberschriften ohne Trenner */
.tl-item.is-year .tl-year, .tl-item.is-word .tl-year { position: sticky; top: 92px; align-self: start; }
.tl-item.is-chapter.is-year .tl-year span.y { position: static; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.04em; }
.tl-item.is-chapter.is-word .tl-year span.y { position: static; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.15; letter-spacing: -0.025em; }
.tl-year small { display: block; margin-top: 0.4em; font: 650 0.9rem/1.3 var(--font-display); letter-spacing: 0; color: var(--ink-2); }
.tl-year .tl-key { margin: 0.9em 0 0; font: 600 0.82rem/1.45 var(--font-text); letter-spacing: 0; color: var(--ink-2); }
.tl-body h2.tl-sub { margin: 2.2em 0 0.5em; font: 650 1.12rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.tl-body > h2.tl-sub:first-child { margin-top: 0; }
@media (max-width: 700px) { .tl-item.is-year .tl-year, .tl-item.is-word .tl-year { position: static; } }

/* Links im Fließtext überall gleich (Gewicht 600), egal in welchem Seitentyp */
.prose a, .tl-body a, .step-body a, .refs-page a, .pc-page a { font-weight: 600; }

/* Seitenüberschrift: Zeile so voll wie möglich, nur kein einzelnes Wort allein in der letzten Zeile (balance hat zu früh umgebrochen) */
h1 { text-wrap: pretty; }

/* Vergleichstabellen (leere erste Kopfzelle): Beschriftung links, alle Wertespalten gleich breit */
table.data.cmp { table-layout: fixed; }
table.data.cmp th:first-child, table.data.cmp td:first-child { width: 24%; }
