/* ==========================================================================
   LPP Loebnitz Projekt Partner GmbH — Stylesheet
   Helles Layout, Highlights in Rot-Orange (angelehnt an das Logo-Rot).
   Keine externen Ressourcen: Systemschriften, keine Web-Fonts, kein Tracking.
   ========================================================================== */

:root {
  /* Marke.
     --accent ist die gewaehlte Markenfarbe, aber auf Weiss nur 3,75:1 stark.
     Das reicht fuer Flaechen, Icons und grosse Typo (3:1), nicht fuer kleinen
     Text (4,5:1). Deshalb ist die Familie nach Verwendungszweck gestaffelt: */
  --accent: #e8501e;         /* Flaechen, Icons, grosse Typo, Linien   */
  --accent-dark: #c43f14;    /* kleiner Text auf hell   — 5,16:1       */
  --accent-strong: #a83913;  /* Hover fuer Text/Buttons — 6,44:1       */
  --accent-btn: #d2450f;     /* weisser Text auf Orange — 4,57:1       */
  --accent-on-dark: #f5722e; /* Links im dunklen Footer — 5,45:1       */
  --accent-soft: #fdf0eb;
  --accent-line: #f6c9b8;
  --logo-red: #f82e12;

  /* Flaechen */
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-2: #eef0f3;
  --line: #e4e7ec;
  --line-strong: #cdd3db;

  /* Text */
  --fg: #1c2430;
  --fg-muted: #5a6878;
  --fg-on-dark: #e9ecf1;
  --fg-on-dark-muted: #a4afbe;

  /* Masse */
  --maxw: 1140px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(28, 36, 48, 0.04), 0 4px 16px rgba(28, 36, 48, 0.06);
  --shadow-lg: 0 2px 4px rgba(28, 36, 48, 0.05), 0 14px 34px rgba(28, 36, 48, 0.11);
  --header-h: 76px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  /* Sticky Header darf Sprungziele nicht verdecken */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-dark);
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
}

h3 {
  font-size: 1.22rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.16rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Kleine orange Ueberschrift ueber der H2 */
.kicker {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.6em;
}

.muted {
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(48px, 6vw, 86px);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--fg-muted);
  font-size: 1.08rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent-btn);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Nur fuer Screenreader sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Logoquelle ist 288px breit — Anzeige bei 144px ergibt exakt 2x fuer Retina */
.brand img {
  width: 144px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav__link:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav__link[aria-current="page"] {
  color: var(--accent-dark);
}

.nav__link[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* Dropdown "Leistungen".
   "Leistungen" ist ein echter Link auf die Uebersichtsseite; das Untermenue
   haengt an einem eigenen Pfeil-Schalter daneben. So kann ein Klick auf den
   Menuepunkt das gerade per Hover geoeffnete Menue nicht wieder zuschlagen. */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 8px;
}

.nav__item:hover {
  background: var(--accent-soft);
}

.nav__item:hover .nav__link,
.nav__item:hover .nav__sub-toggle {
  background: none;
  color: var(--accent-strong);
}

.nav__link--has-sub {
  padding-right: 6px;
}

.nav__sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  padding: 10px 12px 10px 4px;
  border-radius: 8px;
  color: var(--fg);
}

.nav__sub-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}

.nav__sub-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

.nav__item--current > .nav__link,
.nav__item--current > .nav__sub-toggle {
  color: var(--accent-dark);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 264px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
}

/* Unsichtbare Bruecke ueber den 8px-Spalt zwischen Menuepunkt und Klappmenue.
   Ohne sie verlaesst der Mauszeiger auf dem Weg nach unten kurz das
   .nav__item — das Menue wuerde zuklappen, bevor ein Eintrag erreichbar ist. */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav__menu[data-open="true"] {
  display: block;
}

.nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav__menu a[aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 600;
}

/* Burger */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  position: relative;
  width: 17px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}

.btn--primary {
  background: var(--accent-btn);
  border-color: var(--accent-btn);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.btn--on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

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

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-dark);
}

