/* ============================================================
   KAMINSKI DIGITAL – Design-System „Das System hinter der Website“
   Dunkles Editorial-Design, Elektroblau + Lime-Signal,
   Clash Display / Plus Jakarta Sans / Instrument Serif / Plex Mono
   ============================================================ */

/* ---------- Fonts (alle lokal) ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/assets/fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0d13;
  --bg-raise: #0f131c;
  --card: #131927;
  --paper: #f3f1ea;
  --paper-dim: #eae7dc;
  --tx: #eff2f8;
  --tx-soft: #9ba4b6;
  --ink: #0c0f15;
  --ink-soft: #4b5160;
  --blue: #5b7cfa;
  --blue-deep: #3d56c9;
  --lime: #d7f765;
  --ln: rgba(239, 242, 248, .13);
  --ln-strong: rgba(239, 242, 248, .26);
  --ink-ln: rgba(12, 15, 21, .16);
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: 'Clash Display', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: 10px; left: 10px;
  transform: translateY(-300%);
  background: var(--lime); color: var(--ink);
  font-family: var(--font-mono); font-size: .8rem;
  padding: .6rem 1rem; border-radius: 6px;
  z-index: 5000; transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

main { position: relative; z-index: 1; }

/* ---------- Typo-Bausteine ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tx-soft);
}

.display, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}
.display { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.display-2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); line-height: 1.12; }
.display-3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; }

.display em, .display-2 em, .display-3 em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.05em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--tx-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Sektionen ---------- */
.section {
  position: relative;
  padding-block: clamp(5rem, 12vh, 10rem);
}
.hero + .section { padding-top: clamp(2.5rem, 6vh, 4rem); }
.section--flush-top { padding-top: 0; }

.section--paper {
  --tx: var(--ink);
  --tx-soft: var(--ink-soft);
  --ln: var(--ink-ln);
  --ln-strong: rgba(12, 15, 21, .3);
  --card: #fbfaf5;
  background: var(--paper);
  color: var(--ink);
}
.section--paper .lead { color: var(--ink-soft); }
.section--paper .mono { color: var(--ink-soft); }

