/* ============================================================
   Digital Hub Rhein-Neckar — Landingpage
   Zwei Welten: Papier/Archiv (Stiche, Beige) & Datenraum (Navy, Pixel)
   Figma-Referenzen: Menü "Group 1686553129", Gradient "4866"/"56",
   Cards "Card 3", Glas-Logo "Group 1686553126"
   ============================================================ */

@font-face { font-family: 'Almarena'; src: url('../assets/fonts/alm-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Almarena'; src: url('../assets/fonts/alm-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Almarena Display'; src: url('../assets/fonts/alm-dsbold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #000330;
  --navy-2: #070d46;
  --navy-panel: #0a1152;
  --ink: #131347;
  --blue: #466DFF;
  --blue-royal: #294DEB;
  --blue-bright: #9DB4FF;
  --paper: #F4F3EE;
  --paper-dim: #E9E7DE;
  --gold: #FFE5AA;
  --navy-deep: #000448;
  --ice: #F0F5FF;
  --line-dark: rgba(157, 180, 255, .16);
  --line-paper: rgba(19, 19, 71, .14);
  --dim-on-dark: rgba(244, 243, 238, .62);
  --dim-on-paper: rgba(19, 19, 71, .64);
  --display: 'Almarena Display', 'Outfit', sans-serif;
  --ui: 'Almarena', 'Outfit', sans-serif;
  --body: 'Outfit', sans-serif;
  --card-font: 'Archivo', 'Outfit', sans-serif;
  /* Figma Frame 4866 */
  --grad-figma: linear-gradient(180deg, #F0F5FF 0%, #D1DEF7 25%, #294DEB 50%, #000448 75%, #000000 100%);
  /* Figma Frame 56 */
  --grad-figma-2: linear-gradient(168deg, #F0F5FF 0%, #D1DEF7 25%, #294DEB 50%, #050D2E 75%, #000000 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 100%;
  --gutter: clamp(20px, 4.5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--navy);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--blue); color: var(--paper); }

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

.skip-link { position: absolute; left: -9999px; z-index: 300; }
.skip-link:focus { left: 16px; top: 16px; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============ Glas-Logo (Figma GLASS-Effekt, via Maske) ============ */
.glass-mark {
  display: inline-block; width: 38px; height: 38px; flex: none;
  -webkit-mask: url('../assets/img/logo-mark.png') center / contain no-repeat;
  mask: url('../assets/img/logo-mark.png') center / contain no-repeat;
  background: rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(9px) saturate(1.3) brightness(1.25);
  backdrop-filter: blur(9px) saturate(1.3) brightness(1.25);
}

/* ============ Cursor ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none; }
.cursor__dot {
  position: fixed; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); transform: translate(-50%, -50%);
}
.cursor__ring {
  position: fixed; width: 38px; height: 38px; border-radius: 50%;
  border: 1.4px solid rgba(255, 229, 170, .55);
  transform: translate(-50%, -50%) scale(1);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  display: flex; align-items: center; justify-content: center;
}
.cursor--active .cursor__ring { width: 58px; height: 58px; background: rgba(255, 229, 170, .12); border-color: var(--gold); }
.cursor--label .cursor__ring { width: 96px; height: 96px; background: var(--gold); border-color: var(--gold); }
.cursor--label .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: .04em; color: var(--navy); opacity: 0; text-align: center; line-height: 1.2; padding: 0 8px; }
.cursor--label .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ============ Liquid Glass (Design-System aus Referenz-Prompt) ============ */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============ Navigation — Glass-Pill links, Logo mittig ============ */
.nav {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 4vw, 64px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__pill:not(.nav__pill--cta) { grid-column: 1; justify-self: start; }
.nav__pill--cta { grid-column: 3; justify-self: end; }
.nav__burger { grid-column: 3; justify-self: end; }
.nav__pill {
  flex: 0 0 auto; display: flex; align-items: center; gap: 4px;
  padding: 8px; border-radius: 9999px;
  background: rgba(5, 9, 52, .34);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}
.nav__group { display: flex; align-items: center; gap: 2px; }
.nav__pill a {
  font-family: var(--ui); font-weight: 500; font-size: 15px; letter-spacing: .02em;
  color: rgba(255, 255, 255, .9); text-decoration: none;
  padding: 14px 18px; border-radius: 9999px;
  white-space: nowrap;
  transition: color .3s, background .3s;
  position: relative; z-index: 1;
}
.nav__pill a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav__cta {
  font-family: var(--ui); font-weight: 500; font-size: 17px; letter-spacing: .02em;
  background: #fff; color: var(--navy-deep); text-decoration: none;
  padding: 14px 26px; border-radius: 9999px; white-space: nowrap;
  transition: background .3s, color .3s;
  position: relative; z-index: 1;
}
.nav__cta:hover { background: var(--gold); color: var(--navy-deep); }
.nav__brand {
  grid-column: 2; grid-row: 1;
  display: inline-flex; text-decoration: none;
}
.glogo { position: relative; display: block; aspect-ratio: 338 / 204; }
.glogo__edge {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible; display: block;
}
.glogo__edge g { stroke: url(#gw-edge); }
.nav__brand { z-index: 5; }
.nav__brand .glogo { width: 152px; }
.nav__brand .gw {
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px) saturate(1.3) brightness(1.08);
  backdrop-filter: blur(12px) saturate(1.3) brightness(1.08);
}
body[data-nav="dark"]:not(.menu-open) .nav .gw {
  background: linear-gradient(115deg, rgba(0, 4, 72, .14) 0%, rgba(0, 4, 72, .05) 50%, rgba(0, 4, 72, .1) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3) brightness(.96);
  backdrop-filter: blur(14px) saturate(1.3) brightness(.96);
}
body[data-nav="dark"]:not(.menu-open) .nav .glogo__edge g { stroke: url(#gw-edge-dark); }
/* Textfarbe/Glass folgt der Sektion darunter (data-nav am body) */
body[data-nav="dark"]:not(.menu-open) .nav__pill a { color: var(--ink); }
body[data-nav="dark"]:not(.menu-open) .nav__pill a:hover { background: rgba(0, 4, 72, .08); color: var(--ink); }
.nav .nav__pill a.nav__cta { background: #fff; color: var(--navy-deep); }
.nav .nav__pill a.nav__cta:hover { background: var(--gold); color: var(--navy-deep); }
body[data-nav="dark"]:not(.menu-open) .nav .nav__pill a.nav__cta { background: var(--navy-deep); color: #fff; }
body[data-nav="dark"]:not(.menu-open) .nav .nav__pill a.nav__cta:hover { background: var(--blue-royal); color: #fff; }
body[data-nav="dark"]:not(.menu-open) .nav__pill { background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6); }
body[data-nav="dark"]:not(.menu-open) .nav__burger { color: var(--ink); }
.nav__burger {
  display: none; position: relative; z-index: 130;
  width: 46px; height: 46px; border-radius: 50%;
  color: var(--paper);
}
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease), top .35s; z-index: 1; }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
body.menu-open .nav__burger { color: var(--paper); }

/* Footer nutzt weiterhin Brand + Wortmarke */
.footer .nav__brand { position: static; transform: none; display: inline-flex; align-items: center; gap: 13px; }

@media (max-width: 1100px) {
  .nav__pill, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
}

.mmenu {
  position: fixed; inset: 0; z-index: 95; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 0 var(--gutter) max(30px, calc(env(safe-area-inset-bottom, 0px) + 22px));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .65s var(--ease-out), visibility 0s .65s;
}
.mmenu--open { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .65s var(--ease-out), visibility 0s; }
.mmenu__links { display: flex; flex-direction: column; gap: 6px; }
.mmenu__links a {
  font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9vw, 48px);
  color: var(--paper); text-decoration: none; line-height: 1.16;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mmenu--open .mmenu__links a { opacity: 1; transform: none; }
.mmenu__links a:hover { color: var(--blue-bright); }
.footer__badge--mobile { display: none; }

/* Touch: grosse Anker-Kacheln nicht antippbar — verhindert versehentliche
   Spruenge zu anderen Sektionen beim Scrollen (Bento, News-Cards, Partner-Wall);
   .card--post (News-Overlay-Buttons) bleiben antippbar */
@media (pointer: coarse) {
  .hbento .hb,
  #news-grid .card,
  .pwall .pcard { pointer-events: none; }
  #news-grid .card--post { pointer-events: auto; }
}

/* Links mittig, Copyright + Badge unten angepinnt */
.mmenu__links { margin-top: auto; }
.mmenu__foot { margin-top: auto; font-size: 13px; color: var(--dim-on-dark); letter-spacing: .08em; text-align: center; }
.mmenu__badge { display: block; width: fit-content; margin: 4px auto 0; opacity: .8; transition: opacity .3s; }
.mmenu__badge:hover { opacity: 1; }
.mmenu__badge img { width: 108px; height: auto; display: block; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ui); font-weight: 500; font-size: 14.5px; letter-spacing: .03em;
  padding: 15px 30px; border-radius: 14px; text-decoration: none;
  position: relative; overflow: hidden;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
  will-change: transform;
  z-index: 0;
}
/* Einheitliches Hover-System: Flaeche und Textfarbe wechseln synchron (immer lesbar) + dezenter Lift */
.btn--pill { border-radius: 999px; }
.btn > * { position: relative; z-index: 1; }
.btn:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy) !important; transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--ghost { border: 1.4px solid rgba(244, 243, 238, .4); color: var(--paper); }
.sec--paper .btn--ghost { border-color: rgba(0, 4, 72, .4); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--paper) !important; border-color: var(--paper) !important; }
.btn--ink { border: 1.4px solid var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--paper) !important; }
.btn--nav { padding: 11px 22px; font-size: 13px; background: var(--blue); color: #fff; }
.btn--big { padding: 20px 44px; font-size: 16.5px; }

/* ============ Sections base ============ */
.sec { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--navy { background: var(--navy); color: var(--paper); }
/* Grosse Sektions-Ueberschrift (frueher Eyebrow) */
.sec__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.015em;
}
.sec__title em { font-style: normal; color: var(--blue); }
.sec--navy .sec__title em { color: var(--blue-bright); }
/* Subline (frueher grosse Zeile) */
.sec__sub {
  font-family: var(--ui); font-weight: 400;
  font-size: clamp(17px, 1.9vw, 24px); line-height: 1.35;
  margin-top: 18px; max-width: 34ch;
  color: var(--dim-on-paper);
}
.sec--navy .sec__sub, .themen .sec__sub { color: inherit; }
.sec--navy .sec__sub { color: var(--blue-bright); }
.sec--paper .sec__sub, .themen__head .sec__sub { color: var(--ink); opacity: .8; }
.sec__lede { font-size: clamp(15.5px, 1.35vw, 18px); max-width: 46ch; color: var(--dim-on-paper); }
.sec--navy .sec__lede { color: var(--dim-on-dark); }
.sec__lede--dim { opacity: .75; margin-top: 14px; }
.sec__head {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 30px 70px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 90px);
}
.sec__head > .sec__lede { justify-self: end; }
.sec__head .sec__lede { padding-bottom: 8px; }
.sec__more { margin-top: clamp(40px, 5vw, 70px); display: flex; justify-content: center; }

/* Reveal-Grundzustand (JS animiert) */
.hline { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hline > span { display: inline-block; transform: translateY(112%); }

/* ============ Hero — zweigeteilt: Gradient links, Bild rechts ============ */
.hero {
  position: relative; min-height: 100svh; overflow: clip;
  display: flex; flex-direction: column; align-items: center;
  background: var(--grad-figma);
}

.hero__canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.hero__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__content {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: max(15vh, 120px) var(--gutter) 0;
}
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(46px, 6.6vw, 108px);
  line-height: .98; letter-spacing: -.015em;
  color: var(--navy-deep);
}
.hero__title em { font-style: normal; color: var(--blue-royal); }
.hero__strap {
  font-family: var(--ui); font-weight: 500;
  font-size: clamp(16px, 1.7vw, 24px); letter-spacing: .01em;
  color: var(--navy-deep);
  margin-top: 3vh;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4.5vh; }
/* CTAs auf hellem Verlaufsbereich: kraeftig absetzen; eckig mit leichter Rundung (Figma) */

.hero .btn--primary { background: var(--navy-deep); color: #fff; box-shadow: 0 14px 34px -12px rgba(0, 4, 72, .45); }
.hero .btn--ghost { border-color: #fff; color: #fff; }
.hero__phone {
  position: relative; z-index: 2;
  margin-top: auto;
  width: min(620px, 78vw);
}
.hero__tablet { display: block; width: 100%; height: auto; }
.hero__matchbtn {
  position: absolute;
  left: 19%; right: 19%;
  top: 59.5%; height: 16.5%;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--ease);
}
/* Pulse als perfekter Kreis aus der Button-Mitte */
.hero__matchbtn::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  height: 115%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: matchpulse 2.6s var(--ease) infinite;
  pointer-events: none;
}
.hero__matchbtn:hover { transform: scale(1.045); }
.hero__matchbtn:hover::after { animation-play-state: paused; }
@keyframes matchpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(70, 109, 255, .55); }
  55% { box-shadow: 0 0 0 22px rgba(70, 109, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__matchbtn::after { animation: none; } }

/* ============ Worum gehts — 3 Varianten ============ */
.statement {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -.005em;
  max-width: 24ch;
}
.statement em { font-style: normal; color: var(--blue); }
.statement--s { font-size: clamp(22px, 2.4vw, 34px); max-width: 26ch; }
.statement .w { opacity: .12; display: inline-block; transition: opacity .5s var(--ease); transition-delay: calc(var(--i, 0) * 36ms); }
.statement.in .w { opacity: 1; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); margin-top: clamp(50px, 6vw, 90px); }
.vm--stack { grid-template-columns: 1fr; gap: 26px; margin-top: clamp(34px, 4vw, 54px); }
.vm__item { border-top: 1.6px solid var(--ink); padding-top: 24px; }
.vm__label {
  font-family: var(--ui); font-weight: 500; font-size: 12.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 14px;
}
.vm__item p { font-family: var(--ui); font-weight: 400; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.42; color: var(--ink); max-width: 34ch; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(50px, 7vw, 100px); }
.stats__num {
  font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1; color: var(--blue); display: block; margin-bottom: 12px;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.stats__label { font-size: 14px; color: var(--dim-on-paper); max-width: 30ch; display: block; }
.stats--gold .stats__num { color: var(--gold); }
.stats--gold .stats__label { color: var(--dim-on-dark); }
.stats--compact { gap: 18px; margin-top: clamp(30px, 4vw, 50px); }
.stats--compact .stats__num { font-size: clamp(30px, 3vw, 46px); margin-bottom: 4px; }

/* Variante A: Editorial */
.worum__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.worum__side { position: sticky; top: 12vh; }
.worum__side .sec__lede { margin-top: 26px; }
.worum__etchcard {
  margin-top: clamp(30px, 4vw, 50px);
  background: #fff; padding: 14px 14px 12px;
  box-shadow: 0 20px 50px -24px rgba(19, 19, 71, .35);
  max-width: 320px;
}
.worum__etchcard img { width: 100%; mix-blend-mode: multiply; }
.worum__etchcard figcaption {
  font-family: var(--ui); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim-on-paper); margin-top: 10px;
}

/* ============ Matching ============ */
.matching { background: linear-gradient(180deg, #000000 0%, #030848 55%, var(--navy) 100%); }
.matching__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.matching__intro { position: sticky; top: 16vh; }
.matching__intro .btn { margin-top: 36px; }
.matching__intro .sec__lede { margin-top: 22px; }
.steps { list-style: none; display: flex; flex-direction: column; }
.step {
  position: relative; display: flex; gap: clamp(20px, 3vw, 44px); align-items: flex-start;
  padding: clamp(34px, 4vw, 56px) 0;
}
.step + .step { border-top: 1px solid var(--line-dark); }
.step__no {
  font-family: var(--display); font-weight: 700; font-size: clamp(64px, 8vw, 128px); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.4px var(--blue-bright);
  flex: none; min-width: 1.2ch;
}
.step.is-active .step__no { color: var(--blue-bright); -webkit-text-stroke-color: transparent; text-shadow: 0 0 40px rgba(70, 109, 255, .5); }
.step__body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 10px; }
.step__body p { color: var(--dim-on-dark); max-width: 40ch; font-size: 15.5px; }
.step__flow { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--blue), transparent); transform: scaleX(0); transform-origin: left; }

/* ============ Aktuelles — Filter-Pills + Cards nach Figma ============ */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(30px, 4vw, 50px); }
.chip {
  font-family: var(--card-font); font-weight: 400; font-size: 14px;
  padding: 7px 16px; border-radius: 200px;
  background: rgba(244, 243, 238, .16); color: #fff;
  transition: all .3s var(--ease);
}
.chip:hover { background: rgba(244, 243, 238, .3); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* Card nach Figma "Card 3": weiss, Bild auf Blau, Tag-Pill, Logo + Linie + Titel */
.card {
  position: relative; background: #fff; text-decoration: none;
  padding: 10px; display: flex; flex-direction: column;
  font-family: var(--card-font);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -22px rgba(0, 3, 48, .55); }
.card--hidden { display: none; }
.card__media {
  position: relative; background: var(--blue); overflow: hidden;
  aspect-ratio: 332 / 317;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-family: var(--card-font); font-weight: 400; font-size: 12px;
  background: var(--blue); color: var(--paper);
  padding: 5px 12px; border-radius: 200px;
  box-shadow: 0 2px 8px rgba(0, 4, 72, .25);
}
.card__foot { padding: 14px 6px 8px; display: flex; flex-direction: column; gap: 10px; }
.card__logo { height: 18px; width: auto; max-width: 110px; object-fit: contain; object-position: left; }
.card__brand { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-deep); }
.card__line { display: block; height: 1px; background: rgba(0, 4, 72, .18); }
.card__prov {
  align-self: flex-start;
  font-family: var(--card-font); font-weight: 400; font-size: 12px;
  color: var(--navy-deep);
  background: rgba(70, 109, 255, .12);
  padding: 5px 12px; border-radius: 200px;
}
.card__excerpt {
  font-family: var(--card-font); font-weight: 400; font-size: 13.5px; line-height: 1.55;
  color: rgba(0, 4, 72, .62);
}
.card__foot h3 {
  font-family: var(--card-font); font-weight: 400; font-size: 16px; line-height: 1.3;
  color: var(--navy-deep);
}
.card__cta { font-family: var(--card-font); font-size: 13px; color: var(--blue); display: inline-flex; gap: 7px; align-items: center; }
.card__cta i { font-style: normal; transition: transform .3s var(--ease); }
.card:hover .card__cta i { transform: translateX(5px); }

/* ============ Karte ============ */
/* overflow-x clip: Karten-Canvas ragt seitlich ueber die Stage hinaus —
   ohne Clip an der Sektion weitet iOS Safari das gesamte Layout-Viewport auf
   (Seite wirkt nach links verschoben, rechts fehlt der Rand) */
.karte { background: radial-gradient(130% 110% at 50% -8%, var(--navy-2), var(--navy) 68%); overflow-x: clip; }
@supports not (overflow: clip) {
  .karte { overflow-x: hidden; }
}
.map__layout {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .6fr);
  gap: clamp(20px, 2.6vw, 40px); align-items: stretch;
}
.map__stage {
  position: relative; border: none; border-radius: 0; overflow: visible;
  background: transparent;
  height: clamp(520px, 74vh, 780px); touch-action: none;
}
.map__stage canvas { display: block; }
.map__hint { position: absolute; left: 18px; bottom: 15px; font-size: 12px; letter-spacing: .04em; color: var(--dim-on-dark); pointer-events: none; z-index: 5; }
.map__legend {
  position: absolute; right: 16px; top: 14px; z-index: 5; display: flex; gap: 14px;
  font-size: 11px; color: var(--dim-on-dark);
  background: rgba(0, 4, 40, .4); border: 1px solid var(--line-dark); border-radius: 10px;
  padding: 8px 12px; backdrop-filter: blur(6px);
}
.map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.lg--gold { background: var(--gold); border-radius: 50%; }
.lg--line { width: 14px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }

.map__panel {
  display: flex; flex-direction: column; gap: 14px;
  height: clamp(520px, 74vh, 780px);
  min-width: 0;
}
.map__tabs { display: flex; gap: 8px; }
.mtab {
  flex: 1 1 0; min-width: 0; font-family: var(--ui); font-weight: 500; font-size: 12.5px; letter-spacing: .02em;
  padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line-dark);
  color: var(--dim-on-dark); display: flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  transition: all .3s var(--ease);
}
@media (max-width: 560px) {
  .mtab { gap: 5px; padding: 11px 4px; font-size: 12px; letter-spacing: 0; }
  .map__tabs { gap: 2px; padding: 6px; }
}
.mtab .sw { width: 12px; height: 12px; border-radius: 999px; background: var(--gold); flex: none; border: 1px solid rgba(255, 229, 170, .4); }
.mtab[data-layer="raeume"] .sw { background: var(--blue); border-color: rgba(157, 180, 255, .3); }
.mtab[data-layer="industrie"] .sw { background: rgba(244, 243, 238, .85); border-color: rgba(244, 243, 238, .4); }
.mtab .ct { font-size: 11px; opacity: .7; font-variant-numeric: tabular-nums; }
.mtab:hover { border-color: var(--blue); color: var(--paper); }
.mtab[aria-selected="true"] { background: rgba(70, 109, 255, .13); border-color: var(--blue); color: var(--paper); }
.map__list {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line-dark); border-radius: 16px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  scrollbar-width: thin; scrollbar-color: rgba(157, 180, 255, .35) transparent;
  background: rgba(157, 180, 255, .08);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14);
}
.mrow {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 11px 12px; border-radius: 11px; border: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.mrow:hover { background: rgba(70, 109, 255, .09); }
.mrow.is-active { background: rgba(70, 109, 255, .16); border-color: rgba(70, 109, 255, .55); }
.mrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(255, 229, 170, .18); }
.mrow--raeume .mrow__dot { background: var(--blue); box-shadow: 0 0 0 3px rgba(70, 109, 255, .18); }
.mrow--industrie .mrow__dot { background: transparent; border: 1.4px solid var(--paper); }
.mrow__name { font-family: var(--ui); font-weight: 500; font-size: 13.5px; color: var(--paper); line-height: 1.25; }
.mrow__city { margin-left: auto; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim-on-dark); flex: none; }
.mrow.is-active .mrow__city { color: var(--gold); }
.map__card {
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px 22px;
  min-height: 132px; position: relative; overflow: hidden; flex: none;
  background: rgba(157, 180, 255, .08);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14);
}
.map__cardph { color: var(--dim-on-dark); font-size: 13.5px; }
.map__card h4 { font-family: var(--display); font-size: 20px; margin-bottom: 4px; }
.map__card .city { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.map__card p { font-size: 13.5px; color: var(--dim-on-dark); margin-bottom: 12px; }
.map__card a.go { font-family: var(--ui); font-weight: 500; font-size: 13.5px; color: var(--blue-bright); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.map__cardanim { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.map__card.show .map__cardanim { opacity: 1; transform: none; }

/* ============ Angebote (Rows + Hover-Preview) ============ */
.angebote__kicker {
  font-family: var(--ui); font-weight: 500; font-size: 12.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--dim-on-paper); margin-bottom: 8px;
}
.rows { list-style: none; border-top: 1.6px solid var(--ink); }
.row {
  position: relative; display: grid;
  grid-template-columns: minmax(50px, 90px) minmax(0, 1.1fr) minmax(0, 1fr) 60px;
  align-items: center; gap: clamp(14px, 3vw, 44px);
  padding: clamp(24px, 3.2vw, 42px) 0;
  border-bottom: 1.3px solid var(--line-paper);
  cursor: pointer; transition: padding-left .4s var(--ease);
}
.row:hover { padding-left: 18px; }
.row__no {
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 44px);
  color: transparent; -webkit-text-stroke: 1.2px var(--blue); transition: color .3s var(--ease);
}
.row:hover .row__no { color: var(--blue); }
.row h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.1; }
.row p { font-size: 15px; color: var(--dim-on-paper); max-width: 42ch; }
.row__arrow { font-size: 26px; color: var(--blue); justify-self: end; transition: transform .35s var(--ease); }
.row:hover .row__arrow { transform: translateX(8px); }
.row-preview {
  position: fixed; z-index: 90; width: 260px; aspect-ratio: 5 / 4; pointer-events: none;
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 70px -20px rgba(19, 19, 71, .45);
  opacity: 0; transform: scale(.85) rotate(-3deg);
}
.row-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Themen Showcase — Figma-Komposition ============ */
.themen { background: var(--paper); color: var(--ink); position: relative; }

