/*
  Digitalfaden · Prototyp (lokal, nicht veröffentlicht)
  Designrichtung "Relief" (E-08). Tokens 1:1 aus kenan-al-obied-website/src/styles/tokens.css,
  ergänzt um --danger, Fokus und Arabisch (RTL). Bernstein nur für Hauptaktion und "Ihre Freigabe".
  Alle Richtungen über logische Eigenschaften (inline-start/end), damit DE (ltr) und AR (rtl) dasselbe CSS nutzen.
*/

/* ── Schriften: lokal, keine Anfrage an fremde Server ── */
@font-face {
  font-family: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(/assets/fonts/funnel-display-latin-wght-normal.woff2) format("woff2-variations");
  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: "Funnel Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(/assets/fonts/funnel-display-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Funnel Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(/assets/fonts/funnel-sans-latin-wght-normal.woff2) format("woff2-variations");
  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: "Funnel Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(/assets/fonts/funnel-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url(/assets/fonts/jetbrains-mono-subset.woff2) format("woff2-variations");
}
/* Arabisch: Vorschlag Readex Pro (OFL 1.1), lokal, arabischer Grundblock, Gewichte 400 bis 700. Wahl des Inhabers offen, siehe docs/SCHRIFTVERGLEICH.md. */
@font-face { font-family: "Readex Arabic"; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/readex-pro-arabic.woff2) format("woff2"); }

/* ── Tokens ── */
:root {
  color-scheme: dark;

  --bg: #0e0f0f;
  --bg-scrim: rgb(14 15 15 / 0.84);
  --surface: #161818;
  --surface-2: #1d201f;
  --line: #282b2a;
  --line-strong: #3b3f3d;
  --text: #ebebe6;
  --text-2: #abada7;
  --text-3: #8b8e88;
  --signal: #eaa43c;
  --signal-soft: rgb(234 164 60 / 0.13);
  --signal-ink: #1a1306;
  --ok: #98c78c;
  /* Neu laut Designplan: nur für Formularfehler, nie dekorativ. */
  --danger: #ef8f7d;
  --danger-soft: rgb(239 143 125 / 0.1);
  --focus: var(--signal);
  /* Prototyp-Markierungen: bewusst eine Farbe außerhalb der Markenpalette. */
  --mark: #b9a8ff;

  --font-display: "Funnel Display Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Funnel Sans Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 560;
  --display-tracking: -0.035em;
  --display-leading: 0.98;
  --h2-weight: 560;
  --h2-tracking: -0.025em;
  --body-leading: 1.6;

  --t-hero: clamp(2.7rem, 1.5rem + 4.9vw, 6rem);
  --t-h1: clamp(2.125rem, 1.5rem + 3.6vw, 4.75rem);
  --t-h2: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem);
  --t-h3: 1.25rem;
  --t-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.75rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --section: clamp(56px, 9vw, 136px);
  --gutter: clamp(16px, 4vw, 48px);
  --content: 1240px;
  --header-h: 72px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --inset: inset 0 1px 0 rgb(255 255 255 / 0.04), inset 0 -1px 0 rgb(0 0 0 / 0.5);

  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 560ms;
}

/* Arabisch: eigene Schrift, kein negativer Buchstabenabstand (verbindet sonst die Buchstaben falsch),
   größere Zeilenhöhe und etwas größere Grundschrift. Ziffern bleiben westlich (Entscheidung offen). */
:root[lang="ar"] {
  --font-display: "Readex Arabic", "Funnel Display Variable", system-ui, sans-serif;
  --font-body: "Readex Arabic", "Funnel Sans Variable", system-ui, "Segoe UI", sans-serif;
  --display-weight: 600;
  --display-tracking: 0;
  --display-leading: 1.25;
  --h2-weight: 600;
  --h2-tracking: 0;
  --body-leading: 1.8;
  --t-body: 1.125rem;
  --t-small: 1rem;
  --t-hero: clamp(2.4rem, 1.4rem + 4.2vw, 5.1rem);
  --t-h1: clamp(2.2rem, 1.5rem + 3vw, 4rem);
  --t-h2: clamp(1.75rem, 1.25rem + 2vw, 2.9rem);
}

/* Handy: kompaktere Kopfzeile und Überschriften, damit mehr Inhalt in den ersten Bildschirm passt. */
@media (max-width: 640px) {
  :root { --header-h: 56px; --t-hero: clamp(2.25rem, 1.5rem + 4.4vw, 2.7rem); --t-h1: clamp(1.9rem, 1.4rem + 3vw, 2.4rem); --t-h2: clamp(1.625rem, 1.3rem + 1.6vw, 1.9rem); }
  :root[lang="ar"] { --t-hero: clamp(2rem, 1.4rem + 3.6vw, 2.4rem); --t-h1: clamp(1.8rem, 1.4rem + 2.6vw, 2.2rem); --t-h2: clamp(1.5rem, 1.25rem + 1.4vw, 1.75rem); }
}

@media (max-width: 640px) {
  :root { --body-leading: 1.5; --t-lead: 1rem; }
  :root[lang="ar"] { --body-leading: 1.7; --t-lead: 1.0625rem; }
}

/* ── Grundlagen ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
bdi.ltr, .ltr { direction: ltr; unicode-bidi: isolate; }

.wrap {
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ── Typografie ── */
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: var(--display-leading); text-wrap: balance; }
.h1 { font-family: var(--font-display); font-size: var(--t-h1); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: var(--display-leading); text-wrap: balance; }
.h1, .h2, .display { overflow-wrap: break-word; hyphens: manual; }
.h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: var(--h2-weight); letter-spacing: var(--h2-tracking); line-height: 1; text-wrap: balance; }
:root[lang="ar"] .h2 { line-height: 1.3; }
.h3 { font-family: var(--font-body); font-size: var(--t-h3); font-weight: 620; letter-spacing: -0.01em; line-height: 1.25; }
:root[lang="ar"] .h3 { letter-spacing: 0; font-weight: 600; line-height: 1.45; }
.lead { font-size: var(--t-lead); line-height: var(--body-leading); color: var(--text-2); max-width: 56ch; text-wrap: pretty; }
.data { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.02em; color: var(--text-3); font-variant-numeric: tabular-nums; }
:root[lang="ar"] .data { font-family: var(--font-body); letter-spacing: 0; font-size: 0.8125rem; }
.prose { max-width: 64ch; line-height: var(--body-leading); text-wrap: pretty; }
.muted { color: var(--text-2); }

/* ── Buttons und Links ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 0.975rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: var(--signal-ink); }
@media (hover: hover) { .btn-primary:hover { background: color-mix(in srgb, var(--signal) 86%, white); } }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
@media (hover: hover) { .btn-ghost:hover { border-color: var(--text-2); } }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.55; cursor: default; }
@media (max-width: 640px) { .btn-sm { min-height: 44px; } }
/* Pfeile zeigen in Leserichtung: in RTL gespiegelt, Hover-Schub ebenfalls. */
.arr { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
[dir="rtl"] .arr { transform: scaleX(-1); }
@media (hover: hover) { .btn:hover .arr, .link-cta:hover .arr, a:hover > .arr { transform: translateX(3px); } }
@media (hover: hover) { [dir="rtl"] .btn:hover .arr, [dir="rtl"] .link-cta:hover .arr, [dir="rtl"] a:hover > .arr { transform: scaleX(-1) translateX(3px); } }

.link-cta, .link-sub {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  text-decoration: none; font-size: 0.9375rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.link-cta { font-weight: 650; color: var(--text); }
@media (hover: hover) { .link-cta:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--text-3); } }
.link-sub { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
@media (hover: hover) { .link-sub:hover { color: var(--text); text-decoration-color: var(--text-3); } }
.inline-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
@media (hover: hover) { .inline-link:hover { text-decoration-color: var(--text); } }

/* ── Bewegung respektieren ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::details-content { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
:root[data-motion="off"] { scroll-behavior: auto; }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }

/* ══════════════════════════════════════════
   Prototyp-Leiste und Markierungen
   ══════════════════════════════════════════ */
.proto-bar { position: relative; z-index: 21; background: #141317; border-bottom: 1px dashed color-mix(in srgb, var(--mark) 45%, transparent); font-size: 0.8125rem; color: var(--text-2); }
.proto-in { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 40px; padding-block: 6px; }
@media (max-width: 640px) { .proto-bar { font-size: 0.75rem; line-height: 1.35; } .proto-in { min-height: 36px; padding-block: 4px; } }
.proto-bar strong { color: var(--mark); font-weight: 650; }
.proto-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px; border: 1px dashed color-mix(in srgb, var(--mark) 60%, transparent); border-radius: var(--radius-sm); background: transparent; color: var(--text); font-size: 0.8125rem; cursor: pointer; }
.proto-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1px solid var(--mark); }
.proto-toggle[aria-pressed="true"]::before { background: var(--mark); }