.sec-head {
  max-width: 64ch;
  border-top: 1px solid var(--ln-strong);
  padding-top: 1.6rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.sec-head .lead { margin-top: 1.1rem; }

/* ---------- Buttons & Links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  background: var(--blue); color: #fff;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(91, 124, 250, .65); background: var(--blue-deep); }
.btn:active { transform: translateY(0); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #c9ef47; box-shadow: 0 14px 40px -12px rgba(215, 247, 101, .5); }

.btn--ghost {
  background: transparent; color: var(--tx);
  border: 1.5px solid var(--ln-strong);
}
.btn--ghost:hover { background: rgba(239, 242, 248, .07); box-shadow: none; border-color: var(--tx-soft); }
.section--paper .btn--ghost { color: var(--ink); border-color: rgba(12, 15, 21, .35); }
.section--paper .btn--ghost:hover { background: rgba(12, 15, 21, .06); }

.btn-header { padding: .7rem 1.4rem; font-size: .88rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .98rem;
  color: var(--tx);
}
.arrow-link::after {
  content: '→';
  transition: transform .35s var(--ease);
}
.arrow-link:hover::after { transform: translateX(6px); }
.arrow-link--acc { color: var(--acc, var(--blue)); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(10, 13, 19, .96);
  border-bottom: 1px solid var(--ln);
}
.site-header.is-scrolled {
  box-shadow: 0 18px 36px -32px rgba(0, 0, 0, .8);
}

.header-bar {
  display: flex; align-items: center; gap: 1.6rem;
  padding-block: .9rem;
}
.brand { flex-shrink: 0; }
.brand img { width: clamp(132px, 12vw, 168px); height: auto; }

.main-nav { display: none; gap: 1.6rem; margin-inline: auto; }
.main-nav a {
  position: relative;
  font-size: .92rem; font-weight: 500;
  color: var(--tx-soft);
  padding-block: .3rem;
  transition: color .3s;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--tx);
  transition: right .35s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--tx); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-side { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem; }
.nav-toggle-lines { display: grid; gap: 5px; width: 22px; }
.nav-toggle-lines i { height: 2px; background: var(--tx); transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 560px) {
  .btn-header { display: none; }
}

/* ---------- Mobile Menü ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 950;
  background: rgba(10, 13, 19, .97);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: grid; gap: .4rem; }
.mobile-nav a {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.25;
  color: var(--tx);
  transition: color .3s, transform .4s var(--ease);
}
.mobile-nav a:hover { color: var(--blue); transform: translateX(8px); }
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav .mobile-cta { color: var(--lime); }
.mobile-menu-meta { margin-top: 3rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(4.5rem, 10vh, 7rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-glow {
  display: none;
}
.hero-grid {
  display: grid; gap: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.4fr); }
}
@media (max-width: 720px) {
  .hero {
    padding-top: clamp(3.25rem, 8vh, 4.5rem);
    padding-bottom: 1.6rem;
  }
  .hero + .section { padding-top: 1rem; }
  .hero-grid { gap: 2rem; }
  .hero-stage { display: none; }
}
.hero-title { margin-bottom: 1.6rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-meta { display: none; }

/* Sub-Page Hero */
.hero--sub { padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.hero--sub .hero-title { max-width: 18ch; }

/* ---------- Hero-Schaltplan: feine Leiterbahnen + wandernder Signal-Impuls ---------- */
.hero-circuit {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Stärkster Bereich rechts oben/mittig, zu den Rändern und nach unten ausgeblendet */
  -webkit-mask-image: radial-gradient(110% 92% at 74% 32%, #000 32%, transparent 78%);
  mask-image: radial-gradient(110% 92% at 74% 32%, #000 32%, transparent 78%);
}
.hero-circuit svg {
  width: 100%; height: 100%; display: block;
  /* Zweite Maskenebene (multipliziert sich mit der äußeren): hinter der Headline stark abgedimmt */
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 26%, rgba(0, 0, 0, .55) 44%, #000 60%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, .18) 26%, rgba(0, 0, 0, .55) 44%, #000 60%);
}

.hc-main { stroke: rgba(91, 124, 250, .16); stroke-width: 1.25; }
.hc-traces path { stroke: rgba(91, 124, 250, .12); stroke-width: 1; }
.hc-traces .hc-trace--alt { stroke: rgba(143, 208, 255, .10); }
.hc-nodes circle { fill: rgba(91, 124, 250, .35); }

/* Impuls: Dash-Fenster wandert einmal ruhig durch (82 % Laufzeit), danach kurze Pause */
.hc-beam-glow {
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 150 1850;
  stroke-dashoffset: 150;
  opacity: .5;
  filter: blur(3px);
  animation: hc-beam-glow 11s linear infinite;
}
.hc-beam-core {
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 26 1974;
  stroke-dashoffset: 88;
  opacity: .95;
  animation: hc-beam-core 11s linear infinite;
}
@keyframes hc-beam-glow {
  0% { stroke-dashoffset: 150; }
  82%, 100% { stroke-dashoffset: -1150; }
}
@keyframes hc-beam-core {
  0% { stroke-dashoffset: 88; }
  82%, 100% { stroke-dashoffset: -1212; }
}

/* Knoten glimmen kurz auf, wenn der Impuls vorbeiläuft (Delays ≈ Pfadposition) */
.hc-node-glow {
  fill: var(--lime);
  opacity: 0;
  animation: hc-node-pulse 11s linear infinite;
}
.hc-ng-1 { animation-delay: 2.35s; }
.hc-ng-2 { animation-delay: 4.3s; }
.hc-ng-3 { animation-delay: 6s; }
@keyframes hc-node-pulse {
  0%, 1% { opacity: 0; }
  3% { opacity: .85; }
  7%, 100% { opacity: 0; }
}

/* Unterseiten: statisches Fragment oben rechts – gleiche Sprache, kein Beam */
.hero-circuit--sub {
  inset: 0 0 auto auto;
  width: min(620px, 52vw);
  height: 100%;
  max-height: 380px;
  -webkit-mask-image: radial-gradient(125% 135% at 96% 0%, #000 28%, transparent 80%);
  mask-image: radial-gradient(125% 135% at 96% 0%, #000 28%, transparent 80%);
}
.hero-circuit--sub svg {
  /* Eigene innere Maske: zum Text hin weich einblenden */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}

/* 404: Signalweg in die Sackgasse – Impuls läuft hinein und verlischt */
.hero-circuit--404 {
  -webkit-mask-image: radial-gradient(130% 120% at 50% 8%, #000 35%, transparent 84%);
  mask-image: radial-gradient(130% 120% at 50% 8%, #000 35%, transparent 84%);
}
.hero-circuit--404 svg {
  -webkit-mask-image: none;
  mask-image: none;
}
.hc-deadend {
  fill: none;
  stroke: rgba(91, 124, 250, .5);
  stroke-width: 1.25;
}
.hc-beam-glow--404 { animation: hc-beam-404-glow 14s linear infinite; }
.hc-beam-core--404 { animation: hc-beam-404-core 14s linear infinite; }
@keyframes hc-beam-404-glow {
  0% { stroke-dashoffset: 150; opacity: 0; }
  4% { opacity: .5; }
  55% { stroke-dashoffset: -850; opacity: .5; }
  64%, 100% { stroke-dashoffset: -850; opacity: 0; }
}
@keyframes hc-beam-404-core {
  0% { stroke-dashoffset: 88; opacity: 0; }
  4% { opacity: .95; }
  55% { stroke-dashoffset: -912; opacity: .95; }
  64%, 100% { stroke-dashoffset: -912; opacity: 0; }
}
.hc-ng-404 { animation: hc-deadend-pulse 14s linear infinite; }
@keyframes hc-deadend-pulse {
  0%, 52% { opacity: 0; }
  56% { opacity: .9; }
  68%, 100% { opacity: 0; }
}

/* Mobile/schmale Viewports: nur schwacher statischer Ausschnitt oben rechts, kein Beam */
@media (max-width: 1059px) {
  .hero-circuit {
    opacity: .55;
    -webkit-mask-image: radial-gradient(85% 55% at 92% 10%, #000 18%, transparent 68%);
    mask-image: radial-gradient(85% 55% at 92% 10%, #000 18%, transparent 68%);
  }
  .hero-circuit--404 {
    -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 80%);
    mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 80%);
  }
  .hc-beam-glow, .hc-beam-core, .hc-node-glow { display: none; }
}
@media (max-width: 719px) {
  .hero-circuit--sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-beam-glow, .hc-beam-core, .hc-node-glow { display: none; }
}

/* ---------- Hero-Stage: Browser baut sich in 4 Phasen ---------- */
.hero-stage {
  position: relative;
  isolation: isolate;
  user-select: none;
}
.home-page .hero-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 3%;
  right: -2%;
  bottom: -5.2rem;
  height: 9rem;
  background:
    radial-gradient(ellipse at center, rgba(166, 176, 190, .34), rgba(70, 78, 90, .2) 42%, transparent 72%),
    linear-gradient(180deg, rgba(239, 242, 248, .1), transparent 70%);
  filter: blur(22px);
  opacity: .74;
  transform: scaleY(.62);
  pointer-events: none;
}
.stage {
  position: relative;
  z-index: 1;
  background: var(--bg-raise);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 70px -46px rgba(0, 0, 0, .85);
}
.home-page .stage {
  border-color: rgba(239, 242, 248, .16);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .02) inset,
    0 18px 48px -34px rgba(0, 0, 0, .9);
}
.stage-chrome {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--ln);
  background: rgba(239, 242, 248, .03);
}
.stage-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--ln-strong); }
.stage-chrome i:first-child { background: rgba(226, 103, 74, .8); }
.stage-url {
  flex: 1;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: 0;
  color: var(--tx-soft);
  background: rgba(239, 242, 248, .05);
  border-radius: 6px;
  padding: .3rem .8rem;
  display: flex; align-items: center; gap: .5rem;
  max-width: 280px;
}
.stage-url::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--lime); flex-shrink: 0; }
.stage-live {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: 0;
  color: var(--ink);
  background: var(--lime);
  padding: .2rem .6rem; border-radius: 999px;
  opacity: 0; scale: .8;
  transition: opacity .5s var(--ease), scale .5s var(--ease);
}
.stage[data-phase="4"] .stage-live { opacity: 1; scale: 1; }

.stage-page {
  position: relative;
  padding: clamp(1rem, 2.6vw, 1.8rem);
  display: grid; gap: clamp(.7rem, 1.6vw, 1.1rem);
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 10 / 8.4;
  background-image:
    linear-gradient(rgba(91, 124, 250, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 124, 250, .09) 1px, transparent 1px);
  background-size: 34px 34px;
  transition: background-color .7s;
}
.stage[data-phase="3"] .stage-page, .stage[data-phase="4"] .stage-page { background-image: none; }

/* Bausteine der Mini-Seite */
.sp { border-radius: 8px; position: relative; transition: all .65s var(--ease); }

.sp-head { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; }
.sp-logo { width: 1.5rem; height: 1.5rem; border-radius: 6px; flex-shrink: 0; }
.sp-navline { width: 2.2rem; height: .38rem; border-radius: 99px; }
.sp-cta-mini { margin-left: auto; width: 4.2rem; height: 1.15rem; border-radius: 99px; }

.sp-hero { display: grid; grid-template-columns: 1.25fr .9fr; gap: 1rem; padding: clamp(.8rem, 2vw, 1.2rem); flex: 1; }
.sp-hero-copy { display: grid; gap: .55rem; align-content: center; }
.sp-line { height: .82rem; border-radius: 99px; }
.sp-line--1 { width: 92%; }
.sp-line--2 { width: 70%; }
.sp-line--sm { height: .42rem; width: 84%; }
.sp-btn { width: 5.4rem; height: 1.35rem; border-radius: 99px; margin-top: .4rem; }
.sp-media { border-radius: 10px; min-height: 4.6rem; position: relative; overflow: hidden; }

.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.sp-card { min-height: 3.2rem; border-radius: 10px; padding: .55rem; display: grid; gap: .35rem; align-content: end; }
.sp-card i { display: block; height: .34rem; border-radius: 99px; width: 80%; }
.sp-card i + i { width: 55%; }

/* Phase 1 – Blueprint: gestrichelte Konturen + Anker-Punkte */
.stage[data-phase="1"] .sp:not(.sp--bare) {
  background: transparent;
  border: 1.5px dashed rgba(91, 124, 250, .55);
}
.stage[data-phase="1"] .sp:not(.sp--bare)::before, .stage[data-phase="1"] .sp:not(.sp--bare)::after {
  content: '';
  position: absolute; width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 1px;
}
.stage[data-phase="1"] .sp:not(.sp--bare)::before { top: -3.5px; left: -3.5px; }
.stage[data-phase="1"] .sp:not(.sp--bare)::after { bottom: -3.5px; right: -3.5px; }
.stage[data-phase="1"] .sp:not(.sp--bare) > *:not(.sp-cards) { opacity: 0; }

/* Phase 2 – Wireframe: solide Skeleton-Blöcke */
.stage[data-phase="2"] .sp {
  background: rgba(239, 242, 248, .05);
  border: 1px solid var(--ln);
}
.stage[data-phase="2"] .sp > * { opacity: 1; }
.stage[data-phase="2"] .sp-logo,
.stage[data-phase="2"] .sp-navline,
.stage[data-phase="2"] .sp-cta-mini,
.stage[data-phase="2"] .sp-line,
.stage[data-phase="2"] .sp-btn,
.stage[data-phase="2"] .sp-media,
.stage[data-phase="2"] .sp-card,
.stage[data-phase="2"] .sp-card i {
  background: rgba(239, 242, 248, .12);
}
.stage[data-phase="2"] .sp-media {
  background-image: linear-gradient(110deg, transparent 30%, rgba(239, 242, 248, .07) 45%, transparent 60%);
  background-size: 220% 100%;
  animation: skeleton-sweep 1.6s linear infinite;
}
@keyframes skeleton-sweep {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

/* Phase 3 + 4 – Design & Launch: Farben, Typo, Verlauf */
.stage[data-phase="3"] .sp, .stage[data-phase="4"] .sp { border: 1px solid transparent; }
.stage[data-phase="3"] .sp > *, .stage[data-phase="4"] .sp > * { opacity: 1; }
.stage[data-phase="3"] .sp-head, .stage[data-phase="4"] .sp-head { background: rgba(239, 242, 248, .04); border: 1px solid var(--ln); }
.stage[data-phase="3"] .sp-logo, .stage[data-phase="4"] .sp-logo { background: var(--blue); }
.stage[data-phase="3"] .sp-navline, .stage[data-phase="4"] .sp-navline { background: rgba(239, 242, 248, .3); }
.stage[data-phase="3"] .sp-cta-mini, .stage[data-phase="4"] .sp-cta-mini { background: var(--lime); }
.stage[data-phase="3"] .sp-line, .stage[data-phase="4"] .sp-line { background: linear-gradient(90deg, #eef2f8, #aab8e8); }
.stage[data-phase="3"] .sp-line--sm, .stage[data-phase="4"] .sp-line--sm { background: rgba(239, 242, 248, .35); }
.stage[data-phase="3"] .sp-btn, .stage[data-phase="4"] .sp-btn { background: var(--blue); }
.stage[data-phase="3"] .sp-media, .stage[data-phase="4"] .sp-media {
  background: linear-gradient(135deg, #2a3f8f, #5b7cfa 55%, #8fd0ff);
}
.stage[data-phase="3"] .sp-card, .stage[data-phase="4"] .sp-card { background: rgba(239, 242, 248, .06); border: 1px solid var(--ln); }
.stage[data-phase="3"] .sp-card i, .stage[data-phase="4"] .sp-card i { background: rgba(239, 242, 248, .3); }
.stage[data-phase="3"] .sp-card::before, .stage[data-phase="4"] .sp-card::before {
  content: '';
  position: absolute; top: .55rem; left: .55rem;
  width: .85rem; height: .85rem;
  border-radius: 50%;
  background: var(--blue);
  opacity: .9;
}
.stage[data-phase="3"] .sp-card:nth-child(2)::before, .stage[data-phase="4"] .sp-card:nth-child(2)::before { background: var(--lime); }
.stage[data-phase="3"] .sp-card:nth-child(3)::before, .stage[data-phase="4"] .sp-card:nth-child(3)::before { background: #8fd0ff; }

/* Karten-Reihen-Wrapper: nie als eigener Block stylen (nach den Phasen-Regeln!) */
.stage .sp--bare, .stage[data-phase="1"] .sp--bare, .stage[data-phase="2"] .sp--bare,
.stage[data-phase="3"] .sp--bare, .stage[data-phase="4"] .sp--bare {
  border: 0; background: none; padding: 0;
}
.stage .sp--bare::before, .stage .sp--bare::after { display: none; }
.stage .sp--bare > * { opacity: 1; }

/* Sitemap-Overlay (nur Phase 1) */
.stage-map {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.stage[data-phase="1"] .stage-map { opacity: 1; }
.stage-map svg { width: 100%; height: 100%; }

/* ---------- Standards / Stats ---------- */
.stats {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  border-left: 1px solid var(--ln-strong);
  padding: .3rem 1.2rem .2rem;
}
.stat-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--tx);
}
.stat p { color: var(--tx-soft); font-size: .92rem; margin-top: .55rem; max-width: 28ch; }

/* ---------- Säulen / Leistungs-Karten ---------- */
.pillars { display: grid; gap: 1.4rem; }
@media (min-width: 920px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1rem;
  overflow: hidden;
  transition: border-color .35s;
}
.pillar:hover { border-color: rgba(91, 124, 250, .48); }
.pillar::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.pillar:hover::after { transform: scaleX(1); }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0; }
.pillar p { color: var(--tx-soft); font-size: .96rem; flex: 1; }
/* ---------- Showcase / Referenzen ---------- */
.case {
  --acc: var(--blue);
  display: grid; gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
  border-top: 1px solid var(--ln);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 980px) {
  .case { grid-template-columns: 7fr 5fr; }
  .case--flip { grid-template-columns: 5fr 7fr; }
  .case--flip .case-visual { order: 2; }
}
.case-visual {
  position: relative;
  isolation: isolate;
}
.case-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 7%;
  right: 7%;
  bottom: -3.3rem;
  height: 7rem;
  background: radial-gradient(ellipse at center, rgba(12, 15, 21, .24), rgba(12, 15, 21, .12) 44%, transparent 72%);
  filter: blur(18px);
  opacity: .82;
  transform: scaleY(.58);
  pointer-events: none;
}
.mockup {
  position: relative;
  background: #11141c;
  border: 1px solid rgba(12, 15, 21, .5);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 34px 70px -32px rgba(12, 15, 21, .55);
  transition: box-shadow .35s var(--ease);
}
.home-page .mockup {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .05) inset,
    0 18px 42px -30px rgba(12, 15, 21, .7);
}
.case:hover .mockup { box-shadow: 0 40px 76px -38px rgba(12, 15, 21, .65); }
.mockup-chrome {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem;
  border-bottom: 1px solid rgba(239, 242, 248, .08);
}
.mockup-chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(239, 242, 248, .2); }
.mockup-chrome .mono { font-size: .6rem; margin-left: .4rem; color: rgba(239, 242, 248, .5); }
.shot {
  --frameh: clamp(280px, 34vw, 440px);
  height: var(--frameh);
  overflow: hidden;
}
.shot img { width: 100%; }

.case-copy { display: grid; gap: 1.1rem; align-content: center; justify-items: start; }
.case-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: 0; }
.case-copy p { color: var(--tx-soft); max-width: 46ch; }

