/* =========================================================
   cre-ai.de — Stylesheet
   Mobile-first. Custom properties. WCAG-AA bewusst.
   ========================================================= */

/* Chiroto — Brand display font (place TTFs in assets/fonts/) */
@font-face {
  font-family: "Chiroto";
  src: url("../assets/fonts/Chiroto.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chiroto Outline";
  src: url("../assets/fonts/Chiroto%20Outline.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Local-metric fallbacks: keep box geometry stable while web fonts load,
   so swapping in Inter / Fraunces causes no perceptible layout shift (CLS). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  --c-bg:        #F7F1E8;
  --c-ink:       #1F1F1F;
  --c-pink:      #FF4FA3;
  --c-lime:      #D7FF3F;
  --c-violet:    #6C63FF;

  --c-ink-soft:  #2b2b2b;
  --c-paper:     #FBF7F0;
  --c-line:      rgba(31,31,31,.12);

  --ff-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --ff-body:    "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:     14px;
  --radius-lg:  28px;
  --maxw:       1200px;

  --pad-x:      clamp(20px, 5vw, 64px);
  --gap-section: clamp(56px, 10vh, 160px);

  --t-fast:     .25s cubic-bezier(.2,.7,.2,1);
  --t-med:      .55s cubic-bezier(.2,.7,.2,1);
}

/* RESET-ish */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: 15.3px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 400px at 100% -10%, rgba(108,99,255,.08), transparent 70%),
    radial-gradient(900px 300px at -10% 110%, rgba(255,79,163,.08), transparent 70%);
  background-attachment: fixed;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--c-lime); color: var(--c-ink); }

.skip-link {
  position: absolute; left: 8px; top: 8px;
  background: var(--c-ink); color: var(--c-bg);
  padding: 8px 12px; border-radius: 8px;
  transform: translateY(-200%); transition: transform var(--t-fast);
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

/* ======================= TYPO ======================= */
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: .4em; }
.h2--light { color: var(--c-bg); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 60ch; }
.lede--light { color: var(--c-paper); }
.text-light { color: rgba(247,241,232,.85); }
.kicker {
  font-family: var(--ff-body);
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-ink-soft);
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.2rem;
}
.kicker--light { color: rgba(247,241,232,.7); }
.dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }
.dot--pink   { background: var(--c-pink); }
.dot--lime   { background: var(--c-lime); }
.dot--violet { background: var(--c-violet); }

.accent { font-style: italic; font-weight: 700; position: relative; white-space: nowrap; }
.accent--pink   { color: var(--c-pink); }
.accent--violet { color: var(--c-violet); }
.accent--lime   { background: var(--c-lime); padding: 0 .15em; border-radius: 4px; color: var(--c-ink); font-style: italic; }

/* ======================= LAYOUT HELPERS ======================= */
.section-head { max-width: 900px; margin: 0 auto clamp(28px, 5vh, 80px) auto; padding: 0 var(--pad-x); text-align: left; }
.section-head .section-lede { color: var(--c-ink-soft); margin-top: 1rem; max-width: 60ch; }
section { padding: var(--gap-section) 0; }