:root[data-marks="on"] [data-mark] { position: relative; outline: 1px dashed color-mix(in srgb, var(--mark) 75%, transparent); outline-offset: 6px; border-radius: 2px; }
:root[data-marks="on"] [data-mark]::after {
  content: attr(data-mark);
  position: absolute; inset-block-start: -15px; inset-inline-end: -6px; z-index: 3;
  padding: 1px 7px; border-radius: 3px;
  background: #1b1922; border: 1px dashed var(--mark); color: var(--mark);
  font: 600 10.5px/1.5 var(--font-mono); letter-spacing: 0.02em; white-space: nowrap; pointer-events: none;
}
:root[lang="ar"][data-marks="on"] [data-mark]::after { font-family: var(--font-body); font-size: 11px; letter-spacing: 0; }
/* Inline-Markierung (z. B. E-Mail-Adresse): nur Unterstreichung, kein Schild, damit nichts überlappt. */
:root[data-marks="on"] [data-mark-inline] { text-decoration: underline dashed var(--mark); text-underline-offset: 4px; }
:root[data-marks="on"] .brief [data-mark] { outline-offset: -5px; }
:root[data-marks="on"] .brief [data-mark]::after { inset-block-start: 8px; inset-inline-end: 8px; }
.mark-note { display: none; }
:root[data-marks="on"] .mark-note { display: block; margin-top: 12px; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--mark) 60%, transparent); border-radius: var(--radius-sm); color: var(--mark); font-size: 0.8125rem; line-height: 1.5; max-width: 70ch; }

/* ══════════════════════════════════════════
   Hintergrundbühne (Canvas)
   ══════════════════════════════════════════ */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background: radial-gradient(110% 85% at 60% 40%, transparent 45%, rgb(0 0 0 / 0.6) 100%); }
[dir="rtl"] .vignette { background: radial-gradient(110% 85% at 40% 40%, transparent 45%, rgb(0 0 0 / 0.6) 100%); }
@media (max-width: 640px) {
  .vignette { background: linear-gradient(90deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.35) 60%, transparent 100%); }
  [dir="rtl"] .vignette { background: linear-gradient(270deg, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0.35) 60%, transparent 100%); }
}
.grain { position: absolute; inset: 0; opacity: 0.06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   H00 Kopfzeile
   ══════════════════════════════════════════ */
.skip { position: absolute; inset-inline-start: var(--gutter); top: 8px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

.sitenav { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.sitenav[data-scrolled], .sitenav[data-open] { background: color-mix(in srgb, var(--bg) 98%, transparent); border-bottom-color: var(--line); }
.sitenav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex: none; }
.brand svg { height: 26px; width: auto; }
.menu { flex: 1; display: flex; justify-content: center; }
.links { display: flex; align-items: center; gap: 2px; }
.links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text-2); text-decoration: none; font-size: 0.9375rem; border-radius: var(--radius-sm); transition: color var(--dur-fast) var(--ease-out); white-space: nowrap; }
.links a[aria-current="page"] { color: var(--text); }
@media (hover: hover) { .links a:not(.btn):hover { color: var(--text); } }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--line-strong); }
.menu-only { display: none; }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.tools .btn-sm { min-height: 44px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: 0.9375rem; transition: border-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .lang:hover { border-color: var(--text-3); } }
.lang[lang="ar"] { font-family: "Segoe UI", system-ui, -apple-system, "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; font-size: 1rem; }
.lang[lang="de"] { font-family: "Funnel Sans Variable", var(--font-body); }
.icon-btn, .menu-btn { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--text-2); cursor: pointer; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
@media (hover: hover) { .icon-btn:hover:not([disabled]), .menu-btn:hover { color: var(--text); border-color: var(--text-3); } }
.motion svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.motion[disabled] { cursor: default; opacity: 0.6; }
.motion[aria-pressed="true"] .i-play, .motion[aria-pressed="false"] .i-pause { display: none; }
.menu-btn { display: none; grid-auto-flow: column; gap: 8px; padding: 0 14px; font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn[aria-expanded="true"] .i-open, .menu-btn[aria-expanded="false"] .i-close { display: none; }

@media (max-width: 1000px) {
  .js .menu-btn { display: inline-grid; }
  .js .menu { display: none; position: absolute; inset: 100% 0 auto; max-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.8); }
  .js .sitenav[data-open] .menu { display: block; }
  .js .links { flex-direction: column; align-items: stretch; gap: 0; max-width: var(--content); margin-inline: auto; padding: 8px var(--gutter) 24px; }
  .js .links li:not(.menu-cta):not(.menu-row) { border-bottom: 1px solid var(--line); }
  .js .links a:not(.btn):not(.lang) { display: flex; min-height: 52px; padding: 0; font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.015em; color: var(--text); text-decoration: none; }
  :root[lang="ar"].js .links a:not(.btn):not(.lang) { letter-spacing: 0; }
  .js .menu-only { display: block; }
  .js .menu-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; color: var(--text-2); font-size: 0.9375rem; }
  .js .links .menu-row .lang { min-height: 44px; padding: 0 16px; font-family: inherit; font-size: 1rem; color: var(--text); }
  :root[lang="de"].js .links .menu-row .lang { font-family: "Segoe UI", system-ui, -apple-system, "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; }
  .js .menu-cta { padding-top: 16px; }
  .js .menu-cta .btn { width: 100%; }
  html:not(.js) .sitenav-in { flex-wrap: wrap; }
  html:not(.js) .menu { order: 3; width: 100%; justify-content: flex-start; }
  html:not(.js) .links { flex-wrap: wrap; margin-inline: -12px; }
}
@media (max-width: 640px) {
  /* Plan H00: Wortmarke, Bewegung, Menü. Sprache und Hauptaktion stehen im aufgeklappten Menü. */
  .tools .cta, .js .tools-lang { display: none; }
  .brand svg { height: 22px; }
}
@media (max-width: 380px) {
  .brand svg { height: 18px; }
  .sitenav-in { gap: 8px; }
  /* Sehr schmal: Menüknopf nur als Symbol, Beschriftung bleibt für Screenreader erhalten. */
  .menu-btn { padding: 0; }
  .menu-btn [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang { padding: 0 8px; }
}

/* ══════════════════════════════════════════
   H01 Hero
   ══════════════════════════════════════════ */
.hero { position: relative; z-index: 1; padding-block: clamp(32px, 7vh, 96px) clamp(48px, 8vh, 96px); }
.hero-copy { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.01em; }
:root[lang="ar"] .kicker { letter-spacing: 0; }
/* T34: frühere style-Attribute als Klassen, damit die Content-Security-Policy ohne 'unsafe-inline' auskommt */
.kicker.kicker-icon { display: flex; align-items: center; gap: 10px; }
.meta.meta-start { justify-content: flex-start; }
.blocks.blocks-after-brief { margin-top: clamp(32px, 5vw, 64px); }
.handover-doc { max-width: 560px; }
.muted.table-note { font-size: var(--t-small); }
.hero-title { font-size: var(--t-hero); max-width: 16ch; }
.hero-title span { display: block; }
.hero-title .quiet { color: var(--text-2); }
.hero-row { display: grid; gap: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.flowline { display: grid; gap: 8px; padding-top: 4px; }
.flow-caption { font-size: 0.8125rem; color: var(--text-3); }
.flowline ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.8125rem; }
.flowline li { position: relative; display: inline-flex; align-items: center; color: var(--text); min-height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--inset); }
.flowline li:not(:last-child) { margin-inline-end: 18px; }
.flowline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 100%; top: 50%; width: 18px; height: 1px; background: var(--line-strong); }
.flowline li.gate { gap: 8px; border-color: color-mix(in srgb, var(--signal) 55%, var(--line-strong)); background: var(--signal-soft); color: var(--signal); font-weight: 600; }
.flowline li.gate::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--signal); }
@media (min-width: 901px) {
  .hero { padding-block: clamp(64px, 12vh, 150px) clamp(72px, 12vh, 140px); }
  .hero-row { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 48px; padding-top: 16px; border-top: 1px solid var(--line); }
  .actions { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .hero { padding-block: 20px 28px; }
  .hero-copy { gap: 14px; }
  .hero-row { gap: 16px; }
  .flowline ol { gap: 6px; }
  .flowline li { min-height: 26px; padding: 0 8px; }
  .flowline li:not(:last-child) { margin-inline-end: 0; }
  .flowline li:not(:last-child)::after { display: none; }
  .head { margin-bottom: 20px; gap: 10px; }
}
@media (max-width: 640px) {
  .actions { display: grid; }
  .actions .btn { width: 100%; }
}

/* ── Fläche unter dem Hero: dämpft den Hintergrund für ruhiges Lesen ── */
.below { position: relative; background: linear-gradient(180deg, transparent 0, var(--bg-scrim) 240px); }
.section { padding-block: var(--section) 0; }
.below > .section:last-child, .below > :last-child { padding-bottom: var(--section); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.head-side { display: grid; gap: 12px; }
@media (max-width: 640px) { .head { grid-template-columns: minmax(0, 1fr); } }

/* ══════════════════════════════════════════
   H02 Zusagen
   ══════════════════════════════════════════ */
.promises { position: relative; }
.promise-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.promise-list li { display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; min-width: 0; }
.promise-list li + li { border-inline-start: 1px solid var(--line); }
.promise-list li:first-child { padding-inline-start: 0; }
.promise-k { display: flex; align-items: center; gap: 10px; }
.promise-k::before { content: ""; width: 8px; height: 8px; flex: none; border: 1px solid var(--text-3); border-radius: 1.5px; }
.promise-list li.gate .promise-k::before { border-color: var(--signal); background: var(--signal); }
.promise-t { font-weight: 640; font-size: 1rem; line-height: 1.35; }
.promise-list li.gate .promise-t { color: var(--signal); }
.promise-d { font-size: var(--t-small); color: var(--text-2); line-height: 1.5; }
@media (max-width: 1000px) {
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-list li { padding: 14px 16px; }
  .promise-list li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .promise-list li:nth-child(even) { padding-inline-end: 0; }
  .promise-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .promise-list li { gap: 4px; padding-block: 12px; }
  .promise-k { gap: 8px; }
  .promise-t { font-size: 0.9375rem; }
  .promise-d { font-size: 0.875rem; line-height: 1.45; }
}
@media (max-width: 380px) {
  .promise-list { grid-template-columns: minmax(0, 1fr); }
  .promise-list li, .promise-list li:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .promise-list li + li { border-top: 1px solid var(--line); }
}

/* ══════════════════════════════════════════
   H03 Leistungen
   ══════════════════════════════════════════ */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: var(--inset); }
.card-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
.icon { display: grid; color: var(--signal); }
.icon svg { width: 22px; height: 22px; }
.card-name { font-size: 1.0625rem; }
.card-tools { display: block; margin-top: 6px; }
.card-note { font-size: var(--t-small); color: var(--text-2); line-height: 1.5; }
.situation { display: grid; gap: 4px; }
.miniflow { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.miniflow ol { display: grid; }
.miniflow li { position: relative; display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); gap: 2px 12px; padding-block: 0 12px; padding-inline-start: 20px; font-size: var(--t-small); line-height: 1.45; }
.miniflow li:last-child { padding-bottom: 0; }
.miniflow li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.42em; width: 8px; height: 8px; border: 1px solid var(--text-3); border-radius: 1.5px; background: var(--surface); z-index: 1; }
.miniflow li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 4px; top: 0.42em; bottom: -0.42em; width: 1px; background: var(--line-strong); }
.mf-k { font-weight: 620; }
.mf-v { color: var(--text-2); }
.miniflow li.gate::before { border-color: var(--signal); background: var(--signal); }
.miniflow li.gate .mf-k, .miniflow li.gate .mf-v { color: var(--signal); }
.miniflow li.gate .mf-v { font-weight: 600; }
.situation-k { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.situation p:last-child { font-size: var(--t-small); color: var(--text-2); line-height: 1.55; }
.benefit { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); font-weight: 540; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
:root[lang="ar"] .benefit { letter-spacing: 0; line-height: 1.5; font-weight: 600; }
.list { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--t-small); }
.list li { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.list li::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--text-3); border-radius: 1.5px; transform: translateY(-1px); }
.list li.gate { color: var(--signal); font-weight: 600; }
.list li.gate::before { border-color: var(--signal); background: var(--signal); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-top: auto; padding-top: 6px; }

