/* Bitxafe v6 – Quiet Luxury meets Digital Engineering
   Ein Token-System, eine Schriftfamilie (Geist + Geist Mono), ein Akzent (Cobalt). */

@font-face { font-family: Geist; src: url('./fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('./fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --white: #fff;
  --paper: #fff;
  --paper-2: #f6f6f5;
  --paper-3: #ededeb;
  --ink: #0a0a0b;
  --ink-2: #2b2b2e;
  --muted: #57575c;
  --line: rgb(10 10 11 / 10%);
  --line-2: rgb(10 10 11 / 20%);
  --night: #0d0d0e;
  --night-2: #18181a;
  --night-line: rgb(255 255 255 / 11%);
  --on-night: #f4f4f5;
  --on-night-2: #a7a7ad;
  --cobalt: #2f5bff;
  --cobalt-ink: #2449d8;
  --cobalt-night: #8fa8ff;
  --ok: #1f7a4d;
  --warn: #8a5a00;
  --danger: #b4232f;
  --logo-light: hsl(240deg 3% 11%);
  --logo-dark: hsl(240deg 2% 96%);
  --font: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fs-hero: clamp(2.75rem, 1.6rem + 4.8vw, 6rem);
  --fs-display: clamp(2.125rem, 1.5rem + 2.4vw, 3.625rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .8125rem;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --gap: clamp(16px, 2vw, 32px);
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: clamp(64px, 3rem + 3vw, 96px);
  --s-8: clamp(80px, 3.5rem + 5vw, 128px);
  --section: clamp(96px, 4rem + 7vw, 192px);
  --header-h: 76px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease: cubic-bezier(.25, .1, .25, 1);
}
@media (max-width: 899px) { :root { --header-h: 64px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-color: var(--line-2) transparent; -webkit-tap-highlight-color: transparent; accent-color: var(--ink); caret-color: var(--cobalt); }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; font-feature-settings: 'kern', 'calt'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizelegibility; overflow-wrap: break-word; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500; }
.skip-link:focus { top: 12px; }
.page { overflow-x: clip; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* ---------- Typografie ---------- */
.hero-title, .display, .h2, .h3, .h4 { color: var(--ink); font-weight: 520; text-wrap: balance; }
.hero-title { font-size: var(--fs-hero); line-height: .95; letter-spacing: -.04em; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.032em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.028em; }
.h4 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 450; line-height: 1.4; color: var(--muted); }
.label .idx { color: var(--ink); }
.pt { color: var(--cobalt); }
.prose { max-width: 38em; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose a, .text-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--line-2); transition: text-decoration-color .16s var(--ease); }
.tnum { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .prose a:hover, .text-link:hover { text-decoration-color: var(--cobalt); } }

/* ---------- Logo (unverändert aus dem Original) ---------- */
.wordmark { display: inline-block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -1.6px; line-height: 1; padding-block: 8px; color: var(--logo-light); }
.wordmark .dot { color: var(--logo-light); }
.section-night .wordmark, .site-footer .wordmark, .section-night .wordmark .dot, .site-footer .wordmark .dot { color: var(--logo-dark); }
/* Bildlogo (BX-Zeichen + Schriftzug) ersetzt die Textmarke; der Text bleibt als Rückfall und für Vorleser im Markup */
.wordmark[aria-label^="Bitxafe"] { width: 210px; height: 48px; padding: 0; font-size: 0; letter-spacing: 0; color: transparent; background: url(/assets/logo-hell.svg) left center / contain no-repeat; }
.wordmark[aria-label^="Bitxafe"] .dot { color: transparent; }
.section-night .wordmark[aria-label^="Bitxafe"], .site-footer .wordmark[aria-label^="Bitxafe"] { background-image: url(/assets/logo-dunkel.svg); }
@media (max-width: 899px) { .wordmark[aria-label^="Bitxafe"] { width: 176px; height: 44px; } }
@media (max-width: 899px) { .wordmark { font-size: 28px; } }

/* ---------- Buttons & Links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-size: 1rem; font-weight: 500; letter-spacing: -.005em; white-space: nowrap; transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .14s var(--ease-out); }
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-light { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; color: var(--ink); }
.arrow-link .ico { width: 18px; height: 18px; color: var(--cobalt); transition: transform .2s var(--ease-out); }
.arrow-link span { background: linear-gradient(currentcolor, currentcolor) 0 100% / 0 1px no-repeat; transition: background-size .28s var(--ease-out); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--cobalt); border-color: var(--cobalt); }
  .btn:hover .ico { transform: translateX(3px); }
  .btn-ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-light:hover { background: var(--white); border-color: var(--white); color: var(--night); }
  .arrow-link:hover .ico { transform: translateX(4px); }
  .arrow-link:hover span { background-size: 100% 1px; }
}

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentcolor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--paper); border-bottom: 1px solid transparent; transition: transform .32s var(--ease-out), background-color .2s var(--ease), border-color .2s var(--ease); }
.site-header.is-scrolled { background: var(--white); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: var(--s-4); height: 100%; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: .9375rem; font-weight: 450; color: var(--ink-2); transition: color .16s var(--ease); }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .28s var(--ease-out); }
.nav a[aria-current='page'] { color: var(--ink); }
.nav a[aria-current='page']::after { transform: scaleX(1); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; position: relative; width: 48px; height: 48px; margin-right: -12px; border: 0; background: transparent; }
.menu-toggle i { position: absolute; left: 14px; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-out); }
.menu-toggle i:first-child { top: 19px; }
.menu-toggle i:last-child { top: 27px; }
.menu-toggle[aria-expanded='true'] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
}
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 99; display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-3) var(--gutter) calc(96px + env(safe-area-inset-bottom)); background: var(--white); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity .24s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 76px; padding-block: 18px; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.mobile-menu li a .label { font-size: .75rem; letter-spacing: 0; }
.mobile-menu li a[aria-current='page'] { color: var(--cobalt); }
.menu-foot { display: grid; gap: 12px; }
.menu-foot .btn { width: 100%; }
.menu-foot a.plain { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.menu-foot a.plain .ico { width: 18px; height: 18px; color: var(--muted); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: var(--s-8); }
.section-paper2 { background: var(--paper-2); }
.section-white { background: var(--paper-2); }
.section-night { background: var(--night); color: var(--on-night-2); }
.section-night .h2, .section-night .h3, .section-night .h4, .section-night .display { color: var(--on-night); }
.section-night .lead { color: var(--on-night-2); }
.section-night .label { color: var(--on-night-2); }
.section-night .label .idx { color: var(--on-night); }
.section-night .arrow-link { color: var(--on-night); }
.section-night .arrow-link .ico { color: var(--cobalt-night); }
.section-night ::selection { background: var(--on-night); color: var(--night); }
.section-night :focus-visible { outline-color: var(--cobalt-night); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-3) var(--gap); align-items: end; margin-bottom: var(--s-7); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head .h2, .sec-head .display { grid-column: 1 / span 8; }
.sec-head .lead { grid-column: 9 / -1; font-size: var(--fs-body); color: var(--muted); }
.section-night .sec-head .lead { color: var(--on-night-2); }
@media (max-width: 899px) { .sec-head .h2, .sec-head .display, .sec-head .lead { grid-column: 1 / -1; } }
.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 4vw, 64px); padding-bottom: var(--s-7); }
.hero-meta { display: flex; justify-content: flex-start; align-items: center; gap: var(--s-3); padding-bottom: var(--s-5); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: block; }
.hero-title .ln.indent { padding-left: calc((100% + var(--gap)) / 12 * 2); }
.hero-foot { margin-top: var(--s-7); row-gap: var(--s-6); align-items: start; }
.hero-copy { grid-column: 1 / span 5; display: grid; gap: var(--s-4); }
.flow { grid-column: 7 / -1; border-top: 1px solid var(--line-2); counter-reset: flow; }
.flow li { border-bottom: 1px solid var(--line); }
.flow a { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 64px; padding-block: 12px; }
.flow .f-idx { white-space: nowrap; font-size: var(--fs-label); color: var(--muted); transition: color .2s var(--ease); }
.flow .f-name { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.flow .f-name small { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.flow .ico { width: 20px; height: 20px; color: var(--muted); transition: transform .24s var(--ease-out), color .2s var(--ease); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .flow a:hover .f-idx { color: var(--cobalt); }
  .flow a:hover .ico { transform: translateX(4px); color: var(--ink); }
}
@media (max-width: 899px) {
  .hero-meta .hide-m { display: none; }
  .hero-title .ln.indent { padding-left: 0; }
  .hero-copy, .flow { grid-column: 1 / -1; }
  .hero-copy .actions .btn { flex: 1 1 100%; }
  .flow a { grid-template-columns: 88px minmax(0, 1fr) auto; }
  .scroll-cue { display: none; }
}

/* ---------- Showcase (Kino-Moment) ---------- */
.showcase { padding-bottom: var(--section); }
.show-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-block: var(--s-3); border-top: 1px solid var(--line); }
.stage-wrap { position: relative; transform-origin: 50% 0; will-change: transform; }
.frame { position: relative; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(10 10 11 / 4%), 0 60px 120px -60px rgb(10 10 11 / 30%); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); }
.frame-bar .url { flex: 1; text-align: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-bar .tag { font-family: var(--mono); font-size: .6875rem; color: var(--ink); padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.frame img { width: 100%; }
.phone-shot { position: absolute; right: clamp(-8px, 2vw, 40px); bottom: clamp(-48px, -3vw, -24px); width: clamp(120px, 17%, 250px); padding: 7px; border-radius: 30px; background: var(--ink); box-shadow: 0 40px 80px -40px rgb(10 10 11 / 60%); }
.phone-shot img { border-radius: 23px; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; }
@media (max-width: 599px) {
  .frame-bar { height: 34px; padding: 0 12px; }
  .frame-bar .url { text-align: left; }
  .phone-shot { width: 30%; padding: 5px; border-radius: 20px; right: 10px; bottom: -28px; }
  .phone-shot img { border-radius: 15px; }
}

/* ---------- Statement ---------- */
.statement .display { max-width: 15em; }
.statement .w { transition: color .5s var(--ease); }
.statement .is-scrubbed .w { color: rgb(10 10 11 / 18%); }
.statement .is-scrubbed .w.lit { color: var(--ink); }
.statement-foot { margin-top: var(--s-6); }
.statement-foot .lead { grid-column: 7 / -1; }
@media (max-width: 899px) { .statement-foot .lead { grid-column: 1 / -1; } }

/* ---------- Leistungen (vertikale Präsentation) ---------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.svc-stage { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 64px); width: 100%; border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.svc-list { grid-column: 7 / -1; border-top: 1px solid var(--line-2); }
.svc-row { position: relative; display: grid; gap: var(--s-3); padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.svc-row .row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc-row .h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.04em; transition: color .3s var(--ease); }
.svc-row p { max-width: 34em; }
.feat { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: var(--fs-small); color: var(--muted); }
.feat li { display: inline-flex; align-items: center; }
.feat li:not(:last-child)::after { content: '/'; margin-inline: 10px; color: var(--line-2); }
.svc-row .inline-vis { display: none; }
.svc-care { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: var(--s-5); }
.svc-care p { max-width: 32em; }
.vis { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(24px, 3vw, 44px); opacity: 0; transform: scale(.985); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.vis.is-on { opacity: 1; transform: none; }
.js-svc .svc-row:not(.is-on) .h3 { color: var(--muted); }
@media (max-width: 899px) {
  .svc-stage { display: none; }
  .svc-list { grid-column: 1 / -1; }
  .svc-row .inline-vis { position: relative; display: grid; place-items: center; min-height: 260px; padding: 24px 20px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
  .svc-row .inline-vis .vis { position: static; opacity: 1; transform: none; padding: 0; width: 100%; }
  .js-svc .svc-row:not(.is-on) .h3 { color: var(--ink); }
}

/* Technische Detail-Visuals (monochrom, HTML statt Bild) */
.v-card { width: 100%; max-width: 420px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgb(10 10 11 / 35%); overflow: hidden; }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.v-head b { font-weight: 450; color: var(--ink); }
.v-body { padding: 18px 16px; }
.type-spec .aa { font-size: clamp(3.5rem, 2.5rem + 3vw, 5rem); font-weight: 480; line-height: .9; letter-spacing: -.06em; color: var(--ink); }
.type-spec .scale { display: grid; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.type-spec .scale div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink); }
.type-spec .scale span { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.type-spec .s1 { font-size: 1.5rem; font-weight: 520; letter-spacing: -.03em; }
.type-spec .s2 { font-size: 1.125rem; font-weight: 480; letter-spacing: -.015em; }
.type-spec .s3 { font-size: .9375rem; }
.grid-lines { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 26px; margin-top: 16px; }
.grid-lines i { background: rgb(54 92 245 / 9%); border-left: 1px solid rgb(54 92 245 / 25%); }
.code { margin: 0; padding: 16px; font-family: var(--mono); font-size: .76rem; line-height: 1.75; color: var(--ink-2); white-space: pre; overflow: hidden; }
.code .k { color: var(--cobalt-ink); }
.code .c { color: var(--muted); }
.checks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink); }
.checks li:first-child { border-top: 0; }
.checks code { font-family: var(--mono); font-size: .76rem; }
.st { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--ok); }
.st.warn::before { background: #c58a12; }
.st.crit::before { background: var(--danger); }
.st.blue::before { background: var(--cobalt); }
.diagram { width: 100%; max-width: 420px; }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.d-line { fill: none; stroke: var(--line-2); stroke-width: 1; }
.d-path { fill: none; stroke: var(--cobalt); stroke-width: 1.25; stroke-dasharray: 4 6; }
.d-node { fill: var(--white); stroke: var(--line-2); stroke-width: 1; }
.d-node-a { fill: var(--white); stroke: var(--ink); stroke-width: 1; }
.d-txt { font-family: var(--mono); font-size: 11px; fill: var(--ink); }
.d-sub { font-family: var(--mono); font-size: 9.5px; fill: var(--muted); }
.d-dot { fill: var(--cobalt); }

/* ---------- Ausgewählte Arbeit ---------- */
.work { row-gap: var(--s-6); }
.work-a { grid-column: 1 / span 5; }
.work-b { grid-column: 7 / -1; align-self: end; display: grid; gap: var(--s-4); }
.work-c { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) var(--gap); align-items: end; }
.work-c .m1 { grid-column: 1 / span 3; }
.work-c .m2 { grid-column: 4 / span 3; margin-bottom: var(--s-7); }
.work-c .m3 { grid-column: 7 / span 6; }
.media { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--paper-3); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.media.portrait { aspect-ratio: 4 / 5; }
.media.tall { aspect-ratio: 7 / 11; }
.media.wide { aspect-ratio: 4 / 3; }
.work-title { font-size: var(--fs-display); line-height: .92; letter-spacing: -.055em; }
.facts { border-top: 1px solid var(--line-2); }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.facts dt { font-size: var(--fs-label); color: var(--muted); padding-top: 2px; }
.facts dd { color: var(--ink); }
.honest { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--fs-small); color: var(--ink); }
.honest .ico { width: 16px; height: 16px; color: var(--cobalt); }
@media (hover: hover) and (pointer: fine) { a.media:hover img, .media-link:hover .media img { transform: scale(1.03); } }
@media (max-width: 899px) {
  .work-a, .work-b { grid-column: 1 / -1; }
  .work-c .m1 { grid-column: 1 / span 6; }
  .work-c .m2 { grid-column: 7 / -1; margin-bottom: var(--s-6); }
  .work-c .m3 { grid-column: 1 / -1; }
  .facts div { grid-template-columns: 110px minmax(0, 1fr); }
}

