/* Ordaneo · Website
   Farben und Schriften nach assets/brand/BRAND.md. Keine externen Anfragen: Schriften liegen in assets/fonts. */

/* ---------- Schriften (SIL Open Font License 1.1, Lizenztexte in assets/fonts) ---------- */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-opsz-normal.woff2) format('woff2-variations'), url(fonts/inter-latin-opsz-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(fonts/inter-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-mono-latin-wght-normal.woff2) format('woff2-variations'), url(fonts/geist-mono-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2-variations'), url(fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben ---------- */
:root {
  color-scheme: light dark;
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --fg: #15171b;
  --fg-muted: #4a505c;
  --fg-subtle: #5d6470;
  --line: #e3e5e9;
  --line-strong: #cfd3d9;
  --accent: #c0500c;          /* Kupfer: Hauptaktion, Links auf hellem Grund */
  --accent-hover: #a4430a;    /* Kupfer tief */
  --on-accent: #ffffff;
  --accent-text: #c0500c;
  --focus: #c0500c;
  --unit: #c0500c;            /* Einheit/Punkt als Aufzählungszeichen */
  --band-bg: #15171b;
  --band-surface: #1c1f24;
  --band-fg: #f3f4f6;
  --band-muted: #b4bac4;
  --band-accent: #ec955c;     /* Kupfer hell: Textstufe auf Graphit */
  --band-line: #2c3038;
  --logo-tile: #15171b;
  --logo-line: #f9fafb;
  --logo-unit: #c0500c;
  --shot-hatch: rgba(21, 23, 27, 0.045);
  --shadow: 0 1px 2px rgba(16, 18, 22, 0.05), 0 12px 32px -12px rgba(16, 18, 22, 0.14);
  --header-bg: rgba(249, 250, 251, 0.86);

  --font: 'Inter Variable', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono Variable', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --maxw: 1180px;
  --gutter: 16px;
  --radius: 14px;
  --radius-sm: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1114;
    --surface: #15171b;
    --surface-2: #1b1e23;
    --fg: #f3f4f6;
    --fg-muted: #b3b9c3;
    --fg-subtle: #9aa1ad;
    --line: #262a31;
    --line-strong: #363b44;
    --accent: #ec955c;
    --accent-hover: #f2ad80;
    --on-accent: #15171b;
    --accent-text: #ec955c;
    --focus: #ec955c;
    --unit: #ec955c;
    --band-bg: #15171b;
    --band-surface: #1b1e23;
    --band-line: #2c3038;
    --logo-tile: #f3f4f6;
    --logo-line: #0e1114;
    --logo-unit: #c0500c;
    --shot-hatch: rgba(243, 244, 246, 0.04);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --header-bg: rgba(14, 17, 20, 0.84);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 620; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.nb { white-space: nowrap; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; font-variant-numeric: tabular-nums; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } body { font-size: 17.5px; } }

.skip {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  background: var(--surface); color: var(--fg); padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); text-decoration: none; font-weight: 560;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Logo ---------- */
.lockup { height: 26px; width: auto; color: var(--fg); }
.lockup .lk-tile { fill: var(--logo-tile); }
.lockup .lk-frame { stroke: var(--logo-line); }
.lockup .lk-unit { fill: var(--logo-unit); }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.site-header { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; margin-right: auto; color: var(--fg); }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a {
  display: inline-block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--fg-muted); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
}
.nav a:hover { color: var(--fg); background: var(--surface-2); }
@media (min-width: 920px) { .nav { display: block; } }

/* ---------- Schaltflächen ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 10px;
  font: inherit; font-size: 1rem; font-weight: 580; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--fg); border-color: var(--fg-subtle); background: var(--surface-2); }
.btn-small { --h: 38px; padding: 0 14px; font-size: 0.9375rem; border-radius: 9px; }
.btn-on-dark { background: var(--band-accent); color: #15171b; }
.btn-on-dark:hover { background: #f2ad80; color: #15171b; }
.btn-ghost-dark { color: var(--band-fg); border-color: #3a3f48; background: transparent; }
.btn-ghost-dark:hover { color: var(--band-fg); border-color: var(--band-muted); background: var(--band-surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions .btn { flex: 1 1 100%; } }

/* ---------- Abschnitte ---------- */
section[id], [id].anchor { scroll-margin-top: 80px; }
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.875rem; font-weight: 560; letter-spacing: 0.005em; color: var(--fg-muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--unit); flex: none;
}
.h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.026em; }
.lead { font-size: 1.0625rem; color: var(--fg-muted); max-width: 40em; margin-top: 18px; }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 64px; } }

/* Aufzählung mit der „Einheit“ als Punkt */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--fg-muted); }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 1.75px; background: var(--unit);
}
.ticks strong { color: var(--fg); font-weight: 600; }