.also { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 16px 48px; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); }
.also-title { font-size: 0.875rem; font-weight: 600; color: var(--text-2); padding-top: 4px; }
.also-list { display: grid; }
.also-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) 9rem; gap: 8px 32px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--line); }
.also-list li:first-child { padding-top: 0; }
.also-name { font-weight: 640; }
.also-text { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.also-list .link-sub { justify-self: end; min-height: 0; }
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 48px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.closing-copy { display: grid; gap: 8px; }
.closing-copy p { color: var(--text-2); font-size: var(--t-small); max-width: 62ch; }
@media (max-width: 900px) {
  .also { grid-template-columns: minmax(0, 1fr); }
  .also-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .also-list .link-sub { justify-self: start; min-height: 44px; }
  .closing { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .svc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .card { gap: 14px; padding: 18px 16px; }
  .benefit { font-size: 1.1875rem; }
  :root[lang="ar"] .benefit { font-size: 1.125rem; line-height: 1.45; }
  .list { gap: 8px; padding-top: 12px; }
  .miniflow { padding-top: 12px; }
  .miniflow li { grid-template-columns: 4.75rem minmax(0, 1fr); gap: 2px 10px; padding-bottom: 10px; }
  .also { gap: 8px; margin-top: 20px; padding-top: 14px; }
  .also-list li { padding-block: 10px; }
  .closing { gap: 12px; margin-top: 16px; padding: 18px 16px; }
  .closing .btn { width: 100%; }
}

/* ══════════════════════════════════════════
   H04 Projekte
   ══════════════════════════════════════════ */
.plist { display: grid; border-top: 1px solid var(--line-strong); }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line); }
.preview { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--inset); transition: border-color var(--dur-base) var(--ease-out); }
.pbody { display: grid; gap: 12px; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ptitle { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 560; letter-spacing: -0.025em; line-height: 1.05; }
:root[lang="ar"] .ptitle { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.ptitle a { text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 4px; }
.pheadline { color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 650; }
@media (hover: hover) { .prow:hover .preview { border-color: var(--text-3); } }
@media (hover: hover) { .prow:hover .more .arr { transform: translateX(3px); } }
@media (hover: hover) { [dir="rtl"] .prow:hover .more .arr { transform: scaleX(-1) translateX(3px); } }
@media (hover: hover) { .prow:hover .ptitle a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--text-3); } }
@media (max-width: 640px) {
  .prow { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; padding-block: 14px; }
  .preview { aspect-ratio: 2 / 1; }
  .pbody { gap: 8px; }
}

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8125rem; color: var(--text-2); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.chip[data-tone="build"]::before { background: var(--text-2); }
.chip[data-tone="test"]::before, .chip[data-tone="live"]::before { background: var(--ok); }