/* ============ Räume ============ */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.room { text-decoration: none; display: block; }
.room__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .6s; filter: saturate(.85); }
.room:hover .room__media img { transform: scale(1.06); filter: saturate(1.05); }
.room__body { padding: 20px 4px 0; }
.room__body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 27px); margin-bottom: 6px; }
.room__body p { font-size: 14px; color: var(--dim-on-dark); }

/* ============ Partner ============ */
.marquee { overflow: hidden; padding: clamp(10px, 2vw, 26px) 0 clamp(40px, 5vw, 70px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(40px, 6vw, 90px); width: max-content; align-items: center; }
.marquee__item { flex: none; display: flex; align-items: center; gap: 16px; }
.marquee__item img { height: clamp(30px, 3.4vw, 46px); width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) brightness(.35) sepia(1) hue-rotate(200deg) saturate(2.4); opacity: .8; transition: filter .35s, opacity .35s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.marquee__item span { font-family: var(--ui); font-weight: 500; font-size: 15px; color: var(--dim-on-paper); white-space: nowrap; }
.pnames { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 0; border-top: 1.6px solid var(--ink); padding-top: 28px; }
.pnames li {
  font-family: var(--ui); font-weight: 400; font-size: clamp(15px, 1.5vw, 19px); color: var(--ink);
  display: inline-flex; align-items: center;
}
.pnames li::after { content: '·'; margin: 0 14px; color: var(--blue); }
.pnames li:last-child::after { content: ''; margin: 0; }

/* ============ Finale ============ */
.finale { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; background: var(--navy); }
.finale__bg { position: absolute; inset: -12% 0; z-index: 0; }

.finale__content { position: relative; z-index: 2; width: 100%; padding-top: 14vh; padding-bottom: 14vh; }
.finale__title { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 8.4vw, 128px); line-height: .98; letter-spacing: -.015em; margin-bottom: 4vh; }
.finale__title em { font-style: normal; color: var(--blue-royal); }
.finale__copy { max-width: 56ch; color: var(--dim-on-dark); font-size: clamp(15px, 1.35vw, 18px); margin-bottom: 14px; }
.finale__copy--strong { color: var(--paper); font-weight: 400; }
.finale .btn { margin-top: 26px; }