/* ======================= HEADER ======================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(247,241,232,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: "Chiroto", "Bree Serif", Georgia, serif;
  font-weight: 400; font-size: 1.85rem;
  letter-spacing: .02em;
  color: var(--c-ink);
  text-transform: uppercase;
}
.brand__text { line-height: 1; display: inline-flex; align-items: baseline; }
.brand__text .brand-ai {
  font-family: "Chiroto Outline", "Bree Serif", Georgia, serif;
  color: var(--c-pink);
  margin: 0 .02em;
}
.brand__text .brand-de {
  font-size: .7em;
  margin-left: .04em;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
}
.brand__dotsep { color: var(--c-pink); font-weight: 700; margin: 0 .02em; }
body.dark .brand__text .brand-ai { color: var(--c-lime); }
body.dark .brand__text .brand-de { color: rgba(247,241,232,.6); }
.brand:hover .brand-ai { transform: translateY(-2px); transition: transform var(--t-fast); }
.brand__mark { display: inline-flex; gap: 5px; align-items: center; }
.brand__dot { width: 14px; height: 14px; border-radius: 999px; transition: transform var(--t-fast); }
.brand:hover .brand__dot--pink   { transform: translateY(-4px); }
.brand:hover .brand__dot--lime   { transform: translateY(-1px); }
.brand:hover .brand__dot--violet { transform: translateY(-3px); }
.brand__dot--pink   { background: var(--c-pink); }
.brand__dot--lime   { background: var(--c-lime); }
.brand__dot--violet { background: var(--c-violet); }
.brand__dotsep { color: var(--c-pink); font-weight: 900; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--c-ink); color: var(--c-bg);
  border: 0; cursor: pointer;
  font-family: var(--ff-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  margin-left: auto; margin-right: 10px;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.lang-toggle:hover { background: var(--c-pink); color: var(--c-ink); transform: translateY(-1px); }
.lang-toggle .lang-on { color: var(--c-lime); }
.lang-toggle .lang-sep { opacity: .5; margin: 0 4px; }
body.dark .lang-toggle { background: var(--c-bg); color: var(--c-ink); }
body.dark .lang-toggle:hover { background: var(--c-lime); }
body.dark .lang-toggle .lang-on { color: var(--c-pink); }
@media (min-width: 880px) {
  .lang-toggle { margin-left: 0; margin-right: 0; }
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-ink); transition: transform var(--t-fast), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
  max-height: 0; overflow-y: auto; overflow-x: hidden; transition: max-height var(--t-med);
  -webkit-overflow-scrolling: touch;
}
.primary-nav[data-open="true"] { max-height: calc(100vh - 80px); }
.primary-nav > ul { list-style: none; margin: 0; padding: 12px var(--pad-x) 24px; display: flex; flex-direction: column; gap: 4px; }
.primary-nav > ul > li > a,
.primary-nav .sub-toggle {
  display: block; padding: 12px 0; text-decoration: none; font-weight: 500; font-size: 1.05rem;
  border-bottom: 1px solid var(--c-line);
}
.primary-nav a.nav-cta { color: var(--c-pink); font-weight: 700; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; max-height: none; overflow: visible; background: transparent; border: 0; }
  .primary-nav > ul { flex-direction: row; gap: 28px; padding: 0; align-items: center; }
  .primary-nav > ul > li > a,
  .primary-nav .sub-toggle { border: 0; padding: 6px 0; position: relative; }
  .primary-nav > ul > li > a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--c-pink);
    transition: width var(--t-fast);
  }
  .primary-nav > ul > li > a:hover::after, .primary-nav > ul > li > a:focus-visible::after { width: 100%; }
  .primary-nav a.nav-cta {
    background: var(--c-ink); color: var(--c-bg); padding: 8px 16px; border-radius: 999px;
  }
  .primary-nav a.nav-cta::after { display: none; }
  .primary-nav a.nav-cta:hover { background: var(--c-pink); color: var(--c-ink); }
}

/* Projects dropdown */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.has-sub > a::before { content: ""; }
.has-sub > a .caret { display: inline-block; transition: transform var(--t-fast); font-size: .75em; }
.has-sub[data-open="true"] > a .caret { transform: rotate(180deg); }
.subnav {
  list-style: none; padding: 8px 0 14px; margin: 0;
  display: none;
}
.has-sub[data-open="true"] .subnav { display: grid; gap: 2px; }
.subnav a {
  padding: 8px 0 8px 18px !important;
  font-size: .95rem;
  border-bottom: 0 !important;
  color: var(--c-ink-soft);
}
.subnav a:hover { color: var(--c-pink); }
@media (min-width: 880px) {
  .has-sub > a { cursor: pointer; }
  /* Invisible hover bridge so the cursor can travel from link to dropdown without breaking hover */
  .has-sub::after {
    content: ""; position: absolute; left: -16px; right: -16px;
    top: 100%; height: 18px;
    pointer-events: none;
  }
  .has-sub:hover::after, .has-sub:focus-within::after { pointer-events: auto; }
  .subnav {
    position: absolute; top: calc(100% + 12px); left: -16px;
    background: var(--c-ink); color: var(--c-bg);
    border-radius: 14px; padding: 10px;
    min-width: 280px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
    transform: translateY(-6px); opacity: 0; pointer-events: none;
    transition: opacity var(--t-fast), transform var(--t-fast);
    display: grid !important; gap: 0;
  }
  .has-sub[data-open="true"] .subnav,
  .has-sub:hover .subnav,
  .has-sub:focus-within .subnav {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .subnav a { color: var(--c-bg); padding: 12px 14px !important; border-radius: 8px; display: block; }
  .subnav a:hover { background: rgba(255,255,255,.08); color: var(--c-lime); }
  .subnav a::after { display: none; }
}

/* ======================= BUTTONS ======================= */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn--primary { background: var(--c-ink); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-pink); color: var(--c-ink); transform: translateY(-2px); }
.btn--ghost   { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-bg); transform: translateY(-2px); }
.btn--lime    { background: var(--c-lime); color: var(--c-ink); }
.btn--lime:hover { box-shadow: 0 0 0 6px rgba(215,255,63,.35); transform: translateY(-2px); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--c-violet); outline-offset: 3px; border-radius: 4px;
}

/* ======================= HERO ======================= */
.hero {
  position: relative;
  padding-top: clamp(60px, 10vh, 120px);
  padding-bottom: clamp(80px, 14vh, 160px);
  padding-left: max(var(--pad-x), calc((100vw - var(--maxw)) / 2));
  padding-right: clamp(var(--pad-x), 8vw, 140px);
  overflow: visible;
  max-width: none; margin: 0;
}
.hero__inner {
  max-width: 640px; position: relative; z-index: 2;
  margin-right: clamp(24px, 12vw, 200px);
}
.hero__title { margin-bottom: clamp(36px, 5vw, 64px); }
.hero__eyebrow { font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 28px; color: var(--c-ink-soft); }

