/* ==========================================================================
   Caserock — Produktions-Stylesheet
   Anthrazit + Gold, DIN-Typografie (Barlow als lizenzfreier DIN-Next-Stand-in),
   heller Hero (Elfenbein), Glas-Karten mit asymmetrischer Kontur.
   Konsolidiert aus dem Design-Handoff (Stände live/variants/mobile/legal).
   ========================================================================== */

/* ---------- Schriften (selbst gehostet — kein Google-Fonts-CDN) ---------- */
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #26292f;
  --ink-deep: #1b1e22;
  --ink-soft: #54585f;
  --dim: #6e7278; /* abgedunkelt ggü. Entwurf (#84888f) für WCAG-AA-Kontrast auf Papierweiß */
  --paper: #fbfaf8;
  --hair: #e9e7e2;
  --gold: #b99a5e;
  --gold-deep: #8a6d35;
  --gold-line: linear-gradient(90deg, #cfae6c, #8a6d35);
  /* Symmetrisch auslaufende Variante für die Dekorlinien der dunklen Panels:
     beide Enden lösen sich gleich auf, die Einrückung liest sich als Absicht. */
  --gold-line-fade: linear-gradient(90deg, transparent, #cfae6c 18%, #cfae6c 82%, transparent);
  --font: Barlow, "Helvetica Neue", Arial, sans-serif;
  /* Sektionsabstände, zwei Stufen. Einseitiges System: Der Abstand zwischen
     zwei Sektionen ist das padding-top der FOLGE-Sektion (padding-bottom der
     Rhythmus-Sektionen ist 0) — nur so bleiben gemischte Übergänge exakt.
     lg = Kapitelwechsel, md = inhaltlich verwandte Folgesektion (.u-gap-md). */
  --section-gap-lg: 12rem;
  --section-gap-md: 7.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Utilities (ersetzen Inline-Styles des Entwurfs) ---------- */
.u-pt0 { padding-top: 0 !important; }
.u-gap-md { padding-top: var(--section-gap-md) !important; }
.u-gap-lg { padding-top: var(--section-gap-lg) !important; }
.u-pb-md { padding-bottom: var(--section-gap-md) !important; }
.u-pt30 { padding-top: 30px !important; }
.u-pt40 { padding-top: 40px !important; }
.u-pt56 { padding-top: 56px !important; }
.u-pt60 { padding-top: 60px !important; }
.u-pb90 { padding-bottom: 90px !important; }
.u-mt22 { margin-top: 22px !important; }
.u-mt26 { margin-top: 26px !important; }
.u-mt32 { margin-top: 32px !important; }
.u-mt48 { margin-top: 48px !important; }
.u-mb48 { margin-bottom: 48px !important; }
.u-mb64 { margin-bottom: 64px !important; }
.u-max640 { max-width: 640px; }
.u-max760 { max-width: 760px; }
.u-max800 { max-width: 800px; }
.body--lg { font-size: 18.5px; }
/* Nur fuer Screenreader. Die getippte Kommandozeile im Hero besteht aus zwei
   visuellen Ebenen, die je nach Zustand per visibility bzw. display wegfallen —
   der Satz braucht daher einen eigenen, immer vorhandenen Traeger. */
.u-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 76px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(38, 41, 47, 0.08);
}
/* Marke seit Rebranding: offizielles Caserock-Lockup als SVG (FG-Signet +
   Wortmarke CASEROCK, Case anthrazit / rock gold). Signet und Favicon bleiben
   bewusst unverändert (Feigen-Graf-Link). caserock-logo.svg = Originaldatei
   des Designers, nur die viewBox eng auf die Zeichnung beschnitten. */
.nav__brand { display: inline-flex; align-items: center; }
.nav__logo { height: 30px; width: auto; display: block; }
.nav__home {
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__lang {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-soft); text-decoration: none; padding: 10px 12px;
  transition: color 0.2s ease;
}
.nav__lang:hover { color: var(--ink); }
.nav__cta {
  font-size: 15px; font-weight: 600; text-decoration: none;
  color: #fff; background: var(--ink); padding: 11px 22px; border-radius: 980px;
  transition: transform 0.2s ease, background 0.35s ease, color 0.35s ease;
}
.nav__cta:hover { transform: translateY(-1px); }

/* ---------- Hamburger + Menü-Overlay ---------- */
.nav__burger {
  display: flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.nav__burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; align-items: center; padding: 0 64px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-overlay__links { display: flex; flex-direction: column; gap: 6px; }
.menu-overlay__links a {
  font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; line-height: 1.18;
  transition: color 0.2s ease, transform 0.25s ease;
}
.menu-overlay__links a:hover { color: var(--gold-deep); transform: translateX(10px); }
@media (prefers-reduced-motion: no-preference) {
  .menu-overlay__links a { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease; }
  body.menu-open .menu-overlay__links a { opacity: 1; transform: none; }
  body.menu-open .menu-overlay__links a:nth-child(2) { transition-delay: 0.05s; }
  body.menu-open .menu-overlay__links a:nth-child(3) { transition-delay: 0.1s; }
  body.menu-open .menu-overlay__links a:nth-child(4) { transition-delay: 0.15s; }
  body.menu-open .menu-overlay__links a:nth-child(5) { transition-delay: 0.2s; }
  body.menu-open .menu-overlay__links a:hover { transform: translateX(10px); }
}

/* ---------- Hero (heller Ton, ruhig, asymmetrisch) ---------- */
.hero {
  position: relative; min-height: 100vh;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(180deg, #faf8f4 0%, #f3eee4 42%, #f6f2ea 70%, var(--paper) 100%);
  color: var(--ink); overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left; padding: 140px 56px 120px;
}
.hero__glow {
  position: absolute; left: 50%; top: 38%; width: 1100px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(185, 154, 94, 0.09), transparent 70%);
  pointer-events: none;
}
/* Innenspalte deckelt auf dieselbe Inhaltsbreite wie .section (1440 − 2×56)
   und zentriert sich — Hero-Text bleibt dadurch auf breiten Monitoren bündig
   mit den Sektions-Überschriften statt am linken Fensterrand zu kleben. */
.hero__inner { position: relative; width: 100%; max-width: 1328px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(56px, 7.1vw, 102px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 0.95; margin: 0;
}
.hero h1 .gold {
  display: block; max-width: 7.2em; min-height: 1em;
  background: linear-gradient(95deg, #b0894a, #84672f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  perspective: 900px;
}
/* Das animierte Wort bildet eine eigene Compositing-Ebene und fällt aus dem
   background-clip des Eltern-Elements — daher Gradient + Clip direkt aufs Wort. */
.hero h1 .gold .rot {
  background: inherit;
  -webkit-background-clip: text; background-clip: text;
  color: inherit;
  /* Paint-Box nach unten erweitern, sonst wird der g-Unterbogen vom Clip gekappt */
  padding-bottom: 0.22em; margin-bottom: -0.22em;
}
.rot { display: inline-block; transform-origin: 50% 50%; backface-visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  /* Klapp-Wechsel: altes Wort klappt nach hinten weg, neues klappt im selben Zug auf */
  .js-anim .rot.fold-out { animation: foldOut 0.55s cubic-bezier(0.55, 0, 0.85, 0.4) forwards; }
  .js-anim .rot.fold-in { animation: foldIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  @keyframes foldOut { from { transform: rotateX(0deg); opacity: 1; } to { transform: rotateX(-92deg); opacity: 0; } }
  @keyframes foldIn { from { transform: rotateX(92deg); opacity: 0; } to { transform: rotateX(0deg); opacity: 1; } }
}
.hero__sub {
  font-size: 21px; line-height: 1.55; color: var(--ink-soft);
  max-width: 640px; margin: 36px 0 0; text-wrap: pretty;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 11px;
  margin-top: 26px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid rgba(138, 109, 53, 0.32); border-radius: 980px;
  padding: 9px 20px; background: rgba(185, 154, 94, 0.06);
}
.hero__badge .dot {
  width: 6px; height: 6px; border-radius: 99px; background: var(--gold);
  box-shadow: 0 0 12px rgba(185, 154, 94, 0.9);
}
.hero__actions { display: flex; gap: 18px; justify-content: flex-start; align-items: center; margin-top: 38px; }
.btn-primary {
  display: inline-block; font-size: 17px; font-weight: 600; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, #2e3138, #1f2226);
  padding: 17px 36px; border-radius: 980px;
  box-shadow: 0 14px 34px rgba(38, 41, 47, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(38, 41, 47, 0.3); }

/* Hero-Visual „Fundstellen“: Punktraster mit Konstellation in der rechten
   Hero-Hälfte (Inline-SVG als letztes Kind von .hero__inner; Animation ist
   reines CSS im SVG). Breakpoint geprüft bei 1024–1240px (DE + EN): die
   Subline bricht natürlich um und bleibt frei vom Raster — daher 1024px
   statt der im Snippet vorgesehenen 1240px. Darunter (Tablet-Layout) läuft
   der Hero einspaltig weiter wie bisher. */
.hero__visual {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: min(42%, 680px);
  pointer-events: none;
}
@media (max-width: 1024px) { .hero__visual { display: none; } }

/* Desktop: Hero gibt ~110px des Erstviewports an die KI-Sektion ab —
   die Folgesektion schneidet als Scroll-Einladung an (Apple-Muster).
   Wichtig: Auf realen Bildschirmen ist innerHeight (Taskbar + Browser-
   Chrome) deutlich kleiner als die Display-Höhe. Damit min-height nicht
   dem Inhalt weicht und der Anschnitt verschwindet, ist der Desktop-Hero
   kompakter gepolstert (Inhalt ≈ 620px statt ≈ 716px) — der Anschnitt
   trägt so bis hinunter zu ~700px innerHeight. Inhalt wird nie gequetscht
   (min-height weicht weiterhin zuerst). Tablet/Mobile unverändert. */
@media (min-width: 1025px) {
  /* Anschnitt viewport-proportional: ~18vh sichtbarer Folgeinhalt, geklemmt —
     900px-Viewports ≈ 162px (Eyebrow + H2-Beginn), 1440px ≈ 259px (Panel-
     Oberkante lugt herein). Unter ~760px innerHeight greift der Inhalts-Floor. */
  .hero { min-height: calc(100vh - clamp(140px, 18vh, 280px)); padding-top: 110px; padding-bottom: 56px; }
}

/* ---------- Reveal-Animationen ---------- */
/* Sichtbarer Zustand ist der Basiszustand — der versteckte Ausgangszustand greift nur,
   wenn JS in einem sichtbaren Dokument läuft (html.js-anim). So bleibt die Seite in
   Print-, Prerender- und Capture-Kontexten vollständig sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .reveal { transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .js-anim .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js-anim .reveal[data-delay="1"] { transition-delay: 0.12s; }
  .js-anim .reveal[data-delay="2"] { transition-delay: 0.24s; }
  .js-anim .reveal[data-delay="3"] { transition-delay: 0.36s; }
}

/* ---------- Sektions-Grundgerüst ---------- */
.section { padding: var(--section-gap-lg) 56px 0; max-width: 1440px; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.eyebrow .bar { width: 28px; height: 2px; background: var(--gold-line); }
.eyebrow .label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep);
}
.h2 { font-size: clamp(44px, 4vw, 60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; margin: 0; text-wrap: balance; }
.gold-word {
  background: linear-gradient(95deg, #b0894a, #84672f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.body { font-size: 20px; line-height: 1.6; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.link-gold {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 4px;
  transition: gap 0.2s ease;
}
.link-gold:hover { gap: 16px; }
.link-gold .arr { color: var(--gold-deep); }
.link-gold.on-dark { color: #f4f3f0; }
.link-gold.on-dark .arr { color: #cfae6c; }

/* ---------- KI Statement: Anthrazit-Panel auf hellem Grund ---------- */
/* Bewusst knapper Einstieg: das Hero-min-height (calc unten) lässt Eyebrow und
   H2-Beginn der KI-Sektion im Erstviewport anschneiden — Scroll-Einladung. */
.s-ki { padding-top: 48px; padding-bottom: 0; }
.ki-panel {
  position: relative; overflow: hidden;
  margin-top: 64px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center;
  padding: 84px 92px;
  border-radius: 36px 8px 36px 8px;
  background: linear-gradient(160deg, #2e3138 0%, #1f2226 55%, #17191d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f3f0;
  box-shadow:
    0 1px 2px rgba(38, 41, 47, 0.06),
    0 34px 90px rgba(38, 41, 47, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.ki-panel::before {
  content: ""; position: absolute; top: 0; left: 56px; right: 56px; height: 2px;
  background: var(--gold-line-fade); opacity: 0.85;
}
.ki-glow {
  position: absolute; right: -16%; bottom: -45%; width: 680px; height: 560px;
  background: radial-gradient(closest-side, rgba(185, 154, 94, 0.17), transparent 70%);
  pointer-events: none;
}
.ki-claim {
  position: relative;
  font-size: clamp(46px, 4.5vw, 66px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance;
}
.ki-claim .gold {
  background: linear-gradient(95deg, #d8bc81, #a07e3f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ki-side { position: relative; display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.ki-side p {
  font-size: 20px; line-height: 1.6; color: rgba(244, 243, 240, 0.66);
  margin: 0; text-wrap: pretty;
}
/* Typewriter-Caret im KI-Claim */
.kc-caret {
  display: inline-block; width: 0.07em; height: 0.82em;
  margin-left: 0.07em; vertical-align: -0.05em;
  background: #f4f3f0; border-radius: 1px;
}
.kc-caret.gold { background: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .js-anim .kc-caret { animation: kcblink 1.05s steps(1) infinite; }
  @keyframes kcblink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
}

/* ---------- Awards Marquee ---------- */
.awards { padding: var(--section-gap-lg) 0 0; overflow: hidden; }
.awards .section-head { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
.marquee { margin-top: 70px; position: relative; }
/* Weiche Farbinseln hinter den Karten — erst sie machen das Glas sichtbar */
.marquee .backdrop {
  position: absolute; inset: -70px 0 -40px; pointer-events: none;
  background:
    radial-gradient(34% 80% at 12% 24%, rgba(185, 154, 94, 0.20), transparent 70%),
    radial-gradient(26% 70% at 38% 86%, rgba(38, 41, 47, 0.10), transparent 70%),
    radial-gradient(30% 75% at 64% 18%, rgba(185, 154, 94, 0.14), transparent 70%),
    radial-gradient(26% 70% at 88% 70%, rgba(38, 41, 47, 0.08), transparent 70%);
  /* Ober- und Unterkante weich auslaufen lassen — keine harte Balkenkante */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 38%, black 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 38%, black 72%, transparent 100%);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 180px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.marquee__track { display: flex; width: max-content; padding: 14px 0 26px; }
/* Zwei identische Sets; padding-right = Kartenabstand, damit -50% exakt nahtlos loopt */
.marquee__set { display: flex; gap: 26px; padding-right: 26px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 46s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
.award-card {
  position: relative; flex: none; width: 430px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.30));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px 6px 28px 6px;
  padding: 34px 36px 36px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 16px 40px rgba(38, 41, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
/* Zertifikats-Innenrahmen, der Kontur folgend */
.award-card::before {
  content: ""; position: absolute; inset: 9px;
  border-radius: 21px 3px 21px 3px;
  border: 1px solid rgba(185, 154, 94, 0.28); pointer-events: none;
}
.award-card > * { position: relative; z-index: 1; }
.award-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 154, 94, 0.55);
  box-shadow:
    0 0 0 1px rgba(185, 154, 94, 0.12),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 28px 60px rgba(38, 41, 47, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.ac-top { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.ac-who {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.ac-year {
  font-size: 13px; font-weight: 600; color: var(--dim);
  font-variant-numeric: tabular-nums; letter-spacing: 0.06em; white-space: nowrap;
}
.ac-rule {
  height: 1px; margin: 16px 0 18px;
  background: linear-gradient(90deg, rgba(185, 154, 94, 0.55), rgba(185, 154, 94, 0.08));
  position: relative;
}
.ac-rule::before {
  content: ""; position: absolute; left: 0; top: -2.5px; width: 6px; height: 6px;
  border-radius: 99px; background: var(--gold);
}
.ac-what {
  font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.012em;
  color: var(--ink); text-wrap: balance;
}
/* Bewusst präsenter als Kleingedrucktes: die Zeile ordnet die Auszeichnungen
   rechtlich ein (Team + geführte Rechtsberatungseinheiten, nicht Caserock selbst). */
.awards__caption { text-align: center; font-size: 15px; color: var(--ink-soft); margin-top: 44px; padding: 0 56px; }

/* ---------- Leistungen (Karten mit Visual-Bühnen) ---------- */
.plates-stage { position: relative; }
.plates-backdrop {
  position: absolute; inset: -60px -40px; pointer-events: none;
  background:
    radial-gradient(30% 70% at 16% 30%, rgba(185, 154, 94, 0.16), transparent 70%),
    radial-gradient(26% 65% at 52% 80%, rgba(38, 41, 47, 0.07), transparent 70%),
    radial-gradient(28% 70% at 86% 24%, rgba(185, 154, 94, 0.12), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 32%, black 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 32%, black 70%, transparent 100%);
}
.plates { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; margin-top: 64px; position: relative; }
.plate {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px 6px 28px 6px;
  padding: 0 0 40px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 16px 40px rgba(38, 41, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.plate:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 154, 94, 0.55);
  box-shadow:
    0 0 0 1px rgba(185, 154, 94, 0.12),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 28px 60px rgba(38, 41, 47, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.plate h3 {
  font-size: 27px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.12;
  margin: 0; padding: 0 36px; text-wrap: balance;
}
.plate p {
  font-size: 16.5px; line-height: 1.55; color: var(--ink-soft);
  margin: 14px 0 0; padding: 0 36px; text-wrap: pretty;
}

/* Visual-Bühne oben in jeder Karte */
.plate__visual {
  position: relative; height: 180px; margin-bottom: 30px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(38, 41, 47, 0.06);
  background: radial-gradient(60% 80% at 50% 45%, rgba(185, 154, 94, 0.07), transparent 75%);
  overflow: hidden;
}
.plate__visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 70% at 50% 45%, rgba(185, 154, 94, 0.12), transparent 75%);
  opacity: 0; transition: opacity 0.35s ease;
}
.plate:hover .plate__visual::after { opacity: 1; }

/* Motiv 1: AI Access — Mini-Terminal in Anthrazit, Code läuft durch */
.acc-term {
  display: flex; flex-direction: column;
  width: 216px; height: 128px; padding: 11px 14px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2b2e34, #1f2226);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 34px rgba(38, 41, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.t-head { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.t-head i { display: block; width: 6px; height: 6px; border-radius: 99px; background: rgba(244, 243, 240, 0.16); }
.t-head .acc-spark { margin-left: auto; }
.acc-spark {
  width: 12px; height: 12px; flex: none;
  background: linear-gradient(135deg, #d8bc81, #8a6d35);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(185, 154, 94, 0.6));
}
.t-body {
  flex: 1; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 78%, transparent 100%);
}
.t-scroll { display: flex; flex-direction: column; gap: 8px; }
.tl { display: flex; gap: 6px; }
.tl.ind { padding-left: 14px; }
.tk { display: block; height: 6px; border-radius: 3px; background: rgba(244, 243, 240, 0.24); }
.tk.g { background: rgba(207, 174, 108, 0.8); }
.tk.d { background: rgba(244, 243, 240, 0.11); }
.tk.w16 { width: 16px; } .tk.w18 { width: 18px; } .tk.w20 { width: 20px; }
.tk.w22 { width: 22px; } .tk.w24 { width: 24px; } .tk.w28 { width: 28px; }
.tk.w32 { width: 32px; } .tk.w36 { width: 36px; } .tk.w40 { width: 40px; } .tk.w44 { width: 44px; }
.t-prompt {
  display: flex; align-items: center; gap: 7px; margin-top: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; line-height: 1; color: var(--gold);
}
.acc-caret { width: 6px; height: 12px; border-radius: 1.5px; background: rgba(207, 174, 108, 0.9); }

/* Motiv 2: eDiscovery-Scan */
.doc-lines { display: flex; flex-direction: column; gap: 11px; width: 170px; }
.doc-lines i { display: block; height: 8px; border-radius: 5px; background: rgba(38, 41, 47, 0.10); }
.doc-lines i:nth-child(1) { width: 86%; }
.doc-lines i:nth-child(2) { width: 100%; }
.doc-lines i:nth-child(3) { width: 64%; background: rgba(185, 154, 94, 0.38); }
.doc-lines i:nth-child(4) { width: 92%; }
.doc-lines i:nth-child(5) { width: 52%; }
.fx-scanline {
  position: absolute; top: 22%; bottom: 22%; left: 30%; width: 2px;
  background: linear-gradient(180deg, transparent, #b99a5e, transparent);
  box-shadow: 0 0 12px 1px rgba(185, 154, 94, 0.45);
}

/* Motiv 3: Interview-Waveform */
.wave { display: flex; align-items: center; gap: 5px; height: 72px; }
.wave i { display: block; width: 4px; border-radius: 3px; background: linear-gradient(180deg, #cfae6c, #8a6d35); height: 24%; }
.wave i:nth-child(2n) { height: 46%; }
.wave i:nth-child(3n) { height: 62%; }
.wave i:nth-child(5n) { height: 84%; }
.wave i:nth-child(7n) { height: 36%; }

/* Motiv 4: Storage — Laufwerks-Stapel */
.store-stack { display: flex; flex-direction: column; gap: 11px; }
.store-stack .drive {
  display: flex; align-items: center; gap: 8px;
  width: 180px; height: 32px; padding: 0 13px;
  border-radius: 9px; border: 1px solid rgba(38, 41, 47, 0.14);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 5px 14px rgba(38, 41, 47, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.store-stack .drive i { display: block; width: 26px; height: 5px; border-radius: 3px; background: rgba(38, 41, 47, 0.12); }
.store-stack .drive .led {
  margin-left: auto; width: 6px; height: 6px; border-radius: 99px;
  background: var(--gold); box-shadow: 0 0 8px 1px rgba(185, 154, 94, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .js-anim .acc-caret { animation: accblink 1.1s steps(1) infinite; }
  .js-anim .acc-spark { animation: accspark 2.6s ease-in-out infinite; }
  .js-anim .t-scroll { animation: termscroll 9s linear infinite; }
  @keyframes accblink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
  @keyframes accspark {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(22deg); }
  }
  @keyframes termscroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
  .js-anim .fx-scanline { animation: fxscan 3.6s ease-in-out infinite alternate; }
  .js-anim .wave i { animation: fxwave 1.7s ease-in-out infinite; }
  .js-anim .wave i:nth-child(2n) { animation-delay: 0.15s; }
  .js-anim .wave i:nth-child(3n) { animation-delay: 0.3s; }
  .js-anim .wave i:nth-child(4n) { animation-delay: 0.45s; }
  .js-anim .wave i:nth-child(5n) { animation-delay: 0.6s; }
  @keyframes fxscan { from { left: 24%; } to { left: 76%; } }
  @keyframes fxwave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.9); }
  }
  .js-anim .store-stack .drive .led { animation: ledpulse 2.4s ease-in-out infinite; }
  .js-anim .store-stack .drive:nth-child(2) .led { animation-delay: 0.8s; }
  .js-anim .store-stack .drive:nth-child(3) .led { animation-delay: 1.6s; }
  @keyframes ledpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
}

/* ---------- Datensouveränität ---------- */
.tiers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.tiers-wrap { position: relative; }
.tiers-backdrop {
  position: absolute; inset: -50px -40px; pointer-events: none;
  background:
    radial-gradient(30% 60% at 14% 22%, rgba(185, 154, 94, 0.15), transparent 70%),
    radial-gradient(26% 55% at 60% 10%, rgba(38, 41, 47, 0.07), transparent 70%),
    radial-gradient(28% 60% at 88% 30%, rgba(185, 154, 94, 0.11), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 68%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 68%, transparent 100%);
}
.tier-tabs { position: relative; display: flex; gap: 14px; margin-top: 68px; }
.tier-tab {
  flex: 1; text-align: left; font-family: var(--font); cursor: pointer;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px 5px 20px 5px;
  padding: 26px 28px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 12px 30px rgba(38, 41, 47, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.tier-tab:hover { transform: translateY(-3px); }
.tier-tab .stufe { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.tier-tab .name { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin-top: 8px; color: var(--ink); }
.tier-tab.is-active {
  border-color: rgba(185, 154, 94, 0.6);
  box-shadow:
    0 0 0 1px rgba(185, 154, 94, 0.16),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 18px 44px rgba(138, 109, 53, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.tier-tab.is-active .stufe { color: var(--gold-deep); }
.tier-stage {
  position: relative; overflow: hidden;
  margin-top: 26px;
  background: linear-gradient(160deg, #2e3138 0%, #1f2226 55%, #17191d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px 7px 32px 7px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  color: #f4f3f0;
  box-shadow:
    0 1px 2px rgba(38, 41, 47, 0.06),
    0 30px 80px rgba(38, 41, 47, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.tier-stage::before {
  content: ""; position: absolute; top: 0; left: 48px; right: 48px; height: 2px;
  background: var(--gold-line-fade); opacity: 0.85;
}
.stage-glow {
  position: absolute; left: -10%; top: -30%; width: 560px; height: 480px;
  background: radial-gradient(closest-side, rgba(185, 154, 94, 0.14), transparent 70%);
  pointer-events: none;
}
/* Stufen-Visuals: Goldumrisse mit Zeichnen-Animation */
.tier-visual { position: relative; height: 340px; }
.tv {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.tier-stage[data-tier="0"] .tv.t0,
.tier-stage[data-tier="1"] .tv.t1,
.tier-stage[data-tier="2"] .tv.t2 { opacity: 1; transform: scale(1); }
.tv svg { overflow: visible; filter: drop-shadow(0 0 16px rgba(185, 154, 94, 0.35)); }
.tv .draw {
  fill: none; stroke: #cfae6c; stroke-width: 1.7;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.tier-stage[data-tier="0"] .tv.t0 .draw,
.tier-stage[data-tier="1"] .tv.t1 .draw,
.tier-stage[data-tier="2"] .tv.t2 .draw {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.7s cubic-bezier(0.3, 0, 0.3, 1) 0.2s;
}
.tv .detail { fill: none; stroke: rgba(207, 174, 108, 0.45); stroke-width: 1.1; opacity: 0; transition: opacity 0.6s ease 1.5s; }
.tier-stage[data-tier="2"] .tv.t2 .detail { opacity: 1; }
.tv .star { fill: #cfae6c; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); }
.tier-stage[data-tier="0"] .tv.t0 .star {
  opacity: 1; transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(2) .star { transition-delay: 0.1s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(3) .star { transition-delay: 0.2s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(4) .star { transition-delay: 0.3s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(5) .star { transition-delay: 0.4s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(6) .star { transition-delay: 0.5s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(7) .star { transition-delay: 0.6s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(8) .star { transition-delay: 0.7s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(9) .star { transition-delay: 0.8s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(10) .star { transition-delay: 0.9s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(11) .star { transition-delay: 1.0s; }
.tier-stage[data-tier="0"] .tv.t0 g:nth-of-type(12) .star { transition-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) {
  .tv .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .tv .star { opacity: 1 !important; transform: scale(1) !important; transition: none !important; }
  .tv .detail { opacity: 1 !important; transition: none !important; }
}

/* Konstante Compliance-Zeile über alle Stufen */
.stage-compliance {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sc-text { font-size: 14.5px; color: rgba(244, 243, 240, 0.6); }
.sc-chips { display: flex; gap: 9px; }
.sc-chip {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em;
  color: #e9dcc0; border: 1px solid rgba(185, 154, 94, 0.45);
  background: rgba(185, 154, 94, 0.08);
  border-radius: 99px; padding: 6px 15px; white-space: nowrap;
}
.tier-stage__text { padding: 56px 64px 56px 0; }
.tier-stage__text .t-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.tier-stage__text .t-name { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 0; }
.tier-stage__text .t-desc { font-size: 16.5px; line-height: 1.6; color: rgba(244, 243, 240, 0.6); margin-top: 16px; max-width: 420px; text-wrap: pretty; }
.tier-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; }

/* ---------- Team ---------- */
.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.team-row { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 26px; margin-top: 64px; }
.team-photo { position: relative; height: 460px; border-radius: 28px 6px 28px 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(38, 41, 47, 0.06), 0 28px 70px rgba(38, 41, 47, 0.16); }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.88) contrast(1.06) brightness(1.02); }
.team-photo .tint { position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(38, 41, 47, 0.10), rgba(38, 41, 47, 0.26) 85%); }
.team-photo .edge { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-line); }
.team-row .p1 img { object-position: 50% 28%; }
.team-row .p2 img { object-position: 62% 18%; }
.team-row .p3 img { object-position: 22% 30%; }
/* Konturen alternieren nach Position */
.team-row > :nth-child(odd) { border-radius: 28px 6px 28px 6px; }
.team-row > :nth-child(even) { border-radius: 6px 28px 6px 28px; }

/* ---------- Unterseiten: Kopf ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 200px 56px 80px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(180deg, #faf8f4 0%, #f3eee4 55%, var(--paper) 100%);
}
.page-hero__inner { position: relative; max-width: 1328px; margin: 0 auto; }
/* Variante mit Goldschein oben rechts — zieht mit den Zierlinien zusammen den
   Blick in die obere rechte Ecke. Nur dort einsetzen, wo .page-hero__linien
   ebenfalls steht, sonst wirkt der Schein grundlos. */
.page-hero--glanz {
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(185, 154, 94, 0.14), transparent 68%),
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(180deg, #faf8f4 0%, #f3eee4 55%, var(--paper) 100%);
}
.page-hero__linien { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; pointer-events: none; }
.page-hero__linien .leitung { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.34; }
.page-hero__linien .knoten { fill: var(--gold); opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
  .js-anim .page-hero__linien .leitung { stroke-dasharray: 1; animation: zeichnen 2.8s 0.8s cubic-bezier(0.3, 0, 0.2, 1) both; }
  .js-anim .page-hero__linien .leitung:nth-of-type(2) { animation-delay: 1.5s; }
  .js-anim .page-hero__linien .knoten { transform-box: fill-box; transform-origin: center; animation: punktauf 0.5s 3.4s ease both; }
  .js-anim .page-hero__linien .knoten:nth-of-type(2) { animation-delay: 4.1s; }
}
.page-hero .eyebrow { margin-bottom: 0; }
.page-hero h1 {
  font-size: clamp(52px, 5.2vw, 80px); font-weight: 600;
  letter-spacing: -0.028em; line-height: 1.02; margin: 28px 0 0;
  max-width: 1040px; text-wrap: balance;
}
.page-hero .intro {
  font-size: 20px; line-height: 1.6; color: var(--ink-soft);
  max-width: 760px; margin: 30px 0 0; text-wrap: pretty;
}

/* ---------- Glas-Reihen (Leistungen / Infrastruktur) ---------- */
.svc-list { display: flex; flex-direction: column; gap: 26px; position: relative; }
.svc-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px 6px 28px 6px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 16px 40px rgba(38, 41, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.svc-row:nth-child(even) { border-radius: 6px 28px 6px 28px; }
.svc-row.rev .svc-visual { order: 2; border-right: none; border-left: 1px solid rgba(38, 41, 47, 0.06); }
.svc-visual {
  position: relative; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(38, 41, 47, 0.06);
  background: radial-gradient(60% 70% at 50% 50%, rgba(185, 154, 94, 0.08), transparent 75%);
}
.svc-text { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.svc-text h2, .svc-text h3 { font-size: 33px; font-weight: 600; letter-spacing: -0.018em; line-height: 1.1; margin: 0; }
.svc-lead { font-size: 19px; line-height: 1.55; font-weight: 500; color: var(--ink); margin: 0; text-wrap: pretty; }
.svc-body { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

/* Aufklappbarer Zusatztext in den Leistungs-Kästen */
.svc-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  color: var(--ink); background: none; border: none; padding: 0 0 4px;
  border-bottom: 2px solid var(--gold); cursor: pointer;
  margin-top: 14px; align-self: flex-start;
  transition: gap 0.2s ease;
}
.svc-toggle:hover { gap: 16px; }
.svc-toggle .chev {
  color: var(--gold-deep); font-size: 18px; line-height: 1;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-text.open .svc-toggle .chev { transform: rotate(90deg); }
.svc-more {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.5s;
}
.svc-text.open .svc-more { grid-template-rows: 1fr; visibility: visible; }
.svc-more > div { overflow: hidden; }
.svc-more .svc-body { margin-top: 16px; }
.svc-more .svc-body:first-child { margin-top: 18px; }

/* ---------- FAQ (vorbereitet — Markup in /ki bzw. /en/ai noch auskommentiert) ----------
   Nutzt die vorhandene Aufklapp-Mechanik (.svc-text/.svc-toggle/.svc-more aus site.js);
   die Regeln hier verschlanken die Glas-Optik auf kompakte Frage-Antwort-Zeilen. */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 56px; max-width: 920px; }
.faq-item.svc-text {
  justify-content: flex-start; gap: 0; padding: 8px 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px 5px 18px 5px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 10px 26px rgba(38, 41, 47, 0.06);
}
.faq-item .svc-toggle {
  margin-top: 0; padding: 14px 0 12px; border-bottom: none;
  align-self: stretch; justify-content: space-between; text-align: left;
  font-size: 17.5px; line-height: 1.4;
}
.faq-item .svc-more .svc-body { margin-top: 0; padding-bottom: 16px; }

/* ---------- Infrastruktur: statische Tier-Visuals auf dunkler Bühne ---------- */
.tv-static { position: relative; display: flex; align-items: center; justify-content: center; }
.tv-static svg { overflow: visible; filter: drop-shadow(0 0 16px rgba(185, 154, 94, 0.35)); }
.tv-static .draw {
  fill: none; stroke: #cfae6c; stroke-width: 1.7;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.is-in .tv-static .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(0.3, 0, 0.3, 1) 0.3s; }
.tv-static .detail { fill: none; stroke: rgba(207, 174, 108, 0.45); stroke-width: 1.1; opacity: 0; }
.is-in .tv-static .detail { opacity: 1; transition: opacity 0.6s ease 1.6s; }
.tv-static .star { fill: #cfae6c; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); }
.is-in .tv-static .star { opacity: 1; transform: scale(1); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.is-in .tv-static g:nth-of-type(2) .star { transition-delay: 0.1s; }
.is-in .tv-static g:nth-of-type(3) .star { transition-delay: 0.2s; }
.is-in .tv-static g:nth-of-type(4) .star { transition-delay: 0.3s; }
.is-in .tv-static g:nth-of-type(5) .star { transition-delay: 0.4s; }
.is-in .tv-static g:nth-of-type(6) .star { transition-delay: 0.5s; }
.is-in .tv-static g:nth-of-type(7) .star { transition-delay: 0.6s; }
.is-in .tv-static g:nth-of-type(8) .star { transition-delay: 0.7s; }
.is-in .tv-static g:nth-of-type(9) .star { transition-delay: 0.8s; }
.is-in .tv-static g:nth-of-type(10) .star { transition-delay: 0.9s; }
.is-in .tv-static g:nth-of-type(11) .star { transition-delay: 1.0s; }
.is-in .tv-static g:nth-of-type(12) .star { transition-delay: 1.1s; }
html:not(.js-anim) .tv-static .draw { stroke-dashoffset: 0; }
html:not(.js-anim) .tv-static .star { opacity: 1; transform: scale(1); }
html:not(.js-anim) .tv-static .detail { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tv-static .draw { stroke-dashoffset: 0 !important; }
  .tv-static .star { opacity: 1 !important; transform: scale(1) !important; }
  .tv-static .detail { opacity: 1 !important; }
}
.svc-visual.on-dark {
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(185, 154, 94, 0.12), transparent 75%),
    linear-gradient(160deg, #2e3138, #1f2226);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.svc-row.rev .svc-visual.on-dark { border-right: none; border-left: 1px solid rgba(255, 255, 255, 0.06); }
.tier-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep);
}

/* Berufsgeheimnisträger-Panel (dunkel, mit Chips) */
.law-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2e3138, #1d2024);
  border-radius: 28px 6px 28px 6px;
  color: #f4f3f0; padding: 80px 88px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.law-panel .h2 { color: #f4f3f0; font-size: clamp(38px, 3.4vw, 52px); }
.law-panel .gold-word {
  background: linear-gradient(95deg, #d8bc81, #a07e3f);
  -webkit-background-clip: text; background-clip: text;
}
.law-panel p { font-size: 17.5px; line-height: 1.65; color: rgba(244, 243, 240, 0.66); margin: 0 0 20px; text-wrap: pretty; }
.law-panel p:last-child { margin-bottom: 0; }
.law-chips { display: flex; gap: 12px; margin-top: 28px; }
.law-chip {
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: #e3c98c; border: 1px solid rgba(185, 154, 94, 0.45);
  border-radius: 99px; padding: 9px 20px; background: rgba(185, 154, 94, 0.08);
}

/* ---------- Management: Profile ---------- */
.prof-list { display: flex; flex-direction: column; gap: 26px; }
.prof-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px 6px 28px 6px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 16px 40px rgba(38, 41, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.prof-row:nth-child(even) { border-radius: 6px 28px 6px 28px; }
.prof-row.rev .prof-photo { order: 2; }
.prof-photo { position: relative; min-height: 440px; }
.prof-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(1) contrast(1.05);
}
.prof-photo .tint { position: absolute; inset: 0; background: rgba(38, 41, 47, 0.14); }
/* Bildausschnitte je Foto (Personen sitzen seitlich im Querformat-Original) */
.prof-photo--minkoff img { object-position: 50% 28%; }
.prof-photo--gross img { object-position: 62% 22%; }
.prof-photo--graf img { object-position: 22% 30%; }
.prof-photo .edge { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-line); }
.prof-text { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.prof-text h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.018em; margin: 0; }
.prof-text .prof-body { font-size: 16.5px; line-height: 1.62; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.prof-quotes { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(38, 41, 47, 0.08); }
.prof-quote { font-size: 15.5px; line-height: 1.5; color: var(--ink); margin: 0; }
.prof-quote .q { font-weight: 600; }
.prof-quote .src { color: var(--dim); font-size: 14px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px 6px 28px 6px;
  box-shadow:
    0 0 0 1px rgba(38, 41, 47, 0.04),
    0 1px 2px rgba(38, 41, 47, 0.04),
    0 16px 40px rgba(38, 41, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 52px 56px;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card:nth-child(even) { border-radius: 6px 28px 6px 28px; }
.contact-card .cc-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px;
}
.contact-card .cc-main { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); line-height: 1.3; }
.contact-card .cc-main a { position: relative; text-decoration: none; color: inherit; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
/* Unsichtbare Trefferflaeche: die Zeile ist mobil nur 29px hoch, die Karten
   liegen aber weit auseinander — die 44px koennen also gefahrlos ueberstehen. */
.contact-card .cc-main a::after {
  content: ""; position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%); height: 44px;
}
.contact-card .cc-sub { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); }
.contact-card .btn-dark {
  display: inline-block; margin-top: 18px; align-self: flex-start;
  font-size: 16px; font-weight: 600; color: #fff; background: var(--ink);
  padding: 14px 30px; border-radius: 980px; text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.contact-card .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(38, 41, 47, 0.24); }

/* Demo-Karte: das Formular sendet nichts an einen Server, es stellt eine
   E-Mail im Mailprogramm des Nutzers zusammen (siehe site.js). */
.cc-form { display: flex; flex-direction: column; }
.cc-felder { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 0; }
.cc-feld {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff; border: 1px solid rgba(38, 41, 47, 0.18);
  border-radius: 10px; padding: 12px 14px;
  transition: border-color 0.2s ease;
}
.cc-feld:focus { outline: none; border-color: var(--gold-deep); }
.cc-feld::placeholder { color: var(--dim); }
.cc-form .btn-dark { border: 0; cursor: pointer; font-family: inherit; }
.cc-sub--eng { margin-top: 0; }

/* Wartelisten-Karte auf dunklem Grund */
.contact-card--dunkel {
  background: radial-gradient(900px 420px at 80% -10%, #23262c, #131519 70%);
  border-color: rgba(201, 167, 92, 0.3);
  color: #f4f3f0;
}
.contact-card--dunkel .cc-label { color: #cfae6c; }
.contact-card--dunkel .cc-label .punkt {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; margin-right: 8px; vertical-align: 1px;
}
.contact-card--dunkel .cc-main { color: #fff; }
.contact-card--dunkel .cc-main .akzent { color: #cfae6c; }
.contact-card--dunkel .cc-sub { color: rgba(244, 243, 240, 0.62); }
.contact-card--dunkel .btn-dark {
  background: linear-gradient(180deg, #ddb970, #bd9b55);
  color: var(--ink-deep); margin-top: auto;
}

/* Brandmark statt Hero-Text: offizielles Lockup in zwei viewBox-Ausschnitten
   (Signet+CASE / ROCK), damit Fade/Type/Shine wie gehabt choreografierbar sind */
.brandmark {
  position: relative;
  display: flex; align-items: flex-start;
  width: min(980px, 92%); margin: 26px 0 0;
}
.brandmark img { display: block; height: auto; }
.brandmark .bm-left { width: 60.11%; }
.brandmark .bm-rock { width: 39.89%; }
.brandmark .shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  /* Weicher Lichtkegel, der in den Buchstaben reflektiert */
  background: radial-gradient(45% 160% at 50% 40%,
    rgba(255, 248, 230, 0.95) 0%,
    rgba(255, 240, 205, 0.55) 38%,
    rgba(255, 240, 205, 0.18) 62%,
    transparent 80%);
  background-size: 60% 100%; background-repeat: no-repeat;
  background-position: -70% 50%;
  mix-blend-mode: overlay;
  -webkit-mask-image: url("../img/caserock-links.svg"), url("../img/caserock-rock.svg");
  mask-image: url("../img/caserock-links.svg"), url("../img/caserock-rock.svg");
  -webkit-mask-size: 60.11% 100%, 39.89% 100%;
  mask-size: 60.11% 100%, 39.89% 100%;
  -webkit-mask-position: 0 0, 100% 0;
  mask-position: 0 0, 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .js-anim .brandmark .bm-left {
    /* Umgekehrtes Verblassen: ruhig aus dem Nichts auftauchen */
    animation: bmFadeIn 3s ease-in-out 0.2s both;
  }
  .js-anim .brandmark .bm-rock {
    /* Erst wenn Signet+CASE vollständig da sind: langsam und edel getippt */
    animation: bmType 2.1s steps(4, end) 2.8s both;
  }
  .js-anim .brandmark .shine { animation: bmLight 2.6s cubic-bezier(0.4, 0, 0.4, 1) 5.1s both; }
  @keyframes bmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes bmType {
    from { clip-path: inset(-6% 100% -6% 0); }
    to { clip-path: inset(-6% -2% -6% 0); }
  }
  @keyframes bmLight {
    0% { opacity: 0; background-position: -70% 50%; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { opacity: 0; background-position: 170% 50%; }
  }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
/* Letzte Sektion vor dem Footer (kein Schluss-CTA) — braucht eigenen Auslauf */
.section.legal { padding-bottom: var(--section-gap-md); }
.legal .legal-col { max-width: 820px; }
.legal h2 {
  font-size: 24px; font-weight: 600; letter-spacing: -0.012em;
  color: var(--ink); margin: 44px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal p {
  font-size: 16.5px; line-height: 1.7; color: var(--ink-soft);
  margin: 0 0 16px; text-wrap: pretty;
}
.legal a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid rgba(138, 109, 53, 0.4); }
.legal a:hover { border-bottom-color: var(--gold-deep); }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.legal .stand { font-size: 14.5px; color: var(--dim); margin-top: 40px; }
.legal .lang-note { font-size: 14.5px; color: var(--dim); font-style: italic; }

/* ---------- Schluss-CTA + Footer ---------- */
.closing {
  text-align: center; padding: var(--section-gap-md) 56px;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(0deg, #faf8f4 0%, #f3eee4 46%, var(--paper) 100%);
}
.closing__lead {
  font-size: 20px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 28px; text-wrap: pretty;
}
.closing .btn-dark {
  display: inline-block; font-size: 19px; font-weight: 600;
  color: #fff; background: var(--ink); padding: 21px 48px; border-radius: 980px; text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.closing .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(38, 41, 47, 0.28); }
.footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 56px; border-top: 1px solid var(--hair);
  font-size: 14.5px; color: var(--dim); max-width: 1440px; margin: 0 auto;
}
.footer img { height: 24px; width: auto; opacity: 0.9; }
.footer nav { display: flex; gap: 28px; }
.footer a { text-decoration: none; color: inherit; }
.footer a:hover { color: var(--ink); }

/* ---------- Kino-Hero (dunkel, formatfüllend — Startseite) ---------- */
/* Löst den hellen .hero der ersten Fassung ab. Beide Klassen existieren
   nebeneinander, solange die EN-Startseite noch auf .hero steht.
   Aufbau in Ebenen, von hinten nach vorn:
     z 0  Verlauf des Containers
     z 1  .kino__buehne  — Plattform-Aufnahme, Parallaxe + Langsamfahrt
     z 2  .kino__schleier — Abdunklung, damit die Schrift trägt
     z 5  .kino__inhalt / .kino__hinweis — Text
     z 6  .kino__rauschen — Filmkorn über allem
   Die Aufnahmen sind Hellmodus-Screenshots, die per filter: invert() in den
   dunklen Ton gedreht werden — der echte Darkmode der Plattform ist geplant,
   aber noch nicht gebaut. Beim Umstieg entfällt hier nur der Filter. */
.kino {
  position: relative; min-height: 100vh; overflow: hidden;
  background: radial-gradient(1400px 700px at 72% 30%, #23262c, #101215 65%), #101215;
  color: #f4f3f0;
}
.kino__rauschen {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  opacity: 0.06; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.kino__linien { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; }
.kino__linien .leitung { fill: none; stroke: #c9a75c; stroke-width: 1; opacity: 0.3; }
.kino__linien .knoten { fill: #c9a75c; opacity: 0.5; }

.kino__buehne {
  position: absolute; top: 11%; right: -6%; width: min(62vw, 1040px); z-index: 1;
}
/* Eigenes Element, weil hier die Scroll-Parallaxe per transform sitzt und die
   Langsamfahrt im Rahmen darunter — zwei transforms brauchen zwei Ebenen. */
.kino__parallaxe { display: block; will-change: transform; }
.kino__rahmen {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(201, 167, 92, 0.26);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #1a1d22;
}
.kino__szene { position: relative; display: block; aspect-ratio: 2752 / 1847; overflow: hidden; }
.kino__bild {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: invert(0.93) hue-rotate(180deg) saturate(0.85) brightness(0.92);
  opacity: 0; transition: opacity 1.5s ease;
}
.kino__bild.is-an { opacity: 1; }
/* Ohne JS bliebe sonst jede Aufnahme unsichtbar — die erste trägt die Sektion
   allein. Eigene Klasse statt :first-of-type: jede Aufnahme steckt in einem
   eigenen <picture>, ist dort also immer das erste img ihrer Art. */
html:not(.js-anim) .kino__bild--erst { opacity: 1; }
.kino__toenung {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(16, 18, 21, 0.5), rgba(16, 18, 21, 0.12) 45%, rgba(16, 18, 21, 0.35));
}
.kino__glanz {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.085), transparent);
  /* Ruhelage links ausserhalb des Bildes. Ohne sie stuende die Flaeche
     waehrend der 2,5s Startverzoegerung - und bei reduzierter Bewegung
     dauerhaft - als heller Kasten im Bild. Gleicher Wert wie glanz 0%. */
  transform: translateX(-170%) skewX(-16deg);
}
.kino__schleier {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(13, 14, 16, 0.94) 4%, rgba(13, 14, 16, 0.55) 26%, transparent 52%),
    linear-gradient(to right, rgba(13, 14, 16, 0.82) 0%, transparent 44%);
}
.kino__inhalt {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  max-width: 1360px; margin: 0 auto; padding: 0 56px 108px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.kino h1 {
  margin: 0; font-size: clamp(58px, 7.4vw, 122px); font-weight: 600;
  letter-spacing: -0.032em; line-height: 0.99; text-align: left;
}
.kino h1 .gold {
  background: linear-gradient(95deg, #ddb970, #a5854a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kino__zeile {
  position: relative; display: inline-block; max-width: 100%; margin: 0;
  font-size: 18px; line-height: 1.4; font-weight: 500; color: rgba(244, 243, 240, 0.75);
  border-top: 1px solid rgba(201, 167, 92, 0.5);
  border-bottom: 1px solid rgba(201, 167, 92, 0.5);
  padding: 10px 18px;
}
/* Blindtext hält die Breite, damit die getippte Zeile den Rahmen nicht
   ruckartig aufzieht. white-space: pre verhindert hier allerdings jeden
   Umbruch — unterhalb 740px wird der Blindtext deshalb abgeschaltet und die
   Zeile fließt normal (siehe Mobil-Block). */
.kino__blind { visibility: hidden; white-space: pre; }
.kino__blind .prompt { margin-right: 12px; }
.kino__live {
  /* Die Versatzwerte muessen dem Innenabstand von .kino__zeile entsprechen,
     sonst sitzt die getippte Zeile neben dem Blindtext darunter. */
  position: absolute; top: 10px; left: 18px;
  display: inline-flex; align-items: baseline; white-space: pre;
}
.kino__live .prompt { color: #c9a75c; margin-right: 12px; flex: none; }
.kino__punkt { color: #c9a75c; font-weight: 700; opacity: 0; }
.kino__punkt.is-an { opacity: 1; }
.kino__caret {
  display: inline-block; width: 2.5px; height: 0.95em; background: #c9a75c;
  vertical-align: -0.12em; margin-left: 1px;
}
/* Ohne JS tippt nichts — dann trägt der Blindtext den Satz sichtbar und die
   Schreibmarke verschwindet. */
html:not(.js-anim) .kino__blind { visibility: visible; }
html:not(.js-anim) .kino__blind .prompt { color: #c9a75c; }
html:not(.js-anim) .kino__live { display: none; }
.kino__body {
  margin: 0; font-size: 17px; line-height: 1.6; color: rgba(244, 243, 240, 0.6);
  max-width: 560px; text-align: left; text-wrap: pretty;
}
.kino__hinweis {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(244, 243, 240, 0.45);
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.kino__hinweis svg { display: block; }

/* Bewegung. Einblendungen laufen nur unter .js-anim — sonst hielte das
   fill-mode "both" den Inhalt dauerhaft auf opacity 0, wenn JS ausfällt.
   Dauerbewegungen (Fahrt, Glanz, Hüpfen) verstecken nichts und laufen daher
   ohne Gate, aber nur bei prefers-reduced-motion: no-preference. */
@media (prefers-reduced-motion: no-preference) {
  .kino__rahmen { animation: fahrt 22s ease-in-out infinite alternate; will-change: transform; }
  .kino__glanz { animation: glanz 8.5s ease-in-out 2.5s infinite; }
  .kino__hinweis svg { animation: huepfen 1.8s ease-in-out infinite; }
  .kino__caret.is-fertig { animation: blinken 1s steps(1) infinite; }

  .js-anim .kino__linien .leitung { stroke-dasharray: 1; animation: zeichnen 2.8s 1s cubic-bezier(0.3, 0, 0.2, 1) both; }
  .js-anim .kino__linien .leitung:nth-of-type(2) { animation-duration: 2.6s; animation-delay: 1.6s; }
  .js-anim .kino__linien .leitung:nth-of-type(3) { animation-delay: 1.3s; }
  .js-anim .kino__linien .knoten { transform-box: fill-box; transform-origin: center; animation: punktauf 0.5s 3.6s ease both; }
  .js-anim .kino__linien .knoten:nth-of-type(2) { animation-delay: 4s; }
  .js-anim .kino__linien .knoten:nth-of-type(3) { animation-delay: 3.9s; }

  .js-anim .kino h1 { animation: aufstieg 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .kino__buehne { animation: aufstieg 1.3s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .kino__zeile { animation: aufstieg 1s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .kino__body { animation: aufstieg 1s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .kino__hinweis { animation: aufstieg 1s 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  @keyframes aufstieg { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes punktauf { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
  @keyframes huepfen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
  @keyframes blinken { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
  @keyframes fahrt {
    from { transform: perspective(2200px) rotateY(-5deg) rotateX(1.5deg) translate3d(0, 0, 0) scale(1.04); }
    to { transform: perspective(2200px) rotateY(-2.5deg) rotateX(0.5deg) translate3d(-1.2%, -0.8%, 0) scale(1.1); }
  }
  @keyframes glanz {
    0% { transform: translateX(-170%) skewX(-16deg); }
    30%, 100% { transform: translateX(260%) skewX(-16deg); }
  }
  @keyframes schweben {
    0%, 100% { transform: perspective(1300px) rotateY(-5deg) translateY(0); }
    50% { transform: perspective(1300px) rotateY(-5deg) translateY(-10px); }
  }
  @keyframes schweben2 {
    0%, 100% { transform: perspective(1300px) rotateY(5deg) translateY(0); }
    50% { transform: perspective(1300px) rotateY(5deg) translateY(-10px); }
  }
}

/* ---------- Produktkarten (Startseite und /produkte/) ---------- */
.produkte {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 26px;
  padding: 140px 48px 0; scroll-margin-top: 90px;
}
.pk {
  position: relative; overflow: hidden;
  display: grid; gap: 56px; align-items: center;
  border-radius: 26px; padding: 58px 64px;
}
.pk--ai {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: linear-gradient(160deg, #2e3138 0%, #1f2226 60%, #17191d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08); color: #f4f3f0;
  box-shadow: 0 30px 80px rgba(38, 41, 47, 0.24);
}
.pk--inv {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: #fff; border: 1px solid rgba(38, 41, 47, 0.1); color: var(--ink);
  box-shadow: 0 24px 64px rgba(38, 41, 47, 0.08);
}
/* Kopflinie: die eingerückte Variante aus dem Token, damit sie sich zu beiden
   Seiten gleich auflöst. Die dunkle Karte trägt sie kräftiger. */
.pk__linie { position: absolute; top: 0; left: 44px; right: 44px; height: 2px; background: var(--gold-line-fade); }
.pk--ai .pk__linie { opacity: 0.85; }
.pk--inv .pk__linie {
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
}
.pk__schein {
  position: absolute; right: -18%; bottom: -55%; width: 640px; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(185, 154, 94, 0.16), transparent 70%);
}
.pk__signet {
  position: absolute; right: -12px; bottom: -16px; width: 190px; height: 190px; pointer-events: none;
}
.pk--ai .pk__signet { opacity: 0.09; }
.pk--inv .pk__signet { opacity: 0.07; }
.pk__text { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pk__marke { font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: 0.045em; }
/* "CASEROCKINVESTIGATIONS" ist mit 22 Zeichen rund ein Drittel laenger als
   "CASEROCKAI" und braucht deshalb einen eigenen, flacheren Verlauf: bei
   2,7vw/42px sprengt das Wort ab etwa 1300px seine Rasterzelle (560px Wort
   in 487px Zelle) und schneidet an der Kartenkante ab. */
.pk--inv .pk__marke { font-size: clamp(24px, 2.25vw, 35px); }
.pk--ai .pk__marke .akzent { color: #cfae6c; }
.pk--inv .pk__marke .akzent { color: var(--gold-deep); }
.pk__claim {
  margin: 4px 0 0; font-size: 22px; font-weight: 600; line-height: 1.4;
  letter-spacing: -0.01em; text-wrap: pretty;
}
.pk__body { margin: 0; font-size: 15.5px; line-height: 1.65; max-width: 46ch; text-wrap: pretty; }
.pk--ai .pk__body { color: rgba(244, 243, 240, 0.62); }
.pk--inv .pk__body { color: var(--ink-soft); }
.pk__link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none; padding-bottom: 3px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.pk__link:hover { gap: 15px; }
.pk--ai .pk__link { color: #cfae6c; border-bottom: 2px solid rgba(207, 174, 108, 0.55); }
.pk--ai .pk__link:hover { color: #e0c485; }
.pk--inv .pk__link { color: var(--ink); border-bottom: 2px solid var(--gold); }
.pk--inv .pk__link .arr { color: var(--gold-deep); }
/* Statusabzeichen, z. B. "Coming Q I 2027" */
.pk__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 980px; padding: 7px 16px;
}
.pk--ai .pk__badge { color: #cfae6c; border: 1px solid rgba(207, 174, 108, 0.4); }
.pk--inv .pk__badge { color: var(--gold-deep); border: 1px solid rgba(138, 109, 53, 0.4); }
.pk__badge .punkt { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

/* Nummerierte Merkmalsliste — tritt in der Karte an die Stelle des Bildes */
.pk__liste { position: relative; display: flex; flex-direction: column; }
.pk__pos { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 17px 0 18px; align-items: baseline; }
.pk__pos + .pk__pos { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.pk--inv .pk__pos + .pk__pos { border-top-color: rgba(38, 41, 47, 0.1); }
.pk__pos:last-child { padding-bottom: 0; }
.pk__nr { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.pk--ai .pk__nr { color: #cfae6c; }
.pk--inv .pk__nr { color: var(--gold-deep); }
.pk__pos-inhalt { display: flex; flex-direction: column; gap: 5px; }
.pk__pos-titel { font-size: 16.5px; font-weight: 700; letter-spacing: 0.01em; }
.pk__pos-text { font-size: 13.5px; line-height: 1.6; }
.pk--ai .pk__pos-text { color: rgba(244, 243, 240, 0.58); }
.pk--inv .pk__pos-text { color: var(--ink-soft); }

.pk__bild { position: relative; display: flex; justify-content: center; }
/* Die dunkle Karte rahmt ihre Aufnahme in ein helles Kartenblatt, die helle
   Karte stellt sie freigestellt mit Schlagschatten — daher zwei Träger. */
.pk__blatt {
  width: 100%; max-width: 560px; overflow: hidden;
  background: #fbfaf7; border-radius: 12px;
  box-shadow: 0 44px 96px rgba(0, 0, 0, 0.42), 0 8px 26px rgba(0, 0, 0, 0.26);
}
.pk__blatt img { display: block; width: 100%; height: auto; }
.pk__frei {
  width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 34px 60px rgba(38, 41, 47, 0.3));
}
@media (prefers-reduced-motion: no-preference) {
  .pk__badge .punkt { animation: puls 2.4s ease-in-out infinite; }
  @keyframes puls { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  .pk__blatt { animation: schweben 8s ease-in-out infinite; will-change: transform; }
  .pk__frei { animation: schweben2 8s ease-in-out infinite; will-change: transform; }
}

/* ---------- Navigation über dunklem Grund ---------- */
/* Die Startseite beginnt mit dem dunklen Kino-Hero. Solange ein als
   data-dunkel markierter Abschnitt unter der Leiste liegt, dreht site.js die
   Leiste auf .is-dunkel — Wortmarke, Links und Schaltflächen wechseln mit. */
.nav__demo {
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--gold-deep); border: 1px solid rgba(138, 109, 53, 0.5);
  padding: 8px 20px; border-radius: 980px;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nav__demo:hover { background: rgba(185, 154, 94, 0.08); }
.nav__logo--dunkel { display: none; }
.nav.is-dunkel { background: rgba(23, 25, 29, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: none; }
.nav.is-dunkel .nav__logo--hell { display: none; }
.nav.is-dunkel .nav__logo--dunkel { display: block; }
.nav.is-dunkel .nav__lang { color: rgba(251, 250, 247, 0.7); }
.nav.is-dunkel .nav__lang:hover { color: #fff; }
.nav.is-dunkel .nav__demo { color: #ddb970; border-color: rgba(201, 167, 92, 0.55); }
.nav.is-dunkel .nav__demo:hover { background: rgba(201, 167, 92, 0.12); }
.nav.is-dunkel .nav__cta { color: var(--ink-deep); background: var(--paper); }
.nav.is-dunkel .nav__burger span { background: #fbfaf7; }
/* Offenes Menü liegt auf hellem Grund — die Dunkelfassung muss dort weichen. */
body.menu-open .nav.is-dunkel { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .nav.is-dunkel .nav__logo--dunkel { display: none; }
body.menu-open .nav.is-dunkel .nav__logo--hell { display: block; }
body.menu-open .nav.is-dunkel .nav__lang { color: var(--ink-soft); }
body.menu-open .nav.is-dunkel .nav__demo { color: var(--gold-deep); border-color: rgba(138, 109, 53, 0.5); }
body.menu-open .nav.is-dunkel .nav__cta { color: #fff; background: var(--ink); }
body.menu-open .nav.is-dunkel .nav__burger span { background: var(--ink); }

/* ---------- Coming-soon-Kopf (CASEROCKAI) ---------- */
.soon {
  position: relative; max-width: 1280px; margin: 0 auto;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 104px 48px 96px;
}
/* Ruecklink zur uebergeordneten Seite. Wird sowohl im Coming-soon-Kopf als
   auch im Seitenkopf der Unterseiten verwendet. */
.zurueck {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.zurueck .arr { color: var(--gold-deep); }
.zurueck:hover { color: var(--gold-deep); gap: 13px; }
.page-hero .zurueck { margin-bottom: 26px; }
/* Wortmarke als Ueberschrift braucht die Sperrung der Marke, nicht die
   enge Satzsperrung der uebrigen Seitenkoepfe. */
.page-hero h1.marke { letter-spacing: 0.035em; }
.soon__huelle { width: 100%; margin-top: 28px; }
.soon__karte {
  position: relative; overflow: hidden; border-radius: 26px;
  background: linear-gradient(160deg, #2e3138 0%, #1f2226 60%, #17191d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08); color: #f4f3f0;
  padding: 62px 64px 66px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  box-shadow: 0 30px 80px rgba(38, 41, 47, 0.24);
}
.soon__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #cfae6c;
}
.soon__badge .punkt { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.soon__body {
  margin: 0; font-size: 16.5px; line-height: 1.6;
  color: rgba(244, 243, 240, 0.66); max-width: 52ch; text-wrap: pretty;
}
.soon__btn {
  display: inline-block; margin-top: 8px;
  font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink-deep);
  background: linear-gradient(180deg, #fbfaf8, #efece5);
  padding: 16px 36px; border-radius: 980px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.soon__btn:hover { transform: translateY(-2px); color: var(--ink-deep); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36); }
.soon__hinweis {
  position: absolute; bottom: 30px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--dim); font-size: 11.5px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 600;
}
.soon__hinweis svg { display: block; }

/* Getippte ETA-Zeile. Gleicher Aufbau wie die Kommandozeile des Kino-Heros
   (Blindtext haelt die Breite, Live-Ebene tippt darueber), nur groesser und
   in drei Segmenten, damit "AI" golden bleibt. */
.soon__zeile {
  position: relative; display: inline-block; max-width: 100%; margin: 0;
  font-size: clamp(24px, 3vw, 44px); font-weight: 600;
  letter-spacing: 0.01em; line-height: 1.2;
  border-top: 1px solid rgba(207, 174, 108, 0.55);
  border-bottom: 1px solid rgba(207, 174, 108, 0.55);
  padding: 14px 24px;
}
.soon__blind { visibility: hidden; white-space: pre; }
.soon__blind .prompt { margin-right: 16px; }
.soon__live {
  position: absolute; top: 14px; left: 24px;
  display: inline-flex; align-items: baseline; white-space: pre;
}
.soon__live .prompt { color: #cfae6c; margin-right: 16px; flex: none; }
.soon__live [data-seg] { white-space: pre; }
.soon__live .gold { color: #cfae6c; }
.soon__punkt { color: #cfae6c; opacity: 0; }
.soon__punkt.is-an { opacity: 1; }
.soon__caret {
  display: inline-block; width: 3px; height: 0.9em; background: #cfae6c;
  vertical-align: -0.08em; margin-left: 2px;
}
html:not(.js-anim) .soon__blind { visibility: visible; }
html:not(.js-anim) .soon__blind .prompt { color: #cfae6c; }
html:not(.js-anim) .soon__live { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .soon__badge .punkt { animation: puls 1.8s ease-in-out infinite; }
  .soon__hinweis svg { animation: huepfen 1.8s ease-in-out infinite; }
  .soon__caret.is-fertig { animation: blinken 1s steps(1) infinite; }
  .js-anim .soon .zurueck { animation: aufstieg 0.85s 0s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .soon__huelle { animation: aufstieg 0.95s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js-anim .soon__hinweis { animation: aufstieg 0.95s 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}

/* ---------- Produktkopf (Wortmarke gross + Kernsatz) ---------- */
.pintro { max-width: 1280px; margin: 0 auto; padding: 64px 48px 0; }
.pintro h1 {
  margin: 0; font-size: clamp(44px, 5.4vw, 84px); font-weight: 700;
  letter-spacing: 0.035em; line-height: 1.04;
}
.pintro__claim {
  margin: 26px 0 0; font-size: 21px; font-weight: 600; line-height: 1.45;
  letter-spacing: -0.01em; max-width: 720px; text-wrap: pretty;
}
.pintro__body {
  margin: 16px 0 0; font-size: 17px; line-height: 1.6;
  color: var(--ink-soft); max-width: 640px; text-wrap: pretty;
}

/* ---------- Funktionsreihen (Text neben Oberflaechen-Aufnahme) ---------- */
.freihen { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 120px; padding: 64px 48px 120px; }
.freihe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
/* Team-Intro und Buehne bilden einen Abschnitt fuer die Abschnittsleiste. Der
   Rahmen uebernimmt den Reihenabstand seines Elternteils, damit der Rhythmus
   ueber alle drei Umbruchstufen unveraendert bleibt. */
.cai-team { display: flex; flex-direction: column; gap: inherit; }
/* Umgekehrte Reihe: Aufnahme links, Text rechts */
.freihe--rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.freihe--rev .freihe__bild { order: 0; }
.freihe--rev .freihe__text { order: 1; }
.freihe__text { display: flex; flex-direction: column; gap: 14px; }
.freihe__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--ink); }
.freihe__kicker .akzent { color: var(--gold-deep); }
.freihe__titel { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.freihe__body { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }
.freihe__body .marke { font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.freihe__body .marke .akzent { color: var(--gold-deep); }
/* Der Rahmen beschneidet die Fensterleiste der Aufnahme oben und den Rand
   unten — negative Margen am Bild, wie im Entwurf vermessen. */
.freihe__bild {
  overflow: hidden; border-radius: 14px;
  border: 1px solid rgba(38, 41, 47, 0.12);
  box-shadow: 0 26px 60px rgba(38, 41, 47, 0.16);
  background: #fff;
}
.freihe__bild img { display: block; width: 100%; height: auto; margin: -5.6% 0 -2.6%; }
.freihe__bild--voll img { margin: -6% 0 0; }

/* ---------- Klebe-Buehne: das virtuelle Team ---------- */
/* Der Rahmen ist 300vh hoch; die Buehne bleibt darin kleben und schaltet nach
   Scrollfortschritt zwischen vier Rollen um. Unterhalb 1024px greift das nicht
   mehr sinnvoll — dort stehen alle vier Rollen untereinander (siehe unten). */
/* Die Buehne steht im normalen Fluss und hat ihre natuerliche Hoehe. Das
   Durchschalten der vier Rollen uebernimmt der Rad-Freeze in site.js; ein
   ueberhoher Rahmen mit klebendem Raster wird dafuer nicht mehr gebraucht. */
.stage-wrap { position: relative; }
.stage {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px;
  align-items: stretch;
}
.stage__nav { display: flex; flex-direction: column; justify-content: center; }
.stage__tab {
  position: relative; width: 100%; text-align: left; cursor: pointer;
  appearance: none; background: transparent; border: 0;
  border-top: 1px solid rgba(38, 41, 47, 0.1);
  padding: 22px 18px 22px 28px;
  display: flex; flex-direction: column; gap: 5px;
  font-family: inherit;
  transition: background 0.25s ease;
}
.stage__tab:first-child { border-top-color: rgba(138, 109, 53, 0.28); }
.stage__tab:last-child { border-bottom: 1px solid rgba(138, 109, 53, 0.28); }
.stage__tab::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 3px; background: var(--gold-deep); opacity: 0; transition: opacity 0.25s ease;
}
/* Tinte von 0,08 auf 0,03: bei 0,08 faellt das Gold der Wortmarke auf
   4,36:1 und verfehlt die AA-Schwelle. Bei 0,03 sind es 4,54:1. Den aktiven
   Eintrag markiert ohnehin vor allem der goldene Balken links. */
.stage__tab.is-aktiv { background: rgba(185, 154, 94, 0.03); }
.stage__tab.is-aktiv::before { opacity: 1; }
.stage__name { font-size: 17px; font-weight: 700; letter-spacing: 0.09em; color: var(--ink); }
.stage__name .akzent { color: var(--gold-deep); }
.stage__rolle { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--dim); }
/* Auf der getoenten Flaeche des aktiven Reiters traegt selbst var(--dim) nur
   4,34:1. Der aktive Eintrag bekommt deshalb den kraeftigeren Ton — das ist
   zugleich die richtige Leseordnung: aktiv soll staerker stehen. */
.stage__tab.is-aktiv .stage__rolle { color: var(--ink-soft); }
.stage__panel {
  position: relative; border-radius: 16px;
  border: 1px solid rgba(201, 167, 92, 0.32);
  background: radial-gradient(760px 420px at 75% -15%, #2a2e35, #17191d 70%);
  color: #f4f3f0; padding: 44px 46px; min-height: 400px;
  box-shadow: 0 30px 64px rgba(20, 22, 26, 0.3); overflow: hidden;
}
.stage__linie {
  position: absolute; top: 0; left: 40px; right: 40px; height: 2px; opacity: 0.7;
  background: linear-gradient(90deg, transparent, #cfae6c 22%, #cfae6c 78%, transparent);
}
.stage__blatt { display: none; flex-direction: column; gap: 17px; height: 100%; }
.stage__blatt.is-aktiv { display: flex; }
.stage__titel { font-size: 30px; font-weight: 700; letter-spacing: 0.08em; }
.stage__titel .akzent { color: #cfae6c; }
.stage__text {
  margin: 0; font-size: 16.5px; line-height: 1.65;
  color: rgba(244, 243, 240, 0.68); max-width: 52ch; text-wrap: pretty;
}
.stage__rolle-mobil {
  display: none;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  color: rgba(244, 243, 240, 0.5);
}
.stage__chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 9px; }
.stage__chip {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: #cfae6c;
  border: 1px solid rgba(207, 174, 108, 0.42); border-radius: 999px; padding: 10px 18px;
}

/* ---------- Abschnittsleiste am rechten Rand (nur breite Fenster) ----------
   Punktleiste, die den aktuellen Vorschau-Abschnitt zeigt. Der Punkt stanzt
   sich mit einem Schlagschatten in Papierfarbe aus der Haarlinie frei. */
.cr-rail {
  position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 55;
  opacity: 0; pointer-events: none; transition: opacity 0.45s ease;
}
.cr-rail.is-da { opacity: 1; pointer-events: auto; }
/* Das Ueberblendmenue liegt tiefer (z-index 49) und wuerde sonst von der
   Leiste durchstochen. */
body.menu-open .cr-rail { opacity: 0; pointer-events: none; }
.cr-rail__inner {
  position: relative; display: flex; flex-direction: column;
  align-items: flex-end; gap: 18px;
}
.cr-rail__linie {
  position: absolute; right: 3px; top: 6px; bottom: 6px; width: 1px;
  background: rgba(138, 109, 53, 0.25);
}
.cr-rail__punkt {
  position: relative; display: flex; align-items: center; gap: 12px;
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  padding: 0; margin: 0; font-family: inherit; cursor: pointer;
}
.cr-rail__label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold-deep); white-space: nowrap;
  opacity: 0; transition: opacity 0.3s ease;
}
.cr-rail__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(38, 41, 47, 0.22);
  box-shadow: 0 0 0 3px var(--paper);
  transition: background 0.3s ease;
}
.cr-rail__punkt.is-aktiv .cr-rail__dot { background: var(--gold-deep); }
/* Ohne Beschriftung sagt ein Punkt nichts — sie ist deshalb auf jeder Breite
   beim Zeigen und beim Tastaturfokus abrufbar, ohne dauerhaft Platz zu
   belegen. */
.cr-rail__punkt:hover .cr-rail__label,
.cr-rail__punkt:focus-visible .cr-rail__label { opacity: 1; }
/* Dauerhaft steht die Beschriftung des aktiven Punktes erst dort, wo sie
   neben dem Inhalt Platz hat. Darunter bleiben die Punkte allein: die
   laengste Beschriftung ragt bei 1400px sonst 113px in den Inhaltsbereich,
   bei 1600px noch 13px. Ab 1680px ist der Rand breit genug. */
@media (min-width: 1680px) {
  .cr-rail__punkt.is-aktiv .cr-rail__label { opacity: 1; }
}
/* Unter 1400px bleibt die Leiste ganz aus. */
@media (max-width: 1399px) { .cr-rail { display: none !important; } }

/* ==========================================================================
   Mobile & Tablet
   ========================================================================== */

/* ============ Tablet ≤ 1024px ============ */
@media (max-width: 1024px) {
  /* Hero füllt nahezu den Screen, KI-Eyebrow schneidet dezent proportional
     an (10svh, geklemmt 60–110px). svh statt vh: nimmt den stabilen kleinsten
     Viewport-Zustand, damit die springende Mobile-Adressleiste den Anschnitt
     nicht verschluckt. Der Hero beginnt unter dem fixen Header bei y=0 — der
     Abzug ist daher direkt die sichtbare Anschnitt-Höhe. Inhalt bleibt über
     das Flex-Centering zentriert; min-height weicht dem Inhalt vor Quetschung. */
  .hero { min-height: calc(100vh - clamp(60px, 10vh, 110px)); min-height: calc(100svh - clamp(60px, 10svh, 110px)); }
  .section { padding-left: 40px; padding-right: 40px; }
  .hero { padding-left: 40px; padding-right: 40px; }
  .plates { grid-template-columns: 1fr; }
  .tiers-head { grid-template-columns: 1fr; gap: 26px; }
  .team-head { grid-template-columns: 1fr; gap: 26px; }
  .team-row { grid-template-columns: 1fr 1fr; }
  .team-row > :nth-child(2) { grid-column: span 2; order: -1; }

  /* --- Kino-Hero --- */
  /* Die Aufnahme rueckt hoch und weiter aus dem Bild, damit die Schrift
     unten ihren freien Grund behaelt. */
  .kino__buehne { top: 8%; right: -14%; width: min(84vw, 760px); }
  .kino__inhalt { padding: 0 40px 92px; }

  /* --- Produktkarten --- */
  /* Einspaltig. Text zuerst, Bild darunter — auch bei der hellen Karte, die
     im Breitformat mit dem Bild links beginnt. */
  .produkte { padding: 104px 40px 0; }
  .pk { grid-template-columns: 1fr; gap: 38px; padding: 48px 44px; }
  .pk__text { order: 0; }
  .pk__bild, .pk__liste { order: 1; }
  .pk__signet { width: 150px; height: 150px; }

  /* --- CASEROCKAI --- */
  .soon { padding: 96px 40px 88px; }
  .soon__karte { padding: 48px 40px 52px; }
  .pintro { padding: 56px 40px 0; }
  .freihen { padding: 56px 40px 96px; gap: 88px; }
  .freihe, .freihe--rev { grid-template-columns: 1fr; gap: 32px; }
  .freihe__text, .freihe--rev .freihe__text { order: 0; }
  .freihe__bild, .freihe--rev .freihe__bild { order: 1; }

  /* Klebe-Buehne aufloesen: 300vh Scrollweg und ein klebendes Raster ergeben
     auf schmalen Geraeten keinen Sinn — dort stehen alle vier Rollen
     untereinander in einem Panel, getrennt durch Haarlinien. Die Reiterspalte
     entfaellt; ihre Rollenbezeichnung wandert in das jeweilige Blatt. */
  .stage { grid-template-columns: 1fr; gap: 0; }
  .stage__nav { display: none; }
  .stage__panel { min-height: 0; padding: 38px 34px; }
  /* height: 100% laesst auf dem Desktop die Chips an den Panelboden sinken
     (.stage__chips traegt margin-top: auto). Gestapelt loest derselbe Wert
     gegen die Panelhoehe auf: jedes der vier Blaetter wuerde die volle Hoehe
     einnehmen, die drei unteren rutschten aus dem Panel und wuerden von
     dessen overflow: hidden weggeschnitten. */
  .stage__blatt { display: flex; height: auto; }
  .stage__blatt + .stage__blatt {
    margin-top: 34px; padding-top: 34px;
    border-top: 1px solid rgba(207, 174, 108, 0.22);
  }
  .stage__rolle-mobil { display: block; }
}

/* ============ Mobil ≤ 740px ============ */
@media (max-width: 740px) {

  /* --- Grundgerüst --- */
  :root { --section-gap-lg: 6.5rem; --section-gap-md: 4.5rem; }
  .section { padding-left: 22px; padding-right: 22px; }
  /* Lange deutsche Komposita ("Berufsgeheimnistraeger", "Datensouveraenitaet")
     sprengen bei 390px jeden Textkasten. Silbentrennung statt hartem Umbruch —
     html traegt lang="de", die Trennmuster greifen also. */
  .h2 { font-size: clamp(32px, 8.6vw, 42px); hyphens: auto; }
  .body { font-size: 17px; }
  .eyebrow .label { letter-spacing: 0.16em; font-size: 12px; }

  /* --- Navigation --- */
  .nav { padding: 0 18px; height: 64px; }
  /* Antippflaechen: 44px Mindestkante fuer freistehende Bedienelemente */
  .nav__brand, .nav__lang, .nav__cta, .nav__home {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  /* "EN" ist nur zwei Zeichen breit — auch waagerecht auf 44px bringen */
  .nav__lang { min-width: 44px; justify-content: center; }
  .nav__logo { height: 24px; }
  .nav__cta { font-size: 13.5px; padding: 9px 16px; }
  /* Die Demo-Schaltflaeche weicht: mit ihr bleiben bei 390px nur 25px fuer die
     Marke uebrig, bei 360px laeuft die Leiste ueber. Der Weg zur Demo fuehrt
     mobil ueber Menue und Kontaktseite. */
  .nav__demo { display: none; }
  .nav__lang { font-size: 13px; padding: 9px 8px; }
  .nav__home { font-size: 13.5px; }
  .menu-overlay { padding: 0 32px; }
  /* Tippziele: 26px Schrift ergeben nur 32px Hoehe. Innenabstand statt Luecke,
     damit jeder Eintrag 46px hoch wird und die Ziele sich nicht ueberlappen. */
  .menu-overlay__links { gap: 0; }
  .menu-overlay__links a { font-size: clamp(26px, 7vw, 34px); padding: 7px 0; }

  /* --- Hero (Startseite) --- */
  .hero { padding: 110px 22px 72px; } /* min-height kommt aus dem ≤1024-Block (svh-Anschnitt) */
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero__sub { font-size: 17px; max-width: none; }
  .hero__badge { font-size: 12px; padding: 8px 14px; text-align: left; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn-primary { text-align: center; padding: 15px 22px; font-size: 16px; }

  /* --- KI-Panel --- */
  .ki-panel { grid-template-columns: 1fr; padding: 40px 26px; gap: 28px; }
  .ki-claim { font-size: clamp(34px, 9.5vw, 44px); }

  /* --- Awards-Marquee --- */
  .awards { padding: var(--section-gap-lg) 0 0; }
  .awards .section-head { padding: 0 22px; }
  .award-card { width: 280px; padding: 20px 22px 24px; }
  .ac-what { font-size: 17px; }
  .marquee::before, .marquee::after { width: 60px; }

  /* --- Sektions-Abschlusslinks (Startseite): Proximity --- */
  /* Der Link rückt eng an seinen Kartenstapel (≤ 1/3 des Abstands zur
     Folgesektion), damit die Zugehörigkeit mobil eindeutig bleibt. */
  .u-mt48 { margin-top: 20px !important; }
  .tier-footer { margin-top: 18px; }

  /* --- Leistungs-Karten (Startseite) --- */
  .plates { gap: 18px; }
  .plate { padding: 28px 24px 32px; min-height: 0; }
  .plate h3 { font-size: 23px; }
  .plate h3, .plate p { padding-left: 0; padding-right: 0; }
  .plate__visual { margin: -28px -24px 24px; }

  /* --- Datensouveränität --- */
  /* Altfehler: die Zierscheine ragen mit -40px seitlich ueber ihre Sektion
     und damit 18px aus dem Fenster — betroffene Seiten scrollen dadurch mobil
     waagerecht. Ueberstand auf die Sektionspolsterung zurueckgenommen, die
     Scheine laufen jetzt genau bis zum Fensterrand. */
  .tiers-backdrop { inset: -50px -22px; }
  .plates-backdrop { inset: -60px -22px; }
  .tier-tabs { flex-direction: column; gap: 8px; }
  .tier-tab { padding: 18px 20px; display: flex; align-items: baseline; gap: 14px; }
  .tier-tab .name { font-size: 19px; margin-top: 0; }
  .tier-stage { grid-template-columns: 1fr; min-height: 0; }
  .tier-visual { height: 240px; }
  .tier-visual svg { max-width: 170px; max-height: 170px; }
  .tier-stage__text { padding: 0 26px 32px; }
  .tier-stage__text .t-name { font-size: 27px; }
  .stage-compliance { flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px 26px; }
  .sc-chips { flex-wrap: wrap; }

  /* --- Team --- */
  .team-row { grid-template-columns: 1fr; gap: 16px; }
  .team-row > :nth-child(2) { grid-column: auto; order: 0; }
  .team-photo { height: 300px; }

  /* --- Antippflaechen freistehender Textlinks ---
     Unsichtbare Trefferflaeche statt Polsterung, damit der Goldunterstrich
     am Text bleibt. */
  .link-gold, .pk__link, .zurueck, .svc-toggle { position: relative; }
  .link-gold::after, .pk__link::after, .zurueck::after, .svc-toggle::after {
    content: ""; position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%); height: 44px;
  }

  /* --- Schluss-CTA + Footer --- */
  .closing { padding: var(--section-gap-md) 22px; }
  .closing__lead { font-size: 17px; margin-bottom: 22px; }
  .closing .btn-dark { padding: 16px 30px; font-size: 16px; }
  .footer { flex-direction: column; gap: 16px; padding: 32px 22px; text-align: center; }
  .footer nav { gap: 8px; }
  .footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }

  /* --- Unterseiten: Kopf --- */
  .page-hero { padding: 130px 22px 56px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  /* Wortmarken-Ueberschriften: "CASEROCKINVESTIGATIONS" ist ein unbrechbares
     Wort von 22 Zeichen und wird bei 390px sonst vom overflow des Seitenkopfs
     abgeschnitten. Bricht hier zwischen Stamm und Zusatz und faellt kleiner. */
  .page-hero h1.marke { font-size: clamp(27px, 8.6vw, 44px); }
  .page-hero h1.marke .gold-word { display: block; }
  .page-hero .intro { font-size: 17px; }

  /* --- Leistungen / Infrastruktur: Glas-Reihen --- */
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; }
  .svc-row.rev .svc-visual { order: 0; border-left: none; }
  .svc-visual { min-height: 220px; border-right: none; border-bottom: 1px solid rgba(38, 41, 47, 0.06); }
  .svc-visual.on-dark { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .svc-row.rev .svc-visual.on-dark { border-left: none; }
  .svc-text { padding: 30px 24px 34px; }
  .svc-text h2, .svc-text h3 { font-size: 25px; }
  .tv-static svg { max-width: 150px; max-height: 150px; }

  /* --- FAQ (vorbereitet) --- */
  .faq-item.svc-text { padding: 4px 20px; }
  .faq-item .svc-toggle { font-size: 15.5px; }

  /* --- Infrastruktur: Berufsgeheimnisträger-Panel --- */
  /* 1fr faellt auf min-content zurueck: "Berufsgeheimnistraeger." zieht die
     Spalte auf 380px in einem 294px breiten Kasten, der Rest wird vom
     overflow des Panels abgeschnitten. min-width: 0 laesst die Spalte
     schrumpfen, break-word garantiert den Umbruch auch dort, wo die
     Silbentrennung mangels Trennmustern nicht greift. */
  .law-panel { grid-template-columns: 1fr; padding: 40px 26px; gap: 28px; }
  .law-panel > * { min-width: 0; }
  .law-panel .h2 { overflow-wrap: break-word; }
  .law-chips { flex-wrap: wrap; }

  /* --- Management: Profile --- */
  .prof-row, .prof-row.rev { grid-template-columns: 1fr; }
  .prof-row.rev .prof-photo { order: 0; }
  .prof-photo { min-height: 0; height: 320px; }
  .prof-text { padding: 28px 24px 34px; }
  .prof-text h2 { font-size: 27px; }

  /* --- Kontakt --- */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 34px 26px; }
  .contact-card .cc-main { font-size: 21px; }
  .brandmark { width: 100%; }

  /* --- Kino-Hero --- */
  .kino h1 { font-size: clamp(40px, 11.5vw, 62px); }
  .kino__inhalt { padding: 0 22px 84px; gap: 18px; }
  .kino__body { font-size: 16px; max-width: none; }
  .kino__buehne { top: 6%; right: -22%; width: 132vw; }
  .kino__hinweis { bottom: 18px; font-size: 10.5px; }

  /* Die getippte Zeile braucht eine einzige Zeile: Blindtext und Live-Ebene
     stehen beide auf white-space: pre und koennen nicht umbrechen. Bei 390px
     Breite verlangt der Satz rund 415px gegen 346px verfuegbaren Raum. Statt
     ihn abzuschneiden laeuft die Zeile hier ohne Schreibmaschine — der
     Blindtext wird sichtbar und bricht normal um. */
  .kino__zeile { font-size: 15px; padding: 9px 14px; }
  .kino__blind { visibility: visible; white-space: normal; }
  .kino__blind .prompt { color: #c9a75c; }
  .kino__live { display: none; }

  /* --- Produktkarten --- */
  .produkte { padding: 80px 22px 0; gap: 18px; }
  .pk { padding: 34px 26px; gap: 26px; }
  .pk--ai .pk__marke, .pk--inv .pk__marke { font-size: clamp(24px, 7.4vw, 32px); }
  /* "CASEROCKINVESTIGATIONS" ist ein unbrechbares Wort von 22 Zeichen und
     zieht bei 390px die Mindestbreite der Rasterzelle auf 385px hoch — die
     Karte laeuft dann um 66px ueber und schneidet ab. Die Wortmarke bricht
     hier deshalb zwischen Stamm und Zusatz um. min-width: 0 an den Zellen
     verhindert, dass kuenftig ein anderes langes Wort dasselbe ausloest. */
  .pk--inv .pk__marke .akzent { display: block; }
  .pk__text, .pk__liste { min-width: 0; }
  .pk__claim { font-size: 19px; }
  .pk__body { font-size: 15px; max-width: none; }
  .pk__linie { left: 26px; right: 26px; }
  .pk__pos { grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0 15px; }
  .pk__pos-titel { font-size: 15.5px; }
  .pk__badge { font-size: 10.5px; letter-spacing: 0.18em; padding: 6px 13px; }
  .page-hero__linien { display: none; }
  .pk__signet { width: 120px; height: 120px; }

  /* --- CASEROCKAI --- */
  .soon { padding: 88px 22px 78px; }
  .soon__karte { padding: 36px 24px 40px; gap: 18px; }
  .soon__badge { font-size: 11.5px; letter-spacing: 0.12em; }
  .soon__body { font-size: 15.5px; }
  .soon__btn { font-size: 15px; padding: 15px 26px; }
  .soon__hinweis { bottom: 20px; font-size: 10.5px; }
  /* Wie im Kino-Hero: Blindtext und Live-Ebene stehen auf white-space: pre und
     koennen nicht umbrechen. Unterhalb 740px laeuft die ETA-Zeile deshalb ohne
     Schreibmaschine und bricht normal um. */
  .soon__zeile { font-size: clamp(17px, 5.2vw, 24px); padding: 11px 15px; }
  .soon__blind { visibility: visible; white-space: normal; }
  .soon__blind .prompt { color: #cfae6c; }
  .soon__live { display: none; }

  .pintro { padding: 48px 22px 0; }
  .pintro h1 { font-size: clamp(34px, 10.5vw, 52px); }
  .pintro__claim { font-size: 19px; }
  .pintro__body { font-size: 16px; }

  .freihen { padding: 48px 22px 88px; gap: 64px; }
  .freihe__titel { font-size: 25px; }
  .freihe__body { font-size: 15.5px; }

  .stage__panel { padding: 30px 24px; }
  .stage__titel { font-size: 24px; }
  .stage__text { font-size: 15.5px; }
  .stage__chip { font-size: 11px; letter-spacing: 0.12em; padding: 8px 14px; }
}
