/* ==========================================================================
   webdesigndo – Stylesheet
   ========================================================================== */

@font-face { font-family: "Bague"; src: url(../fonts/bague-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bague"; src: url(../fonts/bague-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bague"; src: url(../fonts/bague-black.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --blue: #2b92ff;
  --indigo: #394be0;
  --violet: #7b39e0;
  --pink: #f900a3;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #2b92ff 0%, #7b39e0 50%, #f900a3 100%);
  --grad-wide: linear-gradient(100deg, #2b92ff, #7b39e0, #f900a3, #7b39e0, #2b92ff);

  --bg: #05061a;
  --bg-2: #0a0c2a;
  --fg: #eef0ff;
  --muted: #a4a9d6;
  --line: rgba(255, 255, 255, .1);
  --card: rgba(255, 255, 255, .04);
  --card-solid: #0d1033;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

body[data-theme="light"] {
  --bg: #f3f4fb;
  --bg-2: #ffffff;
  --fg: #0a0c2c;
  --muted: #50557f;
  --line: rgba(10, 12, 44, .1);
  --card: #ffffff;
  --card-solid: #ffffff;
  --shadow: 0 30px 70px -25px rgba(24, 32, 96, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Bague", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  transition: background-color .9s var(--ease), color .9s var(--ease);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 700; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.grad {
  background: var(--grad-wide);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 300% 0; } }

/* grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: #05061a; pointer-events: none;
  animation: introOut .9s var(--ease-io) 1.05s forwards;
}
.intro-logo { font-weight: 900; font-size: clamp(2rem, 6vw, 4rem); line-height: 1.2; display: flex; align-items: center; gap: .12em; overflow: hidden; padding: .1em .1em .2em; }
.intro-word { padding-bottom: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(110%); animation: introUp .8s var(--ease) .1s forwards; }
.intro-do { font-size: .52em; transform: scale(0); animation: introPop .6s cubic-bezier(.3, 1.6, .5, 1) .5s forwards; }
@keyframes introUp { to { transform: none; } }
@keyframes introPop { to { transform: scale(1); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html:not(.js) .intro { display: none; }

/* --------------------------------------------------------------------------
   Cursor + Progress
   -------------------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js.has-cursor { cursor: none; }
  html.js.has-cursor a, html.js.has-cursor button, html.js.has-cursor label, html.js.has-cursor .chips span { cursor: pointer; }
  html.js.has-cursor input, html.js.has-cursor textarea { cursor: text; }
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
  .cursor-ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(255, 255, 255, .55); mix-blend-mode: difference;
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s;
  }
  .cursor.is-hover .cursor-ring, .cursor.is-hover .cursor-dot { opacity: 0; }
  .cursor.is-label .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--grad); border-color: transparent; mix-blend-mode: normal; }
  .cursor.is-label .cursor-dot { opacity: 0; }
  .cursor-label { font-size: 13px; font-weight: 700; color: #fff; opacity: 0; transform: scale(.6); transition: .3s var(--ease); letter-spacing: .04em; text-transform: uppercase; }
  .cursor.is-label .cursor-label { opacity: 1; transform: none; }
  .cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: .6em; isolation: isolate;
  padding: 1em 1.7em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease), box-shadow .4s, color .3s, border-color .3s, background-color .3s;
}
.btn > span, .btn > .ico { position: relative; z-index: 1; }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: 0 10px 30px -8px rgba(123, 57, 224, .6); }
.btn-primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, #f900a3, #7b39e0, #2b92ff); opacity: 0; transition: opacity .4s; z-index: 0; }
.btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(249, 0, 163, .55); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { color: var(--fg); border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--fg); transform: scale(0); transition: transform .5s var(--ease); z-index: 0; }
.btn-ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn-ghost:hover::before { transform: scale(1); }
.btn-light { background: #fff; color: #1b1464; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .4); }
.btn-light:hover { box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .55); }
.btn-sm { padding: .75em 1.25em; font-size: .92rem; }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header.is-hidden { transform: translateY(-105%); }
.header-inner { height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; font-size: 1.45rem; letter-spacing: -.01em; }
.logo-word { padding-bottom: .12em; margin-bottom: -.12em; background: linear-gradient(90deg, #2b92ff, #a855f7, #f900a3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-do { font-size: .6em; transition: transform .6s var(--ease); }
/* gemeinsamer "do"-Kreis: nie gestaucht, Text optisch zentriert */
.logo-do, .intro-do, .footer-giant .do { display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; width: 1.8em; height: 1.8em; aspect-ratio: 1; padding: .02em 0 0; border-radius: 50%; background: var(--indigo); color: #fff; line-height: 1; letter-spacing: 0; }
.logo:hover .logo-do { transform: rotate(360deg) scale(1.1); }

.nav { position: relative; margin-inline: auto; display: flex; gap: 4px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: .92rem; color: var(--muted); transition: color .3s; }
.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a.is-active { color: #fff; }
.nav-pill { position: absolute; top: 6px; left: 0; height: calc(100% - 12px); width: 0; border-radius: 999px; background: var(--grad); opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; box-shadow: 0 6px 20px -6px rgba(123, 57, 224, .7); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-left: auto; background: var(--card); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 80% at 100% 0%, rgba(123, 57, 224, .45), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(43, 146, 255, .35), transparent 60%), #05061a;
  color: #eef0ff; clip-path: circle(0 at calc(100% - 46px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 900; line-height: 1.2; opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
.mobile-contact { display: flex; flex-direction: column; gap: 6px; color: #a4a9d6; }

/* --------------------------------------------------------------------------
   Generic section bits
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(90px, 13vw, 170px); }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 90px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero .eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34f5a0; box-shadow: 0 0 0 0 rgba(52, 245, 160, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 245, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 245, 160, 0); } }
.h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; }
.section-sub { margin-top: 22px; font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.section-head.center .section-sub { margin-inline: auto; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].in .wi { transform: none; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.88); }
.js [data-reveal="zoom"] { transform: scale(.7); transition-duration: .6s, .9s; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] img { clip-path: inset(100% 0 0 0); scale: 1.35; transition: clip-path 1.4s var(--ease-io), scale 1.8s var(--ease); }
.js [data-reveal="clip"].in img { clip-path: inset(0 0 0 0); scale: 1; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 30px); padding-bottom: 90px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; will-change: transform; }
.aurora .a1 { width: 70vmax; height: 70vmax; top: -35vmax; left: -20vmax; background: radial-gradient(circle, rgba(43, 146, 255, .38), transparent 62%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora .a2 { width: 60vmax; height: 60vmax; top: -10vmax; right: -30vmax; background: radial-gradient(circle, rgba(123, 57, 224, .45), transparent 62%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora .a3 { width: 55vmax; height: 55vmax; bottom: -35vmax; left: 20vmax; background: radial-gradient(circle, rgba(249, 0, 163, .3), transparent 62%); animation: drift3 20s ease-in-out infinite alternate; }
.aurora .a-mouse { width: 40vmax; height: 40vmax; left: 0; top: 0; margin: -20vmax 0 0 -20vmax; background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 60%); transform: translate(var(--mx, 50vw), var(--my, 50vh)); }
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, 22vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -18vh) scale(1.2); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to top, var(--bg), transparent); z-index: -1; pointer-events: none; }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.7rem, 6.2vw, 6.4rem); font-weight: 900; line-height: .98; letter-spacing: -.035em; margin-bottom: 28px; }
.hl { display: block; overflow: hidden; padding: .04em 0 .14em; margin-bottom: -.12em; }
.hl-in { display: block; }
.js .hl-in { transform: translateY(115%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d) + 1.05s); }
.js.is-ready .hl-in { transform: none; }
.js .hero-in { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d) + 1.05s); }
.js.is-ready .hero-in { opacity: 1; transform: none; }

.rotator { display: inline-grid; vertical-align: top; }
.rw { grid-area: 1 / 1; white-space: nowrap; background: var(--grad-wide); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
.rw .ch { display: inline-block; transform: translateY(100%) rotateX(-90deg); opacity: 0; transition: transform .7s var(--ease), opacity .5s; transition-delay: calc(var(--c) * 28ms); }
.rw.is-active .ch { transform: none; opacity: 1; }
.rw.is-leaving .ch { transform: translateY(-80%) rotateX(90deg); opacity: 0; transition-duration: .5s, .35s; }
html:not(.js) .rw:not(.is-active) { visibility: hidden; }

.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .ico { color: #34f5a0; }

.hero-visual { position: relative; perspective: 1400px; }
.device-wrap { --rx: 0deg; --ry: 0deg; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s linear; }
.device-glow { position: absolute; inset: 8% 6%; background: var(--grad); filter: blur(60px); opacity: .55; border-radius: 40px; transform: translateZ(-60px); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .8; transform: translateZ(-60px) scale(1.08); } }
.device { position: relative; border-radius: 22px; overflow: hidden; background: #1c0b40; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .15); }
.device-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar span { margin-left: 14px; flex: 1; max-width: 220px; padding: 3px 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-size: .72rem; color: #a4a9d6; }
.device-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.chip {
  --tx: 0px; --ty: 0px;
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-size: .86rem; font-weight: 700; white-space: nowrap; color: #fff;
  background: rgba(20, 22, 60, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  transform: translate3d(var(--tx), var(--ty), 60px);
}
.chip .ico { color: #7cc0ff; }
.chip-1 { top: -22px; right: 6%; animation: bob 5s ease-in-out infinite; }
.chip-2 { bottom: 16%; left: -34px; animation: bob 6s ease-in-out -2s infinite; }
.chip-3 { bottom: -22px; right: 14%; animation: bob 5.5s ease-in-out -1s infinite; }
.chip-2 .ico { color: #ff7ad1; }
.chip-3 .ico { color: #b892ff; }
@keyframes bob { 50% { margin-top: -10px; } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--muted); display: flex; justify-content: center; padding-top: 7px; }
.mouse span { width: 3px; height: 8px; border-radius: 3px; background: var(--fg); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   Ribbons (marquee)
   -------------------------------------------------------------------------- */
.ribbons { position: relative; padding: 70px 0; overflow: hidden; }
.ribbon { --skew: 0deg; overflow: hidden; white-space: nowrap; }
.ribbon-a { position: relative; z-index: 2; background: var(--grad); transform: rotate(-3deg); box-shadow: 0 20px 50px -20px rgba(123, 57, 224, .7); padding: 18px 0; margin-inline: -5vw; }
.ribbon-b { background: var(--bg-2); border-block: 1px solid var(--line); transform: rotate(2.2deg); margin: 6px -5vw 0; padding: 18px 0; }
.ribbon-track { display: inline-flex; align-items: center; gap: 34px; will-change: transform; }
.ribbon-track span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.01em; transform: skewX(var(--skew)); display: inline-block; }
.ribbon-track b { font-size: 1.4rem; display: inline-block; }
.ribbon-a .ribbon-track { color: #fff; }
.ribbon-a .ribbon-track b { color: rgba(255, 255, 255, .7); }
.ribbon-b .ribbon-track span { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }
.ribbon-b .ribbon-track span:nth-of-type(odd) { color: var(--fg); -webkit-text-stroke: 0; }
.ribbon-b .ribbon-track b { color: var(--violet); }

/* --------------------------------------------------------------------------
   Leistungen cards
   -------------------------------------------------------------------------- */
.zoom-scroll { transform-origin: 50% 0; will-change: transform; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); perspective: 1600px; }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; perspective: 1200px; }
.card-inner { position: relative; display: grid; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease-io); }
.card.is-flipped .card-inner { transform: rotateY(180deg); }
.face {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; padding: 18px 18px 26px; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.card:hover .face { border-color: rgba(123, 57, 224, .55); box-shadow: 0 30px 70px -30px rgba(123, 57, 224, .55); transition: transform .12s linear, border-color .4s, box-shadow .4s; }
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, .13), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .face::after { opacity: 1; }
.face.back { transform: rotateY(180deg) rotateX(var(--rx)) rotateY(var(--ry)); background: linear-gradient(150deg, #2b6fff, #6b2fd6 55%, #c3008a); color: #fff; justify-content: center; padding: 34px 30px; border-color: transparent; }
.face.back p { color: rgba(255, 255, 255, .88); font-size: 1rem; margin-bottom: 14px; }
.card-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 420 / 300; background: #ddd; }
.card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media video { transform: scale(1.06); }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: -30px 0 0 14px; position: relative; z-index: 1; border-radius: 16px; background: var(--grad); color: #fff; font-size: 1.4rem; box-shadow: 0 12px 26px -8px rgba(123, 57, 224, .8); }
.back .card-icon { margin: 0 0 18px; background: rgba(255, 255, 255, .18); box-shadow: none; }
.face h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; margin: 18px 14px 10px; }
.back h3 { margin: 0 0 14px; }
.card-tag { margin: 0 14px 22px; color: var(--muted); font-size: 1rem; flex: 1; }
.card-flip { align-self: flex-start; margin: 0 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; transition: background-color .3s, color .3s, border-color .3s; }
.card-flip:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.card-flip .ico { transition: transform .4s var(--ease); }
.card-flip:hover .ico { transform: rotate(90deg); }
.back .card-flip { margin: 8px 0 0; border-color: rgba(255, 255, 255, .5); color: #fff; }
.back .card-flip:hover { background: #fff; color: #3b1fa8; }
.back .card-flip .ico { transform: rotate(180deg); }
.back .card-flip:hover .ico { transform: rotate(180deg) translateX(4px); }

/* --------------------------------------------------------------------------
   Motto
   -------------------------------------------------------------------------- */
.motto { padding-block: 40px 60px; overflow: hidden; }
.motto-line { font-size: clamp(2.6rem, 9.5vw, 9.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; white-space: nowrap; text-align: center; will-change: transform; padding-bottom: .08em; }

/* --------------------------------------------------------------------------
   Service (sticky storytelling)
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 100px); }
.svc-media { position: sticky; top: calc(var(--header-h) + 6vh); align-self: start; }
.svc-frame { position: relative; aspect-ratio: 420 / 300; border-radius: var(--radius); overflow: hidden; background: #1a1d45; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.svc-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); filter: blur(6px); transition: opacity .8s var(--ease), transform 1.2s var(--ease), filter .8s; }
.svc-frame video.is-active { opacity: 1; transform: none; filter: none; }
.svc-count { position: absolute; left: 18px; bottom: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(5, 6, 26, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-weight: 900; font-size: 1rem; display: flex; align-items: baseline; }
.svc-count span:last-child { color: #a4a9d6; font-size: .8rem; }
.svc-num { display: inline-block; min-width: 1.4em; }
.svc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.svc-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: .92rem; font-weight: 700; overflow: hidden; transition: color .3s, border-color .3s; }
.svc-tabs button::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s; z-index: -1; }
.svc-tabs button { isolation: isolate; }
.svc-tabs button.is-active { color: #fff; border-color: transparent; }
.svc-tabs button.is-active::before { opacity: 1; }
.svc-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .2; transform: translateX(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.svc-step:first-child { min-height: 56vh; justify-content: flex-start; padding-top: 4vh; }
.svc-step.is-active { opacity: 1; transform: none; }
.svc-index { font-size: 1rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.svc-step h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 16px; }
.svc-step .lead { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
.svc-step p:not(.lead) { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-wrap { padding-block: 40px 20px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(40px, 6vw, 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff;
  background: linear-gradient(115deg, #1d4ed8, #6d28d9, #c026d3, #6d28d9, #1d4ed8); background-size: 300% 300%; animation: flow 14s ease infinite;
}
@keyframes flow { 50% { background-position: 100% 50%; } }
.cta-copy { max-width: 680px; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.025em; margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.cta-rings { position: absolute; right: -120px; top: 50%; z-index: -1; }
.cta-rings i { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); transform: translate(-50%, -50%); animation: ring 6s linear infinite; }
.cta-rings i:nth-child(1) { width: 300px; height: 300px; }
.cta-rings i:nth-child(2) { width: 520px; height: 520px; animation-delay: -2s; }
.cta-rings i:nth-child(3) { width: 740px; height: 740px; animation-delay: -4s; }
@keyframes ring { 0% { transform: translate(-50%, -50%) scale(.8); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; } }

/* --------------------------------------------------------------------------
   Referenzen
   -------------------------------------------------------------------------- */
.refs { overflow: hidden; padding-bottom: clamp(70px, 9vw, 130px); }
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); padding-block: 40px; }
.ref-col { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 28px); will-change: transform; }
.ref {
  --shift: 0px; --dur: 6s;
  position: relative; display: flex; flex-direction: column; aspect-ratio: .62; border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 10px 40px -12px rgba(24, 32, 96, .3), 0 0 0 1px rgba(10, 12, 44, .06);
}
.js .ref[data-reveal].in { transition: opacity .6s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease), filter .5s; }
.ref-bar { flex: none; display: flex; gap: 5px; align-items: center; height: 20px; padding: 0 10px; background: #eceef7; border-bottom: 1px solid rgba(10, 12, 44, .06); }
.ref-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.ref-bar i:nth-child(2) { background: #febc2e; }
.ref-bar i:nth-child(3) { background: #28c840; }
.ref-view { position: relative; flex: 1; overflow: hidden; }
.ref-view img { position: absolute; top: 0; left: 0; width: 100%; height: auto; transform: translate3d(0, 0, 0); transition: transform 1.4s var(--ease); will-change: transform; }
.ref:hover .ref-view img, .ref.is-playing .ref-view img { transform: translate3d(0, var(--shift), 0); transition: transform var(--dur) cubic-bezier(.45, .05, .55, .95); }
.ref-grid:hover .ref.in:not(:hover) { filter: saturate(.5) brightness(.92); opacity: .6; }
.ref.in:hover { transform: scale(1.06); z-index: 3; box-shadow: 0 40px 80px -20px rgba(24, 32, 96, .5), 0 0 0 2px var(--violet); }

/* --------------------------------------------------------------------------
   Ablauf
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps-line { position: absolute; left: 32px; right: 32px; top: 32px; height: 2px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step-dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card-solid); border: 1px solid var(--line); color: var(--muted); font-size: 1.5rem; margin-bottom: 26px; transition: background-color .5s, color .5s, box-shadow .5s, border-color .5s, transform .6s var(--ease); }
.step.is-on .step-dot { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 14px 30px -8px rgba(123, 57, 224, .7); transform: scale(1.08); }
.step-no { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.step h3 { font-size: 1.4rem; font-weight: 900; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; }
.process-note { margin-top: 56px; padding: 18px 26px; display: inline-block; border-radius: 18px; background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; max-width: 460px; }
.portrait { position: relative; margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 400 / 457; }
.portrait img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; will-change: transform; transition: filter .8s; }
.portrait-tint { position: absolute; inset: 0; background: var(--grad); mix-blend-mode: color; opacity: 0; transition: opacity .8s var(--ease); }
.portrait:hover .portrait-tint { opacity: .75; }
.portrait-frame { position: absolute; inset: 0; border-radius: 30px; border: 2px solid transparent; background: var(--grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); transform: translate(26px, 26px); }
.about-badge { position: absolute; right: -30px; bottom: 40px; padding: 18px 24px; border-radius: 22px; background: rgba(20, 22, 60, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); color: #fff; }
.about-badge strong { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-badge strong::after { content: "+"; }
.about-badge span { font-size: .85rem; color: #a4a9d6; }
.about-points { display: grid; gap: 30px; margin-top: 42px; }
.point { display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.point-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 1.4rem; color: #b892ff; transition: transform .5s var(--ease), background-color .4s, color .4s; }
.point:hover .point-icon { transform: rotate(-8deg) scale(1.08); background: var(--violet); color: #fff; }
.point h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.point p { color: var(--muted); font-size: 1rem; }
.point strong { color: var(--fg); font-weight: 700; background: linear-gradient(transparent 60%, rgba(123, 57, 224, .35) 60%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 34px 20px 0 0; }
.stat strong { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Words
   -------------------------------------------------------------------------- */
.words { padding-block: clamp(60px, 10vw, 140px); }
.words-text { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); font-size: clamp(2.6rem, 8vw, 7.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.02; text-align: center; }
.words-text span { display: inline-block; opacity: .1; filter: blur(var(--b, 0px)); transition: opacity .25s linear; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head .btn { margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; text-align: left; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 700; transition: color .3s; }
.faq-q:hover { color: #b892ff; }
.faq-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .4s, border-color .4s, color .4s; }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--grad); border-color: transparent; color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding-right: 60px; margin-bottom: 14px; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease); }
.faq-a p:last-child { margin-bottom: 28px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a p { opacity: 1; transform: none; transition-delay: .12s; }
.faq-a strong { color: var(--fg); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { padding-top: 40px; }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px);
  padding: clamp(28px, 5vw, 70px); border-radius: 40px; color: #eef0ff;
  background: radial-gradient(80% 90% at 100% 0%, rgba(123, 57, 224, .55), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(43, 146, 255, .4), transparent 60%), linear-gradient(160deg, #0b0f3a, #12093a);
  border: 1px solid rgba(255, 255, 255, .1);
  --fg: #eef0ff; --muted: #b3b8e3; --line: rgba(255, 255, 255, .14);
}
.contact-cards { display: grid; gap: 14px; margin-top: 36px; max-width: 420px; }
.contact-card { --bx: 0px; --by: 0px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 700; transition: background-color .3s, border-color .3s, transform .5s var(--ease); transform: translate(var(--bx), var(--by)); }
.js .contact-card[data-reveal]:not(.in) { transform: translateY(46px); }
.contact-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.contact-card small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); font-size: 1.25rem; color: #fff; flex: none; }

.form { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: rgba(5, 6, 26, .45); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--fg);
  font: inherit; font-size: 1rem; resize: vertical; transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: #8b6cff; background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(123, 57, 224, .25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: #b892ff; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5f8f; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: .85rem; color: var(--muted); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: .9rem; color: var(--muted); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chips label:hover span { border-color: rgba(255, 255, 255, .35); color: var(--fg); }
.chips input:checked + span { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.5; position: relative; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; }
.consent .box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line); color: transparent; transition: background-color .3s, border-color .3s, color .3s; }
.consent input:checked + .box { background: var(--grad); border-color: transparent; color: #fff; }
.consent input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent.is-invalid .box { border-color: #ff5f8f; }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; }
.btn-submit .spinner { position: absolute; z-index: 1; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0; animation: spin .8s linear infinite; }
.btn-submit.is-loading > span.lbl, .btn-submit.is-loading > .ico { opacity: 0; }
.btn-submit.is-loading .spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: #34f5a0; }
.form-status.err { color: #ff7aa2; }
.form.is-sent > *:not(.form-status) { display: none; }
.form.is-sent { place-content: center; text-align: center; min-height: 420px; }
.form.is-sent .form-status { font-size: 1.2rem; color: var(--fg); }
.sent-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); animation: pop .7s cubic-bezier(.3, 1.6, .5, 1); }
.sent-check svg { width: 42px; height: 42px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-claim { font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; max-width: 760px; }
.footer-giant { display: flex; align-items: center; justify-content: center; gap: .04em; margin-top: clamp(50px, 7vw, 90px); font-weight: 900; font-size: clamp(3rem, 14vw, 13.5rem); letter-spacing: -.05em; line-height: 1.2; user-select: none; }
.footer-giant span:first-child { padding-bottom: .14em; margin-bottom: -.14em; color: transparent; -webkit-text-stroke: 1.5px var(--line); background: var(--grad); -webkit-background-clip: text; background-clip: text; background-size: 100% 0%; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 1.4s var(--ease-io); }
.footer-giant.in span:first-child { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.footer-giant .do { font-size: .4em; transform: scale(0) rotate(-180deg); transition: transform 1s cubic-bezier(.3, 1.5, .5, 1) .6s; }
.footer-giant.in .do { transform: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 34px; margin-top: 30px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom nav a:hover { color: var(--fg); }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, color .3s, transform .5s var(--ease); }
.to-top .ico { transform: rotate(180deg); }
.to-top:hover { background: var(--fg); color: var(--bg); transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; font-weight: 900; margin: 40px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal h3 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 10px; }
.legal h4 { font-size: 1rem; font-weight: 700; margin: 22px 0 8px; }
.legal ul { color: var(--muted); padding-left: 1.2em; margin: 0 0 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-footer { padding-top: 0; }
.legal-footer .footer-bottom { margin-top: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; width: 100%; margin: 20px auto 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; max-width: calc(50% - 16px); justify-self: center; width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps-line { display: none; }
  .contact-panel { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .svc-media { top: 0; z-index: 2; padding: calc(var(--header-h) + 4px) var(--gutter) 14px; background: var(--bg); margin-inline: calc(var(--gutter) * -1); }
  .svc-media::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .svc-frame { max-width: 300px; margin-inline: auto; }
  .svc-tabs { justify-content: center; margin-top: 12px; }
  .svc-tabs button { padding: 7px 12px; font-size: .82rem; }
  .svc-step, .svc-step:first-child { min-height: 0; padding: 48px 0; justify-content: flex-start; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin-inline: auto; width: 82%; }
  .about-badge { right: -18px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; --radius: 22px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .chip { font-size: .74rem; padding: 7px 11px; }
  .chip-2 { left: -6px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 0; }
  .ribbons { padding: 50px 0; }
  .cta { border-radius: 28px; }
  .contact-panel { border-radius: 28px; padding: 22px 16px; }
  .form { padding: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .scroll-hint { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .hero-canvas { display: none; }
  .words-text span { opacity: 1 !important; filter: none !important; }
}
