/* ==========================================================================
   Tusche & Siegel – gemeinsame Grundlage für Startseite und Unterseiten
   Schwarz wie Tusche, Rot wie ein Siegel, Creme wie Papier.
   Schriften (alle selbst gehostet, OFL): Big Shoulders Display (Plakat),
   Instrument Serif (Stimme), Mr Dafoe (Pinsel), Geist und Geist Mono.
   Enthält: Schriften, Farben, Grundlagen, Korn, Kopfleiste, Menü,
   Schaltflächen, Typografie, Papier, Fuß. Die Startseite ergänzt
   tusche.css, die Unterseiten sub.css.
   ========================================================================== */

@font-face { font-family: 'Big Shoulders Display'; src: url(fonts/big-shoulders-display-900.woff2) format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mr Dafoe'; src: url(fonts/mr-dafoe-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(fonts/geist-wght.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(fonts/geist-mono-wght.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0d0c0b;
  --ink-2: #161412;
  --bone: #eee7da;
  --bone-dim: #a29a8c;
  --paper: #eee7da;
  --paper-ink: #141210;
  --paper-mute: #5e574d;
  --red: #e0402c;
  --red-deep: #bf2e1c;
  --seal: #d33a23;
  --line-dark: rgba(238, 231, 218, .16);
  --line-paper: rgba(20, 18, 16, .2);
  --f-display: 'Big Shoulders Display', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-voice: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-brush: 'Mr Dafoe', 'Brush Script MT', 'Segoe Script', cursive;
  --f-body: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:not(.calm) { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: clamp(16px, .3vw + 15px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
.scene[id] { scroll-margin-top: 0; }
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 3px; }
.paper :focus-visible { outline-color: var(--red-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: fixed; left: 16px; top: -120px; z-index: 300; padding: 12px 20px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Korn ---------- */
.grain { position: fixed; inset: -12%; z-index: 70; pointer-events: none; background: url(img/korn.png) repeat; background-size: 160px 160px; opacity: .07; }
.ready:not(.calm) .grain { animation: grain 1.1s steps(6) infinite; }
@keyframes grain {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 3%, 0); }
  40% { transform: translate3d(3%, -4%, 0); }
  60% { transform: translate3d(-2%, 4%, 0); }
  80% { transform: translate3d(4%, 1%, 0); }
}

/* ---------- Kopfleiste ---------- */
.hdr { position: fixed; left: 0; right: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); color: var(--bone); transition: color .45s ease, transform .7s var(--ease-out), opacity .6s ease; }
.hdr::before, .hdr::after { content: ''; position: absolute; inset: 0 0 -36px; z-index: -1; transition: opacity .45s ease; pointer-events: none; }
.hdr::before { background: linear-gradient(to bottom, rgba(13, 12, 11, .82), rgba(13, 12, 11, 0)); }
.hdr::after { background: linear-gradient(to bottom, rgba(238, 231, 218, .94) 40%, rgba(238, 231, 218, 0)); opacity: 0; }
.hdr.on-paper { color: var(--paper-ink); }
.hdr.on-paper::before { opacity: 0; }
.hdr.on-paper::after { opacity: 1; }
.hdr.is-tucked:not(:focus-within) { transform: translateY(-110%); }
.hdr__brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.hdr__seal { width: 38px; height: 38px; flex: none; color: var(--seal); transition: transform .7s var(--ease-out); }
.hdr__brand:hover .hdr__seal { transform: rotate(-9deg) scale(1.08); }
.hdr__name { font-family: var(--f-display); font-weight: 900; font-size: 21px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.hdr__cta, .hdr__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease-out); }
.hdr__cta { display: none; background: var(--red); color: var(--ink); }
.hdr__cta:hover { background: var(--bone); }
.hdr.on-paper .hdr__cta { background: var(--red-deep); color: var(--paper); }
.hdr.on-paper .hdr__cta:hover { background: var(--paper-ink); }
.hdr__menu { border: 1px solid currentColor; }
.hdr__menu:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.hdr.on-paper .hdr__menu:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.hdr__lines { position: relative; width: 16px; height: 7px; }
.hdr__lines::before, .hdr__lines::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out); }
.hdr__lines::before { top: 0; }
.hdr__lines::after { bottom: 0; right: 5px; }
.hdr__menu:hover .hdr__lines::after { transform: translateX(5px); }
.hdr__cta > span, .hdr__menu > span { display: inline-block; }
@media (min-width: 720px) { .hdr__cta { display: inline-flex; } }
@media (max-width: 359px) { .hdr__name { display: none; } }

/* ---------- Schalter „Bewegung“ ----------
   In der Kopfleiste ab 900 px und im Menü auf allen Breiten. Ohne JavaScript
   und bei „Bewegung reduzieren“ im System bleibt er verborgen (hidden).
   Gedrückt heißt: Bewegung läuft. */