/* ---------- Prozess ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); padding-top: var(--s-5); }
.process-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.process-line i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 1)); transform-origin: left; }
.step { position: relative; display: grid; align-content: start; gap: 14px; }
.step::before { content: ''; position: absolute; left: 0; top: calc(-1 * var(--s-5) - 4px); width: 9px; height: 9px; border-radius: 2px; background: var(--paper); border: 1px solid var(--ink); transition: background-color .3s var(--ease); }
.step.is-reached::before { background: var(--ink); }
.step .label { color: var(--muted); }
.step p { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 899px) {
  .process { grid-template-columns: 1fr; gap: var(--s-5); padding-top: 0; padding-left: 36px; }
  .process-line { inset: 6px auto 6px 4px; width: 1px; height: auto; }
  .process-line i { transform: scaleY(var(--p, 1)); transform-origin: top; }
  .step::before { left: -36px; top: 6px; }
}

/* ---------- Hosting & Sicherheit (dunkel) ---------- */
.secure { row-gap: var(--s-6); align-items: center; }
.secure-copy { grid-column: 1 / span 5; display: grid; gap: var(--s-4); }
.secure-vis { grid-column: 7 / -1; }
.sec-diagram { padding: clamp(20px, 2.5vw, 36px); border: 1px solid var(--night-line); border-radius: var(--r-lg); background: var(--night-2); }
.sec-diagram svg { width: 100%; height: auto; }
.n-line { fill: none; stroke: rgb(238 241 246 / 22%); stroke-width: 1; }
.n-path { fill: none; stroke: var(--cobalt-night); stroke-width: 1.25; }
.n-node { fill: var(--night); stroke: rgb(238 241 246 / 30%); stroke-width: 1; }
.n-node-a { fill: var(--night); stroke: var(--cobalt-night); stroke-width: 1.25; }
.n-txt { font-family: var(--mono); font-size: 12px; fill: var(--on-night); }
.n-sub { font-family: var(--mono); font-size: 10px; fill: var(--on-night-2); }
.n-pulse { fill: var(--cobalt-night); }
.status { margin-top: clamp(16px, 2vw, 28px); border-top: 1px solid var(--night-line); }
.status li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--night-line); font-size: var(--fs-small); color: var(--on-night); }
.status .st { color: var(--on-night-2); }
.status .st::before { background: #5fd39a; }
.status .st.blue::before { background: var(--cobalt-night); }
.status-note { margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--on-night-2); }
.sec-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--night-line); }
.sec-points li { padding-block: 16px; border-bottom: 1px solid var(--night-line); color: var(--on-night); font-size: var(--fs-small); }
.sec-points li span { display: block; color: var(--on-night-2); }
@media (max-width: 899px) { .secure-copy, .secure-vis { grid-column: 1 / -1; } .sec-points { grid-template-columns: 1fr; } }