.arrow-link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.arrow-link:hover::after {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Hero (Startseite)
   Split-Layout: Text links, Claim-Grafik rechts. Die Grafik wird bewusst
   nicht ueber die volle Breite gezogen — die Quelle ist 940px breit.
   -------------------------------------------------------------------------- */

.hero {
  padding-block: clamp(44px, 5.5vw, 80px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero__title {
  margin-bottom: 0.35em;
}

.hero__title span {
  color: var(--accent);
}

.hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Quellbreite 940px: nie darueber hinaus skalieren */
  max-width: 620px;
  justify-self: end;
  width: 100%;
}

.hero__figure img {
  width: 100%;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(36px, 4.5vw, 62px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-head__inner {
  max-width: 780px;
}

.page-head h1 {
  margin-bottom: 0.3em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Claim-Grafik als Banner unter dem Seitenkopf */
.claim-banner {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 940px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Karten & Raster
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.card__foot {
  margin-top: auto;
  padding-top: 18px;
}

/* Orange Oberkante beim Hover */
.card--link::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card--link:hover::before {
  opacity: 1;
}

/* Karte mit Claim-Grafik als Kopf */
.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media > img {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}

/* Icon-Flaeche in Orange */
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  flex-shrink: 0;
}

.card__icon svg {
  width: 25px;
  height: 25px;
}

/* Nummerierte Karte */
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-btn);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Aufzaehlung mit orangem Haken */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Inhaltsbloecke
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
}

.split--narrow-media {
  grid-template-columns: 1.25fr 0.75fr;
}

.split__media {
  margin: 0;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Bildquellen sind klein — nie ueber die native Breite hinaus skalieren */
.media--379 {
  max-width: 379px;
}

.media--219 {
  max-width: 219px;
}

.media--953 {
  max-width: 953px;
}

.figure-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose--legal {
  max-width: 760px;
}

.prose--legal h2 {
  font-size: 1.35rem;
}

.prose--legal h3 {
  font-size: 1.06rem;
}

/* Hervorgehobener Kasten */
.note {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.note h3 {
  margin-bottom: 0.35em;
}

.note p:last-child {
  margin-bottom: 0;
}

/* Zertifizierungs-Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Ansprechpartner
   -------------------------------------------------------------------------- */

.person {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.person__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-btn);
  color: #fff;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.person__name {
  margin: 0 0 2px;
  font-size: 1.1rem;
}

.person__role {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.person__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.96rem;
}

.person__contact li {
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.contact-list__icon svg {
  width: 20px;
  height: 20px;
}

.contact-list__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1px;
}

.contact-list__value {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}

a.contact-list__value:hover {
  color: var(--accent-strong);
}

/* Formular */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 18px;
}

.form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form .req {
  color: var(--accent-dark);
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 80, 30, 0.16);
}

.form textarea {
  min-height: 148px;
  resize: vertical;
}

.form__hint {
  margin: 14px 0 0;
  font-size: 0.89rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

.form__status {
  margin: 14px 0 0;
  padding: 12px 15px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 0.93rem;
  color: var(--fg);
}

.form__status[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   CTA-Band
   -------------------------------------------------------------------------- */

.cta {
  background: var(--fg);
  color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta h2 {
  color: #fff;
  margin-bottom: 0.3em;
}

.cta p {
  color: var(--fg-on-dark-muted);
  margin: 0;
  max-width: 56ch;
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--fg);
  color: var(--fg-on-dark-muted);
  padding-block: clamp(40px, 5vw, 64px) 26px;
  font-size: 0.96rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
}

.footer h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 0.9em;
}

.footer a {
  color: var(--fg-on-dark-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-on-dark);
}

.footer__quote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  line-height: 1.65;
}

.footer__quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--fg-on-dark);
  font-weight: 600;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li {
  margin-bottom: 9px;
}

.footer address {
  font-style: normal;
  line-height: 1.75;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.89rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__quote-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Navigation klappt unter dem Header auf */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav__link {
    width: 100%;
    text-align: left;
    padding: 13px 12px;
    font-size: 1.02rem;
  }

  /* Menuepunkt und Pfeil-Schalter teilen sich eine Zeile, das Klappmenue
     rutscht darunter. Ohne Hover muss der Pfeil gross genug zum Tippen sein. */
  .nav__item {
    flex-wrap: wrap;
  }

  .nav__item:hover {
    background: none;
  }

  .nav__link--has-sub {
    flex: 1;
    width: auto;
  }

  .nav__sub-toggle {
    padding: 13px 16px;
    align-self: stretch;
    /* Fingerbreites Tippziel, der Pfeil allein waere zu schmal */
    min-width: 48px;
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav__menu {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    margin: 2px 0 8px 12px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 2px solid var(--accent-line);
    border-radius: 0;
    box-shadow: none;
  }

  /* Bruecke nur im Desktop-Dropdown noetig */
  .nav__menu::before {
    display: none;
  }

  .nav__menu[data-open="true"] {
    display: block;
  }

  .hero__grid,
  .split,
  .split--narrow-media,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__figure {
    max-width: 620px;
    justify-self: start;
    order: -1;
  }

  .split__media {
    order: -1;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .form__row--two {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row,
  .cta__actions {
    width: 100%;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 124px;
  }

  .hero__facts {
    flex-direction: column;
    gap: 9px;
  }
}

/* --------------------------------------------------------------------------
   Ausgabe & Bewegungsreduktion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header,
  .footer,
  .cta,
  .nav-toggle,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 11pt;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}
