/* Goldstandard v52 – Leitidee „Werkstatt im Abendlicht“
   Atmosphäre: ein ruhiger Arbeitsraum. Dunkles Grünschwarz, warmes Licht auf den Arbeiten; helle Seiten wirken wie Papier.
   Gold ist Licht und Markierung, kein Schmuck.
   Typografie: drei Stimmen mit festen Rollen –
     Newsreader (Erzählstimme): Seitentitel und Abschnitte, sachlich formuliert, keine Slogan-Paare.
       Kursiv nur für Werktitel (Namen der Gestaltungen), wie auf einem Museumsetikett.
     Atkinson Hyperlegible Next (Arbeitsstimme): Text und Bedienung. Entwickelt für gute Lesbarkeit,
       auch bei eingeschränktem Sehvermögen; unverwechselbare Zeichen (I l 1, O 0).
     Atkinson Hyperlegible Mono (Maßstimme): nur für Maße – Preise, Seitenzahlen, Nummern, Zeiten, Etiketten.
   Bewegung: nur auf Anlass, physisch (Tafeln drehen, Blätter wenden, Kamera fährt), keine Einblendungen beim Scrollen. */

@font-face { font-family: "GS Newsreader"; src: url(../fonts/newsreader-display.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GS Newsreader"; src: url(../fonts/newsreader-display-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "GS Atkinson"; src: url(../fonts/atkinson-next.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "GS Atkinson"; src: url(../fonts/atkinson-next-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "GS Atkinson Mono"; src: url(../fonts/atkinson-mono.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #F6F6F3;
  --bg-2: #ECEDE8;
  --stage: #E2E5DF;
  --surface: #FFFFFF;
  --ink: #141A17;
  --ink-2: #444E49;
  --ink-3: #5F6964;
  --rule: #D3D7CF;
  --rule-2: #B7BDB5;
  --gold: #A47B2D;
  --gold-text: #7A5915;
  --gold-soft: #EADFC5;
  --gold-wash: #F3EDDF;
  --night: #101613;
  --night-2: #18201C;
  --night-3: #222B27;
  --night-ink: #EEF0EB;
  --night-ink-2: #B3BCB6;
  --gold-night: #D5AE60;
  --focus: #7A5915;
  --f-display: "GS Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "GS Atkinson", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "GS Atkinson Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --t-hero: clamp(2.3rem, 1.55rem + 2.6vw, 3.6rem);
  --t-h2: clamp(1.75rem, 1.3rem + 1.55vw, 2.6rem);
  --t-h3: clamp(1.35rem, 1.15rem + 0.75vw, 1.8rem);
  --t-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.75rem;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1320px;
  --section: clamp(64px, 3.2rem + 4.4vw, 124px);
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-device: 0 1px 0 rgba(20, 26, 23, .06), 0 2px 6px rgba(20, 26, 23, .06), 0 28px 60px -24px rgba(20, 30, 25, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: var(--t-body); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible { --focus: var(--gold-night); }
::selection { background: var(--gold-soft); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px 18px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.no-js .js-only { display: none !important; }
.nojs-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 12px; }
@media (min-width: 1100px) { .nojs-nav { display: none; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) + var(--gutter-r)); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 700px) { :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1100px) { :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 2.5rem + 3vw, 88px); }
.section + .section { border-top: 1px solid var(--rule); }
.band { background: var(--bg-2); }
.night { background: var(--night); color: var(--night-ink); }

/* ---------- Typografie ---------- */
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1; text-wrap: balance; }
.h-hero { font-family: var(--f-display); font-weight: 400; font-size: var(--t-hero); line-height: .98; letter-spacing: -0.025em; text-wrap: balance; }
/* Kursiv ist Werktiteln vorbehalten (Namen der Gestaltungen) */
.h-hero em, .h2 em, .h3 em, .werk { font-family: var(--f-display); font-style: italic; font-weight: 400; color: inherit; }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.03; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.night .lead { color: var(--night-ink-2); }
.small { font-size: var(--t-small); }
.muted { color: var(--ink-2); }
.night .muted { color: var(--night-ink-2); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 40em; text-wrap: pretty; }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: var(--t-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); line-height: 1.3; }
.label::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: none; }
.label.plain::before { display: none; }
.night .label { color: var(--gold-night); }
.night .label::before { background: var(--gold-night); }
.mono { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .02em; }
.num { font-variant-numeric: tabular-nums; }

/* Referenzlinie: Abschnittskopf mit Messmarke */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 4vw, 64px); }