.motion { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.motion__track { position: relative; flex: none; width: 30px; height: 16px; border: 1.5px solid currentColor; border-radius: 999px; transition: background-color .3s, border-color .3s; }
.motion__track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; transition: transform .35s var(--ease-out), background-color .3s; }
.motion[aria-pressed="true"] .motion__track { border-color: var(--red); background: var(--red); }
.motion[aria-pressed="true"] .motion__track::after { transform: translateX(14px); background: var(--ink); }
.hdr.on-paper .motion[aria-pressed="true"] .motion__track { border-color: var(--red-deep); background: var(--red-deep); }
.hdr.on-paper .motion[aria-pressed="true"] .motion__track::after { background: var(--paper); }
.hdr__motion { display: none; margin-right: 8px; }
@media (min-width: 900px) { .hdr__motion { display: inline-flex; } }

/* ---------- Menü (Popover, funktioniert auch ohne JavaScript) ---------- */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--bone); overflow-y: auto; overscroll-behavior: contain; }
.menu:popover-open { display: flex; flex-direction: column; }
.menu::backdrop { background: transparent; }
@supports (transition-behavior: allow-discrete) {
  .menu { clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease), overlay .8s allow-discrete, display .8s allow-discrete; }
  .menu:popover-open { clip-path: inset(0 0 0 0); }
  @starting-style { .menu:popover-open { clip-path: inset(0 0 100% 0); } }
}
html.calm .menu { transition: none; }
html:has(.menu:popover-open) { overflow: hidden; }
.menu__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter); }
.menu__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-dim); }
.menu__close { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(238, 231, 218, .45); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.menu__close:hover { background: var(--bone); color: var(--ink); }
.menu__body { flex: 1; display: grid; gap: 40px; align-content: end; padding: 12px var(--gutter) 36px; }
.menu__chapters ol { display: grid; }
.menu__chapters a { display: flex; align-items: baseline; gap: 14px; padding: 3px 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 4.6vh, 56px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; transition: color .3s, transform .5s var(--ease-out); }
.menu__chapters a:hover, .menu__chapters a:focus-visible { color: var(--red); transform: translateX(10px); }
.menu__side { display: grid; gap: 24px; align-content: end; justify-items: start; }
.menu__pages ul { display: grid; margin-top: 6px; }
.menu__pages a { display: inline-block; padding: 8px 0; font-size: 18px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 7px) / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.menu__pages a:hover { background-size: 100% 1px; }
.menu__legal { display: flex; gap: 22px; font-size: 14px; color: var(--bone-dim); }
.menu__legal a { padding: 6px 0; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; }
.menu__motion { color: var(--bone-dim); transition: color .3s; }
.menu__motion:hover, .menu__motion[aria-pressed="true"] { color: var(--bone); }
@media (min-width: 900px) { .menu__body { grid-template-columns: 1.7fr 1fr; align-items: end; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.calm) .menu:popover-open .menu__chapters li { animation: menu-in .7s var(--ease-out) backwards; }
  .menu:popover-open .menu__chapters li:nth-child(1) { animation-delay: .18s; }
  .menu:popover-open .menu__chapters li:nth-child(2) { animation-delay: .21s; }
  .menu:popover-open .menu__chapters li:nth-child(3) { animation-delay: .24s; }
  .menu:popover-open .menu__chapters li:nth-child(4) { animation-delay: .27s; }
  .menu:popover-open .menu__chapters li:nth-child(5) { animation-delay: .3s; }
  .menu:popover-open .menu__chapters li:nth-child(6) { animation-delay: .33s; }
  .menu:popover-open .menu__chapters li:nth-child(7) { animation-delay: .36s; }
  .menu:popover-open .menu__chapters li:nth-child(8) { animation-delay: .39s; }
  .menu:popover-open .menu__chapters li:nth-child(9) { animation-delay: .42s; }
  .menu:popover-open .menu__chapters li:nth-child(10) { animation-delay: .45s; }
  .menu:popover-open .menu__chapters li:nth-child(11) { animation-delay: .48s; }
  .menu:popover-open .menu__chapters li:nth-child(12) { animation-delay: .51s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(40%); } }

/* ---------- Schaltflächen ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--f-body); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: .01em; text-decoration: none; text-align: center; transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), background-size .45s var(--ease-out), transform .6s var(--ease-out); }
.btn > span { display: inline-block; transition: transform .6s var(--ease-out); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--red:hover { background: var(--bone); }
.btn--line { border: 1px solid rgba(238, 231, 218, .45); color: var(--bone); }
.btn--line:hover { border-color: var(--bone); background: rgba(238, 231, 218, .08); }
.btn--text { min-height: 44px; padding: 0 1px; border-radius: 0; color: var(--bone); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1px no-repeat; }
.btn--text:hover { background-size: 0 1px; background-position: 100% calc(100% - 9px); }
.btn--xl { min-height: 64px; padding: 0 40px; font-size: 17px; }
.paper .btn--red { background: var(--red-deep); color: var(--paper); }
.paper .btn--red:hover { background: var(--paper-ink); }
.paper .btn--text { color: var(--paper-ink); }

/* ---------- Typografie ---------- */
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 26px; font-family: var(--f-mono); font-size: 12px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.kicker span { display: inline-flex; align-items: center; gap: 14px; color: var(--red); }
.kicker span::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.paper .kicker { color: var(--paper-mute); }
.paper .kicker span { color: var(--red-deep); }
.h2 { font-family: var(--f-voice); font-weight: 400; font-size: clamp(42px, 5.3vw, 96px); line-height: 1.02; letter-spacing: -.012em; text-wrap: balance; }
.h2 em, .together__title em, .contact__voice em { font-style: italic; color: var(--red); }
.paper .h2 em { color: var(--red-deep); }
.lead { max-width: 36em; margin-top: 28px; font-size: clamp(17px, .4vw + 15.5px, 20px); line-height: 1.62; text-wrap: pretty; }
.note { max-width: 46em; margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--red); font-size: 14px; line-height: 1.55; color: var(--bone-dim); }
.paper .note { color: var(--paper-mute); border-left-color: var(--red-deep); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }

