/* ==========================================================================
   LIGABO – gemeinsames Stylesheet
   Seitenspezifische Stile liegen in assets/css/<seite>.css
   ========================================================================== */

/* Schrift: Montserrat, lokal gehostet (SIL Open Font License) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
}

:root {
  --navy: #00315C;
  --orange: #F1681E;
  --orange-hover: #D95A14;
  /* Ein Orange wie im Logo. Kleine Schrift bleibt Navy/Weiß (Lesbarkeit); Orange dort nur als grafischer Akzent. */
  --text: #3C5068;        /* Fließtext */
  --muted: #4A5D72;       /* Labels, Fußzeile */
  --on-navy: #D6E0EA;     /* Fließtext auf Navy */
  --soft: #EEF2F5;        /* helle Flächen, Trennlinien */
  --line: #DCE3EA;        /* Rahmen */
  --input-line: #C9D3DD;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-sm: 4px;
  --font: 'Montserrat', Aptos, Arial, sans-serif;
  --header-h: 77px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 20;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.wrap--narrow { max-width: 1120px; }

.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: var(--white); }
.border-top { border-top: 1px solid var(--soft); }

.stack { display: flex; flex-direction: column; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; flex: none; width: 20px; height: 3px; background: var(--orange); }

.h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.h2--plain { text-wrap: wrap; }

.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}
.bg-navy .lead { color: var(--on-navy); }
.bg-navy .eyebrow { color: var(--white); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

/* Textlink mit orangem Unterstrich, z. B. „Mehr zum Markteintritt →“ */
.text-link {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--orange-hover); color: var(--white); }

.btn--outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 14px 26px;
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--lg { flex: none; white-space: nowrap; padding: 18px 30px; }
@media (max-width: 400px) { .btn--lg { flex: 0 1 auto; max-width: 100%; white-space: normal; } }

.btn--sm { font-size: 14px; padding: 12px 20px; white-space: nowrap; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.pill {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--soft);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--soft);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { height: 44px; width: auto; display: block; }

/* Einzeilige Navigation: Menüpunkte, die nicht mehr passen, brechen in eine
   unsichtbare zweite Zeile um. Logo, Sprachwahl und CTA bleiben immer sichtbar. */
.site-nav {
  flex: 1 1 0;
  min-width: 0;
  height: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  column-gap: 28px;
  row-gap: 40px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.lang-switch {
  flex: none;
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.lang-switch a {
  padding: 9px 11px;
  background: var(--white);
  color: var(--navy);
}
.lang-switch a:hover { color: var(--orange); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: var(--white); }

.site-header .btn--sm { flex: none; }
.cta-short { display: none; }

/* Menü-Knopf (☰): unter 1160 px ersetzt er die Menüzeile (fünf Menüpunkte) */
.menu-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, background-color 0.2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { transition: none; }
}

@media (max-width: 1160px) {
  .site-header__logo { margin-right: auto; }
  .menu-toggle { display: inline-flex; }
  /* Menüzeile wird zum aufklappbaren Feld unter der Kopfzeile */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    overflow: visible;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 8px 24px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 49, 92, 0.08);
    font-size: 17px;
    line-height: 1.4;
  }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--soft); }
  .site-nav a:last-child { border-bottom: none; }
  .site-header.is-open .site-nav { display: flex; }
}

/* CTA im aufgeklappten Menü, nur auf dem Handy (dort fehlt er in der Kopfzeile) */
.site-nav__cta { display: none; }
@media (max-width: 640px) {
  .site-header .btn--sm { display: none; }
  .site-nav a.site-nav__cta {
    display: block;
    margin-top: 12px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    text-align: center;
  }
  .site-nav a.site-nav__cta:hover { background: var(--orange-hover); color: var(--white); }
}

/* Handy: Logo, Sprachwahl und CTA passen ohne horizontales Scrollen in eine Zeile;
   die Menüpunkte sind hier ohnehin ausgeblendet. */