.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 9px;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0;
  border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--fg);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
@media (min-width: 1024px) { .hero { padding: 96px 0 96px; } }
.hero h1 {
  font-size: clamp(2.15rem, 1.05rem + 4.6vw, 4.1rem);
  line-height: 1.04; letter-spacing: -0.032em; font-weight: 640; max-width: 15em;
}
.hero .lead { font-size: 1.125rem; max-width: 38em; margin-top: 22px; }
@media (min-width: 1024px) { .hero .lead { font-size: 1.25rem; } }
.hero .actions { margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 0.9375rem; color: var(--fg-subtle); }
.hero .hero-shot { margin-top: 48px; }
@media (min-width: 1024px) { .hero .hero-shot { margin-top: 72px; } }

/* ---------- Produktbilder ----------
   .shot-body trägt ein <picture> (hell/dunkel); .is-placeholder bleibt für künftige, noch fehlende Bilder. */
.shot { margin: 0; }
.shot-frame {
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
  overflow: hidden; box-shadow: var(--shadow);
}
.shot-bar {
  display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 12px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.shot-url {
  font-family: var(--mono); font-size: 0.75rem; color: var(--fg-subtle);
  padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot-body { position: relative; background: var(--surface); }
.shot-body picture { display: block; }
.shot-body img { width: 100%; height: auto; }
.shot-body.is-placeholder {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center; text-align: center; padding: 24px;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, var(--shot-hatch) 0 1px, transparent 1px 12px);
}
.shot-label {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-strong);
  color: var(--fg-subtle); font-size: 0.875rem; line-height: 1.35;
}
.shot-label b { color: var(--fg-muted); font-weight: 600; }
.shot-label svg { width: 22px; height: 22px; color: var(--fg-subtle); }
.shot figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--fg-subtle); }

.shot--phone { max-width: 300px; margin-inline: auto; }
.shot--phone .shot-frame {
  border-radius: 40px; border: 9px solid #15171b; background: #15171b; box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .shot--phone .shot-frame { border-color: #2a2e35; background: #2a2e35; } }
.shot--phone .shot-body { border-radius: 31px; overflow: hidden; }
.shot--phone .shot-body.is-placeholder { aspect-ratio: 9 / 19.5; }
.shot--phone figcaption { text-align: center; }

/* Tablet quer (Kasse): Gehäuse statt Browserleiste */
.shot--tablet .shot-frame {
  border-radius: 26px; border: 11px solid #15171b; background: #15171b; box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .shot--tablet .shot-frame { border-color: #2a2e35; background: #2a2e35; } }
.shot--tablet .shot-body { border-radius: 15px; overflow: hidden; }
@media (max-width: 479px) {
  .shot--tablet .shot-frame { border-width: 7px; border-radius: 18px; }
  .shot--tablet .shot-body { border-radius: 11px; }
}

/* ---------- Ablauf (Belegkette) ---------- */
.flow { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .flow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .flow .section-head { position: sticky; top: 112px; margin-bottom: 0; }
}
.steps { list-style: none; counter-reset: step; position: relative; }
.steps > li {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px;
  padding-bottom: 32px;
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li::after {
  content: ''; position: absolute; left: 27px; top: 34px; bottom: 2px; width: 1px; background: var(--line-strong);
}
.steps > li:last-child::after { display: none; }
.steps .chip { grid-row: 1 / span 2; justify-self: center; position: relative; z-index: 1; min-width: 48px; justify-content: center; }
.steps h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.012em; padding-top: 1px; }
.steps p { color: var(--fg-muted); }

/* ---------- Funktionszeilen mit Bild ---------- */
.features { display: grid; gap: 72px; }
@media (min-width: 1024px) { .features { gap: 128px; } }
.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .feature.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.is-flipped > .feature-text { order: 2; }
  .feature.is-phone { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.feature-kicker { font-size: 0.875rem; font-weight: 560; color: var(--fg-muted); margin-bottom: 12px; }
.feature h3 { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 1.95rem); line-height: 1.16; letter-spacing: -0.022em; }
.feature h3 + p { margin-top: 14px; color: var(--fg-muted); }
.feature-text .ticks { margin-top: 22px; }
.note {
  margin-top: 22px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); font-size: 0.9375rem; color: var(--fg-muted);
}

/* ---------- Karten ---------- */
.more-head { margin: 112px 0 32px; }
@media (max-width: 1023px) { .more-head { margin-top: 72px; } }
.more-head h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -0.02em; }
.cards { list-style: none; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.card h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card p { color: var(--fg-muted); font-size: 0.96875rem; }
.icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--fg); margin-bottom: 6px; flex: none;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) {
  .card { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px; }
  .card .icon { width: 36px; height: 36px; margin: 0; }
  .card p { grid-column: 1 / -1; }
}

