/* ===== tokens.css ===== */

/* ==========================================================================
   Design Tokens — LBS Bezirksdirektion Böblingen
   Single source of truth for colour, type, spacing, radius, shadow, motion.
   Values transcribed 1:1 from the design handoff (design/*.dc.html + README).
   ========================================================================== */

:root {
  /* --- Colour -------------------------------------------------------------- */
  --c-red: #E30613;          /* LBS primary — buttons, labels, KPI, icons, top bar */
  --c-red-hover: #B8050F;    /* primary button / red link hover */
  --c-ink: #15181C;          /* headings */
  --c-body-ink: #1A1D21;     /* default page text */
  --c-body-muted: #52585E;   /* lead paragraphs */
  --c-muted: #6B7177;        /* card descriptions, meta */
  --c-nav-ink: #3A4046;      /* header nav links, body copy on tinted bg */
  --c-soft-label: #8A9097;   /* uppercase micro labels */
  --c-border: #E2E4E7;       /* 1px hairlines, card borders, dividers */
  --c-border-strong: #D2D6DA;/* logo divider, secondary button border */
  --c-surface-tint: #F4F5F6; /* alternating section background */
  --c-white: #FFFFFF;

  /* dark panels used on a few sections (Produkte header, Nino Sapio quote) */
  --c-dark: #15181C;
  --c-dark-2: #1E2228;
  --c-dark-border: #33393F;
  --c-dark-text: #A9AFB5;

  /* footer */
  --c-footer-bg: #1A1D21;
  --c-footer-text: #B4BAC0;
  --c-footer-muted: #969CA3;
  --c-footer-dim: #7E858C;
  --c-footer-divider: #2C3036;

  /* form / status */
  --c-focus: #E30613;
  --c-success-bg: #E8F6EE;
  --c-success-ink: #1F8A5B;
  --c-notice-bg: #FFF6E8;
  --c-notice-border: #F3D9A6;
  --c-notice-ink: #8A6516;

  /* --- Typography ------------------------------------------------------------ */
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: 50px;
  --fs-h1-sub: 46px;   /* inner-page hero H1 */
  --fs-h2: 38px;
  --fs-h2-sm: 34px;
  --fs-h3: 22px;
  --fs-kpi: 38px;
  --fs-lead: 18px;
  --fs-body: 17px;
  --fs-body-sm: 16px;
  --fs-button: 16.5px;
  --fs-nav: 13.5px;
  --fs-card-title: 18px;
  --fs-meta: 14px;
  --fs-eyebrow: 13px;
  --fs-micro: 10px;

  --lh-tight: 1.07;
  --lh-heading: 1.15;
  --lh-snug: 1.45;
  --lh-body: 1.65;
  --lh-lead: 1.6;

  --tr-h1: -0.02em;
  --tr-h2: -0.01em;
  --tr-label: 0.14em;

  /* --- Spacing ------------------------------------------------------------- */
  --sp-1: 4px;
  --sp-2: 6px;
  --sp-3: 8px;
  --sp-4: 10px;
  --sp-5: 12px;
  --sp-6: 14px;
  --sp-7: 18px;
  --sp-8: 20px;
  --sp-9: 24px;
  --sp-10: 26px;
  --sp-11: 32px;
  --sp-12: 40px;
  --sp-13: 46px;
  --sp-14: 48px;
  --sp-15: 56px;
  --sp-16: 60px;
  --sp-17: 72px;
  --sp-18: 84px;

  --container: 1200px;
  --container-text: 820px;   /* legal / prose pages */
  --gutter: 32px;
  --gutter-header: 16px;

  /* --- Radius ------------------------------------------------------------- */
  --r-button: 4px;
  --r-card: 8px;
  --r-panel: 10px;
  --r-pill: 999px;

  /* --- Shadow ----------------------------------------------------------- */
  --sh-header: 0 1px 12px rgba(0, 0, 0, .06);
  --sh-hero-card: 0 24px 56px rgba(20, 24, 28, .18);
  --sh-card-hover: 0 12px 28px rgba(20, 24, 28, .10);
  --sh-panel: 0 14px 36px rgba(20, 24, 28, .13);
  --sh-video: 0 18px 44px rgba(20, 24, 28, .28);

  /* --- Motion ---------------------------------------------------------- */
  --ease-nav: cubic-bezier(.22, .61, .36, 1);
  --dur-color: .15s;
  --dur-bg: .18s;
  --dur-nav: .28s;
  --dur-transform: .2s;
  --dur-reveal: .55s;
  --reveal-offset: -18px;   /* slide-in FROM ABOVE only */
  --reveal-stagger: 80ms;
}