/* ---------- Prozess ---------- */
.process { position: relative; display: grid; gap: 0; }
.process-line {
  position: absolute; left: .45rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--ln);
  overflow: hidden;
}
.process-line i {
  display: block; width: 100%; height: 100%;
  background: var(--blue);
  transform: scaleY(1); transform-origin: top;
}
.phase-row {
  position: relative;
  display: grid; gap: 1rem;
  grid-template-columns: 1.1rem 1fr;
  padding-block: clamp(1.6rem, 3.5vw, 2.6rem);
}
@media (max-width: 899px) {
  /* Mobil: nur Punkt in Spalte 1, Titel/Text/Artefakt stapeln in Spalte 2
     (sonst rutscht der Text in die schmale Punkt-Spalte und bricht Wort fuer Wort um) */
  .process--detail .phase-dot { grid-column: 1; grid-row: 1; }
  .process--detail .phase-row > :not(.phase-dot) { grid-column: 2; }
  .process--detail .phase-row { gap: .85rem 1rem; }
  .process--detail .phase-row h3 { margin-bottom: .2rem; }
}
@media (min-width: 900px) {
  /* Nur die Detail-Variante (Prozess-Seite) hat 4 Spalten: Punkt, Titel, Text, Artefakt */
  .process--detail .phase-row { grid-template-columns: 1.1rem 1.1fr 1.4fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
}
.phase-dot {
  width: .9rem; height: .9rem;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--blue);
  display: grid; place-items: center;
  font-size: 0;
  position: relative; z-index: 1;
  margin-top: .35rem;
}
.phase-row h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: 0; }
.phase-row > p { color: var(--tx-soft); }
.phase-artifact {
  border: 1px dashed var(--ln-strong);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: .9rem;
  color: var(--tx-soft);
}
.section--paper .phase-dot { background: var(--paper); }