/* ---------- Dunkles Band: Sicherheit und Betrieb ---------- */
.band { background: var(--band-bg); color: var(--band-fg); }
.section.band { border-top: 0; }
.section.band + .section { border-top: 0; }
@media (prefers-color-scheme: dark) { .band { border-block: 1px solid var(--line); } }
.band .eyebrow { color: var(--band-muted); }
.band .eyebrow::before { background: var(--band-accent); }
.band .lead { color: var(--band-muted); }
.band .card { background: var(--band-surface); border-color: var(--band-line); }
.band .card p { color: var(--band-muted); }
.band .icon { background: #262a31; color: var(--band-accent); }
.band a { color: var(--band-accent); }
.band a:hover { color: #f2ad80; }
.band :focus-visible { outline-color: var(--band-accent); }

/* ---------- Branchen ---------- */
.profiles { display: grid; gap: 16px; }
@media (min-width: 800px) { .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.profile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 1024px) { .profile { padding: 32px; } }
.profile h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.profile > p { margin-top: 6px; color: var(--fg-muted); font-size: 0.96875rem; }
.switches { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.switches li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.96875rem;
}
.state {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 0.8125rem; font-weight: 560; color: var(--fg-muted);
}
.state::before {
  content: ''; width: 30px; height: 18px; border-radius: 999px; box-sizing: border-box;
  border: 1.5px solid var(--line-strong); background:
    radial-gradient(circle at 8px 50%, var(--fg-subtle) 0 4.5px, transparent 5px);
}
.state.on { color: var(--fg); }
.state.on::before {
  border-color: var(--fg); background: var(--fg);
  background-image: radial-gradient(circle at 20px 50%, var(--bg) 0 4.5px, transparent 5px);
}
.units { margin-top: 18px; font-size: 0.9375rem; color: var(--fg-muted); }
.units .mono { color: var(--fg); }
.profiles-note { margin-top: 20px; font-size: 0.9375rem; color: var(--fg-subtle); max-width: 48em; }

/* ---------- Einführung ---------- */
.intro-steps { list-style: none; display: grid; gap: 16px; counter-reset: intro; }
@media (min-width: 720px) { .intro-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .intro-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.intro-steps li {
  counter-increment: intro; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.intro-steps li::before {
  content: counter(intro, decimal-leading-zero); font-family: var(--mono); font-size: 0.875rem; color: var(--accent-text); font-weight: 500;
}
.intro-steps h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.012em; }
.intro-steps p { color: var(--fg-muted); font-size: 0.96875rem; }
.principles { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 960px) { .principles { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.principles h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.principles .ticks { gap: 12px; }
@media (min-width: 720px) { .principles .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 22px; display: grid; gap: 32px;
}
@media (min-width: 900px) { .contact { padding: 56px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.contact .h2 { max-width: 14em; }
.contact .actions { margin-top: 28px; }
.mail { font-family: var(--mono); font-size: 1rem; color: var(--fg); word-break: break-all; }
.contact-aside { display: grid; gap: 14px; }
.contact-aside h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
.contact-aside .ticks { gap: 8px; font-size: 0.96875rem; }
.contact-aside .note { margin-top: 8px; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9375rem; color: var(--fg-subtle); }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-brand .lockup { height: 22px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--fg-muted); text-decoration: none; padding: 4px 0; display: inline-block; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- Rechtstexte und 404 ---------- */
.legal { padding: 48px 0 88px; }
@media (min-width: 1024px) { .legal { padding: 72px 0 112px; } }
.legal .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); letter-spacing: -0.028em; line-height: 1.1; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; letter-spacing: -0.015em; }
.legal h3 { font-size: 1.0625rem; margin-top: 24px; letter-spacing: -0.01em; }
.legal p, .legal ul, .legal address { margin-top: 12px; color: var(--fg-muted); }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal .draft-banner {
  margin: 24px 0 8px; padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  color: var(--fg); font-size: 0.96875rem;
}
.legal .draft-banner strong { color: var(--fg); }
.ph {
  font-family: var(--mono); font-size: 0.9em; font-weight: 500; color: var(--fg);
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px dashed var(--accent);
  border-radius: 5px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.meta { margin-top: 40px; font-size: 0.875rem; color: var(--fg-subtle); }

.notfound { padding: 96px 0 120px; }
.notfound .chip { margin-bottom: 20px; }
.notfound h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.08; }
.notfound .lead { margin-top: 16px; }
.notfound .actions { margin-top: 32px; }

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

@media print {
  .site-header, .skip, .actions { display: none !important; }
  body { background: #fff; color: #000; }
}
