/* ============================================================
   RUFWERK — Design System
   ============================================================ */

:root{
  /* Brand colors */
  --navy-900: #0D1B2A;
  --navy-800: #102236;
  --navy-700: #14304E;
  --navy-600: #1B4F8A;
  --blue-500: #2A6FDB;
  --blue-300: #4FC3F7;
  --blue-50:  #EAF4FE;
  /* "Amber" tokens remapped to the CI blue ramp — briefing CI uses no
     orange/brown. Names kept so existing references resolve to blue. */
  --amber-50:  #EAF4FE;
  --amber-200: #BEE6FB;
  --amber-300: #4FC3F7;
  --amber-500: #2A6FDB;
  --amber-700: #1B4F8A;
  --bg:       #F4F8FD;
  --bg-soft:  #FAFCFE;
  --white:    #FFFFFF;
  --ink:      #0D1B2A;
  --ink-2:    #1E2A3A;
  --muted:    #5C6B7E;
  --muted-2:  #8A98A9;
  --line:     #E3ECF5;
  --line-2:   #D2DEEC;
  /* Green success accents (checkmarks, trial, live dots, testimonial heart). */
  --green-500:#0FAF6B;
  --green-50: #E7F8F0;
  --warn:     #E04A5F;
  --gold:     #F5A623;   /* rating stars */

  /* Typography */
  --ff-head: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
  /* "Mono" label font remapped to Inter — no monospace anywhere on the site. */
  --ff-mono: "Inter", system-ui, -apple-system, sans-serif;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13,27,42,.06), 0 1px 3px rgba(13,27,42,.04);
  --shadow-md: 0 4px 16px rgba(13,27,42,.06), 0 2px 6px rgba(13,27,42,.04);
  --shadow-lg: 0 18px 48px rgba(13,27,42,.10), 0 6px 16px rgba(13,27,42,.06);
  --shadow-pop: 0 24px 64px rgba(13,27,42,.18);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
}

/* ----- Reset ----- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--white);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  /* clip (not hidden) so no stray element creates sideways scroll,
     without turning body into a scroll container (keeps sticky header). */
  overflow-x:clip;
}
img,svg{ max-width:100%; display:block; }
button{ font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
a{ color:inherit; text-decoration:none; }
input,textarea,select{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--blue-500); outline-offset:3px; border-radius:6px; }
::selection{ background:var(--blue-300); color:var(--navy-900); }

