/* Neutec Medizintechnik – Stylesheet.
   Diese Datei ist nur das Inhaltsverzeichnis. scripts/build.py fügt die Teile in dieser
   Reihenfolge zu site/assets/css/site.css zusammen. */

/* Design-Tokens: jede Farbe, jeder Abstand, der mehrfach vorkommt, steht genau hier. */

/* Hausschrift: Source Sans 3 – eine warme, gut lesbare Grotesk, die zur Wortmarke im Logo passt.
   Liegt lokal auf dem eigenen Server (kein Google Fonts, siehe Datenschutzerklärung). */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  /* Marke */
  --blue: #1F4B7A;      /* nur für Klickbares: Links, Knöpfe, Pfeile, aktiver Menüpunkt */
  --blue-deep: #023A5B;
  /* Akzent: das Terrakotta-Orange aus dem Corporate Design (auf der alten Website "--terra").
     Sparsam einsetzen – für Details, nicht für Flächen. Weiße Schrift nur auf --orange-deep. */
  --orange: #C0703C;
  --orange-deep: #A85E30;
  --orange-light: #E8A87C;

  /* Text – Farbregel vom 22.10.2026 (Bea): Überschriften und Kartentitel schwarz, Fließtext
     dunkelgrau. Blau nur für Klickbares, Kupfer (--copper) nur für kleine Hinweise. */
  --ink: #111;
  --heading: var(--ink);
  --text: #4A5D72;
  --muted: #4A5D72;
  --faint: #4A5D72;
  --copper: #B5602A;

  /* Flächen – Designsystem: nur Weiß und #F3F6F9 (bläuliches Hellgrau), keine Verläufe */
  --white: #fff;
  --tint: #F3F6F9;
  --tint-strong: #F3F6F9;
  --tint-hero: #F3F6F9;
  --tint-media: #DCE8F1;
  --tint-video: #E6EFF6;
  --band: #F3F6F9;

  /* Linien */
  --line: #E8E8ED;
  --line-blue: #E1EAF1;
  --line-field: #D2D2D7;
  --line-card: #E2E8EE;  /* Rahmen von Karten; Hover: --blue */

  /* Hinweise (interne Platzhalter, Formularfehler) */
  --mark: #FFF3B0;
  --notice: #FFF8D6;
  --error: #B3261E;

  /* Raster */
  --page: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: 96px;     /* Sektionsabstand oben/unten, Telefon 64px (unten) */
  --ticker-h: 56px;   /* Höhe der Info-Leiste „Neu im Sortiment" */
  --header-h: 70px;   /* Höhe der Kopfzeile – je Breite in components/header.css nachgeführt */

  /* Schrift */
  --font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --h2: clamp(1.75rem, 2.8vw, 2.4rem);
  --h2-gap: 32px;      /* Abstand unter jeder H2 */
  --lead: clamp(1.02rem, 1.3vw, 1.15rem);

  /* Bewegung */
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Schatten */
  --shadow-text: 0 1px 12px rgba(2, 40, 64, 0.35);
}

@media (max-width: 699px) {
  :root { --section: 64px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  /* Source Sans 3 hat niedrigere Kleinbuchstaben als übliche Bildschirmschriften und wirkt bei
     gleicher Größe kleiner. Dieser Wert gleicht das aus (≈ +7 %), ohne jede Größe einzeln anzufassen. */
  font-size-adjust: 0.52;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

img,
video { display: block; }

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

button { font: inherit; letter-spacing: inherit; }

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* <main> erzeugt keine eigene Box: Abschnitte und Footer liegen im selben Block.
   Das braucht der Stapel-Effekt beim Scrollen (js/components/stack-scroll.js). */
main { display: contents; }

:where(main > section) { background-color: var(--white); }

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

.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.section--tint-strong { background: var(--tint-strong); }

.h2 {
  font-size: var(--h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--heading);
  text-wrap: balance;
}


.text-link { font-weight: 500; }

/* Überschrift links, Zusatz rechts */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.section-head--spacious { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__text { margin-top: 12px; color: var(--muted); max-width: 480px; }
.section-head__aside { color: var(--muted); }

/* Bild füllt seinen Rahmen; der Bildausschnitt kommt als --focus aus den Seitendaten. */
.page-hero__image,
.hero-slide__media,
.reason__media img,
.scroll-steps__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.icon-tile {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--blue);
}
.icon-tile svg { width: 20px; height: 20px; }


.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  /* Blattform des Logo-Schwungs: großer Bogen oben links und unten rechts */
  border-radius: 26px 3px 26px 3px / 100% 3px 100% 3px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 22px;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--blue); color: var(--white); }
button.btn { line-height: normal; }
/* Gefüllter Knopf für die wichtigste Handlung einer Seite (z. B. Anfrage auf der Produktseite). */
.btn--solid { background: var(--blue); color: var(--white); }
.btn--solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn--small { padding: 9px 18px; font-size: inherit; }
.btn--icon { display: inline-flex; align-items: center; gap: 10px; }
.btn--icon svg { width: 18px; height: 18px; flex: none; }
.btn--on-dark { border-color: var(--white); }
.btn--on-dark:hover { border-color: var(--blue); }

/* Button-Optik innerhalb einer Kachel, die als Ganzes der Link ist */
.chip-button {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 22px 3px 22px 3px / 100% 3px 100% 3px; /* Blattform wie .btn */
}
.chip-button--outline { border: 1.5px solid var(--white); transition: background .3s, color .3s, border-color .3s; }
.chip-button--outline:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-row--wide { margin-top: 32px; }

/* Runder Glas-Pfeil (Partner-Karussell, Variante --light) */
.round-arrow {
  all: unset;
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--blue-deep);
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(2, 40, 64, 0.08);
  transition: background .3s, transform .3s;
}
.round-arrow:hover { background: rgba(255, 255, 255, 0.45); transform: translateY(-50%) scale(1.06); }
.round-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.round-arrow svg { width: 22px; height: 22px; }
.round-arrow--prev { left: clamp(10px, 1.5vw, 20px); }
.round-arrow--next { right: clamp(10px, 1.5vw, 20px); }

.round-arrow--light { background: rgba(255, 255, 255, 0.55); color: var(--blue); }
.round-arrow--light:hover { background: rgba(255, 255, 255, 0.9); }
.round-arrow--light:focus-visible { outline-color: var(--blue); }
.round-arrow--light svg { filter: none; }

/* Pfeile des Hero-Karussells: nur ein Chevron, kein Kreis, kein Glas (Vorgabe Bea, 22.10.2026).
   34 px, Strich ca. 2,5 px (stroke-width 1.8 im 24er-Raster), unsichtbare Klickfläche 48 × 48 px.
   Alles, was nach Knopf aussieht, ist bewusst ausgeschaltet – auch gegen geerbte Stile. */
.hero-arrow {
  all: unset;
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F4B7A;
  cursor: pointer;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}
.hero-arrow::before,
.hero-arrow::after { content: none !important; display: none !important; }
.hero-arrow svg { width: 34px; height: 34px; transition: transform .2s ease; }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }
.hero-arrow--prev:hover svg { transform: translateX(-3px); }
.hero-arrow--next:hover svg { transform: translateX(3px); }
.hero-arrow:focus-visible { outline: 2px solid #1F4B7A; outline-offset: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  max-width: var(--page);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.site-header__logo { flex: none; margin-right: auto; }
.site-header__logo img { height: 36px; width: auto; }

/* Hauptnavigation – ab 860 px, darunter das Menü */
.nav,
.site-header__tools { display: none; }

.nav {
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 14.5px;
  flex: 1;
  white-space: nowrap;
}
.nav__link { color: var(--ink); }
.nav__link:hover { color: var(--blue); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }

.nav__group { position: relative; }
.nav__toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--ink);
}
.nav__toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.nav__caret { font-size: 10px; display: inline-block; transition: transform .25s; }
.nav__group.is-open .nav__toggle { color: var(--blue); }
.nav__group.is-open .nav__caret { transform: rotate(180deg); }
.nav__group.is-current .nav__toggle { color: var(--blue); font-weight: 600; }