/* Projektvorschau (SVG) */
.pv { display: block; width: 100%; height: 100%; }
.pv-bg { fill: var(--bg); }
.pv-grid line { stroke: var(--line); stroke-width: 1; opacity: 0.6; }
.pv-route { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0.7; }
.pv-line { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.pv-node { fill: var(--surface-2); stroke: var(--line-strong); }
.pv-node.strong { stroke: var(--text-3); }
.pv-gate { fill: var(--signal-soft); stroke: var(--signal); }
.pv-panel rect { fill: var(--surface); stroke: var(--line-strong); }
.pv-panel line { stroke: var(--line); }
.pv-label { fill: var(--text-2); font: 600 13px var(--font-body); text-anchor: middle; dominant-baseline: middle; }
.pv-label.sm { font-size: 11px; }
.pv-label.gate { fill: var(--signal); }
.pv-label.ink { fill: var(--bg); }
.pv-cap { fill: var(--text-3); font: 500 11px var(--font-mono); }
:root[lang="ar"] .pv-cap { font-family: var(--font-body); font-size: 12px; }
.pv-cap.mid { text-anchor: middle; }
.pv-bar { fill: var(--line); }
.pv-ok { fill: var(--ok); }
.pv-sig { fill: var(--signal); }
.pv-dim { fill: var(--text-3); }
.pv-cta { fill: var(--text-2); }
.pv-track { stroke: var(--line-strong); stroke-width: 2; }
.pv-track.ok { stroke: var(--ok); }
.pv-dot { fill: var(--surface-2); stroke: var(--line-strong); }
.pv-dot.ok { fill: var(--ok); stroke: var(--ok); }

/* ══════════════════════════════════════════
   H05 Einblick (Demo)
   ══════════════════════════════════════════ */
.panel { display: grid; gap: 22px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: var(--inset); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 12px 16px; flex-wrap: wrap; }
.panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sub { margin-inline-start: 6px; font-size: 0.875rem; font-weight: 500; color: var(--text-3); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.875rem; color: var(--text-2); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); }
[data-flow][data-state="running"] .dot { background: var(--text-2); }
[data-flow][data-state="waiting"] .dot, .status.gate .dot { background: var(--signal); }
[data-agent][data-state="drafting"] .status.gate .dot { background: var(--text-3); }
[data-agent][data-state="approved"] .status.gate .dot { background: var(--ok); }

.nodes { display: grid; gap: 8px; }
.node { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind state" "name state"; align-items: center; column-gap: 12px; row-gap: 2px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); min-width: 0; transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.node:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 22px; bottom: -9px; width: 1px; height: 8px; background: var(--line-strong); }
.kind { grid-area: kind; }
.node-name { grid-area: name; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.node-state { grid-area: state; font-size: 0.8125rem; color: var(--text-3); }
.node[data-state="ok"] { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.node[data-state="ok"] .node-state { color: var(--ok); }
.node[data-state="run"] { border-color: var(--text-2); background: var(--surface-2); }
.node[data-state="run"] .node-state { color: var(--text); }
.node[data-state="wait"] { border-color: var(--signal); background: var(--signal-soft); }
.node[data-state="wait"] .node-state, .node[data-state="wait"] .node-name { color: var(--signal); }
.node[data-state="idle"] { opacity: 0.55; }
@media (min-width: 1001px) {
  .nodes { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
  .node { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kind" "name" "state"; align-content: start; row-gap: 4px; padding: 12px; }
  .node-name { font-size: 0.875rem; }
  .node:not(:last-child)::after { inset-inline-start: auto; inset-inline-end: -11px; top: 50%; bottom: auto; width: 10px; height: 1px; }
}
.log-wrap { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.log-title, .basis-title { font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.log { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.6; color: var(--text-2); min-height: calc(7 * 1.6em + 6 * 6px); }
:root[lang="ar"] .log { font-family: var(--font-body); font-size: 0.8125rem; }
.log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.log .t { color: var(--text-3); font-variant-numeric: tabular-nums; font-family: var(--font-mono); direction: ltr; text-align: start; }
.log b { color: var(--text); font-weight: 600; }
.log li.gate b { color: var(--signal); }
/* Plan H05: Protokoll zugeklappt. Mobil zuerst nur Anfrage, Entwurf, Ihre Freigabe; der Rest ist aufklappbar. Ohne JavaScript bleibt alles sichtbar. */
.flow-more { display: none; justify-self: start; }
.js .flow-more { display: inline-flex; }
.js [data-flow]:not([data-expanded]) .log-wrap { display: none; }
@media (max-width: 640px) {
  .js [data-flow]:not([data-expanded]) .node:not([data-key]) { display: none; }
  .panel { gap: 14px; padding: 16px; }
  .panel-head { gap: 10px; }
  .nodes { gap: 6px; }
  .node { padding: 8px 12px; }
  .node:not(:last-child)::after { bottom: -7px; height: 6px; }
  .mail { padding: 12px; }
  .mail-meta { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
  .row2 { margin-top: 10px; gap: 8px; }
  .benefits { gap: 8px; padding-top: 6px; }
  .benefit-list li { gap: 2px; padding-block: 10px; }
  .flow-more { justify-self: stretch; }
  .js [data-flow]:not([data-expanded]) .node[data-gate]::after { display: none; }
  .benefit-list .data { display: none; }
}
.row2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: start; margin-top: 16px; }
.approval { border-color: color-mix(in srgb, var(--signal) 35%, var(--line)); }
[data-agent][data-state="approved"].approval { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.note { font-size: var(--t-small); color: var(--text-2); line-height: 1.6; }
.mail { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-size: 0.9375rem; transition: opacity var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.mail-meta { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; color: var(--text-2); font-size: 0.875rem; }
.mail-meta .data { padding-top: 2px; }
.mail-body { display: grid; gap: 8px; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); line-height: var(--body-leading); }
[data-agent][data-state="drafting"] .mail, [data-agent][data-state="drafting"] .basis { opacity: 0.4; }
[data-agent][data-state="approved"] .mail { border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
.basis { display: grid; gap: 10px; transition: opacity var(--dur-base) var(--ease-out); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.8125rem; color: var(--text-2); }
.agent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.benefits { display: grid; gap: 20px; padding-top: 8px; }
.benefit-list li { display: grid; gap: 6px; padding-block: 18px; border-top: 1px solid var(--line); }
.benefit-list li:last-child { border-bottom: 1px solid var(--line); }
.benefit-title { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.01em; }
:root[lang="ar"] .benefit-title { letter-spacing: 0; }
.benefit-text { font-size: var(--t-small); color: var(--text-2); line-height: 1.6; }
@media (max-width: 1000px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .panel-head .btn, .agent-actions .btn { width: 100%; }
  .panel-actions { width: 100%; }
  .log li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ══════════════════════════════════════════
   H06 Was Ihnen gehört
   ══════════════════════════════════════════ */
.owned-list { display: grid; }
.owned-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 48px; padding-block: 20px; border-top: 1px solid var(--line); }
.owned-list li:last-child { border-bottom: 1px solid var(--line); }
.owned-t { font-weight: 640; font-size: 1.0625rem; }
.owned-d { color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 62ch; }
@media (max-width: 640px) {
  .owned-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 12px; }
  .owned-d { line-height: 1.5; }
}
.doc { display: grid; gap: 0; padding: 0; overflow: hidden; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.doc-title { font-weight: 640; }
.doc-rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 22px; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.doc-rows li:last-child { border-bottom: 0; }
.doc-rows .chk { width: 16px; height: 16px; margin-top: 3px; border: 1px solid color-mix(in srgb, var(--ok) 60%, var(--line-strong)); border-radius: 3px; display: grid; place-items: center; color: var(--ok); }
.doc-rows .chk svg { width: 10px; height: 10px; }
.doc-rows small { display: block; color: var(--text-3); font-size: 0.8125rem; }
.doc-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent); font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; }
@media (max-width: 640px) { .doc-head { padding: 12px 14px; } .doc-rows li { padding: 9px 14px; } .doc-foot { padding: 10px 14px; } }

/* ══════════════════════════════════════════
   H07 Zusammenarbeit (Zeitleiste)
   ══════════════════════════════════════════ */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; padding-inline-end: 20px; min-width: 0; }
.tl-mark { position: relative; display: flex; align-items: center; height: 28px; }
.tl-mark::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: var(--line-strong); }
.timeline li:last-child .tl-mark::before { display: none; }
.tl-num { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-2); }
.timeline li.gate .tl-num { border-color: var(--signal); background: var(--signal); color: var(--signal-ink); font-weight: 700; }
.tl-t { font-weight: 640; line-height: 1.35; }
.timeline li.gate .tl-t { color: var(--signal); }
.tl-d { color: var(--text-2); font-size: var(--t-small); line-height: 1.55; }
.tl-gate { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--signal); }
.tl-gate::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--signal); }
.tl-note { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(24px, 3vw, 36px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-2); font-size: var(--t-small); }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding-inline-end: 0; padding-bottom: 16px; }
  .tl-mark { grid-row: 1 / span 3; height: 100%; align-items: flex-start; }
  .tl-mark::before { inset-inline: auto; inset-inline-start: 14px; top: 28px; bottom: -22px; width: 1px; height: auto; }
  .timeline li:last-child .tl-mark::before { display: none; }
  .tl-t, .tl-d, .tl-gate { grid-column: 2; }
  .tl-d { line-height: 1.45; }
}
@media (max-width: 640px) { .tl-note { gap: 6px; margin-top: 4px; padding-top: 12px; } }