/* ---------- Portrait / Profil ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 440px;
}
.portrait img { width: 100%; }
.portrait::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 13, 19, .55));
}
.quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  border-left: 2px solid var(--lime);
  padding-left: 1.4rem;
  margin-block: 1.8rem;
}

/* ---------- Cards allgemein ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  transition: border-color .35s;
}
.card:hover { border-color: var(--ln-strong); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin-bottom: .6rem; letter-spacing: 0; }
.card p { color: var(--tx-soft); font-size: .95rem; }

.checklist { list-style: none; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .85rem; align-items: baseline; color: var(--tx-soft); }
.checklist li::before {
  content: '';
  width: .4rem; height: .4rem; flex-shrink: 0;
  border-radius: 50%;
  translate: 0 -2px;
  background: var(--blue);
  opacity: .8;
}
.checklist strong { color: var(--tx); }
.section--paper .checklist strong { color: var(--ink); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* Prozess-Teaser (Startseite): kuerzere Nebenspalte vertikal gegen die
   Zeitleiste zentrieren, damit unten keine Leerflaeche entsteht. */
@media (min-width: 960px) { .process-teaser-aside { align-self: center; } }

/* ---------- Tech-Strip ---------- */
.tech-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.8rem;
}
.tech-strip img {
  height: 30px;
  width: auto;
  opacity: .72;
  filter: brightness(0) invert(1);
  transition: opacity .3s, filter .3s, transform .3s var(--ease);
}
.tech-strip img:hover {
  opacity: .95;
  filter: brightness(0) invert(1);
  transform: translateY(-3px);
}