.nav__menu { display: none; position: absolute; top: 100%; left: -18px; padding-top: 10px; }
.nav__group.is-open .nav__menu { display: block; }
.nav__menu-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(2, 58, 91, 0.10);
  padding: 8px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
}
.nav__menu-link { color: var(--ink); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.nav__menu-link strong { font-weight: 600; }
.nav__menu-link span { font-size: 13px; color: var(--muted); }
.nav__menu-link:hover,
.nav__menu-link.is-active { background: var(--tint-strong); color: var(--blue); }

.site-header__tools { align-items: center; gap: 22px; font-size: 14.5px; white-space: nowrap; }
.site-header__lang { color: var(--muted); }
.site-header__phone { display: none; }

.site-header__menu-button {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px 3px 20px 3px / 100% 3px 100% 3px; /* Blattform wie alle Knöpfe */
  cursor: pointer;
  transition: background .3s, color .3s;
}
.site-header__menu-button:hover { background: var(--blue); color: var(--white); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px var(--gutter) 24px;
  font-size: 19px;
}
.mobile-nav a { color: var(--ink); }
.mobile-nav__group { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav .mobile-nav__sub { color: var(--text); font-size: 16px; padding-left: 16px; }
.mobile-nav .mobile-nav__lang { color: var(--muted); }
.mobile-nav .mobile-nav__phone { color: var(--blue); font-weight: 600; }
.mobile-nav .mobile-nav__link.is-active { color: var(--blue); font-weight: 600; }
.mobile-nav .mobile-nav__sub.is-active { color: var(--blue); }

/* --header-h muss zur tatsächlichen Höhe der Kopfzeile passen: Der Hero der Startseite füllt
   damit genau den ersten Bildschirm (pages/index.css). */
@media (min-width: 860px) {
  :root { --header-h: 67px; }
  .site-header__logo { margin-right: 0; }
  .nav,
  .site-header__tools { display: flex; }
  .site-header__menu-button,
  .mobile-nav { display: none; }
}
@media (min-width: 1180px) {
  :root { --header-h: 72px; }
  .site-header__phone { display: inline-block; }
}

.site-footer { position: relative; background: var(--white); }
.site-footer__inner { max-width: var(--page); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gutter) 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.site-footer__logo { height: 40px; width: auto; }
.site-footer__tagline { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 240px; }

.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.site-footer__heading { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.site-footer__col a { color: var(--ink); }
.site-footer__col a:hover { color: var(--blue); }
.site-footer__col a.is-active { color: var(--blue); font-weight: 600; }

.site-footer__legal {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__legal-links { display: flex; gap: 22px; }
.site-footer__legal a { color: var(--muted); }
.site-footer__legal a:hover { color: var(--blue-deep); }

/* Telefon: Links mit dem Finger gut treffbar */
@media (max-width: 699px) {
  .site-footer__col { gap: 4px; }
  .site-footer__col a { padding: 7px 0; }
  .site-footer__legal { flex-direction: column; gap: 12px; }
  .site-footer__legal-links { flex-wrap: wrap; gap: 6px 22px; }
  .site-footer__legal a { padding: 6px 0; }
}

/* Hero der Unterseiten: Foto, heller Schleier, Text links, optional freigestelltes Gerät rechts. */
.page-hero {
  --hero-min: 520px;
  --hero-fluid: 72vh;
  --hero-max: 680px;
  position: relative;
  height: clamp(var(--hero-min), var(--hero-fluid), var(--hero-max));
  overflow: hidden;
  background: var(--tint-hero);
}
.page-hero--about { --hero-max: 700px; }
.page-hero--medium { --hero-min: 460px; --hero-fluid: 64vh; --hero-max: 600px; }
.page-hero--short { --hero-min: 400px; --hero-fluid: 54vh; --hero-max: 520px; }

.page-hero__image { animation: zoom-out 2.4s var(--ease) .06s both; }
.page-hero__veil { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.86); }
.page-hero--about .page-hero__veil { background: rgba(255, 255, 255, 0.84); }

.page-hero__product { display: none; }

.page-hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 110px);
  display: flex;
  align-items: center;
}
.page-hero__text { max-width: 560px; animation: fade-in 1s ease .26s both, rise-24 1s var(--ease) .26s both; }
.page-hero--medium .page-hero__text,
.page-hero--short .page-hero__text { max-width: 580px; }

.page-hero__title {
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--heading);
  text-wrap: balance;
}
.page-hero__lead { margin-top: 16px; font-size: var(--lead); color: var(--text); max-width: 480px; text-wrap: pretty; }
.page-hero__lead--wide { max-width: 500px; }
.page-hero--about .page-hero__title { letter-spacing: -0.02em; }
.page-hero--about .page-hero__lead { margin-top: 18px; }

/* Telefon und Tablet hochkant: Startbild im Vollbild (ganzer erster Bildschirm), Überschrift und Text
   oben, Knöpfe unten am Bildende. Ein heller Verlauf oben und unten hält Text und Knöpfe lesbar. */
@media (max-width: 899px) {
  .page-hero { height: calc(100svh - var(--header-h)); min-height: 520px; }
  .page-hero .page-hero__image {
    position: absolute;
    inset: var(--shift-m, 0) 0 auto; /* --shift-m: Personenfoto tiefer, Gesicht nicht hinter dem Text */
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-mask-image: none;
    mask-image: none;
    object-position: var(--focus-m, var(--focus, 50% 50%)); /* eigener Ausschnitt fürs Hochformat */
  }
  .page-hero .page-hero__veil {
    display: block;
    background: linear-gradient(180deg, rgba(243, 246, 249, 0.92) 0%, rgba(243, 246, 249, 0.76) 28%, rgba(243, 246, 249, 0) 48%, rgba(243, 246, 249, 0) 72%, rgba(243, 246, 249, 0.7) 100%);
  }
  .page-hero__inner { height: 100%; align-items: stretch; padding: clamp(32px, 8vw, 48px) var(--gutter) 28px; }
  .page-hero__text { display: flex; flex-direction: column; height: 100%; max-width: none; }
  .page-hero__text .button-row { margin-top: auto; flex-wrap: nowrap; gap: 10px; }
  /* Knöpfe nebeneinander und etwas kompakter, damit sie möglichst wenig vom Foto verdecken */
  .page-hero__text .button-row .btn { padding: 11px 15px; font-size: 14.5px; white-space: nowrap; }
  /* Über uns: am Handy ohne Knöpfe – das Gruppenfoto steht für sich */
  .page-hero--about .button-row { display: none; }
  /* … und ohne hellen Verlauf unten: das Foto ist bis zum unteren Rand ganz zu sehen (auch FAQ-Teamfoto) */
  .page-hero--about .page-hero__veil,
  .page-hero--faq .page-hero__veil { background: linear-gradient(180deg, rgba(243, 246, 249, 0.92) 0%, rgba(243, 246, 249, 0.76) 28%, rgba(243, 246, 249, 0) 48%); }
}

