/* underpressure.ch | lokale Systemschriften, keine externen Dienste */

:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --bg-2: #ece9e2;
  --surface: #ffffff;
  --fg: #14181d;
  --muted: #4d555e;
  --line: #d3cec3;
  --accent: #b8391b;
  --accent-soft: rgba(184, 57, 27, 0.1);
  --on-accent: #ffffff;
  --ink: #0b0e12;
  --ink-fg: #eceae5;
  --ink-muted: #a6adb5;
  --ink-line: #272d35;
  --ink-accent: #ff7a59;
  --shadow: 0 18px 50px rgba(20, 24, 29, 0.12);
  --display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --max: 1200px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e12;
    --bg-2: #11161c;
    --surface: #151b22;
    --fg: #eceae5;
    --muted: #a6adb5;
    --line: #262d36;
    --accent: #ff7a59;
    --accent-soft: rgba(255, 122, 89, 0.12);
    --on-accent: #0b0e12;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--mono); }

/* Fortschritt und Kopf */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 70; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 10px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 4px; background: var(--ink); background-image: linear-gradient(135deg, transparent 55%, var(--ink-accent) 56%); border: 1px solid var(--line); }
.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav-desktop a, .nav-mobile a { text-decoration: none; font-size: 0.95rem; padding: 6px 0; }
.nav-desktop a:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 0.4em; }
.lang { font-family: var(--mono); letter-spacing: 0.08em; border: 1px solid var(--line); padding: 4px 10px !important; border-radius: var(--r); font-size: 0.8rem !important; }
.nav-mobile summary { cursor: pointer; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; padding: 8px 0; list-style: none; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] ul { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
.nav-mobile[open] li { width: 100%; }
.nav-mobile[open] a { display: block; padding: 13px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 1200px) { .nav-desktop { display: block; } .nav-mobile { display: none; } }
.nav-desktop ul { gap: 15px; }
.nav-desktop a { font-size: 0.9rem; }
.nav-desktop a, .brand { white-space: nowrap; }

/* Hero (immer hell auf dunklem Foto) */
.hero { position: relative; isolation: isolate; color: #f2f0eb; min-height: min(94svh, 900px); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero picture, .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ink-accent); opacity: 0.1; mix-blend-mode: soft-light;
  -webkit-mask: url(/assets/img/contours.svg) center / cover no-repeat; mask: url(/assets/img/contours.svg) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,14,0.5) 0%, rgba(8,10,14,0.2) 38%, rgba(8,10,14,0.88) 100%); }