.sec-head .label + .h2 { margin-top: -4px; }
/* v49: Abschnittskopf als Zeile – Titel links, kurzer Text rechts, weniger Leerraum */
.sec-head-main { display: grid; gap: 16px; align-content: start; }
.sec-head-main .label + .h2, .sec-head-main .label + .h3 { margin-top: -2px; }
.sec-head--row { display: grid; gap: 16px clamp(32px, 5vw, 88px); margin-bottom: clamp(28px, 3vw, 48px); }
@media (min-width: 960px) { .sec-head--row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.sec-head--row .lead { max-width: 34em; }

/* ---------- Schaltflächen & Links ---------- */
.btn { --b-bg: var(--ink); --b-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid var(--b-bg); border-radius: var(--radius); background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 1rem; line-height: 1.15; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { --b-bg: #000; }
.btn .ico { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:hover .ico-up { transform: translate(2px, -2px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; }
.btn--gold { --b-bg: var(--gold-night); --b-fg: var(--night); }
.btn--gold:hover { --b-bg: #E6C178; }
.night .btn--ghost { --b-fg: var(--night-ink); border-color: var(--night-ink-2); }
.night .btn--ghost:hover { --b-bg: var(--night-ink); --b-fg: var(--night); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }

@media (max-width: 420px) { .btn { white-space: normal; text-align: left; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: var(--rule-2); transition: text-decoration-color .2s; min-height: 44px; }
.link:hover { text-decoration-color: currentColor; }
.link .ico { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.link:hover .ico { transform: translateX(3px); }
.night .link { text-decoration-color: rgba(238, 240, 235, .35); }
.inline-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(246, 246, 243, .9); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 34px; height: 24px; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .75rem; color: var(--ink-2); letter-spacing: .01em; margin-top: 3px; }
@media (max-width: 420px) { .brand-sub { display: none; } }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); height: 2px; background: var(--gold); }
.header-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: var(--radius); background: transparent; font-weight: 600; font-size: .9375rem; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 1099px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: .875rem; }
  .menu-btn { display: inline-flex; margin-left: 10px; }
  .no-js .header-cta { margin-left: auto; }
}
@media (max-width: 479px) {
  .header-in { gap: 8px; }
  .site-header .menu-btn { width: 44px; padding: 0; justify-content: center; margin-left: 4px; }
  .site-header .menu-btn .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 374px) { .brand-name { font-size: 1.3rem; } .brand { gap: 9px; } .header-cta { padding: 0 11px; } }
.menu-panel { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel .header-in { border-bottom: 1px solid var(--rule); }
.menu-close { margin-left: auto; }
.menu-links { display: grid; align-content: start; gap: 0; padding-block: 18px; }
.menu-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-display); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); line-height: 1.1; text-decoration: none; color: var(--ink); }
.menu-links a span { font-family: var(--f-mono); font-size: .75rem; color: var(--gold-text); letter-spacing: .06em; }
.menu-links a[aria-current="page"] { color: var(--gold-text); }
.menu-foot { display: grid; gap: 6px; padding-block: 20px 28px; border-top: 1px solid var(--rule); font-size: .9375rem; }
.menu-foot a { color: var(--ink); }
.menu-open { overflow: hidden; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--night); color: var(--night-ink); padding-block: clamp(64px, 8vw, 112px) 32px; }
.footer-lead { display: grid; gap: 28px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--night-3); }
@media (min-width: 1000px) { .footer-lead { grid-template-columns: minmax(0, 1.6fr) auto; } .footer-lead .actions { justify-self: end; } }
.footer-lead .h2 { max-width: 15em; }
.footer-lead-text { margin-top: 14px; max-width: 34em; color: var(--night-ink-2); }
.site-footer :focus-visible { --focus: var(--gold-night); }
.site-footer .btn--ghost { --b-fg: var(--night-ink); border-color: rgba(238, 240, 235, .45); }
.site-footer .btn--ghost:hover { --b-bg: var(--night-ink); --b-fg: var(--night); }
.site-footer--plain { padding-top: clamp(48px, 6vw, 72px); }
.site-footer--plain .footer-grid { padding-top: 0; }
.footer-grid { display: grid; gap: 32px; padding-block: 44px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-grid h2 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--gold-night); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 2px; }
.footer-grid a { color: var(--night-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-brand .brand { color: var(--night-ink); }
.footer-brand .brand-sub { color: var(--night-ink-2); }
.footer-brand p { color: var(--night-ink-2); margin-top: 16px; max-width: 26em; font-size: .9375rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--night-3); font-size: .8125rem; color: var(--night-ink-2); }

/* ---------- Geräte & Vorschau-Bühne ---------- */
.stage { position: relative; background: var(--stage); border-radius: 6px; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(20, 26, 23, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(20, 26, 23, .06) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; mask-image: radial-gradient(120% 90% at 60% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(120% 90% at 60% 40%, #000 30%, transparent 85%); }
.browser { position: relative; border-radius: 10px; background: #fff; box-shadow: var(--shadow-device); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #F1F2EF; border-bottom: 1px solid #E1E3DE; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5D8D2; }
.browser-url { flex: 1; max-width: 360px; margin-inline: auto; height: 22px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 6px; background: #fff; color: #5F6964; font-size: .6875rem; font-family: var(--f-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url svg { width: 10px; height: 10px; flex: none; }
.browser-url > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.browser-screen { position: relative; aspect-ratio: 1280 / 800; overflow: hidden; background: #fff; }
.phone { position: relative; border-radius: 30px; padding: 22px 8px 14px; background: #121614; box-shadow: var(--shadow-device), inset 0 0 0 1px #2B322E; }
.phone::before { content: ""; position: absolute; z-index: 4; top: 9px; left: 50%; width: 22%; height: 5px; margin-left: -11%; border-radius: 4px; background: #2B322E; }
.phone::after { content: ""; position: absolute; z-index: 4; top: 8px; left: calc(50% + 15%); width: 7px; height: 7px; border-radius: 50%; background: #2B322E; }
.phone-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 6px; background: #fff; }
.mini-layer { position: absolute; inset: 0; isolation: isolate; }
.mini-layer > .mini { position: absolute; inset: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: .75rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.night .tag { background: var(--night-2); border-color: var(--night-3); color: var(--night-ink-2); }

/* Wahl-Chips (Radiogruppe) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.1; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.chip:hover { border-color: var(--ink); }
.chip-sw { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); background: linear-gradient(135deg, var(--c1) 0 50%, var(--c2) 50% 100%); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-checked="true"] .chip-sw, .chip[aria-pressed="true"] .chip-sw { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(255, 255, 255, .8); }

/* ---------- Startseite: Held ---------- */
.hero { padding-block: clamp(28px, 4vw, 64px) clamp(56px, 7vw, 104px); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

@media (max-width: 520px) { .facts { grid-template-columns: 1fr 1fr; }   }

/* v49: Ansprechpartner und direkte Kontaktwege im ersten Bildschirm */

/* v49: reales Projekt als erster Nachweis (Bildschirmansichten des gespeicherten Projektstands) */

.proof-stage { padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) clamp(44px, 5.5vw, 72px); }
.devices--apen .browser { width: 86%; }
.devices--apen .phone { position: absolute; right: 0; bottom: -13%; width: 24%; min-width: 118px; }
.devices--apen .browser-screen, .devices--apen .phone-screen { background: #FDFCF8; }
.screen-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }

@media (max-width: 699px) {
  .devices--apen { display: grid; justify-items: center; }
  .devices--apen .browser { display: none; }
  .devices--apen .phone { position: relative; right: auto; bottom: auto; width: min(62vw, 250px); }
  .proof-stage { padding: 20px 20px 22px; }
}

.devices { position: relative; }
.devices .browser { width: 88%; }
.devices .phone { position: absolute; right: 0; bottom: -10%; width: 23%; min-width: 120px; }

@media (max-width: 699px) {
  
  .devices { display: grid; justify-items: center; }
  .devices .browser { display: none; }
  .devices .phone { position: relative; right: auto; bottom: auto; width: min(68vw, 270px); }
  /* Alle sechs Richtungen bleiben sichtbar: zweispaltiges Raster statt verstecktem Scrollbereich */
  
  
  
}

/* Übergang zwischen Studien (Wischblende mit Goldlinie) */
/* Ablauf per Web Animations API in hero.js; hier nur das Aussehen der Linie */
.morph-line { position: absolute; z-index: 5; top: 0; bottom: 0; width: 2px; left: 0; background: var(--gold); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 18px rgba(164, 123, 45, .55); opacity: 0; pointer-events: none; }

/* ---------- Röntgen: Unter der Oberfläche (v49: Reiter statt Akkordeon) ---------- */
/* Klein: Reiter → Vorschau → Erklärung. Groß: Reiter und Erklärung links, Vorschau rechts (mitlaufend). */

.status { font-size: .875rem; color: var(--ink); background: var(--gold-wash); border-left: 2px solid var(--gold); padding: 10px 12px; }

/* ---------- Pakete ---------- */
.pkg-pair { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pkg-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.pkg { position: relative; display: grid; gap: 22px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; }
.pkg--featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pkg-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 10px 16px; }
.pkg-name { font-family: var(--f-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.05; letter-spacing: -0.015em; }
.pkg-desc { color: var(--ink-2); max-width: 26em; }
@media (min-width: 900px) { .pkg-desc { min-height: 3.2em; } }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.5rem, 2.8rem + 2.6vw, 5.25rem); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.price span { font-family: var(--f-display); font-size: 2rem; }
.price small { font-size: .875rem; color: var(--ink-2); }
.pkg-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pkg-facts > div { display: grid; gap: 4px; padding: 14px 0; }
.pkg-facts > div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.pkg-facts dt { font-size: .8125rem; color: var(--ink-2); }
.pkg-facts dd { font-size: 1rem; }
.pkg-facts dd strong { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; margin-right: 4px; }

.sheets { display: flex; gap: 4px; align-items: flex-end; height: 44px; }
.sheets i { width: 16px; height: 22px; border: 1px solid var(--ink); border-radius: 1px; background: var(--surface); position: relative; }
.sheets i::before { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 1px; background: var(--ink); box-shadow: 0 3px 0 var(--rule-2), 0 6px 0 var(--rule-2); }
.sheets i.legal { border-style: dashed; border-color: var(--rule-2); }
.sheets i.legal::before { display: none; }
.rounds { display: inline-flex; gap: 4px; }
.rounds i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold); }
.rounds i.on { background: var(--gold); }

.note { font-size: .875rem; color: var(--ink-2); max-width: 60em; }
.details { border-top: 1px solid var(--rule); }
.details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; font-weight: 600; }
.details > summary::-webkit-details-marker { display: none; }
.details > summary .pm { width: 14px; height: 14px; position: relative; flex: none; }
.details > summary .pm::before, .details > summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .3s var(--ease); }
.details > summary .pm::after { transform: rotate(90deg); }
.details[open] > summary .pm::after { transform: rotate(0); }
.scope-list { list-style: none; display: grid; gap: 0; padding-bottom: 8px; }
.scope-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--rule); font-size: .9375rem; }
.scope-list li::before { content: ""; width: 12px; height: 7px; margin-top: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }

/* ---------- Referenz (Nacht) ---------- */

/* ---------- Person ---------- */

.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; background: #8a8d8c; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--ink-2); }
.principles { list-style: none; display: grid; border-top: 1px solid var(--rule); margin-top: 8px; }
.principles li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .principles li { grid-template-columns: 220px 1fr; gap: 24px; } }
.principles strong { font-weight: 650; }
.principles span { color: var(--ink-2); }

.big-figure { font-family: var(--f-display); font-size: clamp(3.6rem, 2.8rem + 3.4vw, 6rem); line-height: .85; letter-spacing: -0.035em; white-space: nowrap; position: relative; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Ausführliche Schritte: gleiche Zeilenhöhen über alle vier Spalten (Subgrid, sonst normaler Fluss) */

.step { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 24px 28px 0; }

.step p { color: var(--ink-2); font-size: .9375rem; }

@media (max-width: 899px) {
  .step { padding: 0 0 24px 30px; }
  
  .step::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 1px; background: var(--rule-2); }
  .step:last-child::before { display: none; }
  
  
}
.timing { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
.timing strong { font-size: 1rem; }
.timing p { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.channels { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.channel { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.channel-k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.channel-v { font-family: var(--f-display); font-size: clamp(1.6rem, 1.15rem + 2.1vw, 2.75rem); line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.channel-v:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.channel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.channel small { color: var(--ink-2); font-size: .875rem; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn svg { width: 14px; height: 14px; }
.questions { list-style: none; counter-reset: q; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.questions li { counter-increment: q; display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }
.questions li::before { content: "0" counter(q); font-family: var(--f-mono); font-size: .75rem; color: var(--gold-text); padding-top: 3px; }
.questions strong { color: var(--ink); display: block; font-size: 1rem; }
.callout { display: grid; gap: 4px; padding: 16px 18px; border-radius: 6px; background: var(--gold-wash); border: 1px solid var(--gold-soft); font-size: .9375rem; }
.callout strong { color: var(--ink); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.page-head-grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 1000px) { .page-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; } }
.page-head .h-hero { font-size: clamp(2.4rem, 1.5rem + 3.3vw, 4.25rem); }
.page-head-grid .label + .h-hero { margin-top: 16px; }
.page-head--compact { padding-block: clamp(32px, 4.4vw, 68px) clamp(28px, 3.6vw, 52px); }
.page-head--compact .h-hero { font-size: clamp(2.3rem, 1.45rem + 3vw, 3.9rem); }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px; text-decoration: none; font-size: .875rem; font-weight: 600; background: var(--surface); }
.jump a:hover { border-color: var(--ink); }

/* ---------- Allgemeine Zeilen-Akkordeons ---------- */
.rows { border-top: 1px solid var(--rule); }
.row { border-bottom: 1px solid var(--rule); }
.row > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; cursor: pointer; }
.row > summary::-webkit-details-marker { display: none; }
.row-t { display: grid; gap: 2px; }
.row-t strong { font-size: 1.0625rem; font-weight: 650; }
.row-t small { color: var(--ink-2); font-size: .875rem; }
.nw { white-space: nowrap; }
.anchor-alias { display: block; height: 0; overflow: hidden; }
@media (max-width: 400px) { .row > summary { gap: 10px; } .row-t strong { font-size: 1rem; } .row-p { font-size: 1.35rem; } }
.row-p { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; }
.row .pm { justify-self: end; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-2); position: relative; }
.row .pm::before, .row .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .3s var(--ease); }
.row .pm::after { transform: rotate(90deg); }
.row[open] .pm::after { transform: rotate(0); }
.row[open] .pm { background: var(--ink); border-color: var(--ink); }
.row[open] .pm::before, .row[open] .pm::after { background: #fff; }
.row-body { display: grid; gap: 12px; padding: 0 44px 24px 0; color: var(--ink-2); font-size: .9375rem; max-width: 52em; }
.row-body ul { list-style: none; display: grid; gap: 4px; }
.row-body li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.row-body li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--gold); }
.row-body .fine { font-size: .875rem; padding-left: 12px; border-left: 2px solid var(--gold-soft); }

/* ---------- Diverses ---------- */
.two-col { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.cta-band { display: grid; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); align-items: center; }
@media (min-width: 1180px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band .h3 { max-width: 20em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .menu-panel, .site-footer .footer-lead { display: none; } body { background: #fff; } }

/* ---------- Designbeispiele: Galerie ---------- */

.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.raise { position: relative; z-index: 2; }
.link-fake { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.link-fake .ico { width: 16px; height: 16px; }
.ref-photo { margin: 0; display: grid; gap: 10px; }
.ref-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }

/* ---------- Seitenplaner: Themen, Aufteilung, Messlatte, Seitenbaum ---------- */
.wb-topics { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.wb-topic { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); cursor: pointer; }
.wb-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wb-check { width: 22px; height: 22px; border: 1.5px solid var(--rule-2); border-radius: 4px; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.wb-topic input:checked + .wb-check { background: var(--ink); border-color: var(--ink); }
.wb-topic input:checked + .wb-check::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.wb-topic input:focus-visible + .wb-check { outline: 2px solid var(--focus); outline-offset: 3px; }
.wb-topic:has(input:checked) { border-color: var(--rule-2); }
.wb-topic-t { display: grid; line-height: 1.25; }
.wb-topic-t b { font-weight: 600; font-size: .9375rem; }
.wb-topic-t small { color: var(--ink-2); font-size: .8125rem; }
.wb-arr { border: 0; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--surface); }
.seg button, .seg label { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: .875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg button[aria-checked="true"], .seg label:has(input:checked) { background: var(--ink); color: #fff; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.meter { position: relative; padding-top: 6px; }
.meter-scale { display: grid; grid-template-columns: 3fr 5fr 2fr; height: 10px; border-radius: 999px; overflow: hidden; }
.meter-zone { position: relative; }
.meter-zone.z1 { background: #D9E2D9; }  .meter-zone.z3 { background: #E2D9D9; }
.meter-zone i { position: absolute; top: 14px; left: 0; font-style: normal; font-size: .6875rem; font-family: var(--f-mono); color: var(--ink-2); letter-spacing: .02em; white-space: nowrap; }
.meter-ticks { display: grid; grid-template-columns: repeat(10, 1fr); margin-top: 26px; font-family: var(--f-mono); font-size: .6875rem; color: var(--ink-2); }
.meter-ticks span { text-align: center; }
.meter-pin { position: absolute; top: 0; left: calc((var(--pos) - .5) * 10%); width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--ink); transition: left .5s var(--ease); }
.meter-pin::after { content: ""; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--surface); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree { font-size: .875rem; }
.tree li span { font-weight: 600; }
.tree li small { display: block; color: var(--ink-2); font-size: .8125rem; }
.tree ul { margin: 6px 0 0 8px; padding-left: 14px; border-left: 1px solid var(--rule-2); display: grid; gap: 6px; }
.tree ul li { position: relative; }
.tree ul li::before { content: ""; position: absolute; left: -14px; top: .75em; width: 10px; height: 1px; background: var(--rule-2); }

/* ---------- Studienseiten: Rahmen ---------- */
.study-page { background: var(--bg); }
.study-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--night); color: var(--night-ink); }
.sb-in { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px var(--gutter-r) 6px var(--gutter); max-width: 1600px; margin-inline: auto; }
.sb-home { display: inline-flex; align-items: center; min-height: 44px; }
.sb-home .brand-mark { width: 34px; height: 24px; }
.sb-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 14px; border-right: 1px solid var(--night-3); color: var(--night-ink); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.sb-back .ico { width: 16px; height: 16px; }
.sb-back:hover span { text-decoration: underline; text-underline-offset: .2em; }
.sb-title { flex: 1; min-width: 0; font-size: .875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--night-ink-2); }
.sb-title .mono { color: var(--gold-night); margin-right: 6px; font-size: .75rem; }
.sb-title strong { color: var(--night-ink); font-weight: 600; }
@media (max-width: 1279px) { .sb-field { display: none; } }
.sb-tools { display: flex; align-items: center; gap: 6px; }
.sb-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-3); background: var(--night-2); color: var(--night-ink); font-weight: 600; font-size: .875rem; white-space: nowrap; }
.sb-sw { width: 28px; height: 16px; border-radius: 999px; background: var(--night-3); position: relative; transition: background-color .3s; }
.sb-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--night-ink-2); transition: transform .3s var(--ease), background-color .3s; }
.sb-toggle[aria-pressed="true"] { border-color: var(--gold-night); }
.sb-toggle[aria-pressed="true"] .sb-sw { background: var(--gold-night); }
.sb-toggle[aria-pressed="true"] .sb-sw::after { transform: translateX(12px); background: var(--night); }
.sb-nav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--night-3); color: var(--night-ink); }
.sb-nav .ico { width: 16px; height: 16px; }
.sb-nav:hover { border-color: var(--night-ink-2); }
@media (max-width: 999px) { .sb-title { display: none; } .sb-back { border-right: 0; margin-right: auto; } }
.sb-short { display: none; }
@media (max-width: 560px) { .sb-long { display: none; } .sb-short { display: inline; } .sb-in { gap: 8px; } .sb-home { display: none; } .sb-toggle { padding: 0 12px; gap: 8px; } .sb-nav { width: 38px; height: 38px; } }
@media (max-width: 359px) { .sb-nav { display: none; } }
.study-notice { margin: 0; padding: 9px var(--gutter-r) 9px var(--gutter); background: var(--gold-wash); border-bottom: 1px solid var(--gold-soft); font-size: .8125rem; text-align: center; color: var(--ink); }
.study-notice span { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin-right: 8px; }
.study-host { position: relative; }
.study-end { padding-block: var(--section) 40px; border-top: 1px solid var(--rule); background: var(--bg); }
.study-end-grid { display: grid; gap: 48px; align-items: start; }
.study-end .sec-head { align-content: start; }
@media (min-width: 1000px) { .study-end-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 72px; } }
.notes-h { margin-bottom: 12px; }
.notes-list { list-style: none; display: grid; border-top: 1px solid var(--rule); }
.notes-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.notes-list .nn { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .8125rem; }
.notes-list p { color: var(--ink-2); }
.rationale { display: grid; margin-top: 28px; border-top: 1px solid var(--rule); }
.rationale > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
@media (min-width: 600px) { .rationale > div { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } }
.rationale dt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); padding-top: 3px; }
.rationale dd { color: var(--ink-2); }
.rationale dd strong { color: var(--ink); }
.study-pager { display: grid; gap: 10px; margin-top: 56px; }
@media (min-width: 760px) { .study-pager { grid-template-columns: 1fr 1fr 1fr; } }
.study-pager a { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.study-pager a:hover { border-color: var(--ink); }
.study-pager .mono { color: var(--gold-text); font-size: .75rem; }
.study-pager .center { text-align: center; }
.study-pager .end { text-align: right; }
@media (max-width: 759px) { .study-pager .center, .study-pager .end { text-align: left; } }
.study-legal { margin-top: 36px; font-size: .8125rem; color: var(--ink-2); }
.end-pages-k { margin-top: 6px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.end-pages { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.end-pages a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.end-pages a:hover { border-color: var(--ink); }
.end-pages a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.study-legal a { color: var(--ink-2); }
/* Entwurfsansicht */
.is-entwurf .study-host::after { content: ""; position: absolute; inset: 0 50% 0 auto; width: min(1280px, 100%); transform: translateX(50%); padding-inline: 64px; z-index: 20; pointer-events: none; background-origin: content-box; background-clip: content-box; background-image: repeating-linear-gradient(to right, rgba(201, 162, 79, .13) 0 calc((100% - 11 * 24px) / 12), transparent calc((100% - 11 * 24px) / 12) calc((100% - 11 * 24px) / 12 + 24px)); }
@media (max-width: 760px) { .is-entwurf .study-host::after { padding-inline: 20px; background-image: repeating-linear-gradient(to right, rgba(201, 162, 79, .13) 0 calc((100% - 3 * 16px) / 4), transparent calc((100% - 3 * 16px) / 4) calc((100% - 3 * 16px) / 4 + 16px)); } }
.is-entwurf .study-host [data-note] { outline: 1.5px dashed #B68C3B; outline-offset: 6px; }
.is-entwurf .study-host [data-note].is-note-active { outline: 2.5px solid #B68C3B; }
.note-pins { position: absolute; left: 0; top: 0; width: 100%; height: 0; z-index: 45; }
/* Marken sind reine Hinweise (nicht bedienbar) – Navigation über das Notizfenster, damit nichts Bedienbares verdeckt wird */
.note-pin { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; background: #D5AE60; color: #141A17; font: 700 .8125rem/1 var(--f-sans); box-shadow: 0 3px 10px rgba(0, 0, 0, .25); pointer-events: none; transition: transform .2s var(--ease); }
.note-pin.is-active { background: #141A17; color: #F0D79E; border-color: #D5AE60; transform: scale(1.15); }
.note-tour { position: fixed; z-index: 70; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100% - 32px)); transform: translateX(-50%); display: grid; gap: 8px; padding: 16px 18px 16px; border-radius: 10px; background: var(--night); color: var(--night-ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.nt-head { display: flex; align-items: center; justify-content: space-between; }
.nt-head .mono { color: var(--gold-night); }
.nt-close { display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -8px -6px 0; border: 0; border-radius: 50%; background: transparent; color: var(--night-ink); }
.nt-close svg { width: 18px; height: 18px; }
.nt-title { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.nt-text { color: var(--night-ink-2); font-size: .9375rem; }
.nt-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.note-tour .btn--ghost { --b-fg: var(--night-ink); border-color: var(--night-3); }
.note-tour .btn:not(.btn--ghost) { --b-bg: var(--gold-night); --b-fg: var(--night); }
.note-tour :focus-visible { --focus: var(--gold-night); }

/* ---------- Leistungen ---------- */

.planner { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .planner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; } .planner-out { position: sticky; top: calc(var(--header-h) + 20px); } }
.planner-in { display: grid; gap: 14px; }
.planner-topics { border: 0; margin: 0; padding: 0; }
@media (min-width: 560px) and (max-width: 999px) { .planner-topics { grid-template-columns: 1fr 1fr; } .planner-topics legend { grid-column: 1 / -1; } }
.planner-out { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); }
.planner-count { font-family: var(--f-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; }
.planner-pages { display: flex; flex-wrap: wrap; gap: 10px 8px; padding: 6px 0 4px; }
.pp { display: grid; justify-items: center; align-content: start; gap: 6px; width: 92px; text-align: center; animation: pp-in .4s var(--ease) both; }
.pp i { width: 44px; height: 58px; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--surface); position: relative; }
.pp i::before { content: ""; position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--rule-2), 0 11px 0 var(--rule-2), 0 16px 0 var(--rule-2); }
.pp.home i { border-color: var(--gold); background: var(--gold-wash); }
.pp.legal i { border-style: dashed; border-color: var(--rule-2); }
.pp.legal i::before { background: var(--rule-2); box-shadow: none; }
.pp b { font-size: .6875rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); hyphens: auto; -webkit-hyphens: auto; }
@keyframes pp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.term-k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--gold-text); }

.own-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .own-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .own-grid { grid-template-columns: repeat(4, 1fr); } }
.own-item { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 6px; background: var(--bg); border: 1px solid var(--rule); }
.own-item svg { width: 30px; height: 30px; color: var(--gold); }
.own-item .mono { color: var(--gold-text); font-size: .75rem; }
.own-item p:last-child { color: var(--ink-2); font-size: .875rem; }

/* ---------- Referenz ---------- */

.compare-cards { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .compare-cards { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); } }
.cc { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); }
.cc .mono { color: var(--gold-text); }
.cc ul { list-style: none; display: grid; border-top: 1px solid var(--rule); }
.cc li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.cc-solution { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.cc-solution .mono { color: var(--gold-night); }
.cc-solution ul, .cc-solution li { border-color: var(--night-3); }
.cc-arrow { display: grid; place-items: center; color: var(--gold); }
.cc-arrow .ico { width: 30px; height: 30px; }
@media (max-width: 899px) { .cc-arrow { height: 30px; } .cc-arrow .ico { transform: rotate(90deg); } }

.photo-strip { display: grid; gap: 12px; margin-top: clamp(36px, 4vw, 56px); }
@media (min-width: 700px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
.photo-strip figure { margin: 0; position: relative; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.photo-strip figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 3px; background: rgba(16, 22, 19, .7); color: #fff; font-size: .75rem; }
.site-tree { padding: clamp(20px, 3vw, 32px); border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); display: grid; gap: 12px; }
.st-root { font-family: var(--f-display); font-size: 1.5rem; }
.st-root .mono { color: var(--gold-text); margin-right: 6px; }
.site-tree ul { list-style: none; display: grid; gap: 2px; margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--rule-2); }
.site-tree li { position: relative; }
.site-tree li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 12px; border-top: 1px solid var(--rule-2); }
.site-tree a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; text-decoration: none; }
.site-tree a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-tree a .ico { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Über Julian ---------- */

.origin { display: grid; gap: 14px clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .origin { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.origin-copy { display: grid; gap: 14px; justify-items: start; }
.origin-copy .lead { max-width: 38em; }
.scope-grid { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 700px) { .scope-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1100px) { .scope-grid { grid-template-columns: repeat(3, 1fr); } }
.scope-grid li { display: grid; gap: 8px; align-content: start; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.scope-grid .mono { color: var(--gold-text); }
.scope-grid p { color: var(--ink-2); font-size: .9375rem; }
.checklist { list-style: none; display: grid; border-top: 1px solid var(--rule); align-self: start; }
.checklist li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.ck { width: 26px; height: 26px; border-radius: 50%; background: var(--gold-wash); border: 1px solid var(--gold-soft); position: relative; }
.ck::after { content: ""; position: absolute; left: 8px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 280px minmax(0, 1fr); } .faq-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-nav ol { list-style: none; display: grid; margin-top: 10px; border-top: 1px solid var(--rule); }
.faq-nav a { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; min-height: 44px; }
.faq-nav a .mono { color: var(--gold-text); font-size: .75rem; }
.faq-nav a small { grid-column: 2; color: var(--ink-2); font-weight: 400; font-size: .8125rem; }
.faq-nav a:hover { color: var(--gold-text); }
@media (max-width: 999px) { .faq-nav ol { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.faq-groups { display: grid; gap: clamp(40px, 5vw, 64px); }
.faq-group { display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-row > summary { grid-template-columns: minmax(0, 1fr) 0 28px; }
.faq-row .row-t strong { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; }
.faq-n { color: var(--gold-text); font-size: .75rem; font-weight: 500; }
.faq-row .row-body { padding-left: 34px; }

/* ---------- Kontakt ---------- */

/* ---------- Rechtliches ---------- */
.legal-note strong { color: var(--ink); }
.legal-content { display: grid; gap: 0; max-width: 980px; }
.legal-content article { display: grid; gap: 10px; padding: 26px 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .legal-content article { grid-template-columns: 300px minmax(0, 1fr); column-gap: 40px; } }
.legal-content h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.legal-content p { color: var(--ink-2); max-width: 44em; }
.legal-content p + p { margin-top: .8em; grid-column: 2; }
@media (max-width: 899px) { .legal-content p + p { grid-column: 1; } }
.legal-content a { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.nf-code { font-size: 1rem; color: var(--gold-text); margin-bottom: 18px; }

@media (max-width: 400px) {
  .pkg { padding: 20px; }
  .pkg-facts > div + div { padding-left: 12px; }
  .price b { font-size: 3.2rem; }
}

/* =====================================================================
   v49 – neue Bausteine
   ===================================================================== */

/* ---------- Startseite: Preise kompakt ---------- */

 .contact-more, .about-links { display: flex; flex-wrap: wrap; gap: 0 28px; }

/* ---------- Startseite: sechs Richtungen ---------- */

/* ---------- Startseite: Person & Ablauf ---------- */
.portrait--home { max-width: 340px; }
@media (max-width: 959px) { .portrait--home { max-width: 300px; } }

.ablauf { display: grid; gap: 26px; margin-top: clamp(44px, 5.5vw, 80px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--rule); }

.contact-side { display: grid; gap: 18px; align-content: start; }
.channel--quiet { padding-block: 16px; }

/* ---------- Unterseiten: gemeinsame Bausteine ---------- */
.cta-title { margin-top: 12px; }
.cta-band .muted { margin-top: 10px; max-width: 46em; }
.faq-cta { margin-top: 40px; }

/* ---------- Designbeispiele ---------- */
.echt-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .echt-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.echt-grid .ref-photo { max-width: 460px; }
.echt-copy { display: grid; gap: 20px; }

/* ---------- Werkbank: Blättern, Ergebnis, Kopieren ---------- */
.hint-coarse { display: none; }
/* Auf Touch-Geräten scrollt die Vorschau nicht selbst: Wischen bewegt immer die Seite, geblättert wird mit den Pfeilen. */
@media (pointer: coarse) {
  .wb .mini-scroll { overflow-y: hidden; }
  .hint-fine { display: none; } .hint-coarse { display: inline; }
}


/* Schmale Bildschirme: Kennzeichnung unter die Vorschau, damit Blättern und Ansicht in eine Zeile passen */

/* ---------- Referenz ---------- */

.task-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(36px, 4.5vw, 64px); }
@media (min-width: 900px) { .task-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.task-copy { display: grid; gap: 18px; }
.task-photo { max-width: 420px; }
.solutions { list-style: none; display: grid; gap: clamp(40px, 5vw, 72px); counter-reset: none; }
.solution { display: grid; gap: 20px clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .solution { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .solution:nth-child(even) .solution-shot { order: 2; } .solution:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.solution-shot { margin: 0; display: grid; gap: 10px; justify-items: center; }
.excerpt { width: 100%; max-width: var(--nat-w, 100%); border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); background: #fff; box-shadow: 0 1px 0 rgba(20, 26, 23, .04), 0 18px 40px -26px rgba(20, 30, 25, .45); }
.excerpt img { width: 100%; height: auto; }
.solution-shot figcaption { justify-self: stretch; font-size: .6875rem; letter-spacing: .04em; color: var(--ink-2); text-align: center; }
.solution-shot--phone { padding: clamp(20px, 3vw, 32px) 0; background: var(--stage); border-radius: 6px; }
.solution-shot--phone .phone { width: min(230px, 58vw); }
.solution-shot--phone .phone-screen img { width: 100%; height: auto; }
.solution-text { display: grid; gap: 12px; align-content: center; justify-items: start; }
.solution-text p { color: var(--ink-2); max-width: 34em; }
.solution-n { color: var(--gold-text); }
.structure-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 1000px) { .structure-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.structure-copy, .material { display: grid; gap: 16px; align-content: start; }
.material .photo-strip { margin-top: 0; }
@media (min-width: 560px) { .material .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Leistungen ---------- */

/* v50: drei Zonen wie im ursprünglichen Konzept – Kompakt 1–3, Praxiswebsite 4–8, Projekt ab 9 */
.meter-zone.z2 { background: #D6DDE6; }
.meter-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .02em; color: var(--ink-2); }
.meter-legend--3 { display: grid; grid-template-columns: 3fr 5fr 2fr; gap: 0 8px; }
.meter-legend--3 span { min-width: 0; }
.meter-legend--3 .ml3 { text-align: right; }
@media (max-width: 520px) { .meter-legend--3 { grid-template-columns: 1fr; gap: 2px; } .meter-legend--3 .ml3 { text-align: left; } }
.planner[data-tier="kompakt"] .meter-legend .ml1, .planner[data-tier="praxiswebsite"] .meter-legend .ml2, .planner[data-tier="projekt"] .meter-legend .ml3 { color: var(--ink); font-weight: 500; }
.planner-fit .btn.is-fit { --b-bg: var(--ink); --b-fg: #fff; }
.pp small { font-size: .625rem; color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .02em; margin-top: -4px; }

.planner-topics legend { margin-bottom: 12px; }

.terms-q { margin-top: 22px; }
.big-project { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Kontakt: nach der Anfrage ---------- */
.next-steps { list-style: none; display: grid; gap: 0 clamp(20px, 3vw, 36px); margin-bottom: 22px; }
@media (min-width: 700px) { .next-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .next-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.next-steps li { display: grid; gap: 10px; align-content: start; padding: 18px 0 22px; border-top: 2px solid var(--ink); }
.next-steps .mono { color: var(--gold-text); }
.next-steps strong { display: block; font-size: 1.0625rem; margin-bottom: 4px; }
.next-steps p { color: var(--ink-2); font-size: .9375rem; }

/* =====================================================================================
   v50 · Startseite: Ausgangslage → Struktur, Gestaltung, Reales Projekt, Pakete
   ===================================================================================== */
/* Allgemein: Vorschaurahmen füllen den Bildschirm (für die feste Leiste in Smartphone-Vorschauen) */
.phone-screen > .mini, .browser-screen > .mini { position: absolute; inset: 0; }

/* ---------- 1 · Einstieg „Vorher / Nachher“ ---------- */

.ag-stage { --o-ink: #18211E; --o-muted: #55605B; --o-accent: #2C5B4E; --o-line: #E1E3DD; --o-soft: #EEF0EA;
  position: relative; container-type: inline-size; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--stage); overflow: hidden; isolation: isolate; }
.ag-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(20, 26, 23, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(20, 26, 23, .06) 1px, transparent 1px); background-size: 32px 32px; }

 

  

 
 

/* Fragmente der Ausgangslage */

/* Zustände */

/* Mit JavaScript beginnt die Darstellung in der Ausgangslage (kein Aufblitzen des Endzustands) */

/* Schmale Darstellung (Smartphone): eigene Anordnung der Beispielseite */

@media (max-width: 699px) { .ag-stage { aspect-ratio: 6 / 7; } }

/* ---------- 2 · Gestaltung ---------- */

.design-q { margin-bottom: 10px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

@media (max-width: 1099px) {
  .picks { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
  
}
@media (min-width: 700px) and (max-width: 1099px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; } }

.brief { display: grid; gap: 12px; margin-top: 18px; }

.sw-row { display: inline-flex; gap: 5px; vertical-align: middle; }
.sw-row i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }

/* ---------- 3 · Reales Projekt ---------- */

/* ---------- 4 · Leistungen: „Im Paket“ je Ebene ---------- */

/* ---------- 5 · Pakete ---------- */

.sv-page { display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 8px; min-height: 150px; padding: 10px 10px 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 1px 0 rgba(20, 26, 23, .05); }

.sv-lines { display: grid; gap: 4px; align-self: end; }
.sv-lines i { height: 4px; border-radius: 2px; background: #ECEEE9; }
.sv-lines i:nth-child(2) { width: 82%; } .sv-lines i:nth-child(3) { width: 58%; }

.sv-page.is-home { border-color: var(--gold); }
.sv-page-bar { display: block; height: 7px; border-radius: 2px; background: #E9EBE5; }
.sv-page-bar i { display: block; width: 38%; height: 100%; border-radius: 2px; background: #C8CEC6; }
.sv-page.is-home .sv-page-bar i { background: var(--gold); }
.sv-page-t { font-weight: 650; font-size: .875rem; line-height: 1.25; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 5px; align-content: start; }
.sv-chip { --c: var(--gold); display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px 0 8px; border-radius: 999px; background: #F4F5F1; border: 1px solid var(--rule); font-size: .75rem; font-weight: 500; line-height: 1.1; white-space: nowrap; color: var(--ink); }
.sv-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.sv-chip[data-topic="team"] { --c: #2C5B4E; } .sv-chip[data-topic="news"] { --c: #A47B2D; } .sv-chip[data-topic="services"] { --c: #3F6A9A; }
.sv-chip[data-topic="prevention"] { --c: #7A5A8C; } .sv-chip[data-topic="hours"] { --c: #B0553C; } .sv-chip[data-topic="contact"] { --c: #3C8576; }
.sv-chip[data-topic="route"] { --c: #8A7A3A; } .sv-chip[data-topic="rooms"] { --c: #66798A; } .sv-chip[data-topic="vaccines"] { --c: #9A5675; }
.sv-chip[data-topic="rx"] { --c: #5B7C3B; } .sv-chip[data-topic="emergency"] { --c: #A23B3B; }
.sv-ghost { position: absolute; z-index: 4; pointer-events: none; }

@media (max-width: 560px) {
  
  .sv-page { min-height: 0; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); align-items: center; gap: 6px 10px; }
  .sv-page-bar, .sv-lines { display: none; }
  
  
  .sv-chip { white-space: normal; }
}
@media (max-width: 400px) { .sv-page { grid-template-columns: minmax(0, 1fr); } }

.pkg-opt { position: relative; display: grid; gap: 10px; padding: 20px 22px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; transition: border-color .25s, box-shadow .25s; }
.js .pkg-opt { cursor: pointer; }
.pkg-opt.is-selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 18px 40px -28px rgba(20, 26, 23, .4); }

.pkg-opt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }

/* ---------- v51: Kopfzeile über dunklen Seitenköpfen (Startwelt, Atelier-Köpfe) ---------- */
.site-header { transition: background-color .45s, border-color .45s; }
.site-header.is-on-world { background: rgba(11, 17, 14, .82); border-bottom-color: rgba(233, 206, 143, .14); }
.site-header.is-on-world .brand, .site-header.is-on-world .main-nav a, .site-header.is-on-world .menu-btn { color: #F3EFE6; }
.site-header.is-on-world .brand-sub { color: rgba(243, 239, 230, .7); }
.site-header.is-on-world .main-nav a::after { background: #F3EFE6; }
.site-header.is-on-world .header-cta { --b-bg: #D5AE60; --b-fg: #10160F; border-color: #D5AE60; }
.site-header.is-on-world .header-cta:hover { --b-bg: #E9CE8F; border-color: #E9CE8F; }
.site-header.is-on-world .menu-btn { border-color: rgba(243, 239, 230, .4); }
.site-header.is-on-world :focus-visible { outline-color: #E9CE8F; }
body:has(.site-header.is-on-world)::before { background: #0B110E; }

/* ---------- v51: Atelier-Kopf der Unterseiten ---------- */
.ahead { --a-bg: #0B110E; --a-ink: #F3EFE6; --a-ink-2: rgba(243, 239, 230, .74); --a-gold: #D5AE60; --a-gold-2: #E9CE8F;
  position: relative; isolation: isolate; overflow: hidden; background: var(--a-bg); color: var(--a-ink); padding-block: clamp(44px, 6.5vw, 104px) clamp(48px, 6vw, 96px); }
.ahead-room { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(48% 70% at 78% 30%, rgba(213, 174, 96, .16), transparent 70%),
  radial-gradient(40% 60% at 12% 0%, rgba(170, 196, 186, .07), transparent 70%),
  linear-gradient(180deg, #0E1512, #0B110E 60%, #090E0B); }
.ahead-room::before { content: ""; position: absolute; inset: 0 0 22% 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 64px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.ahead-room::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background:
  linear-gradient(180deg, rgba(11, 17, 14, 0), rgba(11, 17, 14, .2)),
  repeating-linear-gradient(90deg, rgba(213, 174, 96, .08) 0 1px, transparent 1px 72px);
  border-top: 1px solid rgba(233, 206, 143, .18); -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.ahead-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .ahead-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.ahead-copy { display: grid; gap: 18px; justify-items: start; }
.ahead .label { color: var(--a-gold); }
.ahead .label::before { background: var(--a-gold); }
.ahead .h-hero { font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.04; color: var(--a-ink); }
.ahead .lead { color: var(--a-ink-2); max-width: 36em; }
.ahead :focus-visible { outline-color: var(--a-gold-2); }
.ahead .btn--ghost { --b-fg: var(--a-ink); border-color: rgba(243, 239, 230, .5); }
.ahead .btn--ghost:hover { --b-bg: var(--a-ink); --b-fg: var(--a-bg); }
.ahead .btn:not(.btn--ghost) { --b-bg: var(--a-gold); --b-fg: #10160F; }
.ahead .btn:not(.btn--ghost):hover { --b-bg: var(--a-gold-2); }
.ahead .link { color: var(--a-ink); text-decoration-color: rgba(233, 206, 143, .5); }
.jump--dark a { background: rgba(255, 255, 255, .04); border-color: rgba(233, 206, 143, .32); color: var(--a-ink); }
.jump--dark a:hover { border-color: var(--a-gold-2); background: rgba(255, 255, 255, .08); }
.ahead-obj { position: relative; min-width: 0; }
@media (max-width: 999px) { .ahead-obj { max-width: 560px; width: 100%; justify-self: center; } }

/* Seitenmodell im Kopf der Leistungsseite */
.ah-deck { container-type: inline-size; }
.ahd-stage { position: relative; aspect-ratio: 10 / 7; perspective: 140cqi; perspective-origin: 40% 30%; }
.ahd-group { position: absolute; left: 30%; top: 14%; width: 38cqi; height: 50cqi; transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(4deg); }
.ahd-s { position: absolute; inset: 0; display: grid; align-content: start; gap: 2.6cqi; padding: 4.6cqi 3.6cqi; border-radius: 1.4cqi; background: linear-gradient(158deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 46%, rgba(213, 174, 96, .05)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .35), 0 4cqi 7cqi -2cqi rgba(0, 0, 0, .6);
  transform: translate3d(calc(var(--j) * 3.4cqi), calc(var(--j) * -1.3cqi), calc(var(--j) * -6.4cqi)); transition: transform .8s cubic-bezier(.62, .02, .18, 1), opacity .5s, box-shadow .5s; }
.ahd-s i { display: block; height: 1.1cqi; border-radius: 1cqi; background: rgba(255, 255, 255, .16); }
.ahd-s i:nth-of-type(1) { height: 9cqi; width: 94%; background: rgba(255, 255, 255, .09); }
.ahd-s i:nth-of-type(2) { width: 82%; } .ahd-s i:nth-of-type(3) { width: 60%; }
.ahd-s.is-k { background: linear-gradient(158deg, rgba(240, 214, 155, .34), rgba(213, 174, 96, .1) 50%, rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(240, 214, 155, .8), inset 0 1px 0 rgba(255, 245, 220, .6), 0 0 6cqi rgba(213, 174, 96, .16), 0 4cqi 7cqi -2cqi rgba(0, 0, 0, .6); }
.ahd-tab { position: absolute; bottom: calc(100% - 1px); left: calc(5% + var(--j) * 11.2%); width: 15%; padding: .9cqi 0 .7cqi; border-radius: 1cqi 1cqi 0 0; text-align: center; font: 500 2.6cqi/1 var(--f-mono); color: #F3EFE6; background: linear-gradient(180deg, #46504B, #333B37); }
.ahd-s.is-k .ahd-tab { color: #1A1408; background: linear-gradient(180deg, #F0D9A3, #D9B56C); }

.ah-deck:hover .ahd-s { transform: translate3d(calc(var(--j) * 4.6cqi), calc(var(--j) * -1.6cqi), calc(var(--j) * -8cqi)); }
.ah-deck:hover .ahd-s.is-k { transform: translate3d(calc(var(--j) * 4.6cqi), calc(var(--j) * -1.6cqi - 3cqi), calc(var(--j) * -8cqi)); }
.ahd-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 4px; }
.ahd-key { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .04em; color: rgba(243, 239, 230, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ahd-key--k { color: #F0D9A3; box-shadow: inset 0 0 0 1px rgba(240, 214, 155, .7); }
.ahd-key--l { box-shadow: none; outline: 1px dashed rgba(233, 206, 143, .5); outline-offset: -1px; color: rgba(243, 239, 230, .7); }

/* Gestaffelte Studien im Kopf der Designbeispiele */
.ah-fan { container-type: inline-size; }
.ahf-stage { position: relative; aspect-ratio: 10 / 7; perspective: 120cqi; perspective-origin: 60% 40%; transform-style: preserve-3d; }
.ahf-p { position: absolute; left: 30%; top: 26%; width: 58cqi; aspect-ratio: 16 / 10; border-radius: 1cqi; overflow: hidden; background: #F4F1EA; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 5cqi 9cqi -2cqi rgba(0, 0, 0, .7);
  transform: translate3d(calc(var(--i) * -6.4cqi), calc(var(--i) * -1.1cqi), calc(var(--i) * -9cqi)) rotateY(20deg); transition: transform .8s cubic-bezier(.62, .02, .18, 1); }
.ahf-p img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ahf-p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .22), transparent 36%, transparent 70%, rgba(0, 0, 0, .1)); }
.ah-fan:hover .ahf-p { transform: translate3d(calc(var(--i) * -8cqi), calc(var(--i) * -1.4cqi), calc(var(--i) * -9cqi)) rotateY(14deg); }

/* Übergänge zwischen den Seiten (wo der Browser sie unterstützt) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
  .site-header { view-transition-name: site-header; }
  .ahead-title, .w-title { view-transition-name: page-title; }
}
@media (prefers-reduced-motion: reduce) { .ahd-s, .ahf-p { transition: none; } }

/* ---------- v51: Leistungsseite ---------- */
.pkg-pair--open .pkg { align-content: start; }
.scope-list--open { padding-bottom: 0; }
.scope-list--open li { font-size: .9375rem; }
.pkg-foot { display: grid; gap: 8px; margin-top: 22px; max-width: 70em; }
.pkg-foot p { color: var(--ink-2); font-size: .9375rem; }
.pkg-foot strong { color: var(--ink); }
.pkg-foot .fine { font-size: .8125rem; }
.flow { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); background: linear-gradient(var(--gold), var(--gold)) 0 30px / 100% 1px no-repeat; }
.flow li { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 20px 22px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule); }
.flow .mono { color: var(--gold-text); font-size: .75rem; }
.flow p { color: var(--ink-2); font-size: .9375rem; }
.flow-time { margin-top: 18px; max-width: 62em; color: var(--ink-2); font-size: .9375rem; }
.flow-time strong { color: var(--ink); margin-right: 6px; }
@media (max-width: 899px) { .flow { grid-template-columns: 1fr 1fr; background: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.tab-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--rule); width: fit-content; max-width: 100%; }
.tab-list [role="tab"] { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .9375rem; }
.tab-list [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-list [role="tab"]:not([aria-selected="true"]):hover { color: var(--ink); }
.tab-panel { margin-top: 20px; }
.no-js .tab-panel + .tab-panel { padding-top: 22px; border-top: 1px solid var(--rule); }
.term-panel { display: grid; gap: 10px; max-width: 60em; }
.term-panel .term-k { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; color: var(--ink); }
.term-panel > p:not(.term-k) { color: var(--ink-2); }
.term-panel .fine { font-size: .875rem; padding-left: 12px; border-left: 2px solid var(--gold-soft); }
.own-grid--compact { margin-top: 12px; }
@media (min-width: 1200px) { .own-grid--compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .tab-list { border-radius: 14px; } .tab-list [role="tab"] { flex: 1 1 auto; padding: 0 12px; } }

/* ---------- v51: Designbeispiele ---------- */
.ah-tag { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #E9CE8F; box-shadow: inset 0 0 0 1px rgba(233, 206, 143, .5); }
.studies-dark { --sd-ink: #F3EFE6; background: #0B110E; color: var(--sd-ink); }
.section.studies-dark { border-top: 1px solid rgba(233, 206, 143, .12); padding-top: clamp(40px, 4vw, 72px); }
.sc-grid { display: grid; gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1099px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .sc-grid { grid-template-columns: minmax(0, 1fr); } }
.sc { position: relative; display: grid; gap: 18px; align-content: start; }
.sc-media { position: relative; aspect-ratio: 16 / 11.4; perspective: 1400px; }
.sc-browser { position: absolute; left: 0; top: 0; width: 88%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #F4F1EA; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 26px 50px -22px rgba(0, 0, 0, .85); transform: rotateY(7deg); transform-origin: 0 50%; transition: transform .7s cubic-bezier(.2, .75, .15, 1); }
.sc-browser img, .sc-phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.sc-browser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255, 255, 255, .2), transparent 34%, transparent 72%, rgba(0, 0, 0, .1)); }
.sc-phone { position: absolute; right: 1%; bottom: 0; width: 22%; aspect-ratio: 360 / 779; border-radius: 12px; overflow: hidden; background: #F4F1EA; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 5px #11161A, 0 0 0 6px rgba(255, 255, 255, .12), 0 24px 40px -14px rgba(0, 0, 0, .85); transition: transform .7s cubic-bezier(.2, .75, .15, 1); }
.sc:hover .sc-browser, .sc:focus-within .sc-browser { transform: rotateY(0deg) translateY(-4px); }
.sc:hover .sc-phone, .sc:focus-within .sc-phone { transform: translateY(-8px); }
.sc-text { display: grid; gap: 6px; justify-items: start; }
.sc-n { color: #D5AE60; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sc h3 a { color: var(--sd-ink); text-decoration: none; }
.sc h3 a:focus-visible { outline-color: #E9CE8F; }
.sc-d { color: rgba(243, 239, 230, .74); }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 4px; }
.sc .link-fake { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #E9CE8F; font-weight: 600; }
.sc .link-fake .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.sc:hover .link-fake .ico { transform: translateX(3px); }
.sc-wb { display: inline-flex; align-items: center; min-height: 40px; color: rgba(243, 239, 230, .74); font-size: .875rem; text-underline-offset: .2em; }
.sc-wb:hover { color: var(--sd-ink); }
.sc-wb:focus-visible { outline-color: #E9CE8F; }
@media (prefers-reduced-motion: reduce) { .sc-browser, .sc-phone { transition: none; } }

/* ---------- v51: Atelier-Köpfe der weiteren Seiten ---------- */
.ah-facts { display: grid; gap: 10px 28px; grid-template-columns: auto minmax(0, 1fr); margin: 2px 0 6px; font-size: .9375rem; }
.ah-facts div { display: contents; }
.ah-facts dt { font: 500 .75rem/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--a-gold); }
.ah-facts dd { margin: 0; color: var(--a-ink-2); }
.ah-apen { margin: 0; padding-right: 16px; perspective: 1600px; }
.ah-apen .devices--apen { position: relative; transform: rotateY(-11deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .75, .15, 1); }
.ah-apen:hover .devices--apen { transform: rotateY(-4deg) rotateX(1deg); }
.ah-apen .browser { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.ah-apen .phone { transform: translateZ(40px); }
.ah-apen figcaption { margin-top: clamp(44px, 6vw, 72px); font-size: .8125rem; color: var(--a-ink-2); }
@media (max-width: 699px) { .ah-apen .devices--apen { transform: none; } .ah-apen .phone { transform: none; } .ah-apen figcaption { margin-top: 14px; text-align: center; } }
.ah-portrait { margin: 0; justify-self: center; width: min(100%, 440px); position: relative; }
.ah-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -30px rgba(0, 0, 0, .85); }
.ah-portrait figcaption { display: flex; justify-content: space-between; margin-top: 12px; font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .06em; color: var(--a-ink-2); }
.principles-strip .principles { margin-top: 0; }
@media (min-width: 900px) { .principles-strip .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 0; } .principles-strip .principles li { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; border-top: 2px solid var(--gold); padding-top: 16px; } }
.ahead .channels { width: 100%; border-top-color: rgba(233, 206, 143, .2); }
.ahead .channel { border-bottom-color: rgba(233, 206, 143, .2); }
.ahead .channel-k { color: var(--a-gold); }
.ahead .channel-v { color: var(--a-ink); }
.ahead .channel small { color: var(--a-ink-2); }
.ahead .copy-btn { color: var(--a-ink); border-color: rgba(243, 239, 230, .4); background: transparent; }
.ahead .channel--quiet { display: none; }
.ah-card { justify-self: center; width: min(100%, 320px); display: grid; gap: 12px; margin: 0; }
.ah-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 26%; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .85); }
.ah-card p { display: flex; justify-content: space-between; gap: 12px; font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .04em; color: var(--a-ink-2); }
.ah-card b { font-weight: 500; color: var(--a-ink); }
@media (max-width: 999px) { .ahead--contact .ahead-obj { display: none; } }

.contact-grid--after { align-items: start; }
@media (min-width: 1000px) { .contact-grid--after { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
#danach { display: grid; gap: 18px; align-content: start; }
@media (prefers-reduced-motion: reduce) { .ah-apen .devices--apen, .ah-card { transition: none; } }

.ahead--about .ahead-room { background: radial-gradient(34% 60% at 78% 46%, rgba(213, 174, 96, .2), transparent 72%), radial-gradient(40% 60% at 12% 0%, rgba(170, 196, 186, .07), transparent 70%), linear-gradient(180deg, #0E1512, #0B110E 60%, #090E0B); }
.contact-grid--after .next-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .contact-grid--after .next-steps { grid-template-columns: minmax(0, 1fr); } }
.menu-btn, .header-cta { flex: none; }
@media (max-width: 349px) { .brand-name { font-size: 1.15rem; } .brand { gap: 8px; } .header-cta { padding: 0 9px; font-size: .8125rem; } .header-in { gap: 6px; } }

/* ---------- v52: „Was gefällt Ihnen daran?“ und E-Mail-Entwurf ---------- */
.like { display: grid; gap: 18px; padding-top: 6px; }
.like-set { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.like-q { padding: 0; font-family: var(--f-display); font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); line-height: 1.15; color: var(--ink); }
.like-hint { color: var(--ink-2); font-size: .9375rem; }
.like-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.like-chip { position: relative; display: inline-flex; }
.like-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.like-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--surface); font-size: .9375rem; font-weight: 600; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.like-chip span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--rule-2); background: var(--surface); flex: none; transition: background-color .2s, border-color .2s; }
.like-chip input:hover + span { border-color: var(--ink); }
.like-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.like-chip input:checked + span::before { border-color: var(--gold-night); background: var(--gold-night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.4' fill='none' stroke='%23141A17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.like-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.like-out { display: grid; gap: 12px; }
.like-k { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.like-preview { margin: 0; max-height: 18em; overflow: auto; padding: 14px 16px; border-radius: 6px; border: 1px solid var(--rule); background: var(--surface); font: .875rem/1.55 var(--f-mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.like-preview:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.like-out .btn svg { width: 18px; height: 18px; }
.like-fine { font-size: .8125rem; color: var(--ink-2); }

/* ---------- v52: Abschluss der Studien und der Konzeptpraxis ---------- */
.end-main { display: grid; gap: 18px; align-content: start; }
.end-main .h2 em { font-size: 1.08em; }
.end-scope { padding: 14px 16px; border-left: 2px solid var(--gold); background: var(--gold-wash); font-size: .9375rem; color: var(--ink-2); max-width: 40em; }
.study-pager--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 759px) { .study-pager--2 { grid-template-columns: 1fr; } }

/* ---------- v52: Einblick Apen – eine Ansicht, vier Entscheidungen ---------- */
.rv-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .rv-grid { grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); } .rv { position: sticky; top: calc(var(--header-h) + 20px); } }
.rv-copy { display: grid; gap: 16px; align-content: start; }
.rv-list { list-style: none; display: grid; border-top: 1px solid var(--rule); margin-top: 6px; }
.rv-pick { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 12px 15px 8px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
.rv-pick:hover { background: var(--surface); }
.rv-pick[aria-selected="true"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--gold); }
.rv-n { color: var(--gold-text); padding-top: 6px; }
.rv-t { display: grid; gap: 4px; }
.rv-t b { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.rv-t span { color: var(--ink-2); font-size: .9375rem; }
.rv { margin: 0; display: grid; gap: 0; }
.rv-scroll { position: relative; aspect-ratio: 1280 / 820; overflow-y: auto; overscroll-behavior: contain; background: #FDFCF8; scrollbar-width: thin; scroll-behavior: smooth; }
.rv-scroll:focus-visible { outline-offset: -3px; }
.rv-page { position: relative; }
.rv-page img { display: block; width: 100%; height: auto; }
.rv-mark { position: absolute; left: 1.2%; right: 1.2%; top: calc(var(--y) / var(--h) * 100%); height: calc(var(--rh) / var(--h) * 100%); border: 2px solid var(--gold); border-radius: 6px; box-shadow: 0 0 0 5px rgba(213, 174, 96, .2); opacity: 0; transition: opacity .5s .2s; pointer-events: none; }
.rv-page.is-marked .rv-mark { opacity: 1; }
.rv-mark span { position: absolute; left: -2px; top: -2px; transform: translateY(-100%); padding: 4px 8px 3px; border-radius: 4px 4px 0 0; background: var(--gold); color: #141A17; font: 600 .75rem/1 var(--f-mono); }
.rv-phone-wrap { display: grid; place-items: center; padding: clamp(18px, 3vw, 32px) 0; border-radius: 6px; background: var(--stage); }
.rv-phone-wrap[hidden] { display: none; }
.rv-phone { width: min(270px, 62vw); }
.rv-phone .phone-screen img { width: 100%; height: auto; }
.rv-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; margin-top: 10px; font-size: .75rem; color: var(--ink-2); }
.rv-cap .link { font-size: .875rem; min-height: 40px; }
.rv-more > summary { min-height: 60px; font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 400; }
.rv-more-grid { display: grid; gap: 32px clamp(24px, 3vw, 48px); padding: 10px 0 18px; }
@media (min-width: 700px) { .rv-more-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rv-more-a { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .rv-more-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); } .rv-more-a { grid-column: auto; } }
.rv-more-grid > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.rv-more .site-tree a { hyphens: auto; }
.rv-more-grid p { color: var(--ink-2); }
.rv-lists { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.rv-lists .mono { color: var(--gold-text); font-size: .75rem; margin-bottom: 4px; }
.rv-lists ul { list-style: none; display: grid; gap: 4px; font-size: .9375rem; }
.rv-more .photo-strip { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rv-more .photo-strip figcaption { position: static; padding: 6px 0 0; background: none; color: var(--ink-2); font-size: .8125rem; line-height: 1.3; }
@media (max-width: 520px) { .rv-lists { grid-template-columns: 1fr; } }
