/* ==========================================================================
   noll media — Website (Header/Navigation)
   ========================================================================== */

:root{
  --black:#000;
  --white:#fff;
  --font-display:'ES Klarheit Kurrent Display', 'ES Klarheit Kurrent', Arial, sans-serif;
  --font-display-bold:'ES Klarheit Kurrent', Arial, sans-serif;
  --font-body:'Helvetica Neue', Arial, Helvetica, sans-serif;
  --grid-width:78.9583vw; /* 3032px content width @ 3840px reference, 12 cols x 216px + 11 gutters x 40px */
  --grid-margin:calc((100vw - var(--grid-width)) / 2); /* space outside the content grid, each side */
  --wrap:var(--grid-width);
  --gutter:clamp(20px, 5vw, 64px);
  --active-col-offset:20vw; /* 3 columns+gutters in (3 x 256px @3840 = 768px = 768/3840) = start of column 4.
                                Used by .case-active-title's `left` and duplicated as ACTIVE_COL_OFFSET_VW in
                                js/main.js for the active-slide anchor — keep both in sync if the grid changes. */
}

*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  overflow-x:clip; /* the Cases carousel keeps off-screen buffer copies (endless-loop design) positioned outside the viewport via transform; they're visually clipped by .cases-track's own overflow:hidden but still expand the document's scrollable width — this rule kills horizontal scroll/scrollbar site-wide regardless of that.
     `clip`, not `hidden`: `overflow:hidden` still leaves the box
     scrollable via script/wheel/keyboard even with no visible scrollbar
     (confirmed live — a horizontal wheel gesture still panned the whole
     page and blanked out its left edge with `hidden` set); `clip` removes
     the scroll position entirely, which is what "don't allow horizontal
     scrolling" actually needs.
     IMPORTANT: this must live on <html> only, not <body>. Giving <body>
     a non-visible overflow makes the UA promote body into its own
     scrolling box instead of the real viewport/document being the root
     scroller (a legacy quirk of how overflow propagates from body to the
     viewport) — that broke position:sticky for .process-circle-wrap
     (it stopped tracking scroll at all, sitting permanently off-screen)
     the first time this was tried on body. html keeps the real root
     scroller intact while still clipping horizontal overflow. */
}
body{
  margin:0;
  min-height:100vh;
  overflow-x:clip; /* belt-and-suspenders alongside html's overflow-x:clip above — `hidden` here specifically was what broke sticky (see the comment on html), but `clip` doesn't turn the element into a scroll container in the first place, so it shouldn't trigger the same root-scroller promotion. Both are needed in practice: html alone still left window.scrollX movable via wheel input in testing. */
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--white); color:var(--black);
  padding:12px 20px; z-index:200; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  /* How far the nav row spreads apart around a hovered item. Declared here,
     on the common ancestor, because the dropdown needs the same number: its
     panel aligns to the trigger's SHIFTED position, which is where the word
     actually sits while the panel is open. .nav-dropdown is a sibling of
     .header-inner, so declaring it on .main-nav would not reach it. */
  --nav-hover-shift:10px;
  /* was a linear-gradient scrim (black 85% at top fading to transparent) —
     removed per explicit direction, this was reading as an unwanted
     "vignette" always present at the very top of the page (Hero, Cases,
     with the menu open, everywhere), same complaint as the debug-grid fix
     above. background left unset: body is already solid black, so no
     gradient/scrim is needed for contrast against the nav.
     backdrop-filter:blur removed earlier per explicit direction.
     It does get a black background in one state — while the compact nav is
     manually expanded (see body.nav-compact-expanded below) — and that one
     is faded in rather than switched on, so the backing arrives with the
     nav sliding back out instead of snapping in ahead of it. Declared here
     on the base rule so the fade runs in both directions. */
  background:transparent;
  transition:background .6s cubic-bezier(.4,0,.2,1);
}
@media (prefers-reduced-motion:reduce){
  .site-header{ transition:none; }
}
.header-inner{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; column-gap:24px;
  padding-top:28px; padding-bottom:28px;
  /* clips .main-nav's compact-scroll slide-out at this element's own right
     edge — which is also the content grid's right edge, since
     .header-inner carries the .wrap class (max-width:var(--grid-width),
     same width/centering as .debug-grid). See the "Compact header on
     scroll" rules below for why this needs to be a hard clip rather than
     an opacity fade. */
  overflow:hidden;
}
.header-inner .logo{ justify-self:start; }
.header-inner .main-nav{ justify-self:center; }
.header-inner .nav-toggle{ justify-self:end; }
.logo{
  display:inline-flex; align-items:center; color:var(--white);
}
.logo-mark{ height:40px; width:auto; max-width:none; flex:none; }
/* Wordmark height kept proportional to the mark, matching their relative
   size in Logo_new.svg (mark 42.5 tall, text 21.5 tall in that file's own
   units): 40px * 21.5/42.5 = 20.24px. Don't set both to 40px independently
   — that stretches the text to match the icon's height instead of the
   text's own, smaller, design size. */
