/* ==========================================================================
   fx.css — Effekt-Schicht des Flaggschiffs (konrad-griesser.de), lädt nach style.css
   Grundsätze: nur transform/opacity/translate/scale animieren (GPU), keine
   Bibliotheken, alles hinter prefers-reduced-motion abschaltbar.
   ========================================================================== */

/* ------------------------- Scroll-Fortschritt (oben) ---------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1100;
  background: linear-gradient(90deg, var(--color-red), #ff5b62);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------------------------------- HERO ---------------------------------- */
/* Gestaffelter Einstieg — reines CSS, kein Warten auf JS */
.hero-content > * {
  position: relative;
  z-index: 1;
  animation: fxHeroIn .9s var(--ease) both;
}
.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-content > :nth-child(5) { animation-delay: .32s; }
.hero-content > :nth-child(6) { animation-delay: .40s; }
@keyframes fxHeroIn { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* Feinschliff am Bestand: Eyebrow nicht über die volle Breite, Buttons nebeneinander */
.hero-content .eyebrow { align-self: flex-start; }
@media (min-width: 1200px) {
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { padding: 15px 24px; font-size: .96rem; }
}

/* Netzwerk-Canvas (wird von entwurf.js eingehängt) */
.hero-content > canvas.hero-net {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: fxFade 1.6s ease both;
}
@keyframes fxFade { from { opacity: 0; } to { opacity: 1; } }

/* Hervorhebungen in der H1: Linie zeichnet sich nach dem Einstieg */
.hero h1 em {
  background: linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,.34)) 0 97% / 0 2px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: fxEmLine .9s var(--ease) .9s forwards;
}
.hero h1 em + em, .hero h1 em:last-of-type { animation-delay: 1.25s; }
@keyframes fxEmLine { to { background-size: 100% 2px; } }

/* Diagonale Teilung statt harter Naht. Der schräge Dunkelverlauf (105deg) auf dem
   rechten Bild wirkte wie ein Schmutzschatten an der linken Bildkante — ersetzt durch
   einen gleichmäßigen, weichen Verlauf entlang der Kante. */
.hero-media { overflow: hidden; }
.hero-media::after { background: rgba(10,10,10,.08); }
@media (min-width: 901px) {
  .hero { --cut: 7vw; }
  .hero-content { clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
  .hero-media { margin-left: calc(var(--cut) * -1); }
  .hero-content::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: var(--cut);
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom right, transparent calc(50% - 3.5px), var(--color-red) calc(50% - 3px), var(--color-red) 50%, var(--color-red) 100%);
  }
  .hero-float-card { left: calc(var(--cut) + 24px); }
}
/* Links: Das Foto schimmerte zur Schräge hin durch das halbtransparente Overlay (wirkte wie ein
   milchiger Streifen zwischen Schwarz und Bild). Jetzt blendet es zur Kante hin ganz ins Schwarz aus. */
.hero-content--photo {
  background-image: linear-gradient(90deg, rgba(8,8,9,.9) 0%, rgba(8,8,9,.93) 40%, rgba(8,8,9,.985) 78%, #080809 100%), url("/assets/img/webdesigner-webdesignstudio-werbeagentur-webseite-sw.jpg");
}
/* Lichtkegel folgt der Maus (--sx/--sy aus entwurf.js) */
.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(460px circle at var(--sx, 30%) var(--sy, 40%), rgba(255,255,255,.07), transparent 65%);
  /* Lichtkegel vor der Schräge ausblenden, sonst wird er dort hart abgeschnitten */
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 85%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 85%);
}

/* Ken-Burns auf dem Hero-Bild */
.hero-media img { animation: fxKenBurns 26s ease-in-out infinite alternate; }
@keyframes fxKenBurns { from { scale: 1; } to { scale: 1.09; } }

/* Schwebende Karten: Parallax über --px/--py (entwurf.js) */
.hero-badge-top, .hero-float-card, .hero-ai {
  translate: calc(var(--px, 0) * var(--depth, 10px)) calc(var(--py, 0) * var(--depth, 10px));
  transition: translate .5s var(--ease);
  will-change: translate;
}
.hero-badge-top { --depth: 14px; }
.hero-float-card { --depth: -18px; }
.hero-ai { --depth: 26px; }