/* ---------- Papier: Klartext ---------- */
.paper { position: relative; z-index: 2; padding: clamp(84px, 13vh, 150px) var(--gutter); background: var(--paper); color: var(--paper-ink); overflow-x: clip; }
.paper::before, .paper::after { content: ''; position: absolute; left: 0; right: 0; height: 26px; background: url(img/kante.svg) repeat-x 0 0 / 1400px 26px; pointer-events: none; }
.paper::before { top: -25px; }
.paper::after { bottom: -25px; transform: scale(-1, -1); }
.paper .lead { color: var(--paper-ink); }

/* ---------- Fuß ---------- */
.ftr { position: relative; z-index: 3; overflow: hidden; padding: clamp(72px, 12vh, 140px) var(--gutter) 24px; background: var(--ink); border-top: 1px solid var(--line-dark); }
.ftr__word { margin-left: -.035em; font-family: var(--f-display); font-weight: 900; font-size: min(330px, (100vw - 2 * var(--gutter) - 14px) / 5.64); line-height: .78; letter-spacing: -.008em; text-transform: uppercase; white-space: nowrap; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(48px, 9vh, 100px); }
.ftr__brand { grid-column: 1 / -1; }
.ftr__seal { width: 64px; height: 64px; color: var(--seal); }
.ftr__claim { max-width: 12em; margin-top: 18px; font-family: var(--f-voice); font-size: 28px; line-height: 1.12; }
.ftr__place, .ftr__head { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.ftr__place { margin-top: 12px; }
.ftr__mail { display: inline-block; margin-top: 16px; padding: 4px 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 100% 1px no-repeat; transition: background-size .45s var(--ease-out); }
.ftr__mail:hover { background-size: 0 1px; background-position: 100% calc(100% - 3px); }
.ftr__head { margin-bottom: 12px; }
.ftr__nav a { display: inline-block; padding: 5px 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; }
.ftr__nav a:hover { background-size: 100% 1px; color: var(--bone); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.ftr__top { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone); text-decoration: none; }
.ftr__top > span { display: inline-block; transition: transform .6s var(--ease-out); }
@media (min-width: 900px) {
  .ftr__cols { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: auto; }
}

/* ---------- Seitenwechsel: das neue Blatt wird von unten eingezogen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .55s cubic-bezier(.65, 0, .25, 1) both; }
  ::view-transition-new(root) { animation: vt-in .75s cubic-bezier(.65, 0, .25, 1) both; }
}
@keyframes vt-out { to { opacity: .35; transform: translateY(-4%); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Sprachwahl und Umbau-Hinweis (international, Oktober 2026) ----------
   Sprachwahl als schmale Pille in der Kopfleiste. Der Umbau-Hinweis sitzt als
   ruhige Zeile über dem Fuß der Startseite und auf den englischen Unterseiten. */
.hdr__lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: inherit; border: 1px solid transparent; transition: border-color .35s, background-color .35s; }
.hdr__lang:hover { border-color: currentColor; }
.build-note { display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin-top: 26px; padding: 14px 18px; border: 1px dashed rgba(238, 231, 218, .32); border-radius: 12px; font-size: 15px; line-height: 1.5; color: var(--bone-dim); }
.build-note::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: .5em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(224, 64, 44, .6); animation: build-pulse 2.4s ease-out infinite; }
.build-note strong { color: var(--bone); font-weight: 600; }
.paper .build-note { border-color: rgba(20, 18, 16, .3); color: var(--paper-mute); }
.paper .build-note strong { color: var(--paper-ink); }
@keyframes build-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 64, 44, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(224, 64, 44, 0); } }