.hero__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5.05vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 28px;
}
.hero__title .line { display: block; opacity: 0; transform: translateY(20px); animation: lineIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(2) { animation-delay: .35s; }
.hero__title .line:nth-child(3) { animation-delay: .55s; }
.hero__title .line--small { font-size: .55em; font-style: italic; font-weight: 400; color: var(--c-ink-soft); margin-top: .3em; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }

.hero__lead { font-size: clamp(.81rem, 1.06vw, .94rem); max-width: 56ch; margin: clamp(28px, 4vw, 56px) 0 32px; line-height: 1.6; }
.hero__lead a { color: var(--c-violet); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__viz {
  position: absolute; right: -6vw; top: 50%;
  width: clamp(520px, 55vw, 940px); aspect-ratio: 1;
  transform: translateY(-50%);
  z-index: 1; opacity: .92; pointer-events: none;
  overflow: visible;
}
@media (max-width: 880px) {
  .hero__viz {
    position: relative; width: min(280px, 70vw);
    margin: 24px auto 0; right: 0; top: 0; opacity: .55;
    aspect-ratio: 1;
  }
  .hero__scroll { display: none; }
  .hero { padding-bottom: clamp(40px, 8vh, 80px); }
}
.workflow-svg { width: 100%; height: 100%; overflow: visible; }
.workflow-svg .blob { animation: drift 14s ease-in-out infinite; transform-origin: center; will-change: transform; }
.workflow-svg .blob--1 { animation-duration: 16s; }
.workflow-svg .blob--2 { animation-duration: 13s; animation-delay: -4s; }
.workflow-svg .blob--3 { animation-duration: 18s; animation-delay: -9s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(48px, -36px) scale(1.07); }
  66%  { transform: translate(-32px, 30px) scale(.96); }
  100% { transform: translate(0, 0) scale(1); }
}

.workflow-svg .edge,
.workflow-svg .node { display: none; }

/* Kinetic CRE·AI·… sculpture
   Every letter sits on a counterweighted rotor arm. Arms rotate calmly
   at integer-multiple speeds; periodically they all align to form a full
   word, which briefly lights up in neon and fades. */
.hero-kinetic {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Chiroto", "Bree Serif", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  pointer-events: none;
  mix-blend-mode: multiply;
  color: var(--c-ink);
  user-select: none;
  z-index: 2;
}

/* Rotor / rail
   Each letter sits on an arm with a counterweight at the opposite end.
   Arms pivot at their center on a horizontal rail and rotate fully — the
   word becomes legible only when all arms align. */
.hero-kinetic .kw--rotor {
  position: relative;
  padding: 1.7em 0; /* full rotation arc clearance */
}
.hero-kinetic .rotor__rail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .04em;
  min-height: 3em;
}
.hero-kinetic .rotor__rail::after {
  content: '';
  position: absolute;
  left: -.3em; right: -.3em;
  top: 50%;
  height: 2px;
  background: var(--c-ink);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero-kinetic.is-aligned .rotor__rail::after { opacity: .32; }

/* Token = a free-floating letter (or the AI anchor block) */
.hero-kinetic .rotor__token {
  position: relative;
  display: inline-block;
  line-height: 1;
  will-change: transform;
  padding: 0 .04em;
}
.hero-kinetic .rotor__token--lime   { color: var(--c-lime);   -webkit-text-stroke: 1.5px var(--c-ink); }
.hero-kinetic .rotor__token--violet { color: var(--c-violet); }
.hero-kinetic .rotor__token--pink   { color: var(--c-pink); }
.hero-kinetic .rotor__token--ink    { color: var(--c-ink); }
.hero-kinetic .rotor__token--ai {
  font-family: "Chiroto Outline", "Bree Serif", Georgia, serif;
  color: var(--c-pink);
  -webkit-text-stroke: 1.5px var(--c-pink);
  letter-spacing: 0;
  padding: 0 .12em;
}

/* Brand flecks — floating pink/lime/violet dots between blob and letters.
   Three larger dots (logo proportion) dock to the top-right when a word is
   readable. */
.hero-flecks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.fleck {
  position: absolute;
  border-radius: 999px;
  width: 5px; height: 5px;
  opacity: .65;
  animation: fleckFloat 12s ease-in-out infinite alternate;
  will-change: transform;
}
.fleck--pink   { background: var(--c-pink); }
.fleck--lime   { background: var(--c-lime); }
.fleck--violet { background: var(--c-violet); }
/* Pause all fleck + blob animations once the hero scrolls out of view. */
body.hero-offscreen .fleck,
body.hero-offscreen .workflow-svg .blob { animation-play-state: paused; }
@keyframes fleckFloat {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(14px, -12px); }
  100% { transform: translate(-10px, 16px); }
}
@keyframes fleckFloatBig {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(38px, -28px) scale(1.05); }
  50%  { transform: translate(-22px, -46px) scale(.96); }
  75%  { transform: translate(-44px, 24px) scale(1.04); }
  100% { transform: translate(28px, 40px) scale(1); }
}
.fleck--big {
  position: fixed;
  width: 34px; height: 34px;
  opacity: 1;
  animation: fleckFloatBig 11s ease-in-out infinite alternate;
  transition:
    top  1.6s cubic-bezier(.2,.7,.2,1),
    left 1.6s cubic-bezier(.2,.7,.2,1);
  z-index: 5;
}
.fleck--big-pink   { top: 28vh; left: 64vw; }
.fleck--big-lime   { top: 58vh; left: 78vw; }
.fleck--big-violet { top: 18vh; left: 72vw; }
/* When the kinetic word is fully formed, the three big dots glide into a
   tight row at the page's top-right, matching the logo's order. */
/* Dock target is computed by JS so the trio sits just above the formed
   word (instead of off-viewport top-right). The body.kinetic-aligned
   class still toggles for any other coordinated styling. */

