/* Urapoint site. Brand: brand/urapoint-brand.html (Keystone). Light theme only, on purpose. */
@font-face { font-family: "Tomorrow"; font-weight: 600; font-display: swap; src: url("../fonts/tomorrow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Tomorrow"; font-weight: 700; font-display: swap; src: url("../fonts/tomorrow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Red Hat Text"; font-weight: 300 700; font-display: swap; src: url("../fonts/red-hat-text-latin-wght-normal.woff2") format("woff2"); }

:root {
  --fluss: #0F2E33;
  --bruecke: #2F6B6E;
  --punkt: #F5A524;
  --stein: #E9ECE8;
  --papier: #FFFFFF;
  --muted: #4B6266;
  --line: #D6DCDA;
  --on-dark-muted: #A9BFBD;
  --display: "Tomorrow", "Segoe UI", system-ui, sans-serif;
  --body: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--fluss); font: 400 1.0625rem/1.65 var(--body); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p, li { margin: 0; text-wrap: pretty; }
a { color: var(--bruecke); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--fluss); outline-offset: 3px; border-radius: 4px; }
/* Amber is 2:1 on Papier, so it marks focus only on Fluss surfaces */
.dark :focus-visible, .contact :focus-visible, .compare :focus-visible, .questions :focus-visible, .workday :focus-visible, .skip:focus-visible { outline-color: var(--punkt); }
::selection { background: var(--punkt); color: var(--fluss); }
html { accent-color: var(--bruecke); caret-color: var(--bruecke); scrollbar-color: #9DB0AE var(--stein); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--fluss); color: #fff; padding: 10px 14px; border-radius: 4px; z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons: "Editorial". Primary is a sharp block; secondary is a heading-font link on a rule. The amber keystone dot trails the label and steps forward on hover. */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 4px; background-color: var(--fluss); color: #fff; font: 600 1rem/1.2 var(--body); text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.btn::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--punkt); flex: none; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.btn:hover { background-color: var(--bruecke); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background-color: transparent; color: var(--fluss); padding-inline: 2px; font: 600 1.1rem/1.2 var(--display); background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: calc(100% - 24px) 2px; background-position: 2px calc(100% - 8px); }
.btn-ghost::after { width: 10px; height: 10px; }
.btn-ghost:hover { background-color: transparent; color: var(--bruecke); }
.btn-ghost:hover::after { transform: translateX(5px); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn-light { background-color: #fff; color: var(--fluss); }
.btn-light:hover { background-color: var(--stein); }
@media (prefers-reduced-motion: reduce) { .btn::after { transition: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { width: 150px; height: auto; }
.site-header nav { margin-left: auto; }
.site-header nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--fluss); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding-block: 6px; background: linear-gradient(var(--punkt), var(--punkt)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.site-header nav a:hover { background-size: 100% 2px; }
.langs { display: flex; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line); }
.langs a { font-weight: 600; font-size: .9rem; color: var(--fluss); text-decoration: none; padding: 8px 10px; border-radius: 4px; }
.langs a:hover { background: var(--stein); }
@media (max-width: 820px) {
  html { scroll-padding-top: 120px; }
  /* two rows stay (DESIGN.md), kept as short as the touch targets allow */
  .bar { flex-wrap: wrap; gap: 8px; min-height: 0; padding-top: 8px; }
  .langs { margin-left: auto; }
  .brand img { width: 120px; }
  .site-header nav { order: 3; flex: 1 0 100%; margin: 0 -20px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .site-header nav ul { gap: 18px; width: max-content; padding-inline: 20px; }
  .site-header nav a { display: block; padding-block: 7px; white-space: nowrap; }
}
@media (max-width: 400px) { .brand img { width: 104px; } .bar .btn-small { padding-inline: 14px; } .bar .btn-small::after { display: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 62vw; aspect-ratio: 1; max-width: 860px; border-radius: 50%; border: 56px solid var(--stein); border-bottom-color: transparent; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 0.9rem; color: var(--muted); }

.compare { background: var(--fluss); color: #fff; border-radius: 18px; padding: 28px; display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(15,46,51,.55); }
.compare-title { font: 600 0.8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.providers { list-style: none; margin: 0; padding: 0; display: grid; }
.providers li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.providers li::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--punkt); transform-origin: left; transform: scaleX(1); }
.providers .who { font: 600 1.1rem/1.3 var(--display); color: rgba(255,255,255,.62); }
.providers .what { font-size: .9rem; color: var(--on-dark-muted); text-align: right; }
.one { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 6px; }
.one p { color: var(--on-dark-muted); font-size: 1rem; line-height: 1.5; }
.one strong { color: #fff; font: 600 1.2rem/1.4 var(--display); }
.arch { width: 56px; height: 56px; }
.arch-line { fill: none; stroke: #fff; stroke-width: 10; }
.arch-dot { fill: var(--punkt); }

/* --intro holds the hero back while the TV-on intro plays */
:root { --intro: 0s; }
.tv { --intro: 2.4s; }
@media (prefers-reduced-motion: no-preference) {
  .providers li::after { animation: strike .5s cubic-bezier(.6,0,.2,1) both; }
  .providers li:nth-child(1)::after { animation-delay: calc(var(--intro) + .5s); }
  .providers li:nth-child(2)::after { animation-delay: calc(var(--intro) + .7s); }
  .providers li:nth-child(3)::after { animation-delay: calc(var(--intro) + .9s); }
  .providers li:nth-child(4)::after { animation-delay: calc(var(--intro) + 1.1s); }
  .arch-line { stroke-dasharray: 90; animation: draw 1s calc(var(--intro) + 1.4s) cubic-bezier(.6,0,.2,1) both; }
  .arch-dot { animation: pop .5s calc(var(--intro) + 2.2s) cubic-bezier(.16,1,.3,1) both; transform-origin: 32px 13px; }
}

/* TV-on intro, after the reference clip: a power dot, a CRT line opening into an aurora,
   then a ring spreading out to reveal the page and a rim glow left on the screen edge.
   Shown only when the head script adds .tv (JS on, motion allowed, every load). */
.tvon { display: none; }
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
@media (prefers-reduced-motion: no-preference) {
  .tv .tvon { display: block; position: fixed; inset: 0; overflow: hidden; z-index: 200; pointer-events: none; --r: 0px; animation: tv-reveal 1s 1.2s cubic-bezier(.3,.45,.2,1) forwards, tv-done 0s 2.95s forwards; }
  .tvon i { position: absolute; display: block; }
  /* The hole stays a soft circle, but its edge sits under the ring's band so its shape never shows */
  .tv-glass { inset: 0; background: #03090A; -webkit-mask: radial-gradient(circle at 50% 50%, transparent calc(var(--r) * .76), #000 calc(var(--r) * .95)); mask: radial-gradient(circle at 50% 50%, transparent calc(var(--r) * .76), #000 calc(var(--r) * .95)); }
  .tv-screen { inset: 0; overflow: hidden; filter: blur(26px); transform: scale(0); animation: tv-open .6s .42s cubic-bezier(.7,0,.2,1) forwards; }
  /* An oval iridescent glow swirls open while two clouds drift in from opposite corners; all three
     pull together into a lumpy bright core that the ring bursts from */
  .tv-screen::before { content: ""; position: absolute; left: 50%; top: 50%; width: 130vmax; height: 92vmax; margin: -46vmax 0 0 -65vmax; filter: blur(14px);
    background: radial-gradient(closest-side at 46% 52%, #F2FFFD 0, rgba(94,242,224,.85) 9%, transparent 30%),
      conic-gradient(from 0deg, #5EF2E0, #2F6B6E 17%, #8B7CFF 34%, #3FC7C0 50%, #173E44 66%, #8B7CFF 83%, #5EF2E0);
    -webkit-mask: radial-gradient(closest-side, #000 0, rgba(0,0,0,.6) 40%, transparent 100%); mask: radial-gradient(closest-side, #000 0, rgba(0,0,0,.6) 40%, transparent 100%);
    animation: tv-aurora .83s .42s linear both; }
  .tv-screen::after { content: ""; position: absolute; inset: 0; background: #E6FFFB; animation: tv-flash .6s .42s ease-out forwards; }
  .tv-cloud { left: 50%; top: 50%; border-radius: 50%; mix-blend-mode: screen; }
  .tv-cloud:nth-child(1) { width: 70vmax; height: 40vmax; margin: -20vmax 0 0 -35vmax; background: radial-gradient(closest-side, rgba(139,124,255,.9), rgba(139,124,255,.3) 55%, transparent); animation: tv-cloud-a .86s .46s linear both; }
  .tv-cloud:nth-child(2) { width: 50vmax; height: 74vmax; margin: -37vmax 0 0 -25vmax; background: radial-gradient(closest-side, rgba(94,242,224,.8), rgba(47,107,110,.4) 55%, transparent); animation: tv-cloud-b .8s .45s linear both; }
  .tv-dot { left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--punkt); box-shadow: 0 0 12px 3px rgba(245,165,36,.8), 0 0 40px 10px rgba(245,165,36,.35); opacity: 0; animation: tv-dot .6s .08s cubic-bezier(.16,1,.3,1) forwards; }
  /* Organic ring: a blob outline (uneven border widths, heaviest at the bottom) that morphs and turns as it grows */
  /* Drawn once at full size and grown with scale (same timing as tv-reveal, so it tracks the hole):
     resizing a blurred element every frame was too slow */
  .tv-ring { left: 50%; top: 50%; width: 200vmax; height: 200vmax; margin: -100vmax 0 0 -100vmax; opacity: 0; scale: 0; filter: blur(22px);
    border: solid transparent; border-width: 10vmax 14.5vmax 21vmax 11.5vmax; border-radius: 46% 54% 41% 59% / 57% 44% 56% 43%;
    background: conic-gradient(from 200deg, #5EF2E0, #8B7CFF, #F5A524, #5EF2E0, #2F6B6E, #8B7CFF, #5EF2E0) 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);
    animation: tv-grow 1s 1.2s cubic-bezier(.3,.45,.2,1) both, tv-ring 1s 1.2s linear forwards, tv-wobble 1s 1.2s ease-in-out both; }
  .tv-edge { inset: 0; opacity: 0; box-shadow: inset 0 0 0 3px rgba(94,242,224,.95), inset 0 0 24px 8px rgba(47,180,190,.8), inset 0 0 110px 30px rgba(139,124,255,.45); animation: tv-edge 1.2s 1.65s ease-in-out forwards; }
  /* Lens burst: the hero comes through the ring stretched and springs into shape. tv.js lays
     red, green and blue copies on top (screen-blended back to full colour) that slide
     together from a split, then fade to leave the real, sharp hero. */
  .tv .hero { transform-origin: 50% 40vh; animation: tv-lens .7s 1.2s cubic-bezier(.2,.8,.3,1) both; }
  .tv main { overflow-x: clip; } /* the stretched hero must not widen the page */
  .tv-ca { position: absolute; left: 0; right: 0; height: 100vh; overflow: clip; z-index: 199; isolation: isolate; pointer-events: none; animation: tv-ca-out .3s 1.45s ease-in forwards; }
  .tv-ca .hero { position: absolute; top: 0; left: 0; right: 0; margin: 0; background: var(--papier); }
  .tv-ca .tv-r { filter: url(#tv-r); animation: tv-lens .7s 1.2s cubic-bezier(.2,.8,.3,1) both, tv-split-r .55s 1.2s cubic-bezier(.2,.8,.3,1) both; }
  .tv-ca .tv-g { filter: url(#tv-g); mix-blend-mode: screen; }
  .tv-ca .tv-b { filter: url(#tv-b); mix-blend-mode: screen; animation: tv-lens .7s 1.2s cubic-bezier(.2,.8,.3,1) both, tv-split-b .55s 1.2s cubic-bezier(.2,.8,.3,1) both; }

  /* Hero text, Apple-style: headline words (split by tv.js, --i = word index) rise out of a blur
     one after another as the ring passes, then the lead, buttons and fine print follow */
  .tv .hero h1 .w { display: inline-block; animation: tv-word 1.2s calc(1.95s + var(--i) * 80ms) cubic-bezier(.2,.7,.1,1) both; }
  /* No blur on the "digital" word: its canvas would be re-blurred every frame of the wipe (lag) */
  .tv .hero h1 .w:has(.bits) { animation-name: tv-word-plain; }
  .tv .hero-copy > :not(h1) { animation: tv-rise 1.1s 2.5s cubic-bezier(.2,.7,.1,1) both; }
  .tv .hero-copy > .actions { animation-delay: 2.65s; }
  .tv .hero-copy > .fine { animation-delay: 2.8s; }
}
@keyframes tv-word { from { opacity: 0; translate: 0 .6em; filter: blur(14px); } }
@keyframes tv-word-plain { from { opacity: 0; translate: 0 .6em; } }
@keyframes tv-rise { from { opacity: 0; translate: 0 24px; filter: blur(10px); } }

/* The "digital" word: tv.js runs the founder portrait's code rain on a canvas (.g-cv). This no-op
   animation is only its clock: g-go starts the rain as the word's own rise starts (tv-word delay
   above); the rain then holds 0.5s and washes off, leaving the sharp word. */
.bits { display: inline-block; position: relative; --g: calc(1.95s + var(--i) * 80ms);
  animation: g-go 1ms var(--g) both; }
.bits.g-on { color: transparent; }
.g-cv { position: absolute; pointer-events: none; }
@keyframes g-go { to { opacity: 1; } }
.tv-fx { position: absolute; }
@keyframes tv-lens { 0% { transform: scale(1.28, .78); } 45% { transform: scale(.98, 1.03); } 100% { transform: none; } }
@keyframes tv-split-r { from { translate: -28px 3px; } }
@keyframes tv-split-b { from { translate: 28px -3px; } }
@keyframes tv-ca-out { to { opacity: 0; visibility: hidden; } }
@keyframes tv-dot { 0% { opacity: 0; scale: 0; } 45% { opacity: 1; scale: 1.25; } 70% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.6 .2; } }
@keyframes tv-open { 0% { transform: scale(.01, .004); } 40% { transform: scale(1, .004); } 100% { transform: scale(1, 1); } }
@keyframes tv-flash { 0%, 40% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes tv-aurora {
  0% { scale: .55 .45; rotate: -100deg; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  55% { scale: 1 .9; rotate: 0deg; animation-timing-function: cubic-bezier(.55,0,.45,1); }
  100% { scale: .17 .11; rotate: 80deg; } }
@keyframes tv-reveal { to { --r: 96vmax; } }
@keyframes tv-cloud-a {
  0% { translate: -30vmax -18vmax; scale: .7; rotate: -20deg; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  55% { translate: -12vmax -6vmax; scale: 1; rotate: 8deg; animation-timing-function: cubic-bezier(.55,0,.45,1); }
  100% { translate: -5vmax 2.2vmax; scale: .2 .28; rotate: 35deg; } }
@keyframes tv-cloud-b {
  0% { translate: 28vmax 20vmax; scale: .7; rotate: 15deg; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  55% { translate: 10vmax 8vmax; scale: 1; rotate: -8deg; animation-timing-function: cubic-bezier(.55,0,.45,1); }
  100% { translate: 4.2vmax -3vmax; scale: .26 .15; rotate: -40deg; } }
@keyframes tv-grow { to { scale: 1; } }
@keyframes tv-wobble { 0% { transform: rotate(-8deg) scale(1.05, .95); } 50% { transform: rotate(10deg) scale(.96, 1.04); } 100% { transform: rotate(28deg) scale(1.02, .98); } }
@keyframes tv-ring { 0% { opacity: 0; } 12% { opacity: .9; } 75% { opacity: .75; } 100% { opacity: 0; } }
@keyframes tv-edge { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tv-done { to { visibility: hidden; } }
@keyframes strike { from { transform: scaleX(0); } }
@keyframes draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }

.facts { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 4px; }
.facts strong { font: 600 1rem/1.3 var(--display); }
.facts span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero::before { display: none; }
  h1 { font-size: clamp(2.1rem, 9.6vw, 3.4rem); hyphens: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .facts { grid-template-columns: minmax(0, 1fr); } .compare { padding: 22px; } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.stone { background: var(--stein); }
.dark { background: var(--fluss); color: #fff; }

/* Services */
/* Services: a picture grid where each picture is a small working piece of the service, built in HTML
   (no photos). services.js starts the pieces when the grid scrolls into view; without JS or with reduced
   motion they show finished. Website leads (2x2), four tiles, two wide tiles close the row. */
@keyframes sv-up { from { opacity: 0; translate: 0 28px; } }
@keyframes sv-in { from { opacity: 0; } }
@keyframes sv-out { to { opacity: 0; } }
@keyframes sv-grow { from { transform: scaleX(0); } }
@keyframes sv-rise { from { transform: scaleY(0); } }
@keyframes sv-wipe { from { clip-path: inset(0 0 100% 0); } }
@keyframes sv-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.services > li { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; align-content: start; }
.services .svc-lead { grid-column: span 2; grid-row: span 2; grid-template-rows: minmax(0, 1fr) auto auto; }
.services .svc-wide { grid-column: span 2; }
.services h3 { font-size: 1.35rem; }
.services p { color: var(--muted); }
.svc-vis { position: relative; overflow: hidden; border-radius: 18px; background: var(--stein); height: 230px; margin-bottom: 8px; }
.svc-lead .svc-vis { height: 100%; min-height: 400px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .services .svc-lead { grid-row: auto; } .svc-lead .svc-vis { min-height: 320px; } }
@media (max-width: 560px) { .services { grid-template-columns: minmax(0, 1fr); } .services .svc-lead, .services .svc-wide { grid-column: auto; } }

/* Website: a page builds itself, then it shows up first on Google */
.mb { position: absolute; left: 7%; right: 7%; top: 9%; bottom: -4%; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 24px 50px -24px rgba(15,46,51,.45); overflow: hidden; display: flex; flex-direction: column; }
.mb-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F3F5F3; border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--body); color: var(--muted); flex: none; }
.mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mb-bar span { margin-left: 10px; background: #fff; padding: 5px 10px; border-radius: 4px; flex: 1; max-width: 220px; }
.mb-page { padding: 18px 20px; display: grid; gap: 18px; align-content: start; }
.mb-nav { display: flex; align-items: center; gap: 12px; }
.mb-nav b { width: 70px; height: 12px; border-radius: 3px; background: var(--fluss); margin-right: auto; transform-origin: left; }
.mb-nav i { width: 36px; height: 6px; border-radius: 3px; background: var(--line); }
.mb-nav em { width: 56px; height: 20px; border-radius: 3px; background: var(--fluss); }
.mb-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center; }
.mb-copy { display: grid; gap: 9px; }
.mb-copy span { height: 15px; border-radius: 3px; background: var(--fluss); transform-origin: left; }
.mb-copy .l2 { width: 78%; }
.mb-copy .l3 { height: 7px; width: 92%; background: var(--line); margin-top: 4px; }
.mb-copy .l4 { height: 7px; width: 70%; background: var(--line); }
.mb-copy .mb-btn { width: 96px; height: 26px; margin-top: 8px; border-radius: 3px; position: relative; }
.mb-btn::after { content: ""; position: absolute; right: 10px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--punkt); }
.mb-img { aspect-ratio: 4 / 3; border-radius: 6px; background:
  linear-gradient(135deg, transparent 0 46%, rgba(0,0,0,.06) 46% 54%, transparent 54%) 0 0 / 28px 28px,
  repeating-linear-gradient(45deg, #CFA06B 0 14px, #BE8C59 14px 28px); }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mb-cards i { height: clamp(60px, 14vw, 120px); border-radius: 6px; background: var(--stein); }
.mb-serp { position: absolute; left: 10%; bottom: 8%; z-index: 2; display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 18px 12px 12px; border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(15,46,51,.5); font-size: .82rem; line-height: 1.35; }
.serp-rank { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; background: var(--fluss); color: #fff; font: 700 1rem/1 var(--display); }
.mb-serp b { display: block; color: var(--bruecke); font-weight: 600; }
.mb-serp small { color: var(--muted); font-size: .76rem; }

/* Team-App: a thumb clocks in, today's jobs tick off */
.mp { position: absolute; left: 50%; top: 12%; width: 152px; height: 300px; margin-left: -76px; background: #0A2226; border-radius: 26px; padding: 7px; box-shadow: 0 24px 50px -20px rgba(15,46,51,.6); }
.mp-screen { height: 100%; background: var(--fluss); border-radius: 20px; padding: 20px 14px; color: #fff; display: grid; gap: 4px; align-content: start; }
.mp-time { font: 700 1.7rem/1 var(--display); letter-spacing: -.02em; }
.mp-sub { font-size: .7rem; color: var(--on-dark-muted); }
.mp-btn { margin: 12px 0 10px; height: 38px; border-radius: 4px; background: var(--punkt); color: var(--fluss); font: 600 .76rem/1 var(--body); display: grid; }
.mp-btn > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; }
.mp-btn .t1 { opacity: 0; }
.mp-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
.mp-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .72rem; }
.mp-jobs li { display: flex; align-items: center; gap: 8px; }
.mp-jobs i { width: 13px; height: 13px; border-radius: 3px; background: var(--punkt); border: 2px solid var(--punkt); flex: none; }
@keyframes sv-stamp { 0%, 55% { background: #fff; scale: 1; } 62% { scale: .93; } 72% { background: var(--punkt); scale: 1.04; } 100% { scale: 1; } }
@keyframes sv-show-out { 0%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes sv-check { 0% { background: transparent; border-color: rgba(255,255,255,.45); } 50% { scale: 1.35; } 100% { scale: 1; } }

/* Marke: a client's mark draws itself, name and colours follow */
.svc-brand { display: grid; place-content: center; justify-items: center; gap: 22px; }
.ab-logo { display: flex; align-items: center; gap: 12px; color: #23493F; }
.ab-logo svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ab-logo path { stroke-dasharray: 100; }
.ab-logo circle { fill: #C4693D; stroke: none; transform-origin: 34px 34px; }
.ab-logo span { font: 700 1.7rem/1 var(--display); letter-spacing: -.03em; }
.ab-sw { display: flex; gap: 8px; }
.ab-sw i { width: 40px; height: 52px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15,46,51,.08); }

/* Video: a vertical clip wipes from before to after, story bars fill */
.av { position: absolute; left: 50%; top: 9%; width: 124px; height: 220px; margin-left: -62px; border-radius: 12px; overflow: hidden; background: #8E9896; box-shadow: 0 24px 50px -20px rgba(15,46,51,.6); }
.av-before { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #959F9D 0 3px, #8A9492 3px 5px); }
.av-after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,214,150,.35), transparent 50%), repeating-linear-gradient(45deg, #CFA06B 0 10px, #BE8C59 10px 20px); }
.av-wipe { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #fff; opacity: 0; }
.av-segs { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; gap: 4px; }
.av-segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); overflow: hidden; position: relative; }
.av-segs i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; }
.av-cap { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; background: var(--fluss); color: #fff; font: 600 .72rem/1 var(--display); padding: 7px 10px; border-radius: 4px; white-space: nowrap; }
@keyframes av-wipe { 0%, 15% { clip-path: inset(0 100% 0 0); } 50%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes av-line { 0%, 14% { left: 0; opacity: 0; } 15% { opacity: 1; } 50% { left: 100%; opacity: 1; } 52%, 100% { left: 100%; opacity: 0; } }
@keyframes av-cap { 0%, 50% { opacity: 0; scale: .6; } 56% { opacity: 1; scale: 1.08; } 60%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes av-seg { 0% { transform: scaleX(0); } 33%, 100% { transform: scaleX(1); } }

/* Lokale Sichtbarkeit: pins drop on a map of the town, ours lands last with its rating */
.al-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.al-map .road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.al-map .road.s { stroke-width: 5; }
.al-map .river { fill: none; stroke: #C7DAD7; stroke-width: 18; stroke-linecap: round; }
.al-map .pin path { fill: #9DB0AE; }
.al-map .pin circle { fill: #fff; }
.al-map .pin.ours path { fill: var(--punkt); stroke: var(--fluss); stroke-width: 1.5; }
.al-card { position: absolute; right: 8%; bottom: 10%; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: 0 18px 40px -14px rgba(15,46,51,.5); font-size: .78rem; line-height: 1.4; }
.al-card b { display: block; font: 600 .9rem/1.3 var(--display); }
.al-card small { color: var(--muted); font-size: .74rem; }
.al-stars { display: inline-flex; gap: 2px; vertical-align: -2px; margin-right: 4px; }
.al-stars svg { width: 12px; height: 12px; fill: var(--punkt); stroke: var(--fluss); stroke-width: 1; }
@keyframes al-drop { from { translate: 0 -40px; opacity: 0; } }
@keyframes al-drop-ours { 0% { translate: 0 -70px; opacity: 0; scale: 1; } 60% { translate: 0 0; opacity: 1; scale: 1.15 .85; } 100% { scale: 1; } }

/* Neukunden: an e-mail types itself to a firm nearby and goes out */
.svc-leads { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 0 7%; }
.al-mail { background: #fff; border-radius: 10px; padding: 14px 18px 16px; box-shadow: 0 24px 50px -24px rgba(15,46,51,.45); display: grid; gap: 8px; font-size: .8rem; position: relative; }
.al-row { display: flex; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.al-row span { color: var(--muted); width: 48px; flex: none; }
.al-row b { font-weight: 600; }
.al-body { display: grid; gap: 7px; padding: 4px 0 2px; }
.al-body i { height: 6px; border-radius: 3px; background: var(--line); transform-origin: left; }
.al-mail .btn { justify-self: start; min-height: 32px; padding: 6px 14px; font-size: .78rem; }
.al-sent { position: absolute; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--display); color: var(--bruecke); }
.al-sent svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
.al-count { text-align: center; }
@media (max-width: 560px) { .svc-leads { grid-template-columns: minmax(0, 1fr); padding: 0 6%; } .al-count { display: none; } }
.al-count b { display: block; font: 700 3rem/1 var(--display); letter-spacing: -.03em; }
.al-count span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; }
@keyframes al-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes al-press { 50% { scale: .92; } }

/* Hosting & Betreuung: uptime fills in, nightly jobs tick off, status breathes */
.svc-care { display: grid; place-items: center; padding: 0 7%; }
.ac { width: 100%; max-width: 520px; background: var(--fluss); color: #fff; border-radius: 14px; padding: 16px 18px; display: grid; gap: 14px; box-shadow: 0 24px 50px -24px rgba(15,46,51,.6); }
.ac-head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.ac-head b { font: 600 .9rem/1 var(--display); }
.ac-ok { display: flex; align-items: center; gap: 7px; color: var(--on-dark-muted); }
.ac-ok i { width: 8px; height: 8px; border-radius: 2px; background: #5EF2E0; }
.ac-bars { display: flex; align-items: end; gap: 3px; height: 44px; }
.ac-bars i { flex: 1; height: var(--h); background: #3FC7C0; border-radius: 2px; transform-origin: bottom; opacity: .85; }
.ac-bars i.up { background: var(--punkt); opacity: 1; }
.ac-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; font-size: .76rem; color: var(--on-dark-muted); flex-wrap: wrap; }
.ac-list li { display: flex; align-items: center; gap: 6px; }
.ac-list svg { width: 14px; height: 14px; fill: none; stroke: var(--punkt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; }
@keyframes ac-breathe { 50% { scale: 1.6 1.4; opacity: .45; rotate: 12deg; } }
.services > .wait *, .services > .wait *::before, .services > .wait *::after { animation-play-state: paused !important; }
.ac-bars:empty { background: repeating-linear-gradient(90deg, #3FC7C0 0 9px, transparent 9px 12px); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .services.play .mb { animation: sv-up .7s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mb-nav > * { animation: sv-in .3s .45s both; }
  .services.play .mb-nav b { animation: sv-grow .5s .4s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mb-copy span { animation: sv-grow .55s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mb-copy .l1 { animation-delay: .55s; } .services.play .mb-copy .l2 { animation-delay: .65s; } .services.play .mb-copy .l3 { animation-delay: .8s; } .services.play .mb-copy .l4 { animation-delay: .85s; }
  .services.play .mb-copy .mb-btn { animation: pop .45s 1s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mb-img { animation: sv-wipe .8s .6s cubic-bezier(.6,0,.2,1) both; }
  .services.play .mb-cards i { animation: sv-up .5s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mb-cards i:nth-child(1) { animation-delay: 1.05s; } .services.play .mb-cards i:nth-child(2) { animation-delay: 1.15s; } .services.play .mb-cards i:nth-child(3) { animation-delay: 1.25s; }
  .services.play .mb-serp { animation: sv-up .7s 1.7s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .serp-rank { animation: pop .5s 2.1s cubic-bezier(.3,1.5,.5,1) both; }
  .services.play .mp { animation: sv-up .8s .1s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mp-btn { animation: sv-stamp 1.2s .5s both; }
  .services.play .mp-btn .t1 { animation: sv-show-out 1.2s .5s both; }
  .services.play .mp-btn .t2 { animation: sv-in .3s 1.25s both; }
  .services.play .mp-btn svg { animation: sv-draw .4s 1.35s both; }
  .services.play .mp-jobs i { animation: sv-check .5s cubic-bezier(.16,1,.3,1) both; }
  .services.play .mp-jobs li:nth-child(1) i { animation-delay: 1.7s; } .services.play .mp-jobs li:nth-child(2) i { animation-delay: 2.05s; } .services.play .mp-jobs li:nth-child(3) i { animation-delay: 2.4s; }
  .services.play .ab-logo path { animation: sv-draw .8s .2s cubic-bezier(.6,0,.2,1) both; }
  .services.play .ab-logo path + path { animation-delay: .7s; }
  .services.play .ab-logo circle { animation: pop .45s 1.1s cubic-bezier(.3,1.5,.5,1) both; }
  .services.play .ab-logo span { animation: sv-up .6s .9s cubic-bezier(.16,1,.3,1) both; }
  .services.play .ab-sw i { animation: sv-up .5s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .ab-sw i:nth-child(1) { animation-delay: 1.3s; } .services.play .ab-sw i:nth-child(2) { animation-delay: 1.4s; } .services.play .ab-sw i:nth-child(3) { animation-delay: 1.5s; } .services.play .ab-sw i:nth-child(4) { animation-delay: 1.6s; }
  .services.play .av { animation: sv-up .7s .1s cubic-bezier(.16,1,.3,1) both; }
  .services.play .av-after { animation: av-wipe 4s .6s cubic-bezier(.6,0,.2,1) infinite both; }
  .services.play .av-wipe { animation: av-line 4s .6s cubic-bezier(.6,0,.2,1) infinite both; }
  .services.play .av-cap { animation: av-cap 4s .6s infinite both; }
  .services.play .av-segs i::after { animation: av-seg 4s linear infinite both; }
  .services.play .av-segs i:nth-child(1)::after { animation-delay: .6s; } .services.play .av-segs i:nth-child(2)::after { animation-delay: 1.93s; } .services.play .av-segs i:nth-child(3)::after { animation-delay: 3.26s; }
  .services.play .pin { animation: al-drop .55s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .pin:nth-of-type(1) { animation-delay: .3s; } .services.play .pin:nth-of-type(2) { animation-delay: .45s; } .services.play .pin:nth-of-type(3) { animation-delay: .6s; }
  .services.play .pin.ours { animation: al-drop-ours .9s 1s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .al-card { animation: sv-up .6s 1.7s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .al-stars svg { animation: pop .35s cubic-bezier(.3,1.5,.5,1) both; }
  .services.play .al-stars svg:nth-child(1) { animation-delay: 2s; } .services.play .al-stars svg:nth-child(2) { animation-delay: 2.07s; } .services.play .al-stars svg:nth-child(3) { animation-delay: 2.14s; } .services.play .al-stars svg:nth-child(4) { animation-delay: 2.21s; } .services.play .al-stars svg:nth-child(5) { animation-delay: 2.28s; }
  .services.play .al-mail { animation: sv-up .7s .1s cubic-bezier(.16,1,.3,1) both; }
  .services.play .al-type { animation: al-type 1.3s .6s steps(30) both; }
  .services.play .al-body i { animation: sv-grow .45s cubic-bezier(.16,1,.3,1) both; }
  .services.play .al-body i:nth-child(1) { animation-delay: 2s; } .services.play .al-body i:nth-child(2) { animation-delay: 2.15s; } .services.play .al-body i:nth-child(3) { animation-delay: 2.3s; }
  .services.play .al-mail .btn { animation: al-press .4s 2.7s both; }
  .services.play .al-sent { animation: sv-in .3s 3s both; }
  .services.play .al-sent svg { animation: sv-draw .4s 3.05s both; }
  .services.play .al-count { animation: sv-up .6s 3.2s cubic-bezier(.3,1.4,.5,1) both; }
  .services.play .ac { animation: sv-up .7s .1s cubic-bezier(.16,1,.3,1) both; }
  .services.play .ac-bars i { animation: sv-rise .45s calc(.5s + var(--k) * 30ms) cubic-bezier(.16,1,.3,1) both; }
  .services.play .ac-list svg { animation: sv-draw .4s both; }
  .services.play .ac-list li:nth-child(1) svg { animation-delay: 1.6s; } .services.play .ac-list li:nth-child(2) svg { animation-delay: 1.85s; } .services.play .ac-list li:nth-child(3) svg { animation-delay: 2.1s; }
  .services.play .ac-ok i { animation: ac-breathe 2.4s 2.2s ease-in-out infinite; }
}

/* Services arch: services.js turns the grid into the logo's arch, cut into one stone per service. The amber
   keystone is the service on show; its piece plays in the Stein opening (under the arch on phones, where the
   caption moves into the opening). Sizes come from services.js as --ah (arch height), --vw/--vh (piece),
   --lw/--lf (labels), --g (joint), --ro (outer radius), --cw (caption width on phones). */
.svc-arch { position: relative; isolation: isolate; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.svc-arch:focus-visible { outline: none; }
.sa-svg { position: absolute; left: 0; top: 0; z-index: -1; }
.sa-stage { fill: var(--stein); }
.sa-face { fill: color-mix(in srgb, var(--punkt) calc(var(--w, 0) * 100%), color-mix(in srgb, var(--bruecke) calc(var(--h, 0) * 100%), var(--fluss))); stroke: var(--papier); stroke-width: var(--g); stroke-linejoin: miter; }
.sa-hit { fill: transparent; cursor: pointer; }
.svc-arch.drag, .svc-arch.drag .sa-hit { cursor: grabbing; }
.sa-ring { fill: none; stroke: var(--fluss); stroke-width: 3; opacity: 0; }
.svc-arch:focus-visible .sa-ring { opacity: 1; }
.sa-labels { position: absolute; left: 0; top: 0; width: 100%; height: var(--ah); overflow: hidden; pointer-events: none; }
.sa-label { position: absolute; left: 0; top: 0; width: var(--lw); transform-origin: 0 0; text-align: center; font: 600 var(--lf)/1.12 var(--display); letter-spacing: -.015em; color: color-mix(in srgb, var(--fluss) calc(var(--w, 0) * 100%), #fff); text-wrap: balance; -webkit-hyphens: auto; hyphens: auto; }
.svc-arch .services { display: grid; grid-template: var(--ah) auto / minmax(0, 1fr); gap: 0; pointer-events: none; }
.svc-arch .services > li { grid-area: 1 / 1 / -1 / -1; display: grid; grid-template-rows: subgrid; grid-template-columns: subgrid; gap: 0; }
.svc-arch .services .svc-vis { grid-row: 1; align-self: end; justify-self: center; width: var(--vw); height: var(--vh); min-height: 0; margin: 0; }
.svc-arch .services > li:not(.on, .was) .svc-vis { display: none; }
.svc-arch .on { z-index: 2; }
.svc-arch .was { z-index: 1; }
.svc-arch .svc-txt { grid-row: 2; justify-self: center; display: grid; gap: 6px; max-width: 34em; padding-top: 28px; text-align: center; opacity: 0; transition: opacity .15s; }
.svc-arch .on .svc-txt { opacity: 1; transition: opacity .3s .12s; }
.svc-arch.narrow .services .svc-vis { grid-row: 2; width: 100%; height: 230px; margin-top: 20px; }
.svc-arch.narrow .svc-txt { grid-row: 1; align-self: end; width: var(--cw); padding: 0 0 22px; }
.svc-arch.narrow .services h3 { font-size: 1.1rem; }
.svc-arch.narrow .services p { font-size: .9rem; line-height: 1.45; }
.svc-arch:not(.narrow) .al-map { -webkit-mask-image: linear-gradient(transparent, #fff 34%); mask-image: linear-gradient(transparent, #fff 34%); } /* the town fades into the opening instead of ending on a straight edge */
.sa-pause { position: absolute; top: 0; left: calc(50% + var(--ro) - 40px); width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fluss); cursor: pointer; transition: background-color .2s; }
.sa-pause:hover { background-color: var(--stein); }
.sa-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.sa-pause .i-play, .sa-pause.off .i-pause { display: none; }
.sa-pause.off .i-play { display: inline; }
.sa-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* a new piece fades in over the old one (opaque Stein, so no dip), then plays its own build */
.svc-arch .go .svc-vis { animation: sv-in .25s both; }
.svc-arch .go .svc-vis, .svc-arch .was .svc-vis { will-change: opacity; } /* own layer while shown: the swap and the piece's own paints never repaint the page under it */
@media (prefers-reduced-motion: reduce) { .sa-pause { display: none; } }

/* Reference */
.ref-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.ref-copy { display: grid; gap: 20px; }
.ref-copy > p { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 34em; }
.delivered { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.delivered li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 1rem; line-height: 1.45; }
.delivered li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--punkt); margin-top: .5em; }
@media (max-width: 900px) { .ref-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .delivered { grid-template-columns: minmax(0, 1fr); } }

.phone-wrap { margin: 0; display: grid; justify-items: center; gap: 14px; }
.phone-wrap figcaption { font-size: .9rem; color: var(--on-dark-muted); }

/* Steps */
.steps-wrap { position: relative; }
.spans { position: absolute; left: 0; right: 0; top: -26px; width: 100%; height: 46px; }
.spans path { fill: none; stroke: var(--fluss); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .35; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps li { display: grid; gap: 10px; justify-items: center; text-align: center; align-content: start; }
.steps p { color: var(--muted); font-size: 1rem; max-width: 24em; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--fluss); box-shadow: 0 0 0 6px var(--stein); margin-bottom: 10px; }
.dot-point { background: var(--punkt); }
@media (max-width: 900px) {
  .spans { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { justify-items: start; text-align: left; grid-template-columns: 18px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; position: relative; }
  .steps li::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: rgba(15,46,51,.2); }
  .steps li:last-child::before { display: none; }
  .steps .dot { grid-row: span 2; margin: 2px 0 0; }
  .steps h3, .steps p { grid-column: 2; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font: 600 1.1rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-inline-end: 4px; color: var(--bruecke); background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 60ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { background: var(--fluss); color: #fff; text-align: center; }
.contact-inner { display: grid; justify-items: center; gap: 20px; max-width: 760px; }
.contact-mark { width: 72px; height: 72px; color: #fff; }
.contact p { color: var(--on-dark-muted); font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 34em; }
.contact .actions { justify-content: center; }
.mail { font: 600 1rem/1 var(--body); color: #fff; user-select: all; padding: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 32px; font-size: .9rem; color: var(--muted); }
.foot img { width: 120px; height: auto; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--fluss); }
.copy { width: 100%; font-size: .8rem; }
@media (max-width: 640px) { .foot nav { margin-left: 0; } }

/* Industry pages: workday timeline (signature), before/after rows, week list */
.workday { margin: 0; background: var(--fluss); color: #fff; border-radius: 18px; padding: 26px 28px 18px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(15,46,51,.55); }
.workday-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.workday-title { font: 600 1.2rem/1.3 var(--display); }
.workday-note { font-size: .8rem; color: var(--on-dark-muted); }
.workday-list { list-style: none; margin: 0; padding: 0; position: relative; }
.workday-list::before { content: ""; position: absolute; left: 65px; top: 18px; bottom: 18px; width: 2px; background: rgba(255,255,255,.14); }
.workday-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 36px; align-items: baseline; padding-block: 9px; position: relative; }
.workday-list li::before { content: ""; position: absolute; left: 60px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--fluss); }
.workday-list li:last-child::before { background: var(--punkt); }
.workday-list time { font: 600 .9rem/1.3 var(--display); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.workday-list strong { display: block; font-weight: 600; line-height: 1.35; }
.workday-list div span { display: block; font-size: .9rem; line-height: 1.4; color: var(--on-dark-muted); }
.via { font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-dark-muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .workday-list li::before { animation: tick 1.1s cubic-bezier(.16,1,.3,1) both; }
  .workday-list li:nth-child(1)::before { animation-delay: .4s; }
  .workday-list li:nth-child(2)::before { animation-delay: .75s; }
  .workday-list li:nth-child(3)::before { animation-delay: 1.1s; }
  .workday-list li:nth-child(4)::before { animation-delay: 1.45s; }
  .workday-list li:nth-child(5)::before { animation-delay: 1.8s; }
  .workday-list li:last-child::before { animation: tick-stay .6s 2.15s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes tick { 0% { background: #fff; transform: scale(1); } 25% { background: var(--punkt); transform: scale(1.35); } 100% { background: #fff; transform: scale(1); } }
@keyframes tick-stay { from { background: #fff; transform: scale(1); } 50% { transform: scale(1.35); } to { background: var(--punkt); transform: scale(1); } }
@media (max-width: 480px) {
  .workday { padding: 22px 20px 14px; }
  .workday-list::before { left: 59px; }
  .workday-list li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 30px; }
  .workday-list li::before { left: 54px; }
  .workday-list .via { grid-column: 2; justify-self: start; margin-top: 6px; }
}

.ba { border-top: 1px solid var(--line); }
.ba-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.ba-labels { padding-block: 14px; font: 600 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ba-row h3 { margin-bottom: 6px; }
.ba-tag { display: none; }
.ba-before h3 { color: var(--muted); }
.ba-before p, .ba-after p { color: var(--muted); max-width: 46ch; }
.ba-after h3 { display: flex; align-items: center; gap: 10px; }
.ba-after h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--punkt); flex: none; }
@media (max-width: 760px) {
  .ba { position: relative; }
  .ba-labels { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ba-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ba-tag { display: block; font: 600 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
}


.ref-plain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ref-plain-body { display: grid; gap: 16px; justify-items: start; }
.ref-plain-body p { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
@media (max-width: 900px) { .ref-plain { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages */
.legal { padding-block: 64px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.legal p { margin-bottom: 12px; max-width: 68ch; }
.todo { background: #FFF1D6; color: #6B4600; padding: 2px 6px; border-radius: 4px; font-weight: 600; }

/* Link button on dark sections */
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { color: var(--stein); }
.ref-copy .btn-ghost { justify-self: start; }


/* Hero: the owner's six questions are the page's index; each answered question gets its amber point */
.hero-case { padding-bottom: clamp(16px, 3vw, 40px); }
.client { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.client img { width: 72px; height: auto; flex: none; }
.client a { color: var(--fluss); font-weight: 600; }
.client a:hover { color: var(--bruecke); }
.questions { background: var(--fluss); color: #fff; border-radius: 18px; padding: 26px 28px 12px; display: grid; gap: 6px; box-shadow: 0 30px 60px -30px rgba(15,46,51,.55); }
.questions ol { list-style: none; margin: 0; padding: 0; }
.questions li + li { border-top: 1px solid rgba(255,255,255,.12); }
.questions a { display: grid; grid-template-columns: minmax(0, 1fr) 12px; column-gap: 16px; align-items: center; padding-block: 12px; color: #fff; text-decoration: none; }
.questions .q { font: 600 1.1rem/1.3 var(--display); transition: color .2s; }
.questions .a { grid-column: 1; font-size: .9rem; line-height: 1.4; color: var(--on-dark-muted); }
.questions a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; background: var(--punkt); transition: translate .3s cubic-bezier(.16,1,.3,1); }
.questions a:hover .q { color: var(--stein); }
.questions a:hover::after { translate: 4px 0; }
@media (prefers-reduced-motion: no-preference) {
  .questions a::after { animation: dot-in .5s cubic-bezier(.16,1,.3,1) both; }
  .questions li:nth-child(1) a::after { animation-delay: .5s; }
  .questions li:nth-child(2) a::after { animation-delay: .68s; }
  .questions li:nth-child(3) a::after { animation-delay: .86s; }
  .questions li:nth-child(4) a::after { animation-delay: 1.04s; }
  .questions li:nth-child(5) a::after { animation-delay: 1.22s; }
  .questions li:nth-child(6) a::after { animation-delay: 1.4s; }
}
@keyframes dot-in { from { scale: 0; } }
@media (max-width: 480px) { .questions { padding: 22px 22px 8px; } }

/* Each answer hands over to the next question */
.next-q { margin-top: clamp(36px, 5vw, 56px); }
/* On phones the "Next question:" lead-in is read out but not shown, so the question and its dot stay on one line */
@media (max-width: 480px) { .next-q .lead-in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

/* Real screenshots: a browser frame, and the phone view laid over its corner */
.browser { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--stein); }
.browser-bar { display: flex; align-items: center; min-height: 38px; padding: 6px 18px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.browser img { width: 100%; height: auto; }
/* Full-page shot inside a 16:10 window; the page scrolls inside the frame. */
.browser-page { aspect-ratio: 16 / 10; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: var(--nebel) transparent; background: var(--papier); }
.browser-page:focus-visible { outline: 3px solid var(--fluss); outline-offset: -3px; }
.browser-page img { display: block; }
/* Same idea inside the phone: a 390x844 screen that scrolls through the whole page. */
.phone-page { aspect-ratio: 390 / 844; overflow-y: auto; scrollbar-width: none; border-radius: 24px; background: var(--papier); }
.phone-page::-webkit-scrollbar { display: none; }
.phone-page:focus-visible { outline: 3px solid var(--punkt); outline-offset: 3px; }
.phone-shot .phone-page img { display: block; border-radius: 0; }
@media (max-width: 560px) { .site-shots .phone-page { border-radius: 12px; } }
.site-shots { position: relative; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0 clamp(40px, 9vw, 128px) clamp(32px, 4vw, 56px) 0; }
/* Old site beside the new one; the columns are sized so both browser frames come out about the same width */
.site-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-bottom: clamp(48px, 6vw, 72px); }
.site-compare .site-shots { margin-bottom: 0; }
.site-before { margin: 0; display: grid; gap: 12px; }
.site-before figcaption { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.site-compare figcaption strong { font-weight: 600; color: var(--fluss); }
@media (max-width: 900px) { .site-compare { grid-template-columns: minmax(0, 1fr); } }
.site-shots .phone-shot { position: absolute; right: 0; bottom: 0; width: clamp(112px, 21%, 236px); }
.site-shots figcaption { margin-top: 12px; max-width: 58%; }
.phone-shot { padding: 7px; border-radius: 30px; background: #081a1d; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -30px rgba(15,46,51,.55); }
.phone-shot img { width: 100%; height: auto; border-radius: 24px; }
.site-shots figcaption, .media figcaption, .logo-pair figcaption { font-size: .9rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 560px) { .site-shots { padding-right: 18%; } .site-shots .phone-shot { width: 32%; padding: 4px; border-radius: 18px; } .site-shots .phone-shot img { border-radius: 12px; } .site-shots figcaption { max-width: 64%; } }

/* Dated project log */
.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stone .log, .stone .log li { border-color: rgba(15,46,51,.16); }
.log li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 28px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.log time { font: 600 1rem/1.65 var(--display); font-variant-numeric: tabular-nums; }
.log p { max-width: 60ch; }
.log-title { font-size: 1.1rem; margin-bottom: 14px; }
@media (max-width: 560px) { .log li { grid-template-columns: minmax(0, 1fr); } }
.stand { margin-top: 18px; font-size: .9rem; color: var(--muted); }

/* Team app on site: dark band notes */
.ref-copy .note { color: var(--on-dark-muted); font-size: 1rem; max-width: 34em; }
.ref-grid > .next-q { margin-top: 0; justify-self: start; }

/* Can people see the work: before/after screenshot, two reels, the review card */
.media { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.media figure { margin: 0; display: grid; gap: 12px; }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--fluss); }
.card-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.card-copy { display: grid; gap: 10px; }
.card-copy p { color: var(--muted); }
@media (max-width: 900px) { .media { grid-template-columns: repeat(2, minmax(0, 1fr)); } .media-wide { grid-column: 1 / -1; } .card-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .media, .cards { gap: 12px; } }

/* Who owns it: copy beside the logo before and after */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split .section-head { margin-bottom: 0; }
/* the hand-over link closes the band: after the proof on phones, under the copy on desktop */
.split > .next-q { margin-top: 0; }
@media (min-width: 901px) { .split > .next-q { grid-column: 1; } }
.split .delivered { grid-template-columns: minmax(0, 1fr); margin-top: 4px; }
.logo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-pair figure { margin: 0; display: grid; gap: 10px; }
/* Both tiles show the same detail (the "EX") about 4x enlarged, so the old raster's pixels and the new vector's edges compare at a glance. The window is logo units 98-164 x 44-93.5 of the 167 x 115 logo, low enough to clear the roof stroke (E runs 104-124, X 134-158). */
.logo-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--papier); border-radius: 18px; }
.logo-tile img { position: absolute; max-width: none; width: 253.03%; height: auto; left: -148.48%; top: -88.9%; }
.logo-tile .raster { image-rendering: pixelated; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* What was built: one picture per area, one line under it */
.built { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.built-wide { grid-column: span 2; }
.built li { display: grid; gap: 6px; align-content: start; }
.built h3 { margin-top: 8px; }
.built p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.built-media { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--stein); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fluss); }
/* every tile is as tall as a 4:3 single column, so the wide tile lines up with its row */
.built { container-type: inline-size; }
.built-media { aspect-ratio: auto; height: calc((100cqw - 72px) / 4 * .75); }
.built-wide .built-media > img { object-position: left top; }
@media (max-width: 900px) { .built-media { height: calc((100cqw - 16px) / 2 * .75); } }
.built-media > img { width: 100%; height: 100%; object-fit: cover; }
.built-dark { background: #151515; border-color: #151515; }
.built-media > .built-icon { width: 38%; height: auto; border-radius: 22%; }
.built-media > .built-logo { width: 56%; height: auto; object-fit: contain; }
.built-svg { width: 82%; height: auto; overflow: visible; }
.built-svg text { font: 600 9px var(--body); fill: currentColor; }
.built-point { fill: var(--punkt); }
.built-kinds { list-style: none; margin: 0; padding: 0 10px; display: grid; gap: 6px; justify-items: center; text-align: center; font: 600 .9rem/1.3 var(--display); }
@media (max-width: 560px) { .built-kinds { font-size: .8rem; gap: 4px; } }
.built-move { font-size: .9rem; color: var(--muted); }
.built-move { display: grid; justify-items: center; gap: 6px; }
.built-move svg { width: 22px; height: 22px; color: var(--bruecke); }
.built-move b { font: 600 1.1rem/1.2 var(--display); color: var(--fluss); }
@media (max-width: 900px) { .built { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* Project pairs: before and after side by side */
.pairs-title { margin: clamp(48px, 6vw, 72px) 0 20px; }
.pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pairs figure { margin: 0; display: grid; gap: 10px; }
.pairs figcaption { font: 600 1rem/1.3 var(--display); }
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 18px; overflow: hidden; background: var(--papier); }
.pair img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.pair-tag { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 4px; background: var(--fluss); color: #fff; font: 600 .75rem/1 var(--body); }
.pair-tag.pair-after { left: calc(50% + 10px); }
@media (max-width: 560px) { .pairs { grid-template-columns: minmax(0, 1fr); } }

/* Homepage reference: real donex-bau.de screenshots on the dark band */
.ref-shot { margin: 0; }
.dark .ref-shot .browser { border-color: rgba(255,255,255,.14); }
.dark .ref-shot figcaption { color: var(--on-dark-muted); }

/* The real Donex app with test data: one phone beside the copy, a row of screens, the office view */
.app-hero .phone-shot { width: min(280px, 100%); }
.app-tour { grid-column: 1 / -1; list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.app-tour figure, .office { margin: 0; display: grid; gap: 12px; }
.app-tour figcaption, .office figcaption { font-size: .9rem; line-height: 1.45; color: var(--on-dark-muted); }
.office { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 48px); }
.dark .office .browser { border-color: rgba(255,255,255,.14); }
@media (max-width: 900px) { .app-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
@media (max-width: 560px) { .app-tour .phone-shot { padding: 4px; border-radius: 18px; } .app-tour .phone-shot img { border-radius: 12px; } }

/* Founder portrait: photo in a rounded card with a soft shadow, head breaking out above it; all baked into the WebP (transparent around).
   The red/cyan split (SVG filter #ca in the page's tv-fx defs) is only on the glitch copy, so it shows only during bursts. */
.glitch { position: relative; width: 100%; max-width: 480px; justify-self: center; }
.glitch img { display: block; width: 100%; height: auto; }
/* Matrix-rain reveal (ascii-reveal.js): the canvas covers the photo until the rain has washed off, then is removed */
.glitch.ascii > img, .glitch.ascii > .g-sl { opacity: 0; }
.g-ascii { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
/* Colour-split copy, hidden except for a short burst every 5 s in which strips of it jump sideways */
.g-sl { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.g-sl img { filter: url(#ca); }
@media (prefers-reduced-motion: no-preference) { .g-sl { animation: g-slice 5s steps(1) infinite; } }
@keyframes g-slice {
  0%, 86%, 96%, 100% { clip-path: inset(0 0 100% 0); translate: 0; }
  88% { clip-path: inset(22% 0 64% 0); translate: 18px; }
  90% { clip-path: inset(58% 0 30% 0); translate: -22px; }
  92% { clip-path: inset(8% 0 80% 0); translate: 12px; }
  94% { clip-path: inset(70% 0 18% 0); translate: -10px; }
}
.contact-logo { width: 72px; height: 72px; }
@media (max-width: 900px) { .about .section-head { order: -1; } }
.dark .section-head p { color: var(--on-dark-muted); }
.dark + .contact { border-top: 1px solid rgba(255,255,255,.1); }
/* Donex promo video under the reference (tools/clients/donex/promo); services.js plays it while on screen */
.promo { margin: clamp(48px, 7vw, 88px) 0 0; display: grid; gap: 14px; }
.promo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--fluss); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.promo figcaption { font-size: .9rem; line-height: 1.45; color: var(--on-dark-muted); }
.promo figcaption a { color: #fff; }