@media (max-width: 640px) {
  :root { --header-h: 69px; }
  .site-header__inner { padding: 14px 16px; gap: 12px; }
  .site-header__logo img { height: 36px; }
  .lang-switch a { padding: 9px; }
  .site-header .btn--sm { padding: 11px 14px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 380px) {
  :root { --header-h: 65px; }
  .site-header__inner { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .site-header__logo img { height: 28px; }
  .lang-switch { font-size: 12px; }
  .lang-switch a { padding: 8px 6px; }
  .site-header .btn--sm { font-size: 13px; padding: 10px 10px; }
  .menu-toggle { width: 38px; height: 38px; }
  .site-nav { padding-left: 16px; padding-right: 16px; }
}

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--soft); }
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.site-footer__brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer__brand img { height: 36px; width: auto; display: block; }
.site-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ==========================================================================
   Startseite
   ========================================================================== */

/* Hero */
.hero {
  padding-top: 88px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 64px;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__intro {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 560px;
  text-wrap: pretty;
}
.hero .pill-row { padding-top: 8px; }

/* Brücken-Grafik Hersteller → LIGABO → Versorgung */
.bridge {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bridge__maker {
  width: 100%;
  max-width: 340px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 18px 20px;
  text-align: center;
}
.bridge__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bridge__maker-title { font-size: 17px; font-weight: 700; margin-top: 6px; }
.bridge__v { width: 2px; background: var(--navy); }
.bridge__v--32 { height: 32px; }
.bridge__v--24 { height: 24px; }
.bridge__hub {
  width: 100%;
  max-width: 380px;
  background: var(--orange);
  color: var(--white);
  border-radius: 6px;
  padding: 22px 20px;
  text-align: center;
}
.bridge__hub-name { font-size: 22px; font-weight: 800; letter-spacing: 0.08em; }
.bridge__hub-sub { font-size: 14px; font-weight: 600; margin-top: 6px; }
/* Querlinie genau von der Mitte des ersten bis zur Mitte des dritten Zielkastens (3 Spalten, --bridge-gap Abstand) */
.bridge { --bridge-gap: 10px; }
.bridge__h { width: calc(100% - (100% - 2 * var(--bridge-gap)) / 3 + 2px); height: 2px; background: var(--navy); }
.bridge__targets {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bridge-gap);
}
.bridge__targets li { display: flex; flex-direction: column; align-items: stretch; }
.bridge__targets .bridge__v { align-self: center; }
.bridge__target {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 14px 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.bridge__caption {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Herausforderung */
.problem {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.problem__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px;
  align-items: center;
}
.problem__intro > .stack { gap: 16px; }

.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 10 / 9;
  position: relative;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
.media-frame__note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.card-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.num-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.num-card__num { font-size: 40px; font-weight: 800; color: var(--orange); line-height: 1; }
.num-card__title { margin: 0; font-size: 19px; font-weight: 700; }
.num-card__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }

/* Leistung – vier Schritte */
.section-pad { padding-top: 104px; padding-bottom: 104px; }

.services { display: flex; flex-direction: column; gap: 56px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 2px solid var(--navy);
}
.step {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--soft);
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: none; }
/* Passen nicht alle vier nebeneinander: linksbündig untereinander, waagrechte Trennlinien */
@media (max-width: 1009px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step,
  .step:first-child,
  .step:last-child { padding: 28px 0; border-right: none; }
  .step + .step { border-top: 1px solid var(--line); }
}
.step__head { display: flex; align-items: center; gap: 12px; }
.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.step:last-child .step__num,
.steps--accent .step__num { background: var(--orange); }
.step__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.step__title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.step__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }

/* Fokus & Netzwerk */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: center;
}
.split > .stack { gap: 20px; }

.square-list {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.square-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.55;
}
.square-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--orange);
}

.focus-box {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.focus-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px 24px;
}
.focus-group__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.focus-group__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.focus-group__list li {
  background: var(--white);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.focus-group:first-child .focus-group__list li { border-left-color: var(--orange); }
.focus-box__note {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* Zwei Modelle */
.models { display: flex; flex-direction: column; gap: 48px; }
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
}
.model-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-top: 4px solid var(--orange);
}
.model-card--navy { border-top-color: var(--navy); }
.model-card__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.model-card__title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; }

.plus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plus-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; }
.plus-list li::before { content: "+"; color: var(--orange); font-weight: 800; }
.plus-list--navy li::before { color: var(--navy); }