/* ===== base.css ===== */

/* ==========================================================================
   Base — self-hosted fonts, reset, typography primitives, layout helpers,
   scroll-reveal mechanics, reduced-motion.
   ========================================================================== */

/* --- Self-hosted Source Sans 3 (no Google Fonts request) ------------------- */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-800.woff2") format("woff2");
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-body-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

button { font-family: inherit; }

/* --- Accessibility ----------------------------------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--c-red);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* --- Layout helpers -------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--text { max-width: var(--container-text); }

.section { padding-block: var(--sp-18); }
.section--compact { padding-block: var(--sp-12); }
.section--tint { background: var(--c-surface-tint); }
.section--white { background: var(--c-white); }
.section--hairline-top { border-top: 1px solid var(--c-border); }
.section--hairline-bottom { border-bottom: 1px solid var(--c-border); }

/* --- Typography primitives ---------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
}
.eyebrow--plain { display: inline-block; margin-bottom: 14px; }
.eyebrow--plain::before { display: none; }

.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  font-weight: 800;
  letter-spacing: var(--tr-h1);
  color: var(--c-ink);
  text-wrap: balance;
}
.h1--sub { font-size: var(--fs-h1-sub); line-height: 1.1; letter-spacing: -0.015em; }

.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  font-weight: 800;
  letter-spacing: var(--tr-h2);
  color: var(--c-ink);
  text-wrap: balance;
}
.h2--sm { font-size: var(--fs-h2-sm); }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--c-body-muted);
}

.prose-p {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: var(--c-nav-ink);
}

/* --- Scroll reveal: slide-in FROM ABOVE + fade only.  No zoom / blur / scale.
   Hidden state is gated on `.js` so that with JavaScript disabled or broken
   every section is fully visible (progressive enhancement). */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-offset), 0);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  /* Longhands (not the shorthand) so a var() inside can't trip an older parser
     into dropping the whole declaration and freezing the element mid-fade. */
  transition-property: opacity, transform;
  transition-duration: var(--dur-reveal), calc(var(--dur-reveal) + .06s);
  transition-timing-function: ease-out, var(--ease-nav);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee__track { animation: none !important; }
  html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }


/* ===== components.css ===== */

/* ==========================================================================
   Components — header, footer, buttons, cards, media facades, marquee, forms.
   ========================================================================== */

/* ======================================================================
   Buttons
   ====================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-button);
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--r-button);
  border: 0;
  cursor: pointer;
  transition: background var(--dur-bg), color var(--dur-bg),
    border-color var(--dur-bg), transform var(--dur-transform);
}
.btn svg { flex: none; }
.btn:hover { transform: scale(1.03); }

.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-hover); color: #fff; }

.btn--secondary {
  background: #fff;
  color: var(--c-ink);
  border: 1.5px solid var(--c-border-strong);
}
.btn--secondary:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }

.btn--on-red { background: #fff; color: var(--c-red); }
.btn--on-red:hover { background: var(--c-ink); color: #fff; }

.btn--sm { font-size: 15px; padding: 12px 22px; }
.btn--block { width: 100%; justify-content: center; padding: 15px 28px; font-size: 16.5px; }

/* inline red text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-body-sm);
  font-weight: 700;
  color: var(--c-red);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* ======================================================================
   Header
   ====================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--sh-header);
}
.site-header__topbar { height: 4px; background: var(--c-red); }

.site-header__bar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  flex: none;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand__logo { height: 38px; width: auto; }
.brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 1px solid var(--c-border-strong);
  padding-left: 11px;
}
.brand__kicker {
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--c-soft-label);
  font-weight: 600;
}
.brand__name { font-size: 17px; font-weight: 700; color: var(--c-body-ink); }

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 0;
  min-width: 0;
}
.primary-nav__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--c-red);
  border-radius: 2px;
  opacity: 0;
  transition:
    transform var(--dur-nav) var(--ease-nav),
    width var(--dur-nav) var(--ease-nav),
    opacity var(--dur-bg);
  pointer-events: none;
}
.primary-nav__link {
  position: relative;
  padding: 9px 6px 11px;
  text-decoration: none;
  font-size: var(--fs-nav);
  font-weight: 600;
  color: var(--c-nav-ink);
  white-space: nowrap;
  transition: color var(--dur-color);
}
.primary-nav__link:hover { color: var(--c-red); }
.primary-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 2px;
  height: 3px;
  background: var(--c-red);
  border-radius: 2px;
}
.primary-nav__cta {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--c-red);
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-nav);
  font-weight: 700;
  padding: 9px 13px;
  border-radius: var(--r-button);
  transition: background var(--dur-bg), transform var(--dur-transform);
}
.primary-nav__cta:hover { background: var(--c-red-hover); transform: scale(1.03); }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-button);
  background: #fff;
  cursor: pointer;
}
.nav-toggle__box { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur-bg), opacity var(--dur-bg), top var(--dur-bg);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 6px; }
.nav-toggle__box span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 24, 28, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-bg);
  z-index: 999;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .primary-nav__inner-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: flex; align-items: center; gap: 10px; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(340px, 86vw);
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, .18);
    transform: translateX(100%);
    transition: transform var(--dur-nav) var(--ease-nav);
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 84px 24px 32px;
    overflow-y: auto;
    z-index: 1001;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav__bar { display: none; }
  .primary-nav__link {
    font-size: 17px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--c-border);
  }
  .primary-nav__link[aria-current="page"]::after { left: 4px; right: auto; width: 22px; bottom: 8px; }
  .primary-nav__cta { margin: 20px 0 0; justify-content: center; padding: 14px; font-size: 15px; }
  .brand__lockup { border-left: 0; padding-left: 0; }
  .brand__kicker { display: none; }
}

@media (min-width: 901px) {
  .nav-close { display: none; }
}
.nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--c-ink);
}

/* ======================================================================
   Footer
   ====================================================================== */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); }