/* Dotted ghost paths showing each token's orbit / line — calm visual order */
.hero-kinetic .kinetic-paths {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  color: var(--c-ink);
  overflow: visible;
  max-width: none;
}
.hero-kinetic.is-drifting .kinetic-paths { opacity: .42; }
.hero-kinetic .kinetic-paths line,
.hero-kinetic .kinetic-paths ellipse,
.hero-kinetic .kinetic-paths polyline,
.hero-kinetic .kinetic-paths circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 1.5 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero-kinetic .rotor__arm {
  position: relative;
  display: inline-block;
  width: 1ch;
  min-width: .55em;
  height: 3em;
  transform-origin: 50% 50%;
  will-change: transform;
}
/* The rod — extends from pivot down to counterweight */
.hero-kinetic .rotor__arm::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: calc(50% - .12em);
  background: currentColor;
  opacity: .55;
  transform: translateX(-50%);
}
/* Counterweight ball at the far end */
.hero-kinetic .rotor__arm::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -.05em;
  width: .32em;
  height: .32em;
  border-radius: 999px;
  background: currentColor;
  opacity: .7;
  transform: translateX(-50%);
}
.hero-kinetic .rotor__letter {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: inline-block;
  line-height: 1;
}
.hero-kinetic .rotor__letter--lime   { color: var(--c-lime);   -webkit-text-stroke: 1.5px var(--c-ink); }
.hero-kinetic .rotor__letter--violet { color: var(--c-violet); }
.hero-kinetic .rotor__letter--pink   { color: var(--c-pink);   }
.hero-kinetic .rotor__letter--ink    { color: var(--c-ink);    }

/* Pivot dots — one per arm, sit on the rail line for mechanical feel */
.hero-kinetic .rotor__arm > .rotor__pivot {
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--c-ink);
  transform: translate(-50%, -50%);
  opacity: .8;
  z-index: 2;
}

/* AI anchor letters: positions 3 and 4 of every word are A and I (CRE-AI-…) */
.hero-kinetic .rotor__letter--ai {
  font-family: "Chiroto Outline", "Bree Serif", Georgia, serif;
  color: var(--c-pink);
}

/* Neon highlight when all arms align and the word is readable */
.hero-kinetic .rotor__rail::before {
  content: '';
  position: absolute;
  left: -.5em; right: -.5em;
  top: 50%;
  height: 1.6em;
  border-radius: 999px;
  background: var(--neon, var(--c-lime));
  filter: blur(28px);
  opacity: 0;
  transform: translateY(-50%) scale(.9);
  pointer-events: none;
  z-index: -1;
}
.hero-kinetic.is-aligned .rotor__rail::before {
  animation: neonFlash 2.6s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes neonFlash {
  0%   { opacity: 0;   transform: translateY(-50%) scale(.85); }
  18%  { opacity: .95; transform: translateY(-50%) scale(1.08); }
  55%  { opacity: .55; transform: translateY(-50%) scale(1.12); }
  100% { opacity: 0;   transform: translateY(-50%) scale(1.18); }
}
/* Per-word neon palette via accent class on .hero-kinetic */
.hero-kinetic--neon-lime   { --neon: var(--c-lime);   }
.hero-kinetic--neon-pink   { --neon: var(--c-pink);   }
.hero-kinetic--neon-violet { --neon: var(--c-violet); }

@media (max-width: 880px) {
  .hero-kinetic { font-size: clamp(1.9rem, 11vw, 3.4rem); }
}
/* Safari mobile only: static word, no spokes, no fleck motion — Chrome on
   the same device handles the full animation cleanly. */
body.is-safari-mobile .hero-kinetic { mix-blend-mode: normal; }
body.is-safari-mobile .hero-kinetic .kinetic-paths { display: none; }
body.is-safari-mobile .hero-kinetic .rotor__token { transform: none !important; }
body.is-safari-mobile .fleck { animation: none !important; transform: none !important; }
body.is-safari-mobile .fleck--big { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-kinetic .kw--ai,
  .hero-kinetic .rotor__letter,
  .hero-kinetic .rotor__token { animation: none !important; transform: none !important; }
  .hero-kinetic.is-aligned .rotor__rail::before { animation: none !important; opacity: 0 !important; }
}

.workflow-svg .edge--unused {
  stroke: var(--c-ink); stroke-width: 1.2; opacity: 0;
  animation: edgeFade 2.4s ease forwards;
}
.workflow-svg .edge:nth-of-type(1) { animation-delay: 1.4s; }
.workflow-svg .edge:nth-of-type(2) { animation-delay: 1.6s; }
.workflow-svg .edge:nth-of-type(3) { animation-delay: 1.8s; }
.workflow-svg .edge:nth-of-type(4) { animation-delay: 2.0s; }
.workflow-svg .edge:nth-of-type(5) { animation-delay: 2.2s; }
.workflow-svg .edge:nth-of-type(6) { animation-delay: 2.4s; }
@keyframes edgeFade { to { opacity: .42; } }

.workflow-svg .nodes { transform-origin: 300px 300px; animation: netSpin 50s linear infinite; }
@keyframes netSpin { to { transform: rotate(360deg); } }

.workflow-svg .node { fill: var(--c-ink); opacity: 0; animation: nodeBreathe 2.2s ease forwards; transform-box: fill-box; transform-origin: center; }
.workflow-svg .node--center {
  fill: var(--c-pink); animation: nodeBreathe 2.2s ease 1s forwards, centerPulse 5.5s ease-in-out 3.5s infinite;
}
@keyframes centerPulse {
  0%,100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,79,163,0)); }
  50%     { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(255,79,163,.55)); }
}
.workflow-svg .node:nth-of-type(2) { fill: var(--c-violet); animation-delay: 1.6s; }
.workflow-svg .node:nth-of-type(3) { fill: var(--c-lime);   animation-delay: 1.8s; }
.workflow-svg .node:nth-of-type(4) { fill: var(--c-violet); animation-delay: 2.0s; }
.workflow-svg .node:nth-of-type(5) { fill: var(--c-lime);   animation-delay: 2.2s; }
.workflow-svg .node:nth-of-type(6) { animation-delay: 2.4s; }
.workflow-svg .node:nth-of-type(7) { animation-delay: 2.6s; }
@keyframes nodeBreathe { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .workflow-svg .nodes { animation: none; }
  .workflow-svg .blob,
  .workflow-svg .edge,
  .workflow-svg .node,
  .workflow-svg .orbit,
  .workflow-svg .pulse-core { animation: none; opacity: 1; }
  .workflow-svg .edge { opacity: .22; }
}