.banner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}
.banner__title { margin: 0; font-size: 20px; font-weight: 800; flex: 1 1 360px; text-wrap: balance; }
.banner__text { margin: 0; font-size: 15px; line-height: 1.55; flex: 1 1 320px; color: var(--on-navy); }

/* Erfahrung */
.experience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 72px;
  align-items: center;
}
.experience > .stack { gap: 20px; }
.brand-list {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 800;
  line-height: 1.5;
}
/* Punkt vor jedem Namen (nicht nur zwischen), damit jede umbrochene Zeile gleich beginnt */
.brand-list li::before {
  content: "·";
  content: "·" / "";
  color: var(--orange);
  margin-right: 8px;
}
@media (max-width: 640px) {
  .brand-list { flex-direction: column; row-gap: 2px; }
}
.fact-card {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fact-card__head { gap: 10px; }
.fact-card__big {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact-card__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.person__meta { gap: 2px; }
.person__name { font-size: 17px; font-weight: 800; }
.person__role { font-size: 14px; color: var(--text); }

/* Porträt-Platzhalter (bis ein echtes Foto vorliegt; Maße bleiben gleich) */
.avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 36px;
  line-height: 1;
}
.avatar picture,
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* KI im Hintergrund */
.ai { display: flex; flex-direction: column; gap: 56px; }
.ai .section-head { max-width: 780px; }
.ai__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.ai__box {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid; /* Titel + 3 Punkte links/rechts auf gleicher Höhe */
  row-gap: 16px;
}
.ai__box-title {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--orange);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}
.ai__box ul { margin: 0; padding: 0; list-style: none; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; }
.ai__box li { font-size: 17px; line-height: 1.5; }
.ai__hub-wrap { grid-row: span 4; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ai__hub {
  flex: none;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  text-align: center;
}
.ai__hub-big { font-size: 40px; font-weight: 800; line-height: 1; }
.ai__hub-small {
  display: block;
  max-width: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: start;
}
.contact > .stack { gap: 24px; }
.check-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.check-steps li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}
.check-steps__num { flex: none; width: 28px; font-weight: 800; color: var(--orange); }

.form-box { background: var(--soft); border-radius: var(--radius); padding: 40px 36px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field__req { color: var(--orange); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  padding: 14px;
  border: 1px solid var(--input-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  outline: none;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 49, 92, 0.15);
}
.form .btn { margin-top: 6px; }
.form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__note a { text-decoration: underline; }
.form__error { margin: 0; font-size: 14px; line-height: 1.5; color: #B01E1E; font-weight: 600; }
.form__error a { color: inherit; text-decoration: underline; }
.form .btn[disabled] { opacity: 0.7; cursor: wait; }
/* Fallen-Feld gegen Spam-Bots: für Menschen unsichtbar */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-thanks { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.form-thanks__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
}
.form-thanks__title { margin: 0; font-size: 24px; font-weight: 800; }
.form-thanks__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.link-button {
  align-self: flex-start;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: var(--orange); }

/* 404 */
.not-found { gap: 24px; }

/* Sehr schmale Bildschirme: lange Wörter (z. B. „Rehabilitationseinrichtungen“) trennen statt überlaufen */
@media (max-width: 480px) {
  body {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    /* nur lange Wörter trennen, mind. 4 Buchstaben je Seite (kein „di-rekt“, „be-werten“) */
    hyphenate-limit-chars: 10 4 4;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 4;
  }
  /* Überschriften nie trennen: ganze Wörter rutschen in die nächste Zeile */
  h1, h2, h3, h4, [class*="__title"] {
    -webkit-hyphens: manual;
    hyphens: manual;
    overflow-wrap: anywhere; /* nur falls ein einzelnes Wort breiter als der Bildschirm ist */
  }
}

/* Handy: Grafik etwas enger, damit Begriffe wie „outpatient centres“
   nicht mitten im Wort brechen */
@media (max-width: 480px) {
  .bridge { padding: 28px 14px; }
  .bridge { --bridge-gap: 6px; }
  .bridge__target { padding: 12px 4px; overflow-wrap: normal; }
}
@media (max-width: 380px) {
  .bridge__target { font-size: 12.5px; }
}