/* ---------- Preise ---------- */
.tiers { display: grid; gap: 1.2rem; align-items: stretch; }
@media (min-width: 980px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  position: relative;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: border-color .35s;
}
.tier:hover { border-color: var(--ln-strong); }
.tier--featured { border-color: rgba(91, 124, 250, .6); background: linear-gradient(165deg, rgba(91, 124, 250, .14), var(--card) 55%); }
@media (min-width: 980px) {
  /* Das Zielprodukt steht sichtbar auf dem Podest */
  .tier--featured {
    scale: 1.045;
    box-shadow: 0 34px 70px -36px rgba(91, 124, 250, .5);
    z-index: 1;
  }
}
.tier h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.tier-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
}
.tier-price .mono { font-size: .68rem; color: var(--tx-soft); margin-left: .4rem; }
.tier > p:not(.tier-price):not(.tier-note) { color: var(--tx-soft); font-size: .94rem; }
.tier .checklist { font-size: .94rem; flex: 1; }
.tier .btn { justify-content: center; }

.tier-badge {
  position: absolute; top: -1rem; left: 50%; translate: -50% 0;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--lime); color: var(--ink);
  padding: .48rem 1.05rem; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(215, 247, 101, .55);
  white-space: nowrap;
}
/* Aufgeklebter Aktions-Sticker an der Kartenecke (z. B. Einführungspreis) */
.tier-sticker {
  position: absolute;
  top: -0.8rem; right: 1.1rem;
  rotate: -5deg;
  font-family: var(--font-mono); font-size: .56rem; font-weight: 400;
  letter-spacing: .09em; text-transform: uppercase;
  background: var(--lime); color: var(--ink);
  padding: .38rem .75rem;
  border-radius: 5px;
  box-shadow: 0 8px 18px -9px rgba(215, 247, 101, .45), 0 1.5px 0 rgba(0, 0, 0, .22);
  white-space: nowrap;
  transition: rotate .35s var(--ease);
}
.tier:hover .tier-sticker { rotate: -1.5deg; }

