/* =====================================================================
   LSO CONSULTING – Zentrales Designsystem (design.css)
   Stand: 22.11.2026

   Grundlage: Farb- und Typografiesystem der bisherigen LSO-Startseite
   (Navy als Markenfarbe, Kupfer als Akzent, helle und warmweiße
   Abschnitte im Wechsel mit dunklen Navy-Abschnitten).

   Aufbau
     1. Tokens (Farben, Schriften, Maße)
     2. Abschnitts-Themes (hell / warmweiß / dunkel / kupfer)
     3. Basis & Typografie
     4. Layout
     5. Header & Navigation (inkl. Mobilmenü)
     6. Buttons & Links
     7. Bausteine (Karten, Schritte, Zitat, Porträt, Tags, Kontakt)
     8. Footer
     9. Rechtstexte (Impressum, Datenschutz)
    10. Responsive & Barrierefreiheit

   Seitenspezifisch: assets/milo.css (nur Milo-Seite)
   Schriften:        assets/fonts/fonts.css (lokal, keine Google-Verbindung)
   ===================================================================== */

/* 1. TOKENS ---------------------------------------------------------- */
:root {
  --navy-900: #0C1020;
  --navy-800: #0F2A4A;
  --navy-700: #122F52;
  --navy-600: #1A2540;
  --paper: #FFFFFF;
  --paper-tint: #F6F4F1;
  --paper-warm: #FAFAF8;
  --ink: #1A1A1A;

  /* Kupfer: --copper-deep ist auf Weiß AA-tauglich (5,35:1) und wird
     für Text unter 24px auf hellen Flächen verwendet. */
  --copper-deep: #9A5C22;
  --copper: #B8712E;
  --copper-lt: #C4813D;
  --copper-glow: #D4975A;

  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-brand: 'Outfit', Arial, sans-serif;
  --ff-sub: 'Libre Franklin', Arial, sans-serif;

  --fs-hero: clamp(2.3rem, 6vw, 4.6rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.08rem, 1.5vw, 1.22rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-small: 0.9rem;
  --fs-label: 0.72rem;

  --width: 1140px;
  --narrow: 46rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 76px;
  --radius: 6px;
  --radius-lg: 14px;
}

/* 2. ABSCHNITTS-THEMES ---------------------------------------------- */
.theme-light {
  --bg: var(--paper); --fg: var(--ink); --fg-soft: #3E3934; --fg-muted: #5F5953;
  --accent: var(--copper-deep); --accent-strong: var(--copper);
  --rule: rgba(184,113,46,.26); --rule-soft: rgba(26,26,26,.10);
  --surface: rgba(15,42,74,.035);
  --btn-bg: var(--copper-deep); --btn-bg-hi: var(--copper); --btn-fg: #FAFAF8;
  --ghost-border: rgba(26,26,26,.28); --ghost-hover: rgba(15,42,74,.06);
}
.theme-tint {
  --bg: var(--paper-tint); --fg: var(--ink); --fg-soft: #3E3934; --fg-muted: #5F5953;
  --accent: var(--copper-deep); --accent-strong: var(--copper);
  --rule: rgba(184,113,46,.28); --rule-soft: rgba(26,26,26,.10);
  --surface: rgba(255,255,255,.7);
  --btn-bg: var(--copper-deep); --btn-bg-hi: var(--copper); --btn-fg: #FAFAF8;
  --ghost-border: rgba(26,26,26,.28); --ghost-hover: rgba(255,255,255,.7);
}
.theme-dark {
  --bg: var(--navy-800); --fg: #FAFAF8; --fg-soft: rgba(250,250,248,.88); --fg-muted: rgba(250,250,248,.72);
  --accent: var(--copper-glow); --accent-strong: var(--copper-lt);
  --rule: rgba(212,151,90,.32); --rule-soft: rgba(250,250,248,.14);
  --surface: rgba(250,250,248,.05);
  --btn-bg: var(--copper-lt); --btn-bg-hi: var(--copper-glow); --btn-fg: #0C1020;
  --ghost-border: rgba(250,250,248,.45); --ghost-hover: rgba(250,250,248,.08);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(52,96,136,.30), transparent 48%),
    linear-gradient(105deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.theme-copper {
  --bg: var(--copper-deep); --fg: #FFFFFF; --fg-soft: #FFFFFF; --fg-muted: rgba(255,255,255,.92);
  --accent: #FFFFFF; --accent-strong: #FFFFFF;
  --rule: rgba(255,255,255,.35); --rule-soft: rgba(255,255,255,.2);
  --surface: rgba(255,255,255,.08);
  --btn-bg: var(--navy-900); --btn-bg-hi: var(--navy-700); --btn-fg: #FAFAF8;
  --ghost-border: rgba(255,255,255,.7); --ghost-hover: rgba(255,255,255,.12);
}
.theme-light, .theme-tint, .theme-dark, .theme-copper { background-color: var(--bg); color: var(--fg); }

/* 3. BASIS & TYPOGRAFIE ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--ff-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 1rem; }

h1, h2, h3 { margin: 0; color: var(--fg, inherit); }
h1, h2 { font-family: var(--ff-display); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: var(--fs-hero); line-height: 1.08; margin-bottom: 1.5rem; }
h2 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 1.25rem; }
h3 { font-family: var(--ff-body); font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
h1 em, h2 em { font-style: italic; color: var(--accent-strong); }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font: 600 var(--fs-label)/1.4 var(--ff-sub);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: var(--accent-strong); flex-shrink: 0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--fg-soft); max-width: 42em; }
.copy { color: var(--fg-muted); max-width: 40em; }
.muted { color: var(--fg-muted); }
.center { text-align: center; }
.center .lead, .center .copy { margin-inline: auto; }

/* 4. LAYOUT ---------------------------------------------------------- */
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.wrap-narrow { width: min(var(--narrow), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section.compact { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.hero { padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4.5rem, 10vw, 7.5rem); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15em; }
.hero-copy { font-size: var(--fs-lead); color: var(--fg-soft); max-width: 40em; }
.hero-deco::after {
  content: ''; position: absolute; right: -12%; top: 12%;
  width: min(52vw, 680px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(212,151,90,.16);
  box-shadow: 0 0 0 64px rgba(212,151,90,.022), 0 0 0 128px rgba(212,151,90,.016);
  pointer-events: none;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.mt-l { margin-top: 3rem; }

/* 5. HEADER & NAVIGATION -------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--navy-900); color: #FAFAF8; padding: .75rem 1.25rem;
  font: .85rem var(--ff-sub);
}
.skip-link:focus { left: .5rem; top: .5rem; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(12,16,32,.96); color: #FAFAF8;
  border-bottom: 1px solid rgba(196,129,61,.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner {
  width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto;
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #FAFAF8; }
.site-logo img { width: 72px; height: 42px; }
.site-logo-sub {
  font: 600 .74rem/1 var(--ff-brand); letter-spacing: .28em; text-transform: uppercase;
  color: rgba(250,250,248,.78); padding-top: 2px;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); font: 400 .86rem var(--ff-sub); }
.nav a { text-decoration: none; color: rgba(250,250,248,.82); padding: .35rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: #FAFAF8; border-bottom-color: var(--copper-lt); }
.nav a[aria-current="page"] { color: var(--copper-glow); border-bottom-color: var(--copper-glow); }
.nav .nav-cta {
  border: 1px solid rgba(212,151,90,.75); border-radius: 4px; padding: .55rem 1rem;
  color: #FAFAF8;
}
.nav .nav-cta:hover { background: var(--copper-lt); color: var(--navy-900); border-color: var(--copper-lt); }
.menu-toggle { display: none; }

/* 6. BUTTONS & LINKS ------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; margin-top: 2rem; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 4px; border: 1px solid transparent;
  background: var(--btn-bg, var(--copper-deep)); color: var(--btn-fg, #FAFAF8);
  font: 500 .95rem/1.2 var(--ff-body); letter-spacing: .01em; text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--btn-bg-hi, var(--copper)); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--ghost-border); }
.btn-ghost:hover { background: var(--ghost-hover); }
.btn-note { font-size: var(--fs-small); color: var(--fg-muted); margin: 0; }
.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--fg); text-decoration: none; font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid var(--rule); padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.text-link::after { content: '→'; color: var(--accent); transition: transform .2s; }
.text-link:hover { border-bottom-color: var(--accent-strong); }
.text-link:hover::after { transform: translateX(3px); }

/* 7. BAUSTEINE ------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--accent-strong); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
}
.card p { color: var(--fg-muted); margin: 0; font-size: .98rem; }
.card-kicker { font: 600 .74rem/1.4 var(--ff-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }

.statement {
  margin: 3rem 0 0; padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--accent-strong);
  font: italic 400 clamp(1.25rem, 2.2vw, 1.55rem)/1.45 var(--ff-display); color: var(--fg); max-width: 34em;
}
.claim { font: 700 clamp(1.9rem, 4.6vw, 3.4rem)/1.15 var(--ff-display); letter-spacing: -.02em; text-align: center; margin: 0; color: var(--fg); }
.claim em { font-style: italic; color: var(--accent-strong); }

.portrait { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 22px 50px rgba(12,16,32,.18); background: var(--navy-800); }
.portrait img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 30%; }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.tag { font: .78rem/1 var(--ff-sub); letter-spacing: .03em; padding: .55rem .85rem; border: 1px solid var(--rule); border-radius: 99px; color: var(--fg-soft); }

.path { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 1px solid var(--rule); }
.path li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ''; position: absolute; left: -5px; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-strong); }
.path strong { display: block; color: var(--fg); font-weight: 700; }
.path span { color: var(--fg-muted); font-size: .98rem; }

.contact-box { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); background: var(--surface); }
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--rule-soft); }
.contact-list .label { font: 600 .7rem/1.9 var(--ff-sub); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.contact-list a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.contact-list a:hover { border-bottom-color: var(--accent-strong); }

/* 8. FOOTER ---------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(250,250,248,.66); border-top: 1px solid rgba(196,129,61,.18); padding: 2.5rem 0 2.75rem; font-size: .84rem; }
.footer-inner { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 60px; height: 35px; }
.footer-brand span { display: block; line-height: 1.5; }
.footer-name { color: #FAFAF8; font-weight: 500; }
.footer-claim { font-family: var(--ff-display); font-style: italic; color: var(--copper-glow); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { color: rgba(250,250,248,.75); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--copper-lt); color: #FAFAF8; }
.footer-copy { width: 100%; font-size: .76rem; color: rgba(250,250,248,.5); }

/* 9. RECHTSTEXTE ----------------------------------------------------- */
.legal-main { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.doc { width: min(var(--narrow), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.doc-label { display: flex; align-items: center; gap: .75rem; font: 600 .7rem var(--ff-sub); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 1.5rem; }
.doc-label::before { content: ''; width: 1.8rem; height: 1px; background: var(--copper); flex-shrink: 0; }
.doc h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 2.5rem; overflow-wrap: break-word; hyphens: auto; }
.doc h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.25; letter-spacing: -.015em; margin: 3rem 0 1rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.doc h3 { font-family: var(--ff-display); font-size: 1.1rem; line-height: 1.35; margin: 2rem 0 .6rem; }
.doc h4 { font: 600 .82rem var(--ff-sub); letter-spacing: .08em; color: var(--copper-deep); margin: 1.5rem 0 .4rem; }
.doc p, .doc ul { color: var(--fg-muted); }
.doc ul { margin: 0 0 1rem 1.1rem; padding: 0; }
.doc li { margin-bottom: .5rem; padding-left: .3rem; }
.doc li::marker { color: var(--copper); }
.doc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.doc a:hover { border-bottom-color: var(--copper); }
.doc strong { font-weight: 700; color: var(--ink); }
.doc-address { border-left: 2px solid var(--copper); padding: .35rem 0 .35rem 1.25rem; margin-bottom: 1.5rem; }

/* 11. SIGNATUR-BAUSTEINE (alle Unterseiten) ---------------------------
   Gemeinsame Handschrift der Startseite: dunkler Einstieg mit Kreis-
   Ornament, Kupfer-Akzente, Wechsel aus hellen und dunklen Flächen. */
.page-hero { padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(4.5rem, 9vw, 7rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; font: .78rem var(--ff-sub); letter-spacing: .06em; color: var(--fg-muted); }
.crumbs a { color: var(--fg-muted); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--fg); border-bottom-color: var(--accent-strong); }
.crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--accent-strong); }

/* Bild mit versetztem Kupferrahmen */
.frame { position: relative; isolation: isolate; }
.frame::before { content: ''; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--copper-lt); border-radius: var(--radius-lg); z-index: -1; opacity: .75; }
.frame-caption { position: absolute; left: -1rem; bottom: 1.4rem; background: var(--navy-900); color: #FAFAF8; border: 1px solid rgba(212,151,90,.45); border-radius: 4px; padding: .6rem .9rem; font: .78rem/1.35 var(--ff-sub); letter-spacing: .04em; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.frame-caption strong { display: block; font: 600 .95rem var(--ff-body); letter-spacing: 0; }

/* Kupfer-Zitatband */
.quote-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; position: relative; overflow: hidden; }
.quote-band blockquote { margin: 0 auto; max-width: 30em; font: italic 400 clamp(1.45rem, 3.2vw, 2.3rem)/1.4 var(--ff-display); color: #FFFFFF; }
.quote-band blockquote::before { content: ''; display: block; width: 3.5rem; height: 2px; background: rgba(255,255,255,.65); margin: 0 auto 1.6rem; }
.quote-band cite { display: block; margin-top: 1.25rem; font: normal 600 .74rem var(--ff-sub); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* Große Nummern-Schritte (Weg, Vorgehen) */
.steps-big { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; position: relative; }
.steps-big::before { content: ''; position: absolute; left: 0; right: 0; top: 2.6rem; height: 1px; background: linear-gradient(90deg, var(--accent-strong), transparent); opacity: .6; }
.steps-big li { position: relative; padding-top: 0; }
.steps-big .num { display: inline-block; font: 700 clamp(3.2rem, 6vw, 4.6rem)/1 var(--ff-display); color: transparent; -webkit-text-stroke: 1px var(--accent-strong); background: var(--bg); padding-right: .9rem; position: relative; margin-bottom: 1rem; }
.theme-dark .steps-big .num { background: transparent; text-shadow: 0 0 0 transparent; }
.steps-big .kicker { display: block; font: 600 .72rem var(--ff-sub); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .45rem; }
.steps-big h3 { font-size: 1.2rem; }
.steps-big p { color: var(--fg-muted); margin: 0; }

/* Drei Säulen mit Kupferlinie */
.pillars { display: grid; gap: 1rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: 1.25rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.pillar-mark { font: italic 700 2rem/1 var(--ff-display); color: var(--accent-strong); min-width: 1.6rem; }
.pillar strong { display: block; font-weight: 700; color: var(--fg); }
.pillar div > span { color: var(--fg-muted); font-size: .96rem; }

/* Teaser mit Milo-Figur (z. B. auf „Über mich“) */
.milo-teaser { position: relative; overflow: hidden; }
.milo-teaser .split { align-items: end; }
.milo-teaser-figure { position: relative; justify-self: center; width: min(100%, 340px); margin-bottom: calc(-1 * clamp(4.5rem, 9vw, 7rem)); }
.milo-teaser-figure img { width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); }
.bubble { position: absolute; z-index: 2; background: #FAFAF8; color: var(--navy-900); font: italic 600 1rem/1.35 var(--ff-display); padding: .8rem 1.05rem; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.3); max-width: 15rem; }
.bubble::after { content: ''; position: absolute; bottom: -9px; left: 1.6rem; border: 10px solid transparent; border-top-color: #FAFAF8; border-bottom: 0; }

/* Rechtstexte im LSO-Rahmen */
.legal-hero { padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(6rem, 12vw, 8.5rem); }
.legal-hero h1 { margin-bottom: 1rem; overflow-wrap: break-word; hyphens: auto; }
.legal-hero .lead { margin: 0; }
.legal-body { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.legal-grid { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.legal-grid .doc {
  width: auto; margin: calc(-1 * clamp(4rem, 8vw, 5.5rem)) 0 0; position: relative; z-index: 1;
  background: #FFFFFF; border-radius: var(--radius-lg); border-top: 3px solid var(--copper-lt);
  box-shadow: 0 30px 70px rgba(12,16,32,.14); padding: clamp(1.5rem, 4.5vw, 3.5rem);
}
.legal-grid .doc > h2:first-child, .legal-grid .doc > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: calc(-1 * clamp(4rem, 8vw, 5.5rem)); z-index: 1; }
.aside-card { border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid rgba(212,151,90,.35); box-shadow: 0 20px 50px rgba(12,16,32,.18); }
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card .label { display: block; font: 600 .68rem var(--ff-sub); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.aside-card p { font-size: .92rem; color: var(--fg-soft); margin: 0 0 .4rem; }
.aside-card a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule); }
.aside-card a:hover { border-bottom-color: var(--accent-strong); }
.toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6rem 1fr; gap: .25rem; padding: .45rem 0; font-size: .9rem; border-bottom: 1px solid var(--rule-soft); }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 600 .72rem/1.9 var(--ff-brand); color: var(--accent); }

/* 10. RESPONSIVE & BARRIEREFREIHEIT --------------------------------- */
:focus-visible { outline: 2px solid var(--copper-glow); outline-offset: 4px; border-radius: 2px; }
.theme-light :focus-visible, .theme-tint :focus-visible, .doc :focus-visible { outline-color: var(--copper-deep); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .steps-big { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps-big::before { display: none; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-aside { position: static; margin-top: 1.5rem; order: 2; }
  .legal-grid .doc { order: 1; }
  .milo-teaser-figure { margin-bottom: calc(-1 * clamp(4.5rem, 9vw, 7rem)); width: min(80%, 300px); }
  .frame-caption { left: .75rem; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .split { grid-template-columns: 1fr; }
}

/* Mobilmenü: nur aktiv, wenn JavaScript läuft (html.js). Ohne JS bleibt
   die Navigation sichtbar und umbrechend – die Seite bleibt bedienbar. */
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav { flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .82rem; }
  .js .header-inner { flex-wrap: wrap; }
  .js .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; background: transparent;
    border: 1px solid rgba(212,151,90,.5); border-radius: 4px;
  }
  .js .menu-toggle span { display: block; height: 2px; background: #FAFAF8; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 1.1rem; font-size: 1rem; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: .85rem 0; border-bottom: 1px solid rgba(250,250,248,.08); }
  .js .nav .nav-cta { margin-top: .9rem; text-align: center; border: 1px solid rgba(212,151,90,.75); }
  .contact-list li { grid-template-columns: 1fr; gap: .15rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .site-logo-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .menu-toggle, .skip-link { display: none; }
  .theme-dark, .theme-copper { background: #fff; color: #000; }
}

/* Ergänzungen Signatur-Bausteine */
.portrait-wrap { margin: 0; }
.bubble-teaser { top: -7%; right: -14%; }
@media (max-width: 960px) { .bubble-teaser { right: -4%; top: -16%; } .milo-teaser-figure { margin-top: 4rem; } }
/* Über-mich-Block der Startseite (ohne Porträt) */
.about-teaser { position: relative; overflow: hidden; }
.about-teaser .wrap { position: relative; z-index: 1; }
.about-teaser .pillar { background: rgba(250,250,248,.05); }
/* Korrektur 04: schlichte, nicht kursive Ziffern (nur Startseite) */
.about-teaser .pillar-mark { font: 500 1.75rem/1.1 var(--ff-body); font-variant-numeric: lining-nums tabular-nums; }