.site-footer__topbar { height: 4px; background: var(--c-red); }
.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px var(--gutter) 38px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.site-footer__logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
}
.site-footer__logo-chip img { height: 30px; width: auto; }
.site-footer__lockup { display: flex; flex-direction: column; line-height: 1.2; }
.site-footer__kicker {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-footer-dim);
  font-weight: 600;
}
.site-footer__name { font-size: 17px; font-weight: 700; color: #fff; }
.site-footer__blurb {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-footer-muted);
  max-width: 320px;
}
.site-footer__address { font-size: 14px; line-height: 1.7; color: var(--c-footer-text); }
.site-footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.site-footer__links a { color: var(--c-footer-text); text-decoration: none; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; line-height: 1.5; }
.site-footer__contact span { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact svg { flex: none; margin-top: 2px; }
.site-footer__legal { border-top: 1px solid var(--c-footer-divider); }
.site-footer__legal-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--c-footer-dim);
}
.site-footer__legal-links { display: flex; gap: 22px; }
.site-footer__legal-links a { color: var(--c-footer-dim); text-decoration: none; }
.site-footer__legal-links a:hover { color: #fff; }

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

/* ======================================================================
   Cards
   ====================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
}
.card--pad-lg { padding: 34px 30px; }
.card--tint { background: var(--c-surface-tint); border-color: transparent; }

.icon-tile {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--c-surface-tint);
  border-radius: var(--r-panel);
}
.icon-tile--on-white { background: #fff; }

/* product link card (2×2 grid on home + footer of product page) */
.prod-card {
  text-decoration: none;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
  transition: transform var(--dur-bg), border-color var(--dur-bg), box-shadow var(--dur-bg);
}
.prod-card:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--c-red);
  box-shadow: var(--sh-card-hover);
}
.prod-card__icon { flex: none; display: inline-flex; }
.prod-card__title {
  display: block;
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.prod-card__desc { display: block; font-size: var(--fs-meta); color: var(--c-muted); line-height: 1.5; }

/* feature checklist */
.checklist { display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 2px; }
.checklist span { font-size: var(--fs-body-sm); color: var(--c-nav-ink); }

/* ======================================================================
   Media facade — YouTube (click to load, youtube-nocookie only)
   ====================================================================== */
.media-facade {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-dark);
}
.media-facade--shadow { box-shadow: var(--sh-video); }
.media-facade--panel-shadow { box-shadow: var(--sh-panel); }
.media-facade__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.media-facade__poster {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: var(--facade-aspect, 16 / 9);
  background:
    var(--facade-image, linear-gradient(150deg, #1E2228, #15181C));
  background-size: cover;
  background-position: center;
}
.media-facade__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 28, .18);
}
/* With a real still image behind it, deepen the scrim so the white play
   button and the consent note stay legible on light photography. */