/* ---------- Haltung ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--line-2); counter-reset: pr; }
.principles li { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.principles .label { padding-top: 6px; }
.principles h3 { margin-bottom: 8px; }
.principles p { color: var(--muted); max-width: 30em; }
@media (max-width: 899px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Abschluss-CTA ---------- */
.final { text-align: left; }
.final .display { max-width: 13em; }
.final-row { margin-top: var(--s-7); row-gap: var(--s-5); align-items: end; }
.reach { grid-column: 7 / -1; border-top: 1px solid var(--line-2); }
.reach a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 84px; border-bottom: 1px solid var(--line); }
.reach .r-k { font-size: var(--fs-label); color: var(--muted); }
.reach .r-v { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.reach .ico { color: var(--muted); transition: transform .24s var(--ease-out), color .2s var(--ease); }
.magnetic { will-change: transform; }
@media (hover: hover) and (pointer: fine) { .reach a:hover .ico { transform: translate(3px, -3px); color: var(--cobalt); } }
@media (max-width: 899px) { .reach { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: var(--s-8); padding-bottom: calc(112px + env(safe-area-inset-bottom)); background: var(--night); color: var(--on-night-2); font-size: var(--fs-small); }
.f-top { row-gap: var(--s-5); padding-bottom: var(--s-7); }
.f-brand { grid-column: 1 / span 4; display: grid; gap: 16px; align-content: start; }
.f-brand p { max-width: 24em; }
.f-col { grid-column: span 2; display: grid; gap: 4px; align-content: start; }
.f-col.addr { grid-column: span 3; }
.f-col .h { margin-bottom: 8px; font-size: var(--fs-label); color: var(--on-night); }
.f-col a, .f-col address { font-style: normal; color: var(--on-night-2); transition: color .16s var(--ease); }
.f-col a { display: inline-flex; align-items: center; min-height: 32px; }
.f-bottom { padding-right: clamp(0px, 8vw, 120px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: var(--s-4); border-top: 1px solid var(--night-line); font-size: .8125rem; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.f-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--on-night-2); transition: color .16s var(--ease); }
.f-bottom .ico { width: 14px; height: 14px; }
.site-footer :focus-visible { outline-color: var(--cobalt-night); }
@media (hover: hover) and (pointer: fine) { .f-col a:hover, .f-bottom a:hover { color: var(--on-night); } }
@media (max-width: 1023px) { .f-brand { grid-column: 1 / -1; } .f-col { grid-column: span 4; } .f-col.addr { grid-column: span 4; } }
@media (max-width: 599px) { .f-col, .f-col.addr { grid-column: span 6; } .f-col.addr { grid-column: 1 / -1; } .f-col a { min-height: 44px; } .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); } }