/* Bewusst ausgeschlossene Leistungen – ehrliche Grenzen statt Kleingedrucktem */
.notlist { list-style: none; display: grid; gap: .55rem; font-size: .86rem; }
.notlist li { display: flex; gap: .7rem; align-items: baseline; color: var(--tx-soft); opacity: .8; }
.notlist li::before { content: '—'; flex-shrink: 0; color: var(--tx-soft); }

.tiers-note {
  text-align: center;
  color: var(--tx-soft);
  font-size: .92rem;
  max-width: 58ch;
  margin: 2.2rem auto 0;
}

/* Monats-Modelle: zwei Karten, mittig begrenzt */
.tiers--monthly { max-width: 880px; margin-inline: auto; }
@media (min-width: 980px) { .tiers--monthly { grid-template-columns: repeat(2, 1fr); } }

.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--ln); vertical-align: top; }
.compare thead th { font-family: var(--font-mono); font-size: .66rem; letter-spacing: 0; text-transform: uppercase; color: var(--tx-soft); }
.compare tbody th { color: var(--tx); font-weight: 600; }
.compare td { color: var(--tx-soft); }
.compare .is-featured { background: rgba(91, 124, 250, .09); }
@media (max-width: 820px) {
  .compare thead { display: none; }
  .compare tbody th, .compare td { display: block; border: 0; padding: .35rem 0; }
  .compare tbody tr { display: block; border-bottom: 1px solid var(--ln); padding: 1rem 0; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono); font-size: .6rem; letter-spacing: 0; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .1rem;
  }
  .compare .is-featured { background: none; }
}