.media-facade--has-still .media-facade__poster::after {
  background: linear-gradient(180deg, rgba(21, 24, 28, .28), rgba(21, 24, 28, .55));
}
.media-facade__note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #B4BAC0;
  text-align: center;
  z-index: 1;
}
.media-facade__note span { display: inline-block; max-width: 420px; }
.media-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  background: var(--c-red);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(227, 6, 19, .5);
  z-index: 2;
  transition: transform var(--dur-transform);
}
.media-facade__btn:hover .media-facade__play { transform: translate(-50%, -50%) scale(1.06); }
.media-facade__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(227, 6, 19, .95);
  padding: 5px 12px;
  border-radius: var(--r-button);
  letter-spacing: 0.04em;
  z-index: 2;
}
.media-facade__frame {
  width: 100%;
  aspect-ratio: var(--facade-aspect, 16 / 9);
  border: 0;
  display: block;
  background: #000;
}
.media-facade--square .media-facade__poster,
.media-facade--square .media-facade__frame { aspect-ratio: 1 / 1; }

/* ======================================================================
   Map facade — Google Maps (click to load)
   ====================================================================== */
.map-facade {
  width: 100%;
  height: 300px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #EAECEE;
}
.map-facade__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}
.map-facade__placeholder p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-body-muted);
  margin: 0;
  max-width: 440px;
}
.map-facade__btn {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--c-red);
  border: 0;
  border-radius: var(--r-button);
  padding: 11px 22px;
  cursor: pointer;
}
.map-facade__btn:hover { background: var(--c-red-hover); }
.map-facade iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ======================================================================
   Review marquee
   ====================================================================== */
.marquee {
  padding-bottom: var(--sp-13);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review {
  flex: 0 0 auto;
  width: 330px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-panel);
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review__who { display: flex; flex-direction: column; min-width: 0; }
.review__name { font-size: 15px; font-weight: 600; color: #202124; }
.review__meta { font-size: 12.5px; color: #70757A; }
.review__stars { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.review__stars .stars { display: flex; gap: 1px; }
.review__when { font-size: 12.5px; color: #70757A; }
.review__text { font-size: 14.5px; line-height: 1.6; color: #3C4043; margin: 0; }
.marquee-toggle {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-nav-ink);
  background: #fff;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-button);
  padding: 9px 16px;
  cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--c-ink); }

/* ======================================================================
   Notice / callout (legal pages)
   ====================================================================== */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--c-notice-bg);
  border: 1px solid var(--c-notice-border);
  border-radius: var(--r-card);
  padding: 16px 18px;
  margin-bottom: 40px;
}
.notice svg { flex: none; margin-top: 1px; }
.notice p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--c-notice-ink); }
.notice code {
  background: #F3E3C2;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: inherit;
}
/* ======================================================================
   Forms (Kontakt)
   ====================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-panel);
  padding: 40px 42px;
  box-shadow: 0 10px 30px rgba(20, 24, 28, .05);
}
.field { margin-bottom: 18px; }
.field label,
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-nav-ink);
  margin-bottom: 6px;
}
.field .req { color: var(--c-red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-button);
  font-size: 15.5px;
  font-family: inherit;
  color: var(--c-body-ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-red); outline: 3px solid rgba(227, 6, 19, .25); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 24px; cursor: pointer; }
.field-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--c-red); flex: none; }
.field-check span { font-size: 13.5px; color: var(--c-muted); line-height: 1.5; }
.field-check a { color: var(--c-red); text-decoration: none; font-weight: 600; }
.form-error {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--c-red);
  border-radius: 6px;
  padding: 13px 16px;
  margin-bottom: 20px;
}
.form-error svg { flex: none; }
.form-error span { font-size: 14.5px; color: var(--c-red-hover); font-weight: 600; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--c-success-bg);
  border-radius: 50%;
  margin-bottom: 24px;
}
::placeholder { color: #A6ACB2; }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}


/* ===== pages.css ===== */

/* ==========================================================================
   Page layouts
   ========================================================================== */