/* ══════════════════════════════════════════
   H08 Über mich
   ══════════════════════════════════════════ */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(24px, 5vw, 72px); row-gap: 16px; align-items: start; }
/* Plan H08: Text links, Foto rechts. Keine Filter auf dem Bild; der dunkle Grund geht in die Seite über. */
.portrait { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #181818; box-shadow: var(--inset); }
.portrait picture { display: contents; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-id { grid-column: 1; grid-row: 1; }
.about-name { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 560; letter-spacing: -0.02em; line-height: 1.1; }
:root[lang="ar"] .about-name { letter-spacing: 0; line-height: 1.4; }
.about-role { color: var(--text-2); }
.about-text { grid-column: 1; display: grid; gap: 14px; max-width: 62ch; }
.about-facts { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.about-facts > div { display: grid; gap: 4px; align-content: start; padding-block-start: 14px; padding-inline-end: 16px; min-width: 0; }
.about-facts > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.about-facts dt { font-size: 0.8125rem; color: var(--text-3); }
.about-facts dd { font-size: var(--t-small); line-height: 1.45; }
@media (max-width: 640px) {
  /* Plan H08: Foto über dem Text. Name und Rolle stehen direkt unter dem Foto, nie im Bild (Inhaber, 09.11.2026). */
  .about { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .portrait { grid-column: 1; grid-row: 1; aspect-ratio: 5 / 4; }
  .about-id { grid-column: 1; grid-row: 2; }
  .about-name { font-size: 1.375rem; }
  .about-role { font-size: var(--t-small); }
  .about-text { gap: 10px; }
  .about-facts > div { padding-block-start: 10px; }
}

/* ══════════════════════════════════════════
   H09 Häufige Fragen
   ══════════════════════════════════════════ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
.faq-head { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 16px; min-height: 64px; padding-block: 14px; cursor: pointer; list-style: none; font-weight: 620; font-size: 1.0625rem; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq-list summary:hover { color: var(--text); } }
.plus { position: relative; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text-2); transform: translate(-50%, -50%); transition: transform var(--dur-base) var(--ease-out); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { color: var(--text-2); font-size: var(--t-small); line-height: 1.65; max-width: 64ch; }
.faq-a-in { display: grid; gap: 10px; padding-bottom: 20px; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: clip; transition: block-size var(--dur-base) var(--ease-out), content-visibility var(--dur-base) var(--ease-out) allow-discrete; }
  details[open]::details-content { block-size: auto; }
}
@media (max-width: 640px) {
  .faq-list summary { min-height: 52px; padding-block: 10px; font-size: 1rem; line-height: 1.35; gap: 12px; }
  .faq-a { line-height: 1.5; }
  .faq-a-in { gap: 8px; padding-bottom: 14px; }
  .faq-head { gap: 10px; }
}
@media (max-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}

/* ══════════════════════════════════════════
   H10 Kontakt
   ══════════════════════════════════════════ */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head head" "main side"; gap: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 64px); align-items: start; }
.contact-head { grid-area: head; display: grid; gap: 12px; }
.contact-main { grid-area: main; min-width: 0; }
.contact-side { grid-area: side; display: grid; gap: 14px; }
.contact-next { display: grid; gap: 10px; font-size: var(--t-small); color: var(--text-2); line-height: 1.5; }
.contact-next li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.contact-alt { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--text-2); }
.contact-alt a { display: inline-flex; align-items: center; min-height: 44px; width: max-content; max-width: 100%; color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--text-3); overflow-wrap: anywhere; }
/* E-Mail nach Anlass (T33): Anfragen hervorgehoben, Support und Geschäftsleitung ruhiger, ein Unternehmen, keine Abteilungen. */
.contact-mail dl { display: grid; gap: 2px; margin: 2px 0 0; }
.contact-mail dt { padding-top: 6px; font-size: 0.8125rem; color: var(--text-3); }
.contact-mail dd { margin: 0; }
.contact-mail .mail-main dt { color: var(--text-2); }
.contact-mail .mail-more a { font-weight: 500; color: var(--text-2); }
html:not(.js) .form-foot { display: none; }

.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.875rem; font-weight: 600; }
.req { color: var(--text-3); font-weight: 500; }
.hint { font-size: 0.8125rem; color: var(--text-3); line-height: 1.45; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 85%, transparent); color: var(--text); font-size: 1rem; line-height: 1.4; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.input::placeholder { color: var(--text-3); }
@media (hover: hover) { .input:hover { border-color: var(--text-3); } }
.input:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px rgb(234 164 60 / 0.25); }
textarea.input { min-height: 112px; resize: vertical; }
select.input { appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23abada7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; }
[dir="rtl"] select.input { background-position: left 14px center; }
select.input option { background: var(--surface); color: var(--text); }
.input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.field-error { display: flex; gap: 8px; align-items: baseline; font-size: 0.8125rem; color: var(--danger); font-weight: 600; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1px solid var(--danger); font-size: 0.6875rem; line-height: 1; }
.optional { border: 1px solid var(--line); border-radius: var(--radius-sm); }
.optional > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 0.9375rem; font-weight: 600; }
.optional > summary::-webkit-details-marker { display: none; }
.optional > .form-grid { padding: 4px 14px 16px; }
.privacy { font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; max-width: 64ch; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.error-summary { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--danger); border-radius: var(--radius-sm); background: var(--danger-soft); }
.error-summary h3 { font-size: 0.9375rem; color: var(--danger); }
.error-summary ul { display: grid; gap: 4px; font-size: 0.875rem; }
.error-summary a { color: var(--text); }
.form-alert { padding: 14px 16px; border: 1px solid var(--danger); border-radius: var(--radius-sm); background: var(--danger-soft); font-size: 0.9375rem; line-height: 1.5; }
.form-alert strong { color: var(--danger); }
.spinner { width: 16px; height: 16px; border: 2px solid rgb(26 19 6 / 0.35); border-top-color: var(--signal-ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid color-mix(in srgb, var(--ok) 50%, var(--line)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 82%, transparent); }
.success-title { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.125rem; }
.success-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.success dl { display: grid; gap: 6px; font-size: 0.875rem; }
.success dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.success dt { color: var(--text-3); }
.success dd { overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main" "side"; } }
@media (max-width: 640px) {
  .form { gap: 14px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .form-foot .btn { width: 100%; }
  .success dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ══════════════════════════════════════════
   H11 Fußzeile
   ══════════════════════════════════════════ */
.foot { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 28px 40px; padding-block: clamp(32px, 5vw, 64px) 24px; }
.foot-brand { display: grid; gap: 8px; align-content: start; justify-items: start; }
.foot-logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot-brand svg { height: 24px; width: auto; }
.foot-brand p { color: var(--text-2); font-size: var(--t-small); max-width: 38ch; line-height: 1.5; }
.foot h2 { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); margin-bottom: 4px; }
.foot-brand h2 { margin-top: 10px; margin-bottom: 0; }
.foot-h2-2 { margin-top: 16px; }
/* Plan Abschnitt 9: Touch-Ziele mindestens 44 px, auch in der Fußzeile. */
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; color: var(--text-2); text-decoration: none; font-size: var(--t-small); }
@media (hover: hover) { .foot ul a:hover { color: var(--text); } }
.foot-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.foot-tools { display: flex; align-items: center; gap: 8px; }
.foot-bottom { padding-block: 14px max(24px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--text-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .foot-legal ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .foot-h2-2 { margin-top: 8px; }
}

/* ══════════════════════════════════════════
   Unterseiten: Kopf, Steckbrief, Blöcke
   ══════════════════════════════════════════ */
.sub-page { background: linear-gradient(180deg, rgb(14 15 15 / 0.35) 0, var(--bg-scrim) 420px); }
.page-head { display: grid; gap: clamp(16px, 2vw, 24px); padding-block: clamp(20px, 4vh, 56px) clamp(32px, 5vh, 64px); }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: 0.9375rem; }
@media (hover: hover) { .crumbs a:hover { color: var(--text); } }
[dir="rtl"] .crumbs .back { display: inline-block; transform: scaleX(-1); }
.page-lead { max-width: 54ch; color: var(--text); }
.page-head .actions { justify-content: flex-start; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; align-content: start; padding-block-start: 16px; padding-inline-end: 16px; min-width: 0; }
.facts > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.facts dt { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--text-3); letter-spacing: 0.02em; }
:root[lang="ar"] .facts dt { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0; }
.facts dd { font-size: var(--t-small); line-height: 1.45; }
.consent { padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); font-size: var(--t-small); color: var(--text-2); max-width: 70ch; }
.consent strong { color: var(--text); }
@media (max-width: 640px) {
  .page-head { gap: 10px; padding-block: 4px 20px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2px; }
  .facts > div { padding-block-start: 10px; padding-block-end: 8px; }
  .facts > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts dd { line-height: 1.35; }
}