/* Variante: Das Bild steht nur in der rechten Hälfte und läuft nach links weich aus –
   für Motive, die klar zu sehen sein sollen statt blass hinter dem Text (Partner, Service, Kontakt, Mess- & Prüftechnik, FAQ). */
.page-hero--side-image { background: var(--tint); }

@media (min-width: 900px) {
  .page-hero--side-image .page-hero__image {
    left: auto;
    right: 0;
    width: 56%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .page-hero--side-image .page-hero__veil { background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0) 62%); }
}

@media (min-width: 900px) {
  .page-hero__veil {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.35) 64%, rgba(255, 255, 255, 0.1) 100%);
  }
  .page-hero--about .page-hero__veil {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 36%, rgba(255, 255, 255, 0.15) 64%, rgba(255, 255, 255, 0) 82%);
  }
  .page-hero__product {
    display: block;
    position: absolute;
    right: clamp(40px, 7vw, 120px);
    bottom: clamp(40px, 8vh, 80px);
    max-height: 48%;
    width: auto;
    filter: drop-shadow(0 30px 40px rgba(2, 58, 91, 0.22));
    animation: fade-in 1.2s ease .46s both, rise-40 1.4s var(--ease) .46s both;
  }
  .page-hero__product--large { max-height: 56%; }
}

/* Info-Leiste „Neu im Sortiment" (partials/info-bar.html): statisch und zentriert,
   die ganze Leiste ist ein Link */