/* ---------- FAQ ---------- */
.faq { display: grid; }
.faq-item { border-bottom: 1px solid var(--ln); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  padding: 1.3rem 0;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-weight: 500;
  font-size: 1.4em;
  line-height: 1;
  color: var(--blue);
  flex-shrink: 0;
  transition: rotate .3s var(--ease);
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item summary:hover { color: var(--blue); }
.faq-item > p { color: var(--tx-soft); padding: 0 2.5rem 1.4rem 0; max-width: 68ch; }

/* ---------- Buchung ---------- */
.vat-note { display: block; text-align: center; margin-top: 1.3rem; font-size: .62rem; }

.booking { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 980px) { .booking { grid-template-columns: 1.12fr .88fr; } }

.booking-groups { display: grid; gap: clamp(1.8rem, 3.5vw, 2.6rem); align-content: start; }
.pkg-group { border: 0; display: grid; gap: 1rem; }
.pkg-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -.01em;
  color: var(--tx);
  margin-bottom: .5rem;
}
.pkg-group-title .serif { font-size: 1.06em; }
.pkg-option.is-disabled { opacity: .42; }
.pkg-option.is-disabled .pkg-card { cursor: not-allowed; transform: none; }

.pkg-list { display: grid; gap: 1rem; }
.pkg-option input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card {
  display: flex; gap: 1rem 1.2rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.pkg-card:hover { transform: translateY(-2px); border-color: var(--ln-strong); }
.pkg-option input:checked + .pkg-card {
  border-color: var(--blue);
  background: linear-gradient(165deg, rgba(91, 124, 250, .13), var(--card) 60%);
}
.pkg-option input:focus-visible + .pkg-card { outline: 2px solid var(--blue); outline-offset: 3px; }
.pkg-head { display: flex; align-items: baseline; gap: .85rem; }
.pkg-tick {
  width: 1.1rem; height: 1.1rem; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ln-strong);
  translate: 0 .12rem;
  display: grid; place-items: center;
  transition: border-color .25s, background .25s;
}
.pkg-tick::after { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ink); opacity: 0; }
.pkg-option input:checked + .pkg-card .pkg-tick { border-color: var(--lime); background: var(--lime); }
.pkg-option input:checked + .pkg-card .pkg-tick::after { opacity: 1; }
.pkg-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.pkg-price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; }
.pkg-price .mono { font-size: .6rem; color: var(--tx-soft); }
.pkg-card > p { width: 100%; color: var(--tx-soft); font-size: .9rem; margin-top: .15rem; }

.summary {
  position: sticky; top: 110px;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: grid; gap: 1.15rem;
}
.summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--ln); padding-bottom: 1rem; }
.summary-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.summary-lines { display: grid; gap: .5rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--tx-soft); }
.summary-row strong, .summary-row span:last-child { color: var(--tx); white-space: nowrap; }
.summary-total { border-top: 1px solid var(--ln); padding-top: 1rem; display: grid; gap: .3rem; }
.summary-total .summary-row span:first-child { color: var(--tx); font-weight: 600; }
.summary-total .mono { justify-content: flex-end; color: var(--tx-soft); }
.summary-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2rem); white-space: nowrap; }
.summary-price .mono { font-size: .6rem; color: var(--tx-soft); }
.summary .checklist { font-size: .88rem; gap: .6rem; }
.summary-steps { border-top: 1px solid var(--ln); padding-top: 1rem; display: grid; gap: .55rem; }
.summary-steps p { display: flex; gap: .7rem; font-size: .86rem; color: var(--tx-soft); }
.summary-steps .mono { color: var(--blue); flex-shrink: 0; }