/* ---------- Unterseiten ---------- */
.crumbs { padding-top: var(--s-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-family: inherit; font-size: .875rem; align-items: center; }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-2); }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.page-hero { padding-bottom: var(--s-8); padding-top: calc(var(--s-6) + var(--s-2)); background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: var(--gutter) var(--s-3); background-size: calc(100% - 2 * var(--gutter)) 2px; }
.page-hero .label { margin-bottom: var(--s-4); }
.page-hero .display { max-width: 11em; }
.page-hero-foot { margin-top: var(--s-6); row-gap: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); align-items: start; }
.page-hero-foot .lead { grid-column: 1 / span 6; }
.page-hero-foot .actions { grid-column: 9 / -1; justify-content: flex-end; }
.page-hero.night { background: var(--night); color: var(--on-night-2); padding-top: var(--s-8); background-image: none; }
.page-hero.night .display { color: var(--on-night); }
.page-hero.night .lead { color: var(--on-night-2); }
.page-hero.night .label { color: var(--on-night-2); }
.page-hero.night .label .idx { color: var(--on-night); }
@media (max-width: 899px) { .page-hero-foot .lead, .page-hero-foot .actions { grid-column: 1 / -1; justify-content: flex-start; } .page-hero-foot .actions .btn { flex: 1 1 100%; } }
.split { row-gap: var(--s-5); align-items: start; }
.split > .s-a { grid-column: 1 / span 5; }
.split > .s-a, .split > .s-b:not(.faq, .prose) { display: grid; gap: var(--s-3); align-content: start; }
.split > .s-a > .lead, .split > .s-a > .prose, .split > .s-a > .actions, .split > .s-a > .callout { margin-top: var(--s-2); }
.split > .s-b { grid-column: 7 / -1; }
.split > .s-a.sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split.rev > .s-a { grid-column: 8 / -1; grid-row: 1; }
.split.rev > .s-b { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 899px) { .split > .s-a, .split > .s-b, .split.rev > .s-a, .split.rev > .s-b { grid-column: 1 / -1; grid-row: auto; } .split > .s-a.sticky { position: static; } }
.spec { border-top: 1px solid var(--line-2); }
.spec li { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.spec .label { padding-top: 3px; }
.spec h3 { margin-bottom: 4px; }
.spec p { color: var(--muted); font-size: var(--fs-small); max-width: 34em; }
.section-night .spec, .section-night .spec li { border-color: var(--night-line); }
.section-night .spec p { color: var(--on-night-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--fs-small); color: var(--ink); }
.callout { padding: var(--s-4); border-radius: var(--r-md); background: var(--white); }
.callout p { color: var(--ink-2); font-size: var(--fs-small); }
.section-night .callout { background: var(--night-2); }
.section-night .callout p { color: var(--on-night-2); }
.big-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.big-flow a { display: grid; gap: 10px; align-content: start; min-height: 168px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.big-flow a + a { padding-left: 20px; border-left: 1px solid var(--line); }
.big-flow .bf-name { font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 520; letter-spacing: -.03em; color: var(--ink); }
.big-flow .bf-sub { font-size: var(--fs-small); color: var(--muted); }
.big-flow .ico { margin-top: auto; color: var(--muted); transition: transform .24s var(--ease-out), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .big-flow a:hover .ico { transform: translateX(4px); color: var(--cobalt); } }
@media (max-width: 899px) { .big-flow { grid-template-columns: 1fr; } .big-flow a, .big-flow a + a { min-height: 0; padding: 18px 0; border-left: 0; grid-template-columns: 1fr auto; } .big-flow .ico { grid-row: 1 / span 3; grid-column: 2; align-self: center; margin: 0; } }
.svc-block { padding-block: var(--s-7); border-top: 1px solid var(--line-2); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.vis-panel { position: relative; display: grid; place-items: center; min-height: 420px; padding: clamp(24px, 3vw, 48px); border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.vis-panel .vis { position: static; opacity: 1; transform: none; padding: 0; width: 100%; }
.vis-panel.night { background: var(--night-2); border-color: var(--night-line); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding-block: 18px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -.015em; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); transition: transform .24s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .ans { padding-bottom: 24px; max-width: 42em; color: var(--muted); }
.note { font-size: var(--fs-small); color: var(--muted); max-width: 46em; }
.section-night .note { color: var(--on-night-2); }

/* Fallstudie */
.case-hero .work-title { font-size: var(--fs-display); }
.case-shots { row-gap: var(--s-5); align-items: end; }
.case-shots .c1 { grid-column: 1 / span 9; }
.case-shots .c2 { grid-column: 10 / -1; }
.gallery { row-gap: var(--s-4); align-items: start; }
.gallery .g1 { grid-column: 1 / span 4; }
.gallery .g2 { grid-column: 5 / span 4; margin-top: var(--s-7); }
.gallery .g3 { grid-column: 9 / span 4; }
.gallery .g4 { grid-column: 1 / span 7; }
.gallery .g5 { grid-column: 8 / -1; }
@media (max-width: 899px) {
  .case-shots .c1 { grid-column: 1 / -1; }
  .case-shots .c2 { grid-column: 3 / span 8; }
  .gallery .g1, .gallery .g3 { grid-column: span 6; }
  .gallery .g2 { grid-column: span 6; margin-top: 0; }
  .gallery .g4, .gallery .g5 { grid-column: 1 / -1; }
}

/* Kontakt */
.contact-cards { display: grid; border-top: 1px solid var(--line-2); }
.c-card { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-block: clamp(20px, .5rem + 1.5vw, 34px); border-bottom: 1px solid var(--line); color: var(--ink); }
.c-card .label { grid-column: 1 / span 3; font-size: var(--fs-small); color: var(--muted); }
.c-card .v { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.c-card .v small { display: block; margin-top: 6px; font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.c-card .go { grid-column: 12; place-self: center end; color: var(--muted); transition: transform .3s var(--ease-out), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.c-card:hover .go { transform: translate(3px, -3px); color: var(--cobalt); } a.c-card:hover::after { transform: scaleX(1); } }
@media (max-width: 899px) { .c-card .label { grid-column: 1 / -1; margin-bottom: 6px; } .c-card .c-val { grid-column: 1 / span 11; } }

/* Mehrstufiges Anfrageformular */
.inq-shell { row-gap: var(--s-5); align-items: start; }
.inq-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: var(--s-4); }
.inq { grid-column: 6 / -1; display: grid; gap: var(--s-5); padding: clamp(24px, 3.5vw, 56px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
@media (max-width: 899px) { .inq-aside, .inq { grid-column: 1 / -1; position: static; } }
.inq-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.inq-progress li { display: grid; gap: 10px; font-size: .75rem; color: var(--muted); }
.inq-progress .bar { height: 2px; background: var(--line); overflow: hidden; }
.inq-progress .bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.inq-progress li.is-done .bar i, .inq-progress li.is-current .bar i { transform: scaleX(1); }
.inq-progress li.is-current { color: var(--ink); }
.inq-progress li.is-current .bar i { background: var(--cobalt); }
.inq-step { display: grid; gap: var(--s-3); min-width: 0; margin: 0; padding: 0; border: 0; }
.inq-step[hidden] { display: none; }
.inq-step legend { padding: 0; margin-bottom: 4px; font-size: var(--fs-h3); font-weight: 520; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.inq-step .hint { margin-top: -4px; margin-bottom: 8px; color: var(--muted); font-size: var(--fs-small); }
.inq-step.is-entering { animation: step-in .32s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: grid; gap: 4px; min-height: 76px; padding: 14px 16px 14px 46px; border: 1px solid var(--line-2); border-radius: var(--r-md); transition: border-color .16s var(--ease), background-color .16s var(--ease); }
.choice span::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--white); transition: background-color .16s var(--ease), border-color .16s var(--ease); }
.choice span::after { content: ''; position: absolute; left: 22px; top: 20px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(.6); opacity: 0; transition: opacity .14s var(--ease), transform .2s var(--ease-out); }
.choice.radio span::before { border-radius: 4px; }
.choice.radio span::after { left: 21px; top: 22px; width: 8px; height: 8px; border: 0; border-radius: 1px; background: var(--white); transform: scale(.6); }
.choice b { font-weight: 500; color: var(--ink); }
.choice small { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.choice input:checked + span { border-color: var(--ink); background: var(--paper); }
.choice input:checked + span::before { background: var(--ink); border-color: var(--ink); }
.choice input:checked + span::after { opacity: 1; transform: rotate(45deg) scale(1); }
.choice.radio input:checked + span::after { transform: scale(1); }
.choice input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.choices.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choices.compact .choice span { min-height: 52px; align-content: center; }
@media (hover: hover) and (pointer: fine) { .choice:hover span { border-color: var(--ink); } }
@media (max-width: 599px) { .choices { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .flabel { font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); font-size: 1rem; color: var(--ink); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(54 92 245 / 18%); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field .err { font-size: .875rem; color: var(--danger); }
.field .err:empty { display: none; }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 599px) { .fields-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.inq-nav .grow { margin-left: auto; }
.inq-mode { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--muted); }
.inq-mode .ico { width: 16px; height: 16px; margin-top: 3px; }
.inq-alert { padding: 12px 16px; border-radius: var(--r-md); background: #fbeeee; color: var(--danger); font-size: var(--fs-small); }
.inq-alert[hidden] { display: none; }
.inq-success { display: grid; gap: var(--s-3); justify-items: start; }
.inq-success[hidden] { display: none; }
.inq-success .h3 { max-width: 16em; }
.inq-success p { color: var(--ink-2); max-width: 36em; }
.inq-success .copied { font-size: .875rem; color: var(--ok); }

/* Rechtstexte */
.legal { max-width: 52rem; padding-top: var(--s-5); padding-bottom: var(--section); }
.legal h1 { margin-bottom: var(--s-5); color: var(--ink); font-size: var(--fs-h2); font-weight: 520; line-height: 1; letter-spacing: -.042em; }
.legal h2 { margin-top: var(--s-6); margin-bottom: var(--s-2); color: var(--ink); font-size: 1.5rem; font-weight: 520; letter-spacing: -.025em; line-height: 1.2; }
.legal h3 { margin-top: var(--s-4); margin-bottom: 8px; color: var(--ink); font-size: 1.125rem; font-weight: 520; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 1em; }
.legal ul, .legal ol { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: .4em; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); overflow-wrap: anywhere; }
.legal address { font-style: normal; }
.legal nav, .legal .legal-toc { margin-block: var(--s-4); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.legal table { width: 100%; border-collapse: collapse; margin-block: 1em; font-size: var(--fs-small); }
.legal th, .legal td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

/* php2shell */
.versions { border-top: 1px solid var(--line-2); }
.versions div { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.versions dt { font-weight: 500; color: var(--ink); }
.versions dd { font-family: var(--mono); font-size: .875rem; color: var(--ok); text-align: right; }
.versions .eol dd { color: var(--danger); }
.php-check { display: grid; gap: 12px; }
.php-check label { font-size: var(--fs-small); font-weight: 500; color: var(--on-night); }
.php-check-row { display: flex; gap: 10px; }
.php-check-row input { flex: 1; min-width: 0; min-height: 54px; padding: 0 16px; border: 1px solid var(--night-line); border-radius: 999px; background: var(--night); color: var(--on-night); }
.php-check-row input:focus { outline: none; border-color: var(--cobalt-night); }
.php-check-row input::placeholder { color: var(--on-night-2); }
.php-check .note { color: var(--on-night-2); }
.php-check-result { padding: 16px; border: 1px solid var(--night-line); border-radius: var(--r-md); color: var(--on-night); font-size: var(--fs-small); }
.php-check-result[hidden] { display: none; }
@media (max-width: 599px) { .php-check-row { flex-direction: column; } }
.rows { border-top: 1px solid var(--line-2); }
.rows div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 22px; border-bottom: 1px solid var(--line); }
.rows dt { grid-column: 1 / span 4; font-weight: 500; color: var(--ink); }
.rows dd { grid-column: 5 / -1; color: var(--muted); }
@media (max-width: 899px) { .rows dt, .rows dd { grid-column: 1 / -1; } .rows dd { margin-top: 6px; } }
.news { border-top: 1px solid var(--line-2); }
.news a { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--line); }
.news time { font-size: var(--fs-label); color: var(--muted); }
.news .ico { color: var(--muted); }
@media (max-width: 699px) { .news a { grid-template-columns: 1fr; gap: 8px; } }

/* 404 */
.not-found { min-height: 60vh; display: grid; align-content: center; gap: var(--s-4); padding-block: var(--section); }

/* ---------- Bewegung ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .ln > span { animation: line-up .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .js .hero-meta, .js .hero-foot { animation: fade-up .8s var(--ease-out) both; }
  .js .hero-meta { animation-delay: .02s; }
  .js .hero-foot { animation-delay: .34s; }
  .js .flow li { animation: fade-up .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms + .42s); }
  .scroll-cue i::after { animation: cue 2.4s var(--ease-io) infinite; }
  .js-motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
  .js-motion [data-reveal].is-in { opacity: 1; transform: none; }
  .js-motion [data-clip] { clip-path: inset(8% 6% 8% 6% round var(--r-md)); transition: clip-path 1.1s var(--ease-out); }
  .js-motion [data-clip] img { transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
  .js-motion [data-clip].is-in { clip-path: inset(0 0 0 0 round var(--r-md)); }
  .js-motion [data-clip].is-in img { transform: none; }
}
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes cue { 0% { transform: translateY(-14px); } 60%, 100% { transform: translateY(44px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .n-pulse { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print { .site-header, .mobile-menu, .site-footer { display: none !important; } }

/* ---------- v6 Ergänzungen ---------- */
[data-d='1'] { --d: 1; }
[data-d='2'] { --d: 2; }
.prose.big { max-width: 34em; font-size: var(--fs-lead); line-height: 1.55; }
.c-card .c-val { grid-column: 4 / span 8; font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.page-hero .contact-cards { margin-top: var(--s-6); }
.checks-list { display: grid; gap: 12px; margin-top: var(--s-4); }
.checks-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.checks-list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--cobalt); }
.final-copy { grid-column: 1 / span 5; display: grid; gap: var(--s-4); }
.process.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.frame-link { display: block; }
.project-row { margin-top: var(--s-6); row-gap: var(--s-4); }
.pr-a { grid-column: 1 / span 5; }
.pr-b { grid-column: 7 / -1; display: grid; gap: var(--s-4); }
.spec.small li { padding-block: 16px; }
.phone-shot.static { position: relative; right: auto; bottom: auto; width: min(320px, 70%); margin-inline: auto; }
.news .n-body { display: grid; gap: 10px; }
.news .n-body > span:last-child { color: var(--muted); max-width: 44em; }
.news .n-body strong { display: block; }
.tag-warn { justify-self: start; padding: 3px 8px; border: 1px solid currentcolor; border-radius: 4px; color: var(--warn); }
.page-hero .wide-vis { margin-top: var(--s-7); min-height: 0; }
.legal .eyebrow { margin-bottom: var(--s-2); font-size: var(--fs-label); color: var(--muted); }
.legal .legal-part { margin-top: var(--s-6); }
.legal .legal-basis { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 899px) {
  .final-copy, .pr-a, .pr-b { grid-column: 1 / -1; }
  .final-copy .actions .btn { flex: 1 1 100%; }
  .process.four { grid-template-columns: 1fr; }
}
@media (max-width: 699px) { .show-meta { flex-direction: column; align-items: flex-start; gap: 8px; } .show-meta .label .idx { display: block; margin-bottom: 4px; } }
@media (max-width: 699px) { .code { font-size: .66rem; padding: 14px; } }

/* ---------- v7: Leistungs-Kacheln, Teaser, ruhiger Abschluss und Footer ---------- */

.teasers { border-top: 1px solid var(--line-2); }
.teasers a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.teasers .ts-k { grid-column: 1 / span 2; font-size: var(--fs-label); color: var(--muted); }
.teasers .ts-t { grid-column: 3 / span 5; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 520; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
.teasers .ts-s { grid-column: 8 / span 4; color: var(--muted); }
.teasers .ico { grid-column: 12; justify-self: end; color: var(--muted); transition: transform .24s var(--ease-out), color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .teasers a:hover .ico { transform: translateX(4px); color: var(--cobalt); } }
@media (max-width: 899px) { .teasers a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; padding-block: var(--s-5); } .teasers .ts-k, .teasers .ts-t, .teasers .ts-s { grid-column: 1; } .teasers .ico { grid-column: 2; grid-row: 2; align-self: center; } }

.final .final-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin-top: var(--s-6); }
.final-link { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: -.015em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; text-decoration-color: var(--line-2); transition: text-decoration-color .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { .final-link:hover { text-decoration-color: var(--cobalt); } }
@media (max-width: 599px) { .final .final-row { flex-direction: column; align-items: flex-start; } .final .final-row .btn { width: 100%; } }

.site-footer .f-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-4); padding-bottom: var(--s-6); }
.site-footer address { font-style: normal; color: var(--on-night-2); line-height: 1.8; text-align: right; }
.site-footer address a { color: var(--on-night); }
.f-bottom p { flex-basis: 100%; color: var(--on-night-2); }
@media (max-width: 599px) { .site-footer address { text-align: left; } .f-bottom nav { gap: 0 20px; } }

/* ---------- v7: Hero ohne Leistungsliste ---------- */
.hero-foot-solo { align-items: end; }
.hero-foot-solo .hero-copy { grid-column: 7 / -1; grid-row: 1; }
.hero-foot-solo .scroll-cue { grid-column: 1 / span 3; grid-row: 1; align-self: end; }
.hero-foot-solo .lead { max-width: 30em; }
@media (max-width: 899px) {
  .hero-foot-solo .hero-copy, .hero-foot-solo .scroll-cue { grid-column: 1 / -1; grid-row: auto; }
}

