/* ============================================================
   AT Germany — Components
   Buttons · Header · Hero · Bento · Timeline · Cards
   Marquee · FAQ · Form · Footer · Cursor
   ============================================================ */

@layer components {

  /* ════════════════════════════════════════════════════════
     PAGE LOADER (Hero-Reveal-Sequence)
     ════════════════════════════════════════════════════════ */
  .loader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: grid;
    place-items: center;
    background:
      radial-gradient(ellipse at center, var(--surface-200) 0%, var(--surface-100) 50%, var(--surface-0) 100%);
    will-change: opacity;
  }

  .loader.is-fading {
    pointer-events: none;
    animation: loader-fade 700ms var(--e-expo-out) forwards;
  }

  @keyframes loader-fade {
    0%   { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
  }

  .loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }

  .loader__mark {
    width: clamp(72px, 14vw, 128px);
    height: clamp(72px, 14vw, 128px);
    filter: drop-shadow(0 0 24px rgba(0, 172, 171, 0.4));
  }

  .loader__brand {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0;
    animation: loader-brand-in 0.6s var(--e-expo-out) 0.25s forwards;
  }

  .loader__bar {
    width: clamp(120px, 18vw, 180px);
    height: 2px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
  }

  .loader__bar span {
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    transform-origin: left center;
    transform: scaleX(0);
    animation: loader-bar 1.1s var(--e-expo-out) 0.1s forwards;
  }

  @keyframes loader-brand-in {
    to { opacity: 1; }
  }

  @keyframes loader-bar {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }

  /* ════════════════════════════════════════════════════════
     BUTTONS
     ════════════════════════════════════════════════════════ */
  .btn {
    --btn-pad-x: 1.5rem;
    --btn-pad-y: 0.875rem;
    --btn-bg: transparent;
    --btn-fg: var(--text-body);
    --btn-border: var(--border-default);
    --btn-radius: var(--radius-full);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-border);
    border-radius: var(--btn-radius);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition:
      background var(--d-base) var(--e-out),
      color var(--d-base) var(--e-out),
      border-color var(--d-base) var(--e-out),
      box-shadow var(--d-base) var(--e-out),
      transform var(--d-fast) var(--e-spring);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
  }

  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-cta);
    opacity: 0;
    transition: opacity var(--d-base) var(--e-out);
  }

  .btn:active { transform: scale(0.97); }
  .btn:disabled,
  .btn[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
  }

  /* Primary CTA — Magnetic */
  .btn--primary {
    --btn-bg: var(--brand-500);
    --btn-fg: var(--text-on-brand);
    --btn-border: var(--brand-500);
    box-shadow: var(--shadow-glow-soft);
  }

  .btn--primary:hover {
    --btn-bg: var(--brand-400);
    --btn-border: var(--brand-400);
    box-shadow: var(--shadow-glow-brand);
    transform: translateY(-2px);
  }

  .btn--primary::before {
    background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%);
  }

  .btn--primary:hover::before { opacity: 1; }

  /* Outline */
  .btn--outline {
    --btn-bg: rgba(0, 172, 171, 0.04);
    --btn-fg: var(--brand-300);
    --btn-border: var(--border-brand);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
  }

  .btn--outline:hover {
    --btn-bg: rgba(0, 172, 171, 0.12);
    --btn-fg: var(--brand-200);
    --btn-border: var(--brand-400);
    transform: translateY(-2px);
  }

  /* Ghost */
  .btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text-body);
    --btn-border: transparent;
  }

  .btn--ghost:hover {
    --btn-bg: var(--surface-glass);
    --btn-fg: var(--text-primary);
  }

  /* Sizes */
  .btn--lg {
    --btn-pad-x: 2rem;
    --btn-pad-y: 1.125rem;
    font-size: var(--fs-base);
  }

  .btn--sm {
    --btn-pad-x: 1rem;
    --btn-pad-y: 0.625rem;
    font-size: var(--fs-xs);
  }

  /* Button-Icon (arrow) */
  .btn__arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--d-base) var(--e-spring);
  }

  .btn:hover .btn__arrow {
    transform: translateX(4px);
  }

  .btn--magnetic {
    transition: transform var(--d-slow) var(--e-spring),
                box-shadow var(--d-base) var(--e-out),
                background var(--d-base) var(--e-out);
  }

  /* ════════════════════════════════════════════════════════
     HEADER
     ════════════════════════════════════════════════════════ */
  .header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: var(--z-header);
    height: var(--header-h-mobile);
    background: transparent;
    transition:
      background var(--d-base) var(--e-out),
      backdrop-filter var(--d-base) var(--e-out),
      box-shadow var(--d-base) var(--e-out),
      height var(--d-base) var(--e-out);
  }

  @media (min-width: 768px) {
    .header { height: var(--header-h-desktop); }
  }

  .header.is-scrolled {
    background: rgba(15, 29, 50, 0.78);
    backdrop-filter: blur(var(--blur-md)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--blur-md)) saturate(160%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  }

  .header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }

  .header__logo {
    display: inline-flex;
    align-items: center;
    transition: opacity var(--d-fast) var(--e-out);
  }

  .header__logo:hover { opacity: 0.82; }

  .header__logo img {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  @media (min-width: 768px) {
    .header__logo img { height: 38px; }
  }

  .header__nav {
    display: none;
    align-items: center;
    gap: clamp(1.25rem, 2vw, 2rem);
  }

  @media (min-width: 1024px) {
    .header__nav { display: flex; }
  }

  .header__link {
    position: relative;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-body);
    letter-spacing: 0.02em;
    padding-block: 6px;
    transition: color var(--d-fast) var(--e-out);
  }

  .header__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--brand-400);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--d-base) var(--e-expo-out);
  }

  .header__link:hover { color: var(--brand-300); }
  .header__link:hover::after,
  .header__link[aria-current]::after { transform: scaleX(1); }

  .header__cta {
    display: none;
  }

  @media (min-width: 1024px) {
    .header__cta { display: inline-flex; }
  }

  /* Hamburger */
  .header__hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
    transition: background var(--d-fast) var(--e-out);
  }

  @media (min-width: 1024px) {
    .header__hamburger { display: none; }
  }

  .header__hamburger:hover {
    background: var(--surface-glass);
  }

  .header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-body);
    border-radius: 1px;
    transition: transform var(--d-base) var(--e-spring),
                opacity var(--d-fast) var(--e-out);
  }

  .header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-header) - 1);
    background: rgba(5, 11, 23, 0.96);
    backdrop-filter: blur(var(--blur-lg)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(180%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-12) var(--space-6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--d-base) var(--e-out);
  }

  .mobile-menu[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__link {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    letter-spacing: var(--ls-tight);
    transition: color var(--d-fast) var(--e-out);
    opacity: 0;
    transform: translateY(20px);
  }

  .mobile-menu[data-open="true"] .mobile-menu__link {
    animation: menu-item-in 0.6s var(--e-expo-out) forwards;
  }

  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(1) { animation-delay: 0.08s; }
  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(2) { animation-delay: 0.14s; }
  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(3) { animation-delay: 0.20s; }
  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(4) { animation-delay: 0.26s; }
  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(5) { animation-delay: 0.32s; }
  .mobile-menu[data-open="true"] .mobile-menu__link:nth-child(6) { animation-delay: 0.38s; }

  .mobile-menu__link:hover { color: var(--brand-300); }

  /* ════════════════════════════════════════════════════════
     HERO
     ════════════════════════════════════════════════════════ */
  .hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding-top: var(--header-h-desktop);
    padding-block-end: var(--space-16);
    overflow: hidden;
    isolation: isolate;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      var(--gradient-hero-mesh),
      radial-gradient(ellipse at top, var(--surface-200) 0%, var(--surface-100) 60%);
  }

  .hero__3d {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
  }

  /* Mouse-parallax CSS variables (set by JS) */
  .hero__3d {
    --mx: 0;
    --my: 0;
  }

  .hero__3d .orb {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(60px);
    mix-blend-mode: screen;
    will-change: transform, translate;
    /* `translate` is a separate property from `transform` — Parallax does not collide with drift-keyframe transforms */
    translate: calc(var(--mx) * var(--p-strength, 24px)) calc(var(--my) * var(--p-strength, 24px));
    animation-play-state: paused;
  }

  body.is-revealed .hero__3d .orb { animation-play-state: running; }

  .hero__3d .orb--1 {
    width: clamp(380px, 50vw, 720px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(0, 200, 179, 0.62) 0%, rgba(0, 172, 171, 0.25) 35%, transparent 70%);
    top: 8%;
    left: 8%;
    --p-strength: 26px;
  }

  .hero__3d .orb--2 {
    width: clamp(320px, 42vw, 600px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(124, 229, 225, 0.45) 0%, rgba(0, 200, 179, 0.18) 40%, transparent 75%);
    top: 10%;
    right: 5%;
    --p-strength: 36px;
  }

  .hero__3d .orb--3 {
    width: clamp(260px, 36vw, 480px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(0, 172, 171, 0.55) 0%, rgba(0, 140, 139, 0.2) 40%, transparent 75%);
    bottom: 10%;
    left: 30%;
    --p-strength: 48px;
  }

  .hero__3d .orb--4 {
    width: clamp(220px, 28vw, 380px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(184, 241, 239, 0.35) 0%, rgba(0, 200, 179, 0.12) 50%, transparent 80%);
    bottom: 18%;
    right: 25%;
    --p-strength: 18px;
  }

  .hero__3d .orb--ring {
    width: clamp(320px, 44vw, 620px);
    aspect-ratio: 1;
    border: 1px solid rgba(0, 200, 179, 0.16);
    background: transparent;
    filter: blur(0.3px);
    top: 50%;
    left: 50%;
    /* Center via transform — keep parallax via translate */
    transform: translate(-50%, -50%);
    box-shadow:
      0 0 80px 4px rgba(0, 200, 179, 0.10) inset,
      0 0 120px 8px rgba(0, 172, 171, 0.06);
    mix-blend-mode: normal;
    --p-strength: 14px;
  }

  /* Drift animations always defined (paused until reveal) */
  .hero__3d .orb--1 { animation: orb-drift-1 24s ease-in-out infinite; }
  .hero__3d .orb--2 { animation: orb-drift-2 28s ease-in-out infinite; }
  .hero__3d .orb--3 { animation: orb-drift-3 22s ease-in-out infinite; }
  .hero__3d .orb--4 { animation: orb-drift-4 26s ease-in-out infinite; }
  .hero__3d .orb--ring { animation: ring-rotate 40s linear infinite; }

  @keyframes orb-drift-1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(80px, -50px, 0) scale(1.08); }
    66%      { transform: translate3d(-40px, 60px, 0) scale(0.94); }
  }
  @keyframes orb-drift-2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(-60px, 40px, 0) scale(0.96); }
    66%      { transform: translate3d(50px, -70px, 0) scale(1.06); }
  }
  @keyframes orb-drift-3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(70px, 30px, 0) scale(1.10); }
    66%      { transform: translate3d(-50px, -40px, 0) scale(0.92); }
  }
  @keyframes orb-drift-4 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(-60px, 50px, 0) scale(1.05); }
  }
  @keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
  }

  /* SVG flow-lines */
  .hero__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s var(--e-expo-out) 1.0s;
  }

  body.is-revealed .hero__lines { opacity: 0.55; }

  .hero__line {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
  }

  body.is-revealed .hero__line--1 { animation: line-draw 3.5s var(--e-expo-out) 1.2s forwards, line-flow 12s ease-in-out 4.5s infinite; }
  body.is-revealed .hero__line--2 { animation: line-draw 4.2s var(--e-expo-out) 1.6s forwards, line-flow 14s ease-in-out 6s infinite; }
  body.is-revealed .hero__line--3 { animation: line-draw 5.0s var(--e-expo-out) 2.0s forwards, line-flow 16s ease-in-out 7.5s infinite; }

  @keyframes line-draw {
    to { stroke-dashoffset: 0; }
  }

  @keyframes line-flow {
    0%, 100% { stroke-dashoffset: 0; }
    50%      { stroke-dashoffset: -200; }
  }

  /* Subtle noise overlay for film/depth feel */
  .hero__noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    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'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
    mix-blend-mode: overlay;
  }

  .hero__vignette {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(ellipse 55% 50% at center, transparent 0%, rgba(15, 29, 50, 0.20) 45%, rgba(15, 29, 50, 0.60) 75%, var(--surface-100) 100%);
  }

  .hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
      linear-gradient(rgba(0, 172, 171, 0.16) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 172, 171, 0.16) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
    padding-block: var(--space-12);
  }

  .hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 8px 18px;
    border: 1px solid var(--border-brand);
    border-radius: var(--radius-full);
    background: rgba(0, 172, 171, 0.06);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wider);
    color: var(--brand-300);
    text-transform: uppercase;
  }

  .hero__label-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--brand-400);
    box-shadow: 0 0 12px var(--brand-400);
    animation: pulse-dot 2.4s var(--e-ease) infinite;
  }

  .hero__title {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: var(--fw-bold);
    line-height: 0.96;
    letter-spacing: -0.045em;
    color: var(--text-primary);
    max-width: 16ch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero__title .line {
    display: block;
    overflow: hidden;
    padding-block: 0.06em;
    margin-block: -0.04em;
    white-space: nowrap;
  }

  .hero__title .word {
    display: inline-block;
    overflow: hidden;
    padding-block: 0.08em;
    margin-block: -0.08em;
  }

  .hero__title .word__inner {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
  }

  .hero__title .accent {
    background: var(--gradient-text-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
  }

  .hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    max-width: 52ch;
  }

  .hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-2);
    justify-content: center;
  }

  .hero__subnote {
    font-size: var(--fs-sm);
    color: var(--brand-300);
    margin-top: var(--space-2);
    opacity: 0.85;
  }

  .hero__scroll-hint {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    pointer-events: none;
    animation: float-y 2.4s var(--e-ease) infinite;
  }

  .hero__scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--brand-400) 0%, transparent 100%);
  }

  /* ════════════════════════════════════════════════════════
     TRUST BAR (Marquee)
     ════════════════════════════════════════════════════════ */
  .trust-bar {
    padding-block: var(--space-8);
    background: var(--surface-0);
    border-block: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
  }

  .trust-bar__track {
    display: flex;
    width: max-content;
    gap: var(--space-12);
    animation: marquee 38s linear infinite;
    align-items: center;
  }

  .trust-bar:hover .trust-bar__track { animation-play-state: paused; }

  .trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    white-space: nowrap;
  }

  .trust-bar__item svg {
    width: 18px;
    height: 18px;
    color: var(--brand-400);
  }

  .trust-bar__item--accent {
    color: var(--brand-300);
    font-weight: var(--fw-semibold);
  }

  /* ════════════════════════════════════════════════════════
     BENTO GRID (Leistungen)
     ════════════════════════════════════════════════════════ */
  .bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-12);
  }

  .bento__card {
    --tilt-rx: 0deg;
    --tilt-ry: 0deg;
    --shine-x: 50%;
    --shine-y: 50%;
    grid-column: span 12;
    position: relative;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
    transition:
      transform var(--d-slow) var(--e-out),
      border-color var(--d-base) var(--e-out),
      box-shadow var(--d-base) var(--e-out);
    min-height: 220px;
  }

  .bento__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
      circle at var(--shine-x) var(--shine-y),
      rgba(0, 200, 179, 0.18) 0%,
      transparent 50%
    );
    opacity: 0;
    transition: opacity var(--d-base) var(--e-out);
  }

  .bento__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: opacity var(--d-base) var(--e-out);
  }

  .bento__card:hover {
    border-color: var(--border-brand);
    box-shadow: var(--shadow-lg), var(--shadow-glow-soft);
  }

  .bento__card:hover::before { opacity: 1; }
  .bento__card:hover::after { opacity: 1; }

  @media (min-width: 640px) {
    .bento__card { grid-column: span 6; }
  }

  @media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(12, 1fr); gap: var(--space-5); }
    /* Custom Bento Layout: 2 wide + 2 narrow */
    .bento__card:nth-child(1) { grid-column: span 7; }
    .bento__card:nth-child(2) { grid-column: span 5; }
    .bento__card:nth-child(3) { grid-column: span 5; }
    .bento__card:nth-child(4) { grid-column: span 7; }
  }

  .bento__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(0, 172, 171, 0.12);
    border: 1px solid var(--border-brand);
    color: var(--brand-300);
    margin-bottom: var(--space-5);
    transition:
      background var(--d-base) var(--e-out),
      color var(--d-base) var(--e-out),
      transform var(--d-base) var(--e-spring);
  }

  .bento__card:hover .bento__icon-wrap {
    background: var(--brand-500);
    color: var(--text-on-brand);
    transform: scale(1.05) rotate(-3deg);
  }

  .bento__icon {
    width: 24px;
    height: 24px;
  }

  .bento__title {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
  }

  .bento__text {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    max-width: 48ch;
  }

  .bento__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--brand-300);
    transition: color var(--d-fast) var(--e-out), gap var(--d-base) var(--e-spring);
  }

  .bento__link:hover {
    color: var(--brand-200);
    gap: var(--space-3);
  }

  .bento__link svg {
    width: 14px;
    height: 14px;
  }

  /* ════════════════════════════════════════════════════════
     BRANCHEN BANNER
     ════════════════════════════════════════════════════════ */
  .branchen {
    padding-block: var(--space-16);
    text-align: center;
    background: var(--surface-200);
    position: relative;
    overflow: hidden;
  }

  .branchen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-mesh);
    opacity: 0.4;
  }

  .branchen__inner { position: relative; }

  .branchen__tag {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: var(--space-5);
    background: rgba(0, 172, 171, 0.12);
    border: 1px solid var(--border-brand);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--brand-300);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
  }

  .branchen__text {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-medium);
    line-height: var(--lh-snug);
    color: var(--text-body);
    max-width: 56ch;
    margin-inline: auto;
  }

  .branchen__text strong {
    color: var(--brand-300);
    font-weight: var(--fw-bold);
  }

  /* ════════════════════════════════════════════════════════
     VORTEILE — Split-Grid
     ════════════════════════════════════════════════════════ */
  .vorteile__groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-top: var(--space-10);
  }

  @media (min-width: 900px) {
    .vorteile__groups { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  }

  .vorteile__group {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
  }

  .vorteile__group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
    opacity: 0.6;
  }

  .vorteile__group-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    color: var(--brand-300);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
  }

  .vorteile__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .vorteil {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition:
      background var(--d-base) var(--e-out),
      border-color var(--d-base) var(--e-out),
      transform var(--d-base) var(--e-spring);
  }

  .vorteil:hover {
    background: rgba(0, 172, 171, 0.06);
    border-color: var(--border-brand);
    transform: translateX(4px);
  }

  .vorteil__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--brand-500);
    color: var(--text-on-brand);
    display: grid;
    place-items: center;
    margin-top: 2px;
    box-shadow: 0 0 0 4px rgba(0, 172, 171, 0.16);
  }

  .vorteil__check svg { width: 14px; height: 14px; }

  .vorteil__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .vorteil__title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
  }

  .vorteil__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
  }

  .vorteile__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-subtle);
  }

  .vorteile__sub-cta {
    font-size: var(--fs-sm);
    color: var(--text-muted);
  }

  .vorteile__sub-cta a {
    color: var(--brand-300);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--d-fast) var(--e-out);
  }

  .vorteile__sub-cta a:hover { color: var(--brand-200); }

  /* ════════════════════════════════════════════════════════
     PROCESS — Sticky Timeline
     ════════════════════════════════════════════════════════ */
  .process {
    background: var(--surface-100);
    position: relative;
  }

  .process__timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    max-width: 880px;
    margin-inline: auto;
    position: relative;
  }

  .process__timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-brand) 12%, var(--border-brand) 88%, transparent);
  }

  @media (min-width: 768px) {
    .process__timeline::before { left: 32px; }
  }

  .process__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-5);
    align-items: start;
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    position: relative;
    transition:
      background var(--d-base) var(--e-out),
      border-color var(--d-base) var(--e-out),
      transform var(--d-base) var(--e-out);
  }

  @media (min-width: 768px) {
    .process__step { grid-template-columns: 72px 1fr; padding: var(--space-6) var(--space-8); }
  }

  .process__step:hover,
  .process__step.is-active {
    background: rgba(0, 172, 171, 0.04);
    border-color: var(--border-brand);
  }

  .process__num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--surface-200);
    border: 1px solid var(--border-default);
    font-family: var(--font-mono);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--brand-300);
    z-index: 1;
    transition:
      background var(--d-base) var(--e-out),
      color var(--d-base) var(--e-out),
      border-color var(--d-base) var(--e-out),
      transform var(--d-base) var(--e-spring),
      box-shadow var(--d-base) var(--e-out);
  }

  @media (min-width: 768px) {
    .process__num { width: 56px; height: 56px; font-size: var(--fs-lg); }
  }

  .process__step:hover .process__num,
  .process__step.is-active .process__num {
    background: var(--brand-500);
    color: var(--text-on-brand);
    border-color: var(--brand-500);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-brand);
  }

  .process__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
  }

  .process__text {
    font-size: var(--fs-base);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    max-width: 60ch;
  }

  /* ════════════════════════════════════════════════════════
     KPI / STATS
     ════════════════════════════════════════════════════════ */
  .stats {
    padding-block: var(--space-16);
    background: var(--surface-200);
    position: relative;
    overflow: hidden;
  }

  .stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-mesh);
    opacity: 0.35;
  }

  .stats__inner { position: relative; }

  .stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-10);
    max-width: 980px;
    margin-inline: auto;
  }

  @media (min-width: 640px) {
    .stats__grid              { grid-template-columns: repeat(2, 1fr); }
    .stats__grid--three       { grid-template-columns: repeat(3, 1fr); }
  }

  @media (min-width: 768px) {
    .stats__grid              { grid-template-columns: repeat(4, 1fr); }
    .stats__grid--three       { grid-template-columns: repeat(3, 1fr); }
  }

  .stat {
    text-align: center;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
  }

  .stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    line-height: 1;
    letter-spacing: var(--ls-tighter);
    background: var(--gradient-text-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
  }

  .stat__value--static { opacity: 1 !important; }

  .stat__suffix {
    font-size: 0.5em;
    margin-left: 0.05em;
  }

  .stat__label {
    display: block;
    margin-top: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: var(--lh-snug);
  }

  /* ════════════════════════════════════════════════════════
     ABOUT / ÜBER UNS
     ════════════════════════════════════════════════════════ */
  .about {
    background: var(--surface-100);
  }

  .about__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
    margin-top: var(--space-10);
  }

  @media (min-width: 900px) {
    .about__layout { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); }
  }

  .about__copy p {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-5);
  }

  .about__highlight {
    position: relative;
    padding: var(--space-6) var(--space-8);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(0, 172, 171, 0.10), rgba(0, 172, 171, 0.02));
    border: 1px solid var(--border-brand);
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-style: italic;
    line-height: var(--lh-snug);
    color: var(--text-primary);
    overflow: hidden;
  }

  .about__highlight::before {
    content: "„";
    position: absolute;
    top: -16px;
    left: 16px;
    font-size: 6rem;
    line-height: 1;
    color: var(--brand-500);
    opacity: 0.25;
    font-family: var(--font-display);
  }

  .about__subnote {
    margin-top: var(--space-5);
    font-size: var(--fs-sm);
    color: var(--text-muted);
  }

  .about__subnote a {
    color: var(--brand-300);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ════════════════════════════════════════════════════════
     TESTIMONIALS — Marquee mit 3D-Tilt Cards
     ════════════════════════════════════════════════════════ */
  .testimonials {
    background: var(--surface-200);
    overflow: hidden;
  }

  .testimonials__marquee {
    margin-top: var(--space-10);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  }

  .testimonials__track {
    display: flex;
    gap: var(--space-6);
    width: max-content;
    animation: marquee 60s linear infinite;
  }

  .testimonials__marquee:hover .testimonials__track {
    animation-play-state: paused;
  }

  .testimonial {
    --tilt-rx: 0deg;
    --tilt-ry: 0deg;
    flex-shrink: 0;
    width: min(420px, 88vw);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry));
    transition:
      transform var(--d-slow) var(--e-out),
      border-color var(--d-base) var(--e-out);
  }

  .testimonial:hover {
    border-color: var(--border-brand);
  }

  .testimonial__stars {
    display: flex;
    gap: 2px;
    color: var(--brand-400);
    margin-bottom: var(--space-4);
  }

  .testimonial__stars svg { width: 16px; height: 16px; }

  .testimonial__quote {
    font-size: var(--fs-lg);
    line-height: var(--lh-relaxed);
    color: var(--text-body);
    margin-bottom: var(--space-5);
  }

  .testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
  }

  .testimonial__name {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    font-size: var(--fs-sm);
  }

  .testimonial__role {
    font-size: var(--fs-xs);
    color: var(--text-muted);
  }

  /* ════════════════════════════════════════════════════════
     FAQ — Accordion
     ════════════════════════════════════════════════════════ */
  .faq__list {
    max-width: 880px;
    margin: var(--space-10) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .faq__item {
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition:
      background var(--d-base) var(--e-out),
      border-color var(--d-base) var(--e-out);
  }

  .faq__item[open] {
    background: rgba(0, 172, 171, 0.04);
    border-color: var(--border-brand);
  }

  .faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    transition: color var(--d-fast) var(--e-out);
  }

  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__item summary:hover { color: var(--brand-300); }

  .faq__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-full);
    background: rgba(0, 172, 171, 0.10);
    color: var(--brand-300);
    transition: transform var(--d-base) var(--e-spring);
  }

  .faq__item[open] .faq__icon {
    transform: rotate(45deg);
    background: var(--brand-500);
    color: var(--text-on-brand);
  }

  .faq__icon svg { width: 14px; height: 14px; }

  .faq__body {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--text-secondary);
    font-size: var(--fs-base);
    line-height: var(--lh-relaxed);
  }

  .faq__body a {
    color: var(--brand-300);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ════════════════════════════════════════════════════════
     CONTACT FORM — Floating Labels
     ════════════════════════════════════════════════════════ */
  .contact {
    background: var(--surface-100);
    position: relative;
  }

  .contact__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-top: var(--space-10);
  }

  @media (min-width: 900px) {
    .contact__layout { grid-template-columns: 1fr 1.4fr; align-items: start; gap: var(--space-12); }
  }

  .contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
  }

  .contact__info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(0, 172, 171, 0.10);
    color: var(--brand-300);
    display: grid;
    place-items: center;
  }

  .contact__info-icon svg { width: 18px; height: 18px; }

  .contact__info-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .contact__info-value {
    font-size: var(--fs-base);
    color: var(--text-primary);
    font-weight: var(--fw-medium);
  }

  .contact__info-value a {
    color: inherit;
    transition: color var(--d-fast) var(--e-out);
  }

  .contact__info-value a:hover { color: var(--brand-300); }

  .contact__form {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(var(--blur-sm));
    -webkit-backdrop-filter: blur(var(--blur-sm));
    box-shadow: var(--shadow-md);
  }

  .field {
    position: relative;
    margin-bottom: var(--space-5);
  }

  .field__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .field input,
  .field textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.625rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    transition:
      border-color var(--d-base) var(--e-out),
      background var(--d-base) var(--e-out),
      box-shadow var(--d-base) var(--e-out);
    outline: none;
  }

  .field textarea {
    min-height: 132px;
    resize: vertical;
    padding-top: 1.625rem;
  }

  .field input:focus,
  .field textarea:focus {
    border-color: var(--brand-400);
    background: rgba(0, 172, 171, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 172, 171, 0.12);
  }

  .field input::placeholder,
  .field textarea::placeholder {
    color: transparent;
  }

  .field label {
    position: absolute;
    top: 0.95rem;
    left: 1rem;
    pointer-events: none;
    font-size: var(--fs-base);
    color: var(--text-muted);
    transition:
      transform var(--d-base) var(--e-out),
      color var(--d-base) var(--e-out),
      font-size var(--d-base) var(--e-out);
    transform-origin: left top;
  }

  .field input:focus + label,
  .field input:not(:placeholder-shown) + label,
  .field textarea:focus + label,
  .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-9px) scale(0.78);
    color: var(--brand-300);
  }

  .field__error {
    display: none;
    margin-top: var(--space-2);
    font-size: var(--fs-xs);
    color: var(--semantic-danger);
  }

  .field[data-invalid="true"] input,
  .field[data-invalid="true"] textarea {
    border-color: var(--semantic-danger);
  }

  .field[data-invalid="true"] .field__error {
    display: block;
  }

  .form__submit {
    width: 100%;
    margin-top: var(--space-2);
  }

  .form__status {
    display: none;
    margin-top: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: var(--lh-snug);
  }

  .form__status[data-state="success"] {
    display: block;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.30);
    color: var(--semantic-success);
  }

  .form__status[data-state="error"] {
    display: block;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.30);
    color: var(--semantic-danger);
  }

  /* Loading state on submit */
  .form__submit[data-loading="true"] {
    pointer-events: none;
    opacity: 0.7;
  }

  .form__submit[data-loading="true"]::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: var(--radius-full);
    animation: spin 0.7s linear infinite;
    margin-left: var(--space-2);
  }

  /* ════════════════════════════════════════════════════════
     CTA SECTION
     ════════════════════════════════════════════════════════ */
  .cta-final {
    padding-block: clamp(4rem, 8vw, 8rem);
    background: var(--surface-0);
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  .cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-mesh);
    opacity: 0.6;
  }

  .cta-final__inner { position: relative; max-width: 720px; margin-inline: auto; }

  .cta-final__title {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
  }

  .cta-final__lead {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
  }

  .cta-final__ctas {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ════════════════════════════════════════════════════════
     FOOTER
     ════════════════════════════════════════════════════════ */
  .footer {
    padding-block: var(--space-12);
    background: var(--surface-0);
    border-top: 1px solid var(--border-subtle);
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  @media (min-width: 768px) {
    .footer__inner {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  .footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }

  .footer__logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
  }

  .footer__copy {
    font-size: var(--fs-xs);
    color: var(--text-muted);
  }

  .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    list-style: none;
  }

  .footer__links a {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    transition: color var(--d-fast) var(--e-out);
  }

  .footer__links a:hover { color: var(--brand-300); }

  /* ════════════════════════════════════════════════════════
     CUSTOM CURSOR (Desktop only)
     ════════════════════════════════════════════════════════ */
  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--brand-400);
    pointer-events: none;
    z-index: var(--z-cursor);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width var(--d-base) var(--e-out),
                height var(--d-base) var(--e-out),
                background var(--d-base) var(--e-out);
    will-change: transform;
    display: none;
  }

  .cursor--ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 172, 171, 0.6);
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: width var(--d-slow) var(--e-out),
                height var(--d-slow) var(--e-out),
                border-color var(--d-base) var(--e-out);
    will-change: transform;
    display: none;
  }

  @media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
    .cursor,
    .cursor--ring { display: block; }
    body:not(.no-cursor) { cursor: none; }
    body:not(.no-cursor) a,
    body:not(.no-cursor) button { cursor: none; }
  }

  .cursor.is-hover { width: 8px; height: 8px; }
  .cursor--ring.is-hover { width: 56px; height: 56px; border-color: var(--brand-300); }

  /* ════════════════════════════════════════════════════════
     LEGAL PAGES
     ════════════════════════════════════════════════════════ */
  .legal {
    padding-top: calc(var(--header-h-desktop) + var(--space-12));
    padding-bottom: var(--space-20);
    min-height: 70vh;
  }

  .legal__container {
    max-width: 760px;
    margin-inline: auto;
  }

  .legal h1 {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-6);
  }

  .legal h2 {
    font-size: var(--fs-xl);
    margin-top: var(--space-10);
    margin-bottom: var(--space-3);
  }

  .legal h3 {
    font-size: var(--fs-lg);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
  }

  .legal p {
    color: var(--text-secondary);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-3);
  }

  .legal a {
    color: var(--brand-300);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .legal a:hover { color: var(--brand-200); }

  .legal strong { color: var(--text-primary); }

}