.hero .wrap { padding-block: 110px 0; }
.hero .eyebrow { color: #ffa58c; }
.hero h1 { font-size: clamp(2.9rem, 9vw, 7.2rem); max-width: 13ch; }
.hero .lead { color: #e4e1db; max-width: 40ch; margin: 28px 0 0; }
.roles { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; margin: 22px 0 0; color: #cfcbc3; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; padding: 14px 24px; border: 1px solid currentColor; border-radius: var(--r); transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn.small { padding: 8px 14px; font-size: 0.8rem; }
.hero .btn.primary { background: #ff7a59; color: #0b0e12; border-color: #ff7a59; }
.hero .btn:not(.primary):hover { color: #ffa58c; }
.hero-meta { margin-top: 64px; border-top: 1px solid rgba(255,255,255,0.22); display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-meta div { padding: 18px 18px 22px 0; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #cfcbc3; }
.hero-meta strong { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: 0; color: #fff; font-weight: 600; text-transform: none; }
.hero-cap { position: absolute; right: var(--gutter); top: 88px; max-width: 34ch; margin: 0; font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0.04em; text-align: right; color: #e4e1db; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }
.hero-cap::before { content: "▸ "; color: #ff7a59; }
@media (max-width: 899px) { .hero-cap { position: static; max-width: none; text-align: left; margin: 0 var(--gutter) 22px; order: 2; } .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; } .hero-meta { margin-top: 36px; } }

/* Abschnitte */
section { padding-block: clamp(72px, 11vw, 140px); border-top: 1px solid var(--line); position: relative; }
section.alt { background: var(--bg-2); }
section.ink { background: var(--ink); color: var(--ink-fg); border-top-color: var(--ink-line); --line: var(--ink-line); --muted: var(--ink-muted); --accent: var(--ink-accent); --on-accent: #0b0e12; --surface: #151b22; --bg-2: #11161c; }
.sec-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 64px); }
.sec-head p { margin-top: 20px; }
.sec-num { font-family: var(--mono); color: var(--accent); letter-spacing: 0.1em; font-size: 0.85rem; display: block; margin-bottom: 12px; }
.contours::before { content: ""; position: absolute; inset: 0; background: var(--accent); opacity: 0.09; pointer-events: none; -webkit-mask: url(/assets/img/contours.svg) center / cover no-repeat; mask: url(/assets/img/contours.svg) center / cover no-repeat; }
.contours > .wrap { position: relative; }

.cols { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.1fr 0.9fr; } .cols.rev { grid-template-columns: 0.9fr 1.1fr; } .cols.even { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 64ch; }
.prose p { font-size: 1.125rem; }
.prose h3 { margin: 1.6em 0 0.5em; }
.pull { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.18; margin: 1.2em 0 0; padding-left: 22px; border-left: 3px solid var(--accent); max-width: 30ch; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span::after { content: "/"; margin-left: 48px; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track span:nth-child(n+12) { display: none; } }
section.marq { padding: 0; border: 0; }

/* Bento und Karten */
.bento { display: grid; gap: 14px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .b2 { grid-column: span 2; } .bento .b3 { grid-column: span 3; } .bento .b4 { grid-column: span 4; } }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; text-decoration: none; color: inherit; min-height: 220px; }
a.tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); color: inherit; }
.tile h3 { font-size: 1.5rem; }
.tile p { margin: 0; color: var(--muted); }
.tile .ico { width: 54px; height: 54px; color: var(--accent); }
.tile .more { margin-top: auto; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.tile.hl { background: var(--ink); color: var(--ink-fg); border-color: var(--ink-line); --muted: var(--ink-muted); --accent: var(--ink-accent); }
.tile.hl p { color: var(--ink-muted); }
.tile .num, .card .num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.12em; }
@media (min-width: 760px) { .bento .b6 { grid-column: span 6; } }
.tile.wide { min-height: 0; }
@media (min-width: 760px) { .tile.wide { display: grid; grid-template-columns: 54px 1fr auto; column-gap: 24px; align-items: center; } .tile.wide .num { display: none; } .tile.wide .more { margin: 0; } .tile.wide h3 { grid-column: 2; } .tile.wide p { grid-column: 2; } .tile.wide .ico { grid-row: 1 / span 2; } .tile.wide .more { grid-column: 3; grid-row: 1 / span 2; } }
.mt { margin-top: 28px; }
.ex-ico .ico { width: 46px; height: 46px; color: var(--accent); margin-bottom: 14px; }
.stats.two-col { grid-template-columns: repeat(2, 1fr); }

.cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card .tag { margin-top: auto; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--accent); text-decoration: none; }
.card a.tag:hover { text-decoration: underline; }

/* Statistik */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Bildband */
.band { position: relative; isolation: isolate; color: #f2f0eb; padding-block: clamp(110px, 18vw, 240px); background: var(--ink); overflow: hidden; border-top: 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,10,14,0.85), rgba(8,10,14,0.2) 70%); }
.band blockquote { margin: 0; font-family: var(--display); font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.band .eyebrow { color: #ffa58c; }

/* Fähigkeiten-Explorer */
.explorer { display: grid; gap: 24px; }
@media (min-width: 900px) { .explorer { grid-template-columns: 300px 1fr; gap: 48px; } }
.ex-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
@media (min-width: 900px) { .ex-tabs { flex-direction: column; overflow: visible; gap: 0; border-top: 1px solid var(--line); } }
.ex-tabs button { font: inherit; text-align: left; background: none; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; cursor: pointer; white-space: nowrap; display: flex; gap: 12px; align-items: baseline; }
@media (min-width: 900px) { .ex-tabs button { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 8px; font-size: 1.15rem; } }
.ex-tabs button .n { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.ex-tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--accent); background: var(--accent-soft); }
@media (min-width: 900px) { .ex-tabs button[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--accent); border-color: var(--line); } }
.ex-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 4vw, 48px); }
.ex-panel[hidden] { display: none; }
.ex-panel h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.ex-panel .grid2 { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 700px) { .ex-panel .grid2 { grid-template-columns: 1fr 1fr; } }
.ex-panel h4 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.ex-panel p, .ex-panel li { color: var(--muted); }
.ex-panel .lead2 { color: var(--fg); font-size: 1.2rem; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 0.78rem; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.js .ex-panel[hidden] { display: none; }
.no-js .ex-tabs { display: none; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; position: relative; } .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); } }
.steps li { counter-increment: s; position: relative; padding: 26px 22px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .steps li { border-bottom: 0; padding-top: 64px; } }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 18px; font-family: var(--mono); font-size: 0.8rem; color: var(--on-accent); background: var(--accent); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
@media (min-width: 900px) { .steps li::before { top: 5px; } }
.steps li h3 { margin: 0 0 8px 50px; font-size: 1.3rem; }
@media (min-width: 900px) { .steps li h3 { margin-left: 0; } }
.steps li p { margin: 0 0 0 50px; color: var(--muted); }
@media (min-width: 900px) { .steps li p { margin-left: 0; } }

/* Diagramm */
.diagram { width: 100%; height: auto; }
.diagram text { font-family: var(--mono); font-size: 13px; fill: var(--fg); }
.diagram .k { fill: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.diagram .box { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.diagram .hot { stroke: var(--accent); }
.diagram .ln { stroke: var(--muted); stroke-width: 1.5; fill: none; }
.diagram .acc { stroke: var(--accent); stroke-width: 2; fill: none; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .diagram .acc { animation: none; } }

/* Galerie */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); } .gallery .g2 { grid-column: span 2; } .gallery .g3 { grid-column: span 3; } .gallery .g4 { grid-column: span 4; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: var(--ink); aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #eceae5; background: linear-gradient(transparent, rgba(8,10,14,0.85)); }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.photo { margin: 0; }
.photo img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.photo.tall img { max-height: 72svh; object-fit: cover; }
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(0,0,0,0.85); }
dialog.lightbox img { max-width: 96vw; max-height: 90vh; margin: auto; border-radius: 6px; }
dialog.lightbox button { position: fixed; right: 18px; top: 14px; font: inherit; background: var(--accent); color: var(--on-accent); border: 0; padding: 10px 16px; border-radius: var(--r); cursor: pointer; }

/* Zeitachse */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 24px; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .yr { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 4px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); max-width: 58ch; }

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .k { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.76rem; color: var(--muted); padding-top: 4px; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: 0.03em; }
.names a { text-decoration: none; } .names a:hover { text-decoration: underline; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.reftable { width: 100%; border-collapse: collapse; }
.reftable th, .reftable td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reftable tr:last-child > * { border-bottom: 0; }
.reftable thead th { font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; color: var(--muted); background: var(--bg-2); }
.reftable tbody th { font-family: var(--display); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .reftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reftable tr, .reftable th, .reftable td { display: block; }
  .reftable tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .reftable th, .reftable td { border: 0; padding: 2px 16px; white-space: normal; }
}

/* Vorschau-Karten der Demos */
.showcase { display: grid; gap: 28px; }
.demo-card { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
@media (min-width: 900px) { .demo-card { grid-template-columns: 1.25fr 1fr; } .demo-card:nth-child(even) { grid-template-columns: 1fr 1.25fr; } .demo-card:nth-child(even) .dc-shot { order: 2; } }
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); color: inherit; }
.dc-shot { background: #1f4e8c; background-image: linear-gradient(135deg, #163a68, #2a64a8); padding: clamp(18px, 3vw, 34px); display: flex; align-items: center; }
.dc-shot img { border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.15); }
.dc-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.dc-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.dc-body dl { margin: 6px 0 0; display: grid; gap: 10px; }
.dc-body dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.dc-body dd { margin: 2px 0 0; color: var(--muted); }
.dc-body .more { margin-top: 8px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-family: var(--display); font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Seitenkopf der Unterseiten */
.page-head { position: relative; padding-block: clamp(56px, 9vw, 110px) clamp(36px, 6vw, 70px); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); opacity: 0.1; -webkit-mask: url(/assets/img/contours.svg) center / cover no-repeat; mask: url(/assets/img/contours.svg) center / cover no-repeat; }
.page-head h1 { font-size: clamp(1.9rem, 6vw, 5rem); max-width: 20ch; hyphens: auto; overflow-wrap: break-word; }
.page-head .lead { margin: 22px 0 0; }
.page-head .eyebrow { margin-bottom: 18px; }

/* Abschluss */
.cta-band { background: var(--ink); color: var(--ink-fg); padding-block: clamp(70px, 10vw, 130px); border-top: 1px solid var(--ink-line); position: relative; isolation: isolate; overflow: hidden; --muted: var(--ink-muted); --accent: var(--ink-accent); --on-accent: #0b0e12; --line: var(--ink-line); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-accent); opacity: 0.16; -webkit-mask: url(/assets/img/contours.svg) center / cover no-repeat; mask: url(/assets/img/contours.svg) center / cover no-repeat; }
.cta-band h2 { max-width: 16ch; font-size: clamp(2.4rem, 6vw, 5rem); }
.cta-band p { max-width: 52ch; margin: 22px 0 0; color: var(--ink-muted); font-size: 1.15rem; }
.cta-band .btn:not(.primary) { color: var(--ink-fg); }
.cta-band .btn.primary { background: #ff7a59; color: #0b0e12; border-color: #ff7a59; }

.site-footer { border-top: 1px solid var(--line); padding-block: 44px 28px; color: var(--muted); font-size: 0.95rem; background: var(--bg); }
.foot-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); margin: 0 0 8px; }
.foot-h { font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; color: var(--fg); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.foot-base { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }

/* Kontakt-Brief */
.brief { display: grid; gap: 18px; }
.brief label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.brief input, .brief select, .brief textarea { font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--r); width: 100%; min-height: 46px; }
.brief textarea { min-height: 150px; resize: vertical; }
.brief fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 16px; margin: 0; }
.brief legend { font-size: 0.9rem; color: var(--muted); padding: 0 6px; }
.brief .opts { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.brief .opts label { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.brief .opts input { width: auto; min-height: 0; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.76rem; color: var(--muted); padding-top: 5px; }
.contact-list a { font-size: 1.2rem; overflow-wrap: anywhere; }
@media (max-width: 560px) { .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

.legal { padding-block: 56px 96px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.5rem; margin: 2em 0 0.5em; }
.legal .prose p, .legal .prose li { font-size: 1.0625rem; }

.alt-readout { position: fixed; right: var(--gutter); bottom: 20px; z-index: 40; font-family: var(--mono); letter-spacing: 0.12em; font-size: 0.75rem; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--bg) 85%, transparent); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r); pointer-events: none; display: none; }
.alt-readout b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .js .alt-readout { display: block; } }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media print {
  .site-header, .alt-readout, .skip, .cta, .progress, .marquee { display: none !important; }
  :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --fg: #000; --muted: #333; --line: #999; --accent: #000; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::before, .hero::after, .hero picture, .hero img.bg, .band, .contours::before, .page-head::before, .cta-band::before { display: none; }
  section.ink, .cta-band { background: none; color: #000; }
  section { padding-block: 24px; break-inside: avoid; }
}
.stats.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats.two-col .stat strong { font-size: clamp(2rem, 5vw, 3.6rem); }
.stat { min-width: 0; }
.stat span { overflow-wrap: anywhere; hyphens: auto; }
.cols { grid-template-columns: minmax(0, 1fr); } .cols > * { min-width: 0; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.1fr 0.9fr; } .cols.rev { grid-template-columns: 0.9fr 1.1fr; } .cols.even { grid-template-columns: 1fr 1fr; } }