/* Pulsierender Status-Punkt */
.hero-badge-top .dot { position: relative; }
.hero-badge-top .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #17c964;
  animation: fxPing 2s ease-out infinite;
}
@keyframes fxPing { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* KI-Suchzeile mit Tipp-Effekt */
.hero-ai {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 66px;
  width: min(390px, calc(100% - 36px));
  padding: 16px 18px 18px;
  border-radius: var(--radius-md);
  background: rgba(10,10,10,.58);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.hero-ai-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
  margin-bottom: 11px;
}
.hero-ai-spark {
  width: 8px; height: 8px;
  flex-shrink: 0;
  background: var(--color-red);
  rotate: 45deg;
  border-radius: 2px;
  animation: fxSpark 2.4s ease-in-out infinite;
}
@keyframes fxSpark { 50% { scale: .55; opacity: .6; } }
.hero-ai-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: var(--color-ink);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.hero-ai-bar svg { color: var(--color-red); flex-shrink: 0; }
.hero-ai-label em { font-style: normal; color: #ff5b62; }
.hero-ai-bar { padding-right: 5px; transition: box-shadow .3s var(--ease); }
.hero-ai-bar:focus-within { box-shadow: 0 0 0 3px rgba(228,15,26,.45); }
.hero-ai-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--color-ink);
}
.hero-ai-input::placeholder { color: var(--color-ink); opacity: 1; }
.hero-ai-input:focus::placeholder { opacity: .35; }
.hero-ai-go {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-red);
  transition: scale .25s var(--ease), background .25s ease;
}
.hero-ai-bar .hero-ai-go svg { color: #fff; }
.hero-ai-go:hover { scale: 1.1; background: var(--color-red-dark); }
.hero-ai-hint { margin-top: 10px; font-size: .74rem; color: rgba(255,255,255,.6); }
.hero-ai-result { margin-top: 12px; animation: fxHeroIn .6s var(--ease) both; }
.hero-ai-result p { font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.hero-ai-result strong { color: #fff; }
.hero-ai.has-result .hero-ai-hint { display: none; }
@media (max-width: 900px) { .hero-ai { display: none; } }

/* ------------------------------- BUTTONS ---------------------------------- */
/* Magnetisch (--bx/--by aus entwurf.js) + Lichtreflex */
.btn { translate: var(--bx, 0) var(--by, 0); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), translate .3s var(--ease); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(330%) skewX(-18deg); transition: transform .8s var(--ease); }

/* ------------------------------- TRUSTBAR --------------------------------- */
.trustbar { position: relative; overflow: hidden; }
.trustbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 38%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
  animation: fxSweep 7s linear infinite;
}
@keyframes fxSweep { from { transform: translateX(-100%); } to { transform: translateX(365%); } }
@media (min-width: 901px) {
  .trustbar-item + .trustbar-item { border-left: 1px solid rgba(255,255,255,.09); }
}

/* --------------------- GESTAFFELTES EINBLENDEN DER KARTEN ------------------ */
/* Läuft über `translate` statt `transform`, damit transform für Tilt frei bleibt */
.fx-stagger > .reveal { transform: none; }
.fx-stagger > .reveal.is-visible { animation: fxCardIn .8s var(--ease) both; }
.fx-stagger > .reveal:nth-child(4n+2), .portfolio-grid.fx-stagger > .reveal:nth-child(3n+2), .testi-grid.fx-stagger > .reveal:nth-child(3n+2) { animation-delay: .09s; }
.fx-stagger > .reveal:nth-child(4n+3), .portfolio-grid.fx-stagger > .reveal:nth-child(3n+3), .testi-grid.fx-stagger > .reveal:nth-child(3n+3) { animation-delay: .18s; }
.fx-stagger > .reveal:nth-child(4n+4) { animation-delay: .27s; }
.portfolio-grid.fx-stagger > .reveal:nth-child(3n+1), .testi-grid.fx-stagger > .reveal:nth-child(3n+1) { animation-delay: 0s; }
@keyframes fxCardIn { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }

/* ------------------------- 3D-TILT + LICHTKEGEL --------------------------- */
.fx-tilt > * { position: relative; isolation: isolate; }
.fx-tilt > *::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(228,15,26,.11), transparent 62%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.portfolio-grid.fx-tilt > *::before {
  z-index: 1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.2), transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .fx-tilt > *, .fx-tilt > .reveal.is-visible {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
    transition: transform .22s ease-out, box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  .fx-tilt > *:hover, .fx-tilt > .reveal.is-visible:hover { --ty: -6px; box-shadow: var(--shadow-md); }
  .fx-tilt > *:hover::before { opacity: 1; }
}

/* Feinschliff am Bestand: lange Wörter („Suchmaschinenoptimierung“) verbreitern sonst einzelne Spalten */
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

/* Service-Karten: Icon füllt sich, Link rückt vor */
.service-icon { transition: background .3s var(--ease), transform .3s var(--ease); }
.service-icon svg { transition: stroke .3s var(--ease); }
.service-icon svg * { transition: stroke-dashoffset 1.2s var(--ease) .25s; }
.service-card:hover .service-icon { background: var(--color-red); transform: scale(1.06) rotate(-4deg); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card .card-link { transition: translate .3s var(--ease); }
.service-card:hover .card-link { translate: 5px 0; }

/* ----------------------------- ABLAUF-SCHIENE ----------------------------- */
/* --p (0–1) setzt entwurf.js aus der Scroll-Position */
.process-rail {
  position: relative;
  height: 2px;
  margin: 0 0 34px;
  background: var(--color-line);
}
.process-rail-fill {
  position: absolute;
  inset: 0;
  background: var(--color-red);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.process-rail b {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-line);
  transition: background .3s ease, border-color .3s ease, scale .4s var(--ease);
}
.process-rail b:nth-of-type(1) { left: 12.5%; }
.process-rail b:nth-of-type(2) { left: 37.5%; }
.process-rail b:nth-of-type(3) { left: 62.5%; }
.process-rail b:nth-of-type(4) { left: 87.5%; }
.process-rail b.is-on { background: var(--color-red); border-color: var(--color-red); scale: 1.25; }
@media (max-width: 1100px) { .process-rail { display: none; } }
.process-card { transition: background .5s var(--ease), translate .5s var(--ease); }
.process-card:nth-child(2) { background: var(--color-ink); }
.process-card:nth-child(2) .step-num { color: rgba(255,255,255,.12); }
.process-card:nth-child(2) p { color: rgba(255,255,255,.65); }
.process-card.is-current, .process-card.is-current:nth-child(2) { background: var(--color-red); translate: 0 -8px; }
.process-card.is-current .step-num { color: rgba(255,255,255,.25); }
.process-card.is-current p { color: rgba(255,255,255,.88); }
.process-card .step-num { transition: transform .45s var(--ease), color .45s var(--ease); transform-origin: 100% 0; }
.process-card:hover .step-num { transform: scale(1.35); color: rgba(255,255,255,.3); }

.process-card h3 { padding-right: 58px; }

/* ------------------------------ WARUM-BLOCK ------------------------------- */
.why-item .icn { transition: background .3s var(--ease), rotate .4s var(--ease), scale .3s var(--ease); }
.why-item:hover .icn { background: var(--color-red); rotate: -6deg; scale: 1.08; }
.why-item h4 { transition: translate .3s var(--ease); }
.why-item:hover h4 { translate: 4px 0; }
.why-media img { transition: scale 1.2s var(--ease); }
.why-media:hover img { scale: 1.04; }

/* -------------------------- REFERENZEN: CURSOR ---------------------------- */
.cursor-pill {
  position: fixed;
  top: 0; left: 0;
  z-index: 1200;
  width: 88px; height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  pointer-events: none;
  scale: 0;
  opacity: 0;
  transition: scale .35s var(--ease), opacity .25s ease;
  will-change: transform;
}
.cursor-pill.is-active { scale: 1; opacity: 1; }
.portfolio-card .overlay h3 { transition: translate .4s var(--ease); }
.portfolio-card:hover .overlay h3 { translate: 0 -4px; }

/* ------------------------------ KUNDENSTIMMEN ----------------------------- */
.testi-card { position: relative; overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.testi-card::after {
  content: "“";
  position: absolute;
  top: -18px; right: 14px;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--color-red-soft);
  pointer-events: none;
  transition: translate .5s var(--ease), color .3s ease;
}
.testi-card > * { position: relative; z-index: 1; }
.testi-card:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.testi-card:hover::after { translate: 0 8px; color: #fbd5d3; }

/* ------------------------------- ORTE-CHIPS ------------------------------- */
.areas-chips.is-visible a { animation: fxChipIn .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 38ms); }
@keyframes fxChipIn { from { opacity: 0; scale: .8; translate: 0 10px; } to { opacity: 1; scale: 1; translate: 0 0; } }

/* ---------------------------------- FAQ ----------------------------------- */
.faq-item { transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item:hover, .faq-item.is-open { border-color: rgba(228,15,26,.35); }

/* ------------------------------- FINAL CTA -------------------------------- */
.cta-final::before { animation: fxFloat 9s ease-in-out infinite alternate; }
@keyframes fxFloat { to { transform: translate(-40px, 50px) scale(1.15); } }
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.2), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.cta-final:hover::after { opacity: 1; }

/* ---------------------- H2: Wörter schieben sich hoch ---------------------- */
.fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.fx-words .w > span { display: inline-block; translate: 0 110%; transition: translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .1s); }
.fx-words.is-in .w > span { translate: 0 0; }

/* ------------------------------- STATEMENT -------------------------------- */
.statement {
  background: var(--color-ink);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  left: -20vw; top: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,15,26,.2), transparent 62%);
  pointer-events: none;
}
.statement-text {
  position: relative;
  max-width: 1100px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -.015em;
  color: #fff;
}
.statement-text em { font-style: normal; color: var(--color-red); }
.statement-text.is-split .w { opacity: .16; transition: opacity .5s ease; }
.statement-text.is-split .w.is-lit { opacity: 1; }