.blocks { display: grid; gap: 0; padding-bottom: var(--section); }
.block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 48px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.block-label { font-size: 0.875rem; font-weight: 600; color: var(--text-2); padding-top: 3px; }
.block-label .data { display: block; margin-top: 4px; }
.block-body { display: grid; gap: 18px; min-width: 0; }
.block-wide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (max-width: 640px) {
  .block { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 20px; }
  .block-body { gap: 12px; }
}

.case-preview { aspect-ratio: 16 / 10; margin-bottom: clamp(16px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--inset); }
@media (min-width: 641px) { .case-preview { width: min(720px, calc((100% - 48px) * 0.75)); margin-inline-start: calc((100% - 48px) * 0.25 + 48px); } }
@media (max-width: 640px) { .case-preview { aspect-ratio: 2 / 1; } .steps li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding-block: 10px; } .step-text { line-height: 1.5; } .plain-list, .checks, .state ul { gap: 8px; } .brief > div { gap: 2px; padding: 12px 14px; } .cases { gap: 8px; } .case-card { gap: 10px; padding: 14px; } .cta-band { gap: 14px; padding: 18px 16px; } .legal { gap: 18px; } }
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps .num { padding-top: 3px; }
.steps li.gate .num { color: var(--signal); }
.step-title { font-weight: 640; }
.steps li.gate .step-title { color: var(--signal); }
.step-text { color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 62ch; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.team > div { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.team dt { font-weight: 640; }
.team dd { color: var(--text-2); font-size: var(--t-small); }
@media (max-width: 640px) { .team { grid-template-columns: minmax(0, 1fr); } }
.checks { display: grid; gap: 10px; max-width: 66ch; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--text-2); font-size: var(--t-small); line-height: 1.6; }
.checks li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-inline-start: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
[dir="rtl"] .checks li::before { transform: rotate(45deg) scaleX(-1); }
.finding { margin-top: 4px; display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--inset); max-width: 72ch; }
.finding-title { font-weight: 650; }
.state { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.state-title { font-size: 0.9375rem; font-weight: 620; margin-bottom: 10px; }
.state ul { display: grid; gap: 8px; font-size: var(--t-small); color: var(--text-2); }
.state li { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.state li::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; border: 1px solid var(--text-3); transform: translateY(-1px); }
.state .done li::before { border-color: var(--ok); background: var(--ok); }
@media (max-width: 640px) { .state { grid-template-columns: minmax(0, 1fr); } }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--inset); }
.cta-band p { color: var(--text-2); font-size: var(--t-small); max-width: 60ch; margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cta-actions { display: grid; width: 100%; } .cta-actions .btn { width: 100%; } }