/* --- Shared: inner-page head band + red CTA band ----------------------- */
.page-head { border-bottom: 1px solid var(--c-border); }
.page-head--tint { background: var(--c-surface-tint); }
.page-head--white { background: #fff; }
.page-head .container { padding-block: 54px 58px; }
.page-head__lead { max-width: 640px; margin-top: 16px; }
.page-head--split .container {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 52px;
  align-items: center;
}

.cta-band { background: var(--c-red); }
.cta-band .container {
  padding-block: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: var(--fs-h2-sm); font-weight: 800; letter-spacing: var(--tr-h2); margin: 0 0 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: var(--fs-lead); margin: 0; }
.cta-band__text > :last-child { margin-bottom: 0; }

/* --- Generic split layout --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split--center { align-items: center; }
.split__media { position: relative; border-radius: var(--r-panel); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .split, .split--even, .page-head--split .container { grid-template-columns: 1fr; gap: 36px; }
}

/* ======================================================================
   Startseite
   ====================================================================== */
.hero { position: relative; background: var(--c-ink); overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 28, .72) 0%, rgba(20, 24, 28, .55) 45%, rgba(20, 24, 28, .3) 100%);
}
.hero .container { position: relative; padding-block: 64px 56px; }
.hero__title {
  font-size: 62px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero__sub {
  font-size: 30px;
  line-height: 1.32;
  font-weight: 400;
  color: #fff;
  max-width: 820px;
  margin: 0;
  text-wrap: pretty;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats__item { text-align: center; }
.stats__item + .stats__item { border-left: 1px solid var(--c-border); }
.stats__num { font-size: var(--fs-kpi); font-weight: 800; color: var(--c-red); line-height: 1; }
.stats__label { font-size: 14.5px; color: var(--c-muted); margin-top: 8px; }

.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-grid .card { text-align: center; }
.why-grid .card svg { margin: 0 auto 18px; }
.why-grid h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--c-ink); margin: 0 0 10px; }
.why-grid p { font-size: 15px; line-height: 1.6; color: var(--c-muted); margin: 0; }

.section-head--center { text-align: center; max-width: 680px; margin: 0 auto 46px; }

.imagefilm .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: center; }

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.reviews-head > div { max-width: 640px; }

.verbund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.verbund-card {
  text-decoration: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  display: block;
  transition: border-color var(--dur-bg);
}
.verbund-card:hover { border-color: var(--c-red); }
.verbund-card h3 { font-size: 20px; font-weight: 700; color: var(--c-ink); margin: 0 0 8px; }
.verbund-card p { font-size: 15px; line-height: 1.6; color: var(--c-muted); margin: 0 0 14px; }
.verbund-card span { font-size: 14.5px; font-weight: 700; color: var(--c-red); }

.loc-strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.loc-strip__lead { max-width: 680px; margin: 0 0 32px; font-size: 16.5px; line-height: 1.6; color: var(--c-body-muted); }
.loc-strip__map { margin-bottom: 30px; }
.loc-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.loc-strip__card {
  border-top: 3px solid var(--c-border);
  padding-top: 18px;
  cursor: pointer;
  transition: border-color .18s;
}
.loc-strip__card:hover { border-top-color: var(--c-border-strong); }
.loc-strip__card--active { border-top-color: var(--c-red); }
.loc-strip__card--active:hover { border-top-color: var(--c-red); }
.loc-strip__card:focus-visible { outline: 3px solid rgba(227, 6, 19, .35); outline-offset: 3px; }
.loc-strip__card h3 { font-size: 21px; font-weight: 700; color: var(--c-ink); margin: 0 0 8px; }
.loc-strip__card address { font-style: normal; font-size: 15px; color: var(--c-muted); line-height: 1.6; }
.loc-strip__card a { color: inherit; }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stats__item:nth-child(odd) { border-left: 0; }
  .prod-grid, .why-grid, .verbund-grid, .loc-strip__grid { grid-template-columns: 1fr; }
  .imagefilm .container { grid-template-columns: 1fr; }
  .hero__title { font-size: 46px; }
  .hero__sub { font-size: 22px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--c-border); padding-top: 20px; }
  .hero .container { padding-block: 48px 44px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 18px; }
}

/* ======================================================================
   Produkte
   ====================================================================== */
.prod-header { background: var(--c-dark); position: relative; overflow: hidden; }
.prod-header::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c-red); }
.prod-header .container {
  padding-block: 66px 70px;
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 56px;
  align-items: center;
}
.prod-header h1 { color: #fff; font-size: 48px; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 16px; font-weight: 800; text-wrap: balance; }
.prod-header p { color: var(--c-dark-text); font-size: 18.5px; line-height: 1.6; margin: 0; }
.prod-jump { display: flex; flex-direction: column; border-top: 1px solid var(--c-dark-border); }
.prod-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--c-dark-border);
  text-decoration: none;
  color: #E7E9EB;
  font-size: 17px;
  font-weight: 600;
  transition: color var(--dur-color), padding-left var(--dur-bg);
}
.prod-jump a:hover { color: #fff; padding-left: 10px; }

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  min-height: 320px;
  border-radius: var(--r-card);
  background: var(--c-surface-tint);
  border: 1px dashed var(--c-border-strong);
  color: var(--c-soft-label);
  font-size: 14px;
}
.media-photo { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-panel); }
.media-photo img { width: 100%; height: 400px; object-fit: cover; display: block; }
.media-cutout { width: 100%; height: 440px; object-fit: contain; object-position: center bottom; }