/* --------------------------------- RADAR ---------------------------------- */
/* Punkte kommen lagerichtig aus Koordinaten (Generator-Skript), Nahbereich gespreizt.
   --bd = negative Verzögerung, damit jeder Punkt genau dann aufblitzt, wenn der Strahl ihn trifft. */
.areas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.areas-radar { display: flex; justify-content: center; --radar-t: 6s; }
.radar-disc { position: relative; width: min(100%, 540px); aspect-ratio: 1; }
.radar-clip {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1d1d21 0%, var(--color-ink) 72%);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255,255,255,.08);
}
.radar-clip::before, .radar-clip::after { content: ""; position: absolute; background: rgba(255,255,255,.07); }
.radar-clip::before { left: var(--hx); top: 0; bottom: 0; width: 1px; }
.radar-clip::after { top: var(--hy); left: 0; right: 0; height: 1px; }
.radar-ring { position: absolute; left: var(--hx); top: var(--hy); translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.radar-ring:nth-child(1) { width: 26%; }
.radar-ring:nth-child(2) { width: 58%; }
.radar-ring:nth-child(3) { width: 96%; }
.radar-ring:nth-child(4) { width: 140%; }
/* Strahl dreht um Augsburg, nicht um die Scheibenmitte — deshalb übergroß und mit eigenem Drehpunkt */
.radar-sweep {
  position: absolute;
  left: var(--hx); top: var(--hy);
  width: 300%; height: 300%;
  margin: -150% 0 0 -150%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(228,15,26,.55), rgba(228,15,26,0) 20%, transparent 100%);
  animation: fxRadar var(--radar-t) linear infinite;
}
@keyframes fxRadar { to { transform: rotate(-360deg); } }
.radar-dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(255,255,255,.62);
  scale: 0;
  transition: scale .6s var(--ease) calc(var(--i) * 22ms + .2s), background .25s ease, box-shadow .25s ease;
}
.radar-dot.has-label { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: rgba(255,255,255,.9); }
.areas-radar.is-visible .radar-dot { scale: 1; }
/* größere Trefferfläche, ohne den Punkt zu vergrößern */
.radar-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.radar-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #ff5b62;
  opacity: 0;
  animation: fxBlip var(--radar-t) linear infinite;
  animation-delay: var(--bd, 0s);
}
@keyframes fxBlip { 0% { opacity: .95; transform: scale(1.35); } 16% { opacity: 0; transform: scale(.9); } 100% { opacity: 0; transform: scale(.9); } }
.areas-radar:not(.is-live) .radar-sweep, .areas-radar:not(.is-live) .radar-dot::before { animation-play-state: paused; }
.radar-dot.is-home { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--color-red); box-shadow: 0 0 0 5px rgba(228,15,26,.25); z-index: 2; }
.radar-dot.is-home::before { inset: 0; background: var(--color-red); animation: fxPing 2.2s ease-out infinite; animation-delay: 0s; }
.radar-dot i {
  position: absolute;
  left: 50%; top: 100%;
  translate: -50% 4px;
  font-style: normal;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  color: rgba(255,255,255,.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, color .25s ease;
}
.radar-dot.label-left i { left: auto; right: 100%; top: 50%; translate: -6px -50%; }
.radar-dot.label-right i { left: 100%; top: 50%; translate: 6px -50%; }
.radar-dot.label-top i { top: auto; bottom: 100%; translate: -50% -4px; }
.radar-dot.has-label i { opacity: 1; }
.radar-dot.is-home i { color: #fff; font-size: .76rem; translate: -50% 8px; }
.areas-radar.is-visible .radar-dot.is-hot, .areas-radar.is-visible .radar-dot:hover { background: #ff5b62; box-shadow: 0 0 0 5px rgba(228,15,26,.35); scale: 1.6; transition-delay: 0s; z-index: 3; }
.radar-dot.is-hot i, .radar-dot:hover i { opacity: 1; color: #fff; text-shadow: 0 0 6px #000, 0 0 2px #000; }
@media (max-width: 900px) {
  .areas-layout { grid-template-columns: 1fr; }
  .radar-disc { width: min(100%, 380px); }
  .radar-dot i { font-size: .56rem; }
}

::selection { background: var(--color-red); color: #fff; }

/* ------------------------------ UNTERSEITEN ------------------------------- */
/* Seitenkopf blendet gestaffelt ein (reines CSS) */
.page-hero-inner > *, .page-hero-media { animation: fxHeroIn .9s var(--ease) both; }
.page-hero-inner > :nth-child(2) { animation-delay: .08s; }
.page-hero-inner > :nth-child(3) { animation-delay: .16s; }
.page-hero-inner > :nth-child(4) { animation-delay: .24s; }
.page-hero-inner > :nth-child(n+5) { animation-delay: .32s; }
.page-hero-media { animation-delay: .2s; }
/* Elemente ohne .reveal: fx.js vergibt .fx-reveal und setzt .is-in, sobald sie ins Bild kommen */
.fx-reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.fx-reveal.is-in { opacity: 1; translate: 0 0; }
.project-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .7s var(--ease), translate .7s var(--ease); }

/* --------------------------- WENIGER BEWEGUNG ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero h1 em, .hero-media img, .hero-badge-top .dot::after, .hero-ai-spark, .trustbar::before, .fx-stagger > .reveal.is-visible,
  .areas-chips.is-visible a, .cta-final::before, .radar-sweep, .radar-dot::before { animation: none; }
  .fx-words .w > span { translate: none; transition: none; }
  .page-hero-inner > *, .page-hero-media { animation: none; }
  .fx-reveal { opacity: 1; translate: none; transition: none; }
  .radar-dot { scale: 1; transition: none; }
  .hero h1 em { background-size: 100% 2px; }
  .scroll-progress, .cursor-pill { display: none; }
  .btn, .hero-badge-top, .hero-float-card, .hero-ai { translate: none; }
}

/* ---------------------------- DESIGN-BEISPIELE ---------------------------- */
/* Übersicht der 20 Design-Studien (build/pages/designBeispiele.js) */
.studie-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 36px; }
.studie-filter button {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: #fff;
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-ink-soft);
  text-transform: capitalize;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.studie-filter button:hover { border-color: var(--color-ink); transform: translateY(-2px); }
.studie-filter button.is-active { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.studie-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.studie-grid > [hidden] { display: none; }
.studie-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.studie-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.studie-card-shot { container-type: size; position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--color-bg-alt); }
/* hoher Screenshot: fährt beim Hover von oben nach unten durch */
.studie-card-shot img { width: 100%; height: auto; transform: translateY(0); transition: transform .8s var(--ease); }
.studie-card:hover .studie-card-shot img, .studie-card:focus-visible .studie-card-shot img { transform: translateY(calc(-100% + 100cqh)); transition: transform 6s linear; }
.studie-card-nr {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10,10,10,.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.studie-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.studie-card-tags { display: flex; gap: 6px; }
.studie-card-tags span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--color-red); background: var(--color-red-soft); padding: 4px 9px; border-radius: 999px; }
.studie-card h3 { font-size: 1.2rem; }
.studie-card p { color: var(--color-muted); font-size: .92rem; line-height: 1.55; }
.studie-card-fits { font-size: .84rem !important; }
.studie-card-fits strong { color: var(--color-ink); }
.studie-card .card-link { margin-top: auto; padding-top: 6px; font-size: .88rem; font-weight: 700; color: var(--color-red); transition: translate .3s var(--ease); }
.studie-card:hover .card-link { translate: 5px 0; }
.studie-cta-tile {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: #fff;
}
.studie-cta-tile h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.studie-cta-tile p { margin-top: 8px; color: rgba(255,255,255,.72); max-width: 640px; line-height: 1.55; }
@media (max-width: 1100px) { .studie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .studie-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .studie-card:hover .studie-card-shot img { transform: none; } }