/* Steckbrief (Leistungsseiten, E02/O02) */
.brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: color-mix(in srgb, var(--surface) 78%, transparent); box-shadow: var(--inset); }
.brief > div { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.brief > div:nth-child(3n) { border-inline-end: 0; }
.brief > div:nth-last-child(-n+3) { border-bottom: 0; }
.brief dt { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.brief dd { font-size: var(--t-small); line-height: 1.55; }
.brief .gate dt { color: var(--signal); }
@media (max-width: 900px) {
  .brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief > div { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .brief > div:nth-child(2n) { border-inline-end: 0; }
  .brief > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .brief { grid-template-columns: minmax(0, 1fr); }
  .brief > div { border-inline-end: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .brief > div:last-child { border-bottom: 0 !important; }
}

/* Situationen (Automatisierung) */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-card { display: grid; gap: 14px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 78%, transparent); box-shadow: var(--inset); min-width: 0; }
.case-card h3 { font-size: 1.0625rem; font-weight: 640; }
.case-rows { display: grid; gap: 10px; }
.case-rows div { display: grid; gap: 2px; }
.case-rows dt { font-size: 0.8125rem; color: var(--text-3); }
.case-rows dd { font-size: var(--t-small); color: var(--text-2); line-height: 1.55; }
.case-rows .gate dt { color: var(--signal); }
@media (max-width: 1000px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* Fehlerfälle als Tabelle (nur hier horizontal scrollbar, falls nötig) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.table { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 520px; }
.table th, .table td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 620; white-space: nowrap; }
.table td { color: var(--text-2); }
@media (max-width: 640px) { .table { min-width: 0; } .table th, .table td { padding: 9px 12px; } .table td:first-child { white-space: normal; width: 34%; } }

.plain-list { display: grid; gap: 10px; max-width: 66ch; }
.plain-list li { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 12px; align-items: baseline; color: var(--text-2); font-size: var(--t-small); line-height: 1.6; }
.plain-list li::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; border: 1px solid var(--text-3); transform: translateY(-1px); }
.plain-list li.gate { color: var(--signal); font-weight: 600; }
.plain-list li.gate::before { border-color: var(--signal); background: var(--signal); }
.plain-list strong { color: var(--text); font-weight: 620; }

/* Rechtsseiten (Platzhalter) */
.legal { display: grid; gap: 28px; max-width: 72ch; padding-bottom: var(--section); }
.legal h2 { font-size: 1.125rem; font-weight: 640; margin-bottom: 8px; }
.legal p, .legal li { color: var(--text-2); font-size: var(--t-small); line-height: 1.65; }
.ph { display: inline-block; padding: 0 6px; border: 1px dashed var(--line-strong); border-radius: 3px; color: var(--text-3); font-family: var(--font-mono); font-size: 0.8125rem; }
:root[lang="ar"] .ph { font-family: var(--font-body); }

/* Bild eines Projekts aus dem Admin-Bereich: füllt den Rahmen der Vorschau. */
.preview img.cover, .case-preview img.cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview picture, .case-preview picture { display: contents; }

/* ══════════════════════════════════════════
   Erweiterte Projektverwaltung (DF-033): Projektübersicht, Galerie, Ergebnisse, Kundenstimme auf der Projektseite.
   Nur vorhandene Werte: Linien, eingelassene Flächen, keine neue Farbe. Bernstein bleibt der Freigabe vorbehalten.
   ══════════════════════════════════════════ */
.plist-more { margin-top: clamp(16px, 2vw, 24px); }
.projects-all { display: grid; gap: clamp(16px, 2vw, 24px); padding-bottom: var(--section); }
.projects-all .cta-band { margin-top: clamp(24px, 4vw, 48px); }
/* Filter nach Leistung: erscheint nur mit JavaScript und erst, wenn es Projekte aus beiden Leistungen gibt. */
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 0.9rem; cursor: pointer; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.chip-btn[aria-pressed="true"] { color: var(--text); border-color: var(--text-3); background: var(--surface-2); box-shadow: var(--inset); }
@media (hover: hover) { .chip-btn:hover { color: var(--text); border-color: var(--text-3); } }
.plist .prow[hidden] { display: none; }
/* Galerie: Bilder in ihrem eigenen Seitenverhältnis, im Rahmen der Vorschau. Zwei Spalten ab 641 px. */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.gallery li { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--inset); background: var(--surface); }
.gallery img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
/* Ergebnisse: Aussage und darunter, wann gemessen wurde. */
.results { display: grid; max-width: 66ch; }
.results li { display: grid; gap: 6px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.results li:first-child { padding-top: 0; }
.result-t { line-height: 1.55; }
/* Kundenstimme auf der Projektseite: dieselbe Tafel wie auf der Startseite, ohne Zeitlinie. */
.rv-single { display: grid; gap: 16px; max-width: 66ch; }

/* ══════════════════════════════════════════
   Kundenbewertungen (DF-034): Entwurf „Faden“.
   Karten an einer Zeitlinie, waagerecht blätterbar: wischen am Handy, Pfeile und Tastatur am Computer.
   Kein automatisches Weiterlaufen. Richtung folgt der Sprache über logische Eigenschaften.
   Sterne in Gold: einzige Ausnahme von der Regel „Bernstein nur für Freigabe und Hauptaktion“.
   ══════════════════════════════════════════ */
:root { --star: #f5b731; --star-off: var(--line-strong); }
/* minmax(0, 1fr): Die Reihe darf breiter sein als die Seite, ohne die Seite selbst zu verbreitern. */
.rv-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rv-track { --rv-gap: clamp(16px, 2vw, 28px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--rv-gap)) / 3); column-gap: var(--rv-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding-block: 4px 10px; margin-block: -4px 0; border-radius: var(--radius-sm); }
.js .rv-track { scrollbar-width: none; }
.js .rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline-offset: 6px; }
/* position: relative: Unsichtbare Texte für Vorleseprogramme (.sr-only) bleiben so in ihrer Karte und
   verbreitern nicht die ganze Seite, wenn die Karte außerhalb des sichtbaren Bereichs liegt. */
.rv-stop { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; scroll-snap-align: start; }
.rv-mark { display: flex; align-items: center; gap: 10px; height: 28px; }
.rv-node { width: 11px; height: 11px; flex: none; border: 1px solid var(--text-3); border-radius: 2px; background: var(--surface-2); box-shadow: var(--inset); }
/* Der Faden: läuft vom Datum bis zum nächsten Knoten. */
.rv-mark::after { content: ""; flex: 1; height: 1px; margin-inline-end: calc(-1 * var(--rv-gap)); background: var(--line-strong); }
.rv-stop:last-child .rv-mark::after { margin-inline-end: 0; background: linear-gradient(to right, var(--line-strong), transparent); }
[dir="rtl"] .rv-stop:last-child .rv-mark::after { background: linear-gradient(to left, var(--line-strong), transparent); }
.rv-plate { grid-template-rows: auto 1fr auto; gap: 16px; margin: 0; padding: clamp(18px, 2vw, 24px); }
.rv-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.rv-plate blockquote { display: grid; gap: 8px; align-content: start; }
.rv-plate blockquote p:first-child { font-size: 1.0625rem; line-height: var(--body-leading); text-wrap: pretty; }
.rv-plate figcaption { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rv-stars { display: inline-flex; align-items: center; gap: 3px; flex: none; line-height: 0; }
.rv-stars svg { width: 18px; height: 18px; }
.rv-stars .on, .rv-sum svg { fill: var(--star); }
.rv-stars .off { fill: none; stroke: var(--star-off); stroke-width: 1.3; stroke-linejoin: round; }
.rv-nostars { font-size: 0.8125rem; color: var(--text-3); line-height: 1.4; }
.rv-who { display: grid; gap: 2px; min-width: 0; }
.rv-name { font-weight: 640; line-height: 1.35; }
.rv-role { color: var(--text-2); font-size: var(--t-small); line-height: 1.45; }
.rv-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.rv-src { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; color: var(--text-2); font-size: var(--t-small); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
span.rv-src { text-decoration: none; }
@media (hover: hover) { a.rv-src:hover { color: var(--text); text-decoration-color: var(--text-3); } }
.rv-ext { font-size: 0.85em; line-height: 1; }
[dir="rtl"] .rv-ext { transform: scaleX(-1); }
.rv-ver, .rv-tr { color: var(--text-3); font-size: 0.8125rem; }
.rv-ver { white-space: nowrap; }
.rv-sum { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.rv-sum svg { width: 16px; height: 16px; flex: none; }
.rv-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rv-pos { color: var(--text-3); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.rv-btns { display: flex; gap: 8px; }
.rv-btns .icon-btn svg { width: 16px; height: 16px; }
.rv-btns .icon-btn[disabled] { opacity: 0.4; cursor: default; }
/* Der Pfeil zeigt immer in Blätterrichtung: „weiter“ nach rechts im Deutschen, nach links im Arabischen. */
.rv-next svg, [dir="rtl"] .rv-prev svg { transform: scaleX(-1); }
[dir="rtl"] .rv-next svg { transform: none; }
.rv-proof { max-width: 64ch; margin-top: clamp(20px, 2.6vw, 32px); padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .rv-track { grid-auto-columns: calc((100% - var(--rv-gap)) / 2); } }
/* Handy: eine Karte, die nächste schaut am Rand heraus und zeigt, dass es weitergeht. */
@media (max-width: 640px) { .rv-track { grid-auto-columns: 86%; } .rv-src { min-height: 44px; } }

/* Kontaktangaben: Telefon und WhatsApp unter der E-Mail-Adresse (DF-033: kein fester WhatsApp-Knopf). */
.contact-phone a + a { margin-top: 2px; }
.ext { font-size: 0.85em; line-height: 1; }
[dir="rtl"] .ext { transform: scaleX(-1); }
.contact-alt a .ext { margin-inline-start: 6px; }

/* Seite für unbekannte Adressen (404): Deutsch und Arabisch untereinander, mit vorhandenen Abständen. */
.nf-wrap { display: grid; gap: clamp(40px, 6vw, 72px); padding-block: clamp(32px, 6vh, 72px) var(--section); }
.nf { display: grid; gap: clamp(14px, 2vw, 20px); max-width: 60ch; }
.nf + .nf { padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.nf .actions { justify-content: flex-start; }

/* ══════════════════════════════════════════
   T31: Neue Abschnitte der Startseite (Entscheidung vom 18.11.2026).
   Nur vorhandene Farben, Schriften, Flächen und Abstände. Bernstein bleibt bei Freigabe und Hauptaktion.
   ══════════════════════════════════════════ */

/* Hinweis unter der Hauptaktion im Kopfbereich */
.hero-cta { display: grid; gap: 10px; }
.hero-note { font-size: 0.875rem; color: var(--text-2); }
@media (min-width: 901px) { .hero-cta { justify-items: end; text-align: end; } }
@media (max-width: 640px) { .hero-cta { gap: 8px; } .hero-note { font-size: 0.8125rem; } }

/* Kopf eines Leistungsabschnitts: Name der Leistung mit Symbol über der Überschrift */
.head-main { display: grid; gap: 12px; }
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--text-2); }
.sec-kicker .icon svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .head-main { gap: 8px; } .sec-kicker { font-size: 0.875rem; } }

/* Alltagssituationen: Szenen als ruhige Liste, je mit Weg zum Beispiel */
.sit-list { display: grid; border-top: 1px solid var(--line-strong); }
.sit-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) auto; gap: 6px 40px; align-items: baseline; padding-block: clamp(18px, 2.4vw, 26px); border-bottom: 1px solid var(--line); }
/* Zeit oder Ort der Szene: Textschrift, Monospace bleibt echten Daten vorbehalten (Designsystem) */
.sit-when { padding-top: 3px; font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0; }
.sit-body { display: grid; gap: 6px; max-width: 62ch; }
.sit-t { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); font-weight: 560; letter-spacing: -0.015em; line-height: 1.25; text-wrap: balance; }
:root[lang="ar"] .sit-t { letter-spacing: 0; line-height: 1.5; font-weight: 600; }
.sit-d { color: var(--text-2); font-size: var(--t-small); line-height: 1.6; text-wrap: pretty; }
.sit-link { white-space: nowrap; }
@media (max-width: 900px) {
  .sit-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sit-link { justify-self: start; }
}
@media (max-width: 640px) { .sit-list li { padding-block: 14px 8px; } .sit-d { line-height: 1.5; } }