.prod-block { scroll-margin-top: 90px; }
.prod-block .split { align-items: center; }
.prod-block__title { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.prod-block__title h2 { margin: 0; }
.prod-block p.lead-copy { font-size: 17px; line-height: 1.65; color: var(--c-body-muted); margin: 0 0 24px; }
.prod-block .checklist { margin-bottom: 28px; }

/* LBS Immobilien: cutout photo bleeds to the section's bottom edge (touches the footer topbar) */
#immobilien { padding-bottom: 0; }
#immobilien .split { align-items: flex-end; }
#immobilien .split > div { padding-bottom: var(--sp-18); }

@media (max-width: 900px) {
  .prod-header .container { grid-template-columns: 1fr; gap: 36px; }
  .prod-header h1 { font-size: 36px; }
}

/* ======================================================================
   Beratungsstellen
   ====================================================================== */
.loc-list { display: flex; flex-direction: column; gap: 36px; }
.loc-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.loc-card__media { position: relative; min-height: 300px; background: var(--c-surface-tint); }
.loc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-card__media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-soft-label);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}
.loc-card__body { padding: 38px 40px; }
.loc-card__name { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loc-card__name h2 { font-size: 29px; font-weight: 800; margin: 0; color: var(--c-ink); }
.loc-card__badge {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--c-red);
  padding: 4px 11px;
  border-radius: 20px;
}
.loc-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.loc-card__fact { display: flex; gap: 11px; }
.loc-card__fact svg { flex: none; margin-top: 2px; }
.loc-card__fact div { font-size: 15.5px; color: var(--c-nav-ink); line-height: 1.55; }
.loc-card__fact--wide { grid-column: 1 / -1; }
.loc-card__fact a { color: inherit; }
.hours { margin-bottom: 26px; }
.hours__title { font-size: 14px; font-weight: 700; color: var(--c-ink); margin-bottom: 10px; }
.hours__table { border: 1px solid #E8EAED; border-radius: 6px; overflow: hidden; }
.hours__row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  padding: 9px 12px;
  font-size: 15px;
  color: var(--c-nav-ink);
}
.hours__row:nth-child(odd) { background: var(--c-surface-tint); }
.hours__row span:first-child { font-weight: 600; }
.hours__note { font-size: 14.5px; color: var(--c-muted); margin-top: 10px; }
.loc-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .loc-card { grid-template-columns: 1fr; }
  .loc-card__media { min-height: 220px; }
  .loc-card__body { padding: 28px 24px; }
  .loc-card__facts { grid-template-columns: 1fr; }
}

/* ======================================================================
   Team — ported 1:1 from the design handoff (handoff-team/team.html,
   'LBS Böblingen Website Design3.zip'): values, spacing, colors and the
   1100/900/560px breakpoints below are its exact numbers, not the site's
   generic .container/.split/.section defaults (those serve other pages
   with legitimately different values) — hence the page-specific classes
   instead of reusing those here.
   ====================================================================== */
.team-hero {
  position: relative;
  background: var(--c-surface-tint);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--c-border);
}
.team-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 28, .72) 0%, rgba(20, 24, 28, .55) 45%, rgba(20, 24, 28, .3) 100%);
}
.team-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.team-hero__inner .btn:hover { transform: translateY(-2px); }
.team-hero__title {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 760px;
  margin: 0 0 14px;
  text-wrap: balance;
}
.team-hero__sub {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
  color: #fff;
  max-width: 640px;
  margin: 0 0 26px;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .team-hero { aspect-ratio: auto; min-height: 420px; }
  .team-hero__inner { padding: 96px 24px 48px; }
  .team-hero__title { font-size: 34px; }
  .team-hero__sub { font-size: 18px; }
}
#team { scroll-margin-top: 96px; }