/* ----- Layout helpers ----- */
.wrap{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--section-y); }
.section--tight{ padding-block:clamp(48px, 6vw, 80px); }
.section--dark{ background:var(--navy-900); color:#fff; }

/* ----- Typography ----- */
.display{
  font-family:var(--ff-head); font-weight:800;
  font-size:clamp(2.4rem, 5.6vw, 4.4rem);
  line-height:1.02; letter-spacing:-.035em; color:var(--ink);
  margin:0;
}
.h1{
  font-family:var(--ff-head); font-weight:800;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:1.08; letter-spacing:-.028em; margin:0;
}
.h2{
  font-family:var(--ff-head); font-weight:700;
  font-size:clamp(1.6rem, 2.6vw, 2.2rem);
  line-height:1.15; letter-spacing:-.022em; margin:0;
}
.h3{
  font-family:var(--ff-head); font-weight:700;
  font-size:clamp(1.15rem, 1.6vw, 1.35rem);
  line-height:1.25; letter-spacing:-.012em; margin:0;
}
.lead{
  font-size:clamp(1.05rem, 1.3vw, 1.18rem);
  line-height:1.55; color:var(--muted); max-width:38rem; margin:0;
}
.section--dark .lead{ color:rgba(255,255,255,.7); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--ff-body); font-weight:600;
  font-size:.86rem; letter-spacing:.005em; text-transform:none;
  color:var(--navy-600);
  background:var(--blue-50);
  padding:.42rem .95rem .42rem .8rem;
  border-radius:var(--pill);
  margin-bottom:1.1rem;
}
.eyebrow .dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--blue-500); flex:none; }
.section--dark .eyebrow{ color:var(--navy-700); background:#EAF4FE; }
.section--dark .eyebrow .dot{ background:var(--navy-600); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.95rem 1.5rem 0.95rem 1.6rem;
  font-family:var(--ff-head); font-weight:600; font-size:.95rem;
  letter-spacing:-.005em;
  border-radius:var(--pill);
  transition:transform .25s var(--ease), background .2s, color .2s, box-shadow .25s var(--ease), border-color .2s;
  white-space:nowrap;
  border:1px solid transparent;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn:hover{ transform:translateY(-2px); }

.btn--primary{
  background:var(--navy-600); color:#fff;
  box-shadow:0 6px 18px rgba(27,79,138,.28);
}
.btn--primary:hover{ background:#1A468B; box-shadow:0 12px 32px rgba(27,79,138,.36); }

.btn--dark{
  background:var(--navy-900); color:#fff;
}
.btn--dark:hover{ background:#000; }

.btn--ghost{
  background:transparent; color:var(--ink);
  border-color:var(--line-2);
}
.btn--ghost:hover{ border-color:var(--ink); background:#fff; }

.btn--ghost-light{
  background:transparent; color:#fff;
  border-color:rgba(255,255,255,.22);
}
.btn--ghost-light:hover{ border-color:#fff; background:rgba(255,255,255,.06); }

.btn--green{
  background:var(--green-500); color:#fff;
  box-shadow:0 6px 18px rgba(15,175,107,.3);
}
.btn--green:hover{ background:#0C9A5E; }

.btn--lg{ padding:1.1rem 1.8rem; font-size:1.02rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header{
  position:sticky; top:0; z-index:60;
  padding-top:14px;
  transition:padding .3s var(--ease);
}
.header__bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border:1px solid var(--line);
  border-radius:var(--pill);
  padding:.55rem .65rem .55rem 1.4rem;
  transition:box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.scrolled .header__bar{ box-shadow:var(--shadow-md); background:rgba(255,255,255,.95); }
.header__logo{ display:flex; align-items:center; flex:none; }
.header__logo img{ height:26px; width:auto; }

.nav-links{
  display:flex; align-items:center; gap:.4rem;
  margin:0 auto;
}
.nav-links a{
  padding:.55rem 1rem; font-size:.92rem; font-weight:500; color:var(--ink-2);
  border-radius:var(--pill); transition:background .2s, color .2s;
}
.nav-links a:hover{ background:var(--blue-50); color:var(--navy-700); }
.nav-cta{ display:flex; align-items:center; gap:.5rem; flex:none; }

.burger{
  display:none; width:44px; height:44px; border-radius:50%;
  background:var(--bg); flex-direction:column;
  align-items:center; justify-content:center; gap:4px; flex:none;
  border:1px solid var(--line);
}
.burger span{ display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; transition:transform .3s var(--ease), opacity .3s; }

@media (max-width:960px){
  .nav-links{ display:none; }
  .burger{ display:inline-flex; }
}
/* On phones the sticky bottom CTA carries the action — drop the
   header "Demo buchen" so it doesn't read as doubled. */
@media (max-width:780px){
  .nav-cta > .btn{ display:none; }
}

/* Mobile drawer (rebuilt inline in index, no shared script) */
.m-nav{ position:fixed; inset:0; z-index:90; visibility:hidden; pointer-events:none; overflow:hidden; }
.m-nav.open{ visibility:visible; pointer-events:auto; }
.m-nav__backdrop{ position:absolute; inset:0; background:rgba(13,27,42,.5); opacity:0; transition:opacity .3s; backdrop-filter:blur(2px); }
.m-nav.open .m-nav__backdrop{ opacity:1; }
.m-nav__panel{
  position:absolute; top:0; right:0; bottom:0; width:min(86vw, 360px);
  background:#fff; box-shadow:-24px 0 48px rgba(13,27,42,.18);
  transform:translateX(110%); transition:transform .42s var(--ease);
  display:flex; flex-direction:column;
}
.m-nav.open .m-nav__panel{ transform:translateX(0); }
.m-nav__head{ display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.25rem; border-bottom:1px solid var(--line); }
.m-nav__close{ width:40px; height:40px; border-radius:50%; background:var(--bg); display:grid; place-items:center; }
.m-nav__body{ flex:1; overflow-y:auto; padding:.6rem 1.25rem; }
.m-nav__body a{
  display:flex; align-items:center; justify-content:space-between;
  padding:.85rem .3rem; font-size:1.02rem; font-weight:500;
  border-bottom:1px solid var(--line);
}
.m-nav__foot{ padding:1rem 1.25rem 1.3rem; border-top:1px solid var(--line); background:var(--bg); }
.m-nav__foot .btn{ width:100%; justify-content:center; }
body.m-open{ overflow:hidden; }

/* ============================================================
   HERO — Dark / "Living AI agent"
   ============================================================ */
.hero{ padding-top: clamp(12px, 1.5vw, 24px); padding-bottom: clamp(40px, 5vw, 56px); }
.hero__shell{
  position:relative;
  margin:0 var(--gutter);
  border-radius: clamp(20px, 2.4vw, 32px);
  background: radial-gradient(120% 80% at 50% 0%, #0F2238 0%, #0A1424 45%, #050B17 100%);
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
@media (max-width:640px){
  .hero__shell{ margin:0 8px; border-radius:18px; }
}
.hero__wrap{
  position:relative; z-index:2;
  padding-block: clamp(14px, 2vw, 30px) clamp(36px, 4.5vw, 64px);
}
.hero__center{
  max-width: 880px; margin: 0 auto; text-align:center;
  display:flex; flex-direction:column; align-items:center;
}

/* ---- Waves background ---- */
.hero__waves{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero__wave-svg{ position:absolute; inset:-10%; width:120%; height:120%; }
.wline{
  stroke-dasharray: 2200 4400;
  animation: wflow 18s linear infinite;
  will-change: stroke-dashoffset, transform;
}
.wline-a{ animation-duration: 22s; }
.wline-b{ animation-duration: 28s; animation-delay:-6s; }
.wline-c{ animation-duration: 32s; animation-delay:-12s; }
.wline-d{ animation-duration: 26s; animation-delay:-3s; }
@keyframes wflow{
  from{ stroke-dashoffset: 0;    }
  to  { stroke-dashoffset: -2200; }
}
.hero__halo{
  position:absolute; inset:0;
  background:
    radial-gradient(50% 40% at 50% 35%, rgba(79,195,247,.18), transparent 70%),
    radial-gradient(60% 50% at 70% 80%, rgba(27,79,138,.20), transparent 70%),
    radial-gradient(40% 30% at 15% 70%, rgba(79,195,247,.10), transparent 70%);
  pointer-events:none;
}
.hero__noise{
  position:absolute; inset:0; opacity:.06; mix-blend-mode:overlay; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---- Living AI Mind Orb ---- */
.orb{
  position: relative;
  width: 220px; height: 220px;
  margin-bottom: 1.6rem;
  display: grid; place-items: center;
  transform-style: preserve-3d;
}
.orb__canvas{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.orb__halo{
  position: absolute; inset: -10%;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(79,195,247,.35) 0%, rgba(79,195,247,.10) 35%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: orbBreath 4s ease-in-out infinite;
}
.orb__inner{
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background:
    radial-gradient(60% 60% at 35% 30%, #FFFFFF 0%, #BEE6FB 35%, #4FC3F7 75%, #1B4F8A 100%);
  box-shadow:
    inset 0 -6px 18px rgba(0,0,0,.30),
    inset 0 6px 14px rgba(255,255,255,.30),
    0 12px 32px rgba(79,195,247,.45);
  display: grid; place-items: center;
  animation: orbBreath 3s ease-in-out infinite;
}
@keyframes orbBreath{
  0%,100%{ transform: scale(1); }
  50%   { transform: scale(1.06); }
}
.orb__wave{ display: flex; align-items: center; gap: 2px; height: 18px; }
.orb__wave i{
  display: block; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #fff, #BEE6FB);
  animation: orbBar 1s ease-in-out infinite;
}
.orb__wave i:nth-child(1){ height: 4px;  animation-delay: 0s; }
.orb__wave i:nth-child(2){ height: 8px;  animation-delay:.08s; }
.orb__wave i:nth-child(3){ height: 14px; animation-delay:.16s; }
.orb__wave i:nth-child(4){ height: 16px; animation-delay:.24s; }
.orb__wave i:nth-child(5){ height: 14px; animation-delay:.32s; }
.orb__wave i:nth-child(6){ height: 8px;  animation-delay:.40s; }
.orb__wave i:nth-child(7){ height: 4px;  animation-delay:.48s; }
@keyframes orbBar{ 0%,100%{ transform: scaleY(.45); } 50%{ transform: scaleY(1.15); } }

/* ---- Live status pill ---- */
.hero__status{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.42rem .95rem .42rem .8rem;
  background: var(--blue-50);
  border:1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--ff-body); font-weight:600; font-size:.86rem; letter-spacing:.005em; text-transform:none;
  color: var(--navy-600);
  margin-bottom: 1.6rem;
}
.hero__status-dot{
  width:8px; height:8px; border-radius:50%; background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(15,175,107,.55);
  animation: pulse 2s infinite;
  margin-left:.25rem;
}
.hero__status-text{ white-space:nowrap; }
.hero__status-wave{ display:flex; gap:2px; align-items:center; height:14px; margin-left:.2rem; }
.hero__status-wave i{
  display:block; width:2px; border-radius:2px;
  background:var(--blue-300);
  animation: orbBar 1.1s ease-in-out infinite;
}
.hero__status-wave i:nth-child(1){ height:5px;  animation-delay: 0s; }
.hero__status-wave i:nth-child(2){ height:9px;  animation-delay:.1s; }
.hero__status-wave i:nth-child(3){ height:14px; animation-delay:.2s; }
.hero__status-wave i:nth-child(4){ height:9px;  animation-delay:.3s; }
.hero__status-wave i:nth-child(5){ height:5px;  animation-delay:.4s; }

/* ---- Headline ---- */
.hero__h1{
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  line-height: 1.12; letter-spacing: -.03em;
  color:#fff; margin: 0 0 .9rem;
  max-width: 26ch;
  text-wrap: balance;
}
.hero__h1 .em{
  background: linear-gradient(135deg, #BEE6FB 0%, #4FC3F7 45%, #2A6FDB 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.hero__sub{
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: rgba(255,255,255,.72); line-height: 1.5;
  max-width: 38rem; margin: 0 0 1.2rem;
}

/* ---- Pill CTAs (Teleshop-ref style) ---- */
.hero__cta{ display:flex; gap:.6rem; flex-wrap:wrap; justify-content:center; margin-bottom: 1.3rem; }
.pill{
  display:inline-flex; align-items:center; gap:.6rem;
  padding: 4px 4px 4px 24px;
  border-radius: var(--pill);
  font-family: var(--ff-head); font-weight:600;
  font-size:.98rem; letter-spacing:-.005em; text-transform:none;
  transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill__t{ padding-left:.1rem; }
.pill:hover{ transform: translateY(-2px); }
.pill__t{ padding-right:.2rem; }
.pill__circ{
  width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center; flex:none;
  transition: transform .3s var(--ease), background .25s;
}
.pill__circ svg{ width:15px; height:15px; }
.pill:hover .pill__circ{ transform: translate(2px, -2px); }

.pill--primary{ background: var(--blue-300); color: var(--navy-900); }
.pill--primary .pill__circ{ background: var(--navy-900); color:#fff; }
.pill--primary:hover{ background: #76D3FA; }

.pill--ghost{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.18); color:#fff; }
.pill--ghost .pill__circ{ background: rgba(255,255,255,.08); color:#fff; }
.pill--ghost:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.32); }

/* ---- Trust chips ---- */
.hero__trust{
  display:flex; gap:.7rem; flex-wrap:wrap; justify-content:center;
}
/* Flat trust indicators — deliberately NOT pill/button styled */
.trust-chip{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:0;
  background:transparent; border:0; border-radius:0;
  text-align:left;
}
.trust-chip + .trust-chip{ position:relative; padding-left:1.4rem; }
.trust-chip + .trust-chip::before{
  content:""; position:absolute; left:.5rem; top:50%; transform:translateY(-50%);
  width:1px; height:26px; background:rgba(255,255,255,.14);
}
.trust-chip__ico{
  width:30px; height:30px; border-radius:50%;
  background: rgba(255,255,255,.06); color:#fff;
  display:grid; place-items:center; flex:none;
}
/* DSGVO seal/stamp */
.trust-chip--seal{ gap:.7rem; }
.trust-chip__seal{ width:58px; height:58px; flex:none; display:block; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.trust-chip__seal svg{ width:100%; height:100%; display:block; }
.trust-chip__ico svg{ width:15px; height:15px; }
.trust-chip__ico--accent{ background: var(--blue-300); color: var(--navy-900); }
.trust-chip__body{ display:flex; flex-direction:column; gap:1px; }
.trust-chip__t{ font-family: var(--ff-head); font-weight:600; font-size:.92rem; color:#fff; letter-spacing:-.01em; }
.trust-chip__s{ font-size:.74rem; color: rgba(255,255,255,.55); }

@media (max-width:560px){
  .hero__cta{ width:100%; flex-direction:column; }
  .hero__cta .pill{ width:100%; justify-content:space-between; padding-left:1.4rem; }
  .hero__trust{ flex-direction:column; align-items:flex-start; gap:.9rem; }
  .trust-chip{ justify-content:flex-start; }
  .trust-chip + .trust-chip{ padding-left:0; }
  .trust-chip + .trust-chip::before{ display:none; }
  .orb{ width:170px; height:170px; }
  .orb__inner{ width:46px; height:46px; }
}

@media (prefers-reduced-motion: reduce){
  .wline, .orb__halo, .orb__inner, .orb__wave i, .hero__status-wave i, .hero__status-dot{
    animation: none !important;
  }
}

/* ============================================================
   SCROLL-DRIVEN "GUIDED TOUR" — subtle depth on entrance
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  @supports (animation-timeline: view()){
    .section .shead,
    .promise, .ind, .step, .roi__card, .plan, .tcard, .ctable,
    .bx__panel, .pscene, .compare__hero, .trial__card, .fcta > .wrap > div{
      animation: tourEnter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes tourEnter{
      from{ opacity: 0; transform: translateY(36px) scale(.97); }
      to  { opacity: 1; transform: none; }
    }
    /* Slow vertical drift on hero waves for guided-tour feel */
    .hero__wave-svg{
      animation: heroDrift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes heroDrift{
      from{ transform: translate3d(0, -2%, 0) scale(1); }
      to  { transform: translate3d(0, 6%, 0) scale(1.06); }
    }
    /* Compare big number subtly settles */
    .compare__big-n{
      animation: settleIn linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes settleIn{
      from{ opacity: 0; transform: translateY(28px) scale(.95); letter-spacing: -.02em; }
      to  { opacity: 1; transform: none; letter-spacing: -.045em; }
    }
    /* Phone mockup subtle tilt */
    .phone{
      animation: phoneTilt linear both;
      animation-timeline: view();
      animation-range: cover 10% cover 90%;
      transform-origin: 50% 50%;
    }
    @keyframes phoneTilt{
      from{ transform: perspective(900px) rotateY(-6deg) rotateX(4deg); }
      to  { transform: perspective(900px) rotateY( 6deg) rotateX(-2deg); }
    }
  }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar{ background:linear-gradient(180deg, #0D2B4E 0%, #0A2342 100%); color:#fff; padding-block:clamp(56px, 6vw, 80px); }
.stats-bar__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
.stat{
  text-align:left; position:relative;
}
.stat:not(:last-child)::after{
  content:""; position:absolute; top:6px; bottom:6px; right:-1rem; width:1px;
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.12), transparent);
}
.stat__n{
  font-family:var(--ff-head); font-weight:800;
  font-size:clamp(2.2rem, 3.4vw, 2.8rem); line-height:1; letter-spacing:-.035em;
}
.stat__n .u{ color:var(--blue-300); margin-left:.1rem; }
.stat__l{ color:rgba(255,255,255,.65); margin-top:.4rem; font-size:.95rem; max-width:14rem; }

@media (max-width:780px){
  .stats-bar__grid{ grid-template-columns:1fr 1fr; gap:2rem 1.5rem; }
  .stat:nth-child(2)::after{ display:none; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.shead{ max-width:42rem; margin:0 auto clamp(2.5rem, 4vw, 3.5rem); text-align:center; }
.shead--left{ text-align:left; margin-left:0; }
.shead p{ margin-top:1rem; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem{ background:var(--bg); }
.problem__viz{
  position:relative;
  max-width:880px; margin:0 auto;
  padding:clamp(2rem, 4vw, 3rem);
  background:#fff;
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
}
.problem__core{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
  z-index:2;
}
.problem__phone{
  width:88px; height:88px; border-radius:50%;
  background:linear-gradient(135deg, var(--warn), #B82E40);
  display:grid; place-items:center;
  box-shadow:0 0 0 0 rgba(224,74,95,.4); animation:phoneRing 1.6s infinite;
  color:#fff;
}
.problem__phone svg{ width:38px; height:38px; }
@keyframes phoneRing{
  0%{ box-shadow:0 0 0 0 rgba(224,74,95,.5), 0 0 0 0 rgba(224,74,95,.3); }
  100%{ box-shadow:0 0 0 30px rgba(224,74,95,0), 0 0 0 50px rgba(224,74,95,0); }
}
.problem__label{
  font-family:var(--ff-mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--warn); font-weight:600;
}

.problem__calls{
  display:grid; grid-template-columns:1fr 1fr; gap:1rem;
  position:relative; min-height:340px;
}
.pcall{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:1rem 1.1rem;
  display:flex; align-items:center; gap:.8rem;
  box-shadow:var(--shadow-sm);
  position:relative;
}
.pcall:nth-child(odd){ justify-self:start; }
.pcall:nth-child(even){ justify-self:end; }
.pcall__ico{
  width:38px; height:38px; border-radius:10px; flex:none;
  background:var(--blue-50); color:var(--navy-700);
  display:grid; place-items:center;
}
.pcall__ico svg{ width:18px; height:18px; }
.pcall__meta{ min-width:0; }
.pcall__line1{ font-weight:600; font-size:.92rem; }
.pcall__line2{ font-size:.78rem; color:var(--muted); margin-top:.1rem; }
.pcall__badge{
  position:absolute; top:-8px; right:-8px;
  font-family:var(--ff-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase;
  background:var(--warn); color:#fff; padding:.18rem .5rem; border-radius:99px;
}

.problem__close{
  text-align:center; margin-top:2.5rem;
  font-family:var(--ff-head); font-weight:700; font-size:clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing:-.02em; color:var(--ink); max-width:36rem; margin-left:auto; margin-right:auto;
}
.problem__close em{ color:var(--warn); font-style:normal; }

@media (max-width:680px){
  .problem__calls{ grid-template-columns:1fr; min-height:auto; }
  .pcall:nth-child(odd), .pcall:nth-child(even){ justify-self:stretch; }
  .problem__core{ position:static; transform:none; margin:1.5rem auto; }
}

/* ============================================================
   LÖSUNG (3 promises)
   ============================================================ */
.promises{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.promise{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:2rem;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position:relative;
  overflow:hidden;
}
.promise:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--blue-300); }
.promise__n{
  font-family:var(--ff-mono); font-size:.78rem; letter-spacing:.18em; color:var(--blue-500);
  margin-bottom:1.5rem;
}
.promise__ico{
  width:54px; height:54px; border-radius:15px;
  background:linear-gradient(150deg, var(--blue-500) 0%, var(--navy-600) 100%);
  border:none;
  display:grid; place-items:center;
  margin-bottom:1.4rem;
  color:#fff;
  box-shadow:0 10px 22px rgba(27,79,138,.28);
}
.promise__ico svg{ width:24px; height:24px; }
.promise h3{ margin:0 0 .6rem; }
.promise p{ color:var(--muted); margin:0; font-size:.96rem; line-height:1.55; }

@media (max-width:880px){ .promises{ grid-template-columns:1fr; } }

/* ============================================================
   BRANCHEN
   ============================================================ */
.industries{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.ind{
  display:flex; flex-direction:column; gap:1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:1.6rem;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ind:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--blue-300); }
.ind__head{ display:flex; align-items:center; gap:.85rem; }
.ind__ico{
  width:42px; height:42px; border-radius:11px;
  background:var(--blue-50); color:var(--navy-700);
  display:grid; place-items:center;
}
.ind__ico svg{ width:20px; height:20px; }
.ind__name{ font-family:var(--ff-head); font-weight:700; font-size:1.05rem; letter-spacing:-.015em; }
.ind__scenario{ color:var(--muted); font-size:.92rem; line-height:1.5; }
.ind__quote{
  display:flex; align-items:flex-start; gap:.5rem;
  padding-top:.85rem; border-top:1px dashed var(--line);
  font-style:italic; font-size:.86rem; color:var(--ink-2);
}
.ind__quote::before{ content:"„"; font-family:var(--ff-head); font-size:1.6rem; line-height:.6; color:var(--blue-300); flex:none; }

@media (max-width:900px){ .industries{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .industries{ grid-template-columns:1fr; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; position:relative; }
.steps::before{
  /* circles are centred in each column → line spans circle-1 centre to circle-3
     centre, symmetric (half a column = (100% - 2·gap)/6 inset on each side) */
  content:""; position:absolute; top:46px; left:calc((100% - 4rem) / 6); right:calc((100% - 4rem) / 6); height:2px;
  background:linear-gradient(90deg, var(--line) 0%, var(--blue-300) 50%, var(--line) 100%);
  z-index:0;
}
.step{ position:relative; z-index:1; text-align:center; }
.step__num{
  width:92px; height:92px; border-radius:50%;
  background:#fff; border:1px solid var(--line);
  display:grid; place-items:center;
  margin:0 auto 1.4rem;
  box-shadow:var(--shadow-md);
  position:relative;
}
.step__num::after{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border:1px dashed var(--blue-300); opacity:.5;
}
.step__num span{
  font-family:var(--ff-head); font-weight:800; font-size:1.6rem; letter-spacing:-.02em;
  background:linear-gradient(135deg, var(--navy-600), var(--blue-300));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.step h3{ margin:0 0 .55rem; }
.step p{ color:var(--muted); margin:0 0 1.2rem; font-size:.96rem; line-height:1.55; }
.step__badge{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.5rem 1rem;
  border:1px solid var(--line-2);
  border-radius:var(--pill);
  background:#fff;
  font-family:var(--ff-head); font-weight:600; font-size:.9rem;
  color:var(--navy-700);
  box-shadow:var(--shadow-sm);
}
.step__badge svg{ color:var(--navy-600); }
.step__badge--live{
  border-color:rgba(15,175,107,.4);
  color:var(--green-500);
  background:var(--green-50);
}
.step__badge--live svg{ color:var(--green-500); }

@media (max-width:880px){
  .steps{ grid-template-columns:1fr; gap:2.5rem; }
  .steps::before{ display:none; }
}

/* ============================================================
   ROI (dark)
   ============================================================ */
.roi{ background:linear-gradient(180deg, #0D2B4E 0%, #08111D 100%); color:#fff; }
.roi .shead{ color:#fff; }
.roi__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; margin-top:3rem; }
.roi__card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-lg);
  padding:1.8rem 1.6rem;
  position:relative;
  overflow:hidden;
  transition:background .3s, border-color .3s;
}
.roi__card:hover{ background:rgba(255,255,255,.06); border-color:rgba(79,195,247,.4); }
.roi__card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, var(--blue-300), transparent);
}
.roi__n{
  font-family:var(--ff-head); font-weight:800;
  font-size:clamp(2rem, 3vw, 2.6rem); line-height:1; letter-spacing:-.035em;
}
.roi__n .u{ color:var(--blue-300); font-size:.55em; margin-left:.15rem; vertical-align:.2em; }
.roi__l{ font-size:.95rem; color:rgba(255,255,255,.78); margin-top:.45rem; font-weight:500; }
.roi__base{
  font-family:var(--ff-mono); font-size:.7rem; letter-spacing:.06em;
  color:rgba(255,255,255,.45); margin-top:1rem; padding-top:.9rem;
  border-top:1px dashed rgba(255,255,255,.12); line-height:1.45;
}

@media (max-width:880px){ .roi__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .roi__grid{ grid-template-columns:1fr; } }

/* ============================================================
   30-TAGE PROBEZEIT
   ============================================================ */
.trial{ padding-block:clamp(64px, 7vw, 96px); }
.trial__card{
  position:relative;
  /* CI light blue → white gradient */
  background:linear-gradient(135deg, #EAF4FE 0%, #F4F8FD 58%, #fff 100%);
  border:1px solid #D8E9FB;
  border-radius:var(--r-xl);
  padding:clamp(2.5rem, 5vw, 4rem);
  text-align:center;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
/* Split layout: left-aligned copy + seal, right tilted company gallery */
.trial__card--split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items:center;
  text-align:left;
}
.trial__card::before, .trial__card::after{
  content:""; position:absolute; border-radius:50%; filter:blur(40px);
  pointer-events:none;
}
.trial__card::before{ width:300px; height:300px; background:rgba(79,195,247,.22); top:-150px; left:-100px; }
.trial__card::after{ width:280px; height:280px; background:rgba(27,79,138,.16); bottom:-140px; right:-100px; }
.trial__inner{ position:relative; z-index:2; max-width:38rem; margin:0; }
.trial__card--split .trial__inner{ max-width:none; }

/* Guarantee seal */
.trial__seal{
  display:block; width:clamp(78px, 9vw, 102px);
  margin-bottom:1.4rem;
  transform:rotate(-8deg);
  filter:drop-shadow(0 10px 20px rgba(15,175,107,.32));
}
.trial__seal svg{ display:block; width:100%; height:auto; }

.trial__badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background:#fff; border:1px solid var(--green-500);
  color:var(--green-500); padding:.4rem 1rem;
  border-radius:var(--pill);
  font-family:var(--ff-mono); font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; font-weight:600;
  margin-bottom:1.3rem;
}
.trial h2{
  font-size:clamp(2rem, 4.5vw, 3.2rem); letter-spacing:-.035em; margin-bottom:1.1rem;
}
.trial h2 .em{ color:var(--blue-500); }
.trial p{ color:var(--ink-2); font-size:clamp(1.05rem, 1.4vw, 1.18rem); margin-bottom:1.9rem; max-width:34rem; }
/* Copper CTA instead of green */
.trial .btn--green{ background:var(--navy-600); box-shadow:0 6px 18px rgba(27,79,138,.3); }
.trial .btn--green:hover{ background:#1A468B; }

/* Company gallery — two columns auto-scrolling upward (straight, 0°) */
.trial__gallery{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
  height:clamp(360px, 40vw, 470px);
  overflow:hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.trial__col{ overflow:hidden; }
.trial__track{ display:flex; flex-direction:column; will-change:transform; }
.trial__track--a{ animation: trialScrollUp 26s linear infinite; }
.trial__track--b{ animation: trialScrollUp 34s linear infinite; animation-delay:-9s; }
@keyframes trialScrollUp{ from{ transform:translateY(0); } to{ transform:translateY(-50%); } }
.trial__gallery:hover .trial__track{ animation-play-state:paused; }
.trial__shot{
  margin:0 0 14px; border-radius:16px; overflow:hidden;
  border:3px solid #fff;
  box-shadow:0 14px 32px rgba(13,27,42,.14);
  aspect-ratio:4/5;
}
.trial__shot img{ width:100%; height:100%; object-fit:cover; display:block; }

@media (max-width: 860px){
  .trial__card--split{ grid-template-columns:1fr; gap:2.6rem; }
  .trial__gallery{ height:320px; max-width:440px; margin:0 auto; }
}
@media (prefers-reduced-motion: reduce){
  .trial__track{ animation:none; }
  .trial__seal{ transform:none; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; align-items:stretch; }
.plan{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  padding:2rem 1.8rem;
  display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
  position:relative;
}
.plan:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.plan--popular{
  background:linear-gradient(180deg, var(--navy-900) 0%, #08111D 100%);
  color:#fff;
  border-color:var(--navy-900);
  transform:translateY(-12px);
  box-shadow:var(--shadow-pop);
}
.plan--popular:hover{ transform:translateY(-16px); }
.plan__tag{
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg, var(--blue-300), var(--blue-500));
  color:#fff; padding:.35rem 1rem;
  border-radius:var(--pill);
  font-family:var(--ff-mono); font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; font-weight:600;
}
.plan__name{
  font-family:var(--ff-head); font-weight:700; font-size:1.15rem; letter-spacing:-.015em;
}
.plan__hint{ color:var(--muted); font-size:.92rem; margin-top:.35rem; min-height:2.6rem; }
.plan--popular .plan__hint{ color:rgba(255,255,255,.6); }
.plan__price{ margin:1.5rem 0 .35rem; }
.plan__price-n{
  font-family:var(--ff-head); font-weight:800;
  font-size:clamp(2.4rem, 3.4vw, 3rem); line-height:1; letter-spacing:-.035em;
}
.plan__price-n small{ font-size:.4em; font-weight:600; margin-left:.2rem; color:var(--muted); }
.plan--popular .plan__price-n small{ color:rgba(255,255,255,.55); }
.plan__monthly{
  font-size:.95rem; color:var(--muted); margin-bottom:.5rem;
}
.plan--popular .plan__monthly{ color:rgba(255,255,255,.65); }
.plan__monthly b{ font-weight:700; color:var(--ink); }
.plan--popular .plan__monthly b{ color:#fff; }

.plan__features{
  list-style:none; padding:0; margin:1.7rem 0 0;
  display:flex; flex-direction:column; gap:.85rem;
  flex:1;
}
.plan__features li{ display:flex; gap:.6rem; align-items:flex-start; font-size:.95rem; line-height:1.4; }
.plan__features svg{ width:18px; height:18px; color:var(--green-500); flex:none; margin-top:2px; }
.plan--popular .plan__features svg{ color:var(--blue-300); }

.plan .btn{ width:100%; justify-content:center; margin-top:.5rem; }
/* Popular plan sits on dark navy → bright cyan CTA for contrast */
.plan--popular .btn--primary{ background:var(--blue-300); color:var(--navy-900); }
.plan--popular .btn--primary:hover{ background:#76D3FA; }

.pricing__note{
  text-align:center; margin-top:2.2rem; color:var(--muted);
  font-size:.95rem;
}
.pricing__note b{ color:var(--ink); }
.pricing__note-trial{ color:var(--green-500); font-weight:600; }

@media (max-width:980px){
  .pricing__grid{ grid-template-columns:1fr; gap:1.4rem; }
  .plan--popular{ transform:none; order:-1; }
  .plan--popular:hover{ transform:translateY(-4px); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{ background:var(--bg); }
.faq__grid{ display:grid; grid-template-columns:1fr 1.6fr; gap:clamp(2rem, 5vw, 5rem); align-items:start; }
.faq__list{ display:flex; flex-direction:column; gap:.7rem; }
.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--r-md);
  overflow:hidden;
  transition:border-color .2s, box-shadow .2s;
}
.faq-item:hover{ border-color:var(--line-2); }
.faq-item.open{ border-color:var(--blue-300); box-shadow:var(--shadow-md); }
.faq-item__q{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.1rem 1.3rem; width:100%; text-align:left;
  font-family:var(--ff-head); font-weight:600; font-size:1rem; letter-spacing:-.01em;
}
.faq-item__q .ico{
  width:28px; height:28px; border-radius:50%;
  background:var(--bg); flex:none;
  display:grid; place-items:center;
  transition:transform .3s var(--ease), background .2s;
}
.faq-item.open .faq-item__q .ico{ transform:rotate(180deg); background:var(--blue-50); }
.faq-item__q .ico svg{ width:14px; height:14px; }
.faq-item__a{
  max-height:0; overflow:hidden;
  transition:max-height .35s var(--ease);
}
.faq-item__a-inner{
  padding:0 1.3rem 1.2rem; color:var(--muted); line-height:1.6;
}
.faq-item.open .faq-item__a{ max-height:400px; }

@media (max-width:880px){ .faq__grid{ grid-template-columns:1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.fcta{ padding-block:clamp(72px, 8vw, 112px); text-align:center; }
.fcta__logo{ display:inline-block; margin-bottom:1.5rem; }
.fcta__logo img{ height:42px; width:auto; }
.fcta h2{ font-size:clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing:-.035em; max-width:24rem; margin-inline:auto; }
.fcta p{ max-width:36rem; margin:1.2rem auto 2rem; color:var(--muted); font-size:clamp(1.05rem, 1.3vw, 1.18rem); }
.fcta__meta{
  display:flex; justify-content:center; gap:2rem; flex-wrap:wrap;
  margin-top:2rem;
  font-family:var(--ff-mono); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
}
.fcta__meta span{ display:flex; align-items:center; gap:.4rem; }
.fcta__meta svg{ width:14px; height:14px; color:var(--green-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:#0D2B4E; color:rgba(255,255,255,.7); padding-block:clamp(48px, 5vw, 72px) 24px; }
.footer__grid{
  display:grid; grid-template-columns:1.6fr 1fr 1.2fr; gap:2rem;
}
.footer__brand img{ height:32px; width:auto; filter:brightness(0) invert(1); margin-bottom:1rem; }
.footer__brand p{ font-size:.92rem; max-width:22rem; }
.footer h4{
  font-family:var(--ff-head); font-weight:600; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:#fff; margin:0 0 1.2rem;
}
.footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.65rem; }
.footer a{ color:rgba(255,255,255,.7); font-size:.92rem; transition:color .2s; }
.footer a:hover{ color:#fff; }
.footer__badges{ display:flex; flex-wrap:wrap; gap:.5rem; }
.footer__badge{
  display:inline-flex; align-items:center; gap:.4rem;
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
  padding:.45rem .75rem; border-radius:var(--pill);
  font-family:var(--ff-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(255,255,255,.9);
}
.footer__badge svg{ width:12px; height:12px; color:var(--green-500); }
.footer__bottom{
  margin-top:3rem; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.1);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-size:.85rem; color:rgba(255,255,255,.5);
}
.footer__bottom a{ font-size:.85rem; }

@media (max-width:880px){
  .footer__grid{ grid-template-columns:1fr 1fr; }
  .footer__brand{ grid-column:1 / -1; }
}
@media (max-width:560px){ .footer__grid{ grid-template-columns:1fr; } }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.sticky-cta{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:50;
  padding:.7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(150%) blur(14px);
  border-top:1px solid var(--line);
}
.sticky-cta .btn{ width:100%; justify-content:center; height:56px; padding:0 1.5rem; font-size:1rem; }

@media (max-width:780px){
  .sticky-cta{ display:block; }
  body{ padding-bottom:88px; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in{ opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s; }
.reveal[data-d="2"]{ transition-delay:.16s; }
.reveal[data-d="3"]{ transition-delay:.24s; }
.reveal[data-d="4"]{ transition-delay:.32s; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}


/* ============================================================
   NAV DROPDOWN — "Lösungen"
   ============================================================ */
.nav-dd{ position:relative; }
.nav-dd__btn{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.55rem 1rem; font-size:.92rem; font-weight:500; color:var(--ink-2);
  border-radius:var(--pill); transition:background .2s, color .2s;
  font-family: var(--ff-body);
}
.nav-dd__btn:hover, .nav-dd.open .nav-dd__btn{ background:var(--blue-50); color:var(--navy-700); }
.nav-dd__btn svg{ transition: transform .25s var(--ease); opacity:.7; }
.nav-dd.open .nav-dd__btn svg{ transform: rotate(180deg); }
.nav-dd__menu{
  position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%) translateY(-6px);
  min-width: 260px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow: var(--shadow-lg);
  padding:.5rem;
  opacity:0; visibility:hidden; pointer-events:none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 70;
}
.nav-dd.open .nav-dd__menu{ opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.nav-dd__item{
  display:flex; align-items:center; gap:.85rem;
  padding:.7rem .8rem; border-radius:var(--r-xs);
  transition: background .15s;
}
.nav-dd__item:hover{ background: var(--bg); }
.nav-dd__item span:last-child{ display:flex; flex-direction:column; gap:1px; }
.nav-dd__item b{ font-family: var(--ff-head); font-weight:700; font-size:.95rem; color:var(--ink); letter-spacing:-.01em; }
.nav-dd__item i{ font-size:.78rem; color: var(--muted); font-style: normal; }
.nav-dd__mark{
  width:32px; height:32px; border-radius:8px;
  display:grid; place-items:center; color:#fff; flex:none;
}
.nav-dd__mark svg{ width:16px; height:16px; }
.nav-dd__mark--immo  { background: linear-gradient(135deg, #1B4F8A, #2A6FDB); }
.nav-dd__mark--pflege{ background: linear-gradient(135deg, #2A6FDB, #4FC3F7); }
.nav-dd__mark--boxen { background: linear-gradient(135deg, var(--amber-700), var(--amber-500)); }

/* Mobile nav labels */
.m-nav__label{
  font-family: var(--ff-mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--muted-2);
  padding: 1rem .25rem .35rem;
  border-top: 1px solid var(--line);
  margin-top:.25rem;
}
.m-nav__body > .m-nav__label:first-child{ border-top:none; margin-top:0; padding-top:.25rem; }

/* ============================================================
   HÖRPROBE / Audio sample (in hero)
   ============================================================ */
.hp{
  width:100%; max-width: 720px; margin: 2.4rem auto 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.3rem 1.3rem;
  text-align:left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hp__header{
  display:flex; align-items:center; justify-content:space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hp__label{
  display:inline-flex; align-items:center; gap:.45rem;
  font-family: var(--ff-mono); font-size:.7rem; letter-spacing:.14em; text-transform:uppercase;
  color: rgba(255,255,255,.7);
}
.hp__rec{
  width:8px; height:8px; border-radius:50%; background: var(--warn);
  box-shadow: 0 0 0 0 rgba(224,74,95,.5);
  animation: pulse 2s infinite;
  display:inline-block;
}
.hp__tabs{
  display:inline-flex; gap:2px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--pill);
  padding: 3px;
}
.hp__tab{
  padding:.4rem .8rem;
  font-family: var(--ff-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase;
  color: rgba(255,255,255,.55);
  border-radius: var(--pill);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.hp__tab:hover{ color: rgba(255,255,255,.9); }
.hp__tab.is-active{ background: var(--blue-300); color: var(--navy-900); font-weight:600; }

.hp__player{
  display:flex; align-items:center; gap:1rem;
  padding: .75rem .9rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
}
.hp__play{
  width:48px; height:48px; border-radius: 50%;
  background: var(--blue-300); color: var(--navy-900);
  display:grid; place-items:center; flex:none;
  transition: transform .25s var(--ease), background .25s;
  box-shadow: 0 6px 18px rgba(79,195,247,.35);
}
.hp__play:hover{ transform: scale(1.05); background: #76D3FA; }
.hp__play-ico{ width:20px; height:20px; }
.hp__play-ico--pause{ display:none; }
.hp.is-playing .hp__play-ico--play{ display:none; }
.hp.is-playing .hp__play-ico--pause{ display:block; }

.hp__visual{ flex:1; min-width:0; }
.hp__wave{
  display:flex; align-items:center; gap:2px; height:32px;
  margin-bottom:.45rem;
}
.hp__wave span{
  display:block; width:3px; border-radius:2px;
  background: rgba(255,255,255,.18);
  transition: height .25s var(--ease), background .25s;
}
.hp__wave span.lit{ background: var(--blue-300); }
.hp.is-playing .hp__wave span{
  animation: hpBar .9s ease-in-out infinite;
}
.hp.is-playing .hp__wave span:nth-child(1){ animation-delay: 0s; }
.hp.is-playing .hp__wave span:nth-child(2){ animation-delay:.04s; }
.hp.is-playing .hp__wave span:nth-child(3){ animation-delay:.08s; }
.hp.is-playing .hp__wave span:nth-child(4){ animation-delay:.12s; }
.hp.is-playing .hp__wave span:nth-child(5){ animation-delay:.16s; }
.hp.is-playing .hp__wave span:nth-child(6){ animation-delay:.20s; }
.hp.is-playing .hp__wave span:nth-child(7){ animation-delay:.24s; }
.hp.is-playing .hp__wave span:nth-child(8){ animation-delay:.28s; }
@keyframes hpBar{ 0%,100%{ transform: scaleY(.3); } 50%{ transform: scaleY(1.2); } }
.hp__meta{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  font-family: var(--ff-mono); font-size:.7rem; letter-spacing:.06em;
  color: rgba(255,255,255,.55);
}
.hp__case-title{ color: rgba(255,255,255,.85); text-transform: none; letter-spacing: 0; font-family: var(--ff-body); font-weight: 500; font-size:.85rem; }

.hp__transcript{ margin-top: 1rem; display:flex; flex-direction:column; gap:.55rem; }
.hp__bubble{
  padding: .75rem .95rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  font-size: .92rem; line-height: 1.5;
  color: rgba(255,255,255,.88);
  max-width: 92%;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.hp.is-playing .hp__bubble--caller{ opacity: 1; transform: none; transition-delay: .25s; }
.hp.is-playing .hp__bubble--agent { opacity: 1; transform: none; transition-delay: 2s; }
.hp:not(.is-playing) .hp__bubble{ opacity:.42; transform:none; }
.hp__bubble--caller{ align-self: flex-start; border-bottom-left-radius: 4px; }
.hp__bubble--agent{
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: rgba(79,195,247,.10);
  border-color: rgba(79,195,247,.28);
}
.hp__who{
  display:inline-flex; align-items:center; gap:.35rem;
  font-family: var(--ff-mono); font-size:.62rem; letter-spacing:.12em; text-transform:uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom:.3rem;
}
.hp__bubble--agent .hp__who{ color: var(--blue-300); }
.hp__who-ico{
  width:14px; height:14px; border-radius:50%;
  background: var(--blue-300); color: var(--navy-900);
  display:grid; place-items:center;
}
.hp__bubble p{ margin:0; }
.hp__bubble p[hidden]{ display:none; }

@media (max-width:560px){
  .hp{ padding: 1rem; }
  .hp__header{ gap:.7rem; }
  .hp__tabs{ width:100%; justify-content: space-between; }
  .hp__tab{ flex:1; text-align:center; padding:.4rem .5rem; font-size:.62rem; }
  .hp__bubble{ max-width: 100%; font-size:.88rem; }
}

/* ============================================================
   TESTIMONIALS (quote cards with rating + metrics)
   ============================================================ */
.testimonials{ background: var(--bg); }
/* Desktop: continuous left-scrolling marquee that never stops (no hover pause) */
.tst-marquee{
  margin-top: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.tst-marquee__track{
  display: flex; align-items: stretch;
  width: max-content;
  animation: tstScroll 70s linear infinite;
  will-change: transform;
}
@keyframes tstScroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.tst-marquee .tst{
  flex: 0 0 clamp(300px, 30vw, 400px);
  margin-right: clamp(1.2rem, 2.5vw, 1.8rem);
}
/* On phones: turn the marquee into a manual swipe carousel (snap, no auto-scroll) */
@media (max-width: 640px){
  .tst-marquee{
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none;
    padding: 6px 4px 12px;
  }
  .tst-marquee::-webkit-scrollbar{ display: none; }
  .tst-marquee__track{ animation: none; }
  .tst-marquee .tst{ scroll-snap-align: center; flex-basis: 86vw; }
}
@media (prefers-reduced-motion: reduce){ .tst-marquee__track{ animation: none; } }

.tst{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tst:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tst__stars{ display: flex; gap: 4px; margin-bottom: 1.3rem; }
.tst__stars svg{ width: 22px; height: 22px; color: var(--gold); }
.tst__quote{
  margin: 0 0 1.8rem;
  font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.4; letter-spacing: -.015em;
  color: var(--ink);
}
.tst__person{ display: flex; align-items: center; gap: .9rem; }
.tst__av{
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  overflow: hidden; background: var(--navy-900);
  display: grid; place-items: center; color: #fff;
}
.tst__av img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.tst__av svg{ width: 24px; height: 24px; }
.tst__av--navy{ background: var(--navy-900); }
.tst__av--green{ background: var(--green-500); }
.tst__id{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tst__name{ font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; }
.tst__role{ font-size: .9rem; color: var(--muted); line-height: 1.35; }
.tst__metrics{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.7rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.tst__metric b{
  display: block;
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -.03em; color: var(--navy-600); line-height: 1;
  margin-bottom: .3rem;
}
.tst__metric span{ font-size: .88rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 760px){
  .tst-slider__viewport .tst{ flex: 0 0 100%; }
}

/* ============================================================
   TRUST TESTIMONIALS (legacy 3 industry cards — unused)
   ============================================================ */
.tcards{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.tcard{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  overflow:hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tcard:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tcard__media{ position:relative; aspect-ratio: 5 / 3; overflow:hidden; background: var(--bg); }
.tcard__media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .8s var(--ease-out);
}
.tcard:hover .tcard__media img{ transform: scale(1.04); }
.tcard__tag{
  position:absolute; top: .85rem; left:.85rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding:.35rem .7rem; border-radius: var(--pill);
  font-family: var(--ff-mono); font-size:.66rem; letter-spacing:.12em; text-transform: uppercase;
  font-weight:600; color: var(--ink);
}
.tcard__body{ padding: 1.4rem 1.5rem 1.5rem; display:flex; flex-direction:column; gap:1.1rem; flex:1; }
.tcard__quote{
  font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; line-height: 1.45;
  letter-spacing: -.015em; color: var(--ink);
  text-wrap: pretty;
}
.tcard__quote::before{ content:"„"; color: var(--blue-300); font-size:1.4em; line-height:0; vertical-align:-.1em; margin-right:.05em; }
.tcard__quote::after{ content:"\201C"; visibility:hidden; }
.tcard__person{
  display:flex; align-items:center; justify-content:space-between; gap: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
  margin-top:auto;
}
.tcard__name{ display:block; font-family: var(--ff-head); font-weight:700; font-size:.95rem; letter-spacing:-.01em; color: var(--ink); }
.tcard__role{ display:block; font-size:.78rem; color: var(--muted); }
.tcard__stars{ display:flex; gap:1px; flex:none; }
.tcard__stars svg{ width:14px; height:14px; color: #F5B73E; }
.tcard__metric{
  font-size:.85rem; color: var(--muted);
  background: var(--bg);
  border-radius: var(--pill);
  padding:.5rem .85rem;
  align-self: flex-start;
  font-family: var(--ff-mono); letter-spacing:.04em;
}
.tcard__metric b{ font-family: var(--ff-head); color: var(--navy-600); font-weight: 800; letter-spacing:-.015em; }

@media (max-width:900px){ .tcards{ grid-template-columns: 1fr 1fr; } }
@media (max-width:600px){ .tcards{ grid-template-columns: 1fr; } }

/* ============================================================
   COMPARE — dark with amber accent
   ============================================================ */
.compare{
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(79,195,247,.10), transparent 60%),
    radial-gradient(900px 500px at 15% 80%, rgba(79,195,247,.06), transparent 60%),
    linear-gradient(180deg, #0A1424 0%, #050B17 100%);
  color: #fff;
}
.compare__note{
  text-align:center; margin-top: 2rem;
  font-family: var(--ff-mono); font-size:.72rem; letter-spacing:.06em;
  color: rgba(255,255,255,.45); max-width: 48rem; margin-inline:auto;
}
.eyebrow--amber{ color: var(--amber-300); }
.eyebrow--amber .dot{ background: var(--amber-300); box-shadow: 0 0 0 4px rgba(79,195,247,.18); }
.em--amber{
  background: linear-gradient(135deg, var(--amber-200) 0%, var(--amber-500) 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  font-style: italic; font-family: "Plus Jakarta Sans", serif;
}

.compare__hero{
  display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items:center;
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
}
.compare__big{ text-align: left; }
.compare__big-n{
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 1; letter-spacing: -.045em;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, var(--amber-200) 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.compare__big-n .u{ -webkit-text-fill-color: var(--amber-300); color: var(--amber-300); font-size:.6em; margin-left:.1em; }
.compare__big-l{ color: rgba(255,255,255,.6); margin-top:.6rem; font-size: 1rem; max-width: 22rem; }
.compare__mini{ display:grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cmini{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); padding: 1.1rem 1.2rem;
}
.cmini__n{
  font-family: var(--ff-head); font-weight: 800;
  font-size: 1.5rem; letter-spacing: -.025em;
  color: var(--amber-300);
}
.cmini__l{ font-size:.85rem; color: rgba(255,255,255,.6); margin-top:.2rem; }

/* Table */
.ctable{
  margin-top: 2.5rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  overflow:hidden;
}
.ctable__row{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr;
  align-items:center;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ctable__row:last-child{ border-bottom: none; }
.ctable__row--head{
  background: rgba(255,255,255,.02);
}
.ctable__row--head .ctable__cell{
  font-family: var(--ff-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}
.ctable__row--head .ctable__cell--ai{ color: var(--amber-300); display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
.ctable__pill{
  display:inline-block;
  padding:.25rem .55rem;
  border:1px solid var(--amber-500); color: var(--amber-300);
  border-radius: var(--pill);
  font-family: var(--ff-mono); font-size:.62rem; letter-spacing:.1em; text-transform:uppercase;
}
.ctable__cell{
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.ctable__cell--label{
  color: rgba(255,255,255,.6); font-size: .92rem;
}
.ctable__cell--ai{
  font-weight: 600; color: #fff;
}
.ctable__row--total{
  background: linear-gradient(90deg, rgba(79,195,247,.08), rgba(79,195,247,.02));
  border-top: 1px solid rgba(79,195,247,.3);
}
.ctable__row--total .ctable__cell{ font-size: 1.05rem; }
.ctable__row--total .ctable__cell--label{ color: #fff; font-weight: 600; }
.ctable__row--total .ctable__cell--ai b{ color: var(--amber-300); font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }

@media (max-width:880px){
  .compare__hero{ grid-template-columns: 1fr; gap: 2rem; text-align:center; }
  .compare__big{ text-align:center; }
  .compare__big-l{ margin-inline:auto; }
  .ctable__row{ grid-template-columns: 1fr 1fr; padding: 1rem 1.2rem; gap:.5rem; }
  .ctable__cell--label{ grid-column: 1 / -1; padding-bottom:.2rem; font-family: var(--ff-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
  .ctable__row--head{ display:none; }
  .ctable__cell--ai::before{ content:"Rufwerk: "; color: var(--amber-300); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; margin-right:.4rem; font-family: var(--ff-mono); }
  .ctable__cell:not(.ctable__cell--label):not(.ctable__cell--ai)::before{ content:"Mitarbeiter: "; color: rgba(255,255,255,.45); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; margin-right:.4rem; font-family: var(--ff-mono); }
}
@media (max-width:560px){
  .compare__mini{ grid-template-columns: 1fr 1fr; }
  .cmini{ padding:.95rem 1rem; }
  .cmini__n{ font-size: 1.3rem; }
}


/* ============================================================
   PROBLEM SCENE — phone mockup + floating call cards
   ============================================================ */
.problem{ background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.problem__close{
  text-align:center; margin-top:3rem;
  font-family: var(--ff-head); font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: -.02em; color: var(--ink);
  max-width: 44rem; margin-inline:auto;
}
.problem__close em{ color: var(--warn); font-style: normal; font-weight: 700; }

.pscene{
  display:grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 2vw, 2.5rem);
  align-items:center;
  margin-top: clamp(2rem, 4vw, 3rem);
  position:relative;
}
.pscene__col{ display:flex; flex-direction:column; gap: 1.1rem; }
.pscene__col--l{ align-items:flex-end; }
.pscene__col--r{ align-items:flex-start; }

/* Floating call cards — fly in from outside on scroll, then gentle idle float */
.pcard{
  --pc-x: 0px;          /* enter offset on X (left col -, right col +) */
  --pc-y: 28px;         /* enter offset on Y */
  --pc-tilt: 0deg;      /* resting tilt — gives organic "scattered around phone" feel */
  --pc-delay: 0s;       /* stagger order */
  --pc-float-dur: 6s;   /* idle float speed (varied per card) */
  --pc-float-delay: 0s; /* desync floating */
  --pc-float-y: -9px;   /* idle float amplitude */
  position:relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  box-shadow: 0 12px 32px rgba(13,27,42,.08), 0 4px 10px rgba(13,27,42,.04);
  width: min(100%, 320px);
  opacity: 0;
  transform: translate3d(var(--pc-x), var(--pc-y), 0) scale(.94) rotate(var(--pc-tilt));
  transition:
    opacity .9s cubic-bezier(.16,1,.3,1) var(--pc-delay),
    transform 1.1s cubic-bezier(.16,1,.3,1) var(--pc-delay),
    box-shadow .3s var(--ease);
  will-change: transform, opacity;
}
.pscene.in .pcard{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(var(--pc-tilt));
  animation: pcardFloat var(--pc-float-dur) ease-in-out infinite var(--pc-float-delay);
  /* float kicks in only AFTER the transition lands — delay = pc-delay + transition-duration */
  animation-delay: calc(var(--pc-delay) + 1.1s);
}
@keyframes pcardFloat{
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(var(--pc-tilt)); }
  50%      { transform: translate3d(0, var(--pc-float-y), 0) scale(1) rotate(var(--pc-tilt)); }
}

/* Left column: fly in from the left + tilt left */
.pscene__col--l .pcard{ --pc-x: -64px; }
.pscene__col--l .pcard:nth-child(1){ --pc-tilt: -3.5deg; --pc-delay: .05s; --pc-float-dur: 5.6s; --pc-float-delay: .0s; --pc-float-y: -10px; transform-origin: right; }
.pscene__col--l .pcard:nth-child(2){ --pc-tilt:  2.2deg; --pc-delay: .18s; --pc-float-dur: 6.4s; --pc-float-delay: .35s; --pc-float-y: -7px;  }
.pscene__col--l .pcard:nth-child(3){ --pc-tilt: -2.5deg; --pc-delay: .31s; --pc-float-dur: 5.9s; --pc-float-delay: .65s; --pc-float-y: -8px;  }

/* Right column: fly in from the right + tilt right */
.pscene__col--r .pcard{ --pc-x:  64px; }
.pscene__col--r .pcard:nth-child(1){ --pc-tilt:  2.8deg; --pc-delay: .11s; --pc-float-dur: 6s;   --pc-float-delay: .2s;  --pc-float-y: -9px;  }
.pscene__col--r .pcard:nth-child(2){ --pc-tilt: -3deg;   --pc-delay: .24s; --pc-float-dur: 6.6s; --pc-float-delay: .5s;  --pc-float-y: -11px; }
.pscene__col--r .pcard:nth-child(3){ --pc-tilt:  3.5deg; --pc-delay: .37s; --pc-float-dur: 5.7s; --pc-float-delay: .8s;  --pc-float-y: -8px;  }

/* Scattered overlap so the cards look like a stack around the phone */
.pscene__col--l .pcard:nth-child(2){ margin-right: -1.4rem; }
.pscene__col--l .pcard:nth-child(3){ margin-right: .8rem; }
.pscene__col--r .pcard:nth-child(1){ margin-left: -1.4rem; }
.pscene__col--r .pcard:nth-child(3){ margin-left: .8rem; }

.pcard:hover{
  /* hover lifts the card cleanly, pauses its float, keeps tilt for character */
  animation-play-state: paused;
  transform: translate3d(0, -6px, 0) scale(1.015) rotate(var(--pc-tilt)) !important;
  box-shadow: 0 22px 48px rgba(13,27,42,.14), 0 6px 16px rgba(13,27,42,.06);
}

@media (prefers-reduced-motion: reduce){
  .pcard{ transition: none; animation: none !important; opacity: 1; transform: none; }
  .pscene.in .pcard{ animation: none; transform: rotate(var(--pc-tilt)); }
}

.pcard__head{ display:flex; align-items:center; gap:.75rem; margin-bottom:.55rem; }
.pcard__av{
  width:36px; height:36px; border-radius: 50%; flex:none;
  display:grid; place-items:center;
  background: var(--navy-900); color:#fff;
  font-family: var(--ff-head); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  overflow: hidden;
}
.pcard__av img{
  width:100%; height:100%; object-fit: cover; display: block;
}
.pcard--pfl .pcard__av{ background: linear-gradient(135deg, #0FAF6B, #14304E); }
.pcard--hwk .pcard__av{ background: linear-gradient(135deg, var(--amber-700), var(--navy-900)); }
.pcard--imo .pcard__av{ background: linear-gradient(135deg, var(--navy-600), var(--navy-900)); }
.pcard__meta{ display:flex; flex-direction:column; gap:.2rem; min-width: 0; }
.pcard__role{
  font-family: var(--ff-head); font-weight: 700; font-size: .98rem; letter-spacing: -.015em;
  color: var(--ink);
}
.pcard__tag{
  display:inline-flex; align-items:center; gap:.35rem;
  align-self: flex-start;
  background: var(--blue-50);
  color: var(--navy-700);
  padding: .2rem .55rem;
  border-radius: var(--pill);
  font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .06em; font-weight: 600;
}
.pcard__tag-dot{
  width: 6px; height:6px; border-radius:50%;
  background: var(--blue-500);
  animation: pulse 2s infinite;
}
.pcard__q{
  margin: 0; font-style: italic; color: var(--muted); font-size:.92rem; line-height: 1.5;
}

/* Notfall (RED) variant */
.pcard--notfall{
  border-color: rgba(224,74,95,.35);
  box-shadow: 0 12px 32px rgba(224,74,95,.18), 0 4px 10px rgba(224,74,95,.10);
}
.pcard--notfall .pcard__av--alert{
  background: linear-gradient(135deg, #E04A5F, #B82E40);
  color: #fff;
}
.pcard--notfall .pcard__tag--alert{
  background: rgba(224,74,95,.10);
  color: var(--warn);
  border: 1px solid rgba(224,74,95,.25);
}
.pcard--notfall .pcard__tag--alert .pcard__tag-dot{ background: var(--warn); }
.pcard--notfall .pcard__q{ color: var(--ink); font-style: normal; font-weight: 500; }
.pcard__handoff{
  display:inline-flex; align-items:center; gap: .4rem;
  margin-top: .85rem;
  padding: .35rem .7rem;
  background: var(--warn); color: #fff;
  border-radius: var(--pill);
  font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.pcard__handoff-ico{
  width: 16px; height:16px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display:grid; place-items: center;
}

/* Phone */
.pscene__phone{
  display:grid; place-items: center;
  filter: drop-shadow(0 30px 60px rgba(13,27,42,.18));
  position:relative;
}
.pscene__phone::before{
  content:""; position:absolute; inset:-10% -25%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(79,195,247,.18), transparent 70%);
  z-index:-1;
}
.phone{
  position:relative;
  width: 260px; height: 540px;
  background: linear-gradient(180deg, #1A2333 0%, #0D1B2A 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 18px 48px rgba(13,27,42,.20);
}
.phone__notch{
  position:absolute; top: 16px; left:50%; transform: translateX(-50%);
  width: 90px; height: 26px; border-radius: 14px;
  background: #050B17;
  z-index: 2;
}
.phone__screen{
  width:100%; height: 100%; border-radius: 32px;
  background: linear-gradient(180deg, #fff 0%, #F4F8FD 100%);
  padding: 2.6rem 1.4rem 1.4rem;
  display:flex; flex-direction:column;
  position:relative; overflow:hidden;
}
.phone__top{
  text-align:center;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
}
.phone__core{
  flex: 1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: .8rem;
  position:relative;
}
.phone__ring{
  position:absolute; top: 18%; left:50%; transform: translateX(-50%) scale(.8);
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(79,195,247,.6);
  opacity: 0;
  animation: phoneRingPulse 2.6s cubic-bezier(.16,1,.3,1) infinite;
}
.phone__ring--2{ animation-delay: 1.3s; }
@keyframes phoneRingPulse{
  0%   { opacity: 0;   transform: translateX(-50%) scale(.7);  }
  20%  { opacity: .55; }
  100% { opacity: 0;   transform: translateX(-50%) scale(1.6); }
}
.phone__avatar{
  position:relative;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--navy-900);
  display:grid; place-items: center;
  box-shadow: 0 8px 22px rgba(13,27,42,.20);
}
.phone__avatar svg{ width: 36px; height: 36px; }
.phone__avatar .phone__mark{ width: 52px; height: auto; }
.phone__name{
  margin-top: .9rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em;
  color: var(--ink);
}
.phone__status{
  display:flex; align-items:center; gap: .4rem;
  font-size: .82rem; color: var(--muted);
}
.phone__status-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 0 rgba(42,111,219,.5);
  animation: pulse 2s infinite;
}
.phone__bottom{
  display:flex; justify-content:center; gap: 1rem;
  padding-bottom: .5rem;
}
.phone__btn{
  width: 44px; height: 44px; border-radius: 50%;
  background: #E3ECF5;
  color: var(--ink-2);
  display:grid; place-items:center;
  transition: background .2s;
}
.phone__btn:hover{ background: #D2DEEC; }
.phone__btn--hangup{ background: var(--warn); color:#fff; }
.phone__btn--hangup:hover{ background: #C73E50; }

/* Responsive */
@media (max-width: 1080px){
  .pcard{ width: min(100%, 290px); }
  .phone{ width: 240px; height: 500px; }
}
@media (max-width: 880px){
  .pscene{ grid-template-columns: 1fr; gap: 2rem; }
  .pscene__col{ align-items: stretch; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pscene__col--l{ order: 2; }
  .pscene__phone{ order: 1; }
  .pscene__col--r{ order: 3; }
  .pcard{ flex: 1 1 280px; width: auto; max-width: 360px; }
  .pscene__col--l .pcard:nth-child(2),
  .pscene__col--l .pcard:nth-child(3),
  .pscene__col--r .pcard:nth-child(1),
  .pscene__col--r .pcard:nth-child(3){ margin: 0; }
  /* Mobile: drop the X-offset so cards just rise from below; keep tilt + float */
  .pscene__col--l .pcard, .pscene__col--r .pcard{ --pc-x: 0px; --pc-y: 24px; }
}
@media (max-width: 560px){
  .pscene__col{ flex-direction: column; }
  .pcard{ width: 100%; max-width: none; flex: none; }
}


/* (Amber/orange/brown dev theme removed — brand uses the CI blue palette only.) */


/* ============================================================
   BRANCHEN — tabbed showcase (Teleshop-ref layout)
   ============================================================ */
.branchen{ background: var(--bg); }
.bx__tabs{
  display:inline-flex;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 5px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.bx{ display:flex; flex-direction: column; align-items: center; }
.bx__tab{
  padding: .7rem 1.3rem;
  font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--muted);
  border-radius: var(--pill);
  transition: background .25s var(--ease), color .25s, transform .25s;
  white-space: nowrap;
}
.bx__tab:hover{ color: var(--ink); }
.bx__tab.is-active{ background: var(--ink); color: #fff; }

/* Auto-rotation progress bar under the active tab */
.bx__tab{ position: relative; }
.bx__tabprog{
  position: absolute; left: 16%; right: 16%; bottom: 5px; height: 3px;
  border-radius: 3px; background: rgba(255,255,255,.24);
  opacity: 0; transition: opacity .25s var(--ease); pointer-events: none;
}
.bx__tab.is-active .bx__tabprog{ opacity: 1; }
.bx__tabprog::after{
  content: ""; position: absolute; inset: 0 auto 0 0; width: 0;
  border-radius: 3px; background: var(--blue-300);
}
.bx.is-playing .bx__tab.is-active .bx__tabprog::after{
  animation: bxTabFill 10s linear forwards;
}
.bx.is-paused .bx__tab.is-active .bx__tabprog::after{ animation-play-state: paused; }
@keyframes bxTabFill{ from{ width: 0; } to{ width: 100%; } }
@media (prefers-reduced-motion: reduce){
  .bx.is-playing .bx__tab.is-active .bx__tabprog::after{ animation: none; }
}

.bx__pane{
  width: 100%;
  display: none;
  animation: bxPane .5s var(--ease-out);
}
.bx__pane.is-active{ display: block; }
@keyframes bxPane{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }

.bx__panel{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 460px;
}
.bx__body{
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  justify-content: center;
}
.bx__ico{
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
  margin-bottom: .4rem;
}
.bx__ico svg{ width: 22px; height: 22px; }
.bx__ico--green{ background: linear-gradient(135deg, #0FAF6B, #14304E); }
.bx__ico--amber{ background: linear-gradient(135deg, var(--amber-700), var(--amber-500)); }
.bx__h{
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.025em;
  color: var(--ink); margin: 0;
}
.bx__p{ color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; max-width: 32rem; }
.bx__list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.bx__list li{
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .92rem; color: var(--ink-2);
}
.bx__dot{
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); flex: none; margin-top: .55rem;
}
.bx__actions{ display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }

/* Solid pill (light bg variant of hero pill) */
.pill--solid{ background: var(--ink); color: #fff; }
.pill--solid .pill__circ{ background: var(--accent, var(--blue-300)); color: var(--navy-900); }
.pill--solid:hover{ background: #000; }

/* Visual area */
.bx__visual{
  position: relative;
  background: linear-gradient(140deg, var(--bg) 0%, #fff 100%);
  border-left: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 360px;
}
.bx__viz{
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 2rem;
}
.bx__viz::before{
  content:""; position: absolute; inset: 10% -5%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79,195,247,.12), transparent 70%);
  z-index: 0;
}
.bx__viz--pflege::before{ background: radial-gradient(50% 50% at 50% 50%, rgba(42,111,219,.14), transparent 70%); }
.bx__viz--hwk::before{ background: radial-gradient(50% 50% at 50% 50%, rgba(79,195,247,.16), transparent 70%); }
.bx__viz--sonst::before{ background: radial-gradient(50% 50% at 50% 50%, rgba(42,111,219,.14), transparent 70%); }

/* Real industry photo (replaces the iPhone mockup) */
.bx__img{
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(80%, 340px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.bx__img img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.bx__panel:hover .bx__img img{ transform: scale(1.04); }
.bx__img::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0) 50%, rgba(13,27,42,.34) 100%);
  pointer-events: none;
}

/* Realistic iPhone mockup (Branchen) */
.bx__phone{
  position: relative;
  width: 230px; height: 470px;
  background: linear-gradient(155deg, #2A3140 0%, #0D1B2A 60%, #0A1424 100%);
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.10),
    inset 0 -2px 8px rgba(0,0,0,.5),
    0 24px 50px rgba(13,27,42,.25),
    0 6px 14px rgba(13,27,42,.12);
  z-index: 1;
}
.bx__phone::before{
  content: ""; position: absolute; inset: 4px; border-radius: 40px;
  background: linear-gradient(155deg, rgba(255,255,255,.18), transparent 35%);
  pointer-events: none;
}
.bx__phone-island{
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 26px; border-radius: 16px;
  background: #050B17;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), inset 0 1px 2px rgba(255,255,255,.05);
}
.bx__phone-island::after{
  content: ""; position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4FC3F7 0%, #0D1B2A 80%);
}
.bx__phone-screen{
  position: relative;
  width: 100%; height: 100%; border-radius: 36px;
  background: linear-gradient(180deg, #FBFCFE 0%, #F1F6FD 100%);
  padding: 50px 1.1rem 1.5rem;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bx__phone-status{
  position: absolute; top: 16px; left: 22px; right: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--ink);
  z-index: 2;
}
.bx__phone-time{ letter-spacing: -.01em; }
.bx__phone-icons{ display: flex; align-items: center; gap: 4px; color: var(--ink); }
.bx__phone-icons svg{ display: block; }
.bx__phone-icons svg:nth-child(1){ width: 14px; height: 9px; }
.bx__phone-icons svg:nth-child(2){ width: 13px; height: 10px; }
.bx__phone-icons svg:nth-child(3){ width: 20px; height: 9px; }
.bx__phone-label{
  text-align: center;
  font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}
.bx__phone-core{
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem;
}
.bx__phone-mark{
  position: relative;
  width: 78px; height: 78px; border-radius: 22px;
  background: linear-gradient(155deg, #102236 0%, #0A1424 100%);
  display: grid; place-items: center;
  box-shadow:
    0 14px 30px rgba(13,27,42,.22),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.bx__phone-mark img{ width: 56%; height: auto; display: block; }
.bx__phone-pulse{
  position: absolute; inset: 0; border-radius: 22px;
  border: 1.5px solid rgba(79,195,247,.55);
  animation: bxPhonePulse 2.4s cubic-bezier(.16,1,.3,1) infinite;
  opacity: 0;
}
@keyframes bxPhonePulse{
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.45); }
}
.bx__phone-sub{
  font-family: var(--ff-head); font-weight: 600; font-size: .92rem; letter-spacing: -.015em;
  color: var(--ink); margin-top: .8rem; text-align: center;
}
.bx__phone-timer{
  font-family: var(--ff-mono); font-size: .72rem; color: var(--muted);
  display: flex; align-items: center; gap: .35rem;
}
.bx__phone-timer::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500);
  box-shadow: 0 0 0 0 rgba(42,111,219,.5); animation: pulse 2s infinite;
}
.bx__phone-actions{
  display: flex; gap: .55rem; margin-top: .9rem;
}
.bx__phone-btn{
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(13,27,42,.06); color: var(--ink-2);
  display: grid; place-items: center;
  transition: background .2s;
}
.bx__phone-btn:hover{ background: rgba(13,27,42,.12); }
.bx__phone-btn--end{ background: var(--warn); color: #fff; }
.bx__phone-btn--end:hover{ background: #C73E50; }
.bx__phone-footer{
  display: flex; justify-content: center; padding-top: .8rem;
}
.bx__phone-footer img{ height: 16px; width: auto; opacity: .55; }
.bx__phone-home{
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 100px; height: 4px; border-radius: 2px;
  background: rgba(13,27,42,.25);
}

/* Floating mini chips */
.bx__chip{
  position: absolute;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .55rem .75rem;
  box-shadow: 0 8px 20px rgba(13,27,42,.10);
  z-index: 2;
  animation: floatChip 6s ease-in-out infinite;
}
.bx__chip b{ font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: -.01em; color: var(--ink); display: block; }
.bx__chip small{ font-size: .68rem; color: var(--muted); font-style: italic; }
.bx__chip-av{
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; font-size: .66rem;
  overflow: hidden; flex: none;
}
.bx__chip-av img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.bx__chip-av--green{ background: linear-gradient(135deg, #0FAF6B, #14304E); }
.bx__chip-av--amber{ background: linear-gradient(135deg, var(--amber-700), var(--amber-500)); }
.bx__chip-av--alert{ background: linear-gradient(135deg, #E04A5F, #B82E40); }
.bx__chip--alert{
  border-color: rgba(224,74,95,.4);
  background: linear-gradient(135deg, #fff 0%, #FFF4F5 100%);
}
.bx__chip--tl{ top: 12%; left: 4%; animation-delay: 0s; }
.bx__chip--bl{ bottom: 14%; left: 6%; animation-delay: -2s; }
.bx__chip--tr{ top: 18%; right: 4%; animation-delay: -4s; }
@keyframes floatChip{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }

/* ---- "Andere Branchen": vertical infinite gallery (two columns up) ---- */
.bxgal{
  position: relative; z-index: 1;
  width: 100%; box-sizing: border-box;
  padding-inline: clamp(1rem, 3vw, 2rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  height: clamp(360px, 40vw, 470px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.bxgal__col{ overflow: hidden; }
.bxgal__track{ display: flex; flex-direction: column; will-change: transform; }
.bxgal__track--a{ animation: bxGalUp 30s linear infinite; }
.bxgal__track--b{ animation: bxGalUp 38s linear infinite; animation-delay: -13s; }
.bxgal:hover .bxgal__track{ animation-play-state: paused; }
@keyframes bxGalUp{ from{ transform: translateY(0); } to{ transform: translateY(-50%); } }
.bxgal__item{
  position: relative; margin: 0 0 12px; border-radius: 16px; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 14px 32px rgba(13,27,42,.14);
  aspect-ratio: 4 / 5;
}
.bxgal__item img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.bxgal__tag{
  position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px);
  display: inline-flex; align-items: center; gap: .42rem; width: max-content;
  padding: .34rem .65rem;
  background: rgba(13,27,42,.74); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--pill);
  font-family: var(--ff-head); font-weight: 600; font-size: .74rem; letter-spacing: -.01em;
}
.bxgal__tag::before{ content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex: none; }
@media (prefers-reduced-motion: reduce){ .bxgal__track{ animation: none; } }

/* Responsive */
@media (max-width: 980px){
  .bx__panel{ grid-template-columns: 1fr; min-height: auto; }
  .bx__visual{ border-left: none; border-top: 1px solid var(--line); min-height: 380px; }
}
@media (max-width: 600px){
  /* 4 tabs wrap to a 2×2 grid so "Andere Branchen" stays visible */
  .bx__tabs{ width: 100%; flex-wrap: wrap; border-radius: 22px; gap: 4px; }
  .bx__tab{ flex: 1 1 44%; padding: .82rem .5rem; font-size: .66rem; letter-spacing: .04em; white-space: normal; text-align: center; line-height: 1.25; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .bx__tabprog{ left: 22%; right: 22%; bottom: 6px; }
  .bx__chip{ padding: .45rem .6rem; gap: .4rem; }
  .bx__chip b{ font-size: .72rem; }
  .bx__chip small{ font-size: .62rem; }
  .bx__chip-av{ width: 24px; height: 24px; font-size: .58rem; }
  .bx__chip--tl{ left: 1%; }
  .bx__chip--tr{ right: 1%; }
  .bx__chip--bl{ left: 2%; }
  /* Andere-Branchen vertical gallery: a touch shorter on phones */
  .bx__visual{ min-height: auto; }
  .bxgal{ height: 340px; padding-block: 1.1rem; gap: 10px; }
  .bxgal__item{ margin-bottom: 10px; }
  .bxgal__tag{ font-size: .68rem; padding: .3rem .55rem; }
}

/* ---- Mobile UX polish ---- */
@media (max-width: 560px){
  /* tighter vertical rhythm = less endless scrolling on phones */
  :root{ --section-y: clamp(58px, 12vw, 84px); }
  /* comfortable, thumb-friendly tap targets */
  .pill{ min-height: 48px; align-items: center; }
  .btn--lg{ min-height: 52px; }
}

/* ========================================================================
   TEAM
   ======================================================================== */
.team__grid{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(1.4rem, 3vw, 2.6rem);
  max-width:720px; margin:clamp(2.4rem,5vw,3.4rem) auto 0;
}
.team__photo{
  position:relative; aspect-ratio:4/5; border-radius:var(--r-lg); overflow:hidden;
  background:radial-gradient(120% 90% at 50% 0%, #16345C 0%, #0C1B30 60%, #081320 100%);
  border:1px solid var(--line-2); box-shadow:var(--shadow-lg);
  display:grid; place-items:center;
}
.team__photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.team__ph{
  font-family:var(--ff-head); font-weight:800; font-size:clamp(2.4rem,5vw,3.4rem);
  letter-spacing:.06em; color:rgba(255,255,255,.92);
  text-shadow:0 4px 18px rgba(0,0,0,.35);
}
.team__ph::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(60% 50% at 50% 38%, rgba(79,195,247,.18), transparent 70%);
  pointer-events:none;
}
.team__meta{ margin-top:1.1rem; text-align:center; }
.team__name{ display:block; font-family:var(--ff-head); font-weight:700; font-size:1.18rem; letter-spacing:-.01em; color:var(--ink); }
.team__role{ display:block; font-size:.92rem; color:var(--muted); margin-top:.2rem; }
@media (max-width:560px){
  .team__grid{ grid-template-columns:1fr; max-width:300px; gap:2rem; }
}

/* ========================================================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   ======================================================================== */
.legal{
  padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 128px);
  background: var(--bg);
}
.legal .wrap{ max-width: 820px; }
.legal .eyebrow{ color: var(--muted-2); margin-bottom: .6rem; }
.legal h1{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.028em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 2rem;
}
.legal h2{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: var(--ink);
  margin: 2.4rem 0 .8rem;
}
.legal p{
  font-family: 'Inter', sans-serif;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.legal p a{ color: var(--blue-500); text-decoration: underline; text-underline-offset: 3px; }
.legal p a:hover{ color: var(--navy-600); }
.legal__notice{
  margin: 0 0 2.4rem;
  padding: 1.1rem 1.3rem;
  background: var(--blue-50);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--blue-500);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}
.legal__notice strong{ color: var(--navy-900); }
.legal__back{ margin-top: 3rem; font-size: .95rem; }
.legal__back a{ color: var(--muted); text-decoration: none; }
.legal__back a:hover{ color: var(--navy-600); }

@media (max-width: 600px){
  .legal{ padding-top: clamp(80px, 18vw, 110px); }
  .legal h2{ margin-top: 2rem; }
}

/* ========================================================================
   COOKIE CONSENT BANNER
   ======================================================================== */
.cookie{
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(13,27,42,.18);
  padding: 1.1rem 1.3rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
}
.cookie.is-in{ opacity: 1; transform: translateY(0); }
.cookie[hidden]{ display: none; }
.cookie__inner{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie__copy{ flex: 1 1 320px; min-width: 0; }
.cookie__copy strong{
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .25rem;
}
.cookie__copy p{
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.cookie__copy a{ color: var(--blue-500); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions{
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}
.cookie__btn{
  appearance: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
  min-height: 44px;
}
.cookie__btn:hover{ background: var(--bg); border-color: var(--muted-2); }
.cookie__btn--primary{
  background: var(--navy-600);
  border-color: var(--navy-600);
  color: var(--white);
}
.cookie__btn--primary:hover{ background: var(--navy-700); border-color: var(--navy-700); }
.cookie__btn:focus-visible{ outline: 2px solid var(--blue-500); outline-offset: 3px; }

@media (max-width: 780px){
  .cookie{ bottom: 84px; /* sit above mobile sticky CTA */ }
  .cookie__inner{ gap: 1rem; }
  .cookie__actions{ width: 100%; }
  .cookie__btn{ flex: 1; padding: .75rem .8rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce){
  .cookie{ transition: none; }
}

/* ============================================================
   HERO — full-bleed dark stage. Removes the "card" frame, lets
   the dark navy gradient breathe to the page edges and fade
   into the page background below. The orb is the focal point;
   stronger glow + a soft spotlight cone behind it sell the
   Voice-Agent presence.
   ============================================================ */
.hero{ padding-top: 0; padding-bottom: 0; }
.hero__shell{
  margin: 0 !important;
  border-radius: 0 !important;
  /* base radial gradient stays, but we add atmospheric layers below */
  background:
    radial-gradient(60% 90% at 50% 30%, rgba(79,195,247,.10) 0%, rgba(79,195,247,0) 55%),
    radial-gradient(120% 80% at 50% 0%, #0F2238 0%, #0A1424 45%, #050B17 100%) !important;
  position: relative;
}
/* (Bottom fade removed — the dark hero now runs solid to its bottom edge.) */
@media (max-width: 640px){
  .hero__shell{ margin: 0 !important; border-radius: 0 !important; }
}

/* Halo and noise overrides removed — they painted a visible bright ellipse
   around the orb that read as a rectangle. The original soft scattered
   halo (defined further up in this file) takes over again. */

/* Brighter accent on the headline em */
.hero__h1 .em{
  background: linear-gradient(120deg, #BEE6FB 0%, #6FD1F9 35%, #4FC3F7 65%, #2A6FDB 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(79,195,247,.18));
}

/* Larger canvas footprint than the visible cloud → generous transparent
   margin on all sides so the square canvas bounds never show. */
.orb{
  width: clamp(140px, 13vw, 184px);
  height: clamp(140px, 13vw, 184px);
  margin-bottom: .7rem;
}

/* ----- ORB enhancements ----- */

/* Slightly stronger halo behind the orb (cyan glow) — circular clip so no
   square footprint is ever visible behind the orb. */
.orb__halo{
  inset: -14%;
  border-radius: 50%;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(79,195,247,.34) 0%, rgba(79,195,247,.12) 38%, transparent 72%);
  filter: blur(14px);
  animation: orbBreath 4s ease-in-out infinite;
}

/* Call-wave rings — pulse outward like an incoming-call animation */
.orb__rings{
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb__ring{
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  border: 1.5px solid rgba(79,195,247,.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.45);
  opacity: 0;
  animation: callWave 4.2s cubic-bezier(.16, 1, .3, 1) infinite;
  will-change: transform, opacity;
}
.orb__ring--1{ animation-delay: 0s;    }
.orb__ring--2{ animation-delay: 1.4s;  }
.orb__ring--3{ animation-delay: 2.8s;  }
@keyframes callWave{
  0%   { transform: translate(-50%, -50%) scale(.45); opacity: 0;   border-width: 2px; }
  8%   { opacity: .65; }
  100% { transform: translate(-50%, -50%) scale(1.85); opacity: 0;  border-width: 1px; }
}

/* ----- Center mark: Rufwerk R + voice bars as an animated 3D element ----- */
.orb__mark{
  position: relative;          /* grid child of .orb → auto-centered */
  z-index: 3;
  width: clamp(108px, 12.5vw, 150px);
  aspect-ratio: 430 / 319;
  perspective: 560px;
  display: grid; place-items: center;
}
.orb__mark-glow{
  position: absolute; inset: -55% -35%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(79,195,247,.40) 0%, rgba(79,195,247,.12) 45%, transparent 72%);
  filter: blur(16px);
  z-index: -1;
  animation: orbBreath 4s ease-in-out infinite;
}
.orb__mark-3d{
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  /* --rx / --ry driven by the mouse loop in app.js (synced to the particle tilt) */
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.orb__mark-stack{
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: markFloat 7s ease-in-out infinite;
}
.orb__mark-svg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  /* front face glow + crisp contact shadow */
  filter:
    drop-shadow(0 8px 20px rgba(79,195,247,.45))
    drop-shadow(0 2px 5px rgba(5,11,23,.55));
}
.orb__mark-r{ fill: url(#rufmark_r); }
.orb__mark-bar{
  fill: url(#rufmark_bars);
  transform-box: fill-box;
  transform-origin: center;
}
/* Extrusion layers (cloned by JS) — solid navy "sides" behind the bright face */
.orb__mark-layer{ filter: none !important; }
.orb__mark-layer .orb__mark-r,
.orb__mark-layer .orb__mark-bar{ fill: #173a5e !important; }
.orb__mark-layer .orb__mark-bar{ animation: none !important; }

/* Voice equalizer — bars gently pulse around their centre */
.orb__mark-bar--1{ animation: eqBar 1.15s ease-in-out  infinite .00s; }
.orb__mark-bar--2{ animation: eqBar 0.92s ease-in-out  infinite .18s; }
.orb__mark-bar--3{ animation: eqBar 1.30s ease-in-out  infinite .07s; }
.orb__mark-bar--4{ animation: eqBar 1.02s ease-in-out  infinite .26s; }
@keyframes eqBar{
  0%, 100% { transform: scaleY(.62); }
  50%      { transform: scaleY(1);   }
}
@keyframes markFloat{
  0%, 100% { transform: translateY(0)     rotateZ(-1deg) rotateY(-11deg); }
  50%      { transform: translateY(-5px)  rotateZ(1deg)  rotateY(11deg);  }
}

@media (prefers-reduced-motion: reduce){
  .orb__ring{ animation: none; }
  .orb__halo{ animation: none; }
  .orb__mark-glow, .orb__mark-stack, .orb__mark-bar{ animation: none; }
  .orb__mark-bar{ transform: scaleY(1); }
}

@media (max-width: 560px){
  .orb__mark{ width: clamp(96px, 30vw, 120px); }
}

/* ============================================================
   ROI CALCULATOR — trigger button + modal
   ============================================================ */
.btn--accent{ background: var(--blue-300); color: var(--navy-900); }
.btn--accent:hover{ background: #76D3FA; transform: translateY(-2px); }
.btn--accent svg{ color: var(--navy-900); }

.compare__cta{ display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

.calc-modal{
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.calc-modal[hidden]{ display: none; }
.calc-modal__backdrop{
  position: absolute; inset: 0;
  background: rgba(5, 11, 23, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.calc-modal.is-open .calc-modal__backdrop{ opacity: 1; }
.calc{
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh; overflow: auto;
  background:
    radial-gradient(120% 80% at 50% 0%, #14304E 0%, #0A1424 55%, #050B17 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  box-shadow: 0 40px 100px rgba(5,11,23,.6);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.calc-modal.is-open .calc{ opacity: 1; transform: translateY(0) scale(1); }
.calc__close{
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer; transition: background .2s;
}
.calc__close:hover{ background: rgba(255,255,255,.16); }
.calc__head{ margin-bottom: clamp(1.4rem, 3vw, 2rem); max-width: 44ch; }
.calc__head .eyebrow{ margin-bottom: .6rem; }
.calc__head h3{
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.025em;
  margin: 0 0 .5rem; color: #fff;
}
.calc__head p{ margin: 0; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.5; }
.calc__body{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.calc__sliders{ display: flex; flex-direction: column; gap: 1.6rem; }
.calc__field{ display: flex; flex-direction: column; gap: .8rem; }
.calc__label{
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem; color: rgba(255,255,255,.9);
}
.calc__label output{ color: var(--blue-300); font-weight: 700; font-variant-numeric: tabular-nums; }
.calc input[type="range"]{
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.14);
  outline: none; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-300);
  border: 3px solid #0A1424;
  box-shadow: 0 2px 8px rgba(79,195,247,.5);
  cursor: pointer;
}
.calc input[type="range"]::-moz-range-thumb{
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-300); border: 3px solid #0A1424;
  box-shadow: 0 2px 8px rgba(79,195,247,.5); cursor: pointer;
}
.calc input[type="range"]:focus-visible{ outline: 2px solid var(--blue-300); outline-offset: 4px; }
.calc__results{
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
}
.calc__res{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.calc__res span{
  display: block;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: .5rem;
}
.calc__res b{
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em;
  color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
}
.calc__res--accent b{ color: var(--blue-300); }
.calc__note{
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
  font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.5;
}
body.calc-open{ overflow: hidden; }

@media (max-width: 640px){
  .calc__body{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .calc, .calc-modal__backdrop{ transition: none; }
}

/* ============================================================
   EASTER EGG — AI talks back when you try to hang up
   ============================================================ */
.phone-egg{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%, -50%) scale(.82);
  width:max-content; max-width:250px;
  display:flex; align-items:flex-start; gap:.6rem;
  background:#fff; color:var(--ink);
  border:1px solid var(--line-2);
  border-radius:16px;
  padding:.8rem .95rem;
  box-shadow:0 24px 54px rgba(13,27,42,.30);
  z-index:30; opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease), transform .4s cubic-bezier(.34,1.56,.64,1);
}
.phone-egg[hidden]{ display:none; }
.phone-egg.is-in{ opacity:1; transform:translate(-50%, -50%) scale(1); pointer-events:auto; }
.phone-egg__av{
  width:30px; height:30px; border-radius:50%; flex:none;
  background:linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display:grid; place-items:center;
}
.phone-egg__av img{ width:62%; height:auto; display:block; }
.phone-egg__msg{ margin:0; font-size:.85rem; line-height:1.42; font-weight:500; }

.phone__btn--shake{ animation: phoneShake .5s ease; }
@keyframes phoneShake{
  0%,100%{ transform:rotate(0); }
  20%{ transform:rotate(-13deg); } 40%{ transform:rotate(11deg); }
  60%{ transform:rotate(-7deg); }  80%{ transform:rotate(4deg); }
}
@media (prefers-reduced-motion: reduce){
  .phone-egg{ transition:opacity .2s; }
  .phone-egg.is-in{ transform:translate(-50%,-50%) scale(1); }
  .phone__btn--shake{ animation:none; }
}