.hero__scroll { position: absolute; bottom: 24px; left: var(--pad-x); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-ink-soft); opacity: .7; }

/* EN-spezifischer Hero: Text ist länger als DE — schmaler & leicht kleiner, damit er nicht in die rechte SVG läuft */
html[lang="en"] .hero__inner { max-width: 640px; }
html[lang="en"] .hero__title { font-size: clamp(2rem, 4.6vw, 4rem); }
html[lang="en"] .hero__lead { font-size: clamp(1rem, 1.45vw, 1.15rem); max-width: 56ch; }
@media (max-width: 880px) {
  html[lang="en"] .hero__inner { max-width: 100%; }
}

/* ======================= STORY ======================= */
.story { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.story__grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 980px) { .story__grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.story__text p { margin: 0 0 1em; max-width: 60ch; }

.strengths { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.strengths li { padding-left: 22px; position: relative; }
.strengths li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 12px; height: 2px; background: var(--c-pink);
}
.strengths li span { font-weight: 700; }

.story__card {
  background: var(--c-ink); color: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.story__card::before {
  content: ""; position: absolute; inset: auto -40px -40px auto;
  width: 220px; height: 220px; background: var(--c-violet);
  filter: blur(60px); opacity: .55;
}
.card__kicker { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-lime); margin: 0 0 14px; font-weight: 700; }
.card__title { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1.2; margin: 0 0 18px; }
.card__big {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: .95;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.card__big .word-pop { color: var(--c-bg); }
.card__big .word-pop--alt { color: var(--c-pink); }
.card__sub { font-style: italic; color: var(--c-lime); margin: 0 0 18px; }
.card__body { color: rgba(247,241,232,.85); position: relative; z-index: 1; }
.delfinoewin { width: 110px; margin-top: 22px; opacity: .85; }
.story__card:hover .delfinoewin path { stroke-dasharray: 200; animation: trace 1.4s ease forwards; }
@keyframes trace { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

/* === Towanda Schlachtruf === */
.towanda {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--c-pink) 0%, var(--c-violet) 100%);
  color: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.towanda::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 240px; height: 240px;
  background: var(--c-lime); border-radius: 50%; opacity: .35; filter: blur(40px);
}
.towanda__kicker {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-lime); margin: 0 0 12px; font-weight: 700;
  position: relative;
}
.towanda__call {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  margin: 0 0 16px;
  position: relative;
}
.towanda__word {
  display: inline-block;
  background: var(--c-lime); color: var(--c-ink);
  padding: 0 .15em;
  transform: rotate(-2deg);
  transition: transform var(--t-fast);
}
.towanda:hover .towanda__word { transform: rotate(0deg) scale(1.04); }
.towanda__body {
  position: relative; max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: rgba(247,241,232,.95);
  margin: 0;
}
.towanda__body em { font-style: italic; color: var(--c-lime); }

/* === Lab heading typographic stack === */
.lab-h-stack {
  display: flex; flex-direction: column;
  gap: .15em; line-height: 1; letter-spacing: -.01em;
}
.lab-h-stack .lab-h__name {
  display: block;
  font-style: normal;
}
.lab-h-stack .lab-h__colon {
  color: var(--c-pink); margin-left: .04em; font-weight: 600;
}
.lab-h-stack .lab-h__line {
  display: block;
  font-size: .58em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .005em;
  padding-left: 1.2em;
  color: var(--c-ink-soft);
  line-height: 1.15;
}
.lab-h-stack .lab-h__dash {
  display: inline-block;
  color: var(--c-violet);
  font-weight: 700;
  font-style: normal;
  margin-right: .35em;
  transform: translateY(-.06em);
}
.lab-h-stack .lab-h__comma {
  color: var(--c-pink); font-style: normal;
}
@media (min-width: 720px) {
  .lab-h-stack .lab-h__line { font-size: .52em; padding-left: 1.6em; }
}