.info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ticker-h);
  padding: 10px var(--gutter);
  background: #F3F6F9;
  border-top: 1px solid #D6DFE8;
}
.info-bar__item { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; text-align: center; }
.info-bar__label { color: #B5602A; font-size: 14px; font-weight: 600; }
.info-bar__divider { width: 1px; height: 20px; background: #C3CFDB; }
.info-bar__text { color: var(--text); font-size: 15px; }
.info-bar__text strong { color: var(--ink); font-weight: 600; }
.info-bar__prefix { display: none; color: #B5602A; font-weight: 600; }
.info-bar__link,
.info-bar:hover .info-bar__link {
  color: #1F4B7A;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #B5602A;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.info-bar__arrow { display: inline-block; transition: transform .2s ease; }
.info-bar:hover .info-bar__arrow { transform: translateX(3px); }
.info-bar:focus-visible { outline: 2px solid #1F4B7A; outline-offset: -2px; }

/* Telefon: ohne Etikett und Trennstrich, dafür „Neu: " vor dem Produkt */
@media (max-width: 699px) {
  .info-bar__label,
  .info-bar__divider { display: none; }
  .info-bar__prefix { display: inline; }
}

/* Marken-Raster (partials/brand-marquee.html): ganze Karte klickbar, Bereich als Etikett darunter */
.brand-grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-card);
  border-radius: 4px;
  background: var(--white);
  color: inherit;
  transition: border-color .2s ease;
}
.brand-card:hover { color: inherit; border-color: var(--blue); }
.brand-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.brand-card__logo { height: 128px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.brand-card__logo img { max-width: 70%; width: auto; }
.brand-card__area { padding: 14px 20px; border-top: 1px solid var(--line-card); font-size: 14px; color: var(--text); }

/* Seitenabschluss: Markenleiste (weiß) über Kontaktband (bläulich, rechts ein Foto). */
.outro { position: relative; overflow: hidden; background: var(--band); }

.outro__brands {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: var(--section) 0;
  border-bottom: 1px solid var(--line-blue);
}
.outro__brands-head {
  max-width: var(--page);
  margin: 0 auto var(--h2-gap);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.outro__contact { position: relative; }
/* Foto ohne Farbschleier; läuft nach links weich in den Grund aus (wie der Hero) */
.outro__photo { display: none; position: absolute; top: 0; right: 0; height: 100%; width: 42%; object-fit: cover; object-position: 55% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }

.outro__inner { position: relative; max-width: var(--page); margin: 0 auto; padding: var(--section) var(--gutter); }
.outro__text { margin-top: 16px; color: var(--text); font-size: 1.05rem; max-width: 500px; }

.outro__details {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 24px 32px;
  align-items: start;
}
.outro__detail { display: flex; flex-direction: column; gap: 6px; }
.outro__label { font-size: 13px; color: var(--muted); }
.outro__value { font-size: 1.05rem; font-weight: 600; }
.outro__value--address { color: var(--ink); line-height: 1.45; }

@media (min-width: 900px) {
  .outro__photo { display: block; }
  .outro__content { max-width: 600px; }
}

/* Text links, Schaubild rechts (Mess- & Prüftechnik, Labor) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__text { margin-top: 16px; color: var(--text); font-size: 1.075rem; max-width: 520px; text-wrap: pretty; }
.split__cta { margin-top: 32px; }

.checklist { margin-top: 28px; display: flex; flex-direction: column; border-top: 1px solid var(--line-blue); }
.checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-blue);
}
.checklist svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue); }

.showcase {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: linear-gradient(150deg, #F6FAFD 0%, #E3EEF6 100%);
}
/* echtes Foto, füllt den Rahmen */
.showcase--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.showcase--brand { display: flex; align-items: center; justify-content: center; }
.showcase__logo { position: relative; z-index: 1; width: min(62%, 340px); height: auto; }
.showcase__product {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 52%;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 24px 30px rgba(2, 58, 91, 0.16));
}
.showcase__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.showcase__fade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(246, 250, 253, 0.2) 0%, rgba(227, 238, 246, 0.85) 100%); }
.showcase__device {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  height: 74%;
  width: auto;
  filter: drop-shadow(0 28px 34px rgba(2, 58, 91, 0.2));
}

/* Telefon: Logo oben, Gerät darunter rechts – sonst liegt das Logo über dem Gerät */
@media (max-width: 899px) {
  .showcase--brand { align-items: flex-start; padding-top: 13%; }
  .showcase__logo { width: 58%; }
  .showcase__product { width: 60%; right: -4%; bottom: -6%; }
}

/* Logo-Form für Bildkästen: Inhalt in Blattform (großer Schwung oben links und unten rechts),
   dahinter die hellblaue Logo-Sichel (#849BC9) – oben links breit, rechts nach unten schmal.
   Gleiche Form wie die Fotos auf Startseite und Über uns. */
.logo-frame { position: relative; margin: 26px 14px 0 0; }
.logo-frame::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 3%;
  width: 99%;
  height: 88%;
  border-radius: 50%;
  background: #849BC9;
  transform: rotate(9deg);
  transform-origin: 30% 50%;
}
.logo-frame > * { position: relative; z-index: 1; border-radius: 58% 4px 58% 4px / 34% 4px 34% 4px; }
/* Inhalt so verkleinert, dass er ganz in der Blattform liegt und nicht von den Bögen angeschnitten wird */
.logo-frame .showcase--brand { align-items: flex-start; padding-top: 20%; }
.logo-frame .showcase__logo { width: min(50%, 280px); }
.logo-frame .showcase__product { width: 44%; right: 7%; bottom: 9%; }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

/* Produktkarten der Gruppenseiten im Katalog (partials/catalog-cards.html): Gerätefoto
   freigestellt auf Weiß, darunter Name und Kurztext. Telefon zwei Spalten, ab 640 px drei,
   ab 1000 px vier. */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.product-card:hover,
.product-card.is-focus { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(2, 58, 91, 0.10); }

.product-card__media { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 10%; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img,
.product-card.is-focus .product-card__media img { transform: scale(1.06); }
/* Für Gruppen ohne eigenes Foto steht das Fluke-Biomedical-Logo da – kleiner. */
.product-card__media--logo { padding: 26%; }

.product-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; border-top: 1px solid var(--line-blue); }
.product-card__name { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.product-card__text { color: var(--text); font-size: 14px; text-wrap: pretty; }
.product-card__cta { margin-top: auto; padding-top: 8px; color: var(--blue); font-size: 14px; font-weight: 500; }
.product-card__cta::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
.product-card:hover .product-card__cta::after,
.product-card.is-focus .product-card__cta::after { transform: translateX(4px); }

@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Telefon: Der Scroll-Effekt läuft ruhiger als der Mouseover am PC. */
@media (max-width: 899px) {
  .product-card { transition-duration: 1.1s; }
  .product-card__media img { transition-duration: 1.4s; }
  .product-card__body { padding: 12px 12px 16px; }
  .product-card__name { font-size: 0.95rem; }
  .product-card__text { font-size: 13.5px; }
}

/* Kategorie-Galerie der Bereichsseiten (partials/product-grid.html): Fokus auf die Produktbilder.
   Keine Kartenrahmen; Bildfläche 1:1 in #F3F6F9, Gerät zentriert auf max. 70 %. Die Gerätefotos
   sind freigestellte PNGs (transparent, auf den Inhalt zugeschnitten) – kein Blend-Modus nötig. */
.cat-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; align-items: start; }
.cat-card { display: flex; flex-direction: column; color: #111; cursor: pointer; }
.cat-card:hover { color: #111; }
.cat-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #F3F6F9;
  transition: background .3s ease;
}
.cat-card__media picture { display: contents; }
/* Gerät höchstens 70 % breit UND hoch, nie über die natürliche Größe hinaus (kein Hochskalieren);
   dezenter Bodenschatten, damit es nicht schwebt. */
.cat-card__media img { width: auto; height: auto; max-width: 70%; max-height: 70%; filter: drop-shadow(0 12px 16px rgba(17, 27, 39, 0.08)); transition: transform .3s ease; }
.cat-card__media--photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.cat-card:hover .cat-card__media,
.cat-card.is-focus .cat-card__media { background: #ECF1F5; }
.cat-card:hover .cat-card__media img,
.cat-card.is-focus .cat-card__media img { transform: scale(1.04); }
.cat-card__title { margin-top: 14px; color: #111; font-size: 16px; font-weight: 600; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.cat-card__meta { margin-top: 4px; color: #1F4B7A; font-size: 14px; }
.cat-card__arrow { display: inline-block; transition: transform .2s ease; }
.cat-card:hover .cat-card__arrow,
.cat-card.is-focus .cat-card__arrow { transform: translateX(3px); }

@media (min-width: 640px) {
  .cat-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .cat-card__title { font-size: 18px; }
}
@media (min-width: 1000px) { .cat-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cat-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .cat-card__media,
  .cat-card__media img { transition-duration: 1s; }
}

/* Produktkatalog: Übersicht einer Gerätegruppe und Produktseite (templates/pages/katalog-*.html). */
.catalog-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); background: var(--tint-hero); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; color: var(--muted); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.catalog-hero__title { margin-top: clamp(20px, 3vw, 36px); font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
.catalog-hero__lead { margin-top: 16px; max-width: 640px; color: var(--text); font-size: 1.1rem; text-wrap: pretty; }
.catalog-hero__count { margin-top: 18px; color: var(--text); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }

/* Produktkarten im Katalog: Foto mit Hintergrund füllt die Fläche, freigestellte Geräte stehen frei. */
.product-card__media--photo { padding: 0; }
.product-card__media--photo img { object-fit: cover; }
.product-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 639px) { .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Produktseite */
.product-detail { margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.product-detail__media { aspect-ratio: 4 / 3; background: transparent; display: flex; align-items: center; justify-content: center; padding: 8%; overflow: hidden; }
.product-detail__media img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__media--photo { padding: 0; }
.product-detail__media--photo img { object-fit: cover; }
.product-detail__group { color: var(--text); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.product-detail__title { margin-top: 8px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.product-detail__text { margin-top: 18px; color: var(--text); font-size: 1.075rem; max-width: 560px; text-wrap: pretty; }
.product-detail__values { margin-top: 14px; padding-left: 1.2em; columns: 2; column-gap: 32px; max-width: 420px; color: var(--text); font-size: 1.075rem; line-height: 1.7; list-style: disc; }
.product-detail__values li::marker { color: var(--blue); }
.product-detail__actions { margin-top: 30px; }

.product-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 96px); align-items: start; }
.product-facts .checklist { margin-top: 0; }
.product-facts__note { margin-top: 14px; color: var(--muted); max-width: 420px; text-wrap: pretty; }
.product-facts__specs { grid-column: 1 / -1; margin-top: clamp(12px, 2vw, 24px); }
.spec-list { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-blue); }
.spec-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-blue); }
.spec-list dt { color: var(--muted); hyphens: auto; overflow-wrap: break-word; }

.catalog-list .section-head { align-items: baseline; }

@media (min-width: 900px) {
  .product-detail { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .product-facts { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
}

/* Download-Seite: alle Datenblätter nach Bereich und Gerätegruppe */
.downloads__cta { margin-top: 26px; }
.downloads__area { margin-top: clamp(40px, 5vw, 72px); }
.downloads__area:first-child { margin-top: 0; }
.downloads__group { margin-top: clamp(20px, 2.5vw, 32px); }
.downloads__group-title { padding-bottom: 10px; border-bottom: 2px solid #D6DFE8; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.download-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding: 12px 0; border-bottom: 1px solid var(--line-blue); }
.download-list__file { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.download-list__file:hover .download-list__name { color: var(--blue); text-decoration: underline; }
.download-list__badge { flex: none; padding: 3px 7px; border: 1.5px solid var(--copper); color: var(--copper); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; }
.download-list__name { font-weight: 500; }
.download-list__size { color: var(--muted); font-size: 14px; }
.download-list__product { color: var(--blue); font-size: 14.5px; font-weight: 500; }

/* Bilder mit WebP-/1x-2x-Varianten (<picture>): wie ein normales Bild im Rahmen */
.product-detail__media picture,
.product-card__media picture { display: contents; }

/* Helles Band: Aussage links, Gerät in der Mitte, Text rechts */
.highlight { position: relative; overflow: hidden; background: linear-gradient(115deg, #EAF2F9 0%, #F7FAFD 55%, #E3EDF5 100%); }
.highlight__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.14; }
.highlight--faint .highlight__backdrop { opacity: 0.12; }

.highlight__grid {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.highlight__product { display: none; }
.highlight__text { font-size: var(--lead); color: var(--text); max-width: 340px; text-wrap: pretty; }
.highlight__text--wide { max-width: 360px; }
.highlight__action { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

@media (min-width: 900px) {
  .highlight__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.9fr); }
  .highlight__product {
    display: block;
    max-height: 220px;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 26px 30px rgba(2, 58, 91, 0.18));
    transition: transform .2s linear;
  }
}


/* ---------- Hero-Karussell ----------
   Alle Folien gleich: Text links auf #F3F6F9, Bild rechts (läuft nach links weich aus, wie der
   Partner-Hero) – ohne Schleier oder Farbfilter. Folie 2: freigestelltes Gerät statt Foto. */
.hero-carousel {
  position: relative;
  /* Hero + Info-Leiste füllen genau den ersten Bildschirm. */
  height: max(520px, calc(100vh - var(--header-h) - var(--ticker-h)));
  height: max(520px, calc(100svh - var(--header-h) - var(--ticker-h)));
  overflow: hidden;
  background: var(--tint);
  touch-action: pan-y; /* waagrecht wischen blättert (js/lib/core.js → onSwipe) */
  -webkit-user-select: none;
  user-select: none;
}

.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }


.hero-slide__inner {
  position: relative;
  height: 100%;
  max-width: var(--page);
  margin: 0 auto;
  /* feste Oberkante statt vertikal zentriert: Headline steht auf jeder Folie an derselben Stelle */
  padding: clamp(56px, 17vh, 170px) clamp(20px, 6vw, 110px) 0;
}
.hero-slide__text { max-width: 520px; }

.hero-slide__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--heading);
  text-wrap: balance;
}
.hero-slide__lead { margin-top: 18px; font-size: var(--lead); color: var(--text); max-width: 460px; text-wrap: pretty; }

.hero-carousel__dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 8px; }
.hero-carousel__dots button {
  all: unset;
  cursor: pointer;
  height: 3px;
  width: 14px;
  background: rgba(3, 84, 131, 0.25);
  transition: width .4s ease, background .4s ease;
}
/* größere Trefferfläche, ohne die Optik zu ändern */
.hero-carousel__dots button { position: relative; }
.hero-carousel__dots button::after { content: ""; position: absolute; inset: -12px -4px; }
.hero-carousel__dots button.is-active { width: 32px; background: var(--blue); }
.hero-carousel__dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }

/* Telefon und Tablet hochkant: Bild im Vollbild, Text oben, Knöpfe unten am Bildende. Die Pfeile entfallen –
   geblättert wird per Wischen (js/components/hero-carousel.js) oder über die Striche unten. */
@media (max-width: 899px) {
  /* --shift-m schiebt Personenfotos nach unten, damit die Gesichter nicht hinter dem Text liegen */
  .hero-slide__media { inset: var(--shift-m, 0) 0 auto; height: 100%; object-position: var(--focus-m, var(--focus, 50% 50%)); }
  .hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(243, 246, 249, 0.92) 0%, rgba(243, 246, 249, 0.76) 28%, rgba(243, 246, 249, 0) 48%, rgba(243, 246, 249, 0) 72%, rgba(243, 246, 249, 0.7) 100%);
  }
  /* Teamfoto (Folie 1): kein Schleier, nur ein dezenter heller Schein hinter dem Text */
  .hero-slide--clear::after { content: none; }
  .hero-slide--clear .hero-slide__title,
  .hero-slide--clear .hero-slide__lead { text-shadow: 0 0 14px rgba(243, 246, 249, 0.9), 0 0 4px rgba(243, 246, 249, 0.8); }
  /* Teamfoto näher heranholen (vom Fußpunkt aus vergrößert, Füße bleiben unten). Die Stufe richtet sich nach
     dem Seitenverhältnis des Bildbereichs (Container-Abfrage), damit alle drei Personen seitlich ganz im Bild
     bleiben und die Köpfe unter dem Titel liegen. Werte für hero-team-m (schmal) und hero-team-t getrennt. */
  .hero-carousel { container-type: size; }
  .hero-slide--clear .hero-slide__lead { display: none; }
  .hero-slide--clear .hero-slide__media { transform: scale(var(--zoom-m, 1)); transform-origin: 50% 100%; }
}
/* hero-team-m.webp (gleiche Bedingung wie die <source> in index.html) */
@media (max-width: 899px) and (max-aspect-ratio: 3/5) {
  @container (min-aspect-ratio: 47/100) and (max-aspect-ratio: 1/2) { .hero-slide--clear { --zoom-m: 1.1; } }
  @container (min-aspect-ratio: 1/2) and (max-aspect-ratio: 55/100) { .hero-slide--clear { --zoom-m: 1.2; } }
  @container (min-aspect-ratio: 55/100) and (max-aspect-ratio: 62/100) { .hero-slide--clear { --zoom-m: 1.1; } }
}
/* hero-team-t.webp */
@media (max-width: 899px) and (min-aspect-ratio: 3/5) {
  @container (max-aspect-ratio: 6/7) { .hero-slide--clear { --zoom-m: 1.4; } }
  @container (min-aspect-ratio: 6/7) and (max-aspect-ratio: 95/100) { .hero-slide--clear { --zoom-m: 1.3; } }
  @container (min-aspect-ratio: 95/100) and (max-aspect-ratio: 105/100) { .hero-slide--clear { --zoom-m: 1.15; } }
}
@media (max-width: 899px) {
  .hero-slide__inner { z-index: 1; height: 100%; padding: clamp(32px, 8vw, 48px) var(--gutter) 64px; }
  .hero-slide__text { display: flex; flex-direction: column; height: 100%; max-width: none; }
  .hero-slide__text .button-row { margin-top: auto; }
}
@media (max-width: 699px) {
  .hero-carousel .hero-arrow { display: none !important; }
  .hero-carousel__dots { bottom: 22px; gap: 10px; }
  .hero-carousel__dots button { height: 4px; width: 18px; }
  .hero-carousel__dots button.is-active { width: 36px; }
}