/* ============ Footer ============ */
.footer { background: #01021c; padding: 60px 0 30px; border-top: 1px solid var(--line-dark); }
.footer .nav__word, .footer .nav__links a { color: var(--paper); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; margin-bottom: 40px; }
.footer__badges { display: flex; align-items: center; gap: 16px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: 13.5px; color: var(--dim-on-dark); text-decoration: none; }
.footer__links a:hover { color: var(--paper); }
.footer__meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 40px; font-size: 12px; color: rgba(244, 243, 238, .38); letter-spacing: .06em; }
.footer__meta > span { justify-self: start; }
.footer__meta .footer__links { justify-self: center; }


/* ============ Liquid Glass auf Sektions-Komponenten ============ */
.mtab, .map__legend {
  background: rgba(255, 255, 255, 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.map__card {
  background: rgba(157, 180, 255, .08);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14);
  position: relative;
  overflow: hidden;
}
.mtab::before, .map__card::before, .map__legend::before,
.chip[aria-pressed="false"]::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mtab > *, .map__card > * { position: relative; z-index: 1; }
.mtab:hover { background: rgba(255, 255, 255, 0.06); color: var(--paper); }
.mtab[aria-selected="true"] { background: rgba(70, 109, 255, .2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18); }
.map__list {
  background: rgba(157, 180, 255, .08);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14);
}
.chip[aria-pressed="false"] {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative; overflow: hidden;
}


/* ============ Bento-Karten (Layout-Referenz NexusSci) ============ */
.bento { display: grid; gap: 16px; margin-top: 16px; }
.bento:first-of-type { margin-top: clamp(30px, 4vw, 50px); }
.bento--3 { grid-template-columns: 1.25fr 1fr 1fr; }
.bento--3 + .bento--3 { grid-template-columns: 1.25fr 1fr 1fr; }
.bento--2 { grid-template-columns: 1.2fr 1fr; }
.bcard {
  position: relative; border-radius: 28px; overflow: hidden;
  min-height: 340px; padding: clamp(22px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
  font-family: var(--card-font);
}
.bcard h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.01em; }
.bcard p { font-size: clamp(14.5px, 1.15vw, 16.5px); line-height: 1.5; max-width: 40ch; }
.bcard__body { margin-top: auto; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.bcard__label {
  font-family: var(--ui); font-weight: 500; font-size: 12.5px; letter-spacing: .26em;
  text-transform: uppercase;
}
.bcard__icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .2); color: #fff;
  position: relative; z-index: 2;
}
.bcard__icon--ink { background: rgba(0, 4, 72, .08); color: var(--navy-deep); }
.bcard__btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  background: #fff; color: var(--navy-deep); text-decoration: none;
  font-family: var(--ui); font-weight: 500; font-size: 14px; letter-spacing: .04em;
  padding: 13px 22px; border-radius: 9999px;
  transition: background .3s, transform .3s;
}
.bcard__btn:hover { background: var(--gold); transform: translateY(-2px); }
.bcard__btn i { font-style: normal; font-size: 17px; line-height: 1; }
.bcard__chip {
  position: relative; z-index: 2;
  background: #fff; color: var(--navy-deep);
  border-radius: 18px; padding: 14px 20px; width: fit-content; max-width: 92%;
  font-family: var(--card-font); font-weight: 500;
  font-size: clamp(15px, 1.3vw, 19px); line-height: 1.3;
  box-shadow: 0 10px 30px -18px rgba(0, 4, 72, .4);
}
.bcard__chip--sub { font-weight: 400; font-size: clamp(13px, 1vw, 15px); color: var(--dim-on-paper); padding: 10px 16px; }
.bcard__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(46px, 4.8vw, 78px); line-height: .95; letter-spacing: -.02em;
  position: relative; z-index: 2;
}
.bcard__num--step { font-size: clamp(48px, 5vw, 80px); }
.bcard__num .stats__num { font-size: inherit; color: inherit; margin: 0; display: inline; }
.bcard__text { position: relative; z-index: 2; }
.bcard__chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.bcard__minichip {
  background: #fff; color: var(--navy-deep); border-radius: 9999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 6px 18px -12px rgba(0, 4, 72, .4);
}
.bcard__minichip--line { background: none; border: 1.3px solid var(--line-paper); box-shadow: none; color: var(--dim-on-paper); }
.bcard__chip strong { display: block; font-weight: 600; }
.bcard__chip small { display: block; font-weight: 400; font-size: .78em; color: var(--dim-on-paper); margin-top: 3px; }

/* Split-Layout: Bild-Kachel links, Inhalt rechts (Referenz-Muster) */
.bcard--split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 16px; padding: 12px; }
.bcard__tile {
  border-radius: 20px; background: var(--paper);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  min-height: 100%;
}
.bcard__tile img { width: 100%; height: 100%; object-fit: cover; }
.bcard__side { display: flex; flex-direction: column; padding: 14px 14px 12px 6px; min-width: 0; }
.bcard__side .bcard__body { margin-top: auto; }
.bcard__side .bcard__btn { margin-top: 18px; }