/* ======================= SERVICES ======================= */
.services { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 720px)  { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .service-list { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.service-card::before {
  content: attr(data-num);
  position: absolute; top: 18px; right: 22px;
  font-family: var(--ff-display); font-size: 1rem; font-weight: 700;
  color: var(--c-violet); letter-spacing: .1em;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -30px rgba(31,31,31,.35);
  border-color: rgba(108,99,255,.35);
}
.service-card h3 { font-family: var(--ff-display); font-size: 1.5rem; margin: 0 0 14px; line-height: 1.15; }
.service-card p { margin: 0 0 16px; }

.tags, .workshops { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .82rem; padding: 6px 12px; border-radius: 999px;
  background: var(--c-bg); border: 1px solid var(--c-line);
}
.workshops { display: grid; gap: 8px; }
.workshops li { padding: 10px 14px; background: var(--c-bg); border-radius: 12px; border: 1px solid var(--c-line); font-weight: 500; }
.workshops .ws-num { color: var(--c-pink); font-weight: 800; margin-right: 8px; }

/* ======================= ADVISORY (Sie-Form) ======================= */
.advisory {
  background: var(--c-ink); color: var(--c-bg);
  position: relative; overflow: hidden;
}
.advisory::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px;
  background: var(--c-lime); border-radius: 50%; filter: blur(80px); opacity: .25;
}
.advisory::after {
  content: ""; position: absolute; bottom: -160px; left: -120px; width: 420px; height: 420px;
  background: var(--c-violet); border-radius: 50%; filter: blur(100px); opacity: .35;
}
.advisory__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 1; }
.advisory .h2 { color: var(--c-bg); margin-bottom: 36px; }
.advisory__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .advisory__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.advisory-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: rgba(247,241,232,.9); }
.advisory-list li { padding-left: 26px; position: relative; }
.advisory-list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 14px;
  border: 2px solid var(--c-lime); border-radius: 4px; transform: rotate(45deg);
}

.advisory__cta {
  background: var(--c-paper); color: var(--c-ink);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
}
.cta-eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-violet); font-weight: 700; margin: 0 0 12px; }
.cta-text { margin: 0 0 22px; }

/* ======================= LAB ======================= */
.lab { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.lab__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .lab__grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.lab__text p { margin: 0 0 1em; max-width: 50ch; }
.link-strong {
  background: linear-gradient(transparent 60%, var(--c-lime) 60%);
  padding: 0 .15em; font-weight: 700; text-decoration: none;
}
.lab__cards { display: grid; gap: 18px; }
@media (min-width: 600px) { .lab__cards { grid-template-columns: 1fr 1fr; } }
.lab-card {
  background: var(--c-paper); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line); transition: transform var(--t-fast);
}
.lab-card:hover { transform: translateY(-4px); }
.lab-card__img {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, rgba(255,79,163,.18) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--c-pink), var(--c-violet));
}
.lab-card__img--2 {
  background:
    radial-gradient(circle at 30% 30%, var(--c-lime) 0 6px, transparent 6px),
    radial-gradient(circle at 70% 60%, var(--c-pink) 0 6px, transparent 6px),
    radial-gradient(circle at 40% 80%, var(--c-violet) 0 6px, transparent 6px),
    linear-gradient(135deg, #1f1f1f, #3a3a3a);
}
.lab-card__img--3 {
  background:
    repeating-linear-gradient(0deg, rgba(31,31,31,.08) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #efe5d2, #d7ff3f);
}
.lab-card h3 { font-family: var(--ff-display); font-size: 1.2rem; margin: 18px 22px 6px; }
.lab-card p  { margin: 0 22px 22px; font-size: .95rem; color: var(--c-ink-soft); }

/* ======================= CONTACT ======================= */
.contact { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.contact__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact__grid { grid-template-columns: 1.4fr 1fr; } }

.contact-form {
  display: grid; gap: 18px;
  background: var(--c-paper);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--c-line);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px;
  border: 1.5px solid var(--c-line); background: var(--c-bg);
  border-radius: 12px; color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus {
  border-color: var(--c-violet);
  box-shadow: 0 0 0 4px rgba(108,99,255,.18);
  outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--c-pink);
  box-shadow: 0 0 0 4px rgba(255,79,163,.18);
}
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--c-ink-soft); margin: 0; }
.form-note a { color: var(--c-violet); }
.form-status { font-weight: 600; margin: 0; min-height: 1.2em; }
.form-status[data-state="ok"]   { color: #2a7a3f; }
.form-status[data-state="err"]  { color: var(--c-pink); }

.contact-side {
  background: var(--c-ink); color: var(--c-bg);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  display: grid; gap: 14px; align-content: start;
}
.contact-eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-lime); margin: 0; font-weight: 700; }
.contact-mail { font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--c-bg); text-decoration: none; word-break: break-all; }
.contact-mail:hover { color: var(--c-pink); }
.contact-where { margin: 14px 0 0; font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(247,241,232,.65); }
.socials { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.socials a { color: var(--c-bg); text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgba(247,241,232,.18); display: flex; justify-content: space-between; align-items: center; }
.socials a::after { content: "→"; color: var(--c-lime); transition: transform var(--t-fast); }
.socials a:hover::after { transform: translateX(6px); }

/* ======================= FOOTER ======================= */
.site-footer { background: var(--c-paper); border-top: 1px solid var(--c-line); margin-top: 60px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 50px var(--pad-x); display: grid; gap: 24px; }
.footer__claim { font-family: var(--ff-display); font-size: clamp(1.2rem, 2.5vw, 1.8rem); margin: 0; line-height: 1.2; }
.footer__claim em { font-style: italic; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; border-bottom: 2px solid transparent; transition: border-color var(--t-fast); padding-bottom: 2px; }
.footer-links a:hover { border-bottom-color: var(--c-pink); }
.footer__copy { color: var(--c-ink-soft); font-size: .85rem; margin: 0; }

/* ======================= REVEAL ======================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--t-med), transform .8s var(--t-med); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ======================= LEGAL PAGES ======================= */
.legal { max-width: 880px; margin: 0 auto; padding: 60px var(--pad-x) 80px; }
.legal h1 { font-family: var(--ff-display); font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 24px; }
.legal h2 { font-family: var(--ff-display); font-size: 1.35rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--c-violet); }
.legal .back { display: inline-block; margin-bottom: 30px; text-decoration: none; }
.legal .back:hover { color: var(--c-pink); }