/* Geschützter Bereich: Anmeldung */
.intern-body { min-height: 100vh; display: grid; place-items: center; background: var(--ink); position: relative; isolation: isolate; }
.intern-body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--ink-accent); opacity: 0.14; -webkit-mask: url(/assets/img/contours.svg) center / cover no-repeat; mask: url(/assets/img/contours.svg) center / cover no-repeat; }
.intern { width: 100%; padding: 24px 16px; }
.intern-card { max-width: 440px; margin: 0 auto; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 5vw, 40px); box-shadow: 0 30px 80px rgba(0,0,0,0.4); display: grid; gap: 14px; }
.intern-card h1 { font-size: 2rem; }
.intern-card .brand { margin-bottom: 8px; }
.intern-card p { margin: 0; }
.intern-state { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 10px; background: var(--bg-2); }
.msg { padding: 10px 12px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.msg.err { border-color: #c62828; color: #c62828; }
@media (prefers-color-scheme: dark) { .msg.err { border-color: #ef6b6b; color: #ef6b6b; } }
.small-print { font-size: 0.85rem; }
.login { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem !important; border: 1px solid var(--accent); color: var(--accent); padding: 4px 10px !important; border-radius: var(--r); }
.login:hover { background: var(--accent); color: var(--on-accent) !important; text-decoration: none !important; }
/* Login immer hell und klar */
.intern-body { background: #f4f5f7; color-scheme: light; }
.intern-body::before { background: #c8102e; opacity: 0.06; }
.intern-body .intern-card { background: #fff; color: #111820; border-color: #dde1e7; box-shadow: 0 20px 60px rgba(17, 24, 32, 0.12); --fg: #111820; --muted: #4a5562; --line: #dde1e7; --bg-2: #f4f5f7; --surface: #fff; --accent: #c8102e; --on-accent: #fff; }
.intern-body .brand { color: #111820; }
.intern-body .brand::before { background: #111820; }
.intern-body .eyebrow { color: #c8102e; }
.intern-body .muted { color: #4a5562; }
.intern-body input { background: #fff; color: #111820; border-color: #c9ced6; }
.intern-body .btn { color: #111820; }
.intern-body .btn.primary { background: #c8102e; border-color: #c8102e; color: #fff; }
.intern-body a { color: #111820; }
[hidden] { display: none !important; }
.band-cap { margin: 14px 0 0; font-size: 0.85rem; opacity: 0.85; max-width: 60ch; }
@media (min-width: 900px) { .stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats.four .stat strong { font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }
.flat { position: absolute; right: var(--gutter); top: 160px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: #e4e1db; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,0.7); opacity: 0.85; transition: opacity 0.2s ease; }
.flat:hover { opacity: 1; color: #ffa58c; }
.flat img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }
.flat-t b { font-weight: 400; }
.flat-t span { color: #ffa58c; margin-left: 6px; }
@media (max-width: 899px) { .flat { position: static; order: 3; align-self: flex-start; margin: -10px var(--gutter) 24px; } }
@media (prefers-reduced-motion: reduce) { .flat { transition: none; } }

/* Produkte ARGUS und KAIROS */
.prod-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
.prod { --prod: var(--accent); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.prod::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--prod); }
.prod.argus { --prod: #1d5f74; }
.prod.kairos { --prod: #2f6a50; }
@media (prefers-color-scheme: dark) { .prod.argus { --prod: #5bb6cf; } .prod.kairos { --prod: #62c194; } }
.prod-head { display: flex; align-items: center; gap: 16px; }
.prod-head .eyebrow { margin: 0 0 4px; color: var(--prod); }
.prod-mark { flex: none; width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; font: 700 1.35rem var(--mono); color: var(--surface); background: var(--prod); }
.prod h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0; }
.prod .prod-claim { font-family: var(--display); font-size: 1.2rem; color: var(--fg); margin: 0; }
.prod p { margin: 0; color: var(--muted); }
.prod .ticks { margin: 4px 0 0; }
.prod .cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.head-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-head .eyebrow a { color: inherit; }
.prod-head-argus::before { background: #1d5f74; }
.prod-head-kairos::before { background: #2f6a50; }
.table-scroll { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 520px; }
.spec caption { text-align: left; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.spec th, .spec td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom-color: var(--fg); }
.spec td:first-child { font-weight: 600; width: 42%; }
@media print { .head-cta { display: none; } }