.logo-text-clip{
  height:20.24px; width:auto; margin-left:14px; flex:none;
  display:flex; align-items:center;
  overflow:hidden;
}
.logo-wordmark{
  display:block; height:20.24px; width:auto; max-width:none; flex:none;
  opacity:0;
  transform:translateY(140%);
  transition:transform .6s cubic-bezier(.4,0,.2,1), opacity .6s cubic-bezier(.4,0,.2,1);
}
.logo:hover .logo-wordmark,
.logo:focus-visible .logo-wordmark{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion:reduce){
  .logo-wordmark{ transition:none; }
}
.main-nav{ display:flex; align-items:center; gap:clamp(20px,3vw,48px); }
.nav-item{ position:relative; display:inline-flex; align-items:center; }
.nav-dot{
  position:absolute; left:-8px; top:50%;
  width:6px; height:6px; border-radius:50%; background:currentColor;
  opacity:0;
  transform:translateY(calc(-50% + 12px));
  transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .35s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.main-nav a{
  font-family:var(--font-display-bold); font-weight:700; font-size:18px; line-height:1;
  white-space:nowrap; /* "Über uns" brach auf dem Tablet quer (1024px) in zwei Zeilen um */
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
/* hovering/focusing any single item shows its dot (pure Y motion, unaffected by any link shift) */
.nav-item:hover .nav-dot,
.nav-item:focus-within .nav-dot{
  opacity:1;
  transform:translateY(-50%);
}
/* the dot sits just left of the hovered item: earlier items move further left,
   the hovered item and everything after it move right — spreading apart from the dot */
.nav-item:has(~ .nav-item:hover) a,
.nav-item:has(~ .nav-item:focus-within) a{
  transform:translateX(calc(-1 * var(--nav-hover-shift)));
}
.nav-item:hover a,
.nav-item:hover ~ .nav-item a,
.nav-item:focus-within a,
.nav-item:focus-within ~ .nav-item a{
  transform:translateX(var(--nav-hover-shift));
}
/* While the dropdown is open its trigger keeps the hover choreography — the
   dot stays lit and the neighbours stay spread — even though the pointer has
   moved off the item and down into the panel. Without this the whole row
   would snap back the moment the mouse crossed the gap. */
.nav-item--has-dropdown.is-open .nav-dot{ opacity:1; transform:translateY(-50%); }
.nav-item:has(~ .nav-item.is-open) a{ transform:translateX(calc(-1 * var(--nav-hover-shift))); }
.nav-item.is-open a,
.nav-item.is-open ~ .nav-item a{ transform:translateX(var(--nav-hover-shift)); }
@media (prefers-reduced-motion:reduce){
  .main-nav a, .nav-dot{ transition:none; }
}

/* ---------- Header: "Kostenlose Analyse" (fixed menu item) ----------
   A solid white pill at the right end of the header, on every page and in
   both header states. In the compact state the burger slides in to its
   right; until then the burger is clipped out of .header-inner and the pill
   takes its place flush against the grid edge (negative margin = burger
   width + gap), then eases left to make room. Target: analyse.html. */
.header-actions{ justify-self:end; display:flex; align-items:center; gap:18px; }
.nav-cta{
  display:inline-flex; align-items:center; height:40px; padding:0 20px;
  border:1px solid var(--white); border-radius:999px;
  background:var(--white); color:var(--black);
  font-family:var(--font-display-bold); font-weight:700; font-size:15px; line-height:1; white-space:nowrap;
  transition:background-color .3s, color .3s, margin .8s cubic-bezier(.4,0,.2,1);
}
.nav-cta:hover, .nav-cta:focus-visible{ background:var(--black); color:var(--white); }
.nav-cta[aria-current="page"]{ background:var(--black); color:var(--white); }
@media (min-width:861px){
  .header-actions .nav-cta{ margin-right:-60px; }   /* 42px burger + 18px gap */
  body.nav-compact .header-actions .nav-cta{ margin-right:0; }
}
@media (max-width:860px){
  .header-actions .nav-cta{ display:none; }        /* phones: in the menu sheet instead */
}
.mobile-nav a.mobile-nav-cta{
  margin:5vw 6vw 2vw; padding:4vw 6vw; border:0; border-radius:999px;
  background:var(--black); color:var(--white); text-align:center;
}

/* ---------- Services dropdown (desktop) ----------
   Anchored to .site-header rather than to the nav item itself — see the HTML
   comment above this panel for why it can't live inside .header-inner.
   --nav-dropdown-x is written by js/main.js from the Services item's offset,
   recomputed on resize and once the webfont has loaded (the item shifts as
   the fallback font is swapped out).
   Opening is JS-driven with a short grace period rather than a pure :hover
   chain: there is a real gap between the nav text and the panel (the
   header's own bottom padding), and bridging it with an invisible hit area
   would sit on top of the trigger and swallow clicks on it. */
.nav-dropdown{
  /* --nav-dropdown-x is the trigger's own left edge. The panel is shifted
     left of it by exactly its own inner inset (border + panel padding + the
     links' dot indent) so that the sub-item TEXT starts on the same vertical
     line as "Services" above it, while the panel box itself still has its
     breathing room. Expressed as variables rather than one magic number so
     the alignment survives a change to either padding. */
  --nav-dropdown-pad-x:1.4vw;
  --nav-dropdown-dot:0.9vw;
  position:absolute; top:100%;
  /* + the hover shift: --nav-dropdown-x is measured from the item's resting
     box, but while the panel is open the trigger's own text is shifted right
     by that amount (see .main-nav above), and it is the visible word the
     sub-items have to line up with. */
  left:calc(var(--nav-dropdown-x, 0px) + var(--nav-hover-shift) - var(--nav-dropdown-pad-x) - var(--nav-dropdown-dot) - 1px);
  z-index:99;
  padding-top:10px; /* visual offset from the header edge, not a hit area */
  visibility:hidden; pointer-events:none;
  transition:visibility 0s linear .3s;
}
.nav-dropdown-inner{
  display:flex; flex-direction:column;
  padding:1vw var(--nav-dropdown-pad-x);
  background:var(--black);
  border:1px solid rgba(255,255,255,.25);
  border-radius:0.3125vw;
  opacity:0; transform:translateY(-8px);
  transition:opacity .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown a{
  position:relative;
  padding:0.5vw 0 0.5vw var(--nav-dropdown-dot);
  /* same family and size as the nav item above, separated from it by weight
     alone: 300 is the Light face of ES Klarheit Kurrent (see fonts/stylesheet.css). */
  font-family:var(--font-display-bold); font-weight:400; font-size:18px; line-height:1.2;
  color:var(--white); white-space:nowrap;
  transition:transform .3s cubic-bezier(.4,0,.2,1);
}
/* same dot-and-slide vocabulary as the nav row above it */
.nav-dropdown a::before{
  content:""; position:absolute; left:0; top:50%;
  width:5px; height:5px; border-radius:50%; background:currentColor;
  opacity:0; transform:translateY(calc(-50% + 6px));
  transition:transform .3s cubic-bezier(.4,0,.2,1), opacity .3s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible{ transform:translateX(6px); }
.nav-dropdown a:hover::before,
.nav-dropdown a:focus-visible::before{ opacity:1; transform:translateY(-50%); }
body.nav-dropdown-open .nav-dropdown{
  visibility:visible; pointer-events:auto;
  transition:visibility 0s linear 0s;
}
body.nav-dropdown-open .nav-dropdown-inner{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){
  .nav-dropdown-inner, .nav-dropdown a, .nav-dropdown a::before{ transition:none; }
}
/* Menu icon design from Figma node 337:2318 ("menu" component,
   Property 1=default/hover/active), same file as the header animation
   above — scaled down (×0.406) from its 120px-square reference to match
   this button's existing ~26px bar size instead of the Figma frame's own
   much larger scale.
   default: bars left-aligned, middle bar shorter (26/22/26px) — a small
   asymmetric notch on the right, not a plain even hamburger.
   hover/focus: bars right-align into a descending "staircase" (per the
   attached reference) — right edge of every bar lands on the same x
   (26px): bar 2 shifts right 4px + shrinks to 22px (4+22=26), bar 3
   shifts right 9px + shrinks to 17px (9+17=26).
   BUG FIXED: this previously used the *unscaled* Figma left-offset deltas
   (11px/22px) as margin-left while the widths WERE scaled (×0.406) — two
   different scales on the two properties meant the right edges marched
   further right with each bar instead of converging, so the hover shape
   didn't taper inward like the reference at all. margin-left now uses
   the same 0.406 scale as the widths, so right edges actually line up.
   active (menu open — hooked off the aria-expanded state js/main.js
   already sets, no extra class needed): classic hamburger→X, middle bar
   fades out, top/bottom bars translate to center and rotate ±45deg. */
.nav-toggle{
  display:none; flex-direction:column; align-items:flex-start; gap:6px; padding:8px;
  background:none; border:0; cursor:pointer;
}
.nav-toggle span{
  height:2px; background:var(--white); display:block;
  transition:width .3s cubic-bezier(.4,0,.2,1), margin-left .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), opacity .3s cubic-bezier(.4,0,.2,1);
}
.nav-toggle span:nth-child(1){ width:26px; }
.nav-toggle span:nth-child(2){ width:22px; }
.nav-toggle span:nth-child(3){ width:26px; }
.nav-toggle:hover span:nth-child(2),
.nav-toggle:focus-visible span:nth-child(2){ margin-left:4px; }
.nav-toggle:hover span:nth-child(3),
.nav-toggle:focus-visible span:nth-child(3){ margin-left:9px; width:17px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ width:26px; margin-left:0; transform:translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ width:26px; margin-left:0; transform:translateY(-8px) rotate(-45deg); }
@media (prefers-reduced-motion:reduce){
  .nav-toggle span{ transition:none; }
}
/* Mobile menu panel — a white sheet that drives up ("auffährt") out of the
   bottom bar rather than the old dark dropdown pinned under the header.
   Geometry is deliberately the bar's: same left/right inset, and its bottom
   edge sits exactly on the bar's top edge, so open they read as one
   continuous white surface with the burger (now an X) at its foot. It runs
   all the way up to the top of the screen, keeping the same distance there
   as the bar keeps to the bottom edge — inset + the matching safe-area
   inset on each side, so a notch or home indicator can't cut into it.
   Closed it is parked a full panel height + the whole bar block below the
   viewport, so nothing of it can peek out past the bar's bottom inset.
   display can't be toggled (that kills the transition), so visibility does
   the a11y/tab-order job instead, delayed until the slide finishes on close.
   Lives outside any media query: the panel is only ever reachable at ≤860px,
   where .mobile-bar-toggle is the sole control that opens it. */
.mobile-nav{
  position:fixed; z-index:89;
  left:var(--mobile-bar-inset); right:var(--mobile-bar-inset);
  top:calc(var(--mobile-bar-inset) + env(safe-area-inset-top));
  bottom:calc(var(--mobile-bar-bottom) + var(--mobile-bar-h) + env(safe-area-inset-bottom));
  display:flex; flex-direction:column;
  /* "safe" so that if the open accordion ever makes the list taller than the
     panel, the overflow spills downward (scrollable) instead of centring and
     pushing the first entries above the top edge, out of reach. Browsers
     without it fall back to the plain centring on the line above. */
  justify-content:center;
  justify-content:safe center;
  background:var(--white);
  /* full-height now, so it can outgrow the screen on a short viewport —
     scroll inside itself, and don't chain that scroll to the page behind. */
  overflow-y:auto; overscroll-behavior:contain;
  transform:translateY(calc(100% + var(--mobile-bar-h) + var(--mobile-bar-bottom) * 2 + env(safe-area-inset-bottom)));
  visibility:hidden; pointer-events:none;
  transition:transform .55s cubic-bezier(.4,0,.2,1), visibility 0s linear .55s;
}
body.nav-open .mobile-nav{
  transform:translateY(0);
  visibility:visible; pointer-events:auto;
  transition:transform .55s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
.mobile-nav a,
.mobile-nav-sub-toggle{
  padding:5vw 6vw;
  border-bottom:1px solid rgba(0,0,0,.12);
  font-family:var(--font-display-bold); font-weight:700; font-size:6vw; line-height:1.2;
  color:var(--black);
}
.mobile-nav > a:last-child{ border-bottom:0; }

/* Services accordion — the touch counterpart of the desktop hover panel.
   The open/close height is animated with grid-template-rows 0fr -> 1fr
   (the inner wrapper needs min-height:0 for that to collapse fully), which
   transitions smoothly without having to measure the content in JS. */
.mobile-nav-sub-toggle{
  display:flex; align-items:center; justify-content:space-between; gap:4vw;
  width:100%; text-align:left;
  background:none; border:0; border-bottom:1px solid rgba(0,0,0,.12);
  cursor:pointer;
}
/* The slider controls' own arrow, without the disc it normally sits on —
   images/arrow-chevron.svg carries that exact path, stroke width and colour,
   just with the white circle dropped and the viewBox cropped to the chevron.
   It points right in the file, so it is turned down while collapsed and up
   while expanded. 2.52 x 3.6vw keeps the asset's 0.7 aspect ratio. */
.mobile-nav-sub-icon{
  flex:none; width:2.52vw; height:3.6vw;
  background:url("../images/arrow-chevron.svg") center / contain no-repeat;
  transform:rotate(90deg);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav-sub-toggle[aria-expanded="true"] .mobile-nav-sub-icon{
  transform:rotate(-90deg);
}
.mobile-subnav{
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .4s cubic-bezier(.4,0,.2,1);
}
.mobile-nav-group.is-open .mobile-subnav{ grid-template-rows:1fr; }
.mobile-subnav-inner{ min-height:0; overflow:hidden; }
/* Flush with "Services" above them and at the same size — the level is
   carried by the weight alone (300 = the family's Light face), same as in
   the desktop panel. */
.mobile-subnav a{
  display:block;
  padding:5vw 6vw;
  font-size:6vw; font-weight:400;
}
@media (prefers-reduced-motion:reduce){
  .mobile-subnav, .mobile-nav-sub-icon{ transition:none; }
}
@media (prefers-reduced-motion:reduce){
  .mobile-nav{ transition:none; }
}
/* Solid black backdrop behind the open menu, so the page underneath is
   covered rather than showing through around the panel's frame. Declared
   permanently (transparent, click-through) rather than only under
   body.nav-open, so it has something to fade from — a pseudo-element that
   only comes into existence with the class would pop in instead. Sits
   below the panel (89) and the bar (90), above everything else. */
body::before{
  content:"";
  position:fixed; inset:0; z-index:88;
  background:var(--black);
  opacity:0; pointer-events:none;
  transition:opacity .55s cubic-bezier(.4,0,.2,1);
}
body.nav-open::before{ opacity:1; }
@media (prefers-reduced-motion:reduce){
  body::before{ transition:none; }
}

/* Scroll lock while the menu is open. overflow:hidden on <body> alone is not
   enough — iOS Safari keeps scrolling the page behind a fixed overlay
   regardless — so js/main.js takes the page out of the scroll flow entirely
   (position:fixed) and pins it at the offset it was on via an inline `top`,
   restoring both when the menu closes. The fixed .mobile-bar / .mobile-nav
   are positioned against the viewport and so are unaffected. */
body.scroll-locked{
  position:fixed;
  left:0; right:0; width:100%;
  overflow:hidden;
  overscroll-behavior:none;
}

/* ---------- Compact header on scroll (desktop) ----------
   Figma prototype node 248:496 / component 334:2271 (variants "active=no"
   / "active=yes"): the nav links slide out to the right (clipped by their
   own wrapper's overflow) while a burger icon slides in from the right at
   the same time — a horizontal swap, not a fade. The prototype triggers
   it on click; per explicit follow-up direction this instead triggers
   once the page has been scrolled down one full viewport (js/main.js
   toggles body.nav-compact past window.innerHeight). Clicking the burger
   still opens the existing .mobile-nav overlay (same element/handler
   already used at the ≤860px breakpoint below) — the prototype's own
   open-menu panel design wasn't part of the node shared here, so this
   reuses what's already built rather than guessing at a new one.
   Scoped to min-width:861px so the existing ≤860px mobile behavior
   (nav-toggle always visible, main-nav always hidden) is untouched. */
@media (min-width:861px){
  .nav-toggle{
    display:flex; /* was just "none" above — must actually render (not display:none) to be transitionable */
    pointer-events:none;
    /* was opacity:0 + translateX(24px) — same issue as .main-nav below: a
       24px offset barely clears the button's own 42px width, so it was
       opacity doing the actual hiding, not the clip, and would've shown a
       sliver of icon peeking past the grid edge if opacity were removed.
       nav-toggle already rests flush against .header-inner's right edge
       (justify-self:end in the grid — verified live: its right edge
       exactly equals .header-inner's), so any offset past its own width
       (42px) is enough to fully exit the overflow:hidden clip; 60px
       leaves a safe margin. Per explicit direction, no opacity here
       either — pure clip, matching .main-nav's approach. */
    transform:translateX(60px);
    transition:transform .8s cubic-bezier(.4,0,.2,1); /* was .4s — slowed down per explicit direction */
    /* own compositor layer: Safari left a stale sliver painted at the clip
       edge after the slide (gone after the next repaint, e.g. opening and
       closing the menu once) */
    will-change:transform;
  }
  .main-nav{
    will-change:transform;
    transition:transform .8s cubic-bezier(.4,0,.2,1); /* was .4s — slowed down per explicit direction; also now has much further (100vw) to travel than the old 48px, so the slower duration keeps the motion from reading as an even more abrupt snap */
  }
  body.nav-compact .main-nav{
    /* was opacity:0 + a modest translateX(48px) — that 48px never actually
       reached .header-inner's own right edge (measured live: ~277px+ gap
       at typical desktop widths, growing further on wider screens since
       .main-nav's width is font-size-fixed while .header-inner scales with
       the viewport), so it was opacity alone doing all the hiding, not a
       real clip. Per explicit direction this should be a hard mask at the
       grid's edge instead: pointer-events:none (still can't be interacted
       with while sliding out) and a translateX large enough (100vw, safely
       bigger than that gap can ever get, since .header-inner itself is
       capped at 78.9583vw) to guarantee it fully exits .header-inner's
       overflow:hidden boundary — see that rule above. No opacity at all:
       .header-inner's clip is what hides it, cutting off hard exactly at
       the grid edge as it slides past, not fading. */
    pointer-events:none;
    transform:translateX(100vw);
    /* and switched off once it has slid out: in Safari a sliver of the row
       (the edge of a nav dot) stayed visible right at the clip edge, next
       to the burger */
    visibility:hidden; opacity:0;
    transition:transform .8s cubic-bezier(.4,0,.2,1), visibility 0s linear .8s, opacity 0s linear .8s;
  }
  body.nav-compact .nav-toggle{
    pointer-events:auto;
    transform:translateX(0);
  }
  /* Manual un-collapse (nav-toggle clicked while nav-compact is on): the
     nav row slides back to its normal position on top of nav-compact's
     hidden state, and the toggle stays put — its burger→X morph is just
     the existing [aria-expanded="true"] rule below, reused as-is. */
  body.nav-compact.nav-compact-expanded .main-nav{
    pointer-events:auto;
    transform:translateX(0);
    visibility:visible; opacity:1;
    transition:transform .8s cubic-bezier(.4,0,.2,1), visibility 0s, opacity 0s;
  }
  /* Solid backdrop while manually expanded: .site-header itself has no
     background (removed earlier per explicit direction, since the body
     is solid black everywhere else) — but here the sticky header is
     deliberately being re-opened over content that's already scrolled
     underneath it, so the reappeared nav text needs an opaque backing to
     stay legible against whatever that content is. */
  body.nav-compact-expanded .site-header{
    background:var(--black);
  }
  @media (prefers-reduced-motion:reduce){
    .nav-toggle, .main-nav{ transition:none; }
  }
}

@media (max-width:860px){
  .main-nav{ display:none; }
  /* was display:flex — the burger's job at this breakpoint now belongs to
     .mobile-bar-toggle in the fixed bottom bar (see ".mobile-bar" below),
     so the header's own copy stays out of the way instead of doubling up. */
  .nav-toggle{ display:none; }
}

/* ---------- Hero: top line + headline ----------
   Figma node 497:1572 (3840px reference), converted to vw:
   bullet 22px -> 0.5729vw, gap 42px -> 1.0938vw, top-line 38px -> 0.9896vw
   headline 292px -> 7.6042vw, tracking 2.92px -> 0.076vw */
.hero{ padding-top:clamp(16px, 2.5vw, 56px); padding-bottom:clamp(24px, 3vw, 60px); } /* both reduced so the Cases slider sits higher on first paint */
.eyebrow{
  display:flex; align-items:center; gap:1.0938vw;
  font-family:var(--font-display); font-weight:400; font-size:0.9896vw;
  color:var(--white); margin:0 0 1.2vw; /* was 1.8vw — tightened so the slider below reaches further into the viewport */
  white-space:nowrap;
}
.eyebrow-dot{ width:6px; height:6px; border-radius:50%; background:var(--white); flex:none; }
.hero-title{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700; text-transform:uppercase;
  font-size:7.6042vw; line-height:0.95; letter-spacing:0.076vw; /* line-height was 1.1 — the three rows set solid read as one block and free up ~55px */
}
.hero-row{ display:block; white-space:nowrap; }
.hero-outline{ color:transparent; -webkit-text-stroke:0.04vw var(--white); } /* was 0.026vw — thickened per direction */
.hero-fill{ color:var(--white); }

/* ---------- Slider controls ----------
   Figma node 197:934 (btn-slider, 109.22px @ 3840px ref -> 2.8443vw),
   arranged per node 497:1580 (32px gap -> 0.8333vw). Base = white circle
   + dark arrow (images/slider-hoverfalse.svg, always shown). The hover
   state (images/slider-hovertrue.svg) only adds a thin ring on top of the
   same base — so instead of swapping images, the ring is a separate layer
   that fades/scales in on hover, "smart animating" between the two Figma
   states with a real CSS transition. */
.slider-section{ padding-top:clamp(16px, 2vw, 40px); padding-bottom:clamp(40px, 6vw, 120px); }
.slider-controls{ display:flex; align-items:center; gap:0.8333vw; }
.slider-btn{
  position:relative; flex:none;
  width:2.8443vw; height:2.8443vw; min-width:36px; min-height:36px;
  border-radius:50%; border:0; padding:0; background:none;
}
.slider-btn--prev{ transform:rotate(180deg); }
.slider-btn-base,
.slider-btn-ring{
  position:absolute; inset:0; width:100%; height:100%; display:block;
}
.slider-btn-ring{
  opacity:0; transform:scale(.85);
  transition:opacity .35s cubic-bezier(.4,0,.2,1), transform .35s cubic-bezier(.4,0,.2,1);
}
.slider-btn:hover .slider-btn-ring,
.slider-btn:focus-visible .slider-btn-ring{
  opacity:1; transform:scale(1);
}
@media (prefers-reduced-motion:reduce){
  .slider-btn-ring{ transition:none; }
}

/* ---------- Cases carousel ----------
   Figma node 497:1580 (3840px reference), converted to vw, then scaled
   down another x0.85: small slot 21.759 x 19.922vw, large slot
   25.013 x 24.349vw. title/tags 62px -> 1.6146vw, column gap 72px -> 1.875vw,
   row gap ~40px -> 1.0417vw.
   Endless loop, rebuilt on a transform-only architecture: js/main.js lays
   out the 4 cases several times in a row inside .cases-track-inner (DOM
   order never changes) and moves that whole strip with a single
   translateX on the inner element — no scrollLeft, no JS-driven frame
   loop. .cases-track just clips (overflow:hidden); its coordinate origin
   (local x=0) sits at padding-left:var(--grid-margin), i.e. column 1's
   start.
   The active item's left edge is anchored, in JS, to local x =
   var(--active-col-offset) — column 4's start, not column 1 — via
   activeColOffsetPx() in js/main.js. .case-active-title is positioned at
   the *same* offset below, so it always lines up with the active slide.
   Note: `left` on an absolutely positioned element is measured from its
   containing block's padding EDGE, which ignores .cases-header's own
   padding-left entirely — that's why the title's `left` has to add
   var(--grid-margin) back in explicitly, even though .cases-track gets
   that same distance "for free" as normal-flow padding.
   Item width/height and the strip's translateX all share the same
   transition (.5s cubic-bezier(.4,0,.2,1)), so they move in lockstep and
   the active slide's edge never lags behind the title or overshoots it. */
.cases-header{
  position:relative;
  display:flex; align-items:center;
  min-height:2.8443vw;
  margin-bottom:clamp(16px, 2vw, 40px);
  padding-left:var(--grid-margin);
}
.case-active-title{
  position:absolute; left:calc(var(--grid-margin) + var(--active-col-offset)); top:50%;
  transform:translateY(-50%);
  margin:0; font-family:var(--font-display); font-weight:400; font-size:1.6146vw; color:var(--white);
  white-space:nowrap;
}
.cases-track{
  overflow:hidden;
  contain:layout paint;
  padding-left:var(--grid-margin);
  padding-bottom:clamp(16px, 2vw, 40px);
}
/* phones: the strip takes horizontal swipes (js/main.js), the page keeps
   vertical scrolling */
@media (max-width:860px){ .cases-track{ touch-action:pan-y; } }
.cases-track-inner{
  display:flex; align-items:center; gap:1.0417vw;
  will-change:transform;
  transition:transform .5s cubic-bezier(.4,0,.2,1);
}

.case-item{
  flex:0 0 auto;
  width:21.759vw; min-width:190px;
  display:flex; flex-direction:column; gap:1.875vw;
  will-change:width;
  transition:width .5s cubic-bezier(.4,0,.2,1);
}
.case-media{
  width:100%; height:19.922vw; min-height:170px;
  border-radius:0.625vw; overflow:hidden; background:var(--black);
  will-change:height;
  transition:height .5s cubic-bezier(.4,0,.2,1);
}
.case-media img{ width:100%; height:100%; object-fit:cover; display:block; }
a.case-media{ display:block; color:inherit; }
.case-tags{
  /* One step down from the title's 1.6146vw by the golden ratio (÷1.618),
     and switched off the SmBd family (which only has a single, always-
     semibold face regardless of font-weight) onto the family that actually
     has a Regular/400 face, for a visibly less bold look. */
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:0.9979vw; line-height:1.2; color:var(--white);
  opacity:0; transition:opacity .3s ease;
}
.case-tags span{ display:block; }
.case-item.is-large{ width:25.013vw; min-width:230px; }
.case-item.is-large .case-media{ height:25.32vw; min-height:198px; } /* minimal bump from 24.349vw/190px */
.case-item.is-large .case-tags{ opacity:1; }

@media (prefers-reduced-motion:reduce){
  .case-item, .case-media, .cases-track-inner{ transition:none; }
}

/* ---------- Prozess ----------
   Figma node 512:1531 (3840px reference) for the base sizes; the curve
   geometry below was re-derived from the user's own Figma PROTOTYPE
   (node 525:1565 and its sibling delay-cycled states 528:1684 / 525:1643 —
   same file). That prototype auto-advances between 3 fixed snapshots on a
   timer; the user asked for the same visual positioning but driven by
   normal scroll instead, which is what js/main.js does continuously.
   Reverse-engineered from the prototype's raw node geometry (all 3 states
   share one identically-placed ellipse, confirming the circle itself never
   moves — only which items are "in view" changes):
     ellipse (the circle): x=-3593 y=-1282 width=4725 height=4725, on the
     3840px-wide reference frame → radius=2362.5px=61.523vw, its LEFT edge
     at -93.568vw (so its center sits at -32.044vw — off-screen left, NOT
     centered on the window edge like an earlier iteration assumed).
     Each item has a small "dash" connector rectangle (#d9d9d9, 296×38px)
     whose LEFT edge sits exactly on the circle's curve (verified against
     all 3 snapshots to within ~1px on 4 of 6 sampled points) and whose
     RIGHT edge is exactly where that item's number+text content starts —
     i.e. the dash IS the gap, literal width 296px=7.708vw. Confirms the
     original per-item formula (x = circleEdgeX + gap, where circleEdgeX
     solves the circle equation for that item's dy from viewport center)
     was structurally right — only the constants (radius/left-offset/gap)
     were guessed too small/wrong before this reference existed.
   That prototype-accurate radius (61.523vw) turned out too large to read
   as *motion* during real scrolling, though: the Figma mockup shows its
   swing by placing 3 items far apart on one tall canvas (up to ~1700px of
   vertical distance from the circle's center), which a single real
   viewport never spans — at a normal viewport height the same formula
   with that radius only swings items by a few vw, so they barely visibly
   "run" past the circle at all. Per explicit follow-up direction ("die
   Punkte rechts neben dem Kreis laufen lassen"), the radius (and its
   matching left-offset, recentring the circle at x=0 — its rightmost
   point — instead of the prototype's off-screen-left center) were tuned
   down from the prototype-exact value specifically to make that swing
   clearly visible within one real scroll pass, while keeping every other
   prototype-derived detail (the dash connector, its width-as-gap, the
   number+text flex row) unchanged.
   RADIUS_VW / CIRCLE_LEFT_VW / GAP_VW in js/main.js must stay equal to
   --process-radius / --process-circle-left / --process-gap here.
   The circle is sticky-pinned vertically centered in the viewport
   (position:sticky on .process-circle-wrap) while .process-list scrolls
   past it in normal in-flow document scroll — no scroll-jacking.
   IMPORTANT: nothing between .process-circle-wrap and the page's real
   scroll root may have `overflow` set to anything other than `visible` —
   that's what makes position:sticky work here — so the circle's own
   left-bleed is clipped on .process-circle-wrap itself (the sticky element,
   clipping itself is fine), not on .process, which stays overflow:visible.
   Number font is spec'd "Medium" in Figma, which isn't among the four
   weights we have (Light/Regular/SemiBold/Bold) — substituted SemiBold
   (var(--font-display)) as the closest available weight; swap in a real
   Medium woff2 in fonts/ if the client provides one. */
.process{
  --process-radius:32vw;      /* circle radius — must match RADIUS_VW in js/main.js. Tuned down from the prototype-exact 61.523vw for visible swing during real scroll — see the comment above. */
  --process-circle-left:-32vw; /* circle's left edge offset — must match CIRCLE_LEFT_VW in js/main.js. Equal to -1*radius, so the circle's center sits at x=0 (the window's left edge) and its rightmost bulge reaches exactly --process-radius into the viewport. */
  --process-gap:7.708vw;          /* circle-to-content gap — must match GAP_VW in js/main.js */
  --process-num-gap:1.5625vw;     /* gap between the number and the text block, 60px on the 3840px reference */
  display:grid; /* circle-wrap and content stacked in the same cell (grid-area 1/1) instead of one pushing the other down — .process's own height is set by the taller one (content), and the shorter one (100vh circle wrap) scrolls/sticks within that shared space */
}
.process-circle-wrap{
  grid-area:1/1;
  position:sticky; top:0; height:100vh; width:100%;
  overflow:hidden;
  display:flex; align-items:center;
  pointer-events:none; z-index:0;
}
.process-circle{
  /* was a plain div with border-radius:50% + border — swapped for an SVG
     <circle> so the outline can be "drawn" with stroke-dasharray/
     stroke-dashoffset, animated live in js/main.js as the user scrolls
     through the section (see the JS comment near RADIUS_VW). Same
     width/height/margin-left positioning trick as before (only the
     rightmost bulge of the circle is ever actually visible — see the
     --process-circle-left comment on .process above), just on an <svg>
     instead of a <div> now. overflow:visible isn't needed since the
     circle sits exactly on the SVG's own edges (r=49.95 in a 0 0 100 100
     viewBox, i.e. barely inset for the stroke). */
  display:block;
  width:calc(var(--process-radius) * 2); height:calc(var(--process-radius) * 2);
  margin-left:var(--process-circle-left);
  flex:none;
  overflow:visible;
}
.process-circle-path{
  fill:none;
  stroke:var(--white);
  stroke-width:0.05; /* ~1px at the 3840px reference width, expressed in the SVG's own 100-unit viewBox instead of vw — thinned twice now from the original 0.1 (~2px) along with the site's other white strokes */
  /* circumference of r=49.95 in the 100-unit viewBox = 2 * PI * 49.95 ≈
     313.85 — dasharray set to exactly that so the stroke is one
     unbroken lap with no gap; dashoffset is driven live by js/main.js
     from 313.85 (fully hidden) down to 0 (fully drawn) as scroll
     progress moves through the Prozess section, --process-draw is just
     the live hook JS writes to instead of touching stroke-dashoffset
     directly so the CSS keeps ownership of the actual property. Starts
     at the top (rotate -90deg) and draws clockwise, so the visible
     right-hand bulge — top-right through to bottom-right — is exactly
     the first half of the draw; the invisible left half (off-screen)
     draws during the back half of the scroll. */
  stroke-dasharray:313.85;
  stroke-dashoffset:var(--process-draw, 313.85);
  transform:rotate(-90deg);
  transform-origin:50% 50%;
}
@media (prefers-reduced-motion:reduce){
  .process-circle-path{ stroke-dashoffset:0; }
}
.process-content{
  grid-area:1/1;
  position:relative; z-index:1;
}
.process-fade{
  /* was position:absolute;inset:0 *inside* .process-content, with gradient
     stops tuned as a fraction of the WHOLE section's (multi-thousand-px)
     scroll height — meaning it only ever faded in at the very start of
     the section and out at the very end, hard-cutting at the viewport's
     own top/bottom edges for the entire middle of the scroll. Made it
     sticky+100vh instead so it reads as a vignette at every scroll
     position — but a sticky box still occupies space in normal flow
     (unlike absolute), so leaving it nested inside .process-content added
     a full spurious 100vh of dead space before .process-list even
     started. Fixed by moving it OUT to be a direct child of .process,
     grid-area:1/1 alongside .process-circle-wrap and .process-content —
     same trick that already lets the circle-wrap sit at 100vh without
     adding flow height: siblings sharing one grid cell don't stack their
     heights, the row is just sized by the tallest (.process-content). */
  grid-area:1/1;
  position:sticky; top:0; height:100vh; width:100%;
  z-index:2; pointer-events:none;
  background:linear-gradient(180deg, var(--black) 0%, transparent 18%, transparent 82%, var(--black) 100%);
  mix-blend-mode:multiply;
  /* hidden until js/main.js confirms the circle is actually stuck to the
     viewport top (i.e. the section has genuinely been scrolled to) — see
     the JS comment above ".process-circle-wrap"/".process-fade". Without
     this, the fade's own top-black band could already be visible the
     moment the section first peeks up from below, while Cases was still
     also on screen above it — not literally darkening Cases (verified:
     toggling this element off changed nothing there), but reading as the
     vignette showing up too soon. */
  opacity:0;
  transition:opacity .4s cubic-bezier(.4,0,.2,1);
}
.process-fade.is-visible{ opacity:1; }
@media (prefers-reduced-motion:reduce){
  .process-fade{ transition:none; }
}
/* Überschrift im Kreis (js/process-head.js): ein weiterer sticky Layer in
   derselben Grid-Zelle wie Kreis und Liste. Sie sitzt links im Inneren des
   Kreises, auf Höhe seiner Mitte – dort ist der Bogen am weitesten weg, die
   Schritte laufen außen vorbei und kreuzen die Spalte (10.52–28.5vw) nie in
   dieser Höhe. Sichtbarkeit folgt dem Zeichnen des Kreises (--ph-o). */
.process-head{
  grid-area:1/1;
  position:sticky; top:0; height:100vh; width:100%;
  display:flex; align-items:center;
  pointer-events:none; z-index:1;
  opacity:var(--ph-o, 0);
}
.process-head-inner{ padding-left:10.5208vw; max-width:28.5vw; box-sizing:border-box; }
.process-head-kicker{
  margin:0 0 .9vw; display:flex; align-items:center; gap:.599vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:.8247vw; letter-spacing:.08em; text-transform:uppercase; color:var(--white);
}
.process-head-kicker::before{ content:""; width:.4688vw; height:.4688vw; border-radius:50%; background:var(--white); }
.process-head-title{
  margin:0; font-family:var(--font-display); font-weight:400;
  font-size:2.6vw; line-height:1.1; color:var(--white);
}
.process-head-count{
  margin:1.6vw 0 0; display:flex; align-items:baseline; gap:.5vw;
  font-family:var(--font-display); font-weight:400; color:var(--white);
}
.process-head-now{
  display:inline-block; font-size:2.6vw; line-height:1;
  transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
}
.process-head-now.is-swap{ transform:translateY(-.4em); opacity:0; transition:none; }
.process-head-of{ font-size:1.0938vw; opacity:.5; }
.process-head-ring{ display:none; }
@media (prefers-reduced-motion:reduce){ .process-head-now{ transition:none; } }
.process-list{
  position:relative; margin:0; padding:50vh 0 30vh; list-style:none;
  display:flex; flex-direction:column; gap:9.74vw;
  /* padding-top: was 100vh (a full viewport of empty scroll before "01"
     even starts flying in) — reduced to 50vh per explicit direction so
     less scrolling between Hero/Cases and here is needed before something
     happens, while still leaving "01" below the fold at section-start so
     it flies in from below rather than already being in place (see the
     "01" fix this replaces the exact number from).
     padding-bottom: was 100vh (mirroring the old top value), giving "05"
     a full viewport of centered time before the section released — that
     same 100vh, plus Team's own top padding on top of it, is what made
     the Prozess→Team gap read as an oversized dead scroll once Team was
     added below. Reduced to 30vh per explicit direction ("näher dran an
     die vorherige Section") — still enough for 05's curve animation to
     finish and hold briefly before Team starts, just not a full empty
     viewport of it.
     gap doubled (was 4.87vw) per earlier explicit direction for more
     breathing room between steps. */
}
.process-item{
  position:relative;
  display:flex; align-items:center; gap:var(--process-num-gap); /* number + text side by side, vertically centered on each other — matches the prototype's flex row (previously the number was absolutely positioned with a fixed offset on the text, a rougher approximation) */
  transform:translateX(var(--item-x, 39.708vw)); /* --item-x is set live by js/main.js; 39.708vw (the max possible reach, i.e. an item exactly at the viewport's vertical center) is just the pre-JS/first-paint fallback */
  will-change:transform;
}
/* .process-item::before (the gray connector dash/pill between the circle's
   curve and each number) removed per explicit direction. */
.process-number{
  flex:none;
  font-family:var(--font-display); font-weight:400; font-size:11.0417vw; line-height:1; color:var(--white);
}
.process-text{
  position:relative; max-width:30.339vw;
  display:flex; flex-direction:column; gap:1.1719vw;
}
.process-text h3{
  margin:0; font-family:var(--font-display); font-weight:400; font-size:1.6146vw; line-height:1.2; color:var(--white);
}
.process-text p{
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:1.6146vw; line-height:1.2; color:var(--white);
  opacity:.8;
}

/* ---------- Team ----------
   Figma node 539:1879 (3840px reference, same conversion as everywhere
   else: vw = px/3840*100). The frame's own x=404 exactly equals
   --grid-margin, i.e. it's left-aligned to the content grid's left edge —
   same as .wrap — so every child position below is just that child's
   Figma x/y converted straight to vw and used as left/top from .wrap's
   own origin, no extra offset needed.
   Circles are a scattered/organic arrangement (not a grid), so absolute
   positioning per member is the only faithful way to reproduce it —
   mirrors the technique already used for .process-item's curve, just
   static instead of scroll-driven.
   Each member's photo is a plain circle (border-radius:50% + object-fit
   cover, no CSS mask needed — the source design uses an SVG alpha mask
   for the same circular clip, which border-radius already achieves
   directly). Name/role/contact icons are hidden until hover — confirmed
   from Figma: a plain screenshot of the resting "Mask group/false"
   component shows only the bare photo, no visible text or icons, so
   the reveal-on-hover behavior in the reference code's opacity-0 "txt"
   layer is the real default state, not just an export artifact.
   Mail/phone icons (images/mail.svg, images/phone.svg) are hand-drawn
   standins, not exact exports: the Figma asset CDN wasn't reachable from
   this environment (both direct download and the MCP's own asset-fetch
   path failed for these two specific nodes — isolated icon screenshots
   came back as degenerate 1x1 renders even though the full circle
   rendered fine), so exact bytes couldn't be pulled the way the team
   photos and other icons on this page were. They're positioned at the
   exact Figma insets regardless (top/left below match the design's own
   percentages), so swapping in the real assets later is a one-line
   change per icon if the exact files are provided.
   The bottom-right arrow (images/team-arrow.svg) is likewise hand-drawn
   from the node's own geometry (a 560.5px line + a ~211px chevron
   arrowhead, per get_metadata) rather than fetched, same reachability
   issue. */
.team{
  position:relative;
  padding:3vw 0 16vw; /* top was 8vw — reduced per explicit direction so it sits closer to Prozess above instead of leaving a big gap; bottom increased for more breathing room before the next section */
}
.team-inner{
  position:relative;
  /* was 55.5729vw (2134px frame) while a third row held one circle; the
     team now stands in two rows, so the frame ends below the arrow */
  height:49.3vw;
}
.team-heading{
  position:absolute; left:33.3333vw; top:0; width:37.7604vw; margin:0;
  font-family:var(--font-display); font-weight:400; font-size:3.3854vw; line-height:1.2;
  color:var(--white);
}
.team-member{
  position:absolute;
  width:14.7917vw; height:14.7917vw; /* 568px circle */
}
/* Thomas' Kreis (ehemals left:0 / Reihe 2) ist entfernt; die verbliebene
   Konstellation ist unveraendert, nur um 4.8958vw nach links geschoben,
   damit sie wieder mittig im Raster sitzt. */
.team-member--christian{ left:39.4792vw; top:11.1979vw; }
.team-member--sophia{ left:24.6875vw; top:11.1979vw; }
.team-member--andre{ left:32.0833vw; top:25.9896vw; }
/* Melissa stand allein in einer dritten Reihe unten links (top:40.7813vw) –
   ohne Thomas ohne Nachbarn. Jetzt in Reihe 2, gespiegelt zu Steven: links
   von Andre mit demselben Abstand, den Steven rechts von ihm hat. So stehen
   zwei oben und drei darunter, symmetrisch um die Mitte des Rasters. */
.team-member--melissa{ left:9.8958vw; top:25.9896vw; }
.team-member--steven{ left:54.2708vw; top:25.9896vw; }
.team-circle{
  position:absolute; inset:0;
  border-radius:50%;
  overflow:hidden;
  /* Checked the actual hover-state Figma node (539:1877, hover=true
     variant): the photo isn't a circle with icons floating outside it —
     on hover the circle UN-ROUNDS into a plain square (the reference
     code literally drops the `rounded-[999px]` class in the hover
     variant) at the same time the name/role/icons fade in. That's why
     the top-right icons and bottom text sit at insets that would
     otherwise fall outside a strict inscribed circle (an earlier
     implementation, done before this reference was available, worked
     around that by pulling the icons out of the circular clip entirely
     — no longer needed now that the clip itself becomes a square right
     when they appear). border-radius is transitioned together with the
     overlay's opacity below. */
  transition:border-radius .35s cubic-bezier(.4,0,.2,1);
}
.team-member:hover .team-circle,
.team-member:focus-within .team-circle{ border-radius:0; }
.team-photo{ width:100%; height:100%; object-fit:cover; }
.team-overlay{
  position:absolute; inset:0;
  opacity:0;
  transition:opacity .35s cubic-bezier(.4,0,.2,1);
}
.team-overlay::before{
  /* dark bottom scrim so the name/role stay legible over the photo —
     the real hover screenshot doesn't show an obvious separate scrim
     (Christian Noll's dark jacket already provides contrast there), but
     that's photo-dependent — kept a soft one here as a legibility safety
     net since not every team photo will have a naturally dark area right
     behind the text. */
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 60%, rgba(0,0,0,.6) 100%);
}
.team-member:hover .team-overlay,
.team-member:focus-within .team-overlay{ opacity:1; }
/* Phone and mail: real links (tel:/mailto: with each person's direct line
   and address) as round white buttons in the tile's top right corner – the
   same disc-with-mark as the site's round arrow buttons. They used to be two
   tiny decorative glyphs that could not be clicked and were hard to read. */
.team-icon{
  position:absolute; top:7%; z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:2.1875vw; height:2.1875vw; border-radius:50%;
  background:var(--white); color:var(--black);
  transition:transform .25s cubic-bezier(.4,0,.2,1);
}
.team-icon svg{ display:block; width:54%; height:54%; }
.team-icon--mail{ right:7%; }
.team-icon--phone{ right:calc(7% + 2.1875vw + 0.5208vw); }
.team-icon:hover, .team-icon:focus-visible{ transform:scale(1.12); }
/* only reachable while the tile shows them (hover/focus on desktop) */
.team-member:not(:hover):not(:focus-within) .team-icon{ pointer-events:none; }
.team-info{
  position:absolute; left:9.15%; right:8.98%; bottom:10.04%;
  display:flex; flex-direction:column; gap:0.1563vw;
}
.team-info h3{
  margin:0; font-family:var(--font-display); font-weight:400; font-size:0.9375vw; line-height:1.2; color:var(--white);
}
.team-info p{
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; line-height:1.2; color:var(--white);
}
/* The arrow is a link (to the team on "Über uns"); it used to be a bare
   image that looked like a control but did nothing. The padding only widens
   the click area – content-box, so the arrow itself keeps its 10vw. */
.team-arrow{
  position:absolute; left:59.1667vw; top:45.4427vw; width:10vw; height:auto; /* was 14.686vw (exact Figma size) — reduced per explicit direction */
  box-sizing:content-box; padding:1.2vw; margin:-1.2vw; display:block; border-radius:.5vw;
  animation:team-arrow-nudge 1.8s ease-in-out infinite; /* subtle looping nudge to the right and back, per explicit direction ("bisschen animieren") — small enough to read as a gentle hint of motion, not a distraction */
}
.team-arrow img{ display:block; width:100%; height:auto; transition:transform .3s cubic-bezier(.4,0,.2,1); }
/* hover/focus: the nudge stops and the arrow moves on to the right */
.team-arrow:hover, .team-arrow:focus-visible{ animation-play-state:paused; }
.team-arrow:hover img, .team-arrow:focus-visible img{ transform:translateX(1.2vw); }
.team-arrow:focus-visible{ outline:2px solid var(--white); outline-offset:.2vw; }
@keyframes team-arrow-nudge{
  0%, 100%{ transform:translateX(0); }
  50%{ transform:translateX(0.6vw); }
}
@media (prefers-reduced-motion:reduce){
  .team-overlay, .team-circle{ transition:none; }
  .team-arrow{ animation:none; }
  .team-arrow img{ transition:none; }
}

/* ---------- Creativity section (Figma 545:1979) ----------
   Frame is 3546px wide @ 3840px reference — narrower than the full
   canvas but wider than the 3032px content grid (--grid-width), i.e.
   it deliberately bleeds past the standard grid margins. So it gets its
   own centered container (--creativity-width) rather than .wrap. All
   child positions below are converted the same way as the Team section:
   px / 3840 * 100 = vw, relative to this container's top-left. */
.creativity{
  position:relative;
  padding:6vw 0 16vw;
}
.creativity-inner{
  position:relative;
  width:92.3438vw; /* 3546px */
  margin:0 auto;
  height:75.9511vw; /* 2744.457px Figma height + 0.757vw (Team-gap) + 3.7239vw: the heading runs to 3 lines (constant, everything is vw-scaled), so images/CTA move down one line (3.3854vw x 1.1) */
}
.creativity-heading{
  position:absolute; left:13.2263vw; top:0; width:43.3823vw; margin:0;
  font-family:var(--font-display); font-weight:400; font-size:3.3854vw; line-height:1.1;
  color:var(--white);
}
.creativity-images{
  /* top nudged down from the raw Figma value (9.7634vw) by +0.757vw so the
     heading->images gap matches the Team section's heading->photos gap,
     per explicit direction ("Gleicher Abstand ... wie in der Team section"). */
  position:absolute; left:0; top:14.2443vw; width:100%; height:61.7068vw; /* +3.7239vw: one heading line, the 3rd line was hidden behind img--1 */
}
.creativity-img{
  position:absolute;
  border-radius:0.625vw; /* 24px */
  overflow:hidden;
  object-fit:cover;
  will-change:transform;
}
.creativity-img--1{ left:0; top:0; width:56.6086vw; height:40.0156vw; }
.creativity-img--2{ left:46.8933vw; top:20.0078vw; width:32.0317vw; height:29.1941vw; }
.creativity-img--3{ left:18.9978vw; top:34.3403vw; width:20.8735vw; height:27.3665vw; }
.creativity-cta{
  position:absolute; left:46.9010vw; top:71.1475vw; /* shifted down with .creativity-images by the same +0.757vw */
  display:flex; align-items:center;
  text-decoration:none;
}
.creativity-cta-label{
  position:relative; z-index:2; /* pill stays in front of the icon while they cross-slide on hover */
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:#000; white-space:nowrap;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.creativity-cta-icon{
  position:relative; z-index:1;
  flex-shrink:0; width:2.0833vw; height:2.0833vw;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
/* Hover state (Figma 219:942): icon swaps to the left of the pill and
   rotates 45deg — the icon artwork itself is a NE arrow (↗), rotating it
   45deg clockwise turns it into a horizontal E arrow (→), matching the
   two distinct icon graphics (imgKreis / imgKreis1) used in the Figma
   hover variant without needing a second asset.
   Swapping via the CSS `order` property is a hard cut (order can't be
   transitioned), so instead both elements cross-slide via transform:
   the label slides right by the icon's width, the icon slides left by
   the label's width, landing exactly in each other's old slot. Widths
   are measured in JS (label text length varies) and exposed as
   --cta-label-w / --cta-icon-w custom properties on .creativity-cta. */
.creativity-cta:hover .creativity-cta-label,
.creativity-cta:focus-visible .creativity-cta-label{
  transform:translateX(var(--cta-icon-w, 2.0833vw));
}
.creativity-cta:hover .creativity-cta-icon,
.creativity-cta:focus-visible .creativity-cta-icon{
  transform:translateX(calc(-1 * var(--cta-label-w, 10vw))) rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .creativity-img{ transition:none; }
  .creativity-cta-label, .creativity-cta-icon{ transition:none; }
}

/* ---------- Leistungen (Figma node 684:1738, "Frame 352") ----------
   Header row reuses .slider-btn as-is (see Cases carousel above) and
   mirrors .cases-header's layout (flex row, padding-left:var(--grid-margin)).
   Card track: see the HTML comment above this section for why only 4 of
   Figma's 5 card frames are built, and why the 4 cards' combined width
   equals --grid-width exactly (so there's nothing to actually scroll at
   desktop widths — .leistungen-track's overflow-x + the prev/next
   buttons mainly matter on narrower viewports). js/main.js wires the
   buttons to scrollBy() one card+gap; no endless-loop logic needed since
   every card is the same size (unlike Cases' grow-on-active card). */
.leistungen{
  position:relative;
  padding:8vw 0 14vw;
}
.leistungen-header{
  position:relative;
  display:flex; align-items:center; gap:2.0833vw;
  padding-left:var(--grid-margin);
  margin-bottom:clamp(16px, 3vw, 48px);
}
.leistungen-heading{
  margin:0; font-family:var(--font-display); font-weight:400; font-size:3.3854vw; line-height:1.1;
  color:var(--white);
}
.leistungen-track{
  /* Vier feste Kacheln im Raster statt Slider: 4 × Kachel + 3 × Gap
     füllt --grid-width genau aus. */
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:1.0417vw;
  margin:0 var(--grid-margin);
}
.leistung-card{
  min-height:23.9806vw;
  display:flex; flex-direction:column; align-items:flex-start; gap:1.5vw;
  padding:1.9vw 1.25vw 2.5vw;
  border:1px solid var(--white); border-radius:0.625vw;
}
.leistung-icon{ align-self:center; height:6.5vw; width:auto; display:block; }
/* Hover motion for the three other icons (the first one morphs its drip, see
   js/main.js). Inline SVGs; each moves a part of its own drawing while the
   card is hovered or focused, and eases back afterwards. */
.leistung-icon{ overflow:visible; }
.leistung-icon g, .leistung-icon .li-seo-cursor, .leistung-icon .li-ki-ear, .leistung-icon .li-ki-mouth{
  transform-box:fill-box; transform-origin:center;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
}
/* The same icons and the same movement everywhere an icon lives: the cards
   on the homepage, the cards on the services overview and the large
   illustration on each service page. Trigger: hover/focus – or .is-live,
   which js/main.js sets on touch devices while the icon is in view. */
/* Google & KI: the lens travels along the search bar, the cursor clicks */
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-seo-lens{ transform:translate(34px, 6px) rotate(-12deg); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-seo-cursor{ transform:translate(-16px, -14px) scale(.94); }
/* Websites & Shops: the website as a tool, not a canvas – a browser window
   with a wrench on a bolt. The wrench turns on that bolt (its origin is the
   bolt's place inside the wrench's own box), the page's lines fill in. */
.leistung-icon .li-web-wrench{ transform-origin:12.9% 12.9%; transition-duration:.7s; }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-web-wrench{ transform:rotate(26deg); }
.leistung-icon .li-web-line{ transform-box:fill-box; transform-origin:0 50%; transition:transform .55s cubic-bezier(.4,0,.2,1); }
.leistung-icon .li-web-line--1{ transform:scaleX(.72); }
.leistung-icon .li-web-line--2{ transform:scaleX(.6); transition-delay:.06s; }
.leistung-icon .li-web-line--3{ transform:scaleX(.5); transition-delay:.12s; }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-web-line{ transform:scaleX(1); }
/* Performance-Marketing: a target – the arrow pulls back and hits the bull's
   eye, the rings answer one after the other. */
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ads-arrow{ animation:li-ads-hit .9s cubic-bezier(.22,1,.36,1); }
@keyframes li-ads-hit{ 0%{ transform:translate(0,0); } 35%{ transform:translate(22px,-22px); } 100%{ transform:translate(0,0); } }
.leistung-icon .li-ads-ring{ transform-box:fill-box; transform-origin:center; transition:transform .5s cubic-bezier(.4,0,.2,1); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ads-ring--1{ transform:scale(1.14); transition-delay:.28s; }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ads-ring--2{ transform:scale(1.07); transition-delay:.36s; }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ads-ring--3{ transform:scale(1.03); transition-delay:.44s; }
/* KI-Automation: antenna pops, ears twitch, eyes blink, the mouth smiles wider */
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ki-antenna{ transform:translateY(-6px); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ki-ear--l{ transform:translateX(-4px); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ki-ear--r{ transform:translateX(4px); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ki-mouth{ transform:scaleX(1.35); }
:is(.leistung-card, .leistung-ueber-card, .leistung-detail-illustration):is(:hover, :focus-within, .is-live) .li-ki-eyes{ animation:li-ki-blink 1.6s ease-in-out .3s infinite; }
@keyframes li-ki-blink{ 0%, 80%, 100%{ transform:scaleY(1); } 88%{ transform:scaleY(.08); } }
@media (prefers-reduced-motion:reduce){
  .leistung-icon g, .leistung-icon path, .leistung-icon line, .leistung-icon circle{ transition:none; transform:none !important; animation:none !important; }
}
/* The drip is a filled shape, not just a line: black, so that where it hangs
   over the easel — which is what the hover state does — it covers the frame
   behind it and reads as paint in front of the picture rather than a line
   crossing it. Everywhere else it is black on black and therefore invisible,
   which is also why the path can stay open: the browser closes a filled path
   with a straight line back to its start, and here that line falls in an area
   where nothing but background sits behind it.
   It is the last element in the SVG, so it paints over the rest. */

.leistung-card h3{
  margin:0; font-family:var(--font-display); font-weight:400; font-size:1.4462vw; line-height:1.1;
  color:var(--white);
}
.leistung-card p{
  /* same type as the copy on the cases and services overviews (.case-row-copy,
     .leistung-ueber-copy): it used to be Helvetica at 0.729vw – the smallest
     running text on the whole site */
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; line-height:1.5;
  color:var(--white); opacity:.8;
}
.leistung-cta{
  margin-top:auto;
  display:flex; align-items:center;
  text-decoration:none;
}
/* Hover: same cross-slide + rotate pattern as .creativity-cta (icon is
   the same btn_pfeil.svg NE arrow, 45deg rotation turns it into a
   horizontal E arrow) — label slides right by the icon's width, icon
   slides left by the label's width and rotates, landing in each other's
   old slot. --leistung-cta-label-w / --leistung-cta-icon-w are measured
   per-instance in js/main.js since every card has its own CTA. */
/* Secondary variant of the site's CTA. The section-level calls to action
   (Creativity, Insights) stay primary — solid white pill, black label,
   solid white icon disc — while these per-card ones step back one level:
   the same shapes and the exact same cross-slide interaction, drawn as
   outlines on transparent instead of solid fills. The icon needs no second
   asset for that: btn_pfeil.svg is a white disc with a black arrow filling
   its whole viewBox, so inverting it yields a black disc (invisible on the
   page's black ground) with a white arrow, and a 1px ring on the <img>
   itself lands exactly where the disc's edge was. */
.leistung-cta-label{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  /* solid black rather than transparent: the pill passes over the icon
     during the cross-slide, and only an opaque fill keeps the arrow from
     showing through the label mid-transition. Reads as transparent on the
     card either way, since the page ground is the same black. */
  background:var(--black); border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white); white-space:nowrap;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
/* The ring has to live on a wrapper, not on the <img>: a CSS filter applies
   to the element's whole rendering, border included, so a white border on
   the inverted image would be inverted to black along with it and vanish
   against the page. The wrapper carries the ring and the sizing (and so
   keeps the class the width measurement in js/main.js reads), the image
   inside carries the inversion. */
.leistung-cta-icon{
  position:relative; z-index:1;
  flex-shrink:0; width:2.0833vw; height:2.0833vw;
  border:1px solid var(--white); border-radius:50%;
  overflow:hidden;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.leistung-cta-icon img{ display:block; width:100%; height:100%; filter:invert(1); }
.leistung-cta:hover .leistung-cta-label,
.leistung-cta:focus-visible .leistung-cta-label{
  transform:translateX(var(--leistung-cta-icon-w, 2.0833vw));
}
.leistung-cta:hover .leistung-cta-icon,
.leistung-cta:focus-visible .leistung-cta-icon{
  transform:translateX(calc(-1 * var(--leistung-cta-label-w, 6vw))) rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .leistung-cta-label, .leistung-cta-icon{ transition:none; }
}
@media (max-width:860px){
  .leistungen-heading{ font-size:var(--mobile-heading); }
  .leistungen-track{ grid-template-columns:1fr; gap:4vw; }
  .leistung-card{
    min-height:auto;
    /* the desktop padding (1.9vw/1.25vw/2.5vw) is only ~7px/5px/10px on a
       phone, so the copy sat almost on the card's border */
    padding:6vw 5vw; gap:4vw;
    border-radius:2vw;
  }
  .leistung-icon{ height:18vw; }
  .leistung-card h3{ font-size:5vw; }
  .leistung-card p{ font-size:3.8vw; }
  .leistung-cta-label{ height:9vw; padding:0 5vw; font-size:3.4vw; }
  .leistung-cta-icon{ width:9vw; height:9vw; }
}
@media (max-width:1200px) and (min-width:861px){
  .leistungen-track{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:2vw; }
  .leistung-card{ min-height:auto; padding:3vw 2.5vw; gap:2.5vw; }
  .leistung-icon{ height:10vw; }
  .leistung-card h3{ font-size:2.6vw; }
  .leistung-card p{ font-size:1.5vw; }
}

/* ---------- Kundenzitate / Testimonial (Figma node 191:974, "Group 2") ----------
   3164px wide @ 3840px reference (px/3840*100=vw, same conversion as
   Team/Creativity), sitting right before the footer. Round portrait
   (30.651vw = 1177px, matches the frame's own height exactly) + quote,
   laid out as a flex row instead of the per-line absolutely-positioned
   text Figma exports — see the HTML comment above this section for why.
   Gap between photo and quote (4.922vw) and the quote block's width are
   both derived from Figma's own numbers: quote text starts at 35.573vw
   (1366px) in the reference, 30.651vw of that is the photo, leaving a
   4.922vw gap.
   Container's right edge is pinned to the standard content grid's right
   edge (margin-right:var(--grid-margin), same as .wrap) instead of being
   centered — the quote text must not run past the grid, matching the
   rest of the site's copy. Left edge is left auto (margin-left:auto),
   which lands the photo ~7.08vw from the viewport edge — intentionally
   bleeding slightly past the grid on the left, close to Figma's own
   276px (7.1875vw) frame offset; only the right/text side needed
   capping. */
.testimonial{
  position:relative;
  padding:8vw 0 14vw;
}
.testimonial-inner{
  position:relative;
  width:82.3958vw; margin:0 var(--grid-margin) 0 auto;
  display:flex; align-items:center; gap:4.922vw;
  min-height:30.651vw;
}
.testimonial-photo{
  flex:none;
  width:30.651vw; height:30.651vw;
  border-radius:50%;
  overflow:hidden;
}
.testimonial-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
/* Gesamtwertung im Kreis (statt eines Fotos): weiße Kontur wie die übrigen
   Linien der Seite, Wert groß in der Display-Schrift. Ganzer Kreis ist der
   Link zum Google-Profil; Hover kippt ihn ins Negativ. */
.testimonial-badge{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.8vw;
  border:1px solid rgba(255,255,255,.6); color:var(--white); text-align:center; text-decoration:none;
  transition:background-color .4s, color .4s, border-color .4s;
}
.testimonial-badge:hover, .testimonial-badge:focus-visible{ background:var(--white); color:var(--black); border-color:var(--white); }
.testimonial-badge-score{ font-family:var(--font-display); font-weight:400; font-size:8.5vw; line-height:.9; letter-spacing:-.01em; }
.testimonial-badge-stars{ font-size:1.6vw; letter-spacing:.18em; margin-right:-.18em; }
.testimonial-badge-label{ font-family:var(--font-display-bold); font-weight:400; font-size:1.0938vw; line-height:1.35; opacity:.8; }
.testimonial-quote{
  flex:1; margin:0; min-width:0;
  display:flex; flex-direction:column;
}
.testimonial-quote p{
  position:relative;
  margin:0;
  font-family:var(--font-body); font-weight:500; font-size:3.125vw; line-height:1.15;
  color:var(--white);
}
/* Opening quote mark hangs outside the text block (outdented to the
   left), closing mark stays inline as normal punctuation at the end of
   the text — generated via ::before instead of typed inline so the
   outdent doesn't disturb the paragraph's own left edge/wrapping. */
.testimonial-quote p::before{
  content:"\201C";
  position:absolute;
  left:-0.5em; top:0;
}
.testimonial-attribution{
  margin-top:2.5vw;
  display:flex; flex-direction:column; align-items:flex-end; gap:0.3125vw;
  text-align:right;
}
.testimonial-name{
  font-family:var(--font-body); font-weight:700; font-size:1.25vw; line-height:1.2; color:var(--white);
}
.testimonial-role{
  font-family:var(--font-body); font-weight:500; font-size:1.25vw; line-height:1.2; color:var(--white);
}
/* Google-Bewertungen (js/google-reviews.js) */
.testimonial-quote > p, .testimonial-attribution{ transition:opacity .4s ease; }
.testimonial-quote.is-fading > p, .testimonial-quote.is-fading .testimonial-attribution{ opacity:0; }
.testimonial-attribution a{ color:inherit; text-decoration:none; }
.testimonial-attribution a:hover, .testimonial-attribution a:focus-visible{ text-decoration:underline; }
.testimonial-stars{ color:var(--white); letter-spacing:0.1em; margin-right:0.6em; }
/* Kreis immer vertikal mittig zum Zitattext: Name/Sterne/Punkte hängen
   absolut unter dem Zitat und zählen nicht zur Höhe, an der sich der
   Kreis ausrichtet (Platz darunter liefert das padding-bottom der Sektion). */
.testimonial-quote{ position:relative; }
.testimonial-meta{ position:absolute; top:100%; left:0; right:0; }
/* Lange Bewertungen: nächstkleinerer Grad im Schriftsystem (60 → 44 px @1920) */
.testimonial-quote.is-long p{ font-size:2.2917vw; line-height:1.25; }
.testimonial-summary{
  margin-top:0.8vw;
  font-family:var(--font-body); font-weight:400; font-size:0.9375vw; line-height:1.2;
  color:var(--white); opacity:.7;
}
.testimonial-dots{ display:flex; gap:0.625vw; margin-top:2vw; justify-content:flex-end; }
.testimonial-dots[hidden]{ display:none; }
.testimonial-dot{
  width:0.625vw; height:0.625vw; min-width:10px; min-height:10px;
  padding:0; border:1px solid var(--white); border-radius:50%;
  background:transparent; cursor:pointer;
}
.testimonial-dot[aria-current="true"]{ background:var(--white); }
@media (prefers-reduced-motion: reduce){
  .testimonial-quote > p, .testimonial-attribution{ transition:none; }
}
@media (max-width:860px){
  .testimonial-inner{ flex-direction:column; align-items:stretch; gap:6vw; width:auto; margin:0 var(--grid-margin); }
  /* Photo spans the full content column. Kept round — that is this
     element's shape in the design, and unlike the team portraits (whose
     Figma hover variant un-rounds them as soon as the name appears) there
     is no square state for it. aspect-ratio instead of a fixed height so
     the circle stays a circle at any width. */
  .testimonial-photo{ width:100%; height:auto; aspect-ratio:1 / 1; }
  .testimonial-badge{ width:62vw; align-self:center; gap:2vw; }
  .testimonial-badge-score{ font-size:22vw; }
  .testimonial-badge-stars{ font-size:5vw; }
  .testimonial-badge-label{ font-size:3.6vw; }
  .testimonial-quote p{ font-size:5.5vw; }
  .testimonial-attribution{ margin-top:5vw; align-items:flex-start; text-align:left; }
  .testimonial-name, .testimonial-role{ font-size:3.2vw; }
  .testimonial-summary{ font-size:3vw; margin-top:3vw; }
  .testimonial-dots{ justify-content:flex-start; gap:3vw; margin-top:5vw; }
  .testimonial-meta{ position:static; }
  .testimonial-quote.is-long p{ font-size:5vw; line-height:1.2; }
}

/* ---------- Kundenleiste / "Wir sprechen aus Erfahrung" (Figma node
   171:1509) ----------
   Figma's frame is 4491px wide @ 3840px reference — wider than the
   reference viewport itself, i.e. deliberately full-bleed/overflowing
   past both edges rather than confined to the content grid like the
   rest of the page. Built as two independent endless-marquee rows
   instead of replicating Figma's static logo positions, since the whole
   point is continuous horizontal motion: each row's 7 real client logos
   (see the HTML comment above this section for why 2 of Figma's 9
   "bikeleasing" placeholder instances are excluded) are duplicated once
   inside .kundenleiste-track so a translateX(0→-50%) / (-50%→0)
   animation loops seamlessly regardless of the logos' actual combined
   width. Row 2 runs the opposite direction at a different duration (also
   uses a different logo order, matching the Figma file) so the two rows
   read as independent, not mirrored. */
.kundenleiste{
  position:relative;
  padding:8vw 0 14vw;
  overflow:hidden;
}
.kundenleiste-heading{
  margin:0 0 1.8vw;
  /* One step down from the site's standard section-heading size
     (3.3854vw, used by .team-heading / .leistungen-heading / the
     Creativity heading) — reuses the system's own next-smaller rung
     (1.6146vw, already used for .process-text h3) instead of a custom
     Figma-literal size. */
  font-family:var(--font-display); font-weight:400; font-size:1.6146vw; line-height:1.1;
  color:var(--white); text-align:center;
}
.kundenleiste-rows{
  display:flex; flex-direction:column;
  gap:1.6vw;
}
.kundenleiste-row{
  position:relative;
  overflow:hidden;
  width:100%;
}
/* Soft edges as two fixed black gradients ON TOP of the row instead of a
   mask-image on it: a mask over a constantly moving layer has to be
   re-applied every frame, which made the marquee stutter. These two
   overlays never move, so the track stays a plain composited layer. */
.kundenleiste-row::before,
.kundenleiste-row::after{
  content:""; position:absolute; top:0; bottom:0; z-index:1; width:6vw; pointer-events:none;
}
.kundenleiste-row::before{ left:0; background:linear-gradient(to right, var(--black), rgba(0,0,0,0)); }
.kundenleiste-row::after{ right:0; background:linear-gradient(to left, var(--black), rgba(0,0,0,0)); }
.kundenleiste-track{
  display:flex; align-items:center;
  width:max-content;
  will-change:transform;
  /* Endless, no snap-back at the loop point: each track is the 7-logo
     set duplicated once (14 items). The naive version of this (flex
     `gap` between items + translateX(-50%)) actually has a tiny but
     real seam — with `gap` there are 13 gaps across 14 items, so the
     rendered width is 2×(logos)+13×gap, and half of THAT isn't the same
     as one true repeat unit (7 logos + 7 gaps), so the wrap point jumps
     by half a gap. Fixed by giving every logo its own trailing
     margin-right (--kunden-gap) instead of a track-level `gap`: with a
     trailing margin after the 14th logo too, the rendered width is
     exactly 2×(7 logos + 7 gaps), so translateX(-50%) lands on an exact
     repeat boundary and the loop is pixel-perfect/invisible. */
  --kunden-gap:5.2vw;
  animation:kunden-scroll-left 58s linear infinite;
  backface-visibility:hidden;
}
.kundenleiste-row--right .kundenleiste-track{
  animation-name:kunden-scroll-right;
  animation-duration:64s;
}
/* Hover pauses that row's own line only, not both. */
.kundenleiste-row:hover .kundenleiste-track{
  animation-play-state:paused;
}
@keyframes kunden-scroll-left{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(-50%,0,0); }
}
@keyframes kunden-scroll-right{
  from{ transform:translate3d(-50%,0,0); }
  to{ transform:translate3d(0,0,0); }
}
/* Every logo is sized by area, not by height: --s (set per logo in the
   markup, = sqrt of its aspect ratio, clamped) widens long wordmarks and
   narrows compact badges, so all of them read with about the same weight.
   The colour originals are turned into plain white marks by the filter;
   logos whose mark is a filled badge keep their tones as greys instead
   (--tone), otherwise the badge would become a white blob. */
.kunden-logo{
  flex:none;
  display:flex; align-items:center; justify-content:center;
  height:4.2vw;
  margin-right:var(--kunden-gap);
}
.kunden-logo img{
  display:block;
  width:calc(7.6vw * var(--s, 1)); height:auto;
  filter:brightness(0) invert(1);
  opacity:.92;
}
.kunden-logo--tone img{ filter:grayscale(1) brightness(1.7) contrast(1.05); }
@media (prefers-reduced-motion:reduce){
  .kundenleiste-track{ animation:none; }
}
@media (max-width:860px){
  .kundenleiste-heading{ font-size:4.2vw; }
  .kundenleiste-rows{ gap:6vw; }
  .kunden-logo{ height:13vw; }
  .kunden-logo img{ width:calc(24vw * var(--s, 1)); }
  .kundenleiste-track{ --kunden-gap:10vw; }
  .kundenleiste-row::before, .kundenleiste-row::after{ width:10vw; }
}

/* ---------- Social media rail ----------
   Sits outside the content grid on the right, centered in the margin
   band, and stays vertically centered to the viewport while scrolling
   through the main content. Docks (position:absolute, pinned to a spot
   just above the footer) once the footer scrolls close enough that the
   fixed/centered rail would start overlapping it — see the scroll
   handler in js/main.js ("Social rail: dock above the footer"), which
   toggles .is-docked and writes the computed `top` inline. From that
   point on the rail scrolls away normally with the page like any other
   in-flow content, instead of sliding over the footer.
   Base sizes from Figma (node 205:1121, 3840px reference), then scaled
   down: Instagram/X/LinkedIn x0.85, then everything (incl. Facebook) x0.85
   again, so relative proportions to each other are preserved. */
.social-rail{
  position:fixed;
  top:50%;
  right:calc(var(--grid-margin) / 2 - 10px);
  transform:translateY(-50%);
  z-index:50;
  display:flex; flex-direction:column; align-items:center; gap:1.25vw;
}
.social-rail.is-docked{
  position:absolute;
  transform:none; /* `top` is set inline by the scroll handler in this state */
}
.social-rail a{
  display:block;
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
.social-rail img{ width:100%; height:100%; display:block; }
/* hover is motion-only (lift + scale) — no opacity/color change on any icon. */
.social-rail a:hover,
.social-rail a:focus-visible{
  transform:translateY(-0.25vw) scale(1.15);
}
.social-instagram{ width:0.9809vw; height:0.9809vw; }
.social-facebook{ width:0.5664vw; height:1.1335vw; }
.social-youtube{ width:1.2vw; height:0.7722vw; }
.social-linkedin{ width:1.0304vw; height:0.9931vw; }
@media (prefers-reduced-motion:reduce){
  .social-rail a{ transition:none; }
}

/* ---------- Mobile bottom bar (Figma node 466:3626/466:3627) ----------
   ≤860px only — a fixed white bar pinned to the bottom of the viewport:
   the same 4 social icons as .social-rail on the left (that rail is
   hidden at this breakpoint instead, since its vw-based sizing would
   render illegibly small on a phone), and a "Menü" label + burger on the
   right, replacing the header's own .nav-toggle (also hidden at this
   breakpoint — see the max-width:860px rule near .nav-toggle above).
   Icon and type sizes are the Figma frame's px values halved: the file's
   "iPhone 16 & 17 Pro Max" frame is exported at 2x (880px wide for a
   440pt-wide device), so raw/2 gives real CSS px. The burger itself
   reuses .nav-toggle's exact bar widths/gap (26/22/26px, 6px gap) rather
   than Figma's very slightly different 32/26.5/32 — same taper ratio,
   and it keeps one hamburger drawing on the whole site instead of two
   near-identical ones. */
:root{
  /* Figma frame is exported at 2x (880px wide for a 440pt device), so every
     raw value below is halved to get real CSS px. The bar is NOT full-bleed:
     Frame 301 sits at x=29 with width 822 inside the 880 frame and ends 29
     above the frame's bottom edge — i.e. an even 29/2 = 14.5px inset on the
     left, right and bottom. Height 155/2 = 77.5px. Corners are square
     (verified pixel-wise against the rendered frame, the apparent rounding
     in a downscaled preview was just resampling).

     The inset is the one value NOT taken from that frame: it is the page's
     own content gutter instead. Figma's 14.5px is a hair narrower than the
     20px the content sits at on a phone, and the bar runs directly under
     the footer's white band — the two edges being a few px apart read as a
     misalignment rather than a design decision. Tying it to --gutter puts
     the bar, the menu panel and the page content on exactly the same left
     and right edge at every width, and keeps the frame even all the way
     around (the same value is used top and bottom). */
  --mobile-bar-inset:var(--gutter);
  /* Slimmer than the Figma frame (77.5px, 20px off the bottom) on request:
     it took too much of the phone screen. 56px tall, 10px off the bottom
     edge (plus the home-indicator area via env()); left/right stay on the
     content gutter. */
  --mobile-bar-h:56px;
  --mobile-bar-bottom:2px;   /* as low as it goes: only a 2px black edge below the white bar (see .mobile-bar in the mobile block) */
}
.mobile-bar{
  display:none;
  position:fixed; z-index:90;
  left:var(--mobile-bar-inset); right:var(--mobile-bar-inset);
  bottom:calc(var(--mobile-bar-bottom) + env(safe-area-inset-bottom));
  height:var(--mobile-bar-h);
  align-items:center; justify-content:space-between;
  background:var(--white);
  /* 14px each side: the social row starts at x=29 raw (14.5px) inside the
     bar, and the burger's own glyph ends 28 raw (14px) before its right
     edge — the icon's 120px-square box is flush with the bar's right edge
     but carries that padding internally, so a 14px box padding reproduces
     both without double-counting. */
  padding:0 14px;
}
.mobile-bar-socials{ display:flex; align-items:center; gap:18px; }
.mobile-bar-social{ display:block; }
/* the shared icon assets are solid white fills (built for the dark
   desktop rail) — inverted here since this bar's background is white
   and the Figma design calls for solid black icons. */
.mobile-bar-social img{ display:block; width:100%; height:100%; filter:invert(1); }
.mobile-bar-instagram{ width:18px; height:18px; }
/* Instagram is the only outline glyph in the row and reads noticeably
   lighter than the three solid marks beside it. Its SVG has no strokes to
   widen (the camera is drawn as filled shapes with even-odd holes) and an
   <img> exposes no inner nodes to style, so it gets dilated optically
   instead: four offset drop-shadows in the same colour thicken every edge
   by that offset, on the outside of the ring and into its hole alike.
   Order matters — these come after invert(1), so the shadows are cast from
   the already-black glyph. */
.mobile-bar-instagram img{
  filter:invert(1)
    drop-shadow(0.08px 0 0 #000) drop-shadow(-0.08px 0 0 #000)
    drop-shadow(0 0.08px 0 #000) drop-shadow(0 -0.08px 0 #000);
}
.mobile-bar-facebook{ width:9px; height:18px; }
.mobile-bar-youtube{ width:23px; height:15px; }
.mobile-bar-linkedin{ width:19px; height:19px; }
.mobile-bar-toggle{
  display:flex; align-items:center; gap:13px;
  background:none; border:0; padding:0; cursor:pointer;
}
.mobile-bar-toggle-label{
  font-family:var(--font-display-bold); font-weight:700; font-size:16px; line-height:1;
  color:var(--black);
}
/* Burger at the Figma frame's own mobile scale: bars 64/53/64 raw wide,
   4 raw tall, tops 18 raw apart -> 32/26.5/32px, 2px tall, 7px gaps. Same
   "menu" component as the desktop .nav-toggle (Figma 337:2318), which is
   drawn at a smaller scale up in the header — the taper ratio is identical. */
.mobile-bar-toggle-icon{ display:flex; flex-direction:column; gap:6px; }
.mobile-bar-toggle-icon span{
  height:2px; width:26px; background:var(--black); display:block;
  transition:transform .3s cubic-bezier(.4,0,.2,1), opacity .3s cubic-bezier(.4,0,.2,1);
}
.mobile-bar-toggle-icon span:nth-child(2){ width:21.5px; }
.mobile-bar-toggle[aria-expanded="true"] .mobile-bar-toggle-icon span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.mobile-bar-toggle[aria-expanded="true"] .mobile-bar-toggle-icon span:nth-child(2){ opacity:0; }
.mobile-bar-toggle[aria-expanded="true"] .mobile-bar-toggle-icon span:nth-child(3){ width:26px; transform:translateY(-8px) rotate(-45deg); }
@media (prefers-reduced-motion:reduce){
  .mobile-bar-toggle-icon span{ transition:none; }
}
@media (max-width:860px){
  .mobile-bar{ display:flex; }
/* The bar element itself reaches down to the bottom edge of the screen and
     is BLACK; the white bar is painted into its top 56px. Safari (iOS 26)
     takes the colour for the zone behind its own floating toolbar from the
     fixed element that touches the bottom edge – with a white bar touching
     it that zone turned white, with nothing touching it the page showed
     through. A separate strip (pseudo-element) was not picked up. */
  .mobile-bar{
    bottom:0; box-sizing:border-box;
    height:calc(var(--mobile-bar-h) + var(--mobile-bar-bottom) + env(safe-area-inset-bottom));
    padding-bottom:calc(var(--mobile-bar-bottom) + env(safe-area-inset-bottom));
    background-color:#000;
    background-image:linear-gradient(#fff, #fff);
    background-size:100% var(--mobile-bar-h); background-repeat:no-repeat; background-position:0 0;
  }
  /* the same black to the left and right of the bar, full width */
  body::after{
    content:""; position:fixed; z-index:89; left:0; right:0; bottom:0; pointer-events:none;
    height:calc(var(--mobile-bar-bottom) + env(safe-area-inset-bottom));
    background:#000;
  }
  /* function moved down here at this breakpoint — see the comment block above */
  .social-rail{ display:none; }
  /* clears the fixed bar (its own height + the inset above and below it) so
     it never covers the footer's last row */
  body{ padding-bottom:calc(var(--mobile-bar-h) + var(--mobile-bar-bottom) * 2 + env(safe-area-inset-bottom)); }
}

/* ---------- Insights (Figma node 684:1843, "Frame 353") ----------
   Frame is 404px/3032px @ 3840px reference — exactly --grid-margin/
   --grid-width, so it sits inside .wrap with no bleed (same as Team/
   Creativity). 3 columns of 984px + 40px gaps = 3032px reproduced as
   repeat(3,1fr) with a 1.0417vw gap instead of hard-coded widths.
   Heading uses the site's standard 3.3854vw section-heading size (see
   the HTML comment above this section for why, over Figma's literal
   162px). Card title/date/category map onto --font-body (Helvetica
   Neue Bold/Medium in Figma). The CTA reuses the footer-newsletter
   button's exact pattern (white pill + separate rotating arrow circle)
   since its own figures land exactly on that pattern's vw values. */
.insights{
  position:relative;
  padding:8vw 0 14vw;
}
.insights-heading{
  margin:0 0 3vw;
  font-family:var(--font-display); font-weight:400; font-size:3.3854vw; line-height:1.1;
  color:var(--white);
}
.insights-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0 1.0417vw;
}
.insight-card{
  display:flex; flex-direction:column;
  gap:2.0833vw;
}
.insight-card-image{
  background:var(--white);
  aspect-ratio:984/696;
  overflow:hidden;
}
.insight-card-image img{ display:block; width:100%; height:100%; object-fit:cover; }
.insight-card-body{
  display:flex; flex-direction:column;
  gap:1.9271vw;
}
.insight-card-body h3{
  margin:0; font-family:var(--font-body); font-weight:700; font-size:1.9271vw; line-height:1.15;
  color:var(--white);
  /* Fixed to exactly 3 lines' worth of height (this card set's tallest
     title is 3 lines) so the divider below always sits at the same
     height across all cards, regardless of how many lines a given
     title actually wraps to — a 1- or 2-line title just leaves empty
     space above the divider instead of pulling it upward. */
  min-height:3.45em; /* 3 × line-height */
}
.insight-card-divider{
  height:2px; width:100%;
  background:var(--white);
}
.insight-card-meta{
  display:flex; align-items:center; justify-content:space-between;
}
.insight-card-date{
  font-family:var(--font-body); font-weight:700; font-size:1.1458vw; line-height:1;
  color:var(--white);
}
.insight-card-category{
  font-family:var(--font-body); font-weight:500; font-size:1.1458vw; line-height:1;
  color:var(--white);
}
/* Hover: cross-slide + rotate — the site's standard CTA hover for every
   pill-label + circular-arrow button (.creativity-cta / .leistung-cta):
   label slides right by the icon's width, icon slides left by the
   label's width and rotates 45deg (btn_pfeil.svg's NE arrow becomes
   horizontal), landing in each other's old slot. --insights-cta-label-w
   / --insights-cta-icon-w are measured in js/main.js, same as the other
   two CTAs. */
.insights-cta{
  margin:4vw auto 0;
  width:max-content;
  display:flex; align-items:center;
  text-decoration:none;
}
.insights-cta-label{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:#000; white-space:nowrap;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.insights-cta-icon{
  position:relative; z-index:1;
  flex-shrink:0; width:2.0833vw; height:2.0833vw;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.insights-cta:hover .insights-cta-label,
.insights-cta:focus-visible .insights-cta-label{
  transform:translateX(var(--insights-cta-icon-w, 2.0833vw));
}
.insights-cta:hover .insights-cta-icon,
.insights-cta:focus-visible .insights-cta-icon{
  transform:translateX(calc(-1 * var(--insights-cta-label-w, 10vw))) rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .insights-cta-label, .insights-cta-icon{ transition:none; }
}
@media (max-width:860px){
  .insights-heading{ font-size:var(--mobile-heading); }
  .insights-grid{ grid-template-columns:1fr; gap:8vw 0; }
  .insight-card{ gap:4vw; }
  .insight-card-body{ gap:3.5vw; }
  .insight-card-body h3{ font-size:5.5vw; }
  .insight-card-date, .insight-card-category{ font-size:3.4vw; }
  .insights-cta{ margin-top:8vw; }
  .insights-cta-label{ height:9vw; padding:0 5vw; font-size:3.4vw; }
  .insights-cta-icon{ width:9vw; height:9vw; }
}


/* ---------- Leistung Detail pages (Figma node 770:4159, "Frame 354") ----------
   Rebuilt from that node after the previous version of this block was lost.
   Same conversion as the rest of the site: px / 3840 * 100 = vw, so the page
   scales with the viewport like every other section. The frame's content
   column is left:404 / width:3032 — exactly --grid-margin / --grid-width —
   so everything sits in a plain .wrap.
   Type maps onto the existing families: Figma's "ES Klarheit Kurrent
   TRIAL:Bold/Light/Semibold" are var(--font-display-bold) at weight 700/300
   and var(--font-display) at 400 (see fonts/stylesheet.css); the feature
   titles are Red Hat Display in Figma, which the site doesn't license —
   var(--font-body) bold stands in, as elsewhere. */
.leistung-detail-hero{ padding-top:5.677vw; }
.leistung-detail-hero-row{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:4vw; padding-right:2.5vw;
}
/* The illustration is sticky while this column scrolls past it — hence the
   two of them being siblings in one row rather than the Figma frame's
   absolute placement. */
.leistung-detail-scroll-col{
  flex:1 1 auto; min-width:0;
  display:flex; flex-direction:column; gap:6vw;
}
.leistung-detail-illustration{
  position:sticky; top:8vw;
  flex:none; width:20vw; /* 768px */
}
.leistung-detail-illustration img{ display:block; width:100%; height:auto; }

.leistung-detail-content{
  display:flex; flex-direction:column; gap:3.3333vw; /* 128px */
  max-width:52.4219vw; /* 2013px */
}
.leistung-detail-intro{ display:flex; flex-direction:column; gap:1.25vw; }
/* Two outline pills, sitting flush against each other exactly as in the
   frame (no gap between them) — the same shape as the site's secondary
   button. */
.leistung-detail-tags{ display:flex; align-items:center; }
.leistung-detail-tag{
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--black); border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white); white-space:nowrap;
}
.leistung-detail-title{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
  /* German service names run long ("Suchmaschinenoptimierung") — at this size
     one word is wider than the text column and would slide under the sticky
     illustration. The break point is set in the markup with a soft hyphen
     (&shy;), which works without a hyphenation dictionary; break-word is only
     the safety net for anything longer that comes later. */
  overflow-wrap:break-word;
}
.leistung-detail-lead{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4;
  color:var(--white); opacity:.8;
}

/* Feature rows: title, plus badge, full-width rule under each. */
.leistung-detail-feature-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:2.5521vw;
  max-width:38.9583vw; /* 1496px */
}
.leistung-detail-feature{ display:flex; flex-direction:column; gap:1.0417vw; }
/* The whole row is the control (as in the Figma component), so it is a button
   — reset to inherit the page's own type instead of the UA's. */
.leistung-detail-feature-row{
  width:100%; padding:0; border:0; background:none; cursor:pointer;
  font:inherit; color:inherit; text-align:left;
  /* flex-start, not center: centring would measure against the title AND the
     open panel, so the icon would wander downwards as the copy unfolds. Top
     aligned it stays on the heading; the negative margin below lifts it by
     half the difference between its own box and the heading's line, so it
     sits centred on that line rather than hanging under it. */
  display:flex; align-items:flex-start; justify-content:space-between; gap:2vw;
}
.leistung-detail-feature-text{ display:block; flex:1 1 auto; min-width:0; }
.leistung-detail-feature-title{
  display:block;
  font-family:var(--font-body); font-weight:700; font-size:1.4063vw; line-height:1.4;
  color:var(--white);
}
/* Open/close: the panel is a grid whose single row goes from 0fr to 1fr, so the
   height animates from nothing to exactly the copy's own height without any
   measuring in script. The inner wrapper needs min-height:0 and overflow:hidden
   for the collapsed state to actually reach zero. */
.leistung-detail-feature-panel{
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1);
}
.leistung-detail-feature.is-open .leistung-detail-feature-panel{ grid-template-rows:1fr; }
.leistung-detail-feature-panel-inner{ display:block; min-height:0; overflow:hidden; }
.leistung-detail-feature-copy{
  display:block; padding-top:0.5vw;
  font-family:var(--font-display-bold); font-weight:400; font-size:1.0938vw; line-height:1.4;
  color:var(--white); opacity:0;
  transition:opacity .3s ease;
}
.leistung-detail-feature.is-open .leistung-detail-feature-copy{ opacity:.8; transition-delay:.12s; }
/* Plus to minus: the upright bar of the inlined plus collapses into the
   horizontal one. Origin is the bar's own centre in the icon's 96-unit
   viewBox, so it closes from both ends rather than sliding. */
/* heading line box = 1.4063vw x 1.4 = 1.9688vw, icon 2.5vw -> lift 0.2656vw */
.leistung-detail-feature-icon{ flex:none; width:2.5vw; height:2.5vw; display:block; margin-top:-0.2656vw; }
.leistung-detail-feature-icon svg{ display:block; width:100%; height:100%; }
.ldf-icon-bar{
  /* The upright bar turns a quarter and comes to rest exactly on the
     horizontal one, which leaves the minus of the open state. Origin is its
     own centre in the icon's 96-unit viewBox: the two bars in plus.svg are
     the same rectangle rotated, their centres a tenth of a unit apart, so
     turning about this point lands them on top of each other. */
  transform-box:view-box; transform-origin:49px 47.95px;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.leistung-detail-feature.is-open .ldf-icon-bar{ transform:rotate(90deg); }
@media (prefers-reduced-motion:reduce){
  .leistung-detail-feature-panel, .leistung-detail-feature-copy, .ldf-icon-bar{ transition:none; }
}
.leistung-detail-feature-divider{ height:2px; width:100%; background:var(--white); }

/* Same cross-slide CTA as the rest of the site; js/main.js measures both
   halves into --ldcta-label-w / --ldcta-icon-w per instance. */
/* "Auf einen Blick" under the lead: no bullets. A small label, then one
   ruled row per point with a round check mark in front – the same white
   disc/black mark as the site's round buttons. Identical on all four
   service pages. */
.leistung-detail-points{
  list-style:none; margin:1.6vw 0 0; padding:0;
  font-family:var(--font-display-bold); font-weight:400; font-size:1.0938vw; line-height:1.4; color:var(--white);
}
.leistung-detail-points::before{
  content:"Auf einen Blick"; display:block; margin-bottom:.9vw;
  font-family:var(--font-body); font-weight:700; font-size:.7813vw; line-height:1.2;
  letter-spacing:.12em; text-transform:uppercase; opacity:.6;
}
.leistung-detail-points li{
  position:relative; padding:.75vw 0 .75vw 2.3vw;
  border-top:1px solid rgba(255,255,255,.28);
}
.leistung-detail-points li:last-child{ border-bottom:1px solid rgba(255,255,255,.28); }
.leistung-detail-points li::before{
  content:""; position:absolute; left:0; top:.78vw; width:1.3542vw; height:1.3542vw; border-radius:50%;
  background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M7 12.5l3.4 3.4L17.2 9'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (max-width:860px){
  .leistung-detail-points{ margin-top:6vw; font-size:4vw; }
  .leistung-detail-points::before{ margin-bottom:3.5vw; font-size:3vw; }
  .leistung-detail-points li{ padding:3vw 0 3vw 9vw; }
  .leistung-detail-points li::before{ top:3.1vw; width:5.4vw; height:5.4vw; }
}
.leistung-detail-cta{
  display:flex; align-items:center; width:max-content;
  text-decoration:none;
}
.leistung-detail-cta-label{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:#000; white-space:nowrap;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.leistung-detail-cta-icon{
  position:relative; z-index:1;
  flex:none; width:2.0833vw; height:2.0833vw;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.leistung-detail-cta-icon img{ display:block; width:100%; height:100%; }
.leistung-detail-cta:hover .leistung-detail-cta-label,
.leistung-detail-cta:focus-visible .leistung-detail-cta-label{
  transform:translateX(var(--ldcta-icon-w, 2.0833vw));
}
.leistung-detail-cta:hover .leistung-detail-cta-icon,
.leistung-detail-cta:focus-visible .leistung-detail-cta-icon{
  transform:translateX(calc(-1 * var(--ldcta-label-w, 10vw))) rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .leistung-detail-cta-label, .leistung-detail-cta-icon{ transition:none; }
}

/* Contact band — full-bleed white, so its type flips to black. The CTA
   inverts with it: black pill, and the arrow disc (a white circle with a
   black arrow) inverted so it reads on the light ground. */
.leistung-detail-contact{
  margin-top:11vw;
  padding:11.0938vw 0;
  background:var(--white); color:var(--black);
}
.leistung-detail-contact-inner{ display:flex; align-items:center; gap:4.2708vw; }
.leistung-detail-contact-text{ display:flex; flex-direction:column; gap:1.25vw; }
.leistung-detail-contact-text h2{
  margin:0; max-width:28.6458vw;
  font-family:var(--font-display-bold); font-weight:700; font-size:2.2917vw; line-height:1.25;
  color:inherit;
}
.leistung-detail-contact .leistung-detail-cta-label{ background:var(--black); color:var(--white); }
.leistung-detail-contact .leistung-detail-cta-icon img{ filter:invert(1); }
.leistung-detail-person{ display:flex; align-items:center; gap:2.0833vw; flex:none; }
.leistung-detail-person-photo{
  flex:none; width:14.7917vw; height:14.7917vw;
  border-radius:50%; overflow:hidden;
}
.leistung-detail-person-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.leistung-detail-person-info{ display:flex; flex-direction:column; gap:1.25vw; }
.leistung-detail-person-name{
  display:flex; flex-direction:column;
  font-size:1.4063vw; line-height:1.4; white-space:nowrap;
}
.leistung-detail-person-name strong{ font-family:var(--font-display-bold); font-weight:700; }
.leistung-detail-person-name span{ font-family:var(--font-display-bold); font-weight:400; }
.leistung-detail-person-kontakt{
  display:flex; flex-direction:column; gap:0.2083vw;
  font-size:0.9375vw; line-height:1.5; white-space:nowrap;
}
.leistung-detail-person-row{ display:flex; gap:1.4vw; }
.leistung-detail-person-row span{ flex:0 0 3.2em; font-family:var(--font-display-bold); font-weight:400; }  /* feste Breite: TEL und MAIL, Nummer und Adresse beginnen auf gleicher Höhe */
.leistung-detail-person-row a{
  font-family:var(--font-display-bold); font-weight:700; color:inherit;
  text-decoration:none;
}
.leistung-detail-person-row a:hover,
.leistung-detail-person-row a:focus-visible{ text-decoration:underline; }

/* Cases teaser — same card width and gap as the Leistungen cards on the
   homepage (728px / 40px), heading at the site's standard section grade. */
.leistung-detail-cases{ padding:11vw 0 14vw; }
.leistung-detail-cases-heading{
  margin:0 0 3vw; text-align:center;
  font-family:var(--font-display); font-weight:400; font-size:3.3854vw; line-height:1.1;
  color:var(--white);
}
.leistung-detail-cases-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.0417vw; }
.leistung-detail-case{ display:flex; flex-direction:column; gap:0.625vw; }
/* Placeholder plate until real case imagery exists — drawn as an outline
   rather than a fill, so it carries no colour of its own. */
.leistung-detail-case-media{
  height:12.5vw; border-radius:0.3125vw;
  background:var(--black); border:1px solid var(--white);
}
/* a real case: its key visual instead of the outline plate */
.leistung-detail-case-media.has-image{ display:block; overflow:hidden; border:0; }
.leistung-detail-case-media.has-image img{
  display:block; width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.16,1,.3,1);
}
.leistung-detail-case:hover .leistung-detail-case-media.has-image img{ transform:scale(1.04); }
.leistung-detail-case-body{ display:flex; flex-direction:column; align-items:flex-start; gap:1.25vw; }
.leistung-detail-case-text{ display:flex; flex-direction:column; gap:0.3125vw; }
.leistung-detail-case-subtitle{
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; line-height:1.4;
  color:var(--white); opacity:.8;
}
.leistung-detail-case-title{
  margin:0; font-family:var(--font-display-bold); font-weight:700; font-size:1.4462vw; line-height:1.1;
  color:var(--white);
}
/* Hovering a case turns its arrow disc a quarter of the way — the NE arrow
   comes to rest horizontal, the same 45deg the site's CTAs use. Lives on the
   shared class, so every page carrying this module gets it. */
.leistung-detail-case-icon{
  flex:none; width:2.0833vw; height:2.0833vw; display:block;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.leistung-detail-case:hover .leistung-detail-case-icon,
.leistung-detail-case:focus-within .leistung-detail-case-icon{ transform:rotate(45deg); }
@media (prefers-reduced-motion:reduce){
  .leistung-detail-case-icon{ transition:none; }
}

@media (max-width:860px){
  .leistung-detail-hero{ padding-top:6vw; }
  /* the sticky illustration has nowhere to stick beside a single column —
     it moves above the copy and scrolls with it */
  .leistung-detail-hero-row{ flex-direction:column; gap:8vw; padding-right:0; }
  .leistung-detail-illustration{ position:static; width:60vw; align-self:center; order:-1; }
  .leistung-detail-scroll-col{ gap:12vw; }
  .leistung-detail-content{ max-width:none; gap:8vw; }
  .leistung-detail-intro{ gap:5vw; }
  .leistung-detail-tag{ height:9vw; padding:0 5vw; font-size:3.4vw; }
  /* 9.4vw: "Websites & Shops" must fit the column on one line; the tag
     pills wrap instead of running out of the screen */
  .leistung-detail-title{ font-size:9.4vw; letter-spacing:0; }
  .leistung-detail-tags{ flex-wrap:wrap; row-gap:2vw; }
  .leistung-detail-lead{ font-size:4vw; }
  .leistung-detail-cta-label{ height:9vw; padding:0 5vw; font-size:3.4vw; }
  .leistung-detail-cta-icon{ width:9vw; height:9vw; }
  .leistung-detail-feature-list{ max-width:none; gap:7vw; }
  .leistung-detail-feature{ gap:3.5vw; }
  .leistung-detail-feature-title{ font-size:5vw; }
  .leistung-detail-feature-copy{ font-size:4vw; padding-top:2vw; }
  .leistung-detail-feature-icon{ width:8vw; height:8vw; margin-top:-0.5vw; }
  .leistung-detail-contact{ margin-top:16vw; padding:14vw 0; }
  .leistung-detail-contact-inner{ flex-direction:column; align-items:flex-start; gap:10vw; }
  .leistung-detail-contact-text{ gap:6vw; }
  .leistung-detail-contact-text h2{ max-width:none; font-size:7vw; }
  /* width:100% so the block actually spans the column — without it the flex
     item shrinks to its widest child (the photo), and there is nothing left
     to centre the photo within. */
  .leistung-detail-person{ flex-direction:column; align-items:flex-start; gap:6vw; width:100%; }
  .leistung-detail-person-photo{ width:45vw; height:45vw; align-self:center; }
  .leistung-detail-person-info{ gap:5vw; }
  .leistung-detail-person-name{ font-size:5vw; }
  .leistung-detail-person-kontakt{ font-size:3.6vw; gap:1.5vw; }
  .leistung-detail-person-row{ gap:4vw; }
  .leistung-detail-cases{ padding:16vw 0 20vw; }
  .leistung-detail-cases-heading{ margin-bottom:8vw; font-size:var(--mobile-heading); text-align:left; }
  .leistung-detail-cases-grid{ grid-template-columns:1fr; gap:10vw; }
  .leistung-detail-case{ gap:3vw; }
  .leistung-detail-case-media{ height:52vw; border-radius:2vw; }
  .leistung-detail-case-body{ gap:5vw; }
  .leistung-detail-case-subtitle{ font-size:3.8vw; }
  .leistung-detail-case-title{ font-size:5.5vw; }
  .leistung-detail-case-icon{ width:9vw; height:9vw; }
}

/* ---------- Blog overview (Figma node 810:3479, "Frame 356") ----------
   Same conversion as everywhere else: px / 3840 * 100 = vw. The frame's
   content column is left:404 / width:3032 — --grid-margin / --grid-width —
   so hero, card grid and newsletter strip all sit in a plain .wrap.
   Card grid: three 984px columns on a 3032px track => 40px gutters
   (1.0417vw), used for both axes. */
.blog-hero{ padding-top:5.677vw; }
.blog-hero-row{
  display:flex; align-items:flex-end; justify-content:space-between; gap:4vw;
}
.blog-intro{
  flex:1 1 auto; min-width:0; max-width:52.4219vw; /* 2013px */
  display:flex; flex-direction:column; gap:1.25vw; /* 48px */
}
.blog-title{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
.blog-lead{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4;
  color:var(--white); opacity:.8;
}
/* Filter pills — the site's secondary button shape. Flush against each other
   horizontally, exactly like .leistung-detail-tags; only the rows are spaced
   (Figma's gap:12px 0). */
.blog-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:0.3125vw 0; }
.blog-chip{
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--black); border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white); white-space:nowrap; cursor:pointer;
  transition:background .3s ease, color .3s ease;
}
.blog-chip:hover, .blog-chip:focus-visible{ background:var(--white); color:#000; }
.blog-chip.is-active{ background:var(--white); color:#000; }
@media (prefers-reduced-motion:reduce){ .blog-chip{ transition:none; } }

.blog-search{
  flex:none; width:23.3854vw; height:3.3333vw; /* 898 x 128 */
  display:flex; align-items:center; justify-content:space-between;
  padding:0.2083vw 0.4167vw 0.2083vw 1.0417vw;
  border:2px solid var(--white); border-radius:0.3125vw;
  background:transparent;
}
.blog-search-input{
  flex:1 1 auto; min-width:0;
  background:none; border:0; outline:none; padding:0;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white);
}
.blog-search-input::placeholder{ color:var(--white); opacity:1; }
/* The browser's own clear button is replaced with a cross drawn to the same
   spec as the magnifier beside it: same 96-unit box, same 4-unit white stroke,
   same rendered size — so the two glyphs read as one pair. Chrome/Safari only;
   Firefox shows no clear button for search inputs at all. */
.blog-search-input::-webkit-search-cancel-button{
  -webkit-appearance:none; appearance:none;
  width:2.5vw; height:2.5vw; margin-right:0.5vw;
  cursor:pointer;
  background:center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none'%3E%3Cpath d='M23 23L73 73M73 23L23 73' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.blog-search-input::-webkit-search-decoration,
.blog-search-input::-webkit-search-results-button{ -webkit-appearance:none; appearance:none; }
.blog-search-btn{
  flex:none; width:2.5vw; height:2.5vw;
  padding:0; border:0; background:none; cursor:pointer;
}
.blog-search-btn svg{ display:block; width:100%; height:100%; }

.blog-list{ padding-top:4vw; }
.blog-grid{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:1.0417vw; /* 40px, both axes */
  align-items:start;
}
/* Light card at rest, inverted on hover: black plate, white type, flipped
   illustration. Every piece that carries its own colour flips with it — the
   artwork and the black arrow-ne.svg via invert(), the type via `color`. The
   hairline is always there (matched to the fill while the card is light, so
   it doesn't show) and turns white with the dark state, which is what keeps
   the hovered card readable against the page's own black. */
.blog-card{
  display:flex; flex-direction:column;
  background:var(--white); border:1px solid var(--white); overflow:hidden;
  border-radius:0.6853vw; /* 26.315px, all four corners */
  transition:background-color .4s ease, border-color .4s ease;
}
.blog-card:hover{ background:var(--black); border-color:var(--white); }
/* The teasers are 984x696 illustrations, so the frame's 984x585.5 crop would
   cut them off top and bottom. The box carries the artwork's own ratio and the
   image is contained rather than covered, so any teaser is shown whole
   whatever its proportions; the ground matches the artwork's white plate so a
   letterboxed image has no visible edge. */
.blog-card-media{
  display:block; width:100%; aspect-ratio:984 / 696;
  overflow:hidden; background:transparent;
}
.blog-card-media img{
  display:block; width:100%; height:100%; object-fit:contain;
  transition:transform .6s cubic-bezier(.4,0,.2,1), filter .4s ease;
}
.blog-card:hover .blog-card-media img{ transform:scale(1.04); filter:invert(1); }
.blog-card-body{
  flex:1 1 auto;
  display:flex; flex-direction:column; gap:1.3706vw; /* 52.63px */
  padding:1.3706vw; color:#000;
  transition:color .4s ease;
}
.blog-card:hover .blog-card-body{ color:var(--white); }
.blog-card-head{ display:flex; flex-direction:column; gap:0.3125vw; }
.blog-card-meta{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.7292vw; line-height:1.2; color:inherit;
}
.blog-card-title{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.4063vw; line-height:1.1; color:inherit;
}
.blog-card-title a{ color:inherit; text-decoration:none; }
.blog-card-excerpt{
  margin:0; flex:1 1 auto;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0417vw; line-height:1.4; color:inherit; opacity:.8;
}
/* Tertiary button: label plus the site's own CTA arrow with the disc removed
   (images/arrow-ne.svg), which points north-east like the Figma glyph. */
.blog-card-link{
  display:inline-flex; align-items:center; gap:0.6853vw;
  padding:0.2284vw 0; margin-top:auto;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.0417vw; line-height:1.5; color:inherit; text-decoration:none;
}
.blog-card-link-icon{
  display:block; flex:none; width:0.75vw; height:0.75vw;
  transition:transform .3s cubic-bezier(.4,0,.2,1), filter .4s ease;
}
/* arrow-ne.svg is drawn black, so it needs flipping while the card is dark. */
.blog-card:hover .blog-card-link-icon{ filter:invert(1); }
.blog-card-link:hover .blog-card-link-icon,
.blog-card-link:focus-visible .blog-card-link-icon,
.blog-newsletter-link:hover .blog-card-link-icon,
.blog-newsletter-link:focus-visible .blog-card-link-icon{
  transform:rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .blog-card, .blog-card-body, .blog-card-media img, .blog-card-link-icon{ transition:none; }
}

/* Newsletter strip, sitting between the first and second row of cards and
   spanning the whole grid, as in the frame — drawn as an outline on the page's
   own ground rather than a white plate, with the cards' corner radius. */
.blog-newsletter{
  grid-column:1 / -1;
  display:flex; align-items:center; justify-content:space-between; gap:2vw;
  padding:0.6962vw 1.3542vw; /* 26.733 / 52 */
  background:transparent; color:var(--white);
  border:1px solid var(--white); border-radius:0.6853vw;
}
.blog-newsletter p{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0443vw; line-height:1.5;
}
.blog-newsletter-link{
  display:inline-flex; align-items:center; gap:0.6962vw;
  padding:0.2321vw 0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.0443vw; line-height:1.5; color:var(--white); text-decoration:none;
}
/* arrow-ne.svg is drawn black for the light card surfaces — inverted here so
   it reads on the black ground. */
.blog-newsletter .blog-card-link-icon{ filter:invert(1); }

/* "Mehr Beiträge laden" is the same secondary button as the Leistungen cards
   on the homepage — it carries .leistung-cta, so it inherits those shapes and
   the cross-slide hover, and js/main.js measures it along with the others.
   Only the icon differs: Figma puts a plus in the ring here, not an arrow.
   plus-thick.svg is already white, so it must skip the invert() the arrow
   asset needs, and it stays upright instead of turning 45deg — a rotated plus
   would read as a close cross. */
.blog-more-wrap{ display:flex; justify-content:center; padding-top:7vw; }
.blog-more .leistung-cta-icon img{ filter:none; }
.blog-more:hover .leistung-cta-icon,
.blog-more:focus-visible .leistung-cta-icon{
  transform:translateX(calc(-1 * var(--leistung-cta-label-w, 6vw)));
}
.blog-list + .leistung-detail-contact{ margin-top:13vw; }

@media (max-width:860px){
  .blog-hero{ padding-top:6vw; }
  .blog-hero-row{ flex-direction:column; align-items:stretch; gap:7vw; }
  .blog-intro{ max-width:none; gap:5vw; }
  .blog-title{ font-size:var(--mobile-heading); letter-spacing:0; }
  .blog-lead{ font-size:3.8vw; }
  .blog-chips{ gap:2vw 0; }
  .cases-filters{ gap:5vw; }
  .cases-empty{ padding-top:6vw; font-size:5vw; }
  .blog-chip{ height:8vw; padding:0 4vw; font-size:3.2vw; }
  .blog-search{ width:100%; height:12vw; padding:0 2vw 0 4vw; border-radius:1.5vw; }
  .blog-search-input{ font-size:3.4vw; }
  .blog-search-btn{ width:8vw; height:8vw; }
  .blog-search-input::-webkit-search-cancel-button{ width:8vw; height:8vw; margin-right:2vw; }

  .blog-list{ padding-top:14vw; }
  .blog-grid{ grid-template-columns:1fr; gap:8vw; }
  .blog-card{ border-radius:2.5vw; }
  .blog-card-body{ gap:5vw; padding:5vw; }
  .blog-card-head{ gap:1.5vw; }
  .blog-card-meta{ font-size:3.2vw; }
  .blog-card-title{ font-size:6vw; }
  .blog-card-excerpt{ font-size:3.8vw; }
  .blog-card-link{ gap:2.5vw; font-size:3.8vw; }
  .blog-card-link-icon{ width:3vw; height:3vw; }

  .blog-newsletter{ flex-direction:column; align-items:flex-start; gap:3vw; padding:5vw; border-radius:2.5vw; }
  .blog-newsletter p{ font-size:3.8vw; }
  .blog-newsletter-link{ gap:2.5vw; font-size:3.8vw; }

  .blog-more-wrap{ padding-top:16vw; }
  .blog-list + .leistung-detail-contact{ margin-top:20vw; }
}

/* ---------- Über uns (Figma node 816:7174, "Frame 357") ----------
   3840px reference frame, px / 3840 * 100 = vw like every other block.
   Type maps onto the site's families as elsewhere: Figma's "ES Klarheit
   Kurrent TRIAL:Bold/Regular/Light" are var(--font-display-bold) at 700/400/
   300, "Red Hat Display" and "Barlow" aren't licensed here and fall back to
   var(--font-body) / var(--font-display-bold) as on the detail pages. */
/* Full-bleed and full-height: the stage is pulled up under the sticky header
   (js/main.js measures it into --header-h) so the photo starts at the very
   top of the window, runs edge to edge, and fills exactly one viewport at any
   size. svh rather than vh so a phone's collapsing address bar doesn't make
   it jump. The bottom corners are rounded off against the page's own black,
   like the picture panels further down. */
.ueber-stage{
  position:relative; isolation:isolate;
  margin-top:calc(-1 * var(--header-h, 0px));
  height:100vh; height:100svh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:calc(5.8333vw + var(--header-h, 0px)) 0 5.8333vw;
  background:var(--black); /* plate behind the photo */
  border-radius:0 0 1.0417vw 1.0417vw; /* 40px, matching the kombi panels */
  overflow:hidden;
}
.ueber-stage-bg{ position:absolute; inset:0; z-index:-1; }
.ueber-stage-bg img{ width:100%; height:100%; object-fit:cover; display:block; }
/* The frame lays two black washes over the photo (6% then 10%, ~16%
   composited). That alone leaves the headline sitting on the bright half of
   this particular shot, so the flat wash is joined by a bottom-weighted
   gradient: the top of the image stays as bright as in Figma and the type
   gets the contrast it needs where it actually sits. */
.ueber-stage-bg::after{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 24%, rgba(0,0,0,.74) 100%),
    rgba(0,0,0,.16);
}
.ueber-stage-inner{ display:flex; flex-direction:column; align-items:flex-start; gap:1.25vw; }
.ueber-stage-title{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
/* Scroll cue: the frame's arrow-right disc. At rest it points up and to the
   right at 45deg; hovering turns it the 135deg round to straight down, so the
   gesture itself says "this takes you down the page". */
.ueber-stage-scroll{
  display:block; width:2.1875vw; height:2.1875vw;
  transform:rotate(-45deg);
  transition:transform .6s cubic-bezier(.22,1,.36,1);
}
.ueber-stage-scroll svg{ display:block; width:100%; height:100%; }
.ueber-stage-scroll:hover, .ueber-stage-scroll:focus-visible{ transform:rotate(90deg); }

/* Text/image blocks. The frame puts them in a 2518px band centred on the
   page — narrower than the content grid and not tied to it, so this has its
   own wrapper rather than .wrap. */
.ueber-kombis{
  display:flex; flex-direction:column; gap:7vw; /* 204px, opened up */
  padding-top:11vw; /* below the stage */
}
.ueber-kombi{
  width:65.5729vw; margin:0 auto; /* 2518px */
  display:grid; grid-template-columns:1fr 1fr; gap:1.3281vw; /* 51px */
  align-items:center;
}
/* The picture is taller than its frame and centred in it, so it has room to
   travel while the block passes the viewport (js/main.js writes the shift).
   The 15% overhang top and bottom is the whole range of the movement; the
   frame itself never moves. */
.ueber-kombi-img{
  position:relative;
  height:28.6458vw; /* 1100px */
  /* Hintergrund schwarz wie die Seite, nicht weiß: Safari lässt an der
     runden Kante eines Rahmens mit bewegtem Bild darin eine Haarlinie des
     Rahmen-Hintergrunds durchscheinen – weiß war das als heller Streifen
     unter dem Foto zu sehen. isolation: eigene Ebene, damit der Zuschnitt
     der Ecken und das bewegte Bild gemeinsam gerechnet werden. */
  border-radius:1.0417vw; overflow:hidden; background:var(--black); isolation:isolate;
}
.ueber-kombi-img img{
  position:absolute; inset:-15% 0; width:100%; height:130%;
  display:block; object-fit:cover;
  will-change:transform;
}
@media (prefers-reduced-motion:reduce){
  .ueber-kombi-img img{ inset:0; height:100%; transform:none !important; }
}
.ueber-kombi-text{ display:flex; flex-direction:column; gap:1.25vw; }
.ueber-kombi-text h2{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:3.3854vw; line-height:1.1; color:var(--white);
}
.ueber-kombi-text p{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white);
}
.ueber-kombi-mail{
  font-weight:700; color:inherit; text-decoration:none;
  border-bottom:1px solid transparent; transition:border-color .3s ease;
}
.ueber-kombi-mail:hover, .ueber-kombi-mail:focus-visible{ border-bottom-color:currentColor; }
/* Second block flips the sides; the source order stays text-then-image so it
   still reads text-first when the columns stack on a phone. */
.ueber-kombi--reverse .ueber-kombi-text{ order:2; }
.ueber-kombi--reverse .ueber-kombi-img{ order:1; }

/* Facts: a horizontal accordion, exactly one card open. The open one takes
   the accent fill and the wide track (1332px), the others stay outlined at
   636px. */
.ueber-facts{ padding-top:10vw; }
/* The row has a fixed height (Figma's 516px), which is what keeps the
   open/close transition from jolting: a card that only changes width can't
   change the row's height, so there is nothing for the layout to spring
   back from. The copy stays clamped to three lines in both states — opening
   makes the card wider, so those three lines simply hold the whole text
   instead of breaking off on an ellipsis. */
.ueber-facts-row{
  --ueber-fact-h:14.9vw; /* was 516px (13.4375vw); one more line of copy fits in the open card */
  display:flex; align-items:stretch; justify-content:center;
  gap:1.5625vw; /* 60px */
  width:89.0625vw; margin:0 auto; /* 3420px */
}
.ueber-fact{
  position:relative; z-index:1;
  flex:0 0 16.5625vw; /* 636px */
  height:var(--ueber-fact-h);
  display:flex; flex-direction:column; align-items:flex-start; gap:1.25vw;
  padding:1.25vw; /* 48px */
  background:transparent; border:0.1042vw solid var(--white); border-radius:0.625vw;
  font:inherit; color:inherit; text-align:left; cursor:pointer;
  overflow:hidden;
  transition:flex-basis .8s cubic-bezier(.22,1,.36,1),
             background-color .6s ease,
             transform .5s cubic-bezier(.22,1,.36,1);
}
.ueber-fact.is-open{ flex-basis:34.6875vw; background:var(--white); } /* 1332px */
/* Hover grows the card a touch instead of tinting it, so the fill stays the
   one signal that says "open". */
.ueber-fact:hover, .ueber-fact:focus-visible{ transform:scale(1.03); z-index:2; }
.ueber-fact-txt{ display:flex; flex-direction:column; gap:0.4167vw; width:100%; }
.ueber-fact-number{
  font-family:var(--font-body); font-weight:700;
  font-size:2.2917vw; line-height:1.25; color:var(--white);
  transition:color .6s ease;
}
.ueber-fact.is-open .ueber-fact-number{ color:var(--black); }
/* Three lines in both states: closed they break off on an ellipsis, open the
   card is wide enough for the same three lines to carry the whole sentence.
   Keeping the line count fixed is half of what makes the height stable. */
.ueber-fact-copy{
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  overflow:hidden;
  transition:color .6s ease;
}
/* open: the wide card shows the whole text (four lines); closed it is the
   three-line teaser – so the plus really opens something */
.ueber-fact.is-open .ueber-fact-copy{ color:var(--black); -webkit-line-clamp:4; }
/* Plus to minus by turning the upright bar onto the horizontal one — the same
   mechanic as the Leistungen accordion. The disc flips white on the open card
   so the control stays visible once the plate itself is accent-coloured. */
.ueber-fact-icon{ display:block; flex:none; width:2.1875vw; height:2.1875vw; margin-top:auto; }
.ueber-fact-icon svg{ display:block; width:100%; height:100%; }
/* Inactive: white disc, dark mark on the black plate. Active: the plate is
   white, so the disc turns black and the mark white — the same contrast
   either way, no third colour. */
.uf-disc{ fill:var(--white); transition:fill .6s ease; }
.uf-bar-h, .uf-bar-v{ stroke:var(--black); transition:stroke .6s ease; }
.uf-bar-v{
  transform-box:view-box; transform-origin:42px 42px;
  transition:transform .7s cubic-bezier(.22,1,.36,1), stroke .6s ease;
}
.ueber-fact.is-open .uf-disc{ fill:var(--black); }
.ueber-fact.is-open .uf-bar-h,
.ueber-fact.is-open .uf-bar-v{ stroke:var(--white); }
.ueber-fact.is-open .uf-bar-v{ transform:rotate(90deg); }

/* Team: two columns of full circles that drift against each other while the
   section passes (js/main.js writes --ueber-shift per column), each portrait
   fading up as it enters. */
.ueber-team{ padding-top:11.5vw; padding-bottom:0; }
/* Ziel des Pfeils unter dem Team der Startseite (ueber-uns.html#ueberTeam):
   ein Stück tiefer ankommen, damit oben nicht die Unterkanten der
   Fakten-Kacheln aus dem Abschnitt davor im Bild stehen. */
@media (min-width:861px){ .ueber-team{ scroll-margin-top:-4vw; } }
/* One gap value for both axes: the circles are sized explicitly rather than
   as "a share of the column", so the space left over sideways is simply
   reused as the vertical rhythm. --ueber-gap is that single distance; the
   pair is centred in the content grid and the stagger is half a step
   (circle + gap), so the two columns interleave evenly. */
.ueber-team-cols{
  --ueber-circle:34.2833vw;
  --ueber-gap:5.7167vw;
  display:flex; justify-content:center; align-items:flex-start;
  gap:var(--ueber-gap);
}
/* Each column carries a parallax transform, which makes it its own stacking
   context — so lifting the hovered person alone can't clear the neighbouring
   column. The whole column rises instead; the two never overlap, so there is
   nothing to lose by it. */
.ueber-team-col{
  position:relative; z-index:1;
  flex:none; width:var(--ueber-circle);
  display:flex; flex-direction:column; gap:var(--ueber-gap);
}
.ueber-team-col:hover, .ueber-team-col:focus-within{ z-index:4; }
/* Half a step (circle + gap), so the left column's circles sit exactly
   between the right column's. */
.ueber-team-col--left{ margin-top:calc((var(--ueber-circle) + var(--ueber-gap)) / 2); }
/* The hover card reaches past its own circle, so the hovered person has to
   sit above its neighbours. Instead of a shadow under the type, the rest of
   the grid steps back to half opacity while one is hovered — that separates
   the card from whatever portrait it crosses and picks the person out at the
   same time. Only opacity is transitioned here: the transform belongs to the
   parallax loop in js/main.js, which writes it every frame. */
.ueber-person{ position:relative; z-index:1; transition:opacity .5s ease; }
.ueber-person:hover, .ueber-person:focus-within{ z-index:3; }
.ueber-team:has(.ueber-person:hover) .ueber-person:not(:hover),
.ueber-team:has(.ueber-person:focus-within) .ueber-person:not(:focus-within){ opacity:.5; }
.ueber-person-photo{
  width:100%; aspect-ratio:1; border-radius:50%; overflow:hidden;
  opacity:0; transform:translateY(4vw) scale(.96);
  transition:opacity 1.2s ease, transform 1.3s cubic-bezier(.16,1,.3,1);
}
.ueber-person.is-in .ueber-person-photo{ opacity:1; transform:none; }
.ueber-person-photo img{ display:block; width:100%; height:100%; object-fit:cover; }
/* Name and contact sit beside the circle, starting at 75% of its width as in
   the frame. The card is always set left-aligned; only its anchor changes, so
   it lands in whichever gutter has the room — to the right of the left-hand
   column, to the left of the right-hand one (where it is hung by its right
   edge, but the type inside still reads from the left). */
.ueber-person-txt{
  position:absolute; top:31.7%; left:75.2%;
  display:flex; flex-direction:column; align-items:flex-start; gap:1.7593vw;
  color:var(--white); text-align:left; white-space:nowrap; pointer-events:none;
  opacity:0; transform:translateX(-1vw);
  transition:opacity .55s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.ueber-person:hover .ueber-person-txt,
.ueber-person:focus-within .ueber-person-txt{ opacity:1; transform:none; }
.ueber-team-col--right .ueber-person-txt{
  left:auto; right:75.2%;
  transform:translateX(1vw);
}
.ueber-team-col--right .ueber-person:hover .ueber-person-txt,
.ueber-team-col--right .ueber-person:focus-within .ueber-person-txt{ transform:none; }
.ueber-person-name{
  display:flex; flex-direction:column;
  font-size:1.9792vw; line-height:1.4;
}
.ueber-person-name strong{ font-family:var(--font-display-bold); font-weight:700; }
.ueber-person-name span{ font-family:var(--font-display); font-weight:400; }
/* A two-column grid rather than two flex rows: the labels and the values each
   get their own track, so they line up whichever side the card sits on. */
.ueber-person-kontakt{
  display:grid; grid-template-columns:max-content max-content;
  column-gap:1.4661vw; row-gap:0.2932vw;
  font-size:1.3194vw; line-height:1.5;
}
.ueber-person-row{ display:contents; }
.ueber-person-row span{ font-family:var(--font-display-bold); font-weight:400; }
.ueber-person-row a{
  font-family:var(--font-display-bold); font-weight:700;
  color:inherit; text-decoration:none; pointer-events:auto;
}
.ueber-person-row a:hover, .ueber-person-row a:focus-visible{ text-decoration:underline; }
@media (prefers-reduced-motion:reduce){
  .ueber-stage-scroll, .ueber-fact, .ueber-fact-copy, .uf-disc, .uf-bar-h, .uf-bar-v,
  .ueber-person-photo, .ueber-person-txt{ transition:none; }
  .ueber-team-col, .ueber-person{ transform:none !important; }
  .ueber-person{ transition:none; }
  .ueber-person-photo{ opacity:1; transform:none; }
}

@media (max-width:860px){
  .ueber-stage{
    height:100vh; height:100svh;
    /* clears the floating mobile bar as well, so the headline and the scroll
       cue aren't sitting behind it */
    padding:calc(8vw + var(--header-h, 0px)) 0
            calc(8vw + var(--mobile-bar-h) + var(--mobile-bar-bottom) * 2);
    border-radius:0 0 3vw 3vw;
  }
  .ueber-stage-inner{ gap:6vw; }
  .ueber-stage-title{ font-size:var(--mobile-heading); letter-spacing:0; }
  .ueber-stage-scroll{ width:11vw; height:11vw; }

  .ueber-kombis{ gap:20vw; padding-top:20vw; }
  .ueber-kombi{ width:auto; margin:0 var(--gutter); grid-template-columns:1fr; gap:6vw; }
  .ueber-kombi-img{ height:auto; aspect-ratio:1231 / 1100; border-radius:3vw; }
  .ueber-kombi-text{ gap:4vw; }
  .ueber-kombi-text h2{ font-size:var(--mobile-heading); }
  .ueber-kombi-text p{ font-size:3.8vw; }
  /* Stacked, the image belongs under its heading again. */
  .ueber-kombi--reverse .ueber-kombi-text{ order:1; }
  .ueber-kombi--reverse .ueber-kombi-img{ order:2; }

  /* No room for four tracks side by side: the row becomes a normal vertical
     accordion, open card filled, closed cards outlined. */
  .ueber-facts{ padding-top:20vw; }
  .ueber-facts-row{
    width:auto; margin:0 var(--gutter);
    flex-direction:column; align-items:stretch; gap:4vw;
  }
  /* Stacked, the card can only grow downwards, so height is what the
     accordion animates here — no fixed height, and the open card drops the
     clamp and shows its copy in full. */
  .ueber-fact{
    flex:none; height:auto; gap:5vw; padding:5vw;
    border-width:2px; border-radius:2.5vw;
  }
  .ueber-fact.is-open{ flex-basis:auto; }
  .ueber-fact.is-open .ueber-fact-copy{ -webkit-line-clamp:none; }
  .ueber-fact:hover, .ueber-fact:focus-visible{ transform:none; }
  .ueber-fact-number{ font-size:9vw; }
  .ueber-fact-copy{ font-size:3.8vw; }
  .ueber-fact-icon{ width:9vw; height:9vw; }

  /* One column, no parallax (js stands down below 860px), and the hover
     card has nowhere to go beside the circle — so it becomes a plain caption
     under each portrait, always visible. */
  .ueber-team{ padding-top:20vw; padding-bottom:0; }
  .ueber-team-cols{ flex-direction:column; --ueber-circle:100%; --ueber-gap:10vw; }
  .ueber-team-col{ width:100%; }
  .ueber-team-col--left{ margin-top:0; }
  .ueber-person{ display:flex; flex-direction:column; gap:4vw; opacity:1 !important; }
  .ueber-person-txt{
    position:static; opacity:1; transform:none; white-space:normal;
    gap:3vw;
  }
  .ueber-team-col--right .ueber-person-txt{ transform:none; }
  .ueber-person-name{ font-size:5.5vw; }
  .ueber-person-kontakt{ font-size:3.6vw; column-gap:4vw; row-gap:1.5vw; }
}

/* ---------- Über uns: Warum / Wie / Was + Werte ----------
   Inhalte aus dem Growth Plan. Oben drei Spalten (Golden Circle) mit der
   Mission als Vorspann, darunter die sieben Kernwerte als Kacheln im
   4er-Raster; die achte Kachel trägt die Vision und ist als einzige gefüllt. */
.ueber-kreis{ padding:11vw 0 0; }
.ueber-kreis .ueber-werte-heading{ margin-bottom:1.5vw; }
.ueber-kreis-lead{
  margin:0 auto 4vw; max-width:46vw; text-align:center;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.5; color:var(--white);
}
.ueber-kreis-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:2.5vw; }
.ueber-kreis-item{ padding-top:1.5vw; border-top:0.1042vw solid var(--white); }
/* Icons, drawn for the three statements in the line style of the service
   icons, with the same kind of small hover movement:
     Warum  – bars growing to full height under a rising line (Potenzial)
     Wie    – two gears that turn into each other (Lösungen, die funktionieren)
     Was    – a website carrying the three goals: Kunde, Begeisterung, Automation
   On touch devices js/main.js sets .is-live while an item is in view instead. */
.uk-icon{ display:block; height:6.5vw; width:auto; margin:0.5vw 0 1.8vw; overflow:visible; }
.uk-icon g, .uk-icon .uk-bar{ transform-box:fill-box; transform-origin:center; transition:transform .6s cubic-bezier(.22,1,.36,1); }
.uk-icon .uk-bar{ transform-origin:50% 100%; }
.uk-icon .uk-bar--1{ transform:scaleY(.7); }
.uk-icon .uk-bar--2{ transform:scaleY(.72); transition-delay:.06s; }
.uk-icon .uk-bar--3{ transform:scaleY(.76); transition-delay:.12s; }
.uk-icon .uk-bar--4{ transform:scaleY(.8); transition-delay:.18s; }
.ueber-kreis-item:hover .uk-bar, .ueber-kreis-item.is-live .uk-bar{ transform:scaleY(1); }
.uk-icon .uk-rise{ transform:translate(-4px, 9px); transition-delay:.1s; }
.ueber-kreis-item:hover .uk-rise, .ueber-kreis-item.is-live .uk-rise{ transform:translate(0, 0); }
.uk-icon .uk-gear{ transition-duration:1.1s; }
.ueber-kreis-item:hover .uk-gear--a, .ueber-kreis-item.is-live .uk-gear--a{ transform:rotate(72deg); }
.ueber-kreis-item:hover .uk-gear--b, .ueber-kreis-item.is-live .uk-gear--b{ transform:rotate(-102.86deg); }
.ueber-kreis-item:hover .uk-goal, .ueber-kreis-item.is-live .uk-goal{ transform:translateY(-4px); }
.uk-icon .uk-goal--2{ transition-delay:.08s; }
.uk-icon .uk-goal--3{ transition-delay:.16s; }
.ueber-kreis-item:hover .uk-goal--2, .ueber-kreis-item.is-live .uk-goal--2{ transform:translateY(-4px) scale(1.12); }
.ueber-kreis-item:hover .uk-goal--3, .ueber-kreis-item.is-live .uk-goal--3{ transform:translateY(-4px) rotate(180deg); }
@media (prefers-reduced-motion:reduce){
  .uk-icon g, .uk-icon .uk-bar{ transition:none; transform:none !important; animation:none !important; }
}
.ueber-kreis-label, .ueber-wert-num{
  display:block; margin-bottom:1vw;
  font-family:var(--font-body); font-weight:700;
  font-size:0.7813vw; line-height:1.2; letter-spacing:.12em; text-transform:uppercase;
  color:var(--white); opacity:.6;
}
.ueber-kreis-item p{
  margin:0;
  font-family:var(--font-display); font-weight:400;
  font-size:1.6146vw; line-height:1.3; color:var(--white);
}
.ueber-werte{ padding:11vw 0; }
.ueber-werte-heading{
  margin:0 0 4vw; text-align:center;
  font-family:var(--font-display); font-weight:400;
  font-size:3.3854vw; line-height:1.1; color:var(--white);
}
.ueber-werte-grid{
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:1.5625vw;
}
.ueber-wert{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:1.5vw;
  border:0.1042vw solid rgba(255,255,255,.4); border-radius:0.625vw;
}
.ueber-wert h3{
  margin:0 0 0.4vw;
  font-family:var(--font-display); font-weight:400;
  font-size:1.6146vw; line-height:1.2; color:var(--white);
}
.ueber-wert p{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white);
}
.ueber-wert .ueber-wert-claim{ margin-bottom:1.2vw; opacity:.6; }
.ueber-wert--vision{ background:var(--white); border-color:var(--white); justify-content:space-between; }
.ueber-wert--vision .ueber-wert-num{ color:var(--black); }
.ueber-wert--vision .ueber-wert-vision{
  font-family:var(--font-display); font-size:1.4462vw; line-height:1.3; color:var(--black);
}

@media (max-width:860px){
  .ueber-kreis{ padding-top:20vw; }
  .ueber-kreis .ueber-werte-heading{ margin-bottom:5vw; }
  .ueber-kreis-lead{ max-width:none; margin-bottom:10vw; text-align:left; font-size:4.2vw; }
  .ueber-kreis-grid{ grid-template-columns:1fr; gap:8vw; }
  .ueber-kreis-item{ padding-top:5vw; border-top-width:2px; }
  .uk-icon{ height:22vw; margin:1vw 0 6vw; }
  .ueber-kreis-label, .ueber-wert-num{ margin-bottom:3vw; font-size:3vw; }
  .ueber-kreis-item p{ font-size:5.5vw; }
  .ueber-werte{ padding:20vw 0; }
  .ueber-werte-heading{ margin-bottom:10vw; font-size:var(--mobile-heading); text-align:left; }
  .ueber-werte-grid{ grid-template-columns:1fr; gap:4vw; }
  .ueber-wert{ padding:5vw; border-width:2px; border-radius:2.5vw; }
  .ueber-wert h3{ margin-bottom:1vw; font-size:5.5vw; }
  .ueber-wert p{ font-size:3.8vw; }
  .ueber-wert .ueber-wert-claim{ margin-bottom:4vw; }
  .ueber-wert--vision .ueber-wert-vision{ margin-top:6vw; font-size:5.5vw; }
}

/* ---------- Page transition: white circle wipe ----------
   A white circle opens the page change: its centre sits ON the window edge, so
   only ever half of it is on screen and the covering edge is always an arc. It
   grows out of the left edge over the page you are leaving; the browser
   navigates while the screen is covered; on the new page the circle is
   anchored to the opposite edge and shrinks away into it. The uncovered area
   therefore grows from the left, so the whole movement reads left-to-right —
   and right-to-left when a link leads back to the homepage.

   It is a ::before on <html> rather than an element, because the covered state
   has to be in place before the new page's first paint — a tiny inline script
   in each <head> sets the class, which no external file could do in time.

   Geometry: a 100vmax square with a 50% radius, centred by margin on
   (left:0, top:50%); translateX moves that centre onto whichever edge the
   half-circle hangs off. It is scaled rather than sized to full coverage so
   the rasterised layer stays small — 3.2 puts the radius at 160vmax, which
   clears the corner-to-edge distance at any aspect ratio. Translation comes
   before scale in the transform list, so the anchor is not multiplied by the
   scale. At rest it sits at scale(0), costing nothing on a normal load. */
html::before{
  content:''; position:fixed; z-index:99999;
  top:50%; left:0;
  width:100vmax; height:100vmax;
  margin:-50vmax 0 0 -50vmax;
  border-radius:50%;
  background:var(--white);
  transform:translateX(0) scale(0);
  pointer-events:none;
}
/* Arrival, step one: hold the cover while the new page paints. Anchored
   mid-window here — at this scale it covers from anywhere, and the reveal
   below starts from its own edge, so the hand-over is invisible. */
html.wipe-hold::before{ transform:translateX(50vw) scale(3.2); }
/* The two halves are eased as one movement: the cover starts gently and is
   still gaining speed when it hands over, the reveal picks that speed up and
   glides out. An ease-in-out on both would brake to a standstill at full cover
   and set off again.
   The reveal's curve is gentler than a rectangular wipe's would be: a
   shrinking circle loses covered area with the SQUARE of its scale, so an
   aggressive ease-out makes the white vanish almost on contact. */
/* Arrival, step two: shrink away into the far edge. */
html.wipe-reveal-ltr::before{
  animation:nollWipeRevealLtr 1.05s cubic-bezier(.36,.12,.22,1) forwards;
}
html.wipe-reveal-rtl::before{
  animation:nollWipeRevealRtl 1.05s cubic-bezier(.36,.12,.22,1) forwards;
}
/* Departure: grow out of the near edge and cover before the navigation. */
html.wipe-cover-ltr::before{
  animation:nollWipeCoverLtr .62s cubic-bezier(.5,0,.75,.5) forwards;
}
html.wipe-cover-rtl::before{
  animation:nollWipeCoverRtl .62s cubic-bezier(.5,0,.75,.5) forwards;
}
/* Phones: black "skirts" behind the browser's own bars.
   On the iPhone the page is also drawn behind the status bar and behind the
   address bar, but nothing that is position:fixed reaches there – neither
   the white circle nor the menu bar. Seen in screen recordings: during a
   page change those two strips first went white, then black with text,
   while the screen between them was still white; and after every load the
   text of the page showed under the menu bar for about a second, until
   Safari put its own colour there.
   What does reach there is ordinary page content. So a frame that belongs
   to the page itself (position:absolute, placed by js/main.js at the current
   scroll position) lays 300px of black directly above and directly below
   the visible window. The window itself stays open (transparent middle).
     .skirt-on                 both strips black   (page change, leaving)
     .skirt-on.skirt-bottom    only the bottom one (first seconds after a load)
   --skirt-y  scroll position, --skirt-h  height of the visible window,
   --skirt-b  how much room is left below it in the document (so the frame
   never makes the page longer). The defaults fit a fresh load at the top. */
@media (max-width:860px){
  html.skirt-on::after{
    content:''; position:absolute; left:0; z-index:89; pointer-events:none;
    width:100%; box-sizing:border-box;
    top:calc(var(--skirt-y, 0px) - 300px);
    /* the lower band starts 2px inside the window, on the black edge under the
       menu bar, so no hairline of the page can show between the two */
    height:calc(var(--skirt-h, 100svh) - 2px + 300px + var(--skirt-b, 300px));
    border:0 solid var(--black);
    border-top-width:300px;
    border-bottom-width:var(--skirt-b, 300px);
  }
  html.skirt-on.skirt-bottom::after{ border-top-color:transparent; }
}
@keyframes nollWipeCoverLtr{
  from{ transform:translateX(0) scale(0); }
  to{   transform:translateX(0) scale(3.2); }
}
@keyframes nollWipeRevealLtr{
  from{ transform:translateX(100vw) scale(3.2); }
  to{   transform:translateX(100vw) scale(0); }
}
@keyframes nollWipeCoverRtl{
  from{ transform:translateX(100vw) scale(0); }
  to{   transform:translateX(100vw) scale(3.2); }
}
@keyframes nollWipeRevealRtl{
  from{ transform:translateX(0) scale(3.2); }
  to{   transform:translateX(0) scale(0); }
}
@media (prefers-reduced-motion:reduce){
  html::before{ display:none; }
}

/* ---------- Kontakt (Figma node 839:3519, "Frame 358") ----------
   3840px reference, px / 3840 * 100 = vw. Type maps onto the site's families
   as everywhere else: Figma's "ES Klarheit Kurrent TRIAL:Bold/Regular/Light/
   Medium" are var(--font-display-bold) at 700/400/300/500, "Helvetica Neue"
   is var(--font-body). The two CTAs reuse .leistung-detail-cta so the pill,
   the arrow disc and the cross-slide hover are the site's, not this page's. */
.kontakt-hero{ padding-top:5.677vw; }
.kontakt-tag{ margin:0 0 1.25vw; display:flex; }
.kontakt-tag span{
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white); white-space:nowrap;
}
.kontakt-title{
  margin:0 0 1.875vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
/* Address, direct line and the map button on one baseline. */
.kontakt-facts{
  display:flex; align-items:flex-start; flex-wrap:wrap; gap:2vw 6.25vw; /* 240px */
  font-size:1.0938vw; line-height:1.4; color:var(--white);
}
.kontakt-adresse{ display:flex; flex-direction:column; gap:0.3125vw; }
.kontakt-adresse strong{ font-family:var(--font-display-bold); font-weight:700; }
.kontakt-adresse span{ font-family:var(--font-display-bold); font-weight:400; }
/* Label and value in their own tracks so the two rows line up. */
.kontakt-direkt{
  display:grid; grid-template-columns:max-content max-content;
  column-gap:1.25vw; row-gap:0.3125vw;
}
.kontakt-direkt-row{ display:contents; }
.kontakt-direkt-row span{ font-family:var(--font-display-bold); font-weight:700; }
.kontakt-direkt-row a{
  font-family:var(--font-display-bold); font-weight:400;
  color:inherit; text-decoration:none;
}
.kontakt-direkt-row a:hover, .kontakt-direkt-row a:focus-visible{ text-decoration:underline; }
.kontakt-anfahrt{ align-self:center; }

/* Form left, copy and contact person right. */
.kontakt-main{ padding-top:10vw; padding-bottom:11vw; }
.kontakt-main-row{
  display:grid; grid-template-columns:32.2917vw 38.9583vw; /* 1240 / 1496 */
  gap:7.7083vw; /* 296px */
  align-items:start;
}
.kontakt-form{ display:flex; flex-direction:column; gap:1.0417vw; }
.kontakt-field{ display:flex; flex-direction:column; gap:0.4vw; }
.kontakt-field label{
  padding-left:1.4844vw; /* sits over the field's own text inset */
  font-family:var(--font-display-bold); font-weight:500; font-size:0.8247vw; line-height:1.2;
  color:var(--white);
}
.kontakt-field input,
.kontakt-field textarea{
  width:100%; box-sizing:border-box;
  padding:0 1.4844vw;
  background:transparent; color:var(--white);
  border:2px solid rgba(255,255,255,.5); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:500; font-size:0.8247vw; line-height:1.2;
  transition:border-color .4s ease;
}
.kontakt-field input{ height:3.125vw; } /* 120px */
.kontakt-field textarea{
  height:7.3958vw; /* 284px */
  padding:1.0156vw 1.4844vw; border-radius:1.5625vw; resize:vertical;
}
.kontakt-field input::placeholder,
.kontakt-field textarea::placeholder{ color:rgba(255,255,255,.65); }
.kontakt-field input:focus,
.kontakt-field textarea:focus{ outline:none; border-color:var(--white); }
.kontakt-submit{ display:flex; flex-direction:column; align-items:flex-start; gap:1.5vw; margin-top:0.5vw; }
/* the CTA is a <button> here, so it needs the UA's own styling reset */
.kontakt-send{ padding:0; border:0; background:none; font:inherit; cursor:pointer; }
/* After sending (js/main.js): the fields give way to one confirmation line. */
.kontakt-form.is-sent > :not(.kontakt-done){ display:none; }
.kontakt-done{
  margin:0; font-family:var(--font-display); font-weight:400;
  font-size:1.6146vw; line-height:1.3; color:var(--white);
}
.kontakt-done:focus{ outline:none; }
.kontakt-datenschutz{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400; font-size:0.8073vw; line-height:1.4;
  color:var(--white);
}
.kontakt-datenschutz a{ color:inherit; }
.kontakt-submit .analyse-check{ margin-top:0; }   /* Datenschutz-Checkbox über dem Senden-Button */

.kontakt-aside{ padding-top:2.1094vw; display:flex; flex-direction:column; gap:4vw; }
.kontakt-lead{
  margin:0;
  font-family:var(--font-body); font-weight:500;
  font-size:1.9314vw; line-height:1.2; color:var(--white);
}
.kontakt-person{ display:flex; align-items:center; gap:2.0833vw; }
.kontakt-person-photo{
  flex:none; width:12.6563vw; height:12.6563vw; /* 486px */
  border-radius:50%; overflow:hidden;
}
.kontakt-person-photo img{ display:block; width:100%; height:100%; object-fit:cover; }
.kontakt-person-txt{ display:flex; flex-direction:column; gap:1.25vw; color:var(--white); }
.kontakt-person-name{ display:flex; flex-direction:column; font-size:1.4063vw; line-height:1.4; }
.kontakt-person-name strong{ font-family:var(--font-display-bold); font-weight:700; }
.kontakt-person-name span{ font-family:var(--font-display); font-weight:400; }
/* Here the label is the light one and the value bold — the reverse of the
   header block above, exactly as the frame has it. */
.kontakt-person-kontakt{
  display:grid; grid-template-columns:max-content max-content;
  column-gap:1.0417vw; row-gap:0.2083vw;
  font-size:0.9375vw; line-height:1.5;
}
.kontakt-person-row{ display:contents; }
.kontakt-person-row span{ font-family:var(--font-display-bold); font-weight:400; }
.kontakt-person-row a{
  font-family:var(--font-display-bold); font-weight:700;
  color:inherit; text-decoration:none;
}
.kontakt-person-row a:hover, .kontakt-person-row a:focus-visible{ text-decoration:underline; }

@media (max-width:860px){
  .kontakt-hero{ padding-top:6vw; }
  .kontakt-tag{ margin-bottom:5vw; }
  .kontakt-tag span{ height:8vw; padding:0 4vw; font-size:3.2vw; }
  .kontakt-title{ margin-bottom:8vw; font-size:var(--mobile-heading); letter-spacing:0; }
  .kontakt-facts{ flex-direction:column; gap:6vw; font-size:3.8vw; }
  .kontakt-adresse{ gap:1vw; }
  .kontakt-direkt{ column-gap:4vw; row-gap:1vw; }
  .kontakt-anfahrt{ align-self:flex-start; }

  .kontakt-main{ padding-top:18vw; padding-bottom:20vw; }
  .kontakt-main-row{ grid-template-columns:1fr; gap:14vw; }
  /* Copy and contact person first on a phone: the invitation should come
     before the form rather than after it. */
  .kontakt-form{ order:2; gap:5vw; }
  .kontakt-aside{ order:1; padding-top:0; gap:10vw; }
  .kontakt-field{ gap:2vw; }
  .kontakt-field label{ padding-left:5vw; font-size:3.4vw; }
  .kontakt-field input,
  .kontakt-field textarea{
    padding:0 5vw; border-width:1px;
    /* never below 16px on phones: iPhone Safari zooms into the page as soon
       as a field with smaller type gets the cursor – the page is then wider
       than the screen and the fixed menu bar sits off to one side */
    font-size:max(16px, 3.6vw);
  }
  .kontakt-field input{ height:12vw; }
  .kontakt-field textarea{ height:32vw; padding:4vw 5vw; border-radius:6vw; }
  .kontakt-submit{ gap:5vw; margin-top:2vw; }
  .kontakt-done{ font-size:5.5vw; }
  .kontakt-datenschutz{ font-size:3.2vw; }

  .kontakt-lead{ font-size:5.5vw; }
  .kontakt-person{ flex-direction:column; align-items:flex-start; gap:5vw; }
  .kontakt-person-photo{ width:45vw; height:45vw; align-self:center; }
  .kontakt-person-txt{ gap:4vw; }
  .kontakt-person-name{ font-size:5vw; }
  .kontakt-person-kontakt{ font-size:3.6vw; column-gap:4vw; row-gap:1vw; }
}

/* ---------- Cases overview ----------
   No Figma frame for this one — built to the structure of the reference the
   client supplied (247grad.de/projekte) in this site's own system. The hero
   reuses the Kontakt page's tag pill and the Insights chips, the card is the
   .leistung-detail-case vocabulary at overview scale, and the page closes on
   the client logo band and the standard contact band. */
.cases-hero{ padding-top:5.677vw; }
.cases-page-title{
  margin:0 0 1.25vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
.cases-page-lead{
  margin:0 0 2.5vw; max-width:52.4219vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4;
  color:var(--white); opacity:.8;
}
.cases-chips{ margin-bottom:0; }
/* Two chip rows (Lösung, Service), one under the other */
.cases-filters{ display:flex; flex-direction:column; gap:0.7813vw; }
/* shown by js/main.js when the two filters together leave no project */
.cases-empty{
  margin:0 auto; padding-top:2vw;
  font-family:var(--font-display); font-weight:400; font-size:1.4462vw; line-height:1.3;
  color:var(--white); opacity:.7;
}

.cases-list{ padding-top:5vw; }
/* One project per row, text and image swapping sides down the page — the
   layout the client's reference uses. The image takes the larger share; the
   text column is narrow enough that the headline breaks into two or three
   lines, which is what gives the row its rhythm. */
.cases-grid{ display:flex; flex-direction:column; gap:5vw; }
.case-row{
  display:grid; grid-template-columns:31% 1fr; gap:3vw;
  align-items:center;
}
/* Every second row mirrors. The track widths have to flip with it, otherwise
   the reordered text would land in the wide track and the image in the narrow
   one. Source order stays text-then-image, so the stacked mobile layout still
   reads headline first. */
:is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt){ grid-template-columns:1fr 31%; }
:is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt) .case-row-text{ order:2; }
:is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt) .case-row-media{ order:1; }
.case-row-text{ display:flex; flex-direction:column; align-items:flex-start; }
/* Two grades below the project title now (2.2917vw -> 1.0938vw, i.e. 88px ->
   42px on the 3840px reference). 1.6146vw sits between them but reads as a
   sibling of the title rather than a step away from it. */
.case-row-client{
  margin:0 0 0.5vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4; color:var(--white); opacity:.45;
}
.case-row-title{
  margin:0 0 1.5vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:2.2917vw; line-height:1.25; color:var(--white);
}
.case-row-title a{ color:inherit; text-decoration:none; }
/* A case without a detail page yet: a quiet note instead of the button, and
   no hover zoom – nothing on the row pretends to be clickable. */
.case-row-soon{
  margin:0; font-family:var(--font-body); font-weight:700;
  font-size:0.7813vw; line-height:1.2; letter-spacing:.12em; text-transform:uppercase;
  color:var(--white); opacity:.6;
}
.case-row.is-soon:hover .case-row-media img{ transform:none; }
.case-row-copy{
  margin:0 0 2vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white); opacity:.8;
}
/* Tertiary link in the reference's small, letterspaced caps; the arrow keeps
   the site's own behaviour of turning onto the horizontal on hover. */
.case-row-link{
  display:inline-flex; align-items:center; gap:0.6853vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:0.7292vw; line-height:1.5; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--white); text-decoration:none;
}
.case-row-link-icon{
  display:block; flex:none; width:0.75vw; height:0.75vw;
  filter:invert(1); /* the asset is drawn black for light card surfaces */
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.case-row:hover .case-row-link-icon,
.case-row-link:focus-visible .case-row-link-icon{ transform:rotate(45deg); }
.case-row-media{
  display:block; width:100%; aspect-ratio:3 / 2;
  border-radius:0.625vw; overflow:hidden; background:var(--black);
}
.case-row-media img{
  display:block; width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.22,1,.36,1);
}
.case-row:hover .case-row-media img{ transform:scale(1.04); }
/* Filtered out: removed from the flow, so the alternating rhythm re-flows
   onto whatever is left (js/main.js sets .is-alt on every second visible row).
   The filter animates (js/main.js): rows that drop out fade and sink away
   (.is-leaving), rows that stay glide to their new place (FLIP), rows that
   come in — or switch sides — rise in one after another (.is-entering). */
.case-row[hidden]{ display:none; }
.case-row{
  transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.case-row.is-leaving{
  opacity:0; transform:translateY(2.5vw) scale(.97);
  transition-duration:.32s, .32s; transition-timing-function:cubic-bezier(.4,0,1,1);
  pointer-events:none;
}
.case-row.is-entering{ opacity:0; transform:translateY(4vw); transition:none; }
.case-row.is-flip{ transition:none; }
@media (prefers-reduced-motion:reduce){
  .case-row, .case-row.is-leaving{ transition:none; }
}
@media (prefers-reduced-motion:reduce){
  .case-row-media img, .case-row-link-icon{ transition:none; }
}
/* The load-more is the site's plain secondary button (.leistung-cta) with its
   normal cross-slide-and-turn hover — no overrides here. */
.cases-more-wrap{ display:flex; justify-content:center; padding-top:6vw; }
/* The logo band brings its own top padding; the grid above already has its
   own bottom rhythm, so this only needs to not double up. */
.cases-list + .kundenleiste{ padding-top:10vw; }

@media (max-width:860px){
  .cases-hero{ padding-top:6vw; }
  .cases-page-title{ margin-bottom:5vw; font-size:var(--mobile-heading); letter-spacing:0; }
  .cases-page-lead{ margin-bottom:8vw; max-width:none; font-size:3.8vw; }

  .cases-list{ padding-top:12vw; }
  .cases-grid{ gap:16vw; }
  /* Stacked, so the mirroring has nothing to mirror — every row reads
     headline, copy, link, image. */
  .case-row,
  :is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt){ grid-template-columns:1fr; gap:6vw; }
  :is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt) .case-row-text{ order:1; }
  :is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt) .case-row-media{ order:2; }
  .case-row-client{ margin-bottom:2vw; font-size:3.8vw; }
  .case-row-title{ margin-bottom:4vw; font-size:6vw; }
  .case-row-copy{ margin-bottom:5vw; font-size:3.8vw; }
  .case-row-link{ gap:2.5vw; font-size:3.2vw; }
  .case-row-link-icon{ width:3vw; height:3vw; }
  .case-row-media{ border-radius:2.5vw; }
  .case-row-soon{ font-size:3vw; }
  .cases-more-wrap{ padding-top:14vw; }
  .cases-list + .kundenleiste{ padding-top:18vw; }
}

/* ---------- Leistungen overview ----------
   No Figma frame: built from the site's own vocabulary. The service cards
   borrow the outlined-card shape of the Über-uns facts row, the process list
   the big numerals of the homepage Prozess module. */
.leistung-ueber-hero{ padding-top:5.677vw; }
.leistung-ueber-h1{
  margin:0 0 1.25vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
.leistung-ueber-lead{
  margin:0; max-width:52.4219vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4; color:var(--white); opacity:.8;
}

.leistung-ueber-list{ padding-top:7vw; padding-bottom:10vw; }
/* Four services in a 2 x 2 grid (2 columns on tablet too, 1 on phones). */
.leistung-ueber-grid{
  display:grid; grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.5625vw;
}
.leistung-ueber-card{
  display:flex; flex-direction:column; align-items:flex-start;
  padding:1.875vw;
  border:1px solid var(--white); border-radius:0.625vw;
  transition:background-color .5s ease;
}
.leistung-ueber-card:hover{ background:rgba(255,255,255,.06); }
.leistung-ueber-icon{ display:block; width:auto; height:5vw; margin-bottom:2vw; }
svg.leistung-ueber-icon{ align-self:flex-start; }
.leistung-detail-illustration .leistung-icon{ width:100%; height:auto; align-self:auto; }
.leistung-ueber-title{
  margin:0 0 1vw;
  font-family:var(--font-display); font-weight:400;
  font-size:1.4462vw; line-height:1.15; color:var(--white);
}
.leistung-ueber-title a{ color:inherit; text-decoration:none; }
/* The whole card is clickable via the title's stretched link; the arrow below
   stays a visible affordance without being a second tab stop. */
.leistung-ueber-title a::after{ content:''; position:absolute; inset:0; }
.leistung-ueber-card{ position:relative; }
.leistung-ueber-copy{
  margin:0 0 2vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white); opacity:.8;
}
.leistung-ueber-link{
  display:inline-flex; align-items:center; gap:0.6853vw; margin-top:auto;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:0.7292vw; line-height:1.5; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--white); text-decoration:none;
}
.leistung-ueber-link-icon{
  display:block; flex:none; width:0.75vw; height:0.75vw;
  filter:invert(1);
  transition:transform .4s cubic-bezier(.4,0,.2,1);
}
.leistung-ueber-card:hover .leistung-ueber-link-icon{ transform:rotate(45deg); }
/* Secondary CTA in the cards. The title's stretched link already covers the
   whole card (and is the one tab stop), so the button is a visual affordance
   that plays its cross-slide whenever the card is hovered. */
.leistung-ueber-cta{ margin-top:auto; pointer-events:none; }
.leistung-ueber-card:hover .leistung-cta-label,
.leistung-ueber-card:focus-within .leistung-cta-label{
  transform:translateX(var(--leistung-cta-icon-w, 2.0833vw));
}
.leistung-ueber-card:hover .leistung-cta-icon,
.leistung-ueber-card:focus-within .leistung-cta-icon{
  transform:translateX(calc(-1 * var(--leistung-cta-label-w, 6vw))) rotate(45deg);
}
@media (max-width:1200px) and (min-width:861px){
  .leistung-ueber-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:2vw; }
  .leistung-ueber-title{ font-size:2.6vw; }
  .leistung-ueber-copy{ font-size:1.5vw; }
}
@media (prefers-reduced-motion:reduce){
  .leistung-ueber-card, .leistung-ueber-link-icon{ transition:none; }
}

.leistung-ueber-prozess{ padding-top:10vw; padding-bottom:2vw; }
.leistung-ueber-prozess-heading{
  margin:0 0 4vw;
  font-family:var(--font-display); font-weight:400;
  font-size:3.3854vw; line-height:1.1; color:var(--white);
}
.leistung-ueber-steps{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:2.5vw;
}
.leistung-ueber-step{ display:flex; flex-direction:column; }
.leistung-ueber-step-num{
  font-family:var(--font-display); font-weight:400;
  font-size:3.3854vw; line-height:1; color:var(--white); opacity:.35;
  margin-bottom:1vw;
}
.leistung-ueber-step h3{
  margin:0 0 0.8vw;
  font-family:var(--font-display); font-weight:400;
  font-size:1.6146vw; line-height:1.2; color:var(--white);
}
.leistung-ueber-step p{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:0.9375vw; line-height:1.5; color:var(--white); opacity:.8;
}

/* Detail pages whose illustration is a plain asset rather than the inlined,
   morphing Websites icon. */
.leistung-detail-illustration-img{ display:block; width:100%; height:auto; }

@media (max-width:860px){
  .leistung-ueber-hero{ padding-top:6vw; }
  .leistung-ueber-h1{ margin-bottom:5vw; font-size:var(--mobile-heading); letter-spacing:0; }
  .leistung-ueber-lead{ max-width:none; font-size:3.8vw; }

  .leistung-ueber-list{ padding-top:14vw; padding-bottom:20vw; }
  .leistung-ueber-grid{ grid-template-columns:1fr; gap:5vw; }
  .leistung-ueber-card{ padding:6vw; border-radius:2.5vw; }
  .leistung-ueber-card:hover{ background:transparent; }
  .leistung-ueber-icon{ height:16vw; margin-bottom:5vw; }
  .leistung-ueber-title{ margin-bottom:3vw; font-size:6vw; }
  .leistung-ueber-copy{ margin-bottom:5vw; font-size:3.8vw; }
  .leistung-ueber-link{ gap:2.5vw; font-size:3.2vw; }
  .leistung-ueber-link-icon{ width:3vw; height:3vw; }

  .leistung-ueber-prozess{ padding-top:18vw; padding-bottom:0; }
  .leistung-ueber-prozess-heading{ margin-bottom:10vw; font-size:var(--mobile-heading); }
  .leistung-ueber-steps{ grid-template-columns:1fr; gap:10vw; }
  .leistung-ueber-step-num{ margin-bottom:2vw; font-size:12vw; }
  .leistung-ueber-step h3{ margin-bottom:2.5vw; font-size:5.5vw; }
  .leistung-ueber-step p{ font-size:3.8vw; }
}

/* ---------- Placeholder marking (review aid, remove before launch) ----------
   Everything on the site that is not real content yet is marked up with
   data-placeholder (text) or data-placeholder-media (an image or plate whose
   asset is a stand-in). Both are drawn in red so a glance down a page shows
   exactly what still has to be written or delivered. Red is the ONE colour in
   an otherwise black-and-white design precisely because it cannot be mistaken
   for a design decision.
   To ship: delete this block, then strip the two attributes from the HTML —
   nothing else depends on them. */
:root{ --placeholder:#ff2323; }
[data-placeholder],
[data-placeholder] *{
  color:var(--placeholder) !important;
  opacity:1 !important;
  -webkit-text-fill-color:var(--placeholder) !important;
}
[data-placeholder]::placeholder{ color:var(--placeholder) !important; }
[data-placeholder-media]{
  position:relative;
  outline:2px solid var(--placeholder); outline-offset:-2px;
}
/* A small corner tag, so a stand-in image is obvious even when the picture
   itself looks finished. */
[data-placeholder-media]::after{
  content:'Platzhalter';
  position:absolute; z-index:5; left:0; top:0;
  padding:0.25em 0.6em;
  background:var(--placeholder); color:#fff;
  font-family:var(--font-body); font-weight:700;
  font-size:0.6vw; line-height:1.4; letter-spacing:0.06em; text-transform:uppercase;
  pointer-events:none;
}
@media (max-width:860px){
  [data-placeholder-media]::after{ font-size:2.6vw; }
}

/* ---------- Footer (Figma node 192:1023) ----------
   Frame is 3722px wide @ 3840px reference, same conversion as Team/
   Creativity: px / 3840 * 100 = vw. All child positions below are
   relative to .footer-inner's own top-left, exactly as Figma's metadata
   gives them (no half-percent/translate guessing needed — get_metadata
   returned clean local x/y/width/height per node).
   Two stacked bands: .footer-black (contact info, footer nav, newsletter
   signup — framed by its own rounded-top-corners white border, standing
   in for the black background that's already the page default) then
   .footer-white (legal links + social) in normal flow right after it.
   The circular "n" seal straddles the seam between the two bands, so
   it's a direct child of .footer-inner, positioned with the same
   frame-relative coordinates, and layered above both via z-index. */
.site-footer{ position:relative; }
.footer-inner{ position:relative; width:96.9271vw; margin:0 auto; }

.footer-black{
  position:relative;
  height:27.8385vw; /* 1069px */
  border:1px solid var(--white);
  border-radius:0.3125vw 0.3125vw 0 0; /* 12px */
}
.footer-lead{
  position:absolute; left:8.8542vw; top:4.6875vw; margin:0;
  font-family:var(--font-body); font-weight:500; font-size:1.1458vw; line-height:1;
  color:var(--white); white-space:nowrap;
}
.footer-contact-link{
  position:absolute;
  font-family:var(--font-display); font-weight:400; font-size:1.4323vw; line-height:1.25;
  color:var(--white); text-decoration:underline; text-underline-offset:0.06em;
  white-space:nowrap; transition:text-underline-offset .25s ease;
}
.footer-contact-link:hover, .footer-contact-link:focus-visible{ text-underline-offset:0.45vw; }
.footer-mail{ left:8.8802vw; top:7.4219vw; }
.footer-phone{ left:8.8542vw; top:10.3125vw; }

.footer-nav-link{
  position:absolute; margin:0;
  font-family:var(--font-body); font-weight:500; font-size:1.1458vw; line-height:1;
  color:var(--white); white-space:nowrap;
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
.footer-nav-link::before{
  content:""; position:absolute; left:-0.7vw; top:50%;
  width:0.35vw; height:0.35vw; border-radius:50%; background:currentColor;
  opacity:0; transform:translateY(calc(-50% + 0.4vw));
  transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .35s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.footer-nav-link:hover, .footer-nav-link:focus-visible{ transform:translateX(0.6vw); }
.footer-nav-link:hover::before, .footer-nav-link:focus-visible::before{
  opacity:1; transform:translateY(-50%);
}
@media (prefers-reduced-motion:reduce){
  .footer-nav-link, .footer-nav-link::before{ transition:none; }
}
.footer-nav-col-1{ left:8.8542vw; }   /* 340px */
.footer-nav-col-2{ left:22.1875vw; }  /* 852px */
.footer-nav-col-3{ left:34.8698vw; }  /* 1339px */
.footer-nav-row-1{ top:16.276vw; }    /* 625px */
.footer-nav-row-2{ top:18.5156vw; }   /* 711px (Ressourcen's Figma value, 706px, is snapped in here — a 5px/3840px difference is invisible) */
.footer-nav-row-3{ top:20.7552vw; }   /* 797px */

/* Right-hand side of the black band: one line and the standard button into
   the free analysis (the newsletter sign-up used to sit here). */
.footer-cta{
  position:absolute; left:62.1875vw; top:4.2969vw; width:24.6875vw;
  display:flex; flex-direction:column; align-items:center; gap:1.5625vw;
}
.footer-cta-heading{
  margin:0;
  font-family:var(--font-display); font-weight:400; font-size:1.4323vw; line-height:1.25;
  color:var(--white); text-align:center;
}

.footer-newsletter-heading{
  position:absolute; left:62.1875vw; top:4.2969vw; width:24.6875vw; margin:0;
  font-family:var(--font-display); font-weight:400; font-size:1.4323vw; line-height:1.25;
  color:var(--white); text-align:center;
}
.footer-subscribe-input{
  position:absolute; left:62.1875vw; top:8.1771vw; width:18.2396vw; height:2.0833vw; margin:0;
  border:0.35px solid var(--white); border-right:none; border-radius:1.0417vw 0 0 1.0417vw;
  background:transparent; padding:0 0.8594vw;
  font-family:var(--font-display); font-weight:400; font-size:0.8247vw;
  color:var(--white);
}
/* After signing up (js/main.js): field and button give way to one line, in
   the place the field had. */
.footer-subscribe-form.is-sent > :not(.footer-subscribe-done){ display:none; }
.footer-subscribe-done{
  position:absolute; left:62.1875vw; top:8.1771vw; width:24.6875vw; margin:0;
  font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; line-height:1.4;
  color:var(--white); text-align:center;
}
.footer-subscribe-done:focus{ outline:none; }
.footer-subscribe-input::placeholder{ color:rgba(255,255,255,.5); opacity:1; }
.footer-subscribe-input:focus-visible{ outline:2px solid var(--white); outline-offset:2px; }
/* Figma specs the placeholder as "Medium", which isn't among the four
   weights we have (Light/Regular/SemiBold/Bold) — substituted SemiBold
   (var(--font-display)), same fallback used for .process-number. */
/* The button is the site's standard button (.leistung-detail-cta: white
   pill + round arrow, the two swap places on hover) – this class only puts
   it in its place in the footer and strips the browser's own button look.
   It used to be a look-alike with its own rules: taller on phones and with
   a different hover (the arrow just turned on the spot). */
.footer-subscribe-btn{
  position:absolute; left:78.5156vw; top:8.1771vw;
  padding:0; border:0; background:none; font:inherit; cursor:pointer;
}

.footer-white{
  position:relative;
  height:12.1875vw; /* 468px */
  background:var(--white);
  color:#000;
}
.footer-legal{
  position:absolute; left:50%; top:4.5052vw; transform:translateX(-50%);
  display:flex; gap:1.6667vw;
}
.footer-legal a{
  font-family:var(--font-body); font-weight:700; font-size:0.8854vw; line-height:1.2;
  white-space:nowrap; transition:transform .25s ease;
}
.footer-legal a:hover, .footer-legal a:focus-visible{ transform:translateY(-0.3vw); }
.footer-social-heading{
  position:absolute; left:29.8958vw; top:7.5vw; width:22.7344vw; margin:0;
  font-family:var(--font-body); font-weight:700; font-size:0.8854vw; line-height:1.2;
  text-align:center;
}
.footer-social{
  position:absolute; left:50%; top:7.0833vw; transform:translateX(-50%);
  display:flex; align-items:center; gap:0.7552vw;
}
.footer-social img{ width:1.901vw; height:1.901vw; transition:transform .25s ease; }
.footer-social a:hover img, .footer-social a:focus-visible img{ transform:translateY(-0.3vw); }

.footer-seal{
  position:absolute; left:44.6875vw; top:24.1927vw; z-index:2;
  width:7.2917vw; height:7.2917vw;
}
.footer-seal img{ width:100%; height:100%; }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- Debug column grid (testing only) ----------
   Reference: 3840px viewport, 12 columns x 216px + 11 gutters x 40px
   = 3032px content width. Expressed in vw so it scales proportionally
   at any window size and always fits fully on screen.
   216px  -> 5.625vw   (216/3840*100)
   40px   -> 1.0417vw  (40/3840*100)
   256px  -> 6.6667vw  (column + gutter)
   3032px -> 78.9583vw (total content width)
   Hidden by default; press "g" to show it (js/main.js toggles
   body.show-grid). It used to be the other way round — visible by default,
   "g" to hide — which meant every screenshot and every client view carried
   the overlay. ------------------------------------------------------------ */
.debug-grid{
  display:none;
  position:fixed;
  inset:0;
  left:50%;
  transform:translateX(-50%);
  width:var(--grid-width);
  height:100vh;
  pointer-events:none;
  z-index:9999;
  background-image:repeating-linear-gradient(
    to right,
    rgba(255,255,255,.06) 0,
    rgba(255,255,255,.06) 5.625vw,
    transparent 5.625vw,
    transparent 6.6667vw
  );
}
body.show-grid .debug-grid{ display:block; }

/* ============================================================================
   Responsive: Mobile (≤860px)
   ----------------------------------------------------------------------------
   The whole site is authored in vw against a 3840px reference, which scales
   down proportionally — and that is exactly the problem on a phone: at 390px
   viewport width, 1vw = 3.9px, so a 0.99vw eyebrow lands at 3.9px and a
   1.61vw body copy at 6.3px. Every section therefore needs its type and
   layout re-pitched at this breakpoint, plus the three sections built on
   absolute Figma coordinates (Prozess curve, Team scatter, Creativity
   collage, Footer) need to fall back to normal flow.

   This block sits at the end of the file on purpose: it must win over the
   per-section rules above without a specificity arms race, and it keeps the
   whole mobile picture readable in one place. A few sections (Leistungen,
   Testimonial, Kundenleiste, Insights, the bottom bar) already carry their
   own ≤860px block next to their base CSS — those are left where they are;
   nothing here re-declares what they already handle.
   ============================================================================ */
@media (max-width:860px){

  /* --- Grid: swap the 78.9583vw desktop content column for a simple
     gutter-based one. --grid-margin derives from --grid-width, so this one
     override also re-anchors .wrap, .cases-track, .leistungen-track and the
     .case-active-title offset to the phone's own margins. --------------- */
  :root{
    --grid-width:calc(100vw - var(--gutter) * 2);
    --active-col-offset:0vw; /* active case card starts at the content edge, not column 4 (must match activeColOffsetVw() in js/main.js) */
    /* One value for the site's main section-heading grade — everything that
       is 3.3854vw on desktop (Team, Creativity, Leistungen, Insights). Kept
       as a variable so the grade stays one decision instead of four copies
       that drift apart. */
    --mobile-heading:8vw;
  }
  .wrap{ max-width:none; padding:0 var(--gutter); }
  body.show-grid .debug-grid{ display:none; } /* the 12-column overlay describes the desktop grid only */

  /* --- Header: stop it sticking. The bottom bar is the permanent nav
     surface on mobile, so a sticky white logo has nothing to gain and was
     colliding with headings and the white Insights cards it scrolled over. */
  /* relative, not static: it still scrolls away with the page, but keeps a
     z-index – on "Über uns" the photo stage is pulled up under the header and
     covered the logo otherwise. */
  .site-header{ position:relative; z-index:89; } /* 89: the menu panel lives inside the header and must stay above the backdrop (88), below the bar (90) */
  /* Safety net for every text field on phones (see .kontakt-field): 16px is
     the threshold below which iPhone Safari zooms in on focus. */
  /* :where() keeps this at zero specificity, so any field with its own size
     rule (all of them use max(16px, …)) still wins */
  :where(input:not([type="checkbox"]):not([type="radio"]), textarea, select){ font-size:16px; }
  .header-inner{ padding-top:18px; padding-bottom:18px; }

  /* --- Hero --------------------------------------------------------- */
  .hero{ padding-top:4vw; padding-bottom:8vw; }
  .eyebrow{ font-size:3.4vw; gap:2.5vw; margin-bottom:3.5vw; }
  .eyebrow-dot{ width:1.6vw; height:1.6vw; }
  /* 10.5vw, not 12: the longest word in the headline ("UNTERNEHMEN.")
     measures 8.06x the font size, so anything above ~10.86vw pushes it past
     the content column on a 320px screen — the narrowest case, since the
     gutter is a fixed 20px there rather than 5vw. */
  .hero-title{ font-size:10.5vw; letter-spacing:0; }
  .hero-row{ white-space:normal; } /* "DIE BEGEISTERN." may break across two lines instead of overflowing */
  .hero-outline{ -webkit-text-stroke-width:1.5px; } /* was 1px — matches the thicker desktop stroke */

  /* --- Slider buttons (shared by Cases + Leistungen) ------------------ */
  .slider-controls{ gap:3vw; }
  .slider-btn{ width:11vw; height:11vw; min-width:0; min-height:0; }
  .slider-section{ padding-top:2.5vw; padding-bottom:10vw; }

  /* --- Cases carousel ------------------------------------------------- */
  .cases-header{ min-height:11vw; margin-bottom:4vw; }
  /* The title rides on --active-col-offset on desktop, which is 0 here (see
     above) — that would park it underneath the prev/next buttons. It becomes
     a plain flex item next to them instead; the active card is still flush
     with the content edge, the two just no longer share an anchor. */
  .case-active-title{ position:static; transform:none; font-size:4.6vw; margin-left:4vw; }
  .case-item{ width:52vw; min-width:0; gap:3vw; }
  .case-media{ height:46vw; min-height:0; border-radius:2vw; }
  .case-item.is-large{ width:70vw; min-width:0; }
  .case-item.is-large .case-media{ height:58vw; min-height:0; }
  /* The goals run as one flowing line with dots between them instead of
     one per line: four lines pushed the caption under the fixed bottom bar
     on the first screen. */
  .case-tags{ font-size:3.2vw; line-height:1.45; }
  .case-tags span{ display:inline; white-space:nowrap; }
  .case-tags span + span::before{ content:"\00a0· "; white-space:normal; }

  /* --- Prozess: the scroll-driven circle needs a wide viewport to read as
     a curve at all (its radius is 32vw = 125px on a phone), and the items'
     translateX along it eats most of the screen width. Drop the circle and
     the vignette here and let the steps be a plain stacked list; the JS
     stops writing --item-x at this breakpoint too. ---------------------- */
  .process-circle-wrap, .process-fade{ display:none; }
  /* the heading becomes a plain section title above the stacked steps */
  /* Mobil gibt es keinen Kreis: die Überschrift wird zur Leiste, die oben
     andockt, solange die 4 Schritte durchlaufen. Rechts zählt sie mit, ein
     kleiner Ring füllt sich Schritt für Schritt (js/process-head.js). */
  /* block, not grid: a sticky grid item could only stick inside its own
     grid row; as a plain block child it sticks for the whole section */
  .process{ display:block; }
  .process-head{
    position:sticky; top:0; z-index:3; height:auto; display:block;
    opacity:1; pointer-events:auto; background:var(--black);
  }
  /* Nothing is added above the bar here on purpose. An earlier version made
     the bar 72px taller at the top (black, pulled up by a negative margin) to
     fill the strip behind the iPhone's status bar – that black lay over the
     bottom edge of the "Unser Service" panel in the section above and did not
     reach behind the status bar anyway. The steps are kept out of that strip
     by js/process-head.js instead: it cuts the list off at the bar's lower
     edge (clip-path) while the bar is docked. */
  .process-head-inner{
    max-width:none; padding:5vw var(--gutter);
    display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; column-gap:4vw; align-items:center;
    border-bottom:1px solid rgba(255,255,255,.18);
  }
  .process-head-kicker{ grid-column:1; margin:0 0 1.5vw; gap:2vw; font-size:3vw; }
  .process-head-kicker::before{ width:1.6vw; height:1.6vw; }
  .process-head-title{ grid-column:1; font-size:6.4vw; line-height:1.15; }
  .process-head-count{
    grid-column:2; grid-row:1 / span 2; margin:0; position:relative;
    width:15vw; height:15vw; display:flex; align-items:center; justify-content:center; gap:0;
  }
  .process-head-ring{ display:block; position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
  .process-head-ring circle{ fill:none; stroke-width:1.6; }
  .process-head-ring-bg{ stroke:rgba(255,255,255,.2); }
  .process-head-ring-fg{ stroke:var(--white); stroke-linecap:round; transition:stroke-dashoffset .25s linear; }
  .process-head-now{ font-size:5vw; }
  .process-head-of{ display:none; }
  /* Without the curve the list has no left offset of its own any more (that
     was --item-x's job on desktop), so it needs the page's own content
     margins instead of sitting flush against the viewport edge. */
  /* Luft um die Leiste "Vom Problem zum Hebel": 8vw zwischen ihrer Linie und
     dem ersten Schritt (waren 2vw – "01" klebte an der Linie), 13vw unter dem
     letzten Schritt bis zum nächsten Abschnitt (waren 4vw). Der Abstand ÜBER
     der Leiste steht bei .fragen (padding-bottom) – nicht hier als Polster an
     .process, sonst hielte js/process-head.js die Leiste von Anfang an für
     angedockt. */
  .process-list{ padding:8vw var(--gutter) 13vw; gap:12vw; }
  .process-item{ transform:none; align-items:flex-start; gap:4vw; }
  .process-number{ font-size:16vw; }
  .process-text{ max-width:none; gap:2vw; }
  .process-text h3{ font-size:5vw; }
  .process-text p{ font-size:4vw; }

  /* --- Team: the scattered absolute circles become a 2-up grid, and the
     hover-only name/role is shown permanently (there is no hover on touch,
     so it would otherwise be unreachable). ------------------------------ */
  .team{ padding:5vw 0 20vw; }
  .team-inner{
    height:auto;
    display:grid; grid-template-columns:1fr 1fr; gap:5vw;
  }
  .team-heading{
    position:static; width:auto; grid-column:1 / -1;
    font-size:var(--mobile-heading); margin-bottom:2vw;
  }
  /* relative, NOT static: .team-circle is an inset:0 absolute box, so a
     static member would hand its containing block up to .team (which is
     position:relative) and every photo would stretch across the whole
     section, stacked on top of each other. */
  .team-member{
    position:relative;
    left:auto; top:auto; /* the per-member Figma scatter offsets would otherwise shift each one out of its grid cell */
    width:100%; height:auto; aspect-ratio:1 / 1;
  }
  /* Square photos here, not circles — which is also the shape the design
     itself uses whenever the name/role are on screen: the Figma hover
     variant (539:1877) un-rounds the circle at the same moment the text
     fades in. On touch there is no hover, so the text is permanent and the
     square is permanent with it. That also frees the full cell width: the
     circular clip had been slicing the first characters off the lines
     sitting near the bottom edge ("CEO" -> "EO"), which is why the type
     had been dropped to an off-scale 2.9vw and pushed to the middle.
     Both of those workarounds go away here: the text sits back at the
     design's own bottom-left inset, at 3.4vw — the mobile step that
     .eyebrow uses, which is exactly the pairing the desktop scale has
     (both are 0.9896vw there). Scrim kept a touch stronger than the base
     one since this text is always on, over photos of any brightness. */
  .team-overlay{ opacity:1; }
  .team-overlay::before{ background:linear-gradient(180deg, transparent 45%, rgba(0,0,0,.8) 100%); }
  .team-circle{ border-radius:0; }
  /* always visible on phones (no hover there): tap to call or write */
  .team-icon{ top:3vw; width:8.5vw; height:8.5vw; }
  .team-icon--mail{ right:3vw; }
  .team-icon--phone{ right:calc(3vw + 8.5vw + 2vw); }
  .team-member:not(:hover):not(:focus-within) .team-icon{ pointer-events:auto; }
  .team-info{ gap:0.8vw; }
  .team-info h3, .team-info p{ font-size:3.4vw; }
  .team-arrow{ display:none; } /* points across the desktop scatter; meaningless in a grid */

  /* --- Creativity: collage → stacked/2-up, CTA back into normal flow --- */
  .creativity{ padding:8vw 0 20vw; }
  .creativity-inner{ width:auto; height:auto; padding:0 var(--gutter); }
  .creativity-heading{ position:static; width:auto; font-size:var(--mobile-heading); margin-bottom:6vw; }
  .creativity-images{
    position:static; width:auto; height:auto;
    display:grid; grid-template-columns:1fr 1fr; gap:3vw;
  }
  .creativity-img{ position:static; width:100%; height:100%; border-radius:2vw; }
  .creativity-img--1{ grid-column:1 / -1; aspect-ratio:56.6 / 40; }
  .creativity-img--2, .creativity-img--3{ aspect-ratio:1 / 1; }
  .creativity-cta{ position:static; margin-top:7vw; }
  .creativity-cta-label{ height:9vw; padding:0 5vw; font-size:3.4vw; }
  .creativity-cta-icon{ width:9vw; height:9vw; }

  /* --- Leistungen: the block above sizes the cards/type; the header row is
     restacked here. At the heading's mobile size there is no room left
     beside the two buttons, so it takes its own line above them (via order,
     so the DOM stays as authored). Cases deliberately keeps its buttons and
     title on one line — that title is a small label naming the active
     slide, not a section heading of this grade. --------------------------- */
  .leistungen{ padding:8vw 0 18vw; }
  .leistungen-header{
    flex-direction:column; align-items:flex-start;
    gap:4vw; margin-bottom:5vw;
  }
  .leistungen-heading{ order:-1; }

  /* --- Insights / Kundenleiste / Testimonial: handled in their own blocks
     above; only the section rhythm is unified here. --------------------- */
  .testimonial{ padding:8vw 0 18vw; }
  .kundenleiste{ padding:8vw 0 18vw; }
  .insights{ padding:8vw 0 18vw; }

  /* --- Footer: every child is absolutely placed from Figma coordinates on
     desktop; here the two bands become padded flow containers, the nav
     becomes a 2-column grid (DOM order fills it row-wise and reads fine),
     and the seal straddles the black/white seam via negative margins
     instead of an absolute top. ---------------------------------------- */
  .footer-inner{ width:auto; margin:0 var(--gutter); display:flex; flex-direction:column; }
  .footer-black{
    height:auto; border-radius:2vw 2vw 0 0;
    padding:8vw 6vw 16vw; /* 16vw at the bottom: the seal sinks 10vw into this band, so the button above it keeps 6vw of air (was 2vw) */
    display:flex; flex-direction:column; gap:6vw;
  }
  .footer-lead{ position:static; font-size:3.6vw; white-space:normal; }
  .footer-contact-link{ position:static; font-size:5vw; white-space:normal; }
  .footer-mail, .footer-phone{ left:auto; top:auto; }
  .footer-contact-link + .footer-contact-link{ margin-top:-3vw; } /* mail/phone read as one block, tighter than the section gap */
  /* three columns as on the desktop, filled column by column (Über uns/Jobs ·
     Cases/Services · Insights/Kontakt) */
  .footer-nav{ display:grid; grid-template-rows:auto auto; grid-auto-flow:column; grid-template-columns:repeat(3, auto); justify-content:space-between; gap:4vw 4vw; }
  .footer-nav-link{ position:static; left:auto; top:auto; font-size:4vw; }
  .footer-nav-link::before{ display:none; }
  .footer-newsletter-heading{ position:static; width:auto; text-align:left; font-size:5vw; margin-bottom:-2vw; }
  /* stacked: side by side the field was too narrow for its own placeholder
     ("Deine E-Mailadre…") and lost its right edge */
  .footer-subscribe-form{ display:flex; flex-wrap:wrap; align-items:center; gap:3vw; }
  .footer-subscribe-input{
    position:static; left:auto; top:auto;
    /* min-width:0 — a flex item's automatic minimum is its intrinsic input
       width (~20 characters), which kept the row wider than the footer and
       pushed the arrow off the right edge. */
    flex:1 1 100%; width:100%; min-width:0; height:11vw;
    border:1px solid var(--white); border-radius:5.5vw; padding:0 4.5vw; font-size:max(16px, 3.6vw); /* 16px minimum: see .kontakt-field – no zoom on focus */
  }
  .footer-subscribe-btn{ position:static; left:auto; top:auto; flex:none; }
  .footer-subscribe-done{ position:static; left:auto; top:auto; width:auto; flex:1 1 100%; text-align:left; font-size:3.8vw; }
  .footer-seal{
    position:static; order:1; z-index:2;
    width:20vw; height:20vw; margin:-10vw auto; /* half sunk into each band, so it still straddles the seam */
  }
  .footer-white{
    order:2;
    height:auto; padding:14vw 6vw 8vw;
    display:flex; flex-direction:column; align-items:center; gap:5vw;
  }
  .footer-legal{
    position:static; transform:none;
    flex-wrap:wrap; justify-content:center; gap:5vw;
  }
  .footer-legal a{ font-size:3.4vw; }
  .footer-social-heading{ position:static; width:auto; font-size:3.4vw; }
  .footer-social{ position:static; transform:none; gap:5vw; }
  .footer-cta{ position:static; left:auto; top:auto; width:auto; align-items:flex-start; gap:4vw; }
  .footer-cta-heading{ font-size:5vw; text-align:left; }
  .footer-social img{ width:7vw; height:7vw; }
}

/* ==========================================================================
   Case detail (case-ursa-chemie.html)
   Hero in the Leistungs-Detail vocabulary, then the pinned MacBook stage,
   story blocks, numbers, image row. Units follow the rest of the site: vw on
   the 3840px reference grid, separate mobile values under 860px.
   ========================================================================== */
.case-detail-hero{ padding-top:5.677vw; padding-bottom:4vw; }
.case-detail-tags{ margin-bottom:2.5vw; }
.case-detail-client{
  margin:0 0 0.6vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4; color:var(--white); opacity:.45;
}
.case-detail-title{
  margin:0 0 3.3vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6997vw; line-height:1.1; letter-spacing:0.047vw;
  color:var(--white);
}
.case-detail-hero-row{
  display:grid; grid-template-columns:minmax(0,52.4219vw) auto;
  justify-content:space-between; align-items:start; gap:4vw;
}
.case-detail-lead{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.4; color:var(--white); opacity:.8;
}
.case-detail-facts{ margin:0; display:flex; flex-direction:column; gap:1vw; min-width:16vw; }
.case-detail-facts div{ display:flex; flex-direction:column; gap:0.15vw; padding-bottom:1vw; border-bottom:1px solid rgba(255,255,255,.25); }
.case-detail-facts dt{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:0.7292vw; letter-spacing:0.08em; text-transform:uppercase; opacity:.45;
}
.case-detail-facts dd{
  margin:0; font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; line-height:1.4;
}

/* ---------- Case detail — laptop stage ------------------------------------
   The laptop is a real-time 3D model (models/laptop.glb, three.js, see
   js/case-laptop.js); the HTML screen is laid over its display with a CSS
   matrix3d onto the display's projected corners:
     .case-mb          tall section; its height is the scroll distance
     .case-mb-sticky   the 100vh stage that stays put while you scroll
     .case-mb-canvas   WebGL render of the laptop, fills the stage
     .mb-screen        HTML screen, 1440px wide, mapped onto the display
   Until the model is ready (and if WebGL is missing) the section carries
   .is-flat and shows the screen on its own, centred. */
.case-mb{ position:relative; height:780vh; } /* 640vh + 45vh hold (js HOLD) + more room for the lid closing */
.case-mb-sticky{
  position:sticky; top:0; height:100vh; height:100svh;
  overflow:hidden; background:#000;
}
/* Spline mode (js/case-spline.js): the scene renders into its own canvas and
   draws the screen content itself, so the built-in canvas and the HTML
   screen step aside. */
.case-mb-spline{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.case-mb.is-spline .case-mb-canvas,
.case-mb.is-spline .mb-screen{ display:none; }
.case-mb.is-spline .case-mb-spline{ opacity:0; transition:opacity .6s cubic-bezier(.4,0,.2,1); }
.case-mb.is-spline-ready .case-mb-spline{ opacity:1; }
.case-mb-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.mb-screen{
  position:absolute; left:0; top:0; z-index:1;
  width:1440px; height:932px;
  transform-origin:0 0;
  will-change:transform;   /* stays on its own compositor layer while the matrix3d changes every frame */
  overflow:hidden; background:#000; color:#141414;   /* black, not white: an anti-aliased edge must never read as a light line */
  container-type:inline-size;
  visibility:hidden;
  backface-visibility:hidden;
}
/* glare that fades as the screen comes square-on */
/* glass: a soft reflection band that slides with the camera
   (--mb-glare-x, set by the script) plus a faint inner edge shadow */
/* Performance: the glare used to be a gradient whose stops moved with
   --mb-glare-x, plus a blurred inset shadow on the same pseudo-element. Every
   change of the variable (every animation frame) forced the browser to
   repaint the whole 1440px, perspective-mapped screen — the laptop dropped to
   ~15 fps while the lid opened. Now:
     ::before  the glare band: a FIXED gradient on a layer 3x the screen width,
               only translated (translateX = (glare-x - 50%) of the screen) and
               faded — both compositor-only, nothing is repainted
     ::after   the inner edge shadow, static
   The scripts are unchanged; they still set --mb-glare / --mb-glare-x. */
.mb-screen::before{
  content:""; position:absolute; z-index:2; top:0; bottom:0; left:-100%; width:300%;
  pointer-events:none;
  background:linear-gradient(105deg,
    rgba(255,255,255,0) 38.7%,
    rgba(255,255,255,.13) 50%,
    rgba(255,255,255,.02) 56%,
    rgba(255,255,255,0) 63.3%);
  transform:translate3d(calc((var(--mb-glare-x, 30%) - 50%) / 3), 0, 0);
  opacity:var(--mb-glare, 1);
  will-change:transform, opacity;
}
.mb-screen::after{
  content:""; position:absolute; z-index:2; inset:0; pointer-events:none;
  box-shadow:inset 0 0 60px rgba(0,0,0,.18);
}
/* camera notch + rounded top corners of the display (js/case-laptop.js adds
   .mb-notch when the model has one); sizes are shares of the 16" panel */
.mb-screen{ border-radius:16px 16px 0 0; }
.mb-notch{
  position:absolute; z-index:3; left:50%; top:0; transform:translateX(-50%);
  width:5.8%; height:3.4%; background:#000; border-radius:0 0 14px 14px;
  pointer-events:none;
}
.mb-site{ position:absolute; left:0; top:0; width:100%; will-change:transform; }
.mb-site-shot{ display:block; width:100%; height:auto; }
/* js/case-laptop.js: clipped to the visible screen while the lid moves (performance) */
.mb-site.is-clipped{ height:100%; overflow:hidden; }
.mb-site .mb-site-shot{ height:auto; object-fit:fill; }   /* beats ".mb-site img{height:100%}" of the drawn stand-in */
/* flat fallback: the screen alone, centred, as a rounded panel */
.case-mb.is-flat .mb-screen{
  visibility:visible;
  left:50%; top:50%;
  width:min(84vw, 1200px) !important; height:auto !important; aspect-ratio:1440 / 932;
  transform:translate(-50%,-50%) !important;
  border-radius:0.625vw; box-shadow:0 0 0 1px rgba(255,255,255,.15);
}
.case-mb.is-flat .case-mb-canvas{ display:none; }

/* chapter captions + progress line */
.case-mb-captions{
  position:absolute; z-index:3; left:var(--grid-margin); bottom:7vh;
  margin:0; pointer-events:none;
}
.case-mb-caption{
  position:absolute; left:0; bottom:0; margin:0; white-space:nowrap;
  display:flex; align-items:baseline; gap:0.8vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.6146vw; line-height:1.2; color:var(--white);
  opacity:0; transform:translateY(1vw);
  transition:opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.case-mb-caption span{ font-weight:400; font-size:.55em; letter-spacing:.08em; opacity:.6; }
.case-mb-caption.is-active{ opacity:1; transform:none; }
/* while the screen fills the view the captions sit on the site itself —
   give them a backing so they stay readable on a white page */
.case-mb.is-zoomed .case-mb-caption{
  background:var(--black); padding:0.6vw 1.1vw; border-radius:999px;
}
.case-mb-progress{
  position:absolute; z-index:3; right:var(--grid-margin); bottom:calc(7vh + 0.8vw);
  width:12vw; height:2px; background:rgba(255,255,255,.25); overflow:hidden; border-radius:2px;
}
.case-mb-progress-bar{
  display:block; height:100%; width:100%; background:var(--white);
  transform-origin:0 50%; transform:scaleX(var(--mb-p,0));
}
.case-mb.is-zoomed .case-mb-progress{ background:rgba(0,0,0,.2); }
.case-mb.is-zoomed .case-mb-progress-bar{ background:var(--black); }

/* ---------- drawn stand-in site on the screen (all in cqw = % of screen width) */
.mb-site{ font-family:var(--font-body); background:#fff; }
.mb-site img{ display:block; width:100%; height:100%; object-fit:cover; max-width:none; }
.mb-site i{ font-style:normal; }
.mbs-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:3.4cqw 5cqw 2cqw; font-size:1.1cqw;
}
.mbs-logo{ font-family:var(--font-display-bold); font-weight:700; font-size:1.8cqw; letter-spacing:.06em; color:#0b3a6e; }
.mbs-logo b{ font-weight:400; margin-left:.3em; }
.mbs-links{ display:flex; gap:2.6cqw; color:#333; }
.mbs-hero{ position:relative; margin:0 2cqw; height:40cqw; border-radius:1.2cqw; overflow:hidden; }
.mbs-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,30,60,.85) 0%,rgba(8,30,60,.2) 70%); }
.mbs-hero-text{
  position:absolute; z-index:1; left:5cqw; bottom:6cqw; max-width:48cqw;
  display:flex; flex-direction:column; align-items:flex-start; gap:1.6cqw; color:#fff;
}
.mbs-kicker{ font-size:1.1cqw; letter-spacing:.12em; text-transform:uppercase; opacity:.8; }
.mbs-h1{ font-family:var(--font-display-bold); font-weight:700; font-size:5.4cqw; line-height:1.05; }
.mbs-btn{
  display:inline-block; padding:1cqw 2cqw; border-radius:999px;
  background:#fff; color:#0b3a6e; font-size:1.1cqw; font-weight:700;
}
.mbs-btn--dark{ background:#0b3a6e; color:#fff; }
.mbs-band{
  display:grid; grid-template-columns:repeat(3,1fr); gap:2cqw;
  padding:5cqw 5cqw 4cqw; font-size:1.2cqw; color:#555;
}
.mbs-band span{ display:flex; flex-direction:column; gap:.4cqw; border-top:1px solid #ddd; padding-top:1.6cqw; }
.mbs-band b{ font-family:var(--font-display-bold); font-size:4cqw; line-height:1; color:#0b3a6e; }
.mbs-section{ padding:4cqw 5cqw 6cqw; }
.mbs-section--grey{ background:#f1f3f6; }
.mbs-h2{ display:block; margin-bottom:2.6cqw; font-family:var(--font-display-bold); font-weight:700; font-size:3cqw; line-height:1.1; color:#141414; }
.mbs-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:2cqw; }
.mbs-card{ display:flex; flex-direction:column; gap:1.2cqw; font-size:1.4cqw; font-weight:700; }
.mbs-card img{ height:24cqw; border-radius:1cqw; }
.mbs-split{ display:grid; grid-template-columns:1.1fr 1fr; gap:5cqw; align-items:center; padding:2cqw 5cqw 7cqw; }
.mbs-split img{ height:34cqw; border-radius:1cqw; }
.mbs-lines{ display:flex; flex-direction:column; gap:1.1cqw; margin-bottom:2.6cqw; }
.mbs-lines i{ display:block; height:.9cqw; border-radius:.5cqw; background:#e1e4e8; }
.mbs-lines i:nth-child(2n){ width:86%; }
.mbs-lines i:last-child{ width:60%; }
.mbs-news{ display:flex; flex-direction:column; gap:1cqw; padding:2cqw; background:#fff; border-radius:1cqw; }
.mbs-news i{ display:block; height:.9cqw; border-radius:.5cqw; background:#e1e4e8; }
.mbs-news i:first-child{ height:14cqw; background:#d5dbe3; margin-bottom:1cqw; }
.mbs-news i:last-child{ width:65%; }
.mbs-footer{ display:flex; justify-content:space-between; align-items:flex-start; padding:5cqw 5cqw 8cqw; background:#0b2a50; }
.mbs-footer .mbs-logo{ color:#fff; }
.mbs-footer .mbs-lines{ width:30cqw; }
.mbs-footer .mbs-lines i{ background:rgba(255,255,255,.2); }

/* ---------- story / stats / gallery ---------- */
.case-detail-story{ padding:8vw 0 4vw; }
.case-detail-story .wrap{ display:flex; flex-direction:column; }
.case-detail-block{
  display:grid; grid-template-columns:31% 1fr; gap:3vw;
  padding:2.6vw 0; border-top:2px solid var(--white);
}
.case-detail-block h2{
  margin:0; font-family:var(--font-display-bold); font-weight:700;
  font-size:2.2917vw; line-height:1.25;
}
.case-detail-block p{
  margin:0; max-width:52.4219vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.5; opacity:.8;
}
.case-detail-stats{ padding:4vw 0 8vw; }
.case-detail-stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.0417vw; }
.case-detail-stat{
  display:flex; flex-direction:column; gap:0.8vw;
  padding:2.6vw; border:1px solid var(--white); border-radius:0.625vw;
}
.case-detail-stat strong{ font-family:var(--font-display-bold); font-weight:700; font-size:4.6997vw; line-height:1; }
.case-detail-stat span{ font-family:var(--font-display-bold); font-weight:400; font-size:0.9375vw; opacity:.8; }
.case-detail-gallery-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.0417vw; }
.case-detail-gallery-item{ margin:0; border-radius:0.625vw; overflow:hidden; aspect-ratio:3 / 2; }
.case-detail-gallery-item--wide{ grid-column:1 / -1; aspect-ratio:21 / 9; }
.case-detail-gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; }
.case-detail-gallery + .leistung-detail-cases{ padding-top:9vw; }

@media (prefers-reduced-motion:reduce){
  /* no pinned scrub: one still of the open laptop, scrolled with the page */
  .case-mb{ height:auto; }
  .case-mb-captions, .case-mb-progress{ display:none; }
  .case-mb-caption{ transition:none; }
}

@media (max-width:860px){
  .case-detail-hero{ padding-top:6vw; padding-bottom:8vw; }
  .case-detail-tags{ flex-wrap:wrap; margin-bottom:6vw; }
  .case-detail-client{ font-size:3.8vw; margin-bottom:2vw; }
  .case-detail-title{ font-size:var(--mobile-heading, 9vw); letter-spacing:0; margin-bottom:6vw; }
  .case-detail-title br{ display:none; }
  .case-detail-hero-row{ grid-template-columns:1fr; gap:8vw; }
  .case-detail-lead{ font-size:4vw; }
  .case-detail-facts{ gap:3vw; }
  .case-detail-facts div{ padding-bottom:3vw; gap:1vw; }
  .case-detail-facts dt{ font-size:2.8vw; }
  .case-detail-facts dd{ font-size:3.8vw; }

  .case-mb{ height:580vh; } /* was 420vh: the steps flew by on a phone; +45vh hold (js HOLD) */
  .case-mb-captions{ left:var(--gutter); bottom:12vh; }
  .case-mb-caption{ font-size:5vw; gap:2vw; }
  .case-mb.is-zoomed .case-mb-caption{ padding:1.6vw 3.4vw; }
  .case-mb-progress{ right:var(--gutter); bottom:calc(12vh + 2.4vw); width:18vw; }

  .case-detail-story{ padding:12vw 0 6vw; }
  .case-detail-block{ grid-template-columns:1fr; gap:3vw; padding:6vw 0 8vw; }
  .case-detail-block h2{ font-size:6.4vw; }
  .case-detail-block p{ max-width:none; font-size:4vw; }
  .case-detail-stats{ padding:6vw 0 12vw; }
  .case-detail-stats-grid{ grid-template-columns:1fr; gap:4vw; }
  .case-detail-stat{ padding:6vw; gap:2vw; border-radius:2vw; }
  .case-detail-stat strong{ font-size:13vw; }
  .case-detail-stat span{ font-size:3.8vw; }
  .case-detail-gallery-grid{ grid-template-columns:1fr; gap:4vw; }
  .case-detail-gallery-item{ border-radius:2vw; }
  .case-detail-gallery-item--wide{ aspect-ratio:3 / 2; }
}

/* ==========================================================================
   Social Wall (#insights auf der Startseite) — ersetzt die Blog-Teaser.
   Isotope-Masonry im Seitenraster: 4 Spalten innerhalb --grid-width mit
   dem Site-Gutter 1.0417vw (40px @ 3840px). YouTube und Querformat-
   Beiträge belegen 2 Spalten. Vorderseite = Medium mit weißer Kontur,
   Rückseite = weiße Karte mit schwarzem Text (3D-Flip per Klick).
   Logik/Datenquelle: js/social-wall.js, Doku: SOCIAL-WALL.md.
   ========================================================================== */
.social-wall{
  --sw-cols:4;
  --sw-gap:1.0417vw;
  --sw-border:1px; /* wie die Outline-Buttons der Seite */
  --sw-radius:max(12px, 0.625vw); /* Site-Standard 24px @ 3840px */
  --sw-text:clamp(13px, 0.9375vw, 36px);
}
.social-wall-header{
  display:flex; align-items:flex-end; justify-content:space-between; gap:2vw;
  margin:0 0 3vw;
}
.social-wall .insights-heading{ margin:0; }
.social-wall-filters{ display:flex; flex-wrap:wrap; align-items:center; gap:0.3125vw 0; }
/* Filter = die sekundären Pills der Seite (.blog-chip): schwarz, 1px weiße
   Kontur, Hover/aktiv weiß gefüllt; horizontal bündig aneinander. */
.sw-filter{
  display:flex; align-items:center; justify-content:center;
  height:2.0833vw; padding:0 1.25vw;
  background:var(--black); border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:0.8247vw; line-height:1.2;
  color:var(--white); white-space:nowrap; cursor:pointer;
  transition:background .3s ease, color .3s ease;
}
.sw-filter:hover, .sw-filter:focus-visible, .sw-filter.is-active{ background:var(--white); color:#000; }
@media (prefers-reduced-motion:reduce){ .sw-filter{ transition:none; } }
.sw-filter[hidden]{ display:none; }
.sw-filter:focus-visible{ outline:2px solid var(--white); outline-offset:3px; }

.social-wall-grid{ position:relative; min-height:20vw; }
.social-wall.is-ready .social-wall-grid{ min-height:0; }
.sw-sizer,
.sw-item{ width:calc((100% - (var(--sw-cols) - 1) * var(--sw-gap)) / var(--sw-cols)); }
.sw-item.sw-wide{ width:calc((100% - (var(--sw-cols) - 1) * var(--sw-gap)) / var(--sw-cols) * 2 + var(--sw-gap)); }
.sw-gutter{ width:var(--sw-gap); }
.sw-item{
  margin-bottom:var(--sw-gap);
  perspective:2000px;
}
/* Ohne Isotope (Skript nicht geladen): einfacher Umbruch statt Masonry */
.social-wall-grid.no-isotope{ display:flex; flex-wrap:wrap; gap:0 var(--sw-gap); }
.social-wall-grid.no-isotope .sw-sizer, .social-wall-grid.no-isotope .sw-gutter{ display:none; }
.social-wall-grid.no-isotope .sw-filtered-out{ display:none; }

.sw-card{
  position:relative;
  transform-style:preserve-3d;
  transition:transform .8s cubic-bezier(.2,.75,.2,1);
  cursor:pointer;
  outline:none;
}
.sw-item.is-flipped .sw-card{ transform:rotateY(180deg); }
.sw-card:focus-visible .sw-media,
.sw-card:focus-visible .sw-back{ box-shadow:0 0 0 3px var(--black), 0 0 0 6px var(--white); }

.sw-face{
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
}
.sw-front{ position:relative; }

/* Vorderseite: Medium mit weißer Kontur */
.sw-media{
  position:relative; overflow:hidden;
  border-radius:var(--sw-radius);
  background:#111;
  isolation:isolate; /* clippt auch iframe/video sauber an den runden Ecken */
}
/* Kontur als Overlay statt border: das Thumbnail läuft bis an den Rand,
   die Linie liegt obendrauf */
.sw-media::after{
  content:''; position:absolute; inset:0; z-index:3;
  border:var(--sw-border) solid var(--white); border-radius:inherit;
  pointer-events:none;
}
.sw-media img,
.sw-media video,
.sw-media iframe{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; border:0;
}
.sw-media img{ transition:transform .6s cubic-bezier(.2,.75,.2,1); }
.sw-card:hover .sw-media img{ transform:scale(1.04); }
.sw-media video,
.sw-media iframe{ opacity:0; transition:opacity .5s ease; pointer-events:none; }
.sw-media.is-playing video,
.sw-media.is-playing iframe{ opacity:1; }
/* YouTube: 16:9-Player etwas überskalieren, damit kein Letterboxing/Titel-
   Overlay am Rand sichtbar ist */
.sw-media[data-youtube] iframe{ transform:scale(1.18); }
.sw-media.is-missing{ background:var(--black); }
.sw-media-text{
  position:absolute; inset:0; margin:0; padding:1.5vw;
  display:flex; align-items:flex-end;
  font-family:var(--font-body); font-weight:700; font-size:clamp(15px, 1.25vw, 48px); line-height:1.2;
  color:var(--white);
}

.sw-badge{
  position:absolute; top:0.8vw; right:0.8vw; z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:clamp(26px, 1.6667vw, 64px); height:clamp(26px, 1.6667vw, 64px);
  border-radius:50%; background:var(--white); color:var(--black);
}
.sw-badge svg{ width:55%; height:55%; }
.sw-play{
  position:absolute; left:50%; top:50%; z-index:2;
  display:flex; align-items:center; justify-content:center;
  width:clamp(40px, 3.125vw, 120px); height:clamp(40px, 3.125vw, 120px);
  margin:calc(clamp(40px, 3.125vw, 120px) / -2) 0 0 calc(clamp(40px, 3.125vw, 120px) / -2);
  border:2px solid var(--white); border-radius:50%;
  color:var(--white); background:rgba(0,0,0,.35);
  transition:opacity .4s ease;
  pointer-events:none;
}
.sw-play svg{ width:45%; height:45%; margin-left:8%; }
.sw-media.is-playing .sw-play{ opacity:0; }

/* Rückseite: weiße Karte, schwarzer Text */
.sw-back{
  position:absolute; inset:0;
  transform:rotateY(180deg);
  display:flex; flex-direction:column; gap:1vw;
  padding:clamp(16px, 1.4583vw, 56px);
  background:var(--white); color:var(--black);
  border:var(--sw-border) solid var(--white);
  border-radius:var(--sw-radius);
  overflow:hidden;
}
.sw-back-meta{
  display:flex; align-items:center; justify-content:space-between; gap:1em;
  font-family:var(--font-body); font-weight:700; font-size:var(--sw-text); line-height:1;
}
.sw-back-network{ display:inline-flex; align-items:center; gap:.45em; }
.sw-back-network svg{ width:1.2em; height:1.2em; }
.sw-back-date{ font-weight:500; white-space:nowrap; }
.sw-back-body{
  flex:1 1 auto; min-height:0; overflow-y:auto;
  padding-top:1vw; border-top:2px solid var(--black);
  font-family:var(--font-body); font-weight:400; font-size:var(--sw-text); line-height:1.45;
  scrollbar-width:thin; scrollbar-color:var(--black) transparent;
  overscroll-behavior:contain;
}
.sw-back-body p{ margin:0 0 .8em; }
.sw-back-title{
  margin:0 0 .6em;
  font-family:var(--font-body); font-weight:700; font-size:calc(var(--sw-text) * 1.35); line-height:1.15;
}
.sw-back-tags{ color:#6b6b6b; font-size:.88em; }
/* Link auf der Rückseite = der sekundäre CTA der Seite (.leistung-cta: Pill +
   Pfeil-Kreis, Cross-Slide-Hover). Auf der weißen Karte als Negativ: Pill und
   Kreis schwarz mit schwarzer Kontur, Pfeil weiß. */
.sw-back .leistung-cta{ align-self:flex-start; flex:0 0 auto; margin-top:0; }
.sw-back .leistung-cta-label{ border-color:var(--black); }
.sw-back .leistung-cta-icon{ border-color:var(--black); background:var(--black); }

.social-wall-more-wrap{ display:flex; justify-content:center; padding-top:3vw; }
.social-wall-more-wrap[hidden]{ display:none; }
.social-wall-noscript a{ text-decoration:underline; }

@media (prefers-reduced-motion:reduce){
  .sw-card{ transition:none; transform-style:flat; }
  .sw-item.is-flipped .sw-card{ transform:none; }
  .sw-back{ transform:none; opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s; }
  .sw-item.is-flipped .sw-back{ opacity:1; visibility:visible; }
  .sw-media img{ transition:none; }
}
@media (max-width:1200px){
  .social-wall{ --sw-cols:3; }
  /* YouTube-Filter: breite Videos über die volle Breite, sonst bleibt neben
     jedem eine Spalte leer (siehe blockOrder in social-wall.js) */
  .social-wall.sw-only-youtube .sw-item.sw-wide{ width:100%; }
}
@media (max-width:860px){
  .social-wall{ --sw-cols:2; --sw-gap:3vw; --sw-text:3.4vw; --sw-radius:2vw; }
  .social-wall-header{ flex-direction:column; align-items:flex-start; gap:4vw; margin-bottom:5vw; }
  .social-wall-filters{ gap:2vw 0; }
  .sw-filter{ height:9vw; padding:0 4vw; font-size:3.4vw; }
  .sw-item.sw-wide{ width:100%; }
  .sw-badge{ top:2vw; right:2vw; width:7vw; height:7vw; }
  .sw-play{ width:11vw; height:11vw; margin:-5.5vw 0 0 -5.5vw; }
  .sw-back{ gap:2.5vw; padding:4vw; }
  .sw-back-body{ padding-top:2.5vw; }
  .sw-back .leistung-cta-label{ height:8vw; padding:0 4vw; font-size:3vw; }
  .sw-back .leistung-cta-icon{ width:8vw; height:8vw; }
  .sw-back-meta{ font-size:3vw; flex-wrap:wrap; row-gap:.5em; }
  .sw-media-text{ padding:4vw; font-size:4.4vw; }
  .social-wall-more-wrap{ padding-top:8vw; }
}


/* ---------- case benefits (Figma Frame 304) */
/* Values from Figma (3840px frame -> vw): pill 2px outline, padding 32/42px,
   48px type, 48px icon ring with a 16px plus, 42px between the pills.
   Open, the pill becomes a frosted-glass card (blurred, translucent dark
   fill over the laptop behind it) with the copy under the title and the
   plus turned into a minus. */
/* the laptop sits partly behind the benefits, so an open card frosts over it */
.case-mb-view{ position:absolute; top:0; bottom:0; left:26vw; right:2vw; }
.case-mb-layout{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  gap:2.6vw; pointer-events:none;
}
.case-benefits{
  list-style:none; margin:0; padding:0; pointer-events:auto;
  display:flex; flex-direction:column; align-items:flex-start; gap:1.0938vw;   /* 42px */
}
.case-benefit{
  display:block; min-width:0; max-width:36.5vw;
  border:2px solid var(--white); border-radius:2.6vw;
  /* closed pills: no backdrop blur. A blur over the live WebGL canvas has to
     be recomputed on every frame of the laptop animation (four pills = four
     blurs per frame), which was the main cause of the stutter. Only the one
     open card frosts the laptop behind it. */
  background:rgba(0,0,0,.6);
  overflow:hidden;
  transition:
    min-width .55s cubic-bezier(.4,0,.2,1),
    border-radius .55s cubic-bezier(.4,0,.2,1),
    border-color .4s, background-color .4s,
    -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.case-benefit-head{
  display:flex; align-items:center; gap:.7292vw;                               /* 28px */
  padding:.8333vw 1.0938vw;                                                    /* 32/42px */
  width:100%; text-align:left; color:var(--white); background:none; border:0; cursor:pointer;
  font:inherit;
}
.case-benefit-icon{
  position:relative; flex:none; width:1.25vw; height:1.25vw;                  /* 48px */
  border:2px solid var(--white); border-radius:50%;
}
.case-benefit-icon::before,
.case-benefit-icon::after{                                                     /* 16px plus, 2px stroke */
  content:""; position:absolute; left:50%; top:50%;
  width:.4167vw; height:2px; margin-left:-.2083vw; margin-top:-1px;
  background:var(--white);
  transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.case-benefit-icon::after{ transform:rotate(90deg); }
.case-benefit-title{
  font-family:var(--font-display); font-weight:400;
  font-size:1.25vw; line-height:1.5; white-space:nowrap;                       /* 48px */
  transition:opacity .3s;
}
.case-benefit-head:hover .case-benefit-title,
.case-benefit-head:focus-visible .case-benefit-title{ opacity:1; }
.case-benefit-panel{
  /* the copy must not widen the closed pill: each pill is as wide as its label */
  contain:inline-size;
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1);
}
.case-benefit-panel-inner{ min-height:0; overflow:hidden; }
.case-benefit-copy{
  margin:0; padding:0 1.0938vw 1.0938vw;                                       /* aligned with the icon */
  margin-top:-.1vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.25vw; line-height:1.5; color:var(--white);                       /* 48px, like the title */
}
/* typing: the invisible full text reserves the final height, the typed text
   is laid over it (js/case-benefits.js) */
.cb-wrap{ position:relative; display:block; }
.cb-ghost{ visibility:hidden; }
.cb-typed{ position:absolute; left:0; top:0; right:0; }
.case-benefit.is-typing .cb-typed::after{
  content:""; display:inline-block; width:2px; height:1.1em; margin-left:2px;
  vertical-align:-.15em; background:currentColor; animation:cb-caret .6s steps(1) infinite;
}
@keyframes cb-caret{ 50%{ opacity:0; } }
/* step 1 (is-open): widen to the card; step 2 (is-tall): grow to the text height */
.case-benefit.is-open{
  min-width:36.5vw; border-radius:1.9vw;
  border-color:var(--white);
  background:rgba(0,0,0,.55);
  -webkit-backdrop-filter:blur(24px) saturate(1.2); backdrop-filter:blur(24px) saturate(1.2);
}
.case-benefit.is-tall .case-benefit-panel{ grid-template-rows:1fr; }
.case-benefit.is-open .case-benefit-icon::after{ transform:rotate(90deg) scaleX(0); }   /* plus -> minus */
.case-benefit.is-open .case-benefit-title{ opacity:1; }
@media (prefers-reduced-motion:reduce){
  .case-benefit, .case-benefit-icon::before, .case-benefit-icon::after, .case-benefit-panel{ transition:none; }
  .case-benefit.is-typing .cb-typed::after{ display:none; }
}
@media (max-width:860px){
  .case-mb-view{ left:0; right:0; top:0; bottom:42%; }
  .case-mb-layout{ align-items:flex-end; padding-bottom:16vh; }
  .case-benefits{ gap:2.6vw; }
  .case-benefit{ border-radius:8vw; max-width:none; }
  .case-benefit.is-open{ border-radius:5vw; min-width:calc(100vw - 2 * var(--gutter)); }
  .case-benefit-head{ gap:2.6vw; padding:2.4vw 3.6vw; }
  .case-benefit-icon{ width:5.4vw; height:5.4vw; }
  .case-benefit-icon::before, .case-benefit-icon::after{ width:2vw; margin-left:-1vw; }
  .case-benefit-title{ font-size:4vw; }
  .case-benefit-copy{ font-size:3.8vw; padding:0 3.6vw 3.6vw; }
}

/* ---------- case screen video (js/case-laptop.js) */
/* A recording of the client site (with its scroll effects) plays on the
   screen instead of embedding the live site: no third-party load, no cookie
   banner, no visitor data leaving the page. The screenshot under it shows
   until the video has data. */
.mb-site-video{
  position:absolute; left:0; top:0; width:100%; height:100%;
  object-fit:cover; object-position:top center; background:#fff;
  opacity:0; transition:opacity .4s; pointer-events:none;
}
.case-mb.has-video .mb-site{ height:100%; transform:none !important; }
.case-mb.has-video .mb-site-shot{ visibility:hidden; }
.case-mb.has-video .mb-site-video{ opacity:1; }
@media (max-width:860px){
  .case-mb-layout{ justify-content:flex-end; align-items:flex-start; gap:5vw; }
}

/* ---------- case hero (Figma Frame 292, top) */
/* Measured on the 3840px Figma frame and converted to vw (px / 38.4).
   The key visual bleeds off the right edge; the title runs over it. */
/* Figma measures from the top of the page, the menu included: pull the
   section up under the (transparent, sticky) header by its height (96px =
   28px padding + 40px logo + 28px), so image, tags and title land exactly on
   the Figma positions: image 317px, tags 545px, title 663px (/38.4 -> vw). */
.case-hero{ position:relative; min-height:47.97vw; margin-top:-96px; padding-top:14.19vw; padding-bottom:4vw; }
.case-hero-media{
  position:absolute; z-index:0; margin:0;
  top:8.255vw; right:0; width:49.32vw; height:39.72vw;               /* y 317, 1894 x 1525 */
  border-radius:.8333vw; overflow:hidden;                            /* 32px */
}
.case-hero-media img{ display:block; width:100%; height:100%; object-fit:cover; }
.case-hero-text{ position:relative; z-index:1; }
.case-hero-tags{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:2.8125vw;                    /* 108px */
}
.case-hero-tags li{
  display:flex; align-items:center; gap:.599vw;                      /* 23px */
  font-family:var(--font-display-bold); font-weight:700;
  font-size:.9896vw; line-height:1; color:var(--white);              /* 38px */
}
.case-hero-tags img{ width:.4688vw; height:.4688vw; display:block; }  /* 18px */
.case-hero-title{
  margin:2.08vw 0 0;                                                 /* 80px */
  display:flex; flex-direction:column;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:7.6042vw; line-height:1.1; letter-spacing:.076vw;        /* 292px, 2.92px */
}
.case-hero-title-outline{
  text-transform:uppercase; color:transparent;
  -webkit-text-stroke:max(1px, .07vw) var(--white);
}
.case-hero-title-fill{ color:var(--white); text-transform:uppercase; }
.case-hero-lead{
  margin:.94vw 0 0; max-width:38.96vw;                               /* 1496px */
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.25vw; line-height:1.5; color:var(--white);                   /* 48px */
}
@media (max-width:860px){
  .case-hero{ min-height:0; margin-top:0; padding-top:8vw; padding-bottom:8vw; display:flex; flex-direction:column; }
  .case-hero-text{ order:1; }
  .case-hero-media{ order:2; position:relative; top:auto; width:auto; height:auto; aspect-ratio:1894 / 1525; margin:8vw var(--gutter) 0; border-radius:2vw; }
  .case-hero-tags{ gap:5vw; flex-wrap:wrap; }
  .case-hero-tags li{ gap:1.6vw; font-size:3.4vw; }
  .case-hero-tags img{ width:1.8vw; height:1.8vw; }
  .case-hero-title{ margin-top:5vw; font-size:12vw; letter-spacing:0; }
  .case-hero-title-outline{ -webkit-text-stroke:1px var(--white); }
  .case-hero-lead{ max-width:none; margin-top:4vw; font-size:4vw; }
}

/* ---------- case slider (Figma Frame 324 / 283) */
/* Slides 984 / 2004 x 1490px, 32px radius, 44px apart; controls right-aligned
   on the grid, 104px below: 109px arrow buttons, 16px dots (active 48px),
   48px apart. 3840px frame -> vw (px / 38.4). */
.case-slider{ padding:6.5vw 0 2vw; outline:none; }
.case-slider-viewport{ overflow:hidden; }
.case-slider-track{
  display:flex; gap:1.1458vw; align-items:center;                       /* 44px */
  transition:transform .7s cubic-bezier(.22,1,.36,1);
  cursor:grab; touch-action:pan-y; user-select:none;
}
.case-slider-track.is-dragging{ cursor:grabbing; }
/* Slide height follows the width (Figma: 1490px @ 3840), but never taller
   than ~72% of the window: on wide, flat screens (21:9, a short browser
   window) the width-based height alone ran past the bottom of the screen.
   The widths keep the Figma proportions of that height. */
.case-slider{ --slide-h:min(38.8vw, 72vh); --slide-h:min(38.8vw, 72svh); }
.case-slide{
  flex:none; margin:0; height:var(--slide-h);                           /* 1490px */
  border-radius:.8333vw; overflow:hidden; background:#000;              /* 32px */
}
.case-slide--mobile{ width:calc(var(--slide-h) * .6604); }              /* 984 / 1490 */
.case-slide--desktop{ width:calc(var(--slide-h) * 1.345); }             /* 2004 / 1490 */
.case-slide img{ display:block; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.case-slider-controls{
  display:flex; justify-content:flex-end; align-items:center; gap:1.25vw;   /* 48px */
  margin-top:2.7vw;                                                         /* 104px */
}
.case-slider-btn{ flex:none; width:2.8443vw; height:2.8443vw; padding:0; border:0; background:none; cursor:pointer; transition:opacity .3s, transform .3s; }
.case-slider-btn img{ display:block; width:100%; height:100%; }
.case-slider-prev img{ transform:rotate(180deg); }
.case-slider-btn:disabled{ cursor:default; }                           /* black & white only: no greyed-out state */
.case-slider-btn:not(:disabled):hover{ transform:scale(1.06); }
.case-slider-dots{ display:flex; align-items:center; gap:1.25vw; }
.case-slider-dot{
  width:.4167vw; height:.4167vw; padding:0; border:0; border-radius:50%;  /* 16px */
  background:var(--white); cursor:pointer;
  transition:width .4s cubic-bezier(.4,0,.2,1), height .4s cubic-bezier(.4,0,.2,1);
}
.case-slider-dot.is-active{ width:1.25vw; height:1.25vw; }              /* 48px */
@media (prefers-reduced-motion:reduce){
  .case-slider-track, .case-slider-dot{ transition:none; }
}
@media (max-width:860px){
  .case-slider{ padding:12vw 0 4vw; }
  .case-slider-track{ gap:3vw; }
  .case-slide{ height:110vw; border-radius:2vw; }
  .case-slide--mobile{ width:72vw; }
  .case-slide--desktop{ width:86vw; }
  .case-slider-controls{ gap:4vw; margin-top:6vw; }
  .case-slider-btn{ width:11vw; height:11vw; }
  .case-slider-dot{ width:1.8vw; height:1.8vw; }
  .case-slider-dot.is-active{ width:4.5vw; height:4.5vw; }
}

/* ---------- case facts (client / scope / tags, before the contact band) */
.case-facts{ padding:7vw 0 0; }
.case-facts-grid{
  margin:0 auto;
  display:grid; grid-template-columns:1fr 1.4fr 1.4fr; gap:3vw;
  border-top:2px solid var(--white); padding-top:2.6vw;
}
.case-fact{ display:flex; flex-direction:column; gap:1vw; }
.case-fact dt{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:.9896vw; line-height:1.2; letter-spacing:.08em; text-transform:uppercase;
  color:var(--white);
}
.case-fact dd{
  margin:0;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.25vw; line-height:1.5; color:var(--white);                  /* 48px, like the intro */
}
.case-facts-tags{ flex-wrap:wrap; gap:.6vw 1.8vw; }
.case-facts-tags li{ font-size:1.25vw; font-weight:400; line-height:1.5; }
@media (max-width:860px){
  .case-facts{ padding-top:14vw; }
  .case-facts-grid{ grid-template-columns:1fr; gap:7vw; padding-top:6vw; }
  .case-fact{ gap:2vw; }
  .case-fact dt{ font-size:3vw; }
  .case-fact dd{ font-size:4.2vw; }
  .case-facts-tags{ gap:2vw 5vw; }
  .case-facts-tags li{ font-size:4.2vw; }
}

/* header: link to the client's live site, the site's standard CTA */
.case-hero-cta{ margin-top:2.1vw; }
@media (max-width:860px){ .case-hero-cta{ margin-top:6vw; } }

/* Insights-Seite: Social Wall statt Blog-Liste. Kopf = .blog-hero, darunter
   das Grid. Filter sitzen im Kopf an der Stelle der früheren Themen-Chips. */
.social-wall-page .blog-hero{ padding-bottom:3vw; }
.social-wall-page-body{ padding-bottom:8vw; }
@media (max-width:860px){
  .social-wall-page .blog-hero{ padding-bottom:6vw; }
}

/* ---------- case detail — smartphone stage (js/case-phone.js)
   Same stage as the laptop; only the screen differs: a 390px-wide mobile
   screen with the iPhone's rounded display corners and the Dynamic Island.
   Radii/island are shares of the 440pt-wide iPhone 16 Pro Max display. */
.case-mb--phone .mb-screen{ width:390px; height:844px; border-radius:48px; }
.mb-island{
  position:absolute; z-index:3; left:50%; top:11px; transform:translateX(-50%);
  width:110px; height:32px; background:#000; border-radius:16px;
  pointer-events:none;
}
.case-mb--phone .mb-screen::after, .case-mb--phone .mb-screen::before{ border-radius:inherit; }
/* flat fallback: the mobile screen alone, centred in the device's place */
.case-mb--phone.is-flat .mb-screen{
  left:50%; top:50%;
  width:auto !important; height:min(78vh, 760px) !important; aspect-ratio:390 / 844;
  border-radius:clamp(20px, 4vh, 44px);
  box-shadow:0 0 0 8px #1a1a1a, 0 0 0 9px rgba(255,255,255,.18);
}

/* ---------- case detail — iPad stage (js/case-ipad.js)
   Same stage as the laptop; the screen is the 12.9" iPad Pro display in
   landscape (2732 x 2048 → 1440 x 1067 CSS px here) with its rounded display
   corners, plus the ring where the Pencil touches the glass. */
.case-mb--ipad .mb-screen{ width:1440px; height:1067px; border-radius:26px; }
.case-mb--ipad .mb-screen::after, .case-mb--ipad .mb-screen::before{ border-radius:inherit; }
/* the Pencil's own canvas, above the HTML screen */
.case-mb-canvas--top{ z-index:2; pointer-events:none; }
.mb-touch{
  position:absolute; z-index:4; left:0; top:0;
  width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%;
  background:radial-gradient(circle, rgba(20,20,20,.22) 0 30%, rgba(20,20,20,.08) 31% 100%);
  box-shadow:0 0 0 1.5px rgba(20,20,20,.22);
  opacity:0; pointer-events:none; will-change:transform, opacity;
}
/* flat fallback: the screen alone, centred, in a thin bezel */
.case-mb--ipad.is-flat .mb-screen{
  aspect-ratio:1440 / 1067; width:min(74vw, 1100px) !important;
  border-radius:clamp(10px, 1.6vw, 24px);
  box-shadow:0 0 0 clamp(8px, 1.2vw, 18px) #1a1a1a, 0 0 0 calc(clamp(8px, 1.2vw, 18px) + 1px) rgba(255,255,255,.18);
}

/* ---------- Rechtstexte (impressum.html, datenschutz.html)
   Kopf wie die Kontaktseite; darunter eine schmale Lesespalte in der
   Fließtext-Schrift der Seite. */
.legal{ padding:2vw 0 8vw; }
.legal-body{ max-width:52vw; color:var(--white); }
.legal-body h2{
  margin:3.2vw 0 .9vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.25vw; line-height:1.3;
}
.legal-body h2:first-child, .legal-stand + h2{ margin-top:0; }
.legal-body p, .legal-body li{
  margin:0 0 1vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:.9375vw; line-height:1.6; opacity:.85;
}
.legal-body ul{ margin:0 0 1vw; padding-left:1.2em; }
.legal-body li{ margin-bottom:.4vw; }
.legal-body a{ color:inherit; text-decoration:underline; text-underline-offset:.15em; word-break:break-word; }
.legal-body strong{ font-weight:700; }
.legal-stand{ font-size:.8vw !important; opacity:.55 !important; margin-bottom:2.4vw !important; }
@media (max-width:860px){
  .legal{ padding:4vw 0 16vw; }
  .legal-body{ max-width:none; }
  .legal-body h2{ margin:9vw 0 3vw; font-size:5vw; }
  .legal-body p, .legal-body li{ margin-bottom:3.5vw; font-size:3.8vw; }
  .legal-body li{ margin-bottom:2vw; }
  .legal-stand{ font-size:3.2vw !important; margin-bottom:7vw !important; }
}

/* ---------- Case detail — Lösungen & Bausteine (Vorlage für alle Cases) ----
   Two sections every case page carries (see case-vorlage.html):
     .case-solutions  the four goals (Neue Website, Mehr Anfragen, Mehr
                      Bewerber, Weniger Handarbeit) as cards; the ones that
                      were not part of the project as slim rows below
                      (.case-solutions-off). Optional key figure per card.
     .case-modules    the four Bausteine 01–04 as rows (Website, Google & KI,
                      Performance-Marketing, KI-Automation); .is-off likewise.
   Sizes on the 3840px reference like the rest of the case page. */
.case-section-head{ margin:0 0 3.4vw; max-width:52vw; }
.case-section-kicker{
  margin:0 0 1.2vw; display:flex; align-items:center; gap:.599vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.9896vw); line-height:1; letter-spacing:.08em; text-transform:uppercase;
}
.case-section-kicker::before{
  content:""; width:.4688vw; height:.4688vw; border-radius:50%; background:var(--white);
}
.case-section-title{
  margin:0; font-family:var(--font-display); font-weight:400;
  font-size:2.6vw; line-height:1.1;
}
.case-section-intro{
  margin:1.4vw 0 0; max-width:42vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:max(14px,1.0938vw); line-height:1.5; opacity:.8;
}

.case-solutions{ padding:8vw 0 7vw; }
/* four goals, 2 x 2: wide enough to read, and the two cards of a row share
   their rows (subgrid) so figures and Hebel lines line up */
.case-solutions-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.0417vw; align-items:stretch; }
.case-solution{
  display:flex; flex-direction:column; gap:1.1vw;
  padding:2.6vw; border:2px solid var(--white); border-radius:.625vw;
}
/* label, title, copy, result share rows across the three cards, so the big
   figures line up even when one card's copy runs longer */
@supports (grid-template-rows:subgrid){
  .case-solution{ display:grid; grid-row:span 5; grid-template-rows:subgrid; row-gap:1.1vw; align-content:start; }
  .case-solution-hebel{ grid-row:5; align-self:end; }
  /* wide card (Neue Website on top, Weniger Handarbeit at the bottom): spans
     both columns; label + title left, copy + Hebel right */
  .case-solution--wide{
    grid-column:1 / -1; grid-row:auto;
    grid-template-columns:1fr 1fr; grid-template-rows:auto auto auto; column-gap:calc(2.6vw * 2 + 1.0417vw);
  }
  .case-solution--wide .case-solution-label{ grid-column:1; grid-row:1; }
  .case-solution--wide .case-solution-title{ grid-column:1; grid-row:2 / span 2; }
  .case-solution--wide .case-solution-copy{ grid-column:2; grid-row:1 / span 2; max-width:none; }
  .case-solution--wide .case-solution-result{ grid-column:2; grid-row:auto; }
  .case-solution--wide .case-solution-hebel{ grid-column:2; grid-row:auto; }
  .case-solution-result{ align-self:start; margin-top:0; }
  .case-solution-link{ align-self:end; }
}
.case-solution-label{
  margin:0; display:flex; align-items:center; gap:.8vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.9896vw); line-height:1; letter-spacing:.08em; text-transform:uppercase;
}
.case-solution-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:2.2vw; height:2.2vw; border:2px solid var(--white); border-radius:50%;
  font-size:.78vw; letter-spacing:0;
}
.case-solution-title{
  margin:.6vw 0 0; font-family:var(--font-display-bold); font-weight:700;
  font-size:1.6146vw; line-height:1.2;
}
.case-solution-copy{
  margin:0; font-family:var(--font-display-bold); font-weight:400;
  font-size:max(14px,.9375vw); line-height:1.55; opacity:.8;
}
.case-solution-result{
  padding-top:1.8vw; border-top:2px solid var(--white);
  display:flex; flex-direction:column; gap:1.2vw;
}
.case-solution-figure{ margin:0; display:flex; flex-direction:column; gap:.5vw; }
.case-solution-figure strong{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:4.6875vw; line-height:.9; letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;
}
.case-solution-figure span{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:max(13px,.9375vw); line-height:1.35;
}
.case-solution-breakdown{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.45vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:max(12px,.8247vw); line-height:1.45; opacity:.75;
}
.case-solution-breakdown b{ font-weight:700; opacity:1; margin-right:.3em; }
.case-solution-link{ margin-top:auto; padding-top:1vw; }
/* "Unser Service": the services behind the result, linked – same wording and
   look as the Hebel line under "Wo hakt es bei dir?" on the homepage */
.case-solution-hebel{
  margin:auto 0 0; padding-top:1.2vw; border-top:1px solid rgba(255,255,255,.3);
  font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.7292vw); line-height:1.5; letter-spacing:.08em; text-transform:uppercase;
}
.case-solution-hebel a{ text-decoration:underline; text-underline-offset:.2em; }
.case-solution-hebel a:hover, .case-solution-hebel a:focus-visible{ text-decoration-thickness:2px; }
.case-solution-copy{ max-width:34vw; }
/* Bausteine, die nicht Teil des Projekts waren: schmale Zeilen unter den
   Karten – einmal benannt ("Nicht Teil dieses Projekts"), Ziel links,
   Service rechts. Keine eigene Karte, keine Überschrift, kein wiederholter
   Satz (Regeln: case-vorlage.html). */
.case-solutions-off{ margin-top:2.6vw; }
.case-solutions-off-label{
  margin:0 0 1vw; font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.7292vw); line-height:1.5; letter-spacing:.08em; text-transform:uppercase;
  opacity:.55;
}
.case-solutions-off-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(2,1fr); gap:1.0417vw;
}
.case-solutions-off-item{
  display:flex; align-items:center; justify-content:space-between; gap:1.6vw;
  padding:1.15vw 2.6vw; border:1px solid rgba(255,255,255,.25); border-radius:.625vw;
}
.case-solutions-off-item > *{ white-space:nowrap; }
/* nur ein Baustein fehlt: die Zeile läuft über die ganze Breite */
.case-solutions-off-item:only-child{ grid-column:1 / -1; }
.case-solutions-off-item .case-solution-label{ opacity:.6; }
.case-solutions-off-service{
  margin:0; font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.7292vw); line-height:1.5; letter-spacing:.08em; text-transform:uppercase;
  opacity:.8;
}
.case-solutions-off-service a{ text-decoration:underline; text-underline-offset:.2em; }
.case-solutions-off-service a:hover, .case-solutions-off-service a:focus-visible{ text-decoration-thickness:2px; }
/* schmale Fenster: beide Zeilen gleich – Ziel oben, Service darunter (sonst
   bricht nur die längere von beiden um) */
@media (max-width:1100px){
  .case-solutions-off-item{ flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:.9vw; }
}
@media (max-width:860px){
  .case-solutions-off{ margin-top:8vw; }
  .case-solutions-off-label{ margin-bottom:3.4vw; font-size:2.8vw; }
  .case-solutions-off-list{ grid-template-columns:1fr; gap:3vw; }
  .case-solutions-off-item{
    flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:2.6vw;
    padding:4.6vw 6vw; border-radius:2vw;
  }
  .case-solutions-off-service{ font-size:2.8vw; }
}

.case-modules{ padding:2vw 0 6vw; }
.case-modules-list{ list-style:none; margin:0; padding:0; border-bottom:2px solid var(--white); }
.case-module{
  display:grid; grid-template-columns:5vw 31% 1fr; gap:0 3vw; align-items:baseline;
  padding:1.9vw 0; border-top:2px solid var(--white);
}
.case-module-num{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.6146vw; line-height:1.2;
  color:transparent; -webkit-text-stroke:max(1px,.05vw) var(--white);
}
.case-module-head{ display:flex; flex-direction:column; gap:.7vw; }
.case-module-title{
  margin:0; font-family:var(--font-display-bold); font-weight:700;
  font-size:1.6146vw; line-height:1.2;
}
.case-module-title a{
  background:linear-gradient(currentColor,currentColor) 0 100% / 0 2px no-repeat;
  transition:background-size .4s cubic-bezier(.4,0,.2,1);
}
.case-module-title a:hover,
.case-module-title a:focus-visible{ background-size:100% 2px; }
.case-module-goals{
  margin:0; font-family:var(--font-display-bold); font-weight:700;
  font-size:max(11px,.7292vw); line-height:1.4; letter-spacing:.08em; text-transform:uppercase; opacity:.6;
}
.case-module-copy{
  margin:0; max-width:44vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:max(14px,1.0938vw); line-height:1.55; opacity:.85;
}
.case-module.is-off > *{ opacity:.4; }

@media (max-width:860px){
  .case-solution{ grid-row:auto; display:flex; }
  .case-solution--wide{ grid-column:auto; }
  .case-section-head{ max-width:none; margin-bottom:8vw; }
  .case-section-kicker{ font-size:3vw; gap:2vw; margin-bottom:3vw; }
  .case-section-kicker::before{ width:1.6vw; height:1.6vw; }
  .case-section-title{ font-size:var(--mobile-heading, 9vw); }
  .case-section-intro{ max-width:none; font-size:4.2vw; margin-top:4vw; }

  .case-solutions{ padding:14vw 0 12vw; }
  .case-solutions-grid{ grid-template-columns:1fr; gap:4vw; }
  .case-solution{ padding:6vw; gap:3.4vw; border-radius:2vw; }
  .case-solution-label{ font-size:3vw; gap:2.6vw; }
  .case-solution-num{ width:7.5vw; height:7.5vw; font-size:2.6vw; }
  .case-solution-title{ font-size:5.6vw; margin-top:1vw; }
  .case-solution-copy{ font-size:4vw; }
  .case-solution-result{ padding-top:5vw; gap:3.4vw; }
  .case-solution-figure{ gap:1.6vw; }
  .case-solution-figure strong{ font-size:16vw; }
  .case-solution-figure span{ font-size:4vw; }
  .case-solution-breakdown{ font-size:3.6vw; gap:1.4vw; }
  .case-solution-link{ padding-top:3vw; }
  .case-solution-hebel{ padding-top:4vw; font-size:2.8vw; }
  .case-solution-copy{ max-width:none; }
  .case-solution-link .leistung-cta-label{ height:9vw; padding:0 4.4vw; font-size:3.4vw; }
  .case-solution-link .leistung-cta-icon{ width:9vw; height:9vw; }

  .case-modules{ padding:4vw 0 12vw; }
  .case-module{ grid-template-columns:12vw 1fr; gap:3vw 3vw; padding:6vw 0 7vw; }
  .case-module-num{ font-size:5.6vw; }
  .case-module-head{ gap:2vw; }
  .case-module-title{ font-size:5.6vw; }
  .case-module-goals{ font-size:3vw; }
  .case-module-copy{ grid-column:2; max-width:none; font-size:3.8vw; }
}

/* ---------- Startseite: "Wo hakt es bei dir?" (js/fragen.js) --------------
   Vier Einstiegsfragen direkt unter dem Hero. Karten in der Sprache der
   Leistungskacheln (1px weiße Kontur, 24px-Radius @3840); die gewählte Karte
   kippt ins Negativ (weiß, schwarze Schrift), darunter der Hebel mit dem
   primären CTA der Seite in die Analyse. */
.fragen{ padding:7vw 0 4vw; }
.fragen-heading{
  margin:0; font-family:var(--font-display); font-weight:400;
  font-size:3.3854vw; line-height:1.1; color:var(--white);
}
.fragen-sub{
  margin:1vw 0 2.6vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.5; color:var(--white); opacity:.8;
}
.fragen-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:1.0417vw; }
.frage{
  display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; gap:2.4vw;
  min-height:8.3vw; padding:1.4vw 1.6vw;
  border:1px solid rgba(255,255,255,.45); border-radius:.625vw;
  background:transparent; color:var(--white); text-align:left; cursor:pointer;
  transition:background-color .35s, color .35s, border-color .35s, transform .35s cubic-bezier(.4,0,.2,1);
}
.frage:hover{ border-color:var(--white); transform:translateY(-.2vw); }
.frage:focus-visible{ outline:2px solid var(--white); outline-offset:3px; }
.frage.is-active{ background:var(--white); color:var(--black); border-color:var(--white); transform:none; }
.frage-num{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:.7292vw; letter-spacing:.08em; opacity:.6;
}
.frage-title{
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.4063vw; line-height:1.2;
}
.hebel{
  margin-top:1.0417vw;
  display:flex; align-items:center; justify-content:space-between; gap:3vw;
  padding:1.8vw 2.2vw;
  border:1px solid rgba(255,255,255,.45); border-radius:.625vw;
  animation:hebel-in .45s cubic-bezier(.4,0,.2,1);
}
.hebel[hidden]{ display:none; }
@keyframes hebel-in{ from{ opacity:0; transform:translateY(.6vw); } to{ opacity:1; transform:none; } }
.hebel-label{
  margin:0 0 .6vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:.7292vw; letter-spacing:.08em; text-transform:uppercase; opacity:.7;
}
.hebel-label a{ color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.hebel-copy{
  margin:0; max-width:46vw;
  font-family:var(--font-display-bold); font-weight:400;
  font-size:1.25vw; line-height:1.45; color:var(--white);
}
.hebel-cta{ flex:none; }
@media (prefers-reduced-motion:reduce){
  .hebel{ animation:none; }
  .frage{ transition:none; }
}
@media (max-width:860px){
  /* unten 13vw (waren 6vw): mehr Luft zwischen dem "Unser Service"-Kasten und
     der Leiste "Vom Problem zum Hebel" darunter */
  .fragen{ padding:14vw 0 13vw; }
  .fragen-heading{ font-size:var(--mobile-heading, 9vw); }
  .fragen-sub{ margin:3vw 0 6vw; font-size:4vw; }
  .fragen-grid{ grid-template-columns:1fr 1fr; gap:3vw; }
  .frage{ min-height:26vw; padding:4vw; gap:5vw; border-radius:2vw; }
  .frage:hover{ transform:none; }
  .frage-num{ font-size:2.8vw; }
  .frage-title{ font-size:4.4vw; }
  .hebel{ flex-direction:column; align-items:flex-start; gap:5vw; margin-top:3vw; padding:5vw; border-radius:2vw; }
  .hebel-label{ font-size:2.8vw; margin-bottom:2vw; }
  .hebel-copy{ max-width:none; font-size:4.2vw; }
}

/* ---------- Kostenlose Analyse (analyse.html, js/analyse.js) ---------------
   4 Schritte wie in der Dummy-Startseite, im Stil der Kontaktseite:
   Tag + Titel aus .kontakt-*, Eingabefelder = .kontakt-field, Antworten als
   Pills in der Sprache der Filter-Chips (Kontur, gewählt = weiß gefüllt),
   Weiter/Absenden = primärer CTA der Seite. Die Spalte ist schmaler als das
   Raster (2150 / 3032), damit Frage und Antworten auf einen Blick passen. */
.analyse{ padding:5.677vw 0 9vw; }
.wrap.analyse-inner{ max-width:56vw; }
.analyse-title{ margin-bottom:1vw; }
.analyse-lead{
  margin:0; font-family:var(--font-display-bold); font-weight:400;
  font-size:1.25vw; line-height:1.5; color:var(--white); opacity:.8;
}
.analyse-progress{ display:grid; grid-template-columns:repeat(4, 1fr); gap:.4167vw; margin-top:2.6vw; }
.analyse-progress span{ height:3px; border-radius:3px; background:rgba(255,255,255,.2); transition:background-color .4s; }
.analyse-progress span.is-done{ background:var(--white); }
.analyse-step-count{
  margin:.8vw 0 1.6vw; font-family:var(--font-display-bold); font-weight:500;
  font-size:.8247vw; color:var(--white); opacity:.6;
}
.analyse-card{
  padding:2.6vw; border:1px solid rgba(255,255,255,.45); border-radius:1.25vw;
}
.analyse-step{ border:0; margin:0; padding:0; min-width:0; }
.analyse-step.is-active{ animation:hebel-in .45s cubic-bezier(.4,0,.2,1); }
.analyse-q{
  padding:0; margin:0 0 1.6vw;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:1.875vw; line-height:1.2; color:var(--white);
}
.analyse-q span{ margin-left:.5em; font-weight:400; font-size:.8247vw; opacity:.6; }
.analyse-sub{
  margin:0 0 1vw; font-family:var(--font-display-bold); font-weight:400;
  font-size:1.0938vw; line-height:1.5; color:var(--white); opacity:.85;
}
.analyse-choices{ display:flex; flex-wrap:wrap; gap:.625vw; }
.analyse-chip{ position:relative; display:inline-flex; cursor:pointer; }
.analyse-chip input{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
.analyse-chip span{
  display:inline-flex; align-items:center; height:2.6vw; padding:0 1.4vw;
  border:1px solid rgba(255,255,255,.6); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700; font-size:.9375vw; line-height:1;
  color:var(--white); white-space:nowrap;
  transition:background-color .3s, color .3s, border-color .3s;
}
.analyse-chip:hover span{ border-color:var(--white); }
.analyse-chip input:checked + span{ background:var(--white); color:var(--black); border-color:var(--white); }
.analyse-chip input:focus-visible + span{ outline:2px solid var(--white); outline-offset:3px; }
.analyse-fields{ display:grid; grid-template-columns:1fr 1fr; gap:1.0417vw; margin-top:1.8vw; }
.analyse-fields--3{ grid-template-columns:repeat(3, 1fr); margin-top:0; }
.analyse-check{
  display:flex; align-items:center; gap:.6vw; margin-top:1.1vw; cursor:pointer;
  font-family:var(--font-display-bold); font-weight:400; font-size:.8247vw; color:var(--white);
}
.analyse-check input{ width:1vw; height:1vw; min-width:14px; min-height:14px; margin:0; accent-color:#fff; }
.analyse-check a{ color:inherit; }
.analyse-error{
  margin:1.1vw 0 0; font-family:var(--font-display-bold); font-weight:500;
  font-size:.8247vw; color:#ff9b8f;
}
.analyse-nav{ display:flex; align-items:center; justify-content:space-between; gap:1vw; margin-top:2.4vw; }
.analyse-nav [hidden]{ display:none; }
.analyse-back{
  display:inline-flex; align-items:center; height:2.0833vw; padding:0 1.25vw;
  border:1px solid var(--white); border-radius:999px; background:none; cursor:pointer;
  font-family:var(--font-display-bold); font-weight:700; font-size:.8247vw; color:var(--white);
  transition:background-color .3s, color .3s;
}
.analyse-back:hover, .analyse-back:focus-visible{ background:var(--white); color:var(--black); }
.analyse-next{ margin-left:auto; padding:0; border:0; background:none; font:inherit; cursor:pointer; }
.analyse-next[aria-busy="true"]{ opacity:.6; pointer-events:none; }
.analyse-done:focus{ outline:none; }
.analyse-done .analyse-q{ margin-bottom:1vw; }
.analyse-alt{
  margin:2vw 0 0; font-family:var(--font-display-bold); font-weight:400;
  font-size:.9375vw; color:var(--white); opacity:.75;
}
.analyse-alt a{ color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.analyse-faq{ padding:0 0 9vw; }
.analyse-faq .case-section-title{ margin-bottom:2vw; }
.analyse-faq .leistung-detail-feature-list{ max-width:none; gap:1.6vw; }
.analyse{ padding-bottom:6vw; }
@media (prefers-reduced-motion:reduce){
  .analyse-step.is-active{ animation:none; }
}
@media (max-width:860px){
  .analyse{ padding:6vw 0 18vw; }
  .wrap.analyse-inner{ max-width:none; }
  .analyse-title{ margin-bottom:3vw; }
  .analyse-lead{ font-size:4.2vw; }
  .analyse-progress{ gap:1.5vw; margin-top:8vw; }
  .analyse-step-count{ margin:3vw 0 5vw; font-size:3.2vw; }
  .analyse-card{ padding:6vw 5vw; border-radius:4vw; }
  .analyse-q{ margin-bottom:5vw; font-size:6vw; }
  .analyse-q span{ display:block; margin:1.5vw 0 0; font-size:3.2vw; }
  .analyse-sub{ margin-bottom:3vw; font-size:4vw; }
  .analyse-choices{ gap:2.4vw; }
  .analyse-chip span{ height:10vw; padding:0 4.4vw; font-size:3.6vw; }
  .analyse-fields, .analyse-fields--3{ grid-template-columns:1fr; gap:4vw; margin-top:5vw; }
  .analyse-fields--3{ margin-top:0; }
  .analyse-check{ gap:2.4vw; margin-top:4vw; font-size:3.4vw; }
  .analyse-check input{ width:4.4vw; height:4.4vw; }
  .analyse-error{ margin-top:4vw; font-size:3.4vw; }
  .analyse-nav{ margin-top:7vw; }
  .analyse-back{ height:9vw; padding:0 4.4vw; font-size:3.4vw; }
  .analyse-alt{ margin-top:7vw; font-size:3.6vw; }
  .analyse-faq{ padding-bottom:18vw; }
  .analyse-faq .case-section-title{ margin-bottom:6vw; }
  .analyse{ padding-bottom:12vw; }
}

/* ---------- Jobs (jobs.html) ----------
   Aus vorhandenen Bausteinen: Kopf und Formular wie die kostenlose Analyse,
   Kacheln wie die Werte auf "Über uns", Akkordeon der Leistungsseiten. */
/* Kopf: Text links, drei Team-Bilder rechts – im Raster der Seite (gleiche
   linke Kante wie die Abschnitte darunter). Die Bildgruppe überlappt wie die
   auf der Startseite (.creativity-images), gleiche Eckenrundung. */
.jobs-hero{ padding:5.677vw 0 5vw; }
.jobs-hero-inner{ display:grid; grid-template-columns:minmax(0,1fr) 40vw; column-gap:4vw; align-items:center; }
.jobs-hero-title{ margin-bottom:1.4vw; }
.jobs-lead{ max-width:none; }
.jobs-hero-cta{ margin-top:2.2vw; }
.jobs-hero-images{ position:relative; width:40vw; height:31vw; }
.jobs-hero-img{ position:absolute; display:block; object-fit:cover; border-radius:0.625vw; }
.jobs-hero-img--1{ left:5.6vw; top:0; width:34.4vw; height:24.33vw; }
.jobs-hero-img--2{ left:0; top:12.6vw; width:13.8vw; height:18.1vw; }
.jobs-hero-img--3{ left:24.6vw; top:19.7vw; width:12.4vw; height:11.3vw; }
.jobs-section{ padding:5vw 0; }
.jobs-section .ueber-werte-heading{ margin-bottom:3vw; text-align:left; }
.ueber-werte-grid--3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.jobs-section .ueber-wert h3{ margin-bottom:1vw; }
.jobs-initiativ{ max-width:46vw; align-items:flex-start; gap:1vw; padding:2vw; }
/* Teamfotos weiter unten auf der Seite: ruhiger Rahmen mit der Rundung der
   Kacheln, Bild füllt ihn (Ausschnitt je Foto über object-position). */
.jobs-photo{ position:relative; margin:0; overflow:hidden; border-radius:0.625vw; background:var(--black); }
.jobs-photo img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
/* Stellenangebote: weiße Karte links, Foto rechts, beide gleich hoch */
.jobs-stellen-row{ display:grid; grid-template-columns:46vw minmax(0,1fr); gap:1.5625vw; align-items:stretch; }
.jobs-stellen-row .jobs-initiativ{ max-width:none; justify-content:flex-start; }
.jobs-stellen-row .jobs-initiativ .leistung-detail-cta{ margin-top:auto; }
.jobs-photo--quer{ min-height:22vw; }
.jobs-photo--quer img{ object-position:50% 34%; }
/* Gute Gründe: Akkordeon links, Hochformat-Foto rechts */
.jobs-gruende-inner{ display:grid; grid-template-columns:minmax(0,1fr) 26vw; column-gap:5vw; align-items:start; }
.jobs-gruende .ueber-werte-heading{ margin-bottom:2.4vw; text-align:left; }
.jobs-photo--hoch{ aspect-ratio:1240 / 1600; }
.jobs-initiativ .ueber-wert-num{ margin-bottom:0; }
.jobs-initiativ .jobs-initiativ-copy{ color:var(--black); margin-bottom:.6vw; }
.jobs-initiativ .leistung-detail-cta-label{ background:var(--black); color:var(--white); }
.jobs-initiativ .leistung-detail-cta-icon img{ filter:invert(1); }
/* Benefits: die Häkchen-Liste der Leistungsseiten, hier in drei Spalten */
.jobs-benefits{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); column-gap:2.5vw; margin-top:0; }
.jobs-benefits::before{ content:none; }
.jobs-benefits li:last-child{ border-bottom:0; }
.jobs-benefits li{ border-bottom:0; }
.jobs-gruende{ padding-top:5vw; padding-bottom:5vw; }
/* The form is the page's last section: generous black below it before the
   footer card, and more room above it after the white contact band. */
.jobs-form{ padding-top:5vw; padding-bottom:11vw; }
.leistung-detail-contact + .jobs-form{ padding-top:9vw; }
/* Safety net: a white contact band must never sit directly on the footer */
main > .leistung-detail-contact:last-child{ margin-bottom:11vw; }
.jobs-fields{ margin-top:0; }
.jobs-sub{ margin:1.8vw 0 .8vw; }
.jobs-message{ margin-top:1.8vw; }
.jobs-note{
  margin:1vw 0 0; font-family:var(--font-display-bold); font-weight:400;
  font-size:.8247vw; line-height:1.5; color:var(--white); opacity:.6;
}
.jobs-card .analyse-check{ margin-top:1.4vw; }
@media (max-width:860px){
  .jobs-hero{ padding:6vw 0 10vw; }
  .jobs-hero-inner{ grid-template-columns:1fr; row-gap:10vw; }
  .jobs-hero-title{ margin-bottom:3vw; }
  .jobs-hero-cta{ margin-top:6vw; }
  .jobs-hero-images{ width:auto; height:auto; display:grid; grid-template-columns:1fr 1fr; gap:3vw; }
  .jobs-hero-img{ position:static; width:100%; height:100%; border-radius:2vw; }
  .jobs-hero-img--1{ grid-column:1 / -1; aspect-ratio:56.6 / 40; }
  .jobs-hero-img--2, .jobs-hero-img--3{ aspect-ratio:1 / 1; }
  .jobs-section{ padding:12vw 0; }
  .jobs-section .ueber-werte-heading{ margin-bottom:8vw; }
  .ueber-werte-grid--3{ grid-template-columns:1fr; }
  .jobs-section .ueber-wert h3{ margin-bottom:3vw; }
  .jobs-photo{ border-radius:2vw; }
  .jobs-stellen-row{ grid-template-columns:1fr; gap:4vw; }
  .jobs-photo--quer{ min-height:0; aspect-ratio:4 / 3; }
  .jobs-gruende-inner{ grid-template-columns:1fr; row-gap:10vw; }
  .jobs-gruende .ueber-werte-heading{ margin-bottom:6vw; }
  .jobs-photo--hoch{ aspect-ratio:1 / 1; }
  .jobs-photo--hoch img{ object-position:50% 22%; }
  .jobs-initiativ{ max-width:none; gap:4vw; padding:6vw; }
  .jobs-benefits{ grid-template-columns:1fr; }
  .jobs-gruende{ padding-top:12vw; padding-bottom:12vw; }
  .jobs-form{ padding-top:12vw; padding-bottom:20vw; }
  .leistung-detail-contact + .jobs-form{ padding-top:16vw; }
  main > .leistung-detail-contact:last-child{ margin-bottom:20vw; }
  .jobs-sub{ margin:6vw 0 3vw; }
  .jobs-message{ margin-top:6vw; }
  .jobs-note{ margin-top:3vw; font-size:3.2vw; }
  .jobs-card .analyse-check{ margin-top:5vw; }
}

/* Kopfzeile: klappt beim ersten Scrollen zusammen (body.nav-compact, js/main.js);
   danach rücken Logo und "Kostenlose Analyse" samt Menü-Knopf ganz an den
   linken und rechten Rand. Gilt auf allen Seiten mit <body data-nav-spread>
   (alle außer index.html und index-b2.html, die bleiben unverändert). */
@media (min-width:861px){
  body[data-nav-spread] .site-header .header-inner{ transition:max-width .8s cubic-bezier(.4,0,.2,1); }
  body[data-nav-spread].nav-compact .site-header .header-inner{ max-width:calc(100vw - 2 * clamp(16px, 2.9vw, 64px)); }
}
@media (min-width:861px) and (prefers-reduced-motion:reduce){
  body[data-nav-spread] .site-header .header-inner{ transition:none; }
}

/* ==========================================================================
   Handy/Tablet-Navigation oben (statt weißer Leiste unten)
   Burger und Social-Icons stehen oben rechts im Kopf neben dem Logo.
   js/main.js hängt dafür die .mobile-bar in .header-inner um. Beim
   Runterscrollen fährt der Kopf weg, beim Hochscrollen kommt er mit
   schwarzem Balken wieder (body.mnav-hidden / body.mnav-solid).
   Das Menü klappt von oben unter dem Kopf auf.
   ========================================================================== */
@media (max-width:860px){
  :root{ --mnav-h:76px; }
  .site-header{
    position:sticky; top:0; z-index:95;
    transition:transform .35s cubic-bezier(.4,0,.2,1), background .25s;
  }
  body.mnav-solid .site-header, body.nav-open .site-header{ background:var(--black); }
  body.mnav-hidden:not(.nav-open) .site-header{ transform:translateY(-100%); }
  .header-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; overflow:visible; }
  /* Menü offen: die Seite ist dann festgestellt (body.scroll-locked), der
     Kopf bleibt trotzdem oben sichtbar – mit Logo und dem X zum Schließen */
  body.nav-open .site-header{ position:fixed; left:0; right:0; transform:none; }
  /* der Schriftzug neben dem Logo erscheint nur bei Hover (Desktop) – auf
     Touch-Geräten nimmt er sonst unsichtbar Platz weg */
  .header-inner .logo-text-clip{ display:none; }
  .header-inner .header-actions{ display:none; }

  .header-inner .mobile-bar{
    position:static; display:flex; justify-self:end; gap:22px;
    height:auto; padding:0; background:none; box-sizing:content-box;
  }
  .header-inner .mobile-bar-socials{ gap:16px; }
  .header-inner .mobile-bar-social img{ filter:none; }
  .header-inner .mobile-bar-instagram img{
    filter:drop-shadow(0.08px 0 0 #fff) drop-shadow(-0.08px 0 0 #fff) drop-shadow(0 0.08px 0 #fff) drop-shadow(0 -0.08px 0 #fff);
  }
  .header-inner .mobile-bar-toggle{ padding:8px 0 8px 4px; }
  .header-inner .mobile-bar-toggle-label{ display:none; }
  .header-inner .mobile-bar-toggle-icon span{ background:var(--white); }
  .header-inner .mobile-bar-toggle-icon span:nth-child(2){ margin-left:auto; }

  /* keine Leiste unten mehr: kein Platzhalter und kein schwarzer Streifen */
  body{ padding-bottom:0; }
  body::after{ display:none; }

  /* Menü: weiße Fläche direkt unter dem Kopf, fährt von oben herein */
  .mobile-nav{
    top:calc(var(--mnav-h) + env(safe-area-inset-top));
    bottom:calc(var(--gutter) + env(safe-area-inset-bottom));
    transform:translateY(calc(-100% - var(--mnav-h) - 40px));
  }

  /* Leiste "Vom Problem zum Hebel" dockt unter dem Kopf an, solange er da ist */
  .process-head{ transition:top .35s cubic-bezier(.4,0,.2,1); }
  body.mnav-solid:not(.mnav-hidden) .process-head{ top:var(--mnav-h); }

  /* Über uns: unten war Platz für die alte Leiste reserviert */
  .ueber-stage{ padding-bottom:8vw; }
}
@media (max-width:360px){
  .header-inner .mobile-bar{ gap:16px; }
  .header-inner .mobile-bar-socials{ gap:12px; }
}

/* Über uns, Handy/Tablet hochkant: Das Bühnenfoto (zwei Personen nebeneinander,
   Querformat) wurde auf voller Bildschirmhöhe so stark beschnitten, dass
   man nur die Pflanze zwischen den beiden sah. Jetzt füllt es den oberen
   Teil, beide Gesichter sind im Bild, darunter läuft es in Schwarz aus –
   dort steht die Überschrift. */
@media (max-width:860px) and (orientation:portrait){
  .ueber-stage{ background:#000; }
  .ueber-stage-bg img{ height:62%; object-position:52% 25%; }
  .ueber-stage-bg::after{
    background:linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 56%, #000 62%);
  }
}
/* Über uns, Handy: alle Personen in einer Spalte, in der festen Reihenfolge
   aus js/main.js (Christian zuerst, Melissa zuletzt) */
@media (max-width:860px){
  .ueber-team-cols{ gap:0; }
  .ueber-team-col{ display:contents; }
  .ueber-team-cols{ display:flex; flex-direction:column; gap:var(--ueber-gap); }
  /* Reihenfolge: style.order aus js/main.js */
}

/* Cases, Handy: Chips wie auf dem Desktop direkt nebeneinander, kleiner
   Abstand zwischen den Reihen und zwischen den beiden Gruppen (die mobile
   Regel weiter oben wurde von der allgemeinen .cases-filters-Regel
   überschrieben). */
@media (max-width:860px){
  .cases-filters{ gap:3vw; }
  .cases-chips{ gap:1.6vw 0; }   /* wie Desktop: direkt nebeneinander */
}

/* Case-Slider, Handy: Alle Slides behalten dieselbe Höhe. Die Desktop-
   Screenshots (Querformat) werden dabei links und rechts beschnitten –
   gezeigt wird ab dem linken Rand statt aus der Mitte, dort stehen die
   Überschriften. Einzelne Bilder bekommen mit style="--m-pos:50% 0" (mittig) oder
   "--m-pos:100% 0" (rechts) am <img> einen eigenen Ausschnitt. Desktop bleibt unverändert. */
@media (max-width:860px){
  .case-slide--desktop img{ object-position:var(--m-pos, 0 0); }
}

/* Menü (Handy/Tablet): nur so hoch wie sein Inhalt, direkt unter dem Kopf –
   vorher reichte die weiße Fläche immer bis ganz nach unten, mit einem
   großen leeren Streifen über dem ersten Eintrag. Auf dem Tablet zudem
   kleinere Schrift und weniger Polster. */
@media (max-width:860px){
  .mobile-nav{
    bottom:auto;
    max-height:calc(100vh - var(--mnav-h) - var(--gutter) - env(safe-area-inset-top));
    max-height:calc(100svh - var(--mnav-h) - var(--gutter) - env(safe-area-inset-top));
    justify-content:flex-start;
    padding:2vw 0 5vw;
  }
}
@media (min-width:600px) and (max-width:860px){
  .mobile-nav{ left:auto; width:min(440px, calc(100vw - 2 * var(--gutter))); padding:12px 0 24px; }
  .mobile-nav a, .mobile-nav-sub-toggle{ padding:16px 28px; font-size:24px; }
  .mobile-nav a.mobile-nav-cta{ margin:16px 28px 0; padding:14px 28px; font-size:20px; }
}

/* Cases-Übersicht, Handy/Tablet: je Projekt Titel, Text, "Zum Projekt" und
   direkt darunter (kleiner fester Abstand) das Bild. Kein Grid-Abstand
   mehr (Safari auf dem iPad verteilte die Abstände anders): einfache
   Spalte mit festen Rändern, zwischen den Projekten deutlich mehr Luft. */
@media (max-width:860px){
  .cases-grid{ gap:0 !important; }
  /* nur sichtbare Zeilen: sonst überstimmt die (stärkere) .is-alt-Regel das
     Ausblenden durch den Filter */
  .case-row:not([hidden]),
  :is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt):not([hidden]){
    display:flex !important; flex-direction:column; align-items:stretch; gap:0 !important;
  }
  .case-row[hidden]{ display:none !important; }   /* Filter: ausgeblendete Projekte wirklich weg */
  .case-row:not([hidden]) ~ .case-row:not([hidden]){ margin-top:clamp(56px, 14vw, 96px); }
  .case-row .case-row-text{ order:1; }
  .case-row .case-row-media{ order:2; margin-top:24px; }
}

/* Über uns, Handy/Tablet: Team wie auf der Startseite – runde Fotos
   nebeneinander (Handy 2, Tablet 3), Name und Kontakt darunter, mittig.
   Vorher füllte jedes Foto die ganze Breite. */
@media (max-width:860px){
  .ueber-team-cols{ flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:9vw 5vw; }
  .ueber-person{ width:calc((100% - 5vw) / 2); align-items:center; gap:3vw; }
  .ueber-person-txt{ align-items:center; text-align:center; gap:2vw; }
  .ueber-person-name{ font-size:3.8vw; line-height:1.3; }
  .ueber-person-name span{ opacity:.7; }
  .ueber-person-kontakt{ grid-template-columns:max-content; justify-items:center; font-size:3vw; row-gap:.6vw; }
  .ueber-person-row span{ display:none; }
}
@media (min-width:600px) and (max-width:860px){
  .ueber-team-cols{ gap:6vw 4vw; }
  .ueber-person{ width:calc((100% - 8vw) / 3); }
}

/* Laptop in den Cases, Tablet hochkant: Der Laptop reichte beim Heranfahren
   und Zuklappen bis in die Hinweise ("Termin in wenigen Schritten" …).
   Die Hinweise sitzen tiefer, der Laptop bekommt eine etwas kleinere Fläche
   darüber (js/case-laptop.js richtet ihn auf .case-mb-view aus). */
@media (min-width:600px) and (max-width:860px){
  .case-mb-view{ bottom:47%; }
  .case-mb-layout{ padding-bottom:5vh; }
}

/* Social Wall: YouTube erst nach Klick (Datenschutz). Der Play-Knopf ist
   dann ein echter Button, darunter ein kurzer Hinweis. Nach dem Klick
   bekommt der Player seine Bedienelemente (kein Überskalieren mehr). */
.sw-media[data-youtube] .sw-play{ pointer-events:auto; cursor:pointer; }
.sw-media[data-youtube] .sw-play:hover, .sw-media[data-youtube] .sw-play:focus-visible{ background:rgba(0,0,0,.6); }
.sw-yt-hint{
  position:absolute; left:0; right:0; bottom:0; z-index:2; margin:0;
  padding:2.4em 1em .9em;
  background:linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
  font-family:var(--font-body); font-size:11px; line-height:1.35; color:rgba(255,255,255,.85);
}
.sw-yt-hint a{ color:inherit; text-decoration:underline; }
.sw-media.is-yt-loaded .sw-yt-hint{ display:none; }
.sw-media.is-yt-loaded iframe{ transform:none; pointer-events:auto; z-index:4; }

/* ---------- Cookie-Banner / Datenschutz-Präferenzen (js/consent.js) ----------
   Gleicher Aufbau wie früher Borlabs Cookie, im noll-Design: schwarze Karte
   mit feiner Linie, weiße Pillen-Buttons. "Alle akzeptieren" und "Nur
   essenzielle" sind bewusst gleich gestaltet (gleichwertige Wahl). */
.cc-root{
  position:fixed; inset:0; z-index:1000;
  display:flex; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  opacity:0; transition:opacity .3s ease;
}
.cc-root.is-open{ opacity:1; }
/* Datenschutz/Impressum: nicht blockieren, man muss vorher lesen können */
.cc-root--soft{ inset:auto 0 0 0; background:none; -webkit-backdrop-filter:none; backdrop-filter:none; pointer-events:none; }
.cc-root--soft .cc-panel{ pointer-events:auto; }
html.cc-open:not(:has(.cc-root--soft)){ overflow:hidden; }
.cc-panel{
  position:relative; width:min(600px, 100%); max-height:calc(100vh - 40px); max-height:calc(100svh - 40px);
  display:flex; flex-direction:column;
  padding:32px 32px 24px;
  background:#0b0b0b; color:var(--white);
  border:1px solid rgba(255,255,255,.22); border-radius:22px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
  transform:translateY(16px); transition:transform .35s cubic-bezier(.2,.75,.2,1);
  font-family:var(--font-body); font-size:15px; line-height:1.5;
}
.cc-root.is-open .cc-panel{ transform:none; }
.cc-kicker{
  display:flex; align-items:center; gap:10px; margin:0 0 10px;
  font-family:var(--font-display-bold); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
}
.cc-kicker::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--white); }
.cc-title{ margin:0 0 14px; font-family:var(--font-display); font-weight:400; font-size:28px; line-height:1.15; }
.cc-scroll{ overflow-y:auto; overscroll-behavior:contain; margin:0 -8px; padding:0 8px; }
.cc-desc{ margin:0 0 12px; color:rgba(255,255,255,.85); }
.cc-small{ font-size:13px; color:rgba(255,255,255,.65); }
.cc-desc a{ color:var(--white); text-decoration:underline; }
.cc-groups{ display:flex; flex-wrap:wrap; gap:10px 24px; margin:14px 0 4px; }
.cc-panel:has(.cc-service) .cc-groups{ flex-direction:column; gap:0; }
.cc-group{ min-width:0; }
.cc-panel:has(.cc-service) .cc-group{ padding:16px 0; border-top:1px solid rgba(255,255,255,.14); }
.cc-check{ display:inline-flex; align-items:center; gap:10px; cursor:pointer; font-family:var(--font-display-bold); font-weight:700; font-size:15px; }
.cc-check input{ position:absolute; opacity:0; width:1px; height:1px; }
.cc-box{
  flex:none; width:20px; height:20px; border:1.5px solid var(--white); border-radius:6px;
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.cc-check input:checked + .cc-box{ background:var(--white); }
.cc-check input:checked + .cc-box::after{
  content:""; width:10px; height:5px; margin-top:-3px;
  border-left:2px solid #000; border-bottom:2px solid #000; transform:rotate(-45deg);
}
.cc-check input:disabled + .cc-box{ opacity:.55; }
.cc-check input:focus-visible + .cc-box{ outline:2px solid var(--white); outline-offset:3px; }
.cc-group-text{ margin:8px 0 6px 30px; font-size:13px; color:rgba(255,255,255,.7); }
.cc-service{ margin:8px 0 0 30px; }
.cc-service-toggle{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px; width:100%;
  padding:10px 14px; border:1px solid rgba(255,255,255,.18); border-radius:12px;
  background:none; color:var(--white); font:inherit; font-size:14px; text-align:left; cursor:pointer;
}
.cc-service-more{ flex:none; font-size:12px; text-decoration:underline; color:rgba(255,255,255,.7); }
.cc-service-info{
  display:grid; grid-template-columns:max-content 1fr; gap:6px 14px;
  margin:8px 0 0; padding:0 14px 6px; font-size:13px; color:rgba(255,255,255,.75);
}
.cc-service-info[hidden]{ display:none; }
.cc-service-info dt{ font-family:var(--font-display-bold); font-weight:700; color:var(--white); }
.cc-service-info dd{ margin:0; }
.cc-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.cc-btn{
  flex:1 1 200px; min-height:46px; padding:10px 20px;
  border:1.5px solid var(--white); border-radius:999px;
  background:var(--white); color:var(--black);
  font-family:var(--font-display-bold); font-weight:700; font-size:14px; line-height:1.2; cursor:pointer;
  transition:background .2s, color .2s;
}
.cc-btn:hover{ background:transparent; color:var(--white); }
.cc-btn--ghost{ flex-basis:100%; }  /* gleich wie die anderen: alle drei weiß */
.cc-btn:focus-visible{ outline:2px solid var(--white); outline-offset:3px; }
/* beim Öffnen kein Fokusrahmen, sonst sähe "Alle akzeptieren" anders aus */
.cc-btn.cc-nofocus:focus-visible{ outline:none; }
.cc-links{ display:flex; flex-wrap:wrap; gap:6px 18px; margin-top:16px; font-size:12px; }
.cc-link{ padding:0; border:0; background:none; color:rgba(255,255,255,.75); font:inherit; text-decoration:underline; cursor:pointer; }
.cc-link:hover{ color:var(--white); }
@media (max-width:600px){
  .cc-root{ align-items:flex-end; padding:10px; }
  .cc-panel{ padding:24px 20px 18px; border-radius:18px; max-height:calc(100svh - 20px); }
  .cc-title{ font-size:23px; }
  .cc-desc{ font-size:14px; }
  .cc-btn{ flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce){ .cc-root, .cc-panel{ transition:none; } }

/* Menü auf dem Handy: kleiner und kompakter (Tablet hat eigene Werte oben) */
@media (max-width:599px){
  /* Höhe richtet sich auch nach der Bildschirmhöhe: so passt das ganze Menü
     samt Button auch auf kleineren iPhones (SE, mini) ohne Scrollen */
  .mobile-nav a, .mobile-nav-sub-toggle{ padding:clamp(9px, 1.7svh, 15px) 6vw; font-size:clamp(17px, 4.6vw, 20px); }
  .mobile-nav a.mobile-nav-cta{ margin:clamp(10px, 2svh, 18px) 6vw 2px; padding:clamp(10px, 1.7svh, 14px) 6vw; font-size:clamp(15px, 4.2vw, 17px); }
  .mobile-nav{ padding:6px 0 clamp(12px, 2.4svh, 20px); }
}

/* Footer Handy/Tablet: mehr Luft zwischen den Links, damit man nicht
   versehentlich den Nachbarn trifft (Tippflächen ~44px hoch). */
@media (max-width:860px){
  .footer-black{ gap:8vw; }
  .footer-contact-link + .footer-contact-link{ margin-top:-4vw; }
  .footer-contact-link{ padding:1.5vw 0; }
  .footer-nav{ gap:2vw 6vw; }
  .footer-nav-link{ display:block; padding:2.4vw 0; }
  .footer-legal{ gap:2vw 7vw; }
  .footer-legal a{ display:inline-block; padding:2.4vw 0; }
  .footer-social{ gap:8vw; }
  .footer-social a{ display:block; padding:1.5vw; margin:-1.5vw; }
}

/* TABLET-SCALE:BEGIN */
/* erzeugt von tools/tablet-scale.py – nicht von Hand ändern (Faktor 0.68) */
@media (max-width:860px) and (min-width:600px){ .leistungen-track{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-card{ padding:4.08vw 3.4vw; gap:2.72vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-icon{ height:12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-card h3{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-card p{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-cta-label{ height:6.12vw; padding:0 3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-cta-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-inner{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-badge{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-badge-score{ font-size:14.96vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-badge-stars{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-badge-label{ font-size:2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-quote p{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-attribution{ margin-top:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-name, .testimonial-role{ font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-summary{ font-size:2.04vw; margin-top:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-dots{ gap:2.04vw; margin-top:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial-quote.is-long p{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .kundenleiste-heading{ font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .kundenleiste-rows{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .kunden-logo{ height:8.84vw; } }
@media (max-width:860px) and (min-width:600px){ .kundenleiste-row::before, .kundenleiste-row::after{ width:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .insights-grid{ gap:5.44vw 0; } }
@media (max-width:860px) and (min-width:600px){ .insight-card{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .insight-card-body{ gap:2.38vw; } }
@media (max-width:860px) and (min-width:600px){ .insight-card-body h3{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .insight-card-date, .insight-card-category{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .insights-cta{ margin-top:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .insights-cta-label{ height:6.12vw; padding:0 3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .insights-cta-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-points{ margin-top:4.08vw; font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-points::before{ margin-bottom:2.38vw; font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-points li{ padding:2.04vw 0 2.04vw 6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-points li::before{ top:2.108vw; width:3.672vw; height:3.672vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-hero{ padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-hero-row{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-scroll-col{ gap:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-content{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-intro{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-tag{ height:6.12vw; padding:0 3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-title{ font-size:6.392vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-tags{ row-gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-lead{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-cta-label{ height:6.12vw; padding:0 3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-cta-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-feature-list{ gap:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-feature{ gap:2.38vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-feature-title{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-feature-copy{ font-size:2.72vw; padding-top:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-feature-icon{ width:5.44vw; height:5.44vw; margin-top:-0.34vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-contact{ margin-top:10.88vw; padding:9.52vw 0; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-contact-inner{ gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-contact-text{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-contact-text h2{ font-size:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-person{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-person-info{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-person-name{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-person-kontakt{ font-size:2.448vw; gap:1.02vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-person-row{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-cases{ padding:10.88vw 0 13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-cases-heading{ margin-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-cases-grid{ gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case-media{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case-body{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case-subtitle{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case-title{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-case-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-hero{ padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-hero-row{ gap:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-intro{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-lead{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-chips{ gap:1.36vw 0; } }
@media (max-width:860px) and (min-width:600px){ .cases-filters{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-empty{ padding-top:4.08vw; font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-chip{ height:5.44vw; padding:0 2.72vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-search{ height:8.16vw; padding:0 1.36vw 0 2.72vw; border-radius:1.02vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-search-input{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-search-btn{ width:5.44vw; height:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-search-input::-webkit-search-cancel-button{ width:5.44vw; height:5.44vw; margin-right:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-list{ padding-top:9.52vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-grid{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card{ border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-body{ gap:3.4vw; padding:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-head{ gap:1.02vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-meta{ font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-title{ font-size:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-excerpt{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-link{ gap:1.7vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-card-link-icon{ width:2.04vw; height:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-newsletter{ gap:2.04vw; padding:3.4vw; border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-newsletter p{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-newsletter-link{ gap:1.7vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-more-wrap{ padding-top:10.88vw; } }
@media (max-width:860px) and (min-width:600px){ .blog-list + .leistung-detail-contact{ margin-top:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-stage{ padding:calc(5.44vw + var(--header-h, 0px)) 0
            calc(5.44vw + var(--mobile-bar-h) + var(--mobile-bar-bottom) * 2); border-radius:0 0 2.04vw 2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-stage-inner{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-stage-scroll{ width:7.48vw; height:7.48vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kombis{ gap:13.6vw; padding-top:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kombi{ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kombi-img{ border-radius:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kombi-text{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kombi-text p{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-facts{ padding-top:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-facts-row{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-fact{ gap:3.4vw; padding:3.4vw; border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-fact-number{ font-size:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-fact-copy{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-fact-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-team{ padding-top:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-txt{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-name{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-kontakt{ font-size:2.448vw; column-gap:2.72vw; row-gap:1.02vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis{ padding-top:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis .ueber-werte-heading{ margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis-lead{ margin-bottom:6.8vw; font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis-grid{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis-item{ padding-top:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .uk-icon{ margin:0.68vw 0 4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis-label, .ueber-wert-num{ margin-bottom:2.04vw; font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-kreis-item p{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-werte{ padding:13.6vw 0; } }
@media (max-width:860px) and (min-width:600px){ .ueber-werte-heading{ margin-bottom:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-werte-grid{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-wert{ padding:3.4vw; border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-wert h3{ margin-bottom:0.68vw; font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-wert p{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-wert .ueber-wert-claim{ margin-bottom:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-wert--vision .ueber-wert-vision{ margin-top:4.08vw; font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-hero{ padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-tag{ margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-tag span{ height:5.44vw; padding:0 2.72vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-title{ margin-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-facts{ gap:4.08vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-adresse{ gap:0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-direkt{ column-gap:2.72vw; row-gap:0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-main{ padding-top:12.24vw; padding-bottom:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-main-row{ gap:9.52vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-form{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-aside{ gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-field{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-field label{ padding-left:3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-field input,
  .kontakt-field textarea{ padding:0 3.4vw; font-size:max(16px, 2.448vw); } }
@media (max-width:860px) and (min-width:600px){ .kontakt-field input{ height:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-field textarea{ padding:2.72vw 3.4vw; border-radius:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-submit{ gap:3.4vw; margin-top:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-done{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-datenschutz{ font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-lead{ font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-person{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-person-txt{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-person-name{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .kontakt-person-kontakt{ font-size:2.448vw; column-gap:2.72vw; row-gap:0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-hero{ padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-page-title{ margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-page-lead{ margin-bottom:5.44vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-list{ padding-top:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-grid{ gap:10.88vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row,
  :is(.cases-grid:not(.is-js) .case-row:nth-child(even), .case-row.is-alt){ gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-client{ margin-bottom:1.36vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-title{ margin-bottom:2.72vw; font-size:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-copy{ margin-bottom:3.4vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-link{ gap:1.7vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-link-icon{ width:2.04vw; height:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-media{ border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row-soon{ font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-more-wrap{ padding-top:9.52vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-list + .kundenleiste{ padding-top:12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-hero{ padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-h1{ margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-lead{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-list{ padding-top:9.52vw; padding-bottom:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-grid{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-card{ padding:4.08vw; border-radius:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-icon{ height:10.88vw; margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-title{ margin-bottom:2.04vw; font-size:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-copy{ margin-bottom:3.4vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-link{ gap:1.7vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-link-icon{ width:2.04vw; height:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-prozess{ padding-top:12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-prozess-heading{ margin-bottom:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-steps{ gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-step-num{ margin-bottom:1.36vw; font-size:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-step h3{ margin-bottom:1.7vw; font-size:3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-ueber-step p{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ [data-placeholder-media]::after{ font-size:1.768vw; } }
@media (max-width:860px) and (min-width:600px){ :root{ --mobile-heading:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .hero{ padding-top:2.72vw; padding-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .eyebrow{ font-size:2.312vw; gap:1.7vw; margin-bottom:2.38vw; } }
@media (max-width:860px) and (min-width:600px){ .eyebrow-dot{ width:1.088vw; height:1.088vw; } }
@media (max-width:860px) and (min-width:600px){ .hero-title{ font-size:7.14vw; } }
@media (max-width:860px) and (min-width:600px){ .slider-controls{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .slider-btn{ width:7.48vw; height:7.48vw; } }
@media (max-width:860px) and (min-width:600px){ .slider-section{ padding-top:1.7vw; padding-bottom:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-header{ min-height:7.48vw; margin-bottom:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-active-title{ font-size:3.128vw; margin-left:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-item{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-media{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-tags{ font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-inner{ padding:3.4vw var(--gutter); column-gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-kicker{ margin:0 0 1.02vw; gap:1.36vw; font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-kicker::before{ width:1.088vw; height:1.088vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-title{ font-size:4.352vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-count{ width:10.2vw; height:10.2vw; } }
@media (max-width:860px) and (min-width:600px){ .process-head-now{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .process-list{ padding:5.44vw var(--gutter) 8.84vw; gap:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .process-item{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .process-number{ font-size:10.88vw; } }
@media (max-width:860px) and (min-width:600px){ .process-text{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .process-text h3{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .process-text p{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .team{ padding:3.4vw 0 13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .team-inner{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .team-heading{ margin-bottom:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .team-icon{ top:2.04vw; width:5.78vw; height:5.78vw; } }
@media (max-width:860px) and (min-width:600px){ .team-info{ gap:0.544vw; } }
@media (max-width:860px) and (min-width:600px){ .team-info h3, .team-info p{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity{ padding:5.44vw 0 13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-heading{ margin-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-images{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-img{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-cta{ margin-top:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-cta-label{ height:6.12vw; padding:0 3.4vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .creativity-cta-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .leistungen{ padding:5.44vw 0 12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .leistungen-header{ gap:2.72vw; margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .testimonial{ padding:5.44vw 0 12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .kundenleiste{ padding:5.44vw 0 12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .insights{ padding:5.44vw 0 12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-black{ border-radius:1.36vw 1.36vw 0 0; padding:5.44vw 4.08vw 10.88vw; gap:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-lead{ font-size:2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-contact-link{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-contact-link + .footer-contact-link{ margin-top:-2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-nav{ gap:2.72vw 2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-nav-link{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-newsletter-heading{ font-size:3.4vw; margin-bottom:-1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-subscribe-form{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-subscribe-input{ height:7.48vw; border-radius:3.74vw; padding:0 3.06vw; font-size:max(16px, 2.448vw); } }
@media (max-width:860px) and (min-width:600px){ .footer-subscribe-done{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-seal{ margin:-6.8vw auto; } }
@media (max-width:860px) and (min-width:600px){ .footer-white{ padding:9.52vw 4.08vw 5.44vw; gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-legal{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-legal a{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-social-heading{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-social{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-cta{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-cta-heading{ font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-social img{ width:4.76vw; height:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-hero{ padding-top:4.08vw; padding-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-tags{ margin-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-client{ font-size:2.584vw; margin-bottom:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-title{ font-size:var(--mobile-heading, 6.12vw); margin-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-hero-row{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-lead{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-facts{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-facts div{ padding-bottom:2.04vw; gap:0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-facts dt{ font-size:1.904vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-facts dd{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .case-mb-caption{ font-size:3.4vw; gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-mb.is-zoomed .case-mb-caption{ padding:1.088vw 2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .case-mb-progress{ bottom:calc(12vh + 1.632vw); width:12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-story{ padding:8.16vw 0 4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-block{ gap:2.04vw; padding:4.08vw 0 5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-block h2{ font-size:4.352vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-block p{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-stats{ padding:4.08vw 0 8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-stats-grid{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-stat{ padding:4.08vw; gap:1.36vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-stat strong{ font-size:8.84vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-stat span{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-gallery-grid{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-detail-gallery-item{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .social-wall-header{ gap:2.72vw; margin-bottom:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .social-wall-filters{ gap:1.36vw 0; } }
@media (max-width:860px) and (min-width:600px){ .sw-filter{ height:6.12vw; padding:0 2.72vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-badge{ top:1.36vw; width:4.76vw; height:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-play{ width:7.48vw; height:7.48vw; margin:-3.74vw 0 0 -3.74vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-back{ gap:1.7vw; padding:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-back-body{ padding-top:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-back .leistung-cta-label{ height:5.44vw; padding:0 2.72vw; font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-back .leistung-cta-icon{ width:5.44vw; height:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-back-meta{ font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .sw-media-text{ padding:2.72vw; font-size:2.992vw; } }
@media (max-width:860px) and (min-width:600px){ .social-wall-more-wrap{ padding-top:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefits{ gap:1.768vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit{ border-radius:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit.is-open{ border-radius:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit-head{ gap:1.768vw; padding:1.632vw 2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit-icon{ width:3.672vw; height:3.672vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit-icon::before, .case-benefit-icon::after{ width:1.36vw; margin-left:-0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit-title{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-benefit-copy{ font-size:2.584vw; padding:0 2.448vw 2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .case-mb-layout{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero{ padding-top:5.44vw; padding-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-media{ margin:5.44vw var(--gutter) 0; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-tags{ gap:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-tags li{ gap:1.088vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-tags img{ width:1.224vw; height:1.224vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-title{ margin-top:3.4vw; font-size:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-lead{ margin-top:2.72vw; font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider{ padding:8.16vw 0 2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider-track{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slide{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider-controls{ gap:2.72vw; margin-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider-btn{ width:7.48vw; height:7.48vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider-dot{ width:1.224vw; height:1.224vw; } }
@media (max-width:860px) and (min-width:600px){ .case-slider-dot.is-active{ width:3.06vw; height:3.06vw; } }
@media (max-width:860px) and (min-width:600px){ .case-facts{ padding-top:9.52vw; } }
@media (max-width:860px) and (min-width:600px){ .case-facts-grid{ gap:4.76vw; padding-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .case-fact{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-fact dt{ font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-fact dd{ font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .case-facts-tags{ gap:1.36vw 3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .case-facts-tags li{ font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .case-hero-cta{ margin-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .social-wall-page .blog-hero{ padding-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .legal{ padding:2.72vw 0 10.88vw; } }
@media (max-width:860px) and (min-width:600px){ .legal-body h2{ margin:6.12vw 0 2.04vw; font-size:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .legal-body p, .legal-body li{ margin-bottom:2.38vw; font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .legal-body li{ margin-bottom:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .legal-stand{ font-size:2.176vw !important; margin-bottom:4.76vw !important; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-off{ margin-top:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-off-label{ margin-bottom:2.312vw; font-size:1.904vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-off-list{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-off-item{ gap:1.768vw; padding:3.128vw 4.08vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-off-service{ font-size:1.904vw; } }
@media (max-width:860px) and (min-width:600px){ .case-section-head{ margin-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .case-section-kicker{ font-size:2.04vw; gap:1.36vw; margin-bottom:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-section-kicker::before{ width:1.088vw; height:1.088vw; } }
@media (max-width:860px) and (min-width:600px){ .case-section-title{ font-size:var(--mobile-heading, 6.12vw); } }
@media (max-width:860px) and (min-width:600px){ .case-section-intro{ font-size:2.856vw; margin-top:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions{ padding:9.52vw 0 8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solutions-grid{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution{ padding:4.08vw; gap:2.312vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-label{ font-size:2.04vw; gap:1.768vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-num{ width:5.1vw; height:5.1vw; font-size:1.768vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-title{ font-size:3.808vw; margin-top:0.68vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-copy{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-result{ padding-top:3.4vw; gap:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-figure{ gap:1.088vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-figure strong{ font-size:10.88vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-figure span{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-breakdown{ font-size:2.448vw; gap:0.952vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-link{ padding-top:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-hebel{ padding-top:2.72vw; font-size:1.904vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-link .leistung-cta-label{ height:6.12vw; padding:0 2.992vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .case-solution-link .leistung-cta-icon{ width:6.12vw; height:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .case-modules{ padding:2.72vw 0 8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module{ gap:2.04vw 2.04vw; padding:4.08vw 0 4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module-num{ font-size:3.808vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module-head{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module-title{ font-size:3.808vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module-goals{ font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .case-module-copy{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .fragen{ padding:9.52vw 0 8.84vw; } }
@media (max-width:860px) and (min-width:600px){ .fragen-heading{ font-size:var(--mobile-heading, 6.12vw); } }
@media (max-width:860px) and (min-width:600px){ .fragen-sub{ margin:2.04vw 0 4.08vw; font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .fragen-grid{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .frage{ padding:2.72vw; gap:3.4vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .frage-num{ font-size:1.904vw; } }
@media (max-width:860px) and (min-width:600px){ .frage-title{ font-size:2.992vw; } }
@media (max-width:860px) and (min-width:600px){ .hebel{ gap:3.4vw; margin-top:2.04vw; padding:3.4vw; border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .hebel-label{ font-size:1.904vw; margin-bottom:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .hebel-copy{ font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse{ padding:4.08vw 0 12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-title{ margin-bottom:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-lead{ font-size:2.856vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-progress{ gap:1.02vw; margin-top:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-step-count{ margin:2.04vw 0 3.4vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-card{ padding:4.08vw 3.4vw; border-radius:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-q{ margin-bottom:3.4vw; font-size:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-q span{ margin:1.02vw 0 0; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-sub{ margin-bottom:2.04vw; font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-choices{ gap:1.632vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-chip span{ height:6.8vw; padding:0 2.992vw; font-size:2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-fields, .analyse-fields--3{ gap:2.72vw; margin-top:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-check{ gap:1.632vw; margin-top:2.72vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-check input{ width:2.992vw; height:2.992vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-error{ margin-top:2.72vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-nav{ margin-top:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-back{ height:6.12vw; padding:0 2.992vw; font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-alt{ margin-top:4.76vw; font-size:2.448vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-faq{ padding-bottom:12.24vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse-faq .case-section-title{ margin-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .analyse{ padding-bottom:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero{ padding:4.08vw 0 6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero-inner{ row-gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero-title{ margin-bottom:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero-cta{ margin-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero-images{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-hero-img{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-section{ padding:8.16vw 0; } }
@media (max-width:860px) and (min-width:600px){ .jobs-section .ueber-werte-heading{ margin-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-section .ueber-wert h3{ margin-bottom:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-photo{ border-radius:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-stellen-row{ gap:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-gruende-inner{ row-gap:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-gruende .ueber-werte-heading{ margin-bottom:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-initiativ{ gap:2.72vw; padding:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-gruende{ padding-top:8.16vw; padding-bottom:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-form{ padding-top:8.16vw; padding-bottom:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .leistung-detail-contact + .jobs-form{ padding-top:10.88vw; } }
@media (max-width:860px) and (min-width:600px){ main > .leistung-detail-contact:last-child{ margin-bottom:13.6vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-sub{ margin:4.08vw 0 2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-message{ margin-top:4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-note{ margin-top:2.04vw; font-size:2.176vw; } }
@media (max-width:860px) and (min-width:600px){ .jobs-card .analyse-check{ margin-top:3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-stage{ padding-bottom:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-filters{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .cases-chips{ gap:1.088vw 0; } }
@media (max-width:860px) and (min-width:600px){ .mobile-nav{ padding:1.36vw 0 3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .case-row:not([hidden]) ~ .case-row:not([hidden]){ margin-top:clamp(56px, 9.52vw, 96px); } }
@media (max-width:860px) and (min-width:600px){ .ueber-team-cols{ gap:6.12vw 3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person{ gap:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-txt{ gap:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-name{ font-size:2.584vw; } }
@media (max-width:860px) and (min-width:600px){ .ueber-person-kontakt{ font-size:2.04vw; row-gap:0.408vw; } }
@media (min-width:600px) and (max-width:860px) and (min-width:600px){ .ueber-team-cols{ gap:4.08vw 2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-black{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-contact-link + .footer-contact-link{ margin-top:-2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-contact-link{ padding:1.02vw 0; } }
@media (max-width:860px) and (min-width:600px){ .footer-nav{ gap:1.36vw 4.08vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-nav-link{ padding:1.632vw 0; } }
@media (max-width:860px) and (min-width:600px){ .footer-legal{ gap:1.36vw 4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-legal a{ padding:1.632vw 0; } }
@media (max-width:860px) and (min-width:600px){ .footer-social{ gap:5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .footer-social a{ padding:1.02vw; margin:-1.02vw; } }
/* TABLET-SCALE:END */