.team-lead-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 900px) {
  .team-lead-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
}
.team-lead__eyebrow { margin-bottom: 12px; }
.team-lead h2 { font-size: 32px; font-weight: 800; margin: 0 0 6px; color: var(--c-ink); }
.team-lead__role { font-size: 16px; color: var(--c-muted); margin: 0 0 22px; }
.team-lead__quote {
  font-size: 23px;
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;
  color: #2A2F34;
  margin: 0 0 22px;
}
.team-lead__contact { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15.5px; color: var(--c-nav-ink); }
.team-lead__contact span { display: inline-flex; align-items: center; gap: 8px; }
.team-lead__contact a { color: inherit; }

.team-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px 84px;
}
@media (max-width: 900px) {
  .team-inner { padding: 48px 24px 64px; }
}

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  font-size: 14.5px;
  line-height: 1;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 1.5px solid var(--c-border-strong);
  background: #fff;
  color: var(--c-nav-ink);
  transition: background var(--dur-color), color var(--dur-color), border-color var(--dur-color);
}
.filter-chip:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.filter-chip[aria-pressed="true"] { background: var(--c-red); border-color: var(--c-red); color: #fff; }

.team-group { margin-bottom: 8px; }
/* Margin only between two groups that are both visible, so the filter view
   (groups toggled via [hidden]) never leaves a stray gap above the first
   visible group. Ported 1:1 from the design handoff. */
.team-group:not([hidden]) ~ .team-group:not([hidden]) { margin-top: 64px; }
.team-group__heading { font-size: 28px; font-weight: 800; margin: 0 0 30px; color: var(--c-ink); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-member { display: flex; flex-direction: column; }
.team-member__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
  margin-bottom: 16px;
  background: var(--c-surface-tint);
}
/* Portrait — ported 1:1 from the design handoff: every source file already
   ships cropped to exactly 3:4 (zoom/position baked into the image), so the
   frame just masks + the image fills it with plain object-fit:cover. No
   object-position, no offset, no further cropping — swap the file instead. */
.portrait {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-card);
  background: #ECEEF0;
  margin: 0 0 16px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-soft-label);
  font-size: 13px;
}
.team-member h3 { font-size: 20.5px; font-weight: 700; margin: 0 0 3px; color: var(--c-ink); }
.team-member__role { font-size: 14.5px; color: var(--c-red); font-weight: 600; margin-bottom: 4px; }
.team-member__loc { font-size: 14px; color: var(--c-soft-label); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.team-member__mail { font-size: 13.5px; color: var(--c-muted); border-top: 1px solid #E8EAED; padding-top: 11px; }
.team-member__mail a { color: inherit; text-decoration: none; }
.team-member__mail a:hover { color: var(--c-red); }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Nino Sapio — advisor detail
   ====================================================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-muted);
  text-decoration: none;
  margin-bottom: 30px;
}
.back-link:hover { color: var(--c-red); }

.advisor-hero__eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--c-red);
  margin: 0 0 12px;
}
.advisor-hero h1 { font-size: 54px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 24px; color: var(--c-ink); }
.advisor-hero__contact { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15.5px; color: var(--c-nav-ink); }
.advisor-hero__contact span { display: inline-flex; align-items: center; gap: 9px; }
.advisor-hero__contact a { color: inherit; }

.advisor-letter p { font-size: 17.5px; line-height: 1.75; color: var(--c-nav-ink); margin: 0 0 18px; }
.advisor-letter__sign { font-size: 19px; font-weight: 700; color: var(--c-ink); margin: 8px 0 0; }

.timeline { display: flex; flex-direction: column; gap: 26px; }
.timeline__row { display: grid; grid-template-columns: 78px 1fr; gap: 20px; }
.timeline__year { font-size: 19px; font-weight: 800; color: var(--c-red); padding-top: 2px; }
.timeline__row p { font-size: 16.5px; line-height: 1.7; color: var(--c-nav-ink); margin: 0; }

.advisor-video { background: var(--c-dark); }
.advisor-video .container { max-width: 1000px; }
.advisor-video h2 { color: #fff; font-size: 36px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 28px; text-wrap: balance; }

.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 34px; }
.offer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.offer__head h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0; color: var(--c-ink); }
.offer p { font-size: var(--fs-body-sm); line-height: 1.7; color: var(--c-body-muted); margin: 0; }

@media (max-width: 900px) {
  .advisor-hero h1 { font-size: 40px; }
  .offer-grid { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 64px 1fr; gap: 14px; }
}

/* ======================================================================
   Karriere
   ====================================================================== */