/* ======================= PORTRAIT (Linienzeichnung) ======================= */
/* === Portrait Photo (primary) === */
.portrait-photo {
  position: relative; margin: 0 auto;
  width: min(420px, 100%);
  display: block;
}
@media (min-width: 980px) {
  .portrait-photo { width: 100%; max-width: 440px; margin-left: auto; }
}
.portrait-photo__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
  background: var(--c-paper);
  isolation: isolate;
  box-shadow: 0 30px 60px -28px rgba(31,31,31,.45);
}
.portrait-photo__frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  display: block;
  filter: contrast(1.04) saturate(1.02);
  position: relative; z-index: 1;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.portrait-photo:hover .portrait-photo__frame img { transform: scale(1.02); }
/* Border ring (sharp, branded) */
.portrait-photo__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border: 1.5px solid var(--c-ink);
  border-radius: 6px;
  pointer-events: none;
}
.portrait-photo__shape {
  position: absolute; z-index: 0;
  pointer-events: none;
}
.portrait-photo__shape--pink {
  top: -16px; right: -16px;
  width: 38%; aspect-ratio: 1;
  background: var(--c-pink); opacity: .9;
  border-radius: 50%;
}
.portrait-photo__shape--lime {
  bottom: -20px; left: -16px;
  width: 30%; aspect-ratio: 1;
  background: var(--c-lime);
  border-radius: 50%;
}
.portrait-photo__shape--violet {
  display: none;
}
.portrait-photo__cap {
  margin-top: 18px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
  text-align: center;
  font-style: italic;
}
/* Fallback to SVG when img fails to load */
.portrait-photo--fallback .portrait-photo__frame img { display: none; }
.portrait-photo--fallback ~ .portrait-wrap { display: block; margin-top: 18px; }
.portrait-photo:not(.portrait-photo--fallback) ~ .portrait-wrap { display: none; }