/* Beispiele vorher und nachher. Ohne JavaScript stehen alle Beispiele untereinander, die Reiter bleiben verborgen. */
.ex { display: grid; gap: 14px; }
.ex-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.ex-tab[aria-selected="true"] { color: var(--text); border-color: var(--text-3); background: var(--surface-2); box-shadow: var(--inset); }
@media (hover: hover) { .ex-tab:hover { color: var(--text); border-color: var(--text-3); } }
.ex-panel { gap: 18px; }
.ex-title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 560; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
:root[lang="ar"] .ex-title { letter-spacing: 0; font-weight: 600; line-height: 1.45; }
.ex-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.ex-col { display: grid; gap: 12px; align-content: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.ex-after { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.ex-k { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.ex-after .ex-k { color: var(--ok); }
.ex-col ul { display: grid; gap: 10px; }
.ex-col li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: var(--t-small); line-height: 1.55; }
.ex-before li { color: var(--text-2); }
.ex-col li::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--text-3); border-radius: 1.5px; transform: translateY(-1px); }
/* Häkchen in Grün für „mit Automatisierung“ (Farbe für „erledigt“, nie Bernstein) */
.ex-after li::before { width: 10px; height: 5px; border: 0; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok); border-radius: 0; transform: translateY(-3px) rotate(-45deg); }
.ex-arrow { display: grid; place-items: center; color: var(--text-3); font-size: 1.25rem; }
.ex-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.ex-result > div { display: grid; gap: 4px; align-content: start; }
.ex-result dt { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.ex-result dd { font-size: var(--t-small); line-height: 1.55; }
.ex-result .gate dt { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); }
.ex-result .gate dt::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--signal); }
.ex-note { max-width: 72ch; margin-top: 12px; }
@media (max-width: 760px) {
  .ex-compare { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ex-arrow { transform: rotate(90deg); font-size: 1.1rem; }
  [dir="rtl"] .ex-arrow { transform: rotate(-90deg); }
  .ex-col { gap: 8px; padding: 14px 16px; }
  .ex-result { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 12px; }
}
@media (max-width: 640px) {
  .ex-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ex-tab { padding: 6px 8px; border-radius: var(--radius-sm); text-align: center; line-height: 1.25; font-size: 0.875rem; }
  .ex-panel { gap: 12px; }
  .ex-col li { line-height: 1.45; gap: 8px; }
}
/* „Ihr Ablauf ist nicht dabei?“: die Beispiele sind ein Ausschnitt */
.ex-more { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 48px; margin-top: clamp(24px, 3.5vw, 40px); padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 55%, transparent); box-shadow: var(--inset); }
.ex-more-copy { display: grid; gap: 8px; }
.ex-more-copy p { color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 60ch; }
.ex-more-k { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.ex-more-list .list { border-top: 0; padding-top: 10px; }
.ex-more-foot { grid-column: 1 / -1; justify-content: flex-start; gap: 4px 24px; padding-top: 0; }
.tech-hint { margin-top: 14px; font-size: 0.875rem; color: var(--text-3); }
@media (max-width: 900px) { .ex-more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ex-more { gap: 10px; padding: 16px; } }

/* Webdesign: drei Punkte zu Vertrauen, Auftritt und Kontakt, daneben „selbst ändern“ mit vereinfachtem Bedienfeld */
.web-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.web-points { display: grid; border-top: 1px solid var(--line-strong); }
.web-points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.web-t { font-weight: 640; font-size: 1.0625rem; line-height: 1.35; }
.web-d { margin-top: 4px; color: var(--text-2); font-size: var(--t-small); line-height: 1.6; max-width: 60ch; }
.web-self { gap: 12px; }
.mock { margin-top: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mock-body { display: grid; gap: 10px; padding: 14px; }
.mock-field { display: grid; gap: 4px; }
.mock-k { font-size: 0.75rem; color: var(--text-3); }
.mock-v { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.875rem; color: var(--text); overflow-wrap: anywhere; }
.mock-btn { justify-self: start; padding: 8px 14px; border-radius: var(--radius-sm); background: var(--signal); color: var(--signal-ink); font-size: 0.8125rem; font-weight: 650; }
.mock-cap { font-size: 0.8125rem; color: var(--text-3); }
.web-foot { margin-top: clamp(20px, 3vw, 32px); padding-top: 14px; border-top: 1px solid var(--line); }
.web-also { color: var(--text-2); font-size: var(--t-small); max-width: 60ch; padding-block: 10px; }
.web-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
@media (max-width: 900px) { .web-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .web-points li { gap: 12px; padding-block: 12px; } .web-d { line-height: 1.5; } .web-self { gap: 10px; } }

/* Warum Digitalfaden: die Zusagen mit sichtbarer Überschrift, etwas größer als die schmale Leiste */
.why-list .promise-t { font-size: 1.0625rem; }
.why-list li { padding-block: 22px 24px; }
@media (max-width: 640px) { .why-list li { padding-block: 12px; } .why-list .promise-t { font-size: 1rem; } }

/* Praxisbeispiel: belegte Angaben unter der Projektzeile */
.proofs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px clamp(20px, 3vw, 48px); margin-top: clamp(16px, 2.4vw, 28px); }
.proofs-title { font-size: 0.875rem; font-weight: 600; color: var(--text-2); padding-top: 2px; }
.proof-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.proof-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--t-small); line-height: 1.5; }
.proof-list .chk { display: grid; place-items: center; width: 16px; height: 16px; margin-top: 3px; border: 1px solid color-mix(in srgb, var(--ok) 60%, var(--line-strong)); border-radius: 3px; color: var(--ok); }
.proof-list .chk svg { width: 10px; height: 10px; }
@media (max-width: 900px) { .proofs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .proof-list { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Kontakt: Unternehmensangaben unter Telefon und WhatsApp */
.contact-company { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--text-2); line-height: 1.55; }
.contact-k { margin-bottom: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.contact-company .inline-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }

/* Technische Ansicht auf der Leistungsseite: zugeklappt, für Fachleute */
.block-tech .tech { display: grid; }
.tech > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; list-style: none; }
.tech > summary::-webkit-details-marker { display: none; }
.tech-label { font-size: 1rem; color: var(--text); padding-top: 0; }
.tech-body { display: grid; gap: 16px; padding-top: 12px; }

/* Zusammenarbeit: alle Schritte nebeneinander am Computer, egal wie viele */
@media (min-width: 1001px) { .timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
/* Über mich: alle Angaben in einer Reihe, gleich breit */
.about-facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* Sprung zu einem Beispiel: Reiter bleiben über dem Beispiel sichtbar */
.ex-panel { scroll-margin-top: 64px; }

/* Sehr schmale Handys (320 px): Hauptaktion bleibt im ersten Bildschirm (Test 320 x 568) */
@media (max-width: 380px) {
  .hero { padding-top: 14px; }
  .hero-copy { gap: 10px; }
  .hero-row { gap: 12px; }
  .hero .lead { font-size: 0.9375rem; line-height: 1.45; }
}