/* Varianten */
.bcard--blue { background: var(--navy-deep); color: #fff; }
.bcard--blue .bcard__label { color: rgba(255, 255, 255, .8); }
.bcard--blue .bcard__etch { mix-blend-mode: multiply; opacity: .9; }
.bcard__etch {
  position: absolute; left: -6%; bottom: -8%; width: 72%; max-height: 70%;
  object-fit: contain; object-position: bottom left;
  pointer-events: none; z-index: 1;
}
.bcard__etch--multiply { mix-blend-mode: multiply; opacity: .5; right: -10%; left: auto; width: 60%; }
.bcard--stat {
  background: linear-gradient(150deg, var(--ice) 0%, #D9E6F5 55%, #CFE3DC 100%);
  color: var(--navy-deep); justify-content: space-between;
}
.bcard--stat2 { background: linear-gradient(150deg, var(--paper) 0%, #E4E9F5 60%, #D1DEF7 100%); }
.bcard--navy { background: var(--navy-2); color: var(--paper); justify-content: space-between; }
.bcard--navy .bcard__num { color: var(--gold); }
.bcard--line { background: #fff; color: var(--ink); border: 1.3px solid var(--line-paper); }
.bcard--line .bcard__label { color: var(--blue); }
.bcard--line .bcard__text { margin-top: auto; font-family: var(--ui); font-weight: 400; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink); }
.bcard--photo { padding: 0; justify-content: flex-end; }
.bcard--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .8s var(--ease-out); }
.bcard--photo:hover > img { transform: scale(1.04); }
.bcard--photo .bcard__chip { margin: 0 0 18px 18px; }
.bcard--photo .bcard__chip--sub { margin-top: -8px; }
.bcard--glass {
  background: rgba(255, 255, 255, 0.03);
  background-blend-mode: luminosity;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  color: var(--paper);
}
.bcard--glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.bcard--glass .bcard__num { color: var(--blue-bright); }
.matching .bcard--blue .bcard__num { color: #fff; }
.matching .bcard--stat h3, .matching .bcard--stat p { color: var(--navy-deep); }
.matching .bcard { min-height: 300px; }
.matching__note { margin-top: 26px; color: var(--dim-on-dark); font-size: clamp(14.5px, 1.2vw, 17px); text-align: center; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .bento--3, .bento--2 { grid-template-columns: 1fr 1fr; }
  .bento--3 .bcard--blue, .bento--2 .bcard--blue { grid-column: 1 / -1; }
  .matching__grid { grid-template-columns: 1fr; }
  .matching__intro { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .map__layout { grid-template-columns: 1fr; }
  .map__stage { height: clamp(420px, 58vh, 600px); }
  .map__panel { height: auto; }
  .map__list { max-height: 320px; }
  .themen__head { grid-template-columns: 1fr; align-items: start; }
  .marke__content { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding-top: 16vh; min-height: 62svh; }
  .hero__half--right { min-height: 46svh; }
  .hero__tablet { width: min(92%, 620px); margin-inline: auto; }
  .worum__grid { grid-template-columns: 1fr; }
  .worum__side { position: static; }
}
@media (max-width: 760px) {
  .hero__title { font-size: clamp(42px, 12vw, 72px); }
  .bento--3, .bento--2 { grid-template-columns: 1fr; }
  .bcard { min-height: 280px; }
  .bcard--split { grid-template-columns: 1fr; }
  .bcard__tile { min-height: 220px; }
  .sec__head { grid-template-columns: 1fr; }
  .sec__head > .sec__lede { justify-self: start; }
  .stats--compact { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cards { grid-template-columns: 1fr; }
  .row { grid-template-columns: 44px 1fr 34px; grid-template-areas: "no h arrow" "no p arrow"; }
  .row__no { grid-area: no; }
  .row h3 { grid-area: h; }
  .row p { grid-area: p; margin-top: 6px; }
  .row__arrow { grid-area: arrow; }
  .row-preview { display: none; }
  .rooms { grid-template-columns: 1fr; }
  .map__legend { display: none; }
  .footer__grid { justify-content: center; gap: 24px; }
  .footer__badges { flex-wrap: wrap; justify-content: center; }
}


/* ============ Technologien — Logo-Stage (Quadrat in der Marke) ============ */
.tstage {
  position: relative; min-height: 100svh;
  background: var(--navy); overflow: clip;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(26px, 4vh, 44px);
  padding: clamp(100px, 13vh, 140px) var(--gutter) clamp(70px, 9vh, 110px);
}
.tstage__title {
  position: relative; z-index: 4;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 56px); line-height: 1.04;
  color: var(--paper); text-align: center; max-width: 20ch;
}
.tstage__logo {
  position: relative;
  width: min(62vw, 92svh);
  aspect-ratio: 338 / 204;
}
/* Glas-Wellen (Figma "final"/4858): echtes Liquid-Glass wie das Menü —
   clip-path-Flaechen mit Backdrop-Blur, ohne Kontur. Koordinatenraum 338x204,
   per --ls auf die Logo-Box skaliert (JS/ResizeObserver). */
.tstage__glassmark {
  position: absolute; inset: 0;
  z-index: 2; pointer-events: none;
}
.gw {
  position: absolute; inset: 0; display: block;
  background: rgba(255, 255, 255, 0.09);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(var(--gwblur, 4px)) saturate(1.2) brightness(1.07);
  backdrop-filter: blur(var(--gwblur, 4px)) saturate(1.2) brightness(1.07);
}
.tstage__glassmark { --gwblur: 22px; }
.tstage__glassmark .gw {
  background: linear-gradient(115deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .08) 100%);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(var(--gwblur)) saturate(1.35) brightness(1.05);
  backdrop-filter: blur(var(--gwblur)) saturate(1.35) brightness(1.05);
}
.tstage__edge { opacity: .55; }
.tstage__edge {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 3; pointer-events: none; overflow: visible; display: block;
}
.gw--1 { clip-path: url(#gw-1); }
.gw--2 { clip-path: url(#gw-2); }
.gw--3 { clip-path: url(#gw-3); }
.gw--4 { clip-path: url(#gw-4); }

/* Perfektes Quadrat der Marke: 200x200 zwischen den Aussenkanten (x 68.57-268.57, y 2-202) */
.tstage__square {
  position: absolute; left: 20.29%; top: .98%; width: 59.17%; height: 98.04%;
  overflow: hidden; z-index: 1;
  background: var(--grad-figma);
}
.tstage__bg { position: absolute; inset: 0; z-index: 0; opacity: .45; pointer-events: none; }
.tstage__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Foerderband (Tastelabs-Prinzip): Karten laufen ueber die volle Breite hinter dem Glas */
.tstage__belt {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-54%);
  height: min(46svh, 30vw); z-index: 1;
  cursor: grab; touch-action: pan-y;
}
.tstage__belt:active { cursor: grabbing; }
.tstage__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); will-change: transform; }
.tcard {
  transition: transform .6s var(--ease), opacity .6s var(--ease), box-shadow .6s var(--ease);
  position: relative; flex: none;
  height: 100%; aspect-ratio: 1 / 1;
  transform: scale(.9); opacity: .72;
  border-radius: 0; overflow: hidden;
  background: var(--grad-figma);
  transform: translateZ(0);
}
.tcard--alt { background: var(--grad-figma-2); }
.tcard.is-center { transform: scale(1); opacity: 1; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); }
.tcard img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.tcard .tag {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-family: var(--card-font); font-size: clamp(10px, .95vw, 14px); font-weight: 500;
  background: var(--blue); color: var(--paper);
  padding: .45em 1.1em; border-radius: 200px; white-space: nowrap;
  max-width: 90%; overflow: hidden; text-overflow: ellipsis;
}
.tcard .idx {
  position: absolute; left: 9%; top: 6%;
  font-family: 'Azeret Mono', monospace; font-weight: 300;
  font-size: clamp(11px, 1vw, 14px); color: rgba(244, 243, 238, .85);
  text-shadow: 0 1px 8px rgba(0, 4, 72, .6);
}
.tstage__kicker {
  position: absolute; top: clamp(96px, 12vh, 130px); left: var(--gutter);
  font-family: 'Azeret Mono', monospace; font-weight: 300;
  font-size: 13px; letter-spacing: .08em; color: var(--blue-bright);
}
.tstage__line {
  position: absolute; left: var(--gutter); bottom: clamp(34px, 6vh, 60px);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 1.9vw, 29px); line-height: 1.24;
  color: var(--paper); max-width: 24ch;
}
.tstage__meta {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: 'Azeret Mono', monospace; font-weight: 300; font-size: 13px;
  color: var(--dim-on-dark); text-align: center;
}
.tstage__name {
  color: var(--paper);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2vw, 30px);
}
.tstage__count b { font-weight: 400; color: var(--blue-bright); }
@media (max-width: 1460px) {
  .nav__pill a { font-size: 13.5px; padding: 12px 14px; }
  .nav__cta { font-size: 13.5px; padding: 12px 20px; }
  .nav__brand .glogo { width: 118px; }
}
@media (max-width: 1370px) {
  .nav__pill a { font-size: 12.5px; padding: 11px 12px; }
  .nav__pill { padding: 6px; }
  .nav__cta { font-size: 12.5px; padding: 11px 16px; }
  .nav__brand .glogo { width: 100px; }
}
@media (max-width: 900px) {
  .tstage__logo { width: min(94vw, 80svh); }
}

/* ============ Static-Modus (?static=1 — Screenshots/Tests, ohne JS lauffaehig) ============ */
html.static .cursor { display: none !important; }
html.static .hline > span { transform: none; }
html.static .statement .w { opacity: 1 !important; }

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .hline > span { transform: none; }
  .manifest__statement .w { opacity: 1; }
  .cursor { display: none; }
  .marke__pixels span { animation: none; }
}

/* ============ Mixed Bento (Apple-M1-Prinzip): 12 Spalten, gemischte Spans ============ */
.mbento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(118px, auto);
  grid-auto-flow: dense;
  gap: 12px; margin-top: clamp(30px, 4vw, 50px);
}
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; }
.c-6 { grid-column: span 6; } .r-2 { grid-row: span 2; }
.cell {
  background: #fff; border-radius: 22px;
  padding: clamp(16px, 1.6vw, 24px);
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
  font-family: var(--card-font); color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative; overflow: hidden; min-width: 0;
}
.cell:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -24px rgba(0, 4, 72, .35); }
.cell__pill {
  width: fit-content; font-weight: 500; font-size: 14px;
  border: 1.4px solid var(--blue); color: var(--blue);
  padding: 5px 14px; border-radius: 9999px;
}
.cell__pill--label { border-color: var(--line-paper); color: var(--dim-on-paper); text-transform: uppercase; font-size: 11px; letter-spacing: .18em; }
.cell__small { font-size: clamp(13px, 1vw, 15px); line-height: 1.45; color: var(--ink); }
.cell__small b { font-weight: 600; }
.cell__tiny { font-size: 12px; color: var(--dim-on-paper); }
.cell__text { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: var(--ink); max-width: 56ch; }
.cell--icon { align-items: flex-start; }
.cell--icon svg { color: var(--blue); flex: none; }
.cell--stat { justify-content: center; }
.cell__over { font-size: 12px; color: var(--dim-on-paper); }
.cell__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 3.1vw, 52px); line-height: 1; letter-spacing: -.01em;
  color: var(--ink);
}
.cell__num .stats__num { font-size: inherit; color: inherit; margin: 0; display: inline; }
.cell__num--blue { color: var(--blue); font-size: clamp(44px, 4vw, 66px); }
.cell__label { font-size: 13px; color: var(--dim-on-paper); line-height: 1.35; }
.cell__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cell__chips span { font-size: 11.5px; font-weight: 500; color: var(--dim-on-paper); border: 1.2px solid var(--line-paper); border-radius: 9999px; padding: 3px 10px; }
.cell--feature { background: linear-gradient(160deg, #F4F6FE 0%, #E8EDFB 100%); }
.cell__grad {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 2.6vw, 44px); line-height: 1;
  background: linear-gradient(92deg, var(--blue) 0%, var(--blue-royal) 55%, #7D97F2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  width: fit-content;
}
/* Zentrum: der "Chip"-Moment mit Glas-Logo auf Figma-Gradient */
.cell--hub {
  background: var(--grad-figma);
  align-items: center; justify-content: center; gap: 18px;
  min-height: 260px;
}
.glogo--cell { width: min(62%, 340px); }
.cell__hubword {
  font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.1; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-align: center;
}
.cell--media { padding: 10px; justify-content: flex-end; }
.cell--media img { position: absolute; inset: 8% 8% 22% 8%; width: 84%; height: 66%; object-fit: contain; mix-blend-mode: multiply; }
.cell__caption { position: relative; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim-on-paper); text-align: center; }
.cell--photo { padding: 0; justify-content: flex-end; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell__chipfloat {
  position: relative; margin: 0 14px 14px; width: fit-content;
  background: #fff; color: var(--navy-deep); border-radius: 14px; padding: 10px 16px;
  font-weight: 500; font-size: clamp(13px, 1.05vw, 16px);
  box-shadow: 0 10px 30px -18px rgba(0, 4, 72, .4);
}
.cell--cta { background: var(--navy-2); color: var(--paper); }
.cell--cta .cell__small { color: var(--dim-on-dark); }
.cell--cta .bcard__btn { margin-top: 4px; }
@media (max-width: 1080px) {
  .mbento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(104px, auto); }
  .mbento .c-2 { grid-column: span 2; } .mbento .c-3 { grid-column: span 2; }
  .mbento .c-4, .mbento .c-6 { grid-column: span 4; }
  .mbento .cell--hub { grid-column: span 4; }
}
@media (max-width: 560px) {
  .mbento { grid-template-columns: repeat(2, 1fr); }
  .mbento .c-2, .mbento .c-3 { grid-column: span 2; }
}


/* ===== Worum: zentriertes Antigravity-Intro ===== */
.worum__intro { max-width: 1100px; margin: 0 auto clamp(48px, 6vw, 84px); text-align: center; }
.worum__intro-text {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.worum__intro-text em { font-style: normal; color: var(--blue); }
@media (max-width: 560px) {
  .worum__intro { margin-bottom: 36px; }
}

/* ===== Let's match — Vollbild-Prompt ===== */
.lmatch {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(110px, 16vh, 170px) var(--gutter) clamp(70px, 10vh, 120px);
  background: var(--paper);
}
.lmatch { background: var(--ice); }
.lmatch__inner { width: min(720px, 100%); text-align: center; }
.lmatch__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(54px, 7.5vw, 118px);
  line-height: .98;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lmatch__title em { font-style: normal; color: var(--blue); }
.lmatch__sub {
  margin: 18px auto 40px;
  max-width: 46ch;
  font-size: clamp(15.5px, 1.35vw, 18px);
  color: rgba(19, 19, 71, .72);
}
.lmatch__hint {
  margin-top: 22px;
  font-family: 'Azeret Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(19, 19, 71, .55);
}

/* Prompt-Box */
.pbox {
  position: relative;
  text-align: left;
  background: rgba(5, 8, 46, .92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(157, 180, 255, .28);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 12px 44px rgba(0, 3, 48, .38), 0 2px 10px rgba(0, 3, 48, .28);
  transition: border-color .3s var(--ease);
}
.pbox.is-rec { border-color: rgba(255, 92, 92, .7); }
.pbox__ta {
  display: block;
  width: 100%;
  min-height: 200px;
  max-height: 380px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  resize: none;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--paper);
  outline: none;
}
.pbox__ta::placeholder { color: rgba(244, 243, 238, .42); }
.pbox__ta::-webkit-scrollbar { width: 6px; }
.pbox__ta::-webkit-scrollbar-thumb { background: rgba(157, 180, 255, .35); border-radius: 3px; }
.pbox__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.pbox__tools { display: flex; align-items: center; gap: 2px; min-width: 0; }
.pbox__icon, .pbox__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(244, 243, 238, .55);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.pbox__icon:hover { background: rgba(157, 180, 255, .14); color: var(--paper); }
.pbox__chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(244, 243, 238, .55);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.pbox__chip:hover { color: var(--paper); }
.pbox__chip svg { flex: 0 0 auto; transition: transform .3s var(--ease); }
.pbox__chip:hover svg { transform: rotate(12deg) scale(1.08); }
.pbox__chip span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  margin-left: 0;
  transition: max-width .28s var(--ease), opacity .28s var(--ease), margin-left .28s var(--ease);
}
.pbox__chip.is-on span { max-width: 110px; opacity: 1; margin-left: 6px; }
.pbox__chip.is-on svg { transform: rotate(360deg) scale(1.08); }
.pbox__chip.is-on[data-mode="tech"]    { color: var(--blue-bright); border-color: var(--blue); background: rgba(70, 109, 255, .16); }
.pbox__chip.is-on[data-mode="partner"] { color: #C9B8FF; border-color: #8B5CF6; background: rgba(139, 92, 246, .16); }
.pbox__chip.is-on[data-mode="angebot"] { color: var(--gold); border-color: rgba(255, 229, 170, .8); background: rgba(255, 229, 170, .12); }
.pbox__div {
  width: 1.5px;
  height: 22px;
  margin: 0 5px;
  border-radius: 999px;
  background: linear-gradient(to top, transparent, rgba(157, 180, 255, .55), transparent);
}
.pbox__send.has-content { background: var(--paper); color: var(--navy); }
.pbox__send.has-content:hover { transform: translateY(-1px); background: #fff; }
.pbox__send:not(.has-content):hover { background: rgba(157, 180, 255, .14); color: var(--paper); }
.pbox__send.is-rec { color: #ff5c5c; }
/* Voice-Recording entfernt: immer Pfeil statt Mikrofon */
.pbox__send .pbox__ic-mic, .pbox__send .pbox__ic-stop { display: none; }
.pbox__send .pbox__ic-up { display: block; }

/* Anhang-Vorschau */
.pbox__previews { display: flex; gap: 8px; padding: 2px 2px 8px; }
.pbox__thumb { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; }
.pbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbox__thumb button {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  background: rgba(0, 3, 48, .72);
  color: #fff; font-size: 11px; line-height: 1;
  cursor: pointer;
}

/* Aufnahme-Ansicht */
.pbox__rec { padding: 12px 8px 4px; }
.pbox__recmeta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.pbox__recdot { width: 8px; height: 8px; border-radius: 999px; background: #ff5c5c; animation: pbox-pulse 1s ease-in-out infinite; }
.pbox__rectime { font-family: 'Azeret Mono', monospace; font-size: 12.5px; color: rgba(244, 243, 238, .8); }
.pbox__bars { display: flex; align-items: center; justify-content: center; gap: 3px; height: 40px; padding: 0 12px; }
.pbox__bars i { width: 2px; border-radius: 999px; background: rgba(244, 243, 238, .55); animation: pbox-bar .7s ease-in-out infinite alternate; }
@keyframes pbox-pulse { 50% { opacity: .35; } }
@keyframes pbox-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* Erfolg */
.pbox__done {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 24px;
  background: rgba(5, 8, 46, .96);
  color: var(--gold);
  font-size: 15px;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.pbox__done.is-in { opacity: 1; }

@media (max-width: 640px) {
  .pbox__chip span { display: none; }
  .pbox__div { margin: 0 3px; }
  .lmatch__sub { margin-bottom: 30px; }
}
html.static .lmatch .pbox { opacity: 1 !important; }

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

/* Kontakt-Pflichtfelder in der Prompt-Box */
.pbox__contact {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease);
}
.pbox.is-open .pbox__contact { max-height: 220px; opacity: 1; }
.pbox__cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 2px 2px;
}
/* "Ich suche"-Auswahl: Pills im Stil der Kontaktfelder */
.pbox__mtype {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 8px 2px 2px;
}
.pbox__mtype-label {
  font-family: var(--ui); font-weight: 500; font-size: 13px;
  color: rgba(244, 243, 238, .55); margin-right: 4px;
}
.pbox__mtypebtn {
  height: 36px; padding: 0 16px;
  font: inherit; font-size: 13.5px; color: var(--paper);
  background: rgba(157, 180, 255, .08);
  border: 1px solid rgba(157, 180, 255, .22);
  border-radius: 999px; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.pbox__mtypebtn:hover { border-color: rgba(157, 180, 255, .5); }
.pbox__mtypebtn[aria-pressed="true"] { background: var(--blue-bright); border-color: var(--blue-bright); color: var(--navy-deep); }
.pbox__mtype.is-err .pbox__mtypebtn[aria-pressed="false"] { border-color: rgba(255, 92, 92, .85); }
/* Honeypot: unsichtbar fuer Menschen */
.pbox__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pbox__send.is-busy { opacity: .55; pointer-events: none; }
.pbox__cfield input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--paper);
  background: rgba(157, 180, 255, .08);
  border: 1px solid rgba(157, 180, 255, .22);
  border-radius: 12px;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.pbox__cfield input::placeholder { color: rgba(244, 243, 238, .45); }
.pbox__cfield input:focus { border-color: rgba(157, 180, 255, .65); background: rgba(157, 180, 255, .12); }
.pbox__cfield input.is-err { border-color: rgba(255, 92, 92, .85); background: rgba(255, 92, 92, .08); }
.pbox__cerr {
  padding: 8px 4px 2px;
  font-size: 12.5px;
  color: #ff8a8a;
}
@media (max-width: 560px) {
  .pbox__cgrid { grid-template-columns: 1fr; }
  .pbox.is-open .pbox__contact { max-height: 420px; }
}
html.static .pbox__contact { max-height: none; opacity: 1; }

/* ===== Let's match: Aurora-Hintergrund (Aceternity-Original) ===== */
.lmatch { position: relative; overflow: hidden; }
.lmatch__inner { position: relative; z-index: 1; }
.lmatch__aurora {
  --white: #fff;
  --transparent: transparent;
  --white-gradient: repeating-linear-gradient(100deg,
    var(--white) 0%, var(--white) 7%, var(--transparent) 10%,
    var(--transparent) 12%, var(--white) 16%);
  --aurora: repeating-linear-gradient(100deg,
    var(--blue-royal) 10%, var(--blue-bright) 15%, var(--blue) 20%, #D1DEF7 25%, var(--blue-royal) 30%);
  position: absolute;
  inset: -70px -10px -10px;
  z-index: 0;
  pointer-events: none;
  opacity: .62;
  background-image: var(--white-gradient), var(--aurora);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(12px) saturate(1.1);
  will-change: transform;
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, var(--transparent) 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, var(--transparent) 70%);
}
.lmatch__aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--white-gradient), var(--aurora);
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: soft-light;
  animation: lmatch-aurora 60s linear infinite;
}
@keyframes lmatch-aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .lmatch__aurora::after { animation: none; }
}
html.static .lmatch__aurora::after { animation: none; }

/* ===== Partner-Logo Download (Aurora-Card-Prinzip) ===== */
.dlsec {
  padding-top: clamp(90px, 12vh, 150px);
  padding-bottom: clamp(90px, 12vh, 150px);
  background: var(--navy);
  transition: background .7s var(--ease);
}
.dlsec[data-dltheme="dunkel"] { background: var(--paper); }
.dlsec__wrap { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.dlsec__head { text-align: center; }
.dlsec__title {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.04;
  color: var(--paper);
  transition: color .7s var(--ease);
}
.dlsec__title em { font-style: normal; color: var(--blue-bright); transition: color .7s var(--ease); }
.dlsec__sub {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 17.5px);
  color: var(--dim-on-dark);
  transition: color .7s var(--ease);
}
.dlsec[data-dltheme="dunkel"] .dlsec__title { color: var(--ink); }
.dlsec[data-dltheme="dunkel"] .dlsec__title em { color: var(--blue); }
.dlsec[data-dltheme="dunkel"] .dlsec__sub { color: var(--dim-on-paper); }

/* Farb-Swatches */
.dlsec__swatches { display: flex; gap: 10px; padding: 8px; border-radius: 999px; }
.dlswatch {
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.dlswatch:hover { transform: scale(1.1); }
.dlswatch.is-on { transform: scale(1.08); border-color: rgba(255, 255, 255, .65); }
.dlsec[data-dltheme="dunkel"] .dlswatch.is-on { border-color: rgba(0, 4, 72, .5); }
.dlswatch--hell { background: var(--navy); border: 1px solid rgba(157, 180, 255, .3); }
.dlswatch--dunkel { background: var(--paper); border: 1px solid rgba(0, 3, 48, .14); }

/* Aurora-Karte */
.dlcard {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  width: min(660px, 100%);
  border-radius: 40px;
  padding: clamp(36px, 5vw, 64px) clamp(26px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  background: radial-gradient(100% 100% at 100% 0%, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  transition: background .7s var(--ease);
}
.dlsec[data-dltheme="dunkel"] .dlcard {
  background: radial-gradient(100% 100% at 100% 0%, rgba(0, 3, 48, .10) 0%, rgba(0, 3, 48, 0) 100%);
}
.dlcard__border {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 3px;
  opacity: .8;
  background: linear-gradient(90deg,
    rgba(41, 77, 235, .5) 0%, rgba(70, 109, 255, .4) 25%,
    rgba(157, 180, 255, .3) 50%, rgba(255, 255, 255, .6) 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  transition: background .7s var(--ease);
}
.dlsec[data-dltheme="dunkel"] .dlcard__border {
  background: linear-gradient(90deg,
    rgba(41, 77, 235, .45) 0%, rgba(70, 109, 255, .35) 25%,
    rgba(255, 229, 170, .5) 50%, rgba(0, 3, 48, .5) 100%);
}
.dlcard__logo { width: min(440px, 82%); height: auto; transform: translateZ(46px); }
.dlcard__meta, .dlcard__btn { transform: translateZ(28px); }
.dlsec__stage { perspective: 1100px; width: min(660px, 100%); }
.dlcard__meta { text-align: center; }
.dlcard__name { font-size: 15.5px; font-weight: 600; color: var(--paper); transition: color .7s var(--ease); }
.dlcard__spec {
  margin-top: 4px;
  font-family: 'Azeret Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
  transition: color .7s var(--ease);
}
.dlsec[data-dltheme="dunkel"] .dlcard__name { color: var(--ink); }
.dlsec[data-dltheme="dunkel"] .dlcard__spec { color: var(--dim-on-paper); }
.dlcard__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: var(--paper);
  color: var(--navy);
  transition: background .7s var(--ease), color .7s var(--ease), transform .25s var(--ease);
}
.dlcard__btn:hover { transform: translateY(-2px); }
.dlsec[data-dltheme="dunkel"] .dlcard__btn { background: var(--navy); color: var(--paper); }
@media (max-width: 560px) {
  .dlcard { border-radius: 28px; }
  .dlcard__border { border-radius: 28px; }
}

/* ===== Let's match: Mini-Schritte ===== */
.lmatch__steps {
  margin-top: 26px;
  width: 100%;
}
.lstep {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(41, 77, 235, .16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lstep__num {
  display: grid;
  place-items: center;
  width: 28px;
  font-family: var(--ui);
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 500;
}
.lstep__txt { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lstep__arrow { font-style: normal; color: rgba(19, 19, 71, .4); font-size: 15px; }
@media (max-width: 560px) { .lstep__arrow { display: none; } }

/* ===== Partner: Logo-Wall ===== */
.pwall {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 190px;
  padding: 26px 20px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 3, 48, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.pcard__logo {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
}
.pcard__logo img {
  /* alle Logos liegen auf identischen 1600x1000-Canvases -> einheitliche Skalierung */
  width: min(230px, 88%);
  height: auto;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}

.pcard__mono {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(70, 109, 255, .1);
  color: var(--blue-royal);
  font-family: var(--display);
  font-size: 22px;
}
.pcard__name {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.pcard__city {
  margin-top: 2px;
  font-family: 'Azeret Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim-on-paper);
  text-align: center;
}
@media (max-width: 1080px) { .pwall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .pwall { grid-template-columns: repeat(2, 1fr); } .pcard { min-height: 160px; } }

/* ===== Finale: Farbwelt + Partikel + Logo ===== */
.finale { background: linear-gradient(180deg,
  var(--ice) 0%, #C9D7F6 14%, #7D97F2 28%, #3D5BEC 40%,
  var(--blue-royal) 54%, #101D8F 70%, var(--navy-deep) 86%, #000106 100%); }
.partner { background: var(--ice); }
.finale__bg { position: absolute; inset: 0; overflow: hidden; }
.finale__bg canvas { width: 100%; height: 100%; display: block; }
.finale__logo {
  position: absolute;
  right: clamp(20px, 8vw, 140px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 30vw, 480px);
  pointer-events: none;
}
.glogo--finale { display: block; width: 100%; }
@media (max-width: 900px) {
  .finale__logo { right: 50%; transform: translate(50%, -50%); opacity: .45; }
}

/* ===== Footer: Berger-Badge ===== */
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(157, 180, 255, .3);
  background: rgba(157, 180, 255, .08);
  color: var(--dim-on-dark);
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.footer__badge b { font-weight: 700; color: var(--paper); }
.footer__badge:hover { border-color: var(--gold); background: rgba(255, 229, 170, .1); color: var(--paper); }
.pcard__name, .pcard__city { display: block; }

/* ===== Worum: Hero-Bento nach Referenz (1 Feature + 1 breit + 2 klein) ===== */
.hbento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}
.hb--feature { grid-column: span 2; }
.hb--wide { grid-column: span 2; }
.hb {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 26px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.hb__kicker {
  font-family: 'Azeret Mono', monospace;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 14px;
}
.hb__title {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.06;
  max-width: 16ch;
}
.hb__title--s { font-size: clamp(21px, 2vw, 32px); margin-top: auto; max-width: 18ch; }
.hb__arrow {
  position: absolute;
  right: clamp(20px, 2.4vw, 36px);
  top: clamp(18px, 2.2vw, 32px);
  font-size: 24px;
  line-height: 1;
  transition: transform .3s var(--ease);
}
.hb__arrow .arr { animation: arrbob 2.2s var(--ease) infinite; }
@keyframes arrbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hb__arrow .arr { animation: none; } }
.hb--feature {
  grid-row: span 2;
  background: linear-gradient(160deg, #070d46 0%, var(--navy) 70%);
  color: var(--paper);
}
.hb--feature .hb__copy {
  margin-top: 16px;
  max-width: 44ch;
  font-size: clamp(14.5px, 1.2vw, 17px);
  color: var(--dim-on-dark);
}
.hb__stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.hb__stats span { font-size: 13.5px; color: var(--dim-on-dark); }
.hb__stats b { display: block; font-family: var(--display); font-size: clamp(22px, 2vw, 32px); color: var(--paper); }
.hb__btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .3s var(--ease), transform .25s var(--ease);
  position: relative;
  z-index: 2;
}
.hb__btn:hover { background: var(--gold); transform: translateY(-2px); }
.hb__img {
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 62%;
  opacity: .9;
  pointer-events: none;
}
.hb--wide { background: rgba(0, 3, 48, .05); color: var(--ink); }
.hb--blue { background: var(--blue); color: #fff; }
.hb--gold { background: var(--gold); color: var(--navy-deep); }
@media (max-width: 900px) {
  .hbento { grid-template-columns: 1fr; }
  .hb--feature, .hb--wide { grid-column: auto; }
  .hb--feature { grid-row: auto; }
  .hb__img { display: none; }
}

/* ===== Let's match: Maus-Pixel ===== */
.lmatch__pixels { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lmatch__pixels i {
  position: absolute;
  display: block;
  background: var(--navy);
  opacity: 0;
  animation: pxfall 1.5s ease-out forwards;
}
.lmatch__pixels i.b { background: var(--blue); }
@keyframes pxfall {
  0% { opacity: .32; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(var(--drift, 0px), 74px); }
}

/* Schritte: mit Kontextzeile */

.lstep__body { display: flex; flex-direction: column; gap: 2px; }
.lstep__body b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lstep__body small { font-size: 12px; color: rgba(19, 19, 71, .6); }

/* ===== News-Cards: runder, groesseres Logo, Anbieterzeile, Chip-Reihen ===== */
.card { border-radius: 18px; }
.card__media { border-radius: 10px; }
.card__byline { display: flex; align-items: center; gap: 10px; }
.card__logo { height: 30px; max-width: 150px; }
.card__by { font-family: var(--ui); font-weight: 500; font-size: 12.5px; color: rgba(0, 4, 72, .65); }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chiprow + .chiprow { margin-top: 10px; }
.chiprow__label {
  font-family: 'Azeret Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
  margin-right: 4px;
}
.chiprow--by .chip { font-size: 12px; padding: 6px 13px; }

/* ===== CTA: zwei Zielgruppen + Logo mittig (Antigravity-Prinzip) ===== */
.ctasec { position: relative; background: var(--paper); padding-top: clamp(80px, 11vh, 140px); padding-bottom: clamp(80px, 11vh, 140px); }
.ctasec__dots {
  position: absolute;
  inset: clamp(20px, 4vw, 60px) var(--gutter);
  background-image: radial-gradient(rgba(0, 3, 48, .22) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 30%, transparent 78%);
  pointer-events: none;
}
.ctasec__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.ctasec__col { text-align: center; }
.ctasec__pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 3, 48, .12);
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 4, 72, .7);
  box-shadow: 0 2px 8px rgba(0, 3, 48, .06);
}
.ctasec__title {
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.02;
  color: var(--ink);
}
.ctasec__sub { margin-top: 8px; font-size: clamp(15px, 1.4vw, 19px); color: rgba(19, 19, 71, .62); }
.ctasec__btn {
  display: inline-flex;
  margin-top: 24px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.ctasec__btn:hover { transform: translateY(-2px); }
.ctasec__btn--dark { background: var(--navy); color: #fff; }
.ctasec__btn--dark:hover { background: var(--blue-royal); }
.ctasec__btn--ghost { background: #fff; color: var(--ink); border: 1px solid rgba(0, 3, 48, .18); }
.ctasec__btn--ghost:hover { border-color: var(--blue); color: var(--blue-royal); }
.ctasec__logo { width: clamp(120px, 14vw, 220px); }
.ctasec__logo img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .ctasec__grid { grid-template-columns: 1fr; }
  .ctasec__logo { margin: 0 auto; order: 0; }
}

/* Partner-Logos farbig */
.pcard__logo img { filter: none; opacity: 1; }

/* ===== Nachtrag: Systematisierung & neue Elemente ===== */

/* Pfeil-Icon (Mockup-Stil) */
.arr { width: 1em; height: 1em; }
.hb__arrow .arr { width: 26px; height: 26px; }

/* Nav: CTA in eigener Glass-Pill */
.nav__pill--cta { padding: 8px; }


/* News: Anbieter-Dropdown */
.byfilter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.byfilter span {
  font-family: 'Azeret Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim-on-dark);
}
.byfilter select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--paper);
  background: rgba(157, 180, 255, .1) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239DB4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(157, 180, 255, .3);
  border-radius: 999px;
  padding: 9px 38px 9px 16px;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.byfilter select:hover, .byfilter select:focus { border-color: var(--blue-bright); outline: none; }
.byfilter select option { color: #000; }

/* News-Logos nochmal groesser */
.card__logo { height: 42px; max-width: 190px; }
.card__by { font-size: 13px; }

/* Finale: Inhalt zentriert + eingebettete Zielgruppen-CTAs */
.finale__content { text-align: center; }
.finale__title { margin-inline: auto; }
.finale__copy { margin-inline: auto; }
.finale .ctasec__grid {
  margin-top: clamp(44px, 6vh, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.finale .ctasec__pill {
  background: rgba(157, 180, 255, .1);
  border-color: rgba(157, 180, 255, .3);
  color: var(--paper);
  box-shadow: none;
}
.finale .ctasec__title { color: var(--paper); }
.finale .ctasec__sub { color: var(--dim-on-dark); }
.ctasec__btn--paper { background: var(--paper); color: var(--navy); border-radius: 14px; }
.ctasec__btn--paper:hover { background: var(--gold); color: var(--navy); }
.ctasec__btn--line { border: 1.4px solid rgba(244, 243, 238, .5); color: var(--paper); border-radius: 14px; }
.ctasec__btn--line:hover { border-color: var(--gold); color: var(--gold); }
.finale .ctasec__logo img { opacity: .9; }
@media (max-width: 900px) {
  .finale .ctasec__grid { grid-template-columns: 1fr; }
}

/* Buttons: Content-CTAs eckig-abgerundet (Mockup-System) */
.hb__btn, .ctasec__btn, .dlcard__btn, .bcard__btn { border-radius: 14px; }

/* ===== Konsistenz-Runde ===== */

/* Map-Tabs als Glass-Pills */
.mtab {
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(157, 180, 255, .18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12);
}
.mtab:hover { border-color: rgba(157, 180, 255, .5); background: rgba(157, 180, 255, .12); }
.mtab[aria-selected="true"] { background: rgba(157, 180, 255, .16); border-color: var(--blue-bright); color: var(--paper); }
.map__card a.go .arr { transition: transform .3s var(--ease); }
.map__card a.go:hover .arr { transform: translateX(4px); }

/* Hover-System: Gold-Flaeche + Navy-Text ueberall, auch Chips */
.chip:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy) !important; }

/* Let's-match-Schritte: Liquid-Glass-Pill mit Progress-Indicator */
.lmatch__steps {
  display: block;
  border-radius: 24px;
  padding: 16px 22px 18px;
  background: rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 34px rgba(0, 3, 48, .1);
}
.lstep {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0 12px;
  padding: 10px 8px;
  text-align: left;
}

.lstep__title { font-size: 14px; font-weight: 500; color: rgba(19, 19, 71, .8); }
.lstep__hint { font-size: 12.5px; color: rgba(19, 19, 71, .48); text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .lstep { grid-template-columns: 36px 1fr; }
  .lstep__hint { grid-column: 2; text-align: left; white-space: normal; }
}
.lstep {
  background: transparent; border: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.lstep__num { background: none; width: auto; justify-self: start; place-items: center start; }
.lstep__body b { color: var(--ink); }
.lstep__body small { color: rgba(19, 19, 71, .58); }

/* Kicker-Laufweite konsistent */
.angebote__kicker, .chiprow__label, .byfilter span, .cell__pill--label { letter-spacing: .07em; }

/* News-Filter: eine Zeile, sauber ausgerichtet */
#news-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
#news-filter .chiprow { margin: 0; }
.byfilter { margin: 0; }

/* News-Karten: mehr Luft, groesserer Text */
.card__foot { padding: 20px 12px 14px; gap: 14px; }
.card__foot h3 { font-size: 18px; line-height: 1.35; }
.card__byline { gap: 12px; }

/* Partner-Wall: nur Name, keine Unterstreichung */
a.pcard, a.pcard * { text-decoration: none; }
.pcard__name { border-bottom: none; }

/* Finale: Titel wie andere Headlines, Glas-Logo */
.finale__title { font-size: clamp(30px, 3.4vw, 56px); line-height: 1.04; }
.glogo--finale { display: block; width: clamp(180px, 16vw, 280px); aspect-ratio: 338 / 204; }
.glogo--finale .gw { background: rgba(255, 255, 255, .12); }
.finale .ctasec__pill { background: rgba(255, 255, 255, .06); border: none; }

/* Zwei Buttons nebeneinander */
.sec__more--duo { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Mobile-Menue: Claim zentriert */
.mmenu__foot { text-align: center; width: 100%; }

/* Berger-Badge: Original aus Figma (Frame 4878, Group 162) */
.footer__badge {
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
/* kein border-radius/box-shadow auf dem img: wuerde die SVG-Karte seitlich anschneiden —
   drop-shadow folgt der Kartenform */
.footer__badge img { display: block; width: 172px; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28)); }
.footer__badge:hover { transform: translateY(-2px); filter: brightness(1.04); background: none; }
/* Mobil-Duplikat der Badge: nur unter 760px sichtbar — hohe Spezifitaet,
   da .footer__badge oben display:inline-block setzt und sonst gewinnt */
.footer__badge.footer__badge--mobile { display: none; }
@media (max-width: 760px) {
  .footer__badge.footer__badge--mobile { display: inline-block; margin-top: 10px; }
  .footer__grid .footer__badge:not(.footer__badge--mobile) { display: none; }
}

/* tstage: Glanzlichter fuer Liquid-Glass */
.gws {
  position: absolute; inset: 0; display: block;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, .18) 88%, rgba(255, 255, 255, .3) 100%);
  mix-blend-mode: screen;
  opacity: .8;
}
.tstage__glassmark .gws.gw--1 { clip-path: url(#gw-1); }
.tstage__glassmark .gws.gw--2 { clip-path: url(#gw-2); }
.tstage__glassmark .gws.gw--3 { clip-path: url(#gw-3); }
.tstage__glassmark .gws.gw--4 { clip-path: url(#gw-4); }
.gws { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Pixel-Farben auf dunkler Download-Sektion */
.dlsec .lmatch__pixels i { background: var(--blue-bright); }
.dlsec .lmatch__pixels i.b { background: var(--blue); }
.dlsec[data-dltheme="dunkel"] .lmatch__pixels i { background: var(--navy); }
.dlsec[data-dltheme="dunkel"] .lmatch__pixels i.b { background: var(--blue); }

/* Karte: keine Text-Selektion beim Ziehen; Panel liegt ueber dem Karten-Ueberhang */
.map__stage, .map__stage * { user-select: none; -webkit-user-select: none; }
.map__panel { position: relative; z-index: 4; }


/* Karte: Sektionskopf liegt ueber dem Karten-Ueberhang */
.karte > .wrap:first-child { position: relative; z-index: 5; pointer-events: none; }
.karte > .wrap:first-child a, .karte > .wrap:first-child button { pointer-events: auto; }

/* Hub-Sektion: gleiche Flaeche wie die Logo-Wall */
.worum { background: var(--ice); }


/* Bento: Pixel-Farben je Kartenhintergrund */
.hb .lmatch__pixels i { background: var(--navy); }
.hb .lmatch__pixels i.b { background: var(--blue); }
.hb--feature .lmatch__pixels i { background: var(--blue-bright); }
.hb--feature .lmatch__pixels i.b { background: var(--blue); }
.hb--blue .lmatch__pixels i { background: rgba(255, 255, 255, .9); }
.hb--blue .lmatch__pixels i.b { background: var(--gold); }


/* Technologien: Beschreibung zwischen Name und Zaehler */
.tstage__desc {
  max-width: 56ch;
  font-family: var(--ui);
  font-size: clamp(13.5px, 1.15vw, 16px);
  line-height: 1.5;
  color: var(--dim-on-dark);
}


/* ===== Angebote: Farbwelt statt Weiss, ohne Konturen ===== */
.angebote { background: var(--ice); }
.angebote .bcard { border: none; }
.angebote .bcard--line { background: #DCE6FA; border: none; }
.angebote .bcard--line .bcard__minichip--line { border-color: rgba(0, 4, 72, .18); }

/* Buttons: fette Schrift ueberall */
.btn { font-weight: 700; }

/* Partner-Wall: keine Kontur */
.pcard { border: none; }

/* Sektionsnaht-Hairline schliessen */
.lmatch, .finale { margin-top: -1px; }

/* Nav: aktiver Punkt wie der Let's-match-Button, helles Blau */
.nav__pill a.is-active,
body[data-nav="dark"]:not(.menu-open) .nav__pill a.is-active {
  background: var(--blue-bright);
  color: var(--navy-deep);
}

/* Karte: aktiver Tab nach demselben Prinzip */
.mtab[aria-selected="true"] {
  background: var(--blue-bright) !important;
  border-color: var(--blue-bright) !important;
  color: var(--navy-deep) !important;
  box-shadow: none !important;
}
.mtab[aria-selected="true"] .ct { opacity: .8; }

/* ===== Finale-Split: zwei Sektionen mit durchlaufendem Verlauf ===== */
.finale {
  min-height: 72svh;
  background: linear-gradient(180deg, var(--ice) 0%, #C9D7F6 34%, #7D97F2 72%, #3D5BEC 100%);
}
.finale2 {
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: 78svh;
  background: linear-gradient(180deg, #3D5BEC 0%, var(--blue-royal) 28%, #101D8F 58%, var(--navy-deep) 84%, #000106 100%);
  margin-top: -1px;
}
.finale2 .finale__content { text-align: center; width: 100%; }
.finale2 .ctasec__grid { margin-top: 0; }
/* Finale-Titel auf hellerem Bereich: Royal-Blau bleibt lesbar */
.finale .lmatch__pixels i { background: var(--navy); }
.finale .lmatch__pixels i.b { background: #fff; }
.finale2 .lmatch__pixels i { background: var(--blue-bright); }
.finale2 .lmatch__pixels i.b { background: var(--gold); }

/* Footer: Wortbildmarke + Claim mittig */
.footer__brand img { width: clamp(220px, 22vw, 320px); height: auto; display: block; }
.footer__grid { align-items: center; }

/* Chips (Workshops, KI, ...) immer im Glass-Design */
.bcard__minichip, .bcard__minichip--line {
  background: rgba(255, 255, 255, .28);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(0, 4, 72, .1) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5);
}

/* Karten-Tabs: exakt wie der aktive Nav-Punkt */
.mtab[aria-selected="true"] {
  background: var(--blue-bright) !important;
  border: none !important;
  color: var(--navy-deep) !important;
  font-weight: 500;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.mtab[aria-selected="true"]::before { display: none; }
.mtab[aria-selected="true"] .ct { color: rgba(0, 4, 72, .6); opacity: 1; }

/* Angebote: zweiter Blauton fuer die Start-up-Karte */
.angebote .bcard--line:has(.bcard__minichip:not(.bcard__minichip--line)) { background: #C7D8F9; }


/* Finale (hell): dunkle Typo */
.finale .finale__title { color: var(--ink); }
.finale .finale__title em { color: var(--blue); }
.finale .finale__copy { color: rgba(19, 19, 71, .72); }

/* Finale2: Glass-Pills, weisse Sublines, gefuellter Partner-Button */
.finale2 .ctasec__pill {
  background: rgba(255, 255, 255, .08);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid rgba(157, 180, 255, .3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .14);
  color: #fff;
}
.finale2 .ctasec__sub { color: rgba(255, 255, 255, .85); }
.finale2 .ctasec__btn--line {
  background: var(--paper);
  color: var(--navy);
  border: none;
}
.finale2 .ctasec__btn--line:hover { background: var(--gold); color: var(--navy); }

/* Finale2: Logo exakt mittig */
.finale2 .ctasec__logo { width: auto; display: flex; justify-content: center; }
.finale2 .glogo--finale { margin: 0 auto; }

/* Finale (hell): kompakter */
.finale { min-height: 0; padding-top: clamp(50px, 6vh, 76px); padding-bottom: clamp(36px, 5vh, 60px); }
.finale .finale__title { margin-bottom: 20px; }
.finale .finale__copy { margin-bottom: 6px; }
.finale .finale__content { padding-top: 0; padding-bottom: 0; }

/* Logo-Download: Pixel nur ueber der Karte, sauber beschnitten */
.dlcard .lmatch__pixels { border-radius: 40px; overflow: hidden; }

/* Karten-Tabs wie Nav-Menue: inaktiv nur Text, aktiv gefuellte Pill */
.mtab {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  color: rgba(244, 243, 238, .85);
  font-size: 15px;
  padding: 13px 18px;
}
.mtab::before { display: none !important; }
.mtab:hover { background: rgba(255, 255, 255, .1) !important; color: var(--paper); }
.mtab[aria-selected="true"] {
  background: var(--blue-bright) !important;
  color: var(--navy-deep) !important;
}
.mtab[aria-selected="true"] .ct { color: rgba(0, 4, 72, .6); }
.finale2 .ctasec__title { color: var(--paper); }
.finale2 .ctasec__sub { color: rgba(255, 255, 255, .88); }


/* ===== Mobile-Politur ===== */
.hero__phone { margin-bottom: clamp(24px, 5vh, 70px); align-self: center; }
@media (max-width: 760px) {
  .hero__phone { width: min(86vw, 420px); margin-inline: auto; }
  /* Karte der Region: Kopf zentriert */
  .karte .sec__head { text-align: center; }
  .karte .sec__head > .sec__lede { justify-self: center; text-align: center; }
  .karte .sec__title, .karte .sec__sub { margin-inline: auto; }
  /* Technologien: Kontur des Logos schlanker */
  .tstage__edge g { stroke-width: 6; }
  /* Footer: Badge + Meta zentriert */
  .footer__meta { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .footer__meta > span { justify-self: center; }
  /* Berger-Badge mobil als allerletztes Element */
  .footer__grid .footer__badge { display: none; }
  .footer__badge--mobile { display: block; margin-top: 10px; }
  .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
}
/* Mitmachen: Abstand zum Logo, mobil gestapelt mit Luft */
.finale2 .ctasec__grid { gap: clamp(40px, 6vw, 90px); }
@media (max-width: 900px) {
  .finale2 .ctasec__grid { gap: 56px; }
  .finale2 .ctasec__logo { margin: 8px auto; }
  .glogo--finale { width: clamp(150px, 40vw, 220px); }
}

/* Horizontalen Overflow (Karten-Bleed etc.) nie die Seite verbreitern lassen */
html, body { overflow-x: clip; }
/* Safari < 16 kennt overflow:clip nicht -> Karten-Ueberhang wuerde die Seite
   seitlich verschieben (Mockup/Boxen wirken unzentriert) */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}


/* ===== BW-Badge (Vertrauensanker) ===== */
.bwbadge {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: #FFFC00;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 4, 72, .18);
  transition: transform .25s var(--ease);
  width: fit-content;
}
.bwbadge:hover { transform: translateY(-2px); }
.bwbadge img { width: 200px; height: auto; display: block; }
.bwbadge--footer { margin-top: 0; }
@media (max-width: 560px) {
  .bwbadge img { width: 170px; }
}

/* Karten-Tabs: Gruppe in einer Glass-Pill (wie die Nav) */
.map__tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .05);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
}
.map__tabs::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mtab { border-radius: 9999px !important; }

/* Karten-Liste scrollt: masked-gradient Rahmen (::before) wuerde mitscrollen
   und als "zweite Box" erscheinen — plain Border reicht hier */
.map__list.liquid-glass::before { content: none; }

/* TH-Mannheim-Karte: Box im Logo-Blau, Logo verschmilzt mit der Flaeche */
.pcard--thblue { background: var(--blue); border-color: var(--blue); }
.pcard--thblue .pcard__name { color: #fff; }

/* Finale: Mockup unter dem Text */
.finale__phone {
  position: relative;
  width: min(480px, 80vw);
  margin: clamp(18px, 3vh, 32px) auto 0;
}
.finale__phone img { width: 100%; height: auto; display: block; }

/* ===== Automatisierte News: Post-Karte (Button) + Overlay (natives dialog) ===== */
/* Post-Karte: Button optisch identisch zur <a>-Karte machen */
.card--post {
  width: 100%; margin: 0; border: 0;
  font: inherit; font-family: var(--card-font);
  color: inherit; text-align: inherit; cursor: pointer;
  background: #fff; -webkit-appearance: none; appearance: none;
}
.card--post:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.card__date {
  font-family: var(--card-font); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(0, 4, 72, .5);
}

.newsmodal {
  width: min(640px, calc(100vw - 32px)); max-height: 82vh; padding: 0;
  border: 0; border-radius: 20px; background: var(--paper); color: var(--ink);
  font-family: var(--body);
  box-shadow: 0 40px 120px -30px rgba(0, 3, 48, .7);
}
.newsmodal::backdrop { background: rgba(0, 3, 48, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.newsmodal__inner { position: relative; max-height: 82vh; overflow-y: auto; padding: clamp(24px, 4vw, 40px); }
.newsmodal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-paper); border-radius: 999px; background: #fff; color: var(--ink);
  cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease);
}
.newsmodal__close:hover { background: var(--paper-dim); border-color: var(--blue); }
.newsmodal__byline { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 500; font-size: 13px; color: rgba(19, 19, 71, .7); padding-right: 48px; }
.newsmodal__date { display: block; margin-top: 12px; font-family: var(--ui); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(19, 19, 71, .5); }
.newsmodal__title { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); line-height: 1.1; color: var(--ink); }
.newsmodal__body { margin-top: 20px; font-family: var(--body); font-size: 15.5px; line-height: 1.6; color: rgba(19, 19, 71, .86); }
.newsmodal__body p { margin: 0 0 14px; }
.newsmodal__body a { color: var(--blue-royal); text-decoration: underline; word-break: break-word; }
.newsmodal__sources { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-paper); }
.newsmodal__sources h3 { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-on-paper); margin-bottom: 10px; }
.newsmodal__sources ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.newsmodal__sources a { color: var(--blue-royal); font-size: 14px; text-decoration: none; word-break: break-word; }
.newsmodal__sources a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .newsmodal[open] { animation: newsmodal-in .34s var(--ease-out); }
}
@keyframes newsmodal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