.portrait-wrap {
  position: relative;
  width: min(320px, 80%);
  margin: 0 auto;
}
@media (min-width: 980px) {
  .portrait-wrap { width: 100%; max-width: 360px; margin-left: auto; }
}
.portrait-wrap::before {
  content: ""; position: absolute; inset: 18% -6% -4% -6%;
  background: var(--c-lime);
  border-radius: 50%;
  z-index: 0;
  opacity: .55;
}
.portrait-wrap::after {
  content: ""; position: absolute; inset: -4% 18% 22% -8%;
  border: 2px solid var(--c-pink);
  border-radius: 50%;
  z-index: 0;
}
.portrait { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.portrait path, .portrait line, .portrait circle, .portrait polyline {
  stroke: var(--c-ink); fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.portrait .skin { fill: var(--c-paper); stroke-width: 2.2; }
.portrait .hair { fill: var(--c-ink); stroke: none; }
.portrait .braid { stroke: var(--c-bg); stroke-width: 1.6; fill: none; opacity: .35; }
.portrait .feature { stroke-width: 2; }
.portrait .lip { stroke: var(--c-pink); stroke-width: 2.4; }
.portrait .blush { fill: var(--c-pink); stroke: none; opacity: .35; }
.portrait .vest { fill: var(--c-ink); stroke: none; }
.portrait .sleeve { fill: var(--c-pink); stroke: none; opacity: .85; }
.portrait .zip { stroke: var(--c-lime); stroke-width: 1.8; }
.portrait .accent-line { stroke: var(--c-violet); stroke-width: 2; opacity: .8; }

/* ======================= LASERKATZE PROMINENT ======================= */
.brand-laserkatze {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700;
  border: 1.5px solid var(--c-ink);
  padding: 6px 14px !important;
  border-radius: 999px;
  background: var(--c-lime);
  color: var(--c-ink) !important;
  box-shadow: 0 0 0 0 rgba(215,255,63,0);
  position: relative;
  transition: box-shadow var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.brand-laserkatze::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 var(--c-lime);
  animation: lk-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lk-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(215,255,63,.55); }
  50%     { box-shadow: 0 0 0 8px rgba(215,255,63,0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-laserkatze::before { animation: none; }
}
.brand-laserkatze:hover {
  background: var(--c-ink); color: var(--c-lime) !important;
  transform: translateY(-1px);
}
@media (min-width: 880px) {
  .primary-nav .brand-laserkatze { padding: 7px 16px !important; }
  .primary-nav .brand-laserkatze::after { display: none; }
}
body.dark .brand-laserkatze { background: var(--c-lime); color: var(--c-ink) !important; border-color: var(--c-lime); }
body.dark .brand-laserkatze:hover { background: var(--c-bg); color: var(--c-ink) !important; }

/* ======================= DARK / PROJECT PAGES ======================= */
body.dark {
  background: #0d0d0d;
  color: var(--c-bg);
  background-image:
    radial-gradient(900px 300px at 90% -10%, rgba(108,99,255,.16), transparent 70%),
    radial-gradient(700px 240px at -10% 110%, rgba(255,79,163,.14), transparent 70%);
}
body.dark .site-header {
  background: rgba(13,13,13,.85);
  border-bottom-color: rgba(255,255,255,.08);
}
body.dark .brand { color: var(--c-bg); }
body.dark .nav-toggle span { background: var(--c-bg); }
body.dark .primary-nav { background: #0d0d0d; border-bottom-color: rgba(255,255,255,.08); }
body.dark .primary-nav a { border-bottom-color: rgba(255,255,255,.08); color: var(--c-bg); }
body.dark .primary-nav a.nav-cta { background: var(--c-pink); color: var(--c-ink); }
body.dark .primary-nav a.nav-cta:hover { background: var(--c-lime); }
/* dark-mode brand-laserkatze rule moved to lime variant above */
body.dark .site-footer { background: #0d0d0d; border-top-color: rgba(255,255,255,.08); }
body.dark .footer__copy { color: rgba(247,241,232,.5); }
body.dark .btn--ghost { color: var(--c-bg); border-color: var(--c-bg); }
body.dark .btn--ghost:hover { background: var(--c-bg); color: var(--c-ink); }

/* ======================= PROJECT HERO ======================= */
.project { max-width: 1100px; margin: 0 auto; padding: 80px var(--pad-x) 100px; }

.project__hero {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 50px;
}
@media (min-width: 880px) {
  .project__hero { grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
}
.project__hero-text { min-width: 0; }
.project__subhead {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.15; letter-spacing: -.01em;
  margin: 0 0 22px;
  color: rgba(247,241,232,.92);
  font-weight: 600;
}
body:not(.dark) .project__subhead { color: var(--c-ink); }

.project__hero-mark {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lk-roundmark {
  width: 100%; max-width: 320px; height: auto;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.lk-roundmark--svg { color: var(--c-bg); }
body:not(.dark) .lk-roundmark--svg { color: var(--c-ink); }
img.lk-roundmark { filter: invert(1) brightness(1.05); }
body:not(.dark) img.lk-roundmark { filter: none; }
.lk-roundmark--placeholder {
  display: none;
  width: min(280px, 80%); aspect-ratio: 1;
  border: 2.5px solid rgba(247,241,232,.85);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: .06em; text-align: center;
  color: rgba(247,241,232,.9);
  position: relative;
}
.lk-roundmark--placeholder::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(247,241,232,.3); border-radius: 50%;
}
.project__hero:hover .lk-roundmark { transform: rotate(-3deg) scale(1.02); }

.lk-tags { margin-top: 14px; margin-bottom: 8px; }
.lk-tags li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--c-bg); }


.project__back { display: inline-block; text-decoration: none; color: rgba(247,241,232,.7); margin-bottom: 30px; font-weight: 500; }
.project__back:hover { color: var(--c-lime); }
.project__kicker { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-pink); margin: 0 0 16px; font-weight: 700; }
.project__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: .98; letter-spacing: -.02em;
  margin: 0 0 24px;
}
.project__title em { font-style: italic; color: var(--c-pink); }
.project__lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 60ch; color: rgba(247,241,232,.85); margin: 0 0 40px; }
.project__grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-top: 60px; }
@media (min-width: 880px) { .project__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.project__body p { color: rgba(247,241,232,.85); margin: 0 0 1em; max-width: 60ch; }
.project__body h3 { font-family: var(--ff-display); font-size: 1.4rem; margin: 32px 0 12px; }

.project-cta {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--c-lime); color: var(--c-ink);
  padding: 18px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 1.1rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.project-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(215,255,63,.6); }
.project-cta--soon {
  background: transparent; border: 1.5px dashed rgba(247,241,232,.4); color: rgba(247,241,232,.65);
  cursor: not-allowed;
}

.project-meta {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.project-meta h4 { font-family: var(--ff-display); font-size: 1.05rem; margin: 0 0 14px; color: var(--c-lime); letter-spacing: .04em; }
.project-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.project-meta dt { color: rgba(247,241,232,.55); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.project-meta dd { margin: 0; color: var(--c-bg); }

.sbb-video {
  margin: 0 0 50px; padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.sbb-video video { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; background: #000; }
.sbb-video figcaption {
  padding: 14px 22px; font-size: .9rem; color: rgba(247,241,232,.7);
  background: rgba(255,255,255,.03); font-style: italic;
}

.project-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; margin-top: 50px;
}
.project-gallery__item {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.project-gallery__item--placeholder::after {
  content: "Bild folgt"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,241,232,.35); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase;
}

/* ======================= UTILS ======================= */
@media (max-width: 480px) {
  body { font-size: 14.5px; }
  .hero { padding-top: 40px; }
}