@media (min-width: 900px) {
  .hero-slide__media {
    left: auto;
    right: 0;
    width: 54%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  }
  .hero-slide__text { max-width: min(520px, 42vw); }
}

/* H2 der Startseite: gleiche Größe (--h2) und gleicher Abstand zum Inhalt darunter */
.scroll-steps__title { margin-bottom: var(--h2-gap); }

/* ---------- Dunkles Band "Bis zum nächsten Tag" ---------- */
.dark-band { position: relative; overflow: hidden; background: var(--blue-deep); }
.dark-band__image {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
}
.dark-band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 72, 112, 0.80) 0%, rgba(2, 58, 91, 0.86) 100%); }
.dark-band__inner {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}
.dark-band__title { font-size: var(--h2); line-height: 1.1; letter-spacing: -0.015em; font-weight: 600; text-wrap: balance; }
.dark-band__text { margin-top: 16px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 520px; text-wrap: pretty; }
.dark-band .btn { margin-top: 32px; }

/* ---------- Service-Ablauf: vier Schritte, am Desktop an den Bildlauf gekoppelt ---------- */
.scroll-steps { position: relative; background: var(--tint); }
.scroll-steps__pin { position: relative; display: flex; align-items: center; }
.scroll-steps.is-pinned { height: 320vh; }
/* Inhalt senkrecht mittig im Bildschirm, damit oben und unten gleich viel Luft bleibt */
.scroll-steps.is-pinned .scroll-steps__pin { position: sticky; top: 64px; min-height: calc(100vh - 64px); align-items: center; }
.scroll-steps.is-pinned .scroll-steps__grid { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(24px, 4vh, 48px); }
.scroll-steps__grid {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.scroll-steps__list { display: flex; flex-direction: column; }
.scroll-steps__cta { margin-top: 32px; }

.scroll-step {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2px minmax(0, 1fr);
  gap: 22px;
  width: 100%;
}
.scroll-step:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.scroll-step__rail { position: relative; overflow: hidden; background: #D6DFE8; }
.scroll-step__fill { position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--blue); }
.scroll-step.is-active .scroll-step__fill,
.scroll-step.is-done .scroll-step__fill { height: 100%; }
.scroll-step__body { display: block; padding: 14px 0 16px; }
.scroll-step__head { display: flex; align-items: baseline; gap: 14px; }
.scroll-step__number { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #4A5D72; font-variant-numeric: tabular-nums; transition: color .3s; }
.scroll-step__title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: #4A5D72; transition: color .3s; }
.scroll-step.is-active .scroll-step__number,
.scroll-step.is-active .scroll-step__title { color: #111; }
.scroll-step__details { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s ease; }
.scroll-step.is-active .scroll-step__details { max-height: 180px; opacity: 1; }
.scroll-step__text { display: block; margin: 8px 0 0 30px; color: var(--text); max-width: 460px; text-wrap: pretty; }

.scroll-steps__media { position: relative; aspect-ratio: 4 / 3; max-height: 440px; width: 100%; overflow: hidden; background: var(--tint-video); }
.scroll-steps__media img { opacity: 0; transition: opacity .4s ease; }
.scroll-steps__media img.is-active { opacity: 1; }

/* "Alles für Ihre Medizintechnik": gleiche Mechanik, weißer Hintergrund, ohne Nummern;
   Einträge und Fotos sind Links zur Bereichsseite */
.scroll-steps--areas { background: var(--white); }
.scroll-steps--areas .scroll-step { color: inherit; }
.scroll-steps--areas .scroll-step__text { margin-left: 0; }
.scroll-steps__link { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.scroll-steps__link.is-active { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.scroll-steps__link img { opacity: 1; }

/* Telefon und Tablet hochkant: Jeder Schritt bringt sein eigenes Foto mit. Es klappt beim
   Herunterscrollen zusammen mit dem Text auf und blendet weich ein – statt eines einzelnen Fotos am Ende. */
.scroll-step__visual { display: none; }
@media (max-width: 899px) {
  .scroll-steps__media { display: none; }
  .scroll-step.is-active .scroll-step__details { max-height: 760px; }
  .scroll-step__visual {
    position: relative;
    display: block;
    margin: 16px 0 6px;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity .6s ease .15s, transform .7s var(--ease) .15s;
  }
  .scroll-step.is-active .scroll-step__visual { opacity: 1; transform: none; }
  .scroll-step__photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    object-fit: cover;
    object-position: var(--focus, 50% 50%);
    background: var(--tint-video);
  }
  .scroll-step__text { max-width: none; }

  /* Form angelehnt an das Logo: Foto in Blattform (großer Schwung oben links und unten rechts),
     dahinter eine hellblaue Sichel in Logo-Blau (#849BC9) – oben links breit, rechts nach unten schmal */
  .scroll-step__visual { margin: 30px 14px 10px 0; }
  .scroll-step__photo { border-radius: 58% 4px 58% 4px / 34% 4px 34% 4px; }
  .scroll-step__visual::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 3%;
    width: 99%;
    height: 88%;
    border-radius: 50%;
    background: #849BC9;
    transform: rotate(9deg);
    transform-origin: 30% 50%;
  }
}

/* Desktop: Logo-Form wie am Handy – großes Foto in Blattform, dahinter die hellblaue Logo-Sichel */
@media (min-width: 900px) {
  .scroll-steps__media { overflow: visible; background: none; margin: 4% 3% 2% 0; }
  .scroll-steps__media::before {
    content: "";
    position: absolute;
    top: -7%;
    left: 3%;
    width: 99%;
    height: 88%;
    border-radius: 50%;
    background: #849BC9;
    transform: rotate(9deg);
    transform-origin: 30% 50%;
  }
  .scroll-steps__media img,
  .scroll-steps__link { z-index: 1; border-radius: 58% 4px 58% 4px / 34% 4px 34% 4px; }
  .scroll-steps__link { overflow: hidden; }
  .scroll-steps__media img { background: #F3F6F9; }
}

@media (min-width: 900px) {
  .scroll-steps__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Über uns: Gründer-Zitat, Zeitleiste und Werte ---------- */
.about { background: var(--white); }

.founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
/* Logo-Form wie auf der Startseite: Foto in Blattform, dahinter die hellblaue Logo-Sichel
   (oben links breit, rechts nach unten schmal) */
.founder__photo { position: relative; width: calc(100% - 14px); max-width: 306px; aspect-ratio: 4 / 5; margin-top: 26px; }
.founder__photo::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 3%;
  width: 99%;
  height: 88%;
  border-radius: 50%;
  background: #849BC9;
  transform: rotate(9deg);
  transform-origin: 30% 50%;
}
.founder__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; background: #F3F6F9; border-radius: 58% 4px 58% 4px / 27% 4px 27% 4px; }
.founder__quote { margin: 0; }
.founder__quote blockquote { margin: 0; }
.founder__quote p { color: #111; font-size: 22px; font-style: italic; line-height: 1.4; text-wrap: pretty; }
.founder__quote figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.founder__name { color: #111; font-size: 16px; font-weight: 600; }
.founder__role { color: #4A5D72; font-size: 14px; }

.about-grid { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: start; }
.about-grid__title { color: #111; font-size: 28px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 24px; }

.milestones { margin: 0; padding: 0; list-style: none; }
.milestone { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-top: 1px solid #E2E8EE; }
.milestone__year { color: #111; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.milestone--latest .milestone__year { color: #1F4B7A; }
.milestone__text { color: #4A5D72; font-size: 16px; text-wrap: pretty; }

.values { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 28px; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value__icon { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #F3F6F9; color: #1F4B7A; }
.value__icon svg { width: 22px; height: 22px; }
.value__body { display: flex; flex-direction: column; gap: 6px; }
.value__title { color: #111; font-size: 20px; font-weight: 600; line-height: 1.25; }
.value__text { color: #4A5D72; font-size: 16px; text-wrap: pretty; }

@media (min-width: 768px) {
  .founder { grid-template-columns: 320px minmax(0, 1fr); gap: 72px; }
  .founder__quote p { font-size: 28px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .milestone { grid-template-columns: 80px minmax(0, 1fr); gap: 0; }
}

/* ---------- Unser Team: direkt unter dem Gründer, kleine Fotos 4:5 – 2 / 3 / 4 Spalten ---------- */
.team { margin-top: 96px; }
.team__head { max-width: 680px; }
.team__title { color: #111; font-size: 28px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.team__handover { margin-top: 14px; color: #4A5D72; font-size: 16px; text-wrap: pretty; }
.team-grid { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.team-member__photo { aspect-ratio: 4 / 5; border-radius: 4px; background: #F3F6F9; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__placeholder { color: #B4C0CC; }
.team-member__placeholder svg { width: 36px; height: 36px; }
/* Name, Funktion und Text stehen über alle Karten einer Reihe auf gleicher Höhe (Subgrid).
   Funktion in kleinen Großbuchstaben, eine kurze Kupferlinie trennt den Text ab. */
.team-member { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
.team-member__name { margin-top: 18px; color: #111; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.team-member__role { margin-top: 6px; color: #111; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.45; }
.team-member__text { position: relative; margin-top: 14px; padding-top: 14px; color: #4A5D72; font-size: 14.5px; text-wrap: pretty; }
.team-member__text::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 2px; background: #B5602A; }

@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 20px; }
}

/* ---------- Termine ---------- */
.events { border-top: 1px solid var(--line); }
.events__grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.events__text { color: var(--text); font-size: 1.075rem; max-width: 520px; text-wrap: pretty; }
.events__cta { margin-top: 24px; }

/* Häufige Fragen unter „Über uns“ – derselbe Baustein wie auf der FAQ-Seite (partials/faq-block.html) */
.about-faq__head { max-width: 920px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 0; display: flex; flex-direction: column; gap: 10px; }
.about-faq__head p { color: var(--text); max-width: 560px; text-wrap: pretty; }
.about-faq .faq { padding-top: clamp(24px, 3vw, 36px); }

.lab-brands { padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.lab-brands__title { margin-bottom: clamp(32px, 4vw, 56px); }
.lab-brands__list { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }

.note {
  max-width: 760px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  background: var(--tint-strong);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
  text-align: center;
  color: var(--text);
  font-size: 1.05rem;
  text-wrap: balance;
}
.note a { font-weight: 600; white-space: nowrap; }
.note--last { margin-bottom: 0; }

/* Gruppenüberschriften wie auf der alten Website: Hämatologie, Harnanalyse, Point of Care. */
.lab-group__title { margin-top: clamp(16px, 3vw, 40px); padding-bottom: 12px; border-bottom: 2px solid var(--blue); color: var(--blue); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; scroll-margin-top: 24px; }
.lab-group__title:first-child { margin-top: 0; }
.lab-brand { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lab-brand__logo { aspect-ratio: 16 / 9; background: #F4F7FA; display: flex; align-items: center; justify-content: center; }
.lab-brand__logo img { width: min(44%, 240px); height: auto; }
.lab-brand--reverse .lab-brand__logo img { width: min(48%, 260px); }
/* Statt Logo ein Gerätefoto (Siemens CLINITEK Status+) – füllt die Fläche. */
.lab-brand__logo--photo { overflow: hidden; }
/* Freigestelltes Produktfoto auf Weiß (Siemens Multistix). */
.lab-brand__logo--product { background: var(--white); border: 1px solid var(--line-blue); }
.lab-brand .lab-brand__logo--product img { width: auto; height: 100%; object-fit: contain; }
.lab-brand .lab-brand__logo--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.lab-brand__title { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -0.015em; }
.lab-brand__body p { margin-top: 12px; color: var(--text); max-width: 520px; text-wrap: pretty; }
.lab-brand__points { margin-top: 20px; max-width: 520px; }
.lab-brand__body .lab-brand__tests { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.lab-brand__download { margin-top: 24px; }

@media (min-width: 900px) {
  .lab-brand { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .lab-brand--reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .lab-brand--reverse .lab-brand__logo { order: 1; }
}

/* ---------- „Was Sie bei uns bekommen": Geräte (Galerie) + Verbrauch & Ausstattung (Kacheln) ---------- */
.sortiment-head { margin-bottom: clamp(24px, 3vw, 36px); }
.range-label { margin-bottom: 16px; color: #4A5D72; font-size: 16px; font-weight: 600; }
.range-label--spaced { margin-top: 64px; }
.supply-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.supply-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #E2E8EE;
  border-radius: 4px;
  color: #111;
  cursor: pointer;
  transition: border-color .2s ease;
}
.supply-tile:hover { color: #111; border-color: #1F4B7A; }
.supply-tile__icon { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: #F3F6F9; color: #1F4B7A; }
.supply-tile__icon svg { width: 24px; height: 24px; }
.supply-tile__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.supply-tile__title { color: #111; font-size: 16px; font-weight: 600; line-height: 1.25; }
.supply-tile__text { color: #4A5D72; font-size: 14px; line-height: 1.35; }
.supply-tile__arrow { flex: none; color: #1F4B7A; font-size: 18px; transition: transform .2s ease; }
.supply-tile:hover .supply-tile__arrow { transform: translateX(3px); }
@media (min-width: 900px) { .supply-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Unterseiten Reagenzien / Verbrauchsmaterial / Praxisbedarf ---------- */
.sortiment { margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sortiment__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: #111; }
.sortiment__text { margin-top: 16px; color: #4A5D72; font-size: 1.05rem; max-width: 480px; text-wrap: pretty; }
.sortiment__actions { margin-top: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 8px 14px; background: var(--white); border: 1px solid #E2E8EE; border-radius: 3px; color: #111; font-size: 15px; }
.tag-list .tag-list__more { border-color: transparent; color: #4A5D72; padding-left: 4px; }
.sortiment__note { margin: clamp(48px, 6vw, 80px) auto 0; }
@media (min-width: 900px) {
  .sortiment { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .tag-list { padding-top: 10px; }
}

/* ---------- Leistungen: Kernleistungen groß, Extras klein, Anfrage-Leiste ---------- */
.services-section { background: var(--white); }
.services__title { margin-bottom: clamp(32px, 4vw, 56px); }
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid #E2E8EE;
  border-radius: 4px;
  color: #111;
  cursor: pointer;
  transition: border-color .2s ease;
}
.service-card:hover { color: #111; border-color: #1F4B7A; }
.service-card__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #F3F6F9; color: #1F4B7A; }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { margin-top: 20px; color: #111; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.service-card__text { margin-top: 10px; color: #4A5D72; font-size: 16px; text-wrap: pretty; }
.service-card__cta { margin-top: auto; padding-top: 20px; color: #1F4B7A; font-size: 15px; font-weight: 600; }
.service-card__arrow { display: inline-block; transition: transform .2s ease; }
.service-card:hover .service-card__arrow { transform: translateX(3px); }

.services__extras-title { margin-top: 56px; margin-bottom: 20px; color: #4A5D72; font-size: 16px; font-weight: 600; }
.service-extras { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.service-extra { display: flex; gap: 14px; align-items: flex-start; }
.service-extra > svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: #1F4B7A; }
.service-extra__body { display: flex; flex-direction: column; gap: 4px; }
.service-extra__title { color: #111; font-size: 17px; font-weight: 600; }
.service-extra__text { color: #4A5D72; font-size: 15px; text-wrap: pretty; }
.service-extra__text a { color: #1F4B7A; font-weight: 600; }

.service-band { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #F3F6F9; border-radius: 4px; }
.service-band__title { color: #111; font-size: 22px; font-weight: 600; line-height: 1.25; }
.service-band__text { margin-top: 6px; color: #4A5D72; font-size: 15px; }
.service-band__actions { display: flex; flex-direction: column; gap: 12px; }
.service-band__actions .btn { text-align: center; justify-content: center; }

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .service-card { padding: 32px; }
  .service-extras { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .service-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
  .service-band__actions { flex-direction: row; flex: none; }
}

/* ---------- Kalibrierung in drei Schritten: Linie füllt sich beim Scrollen ---------- */
.progress-steps__title { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.progress-steps { position: relative; --progress: 1; }
.progress-steps__line,
.progress-steps__progress { display: none; position: absolute; left: 28px; top: 28px; height: 2px; }
.progress-steps__line { right: 28px; background: var(--tint-media); }
.progress-steps__progress {
  width: calc((100% - 56px) * var(--progress));
  background: var(--blue);
  transition: width .25s linear;
}
.progress-steps__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }

.progress-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.5;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s var(--ease);
}
.progress-step.is-reached { opacity: 1; transform: none; }
.progress-step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .5s, color .5s;
}
.progress-step.is-reached .progress-step__icon { background: var(--blue); color: var(--white); }
.progress-step__icon svg { width: 24px; height: 24px; }
.progress-step h3 { margin-top: 10px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.progress-step p { color: var(--text); font-size: 15.5px; max-width: 360px; text-wrap: pretty; }

@media (min-width: 900px) {
  .progress-steps__line,
  .progress-steps__progress { display: block; }
  .progress-steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Telefon: Scroll-Effekte viel ruhiger als am Desktop. */
@media (max-width: 899px) {
  .progress-step { transition: opacity 1.8s ease, transform 1.8s var(--ease); }
  .progress-step__icon { transition-duration: 1.5s; }
}

/* Marken und Vertriebspartner.
   Ohne JavaScript: Raster mit allen Partnern. Mit JavaScript (.is-enhanced): Karussell,
   bei dem der mittlere Partner groß ist (js/components/coverflow.js). */
.coverflow { position: relative; padding: var(--section) 0; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.coverflow__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 28px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.coverflow__slide { display: flex; flex-direction: column; gap: 22px; }
.coverflow__card { aspect-ratio: 16 / 10; background: var(--tint); display: flex; align-items: center; justify-content: center; transition: box-shadow .8s ease; }
.coverflow__card img { max-width: 58%; width: auto; transform: scale(1.35); }
.coverflow__card span { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.012em; color: var(--text); }
.coverflow__caption { display: flex; flex-direction: column; gap: 4px; transition: opacity .6s ease; }
.coverflow__name { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.005em; }
.coverflow__area { font-size: 15px; color: var(--muted); }
.coverflow .round-arrow { display: none; }

.coverflow.is-enhanced .coverflow__track {
  display: flex;
  max-width: none;
  margin: 0;
  padding: 0;
  transition: transform .9s cubic-bezier(.65, 0, .25, 1);
}
.coverflow.is-enhanced .coverflow__track.is-jumping { transition: none; }
.coverflow.is-enhanced .coverflow__slide {
  width: var(--slide-width);
  flex: none;
  cursor: pointer;
  transform: scale(0.88);
  transition: transform .8s var(--ease);
}
.coverflow.is-enhanced .coverflow__slide.is-active { transform: scale(1); }
.coverflow.is-enhanced .coverflow__slide.is-active .coverflow__card { box-shadow: 0 24px 60px rgba(2, 58, 91, 0.12); }
.coverflow.is-enhanced .coverflow__caption { opacity: 0; }
.coverflow.is-enhanced .coverflow__slide.is-active .coverflow__caption { opacity: 1; }
.coverflow.is-enhanced .round-arrow { display: flex; top: calc(50% - 40px); }
.coverflow.is-enhanced .round-arrow--prev { left: clamp(12px, 3vw, 48px); }
.coverflow.is-enhanced .round-arrow--next { right: clamp(12px, 3vw, 48px); }

.contact {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact__title { margin-bottom: 28px; }

/* ---------- Formular ---------- */
.form { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field--wide { grid-column: 1 / -1; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line-field);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9.5em; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3, 84, 131, 0.10); }
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin-top: 14px; font-size: 14.5px; color: var(--text); }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }
.form__privacy { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 520px; }
.form__privacy a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.form-success { background: var(--tint); padding: clamp(28px, 3vw, 40px); display: flex; gap: 18px; align-items: flex-start; }
.form-success .icon-tile svg { width: 22px; height: 22px; }
.form-success__title { font-weight: 600; font-size: 1.1rem; }
.form-success p { margin-top: 6px; color: var(--text); }

/* ---------- Kontaktkarte ---------- */
.contact-card { background: var(--tint); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 32px; }
.contact-card__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; align-items: start; }
.contact-card__body { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.contact-card__phone { font-size: 1.1rem; font-weight: 600; }
.contact-card__text { color: var(--text); font-size: 15px; text-wrap: pretty; }
.contact-card__text--after { margin-top: 2px; }
.contact-card__action { margin-top: 6px; }
.contact-card__address { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }

/* Karte: Google Maps wird erst nach Klick geladen (Datenschutz) */
.map { position: relative; height: 240px; background: #EAF2F9; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #EAF2F9, #F6FAFD);
}
.map__consent > svg { width: 30px; height: 30px; color: var(--blue); }
.map__consent p { font-size: 12.5px; color: var(--muted); max-width: 260px; }

/* iPhone-Safari zoomt beim Antippen in Felder mit Schrift unter 16 px hinein. */
@media (max-width: 899px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); }
}

/* ---------- Hersteller-Leiste und Termine ---------- */
.manufacturers { background: var(--tint); padding: clamp(56px, 7vw, 88px) 0; }
.manufacturers__head {
  max-width: var(--page);
  margin: 0 auto 36px;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.meet {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.meet p { color: var(--text); font-size: 1.075rem; max-width: 560px; text-wrap: pretty; }
/* optischer Abstand wie im Entwurf: der Knopf sitzt dichter am Text und am unteren Rand */
.meet__action { margin-bottom: -15px; }

/* Ohne JavaScript: alle Bereiche und alle Antworten sichtbar.
   Mit JavaScript (.is-enhanced): Reiter je Bereich, eine Antwort offen (js/components/faq.js). */
.faq { max-width: 920px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); }

.faq__tabs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.faq__tab {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  padding: 18px 28px;
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 32px 3px 32px 3px / 100% 3px 100% 3px; /* Blattform wie alle Knöpfe (.btn) */
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .3s, color .3s;
}
.faq__tab:hover,
.faq__tab[aria-selected="true"] { background: var(--blue); color: var(--white); }
.faq__tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.faq__tab-title { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; }
.faq__tab-count { font-size: 13.5px; opacity: 0.8; }

.faq__panel + .faq__panel { margin-top: clamp(36px, 4vw, 56px); }
.faq.is-enhanced .faq__panel { margin-top: clamp(36px, 4vw, 56px); }
.faq__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.faq__intro { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.faq__intro p { color: var(--text); text-wrap: pretty; }
.faq__list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

.faq-item { background: var(--tint); transition: background .35s, box-shadow .35s; }
.faq.is-enhanced .faq-item.is-open { background: var(--white); box-shadow: 0 14px 36px rgba(2, 58, 91, 0.10); }
.faq-item__heading { font: inherit; }
.faq-item__question {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 20px;
  align-items: center;
  padding: 24px clamp(20px, 2.4vw, 32px);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}
.faq-item__question:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
}
.faq-item__icon svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.faq-item.is-open .faq-item__icon { background: var(--blue); color: var(--white); }
.faq-item.is-open .faq-item__icon svg { transform: rotate(45deg); }

.faq-item__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item__answer > div { overflow: hidden; }
.faq-item__answer p {
  padding: 0 clamp(20px, 2.4vw, 32px) 26px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 720px;
  text-wrap: pretty;
  opacity: 0;
  transition: opacity .4s ease;
}
.faq-item.is-open .faq-item__answer p { opacity: 1; }

@media (min-width: 700px) {
  .faq__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Impressum und Datenschutz */
.legal { max-width: 880px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter) var(--section); }
.legal__title { font-size: var(--h2); line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; color: var(--heading); }
.legal__lead { margin-top: 18px; font-size: var(--lead); color: var(--text); max-width: 680px; text-wrap: pretty; }
.legal__notice { margin-top: 24px; background: var(--notice); padding: 14px 18px; font-size: 14.5px; }

.legal__sections { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.legal__section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 40px; }
.legal__section h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.4; color: var(--heading); }
.legal__body { display: flex; flex-direction: column; gap: 14px; color: var(--text); font-size: 15.5px; line-height: 1.65; }
.legal__body p { text-wrap: pretty; }
.legal mark { background: var(--mark); color: var(--ink); padding: 0 3px; }

@media (min-width: 900px) {
  .legal__section { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); }
}


/* Einblenden beim Scrollen. Ohne JavaScript bleibt alles sichtbar:
   js/components/reveal.js setzt die Klassen nur für Elemente unterhalb des Bildschirms. */
[data-reveal].reveal-run { transition: opacity .4s ease, transform .4s var(--ease); }
[data-reveal].reveal-armed { opacity: 0; transform: translateY(16px); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-24 { from { transform: translateY(24px); } }
@keyframes rise-40 { from { transform: translateY(40px); } }
@keyframes zoom-out { from { transform: scale(1.06); } }

/* Seitenwechsel innerhalb der Website blendet weich über (Safari 18.2+, Chrome 126+; sonst wie gewohnt). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