.check { position: relative; display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .85rem; color: var(--tx-soft); line-height: 1.55; }
.check input { position: absolute; opacity: 0; }
.check-box {
  width: 1.2rem; height: 1.2rem; flex-shrink: 0;
  border: 1.5px solid var(--ln-strong);
  border-radius: 5px;
  margin-top: .12rem;
  display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.check-box::after {
  content: '';
  width: .6rem; height: .32rem;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  rotate: -45deg; translate: 0 -1px;
  opacity: 0;
}
.check input:checked ~ .check-box { background: var(--lime); border-color: var(--lime); }
.check input:checked ~ .check-box::after { opacity: 1; }
.check input:focus-visible ~ .check-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.pay-note { text-align: center; font-size: .62rem; }
.booking-status { font-size: .92rem; border-radius: 10px; padding: .8rem 1rem; }
.booking-status--error { background: rgba(226, 103, 74, .12); color: #ff9b85; border: 1px solid rgba(226, 103, 74, .4); }
.booking-status--info { background: rgba(91, 124, 250, .12); color: #aab8f0; border: 1px solid rgba(91, 124, 250, .4); }

/* ---------- Danke / Bestätigung ---------- */
.confirm-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  text-align: center;
}
.confirm-hero > .wrap { display: grid; justify-items: center; gap: 1.4rem; }
.confirm-check {
  width: 4.4rem; height: 4.4rem;
  border-radius: 50%;
  border: 2.5px solid var(--lime);
  display: grid; place-items: center;
  box-shadow: 0 0 44px -10px rgba(215, 247, 101, .45);
}
.confirm-check::after {
  content: '';
  width: 1.55rem; height: .8rem;
  border-left: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
  rotate: -45deg; translate: 0 -3px;
}
.paket-info { display: none; }
.paket-info.is-active { display: block; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2.4rem, 5vw, 4.5rem); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-meta { display: grid; gap: .65rem; margin-top: 2.2rem; }
.contact-meta p { color: var(--tx-soft); }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: 0; text-transform: uppercase; color: var(--tx-soft); }
.field input, .field textarea {
  font: inherit; color: var(--tx);
  background: var(--bg-raise);
  border: 1px solid var(--ln);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(155, 164, 182, .55); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 124, 250, .22);
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status {
  font-size: .94rem;
  border-radius: 10px;
  padding: .8rem 1rem;
}
.form-status--success { background: rgba(215, 247, 101, .12); color: var(--lime); border: 1px solid rgba(215, 247, 101, .4); }
.form-status--error { background: rgba(226, 103, 74, .12); color: #ff9b85; border: 1px solid rgba(226, 103, 74, .4); }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  border-block: 1px solid var(--ln);
  padding-block: clamp(4rem, 9vh, 7rem);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  bottom: -55vw; left: 50%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(91, 124, 250, .25), transparent 70%);
  pointer-events: none;
}
.cta-band .wrap { display: grid; justify-items: center; text-align: center; gap: 1.8rem; }
.cta-band .display-2 { max-width: 22ch; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--ln);
  padding-top: clamp(3.5rem, 7vh, 5.5rem);
  overflow: hidden;
  z-index: 1;
  background: var(--bg);
}
.footer-watermark {
  position: absolute; left: 50%; bottom: -.18em; translate: -50% 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 19vw, 17rem);
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 242, 248, .07);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.footer-grid {
  display: grid; gap: 2.4rem;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 940px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1fr; gap: 2.4rem; } }
.footer-col { display: grid; gap: .65rem; align-content: start; justify-items: start; }
.footer-col p { color: var(--tx-soft); font-size: .92rem; }
.footer-col--brand img { margin-bottom: .6rem; }
.footer-col-title { margin-bottom: .5rem; color: var(--blue); }
.footer-col a { color: var(--tx-soft); font-size: .95rem; transition: color .3s; position: relative; }
.footer-col a:hover { color: var(--tx); }
.footer-clock { margin-top: 1rem; }
.footer-fine { font-size: .8rem; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; justify-content: space-between;
  border-top: 1px solid var(--ln);
  padding-block: 1.4rem 1.6rem;
}
.footer-base .mono { font-size: .62rem; }

/* ---------- Legal & 404 ---------- */
.legal-stack { display: grid; gap: 2.2rem; max-width: 70ch; }
.legal-stack h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: .6rem; }
.legal-stack p { color: var(--tx-soft); }
.legal-stack a { color: var(--blue); }

.error-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: grid; place-content: center; text-align: center;
  gap: 1.4rem;
  padding-top: 6rem;
}
.error-hero > :not(.hero-circuit) { position: relative; z-index: 1; }
.error-code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 20vw, 14rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(91, 124, 250, .65);
}

/* ---------- Reveal-Animationen (nur mit JS aktiv) ---------- */
html.js .reveal { opacity: 0; translate: 0 28px; }
html.js .reveal.is-in { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0s); }
html.js .hero + .section .reveal { opacity: 1; translate: none; }

/* Wort-Masken (JS zerlegt Headlines in .w/.wi) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wi { display: inline-block; will-change: transform; }

/* Clip-Reveal für Bilder */
html.js .clip-reveal { clip-path: inset(0 100% 0 0); }
html.js .clip-reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }

/* ---------- Reduced Motion & Fallbacks ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal, html.js .clip-reveal { opacity: 1; translate: none; clip-path: none; }
  .case:hover .shot img { transform: none; }
}