.career-hero .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  align-items: center;
  padding-block: 64px 68px;
}
.career-hero h1 { font-size: 48px; line-height: 1.06; font-weight: 800; letter-spacing: -.015em; margin: 0 0 16px; color: var(--c-ink); text-wrap: balance; }
.career-hero p { font-size: 18px; line-height: 1.6; color: var(--c-body-muted); margin: 0 0 28px; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: var(--c-surface-tint); border-radius: var(--r-card); padding: 30px 28px; }
.benefit .icon-tile { background: #fff; margin-bottom: 18px; }
.benefit h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); }
.benefit p { font-size: 15px; line-height: 1.6; color: var(--c-muted); margin: 0; }

.jobs { display: flex; flex-direction: column; gap: 16px; }
.job {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: border-color var(--dur-bg);
}
.job:hover { border-color: var(--c-red); }
.job h3 { font-size: 23px; font-weight: 700; margin: 0 0 10px; color: var(--c-ink); }
.job__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; color: var(--c-muted); }
.job__meta span { display: inline-flex; align-items: center; gap: 7px; }
.jobs__note { font-size: 15.5px; color: var(--c-muted); margin: 28px 0 0; }
.jobs__note a { color: var(--c-red); font-weight: 600; text-decoration: none; }
#stellenangebote { scroll-margin-top: 150px; }
.anchor-alias { display: block; scroll-margin-top: 150px; }

.verbund-hint {
  margin-top: 40px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.verbund-hint h3 { font-size: 21px; font-weight: 700; margin: 0 0 6px; color: var(--c-ink); }
.verbund-hint p { font-size: 15.5px; line-height: 1.55; color: var(--c-muted); margin: 0; }

@media (max-width: 900px) {
  .career-hero .container { grid-template-columns: 1fr; gap: 36px; padding-block: 48px; }
  .career-hero h1 { font-size: 36px; }
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ======================================================================
   Partner
   ====================================================================== */
.partner-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.partner-intro__logo { display: block; flex: none; text-decoration: none; }
.partner-intro__logo img { display: block; width: auto; height: 60px; max-width: 100%; }

.partner-advantage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: start;
}
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.partner-cards .card h3 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 0 0 8px; }
.partner-cards .card p { font-size: 14px; line-height: 1.5; color: var(--c-muted); margin: 0; }

@media (max-width: 760px) {
  .partner-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .partner-intro__logo img { height: 48px; }
}

/* ======================================================================
   Kontakt
   ====================================================================== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
.kontakt-aside { background: var(--c-surface-tint); border-radius: var(--r-panel); padding: 32px; }
.kontakt-aside h3 { font-size: 22px; font-weight: 700; color: var(--c-ink); margin: 0 0 4px; }
.kontakt-aside__loc { padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.kontakt-aside__loc:last-of-type { border-bottom: 0; }
.kontakt-aside__loc h4 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 0 0 8px; }
.kontakt-aside__loc address { font-style: normal; font-size: 15.5px; color: var(--c-body-muted); line-height: 1.6; margin-bottom: 10px; }
.kontakt-aside__loc .rows { display: flex; flex-direction: column; gap: 5px; font-size: 15.5px; color: var(--c-nav-ink); }
.kontakt-aside__loc .rows span { display: inline-flex; align-items: center; gap: 9px; }
.kontakt-aside__loc .rows svg { flex: none; }
.kontakt-aside__loc a { color: inherit; }
.form-card h2 { font-size: 27px; font-weight: 800; margin: 0 0 10px; color: var(--c-ink); }
.form-card__intro { font-size: 15.5px; color: var(--c-body-muted); line-height: 1.6; margin: 0 0 8px; }
.form-card__req-hint { font-size: 14px; color: var(--c-soft-label); margin: 0 0 28px; }

@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ======================================================================
   Legal pages (Impressum / Datenschutz)
   ====================================================================== */
.legal .container { padding-block: 56px 84px; }
.legal h2 { font-size: 24px; font-weight: 700; color: var(--c-ink); margin: 34px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 26px 0 10px; }
.legal p { font-size: 16.5px; line-height: 1.7; color: var(--c-nav-ink); margin: 0 0 14px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; margin: 0 0 14px; list-style: disc; }
.legal li { font-size: 16.5px; line-height: 1.75; color: var(--c-nav-ink); }
.legal a { color: var(--c-red); text-decoration: none; word-break: break-word; }
.legal a:hover { text-decoration: underline; }
.legal__meta { font-size: 14px; line-height: 1.7; color: var(--c-soft-label); margin-top: 40px; border-top: 1px solid #E8EAED; padding-top: 22px; }
