/* =====================================================================
   Reha Zentrum Straubing – Startseite www.reha-straubing.com
   Reines CSS, Systemschriften, keine externen Ressourcen.
   Markenfarben aus der .de (Elementor-Kit / Astra):
     --marke-dunkel  #032f79  Logo „REHA ZENTRUM“, Überschriften (secondary)
     --marke-hell    #0093d0  Logo-Band „Straubing“, Buttons (primary)
     --marke-text    #0074a8  abgedunkeltes Hellblau für Text/Buttons (WCAG AA: 5,2:1 auf Weiß)
   ===================================================================== */

:root {
  --marke-dunkel: #032f79;
  --marke-dunkel-2: #021f52;
  --marke-hell: #0093d0;
  --marke-text: #0074a8;
  --marke-zart: #e6f4fb;
  --tinte: #14213d;
  --grau: #4b4f58;
  --flaeche: #f2f5f7;
  --linie: #dfe6ec;
  --weiss: #fff;

  --schrift: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 1px 2px rgba(3, 47, 121, .06), 0 8px 24px rgba(3, 47, 121, .08);
  --schatten-hoch: 0 2px 4px rgba(3, 47, 121, .08), 0 18px 48px rgba(3, 47, 121, .16);
  --fokus: 0 0 0 2px #fff, 0 0 0 5px var(--marke-dunkel);
  --kopf-hoehe: 76px;
  --breite: 1200px;
  --rand: clamp(16px, 4vw, 32px);
  --takt: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  color-scheme: light;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--weiss);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--marke-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--marke-dunkel); text-decoration-thickness: 2px; }
strong { font-weight: 650; color: var(--marke-dunkel); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.015em; color: var(--marke-dunkel); font-weight: 750; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: 6px; }
main:focus { outline: none; }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: 10px;
  background: var(--marke-dunkel); color: #fff; font-weight: 650; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s var(--takt);
}
.skip-link:focus { transform: none; color: #fff; }

.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

/* ----------------------------- Knöpfe ----------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--marke-text); color: #fff;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--takt), box-shadow .2s;
}
.knopf svg { width: 1.15em; height: 1.15em; }
.knopf:hover { background: var(--marke-dunkel); color: #fff; text-decoration: none; transform: translateY(-1px); }
.knopf--klein { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.knopf--hell { background: #fff; color: var(--marke-dunkel); }
.knopf--hell:hover { background: var(--marke-zart); color: var(--marke-dunkel); }
.knopf--rand { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.knopf--rand:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.knopf--rand-dunkel { background: transparent; color: var(--marke-dunkel); border-color: var(--marke-dunkel); }
.knopf--rand-dunkel:hover { background: var(--marke-dunkel); color: #fff; }
.knopf:focus-visible { border-radius: 999px; }

/* ----------------------------- Kopf ----------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); box-shadow: 0 6px 24px rgba(3, 47, 121, .08); }
.kopf__innen {
  max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand);
  height: var(--kopf-hoehe); display: flex; align-items: center; gap: 24px;
}
.kopf__logo { display: block; flex: none; border-radius: 8px; }
.kopf__logo img { width: 176px; height: auto; }

.navi { display: flex; align-items: center; flex: 1; gap: 20px; }
.navi__liste { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.navi__gruppe { position: relative; }
.navi__knopf {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px;
  background: transparent; color: var(--marke-dunkel);
  font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.navi__knopf:hover, .navi__knopf[aria-expanded="true"] { background: var(--marke-zart); }
.navi__pfeil { width: 12px; height: 12px; transition: transform .2s var(--takt); }
.navi__knopf[aria-expanded="true"] .navi__pfeil { transform: rotate(180deg); }

.untermenue {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 240px;
  padding: 8px; border-radius: 14px; background: #fff;
  border: 1px solid var(--linie); box-shadow: var(--schatten-hoch);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s, transform .22s var(--takt), visibility 0s .22s;
}
.untermenue::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.untermenue--breit { display: grid; grid-template-columns: 1fr 1fr; min-width: 460px; gap: 2px 8px; }
.navi__knopf[aria-expanded="true"] + .untermenue {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .18s, transform .22s var(--takt), visibility 0s;
}
.untermenue a {
  display: block; padding: 10px 12px; border-radius: 9px;
  color: var(--tinte); text-decoration: none; font-weight: 500; line-height: 1.35;
}
.untermenue a:hover { background: var(--flaeche); color: var(--marke-dunkel); }

.navi__aktionen { display: flex; align-items: center; gap: 14px; }
.kopf__telefon {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: var(--marke-dunkel); font-weight: 650; text-decoration: none; padding: 8px 4px; border-radius: 8px;
}
.kopf__telefon svg { width: 20px; height: 20px; color: var(--marke-text); }
.kopf__telefon:hover { color: var(--marke-text); text-decoration: none; }

.menue-knopf {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--linie); border-radius: 999px;
  background: #fff; color: var(--marke-dunkel); font: inherit; font-weight: 650; cursor: pointer;
}
.menue-knopf__striche { position: relative; width: 20px; height: 14px; }
.menue-knopf__striche span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--takt), opacity .2s;
}
.menue-knopf__striche span:nth-child(1) { top: 0; }
.menue-knopf__striche span:nth-child(2) { top: 6px; }
.menue-knopf__striche span:nth-child(3) { top: 12px; }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] .menue-knopf__striche span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobiles Menü */
@media (max-width: 1099px) {
  :root { --kopf-hoehe: 68px; }
  /* backdrop-filter machte den Kopf zum Bezugsrahmen des festen Menüs – mobil darum ohne */
  .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .kopf__logo img { width: 150px; }
  .menue-knopf { display: inline-flex; }
  .navi {
    position: fixed; inset: var(--kopf-hoehe) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--rand) calc(28px + env(safe-area-inset-bottom));
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--takt), visibility 0s .25s;
  }
  .menue-offen .navi { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--takt), visibility 0s; }
  .menue-offen { overflow: hidden; }
  /* Launcher der Online-Rezeption tritt hinter das offene Menü zurück (das Menü trägt einen eigenen Knopf) */
  .menue-offen #online-rezeption { display: none; }
  .navi__liste { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .navi__gruppe { border-bottom: 1px solid var(--linie); }
  .navi__knopf { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 4px; font-size: 1.125rem; border-radius: 8px; }
  .navi__knopf:hover, .navi__knopf[aria-expanded="true"] { background: transparent; color: var(--marke-text); }
  .untermenue, .untermenue--breit {
    position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .untermenue::before { display: none; }
  .navi__knopf[aria-expanded="true"] + .untermenue { display: block; transform: none; }
  .untermenue a { padding: 12px 14px; font-size: 1.0625rem; }
  .navi__aktionen { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .kopf__telefon { justify-content: center; min-height: 48px; border: 1px solid var(--linie); border-radius: 999px; }
  .navi__aktionen .knopf { min-height: 50px; }
}
@media (max-width: 380px) {
  .kopf__logo img { width: 128px; }
  .menue-knopf { padding: 0 12px; }
  .menue-knopf__text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ----------------------------- Hero ----------------------------- */
.held {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 80vh, 780px);
  display: flex; align-items: center;
  color: #fff; background: var(--marke-dunkel);
}
.held__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; z-index: -2; }
.held__schleier {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(2, 31, 82, .94) 0%, rgba(3, 47, 121, .84) 38%, rgba(3, 47, 121, .35) 68%, rgba(3, 47, 121, .1) 100%),
    linear-gradient(0deg, rgba(2, 31, 82, .55) 0%, rgba(2, 31, 82, 0) 40%);
}
.held__inhalt { padding-block: 96px 128px; }
.held__vorzeile {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .9rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #cfeaf8;
}
.held__vorzeile::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--marke-hell); }
.held__titel {
  max-width: 13ch; margin-bottom: 20px; color: #fff;
  font-size: clamp(2.5rem, 1.4rem + 5vw, 4.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
}
.held__text { max-width: 34rem; margin-bottom: 34px; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.5; color: #eaf5fc; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.held .knopf:focus-visible, .jobs .knopf:focus-visible { box-shadow: 0 0 0 3px var(--marke-dunkel), 0 0 0 6px #fff; }

@media (max-width: 700px) {
  .held { min-height: 0; align-items: flex-end; }
  .held__bild { object-position: 70% 30%; }
  .held__schleier { background: linear-gradient(0deg, rgba(2, 31, 82, .97) 0%, rgba(3, 47, 121, .88) 55%, rgba(3, 47, 121, .45) 100%); }
  .held__inhalt { padding-block: 180px 96px; }
  .held__vorzeile { font-size: .78rem; letter-spacing: .06em; align-items: flex-start; }
  .held__vorzeile::before { margin-top: .6em; flex: none; }
  .held__knoepfe .knopf { width: 100%; }
}

/* ----------------------------- Kennzahlen ----------------------------- */
.kennzahlen {
  position: relative; z-index: 2; margin-top: -64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-hoch);
  overflow: hidden;
}
.kennzahlen li { padding: 26px 28px; display: flex; flex-direction: column; gap: 2px; }
.kennzahlen li + li { border-left: 1px solid var(--linie); }
.kennzahlen strong { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--marke-dunkel); }
.kennzahlen span { color: var(--grau); font-size: .98rem; }
@media (max-width: 700px) {
  .kennzahlen { grid-template-columns: 1fr; margin-top: -48px; }
  .kennzahlen li { padding: 18px 22px; flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .kennzahlen li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .kennzahlen strong { font-size: 1.4rem; }
}

/* ----------------------------- Abschnitte ----------------------------- */
.abschnitt { padding-block: clamp(64px, 5rem + 3vw, 128px); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__kopf { margin-bottom: clamp(28px, 4vw, 48px); }
.vorzeile {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--marke-text);
}
.vorzeile::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--marke-hell); }
.vorzeile--hell { color: #9fdcf6; }

/* Ihr Zentrum */
.zentrum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.zentrum__text > p { font-size: 1.125rem; }
.hinweis-partner {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-klein);
  background: var(--marke-zart); color: var(--marke-dunkel); font-size: 1rem !important; font-weight: 500;
}
.hinweis-partner svg { width: 26px; height: 26px; color: var(--marke-text); margin-top: 1px; }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.galerie__bild { position: relative; overflow: hidden; border-radius: var(--radius-klein); background: var(--flaeche); aspect-ratio: 3 / 2; grid-column: span 2; }
.galerie__bild--gross { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--takt); }
.galerie__bild:hover img { transform: scale(1.04); }
@media (min-width: 1000px) {
  .galerie__bild { grid-column: span 1; aspect-ratio: 1 / 1; }
  .galerie__bild--gross { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .zentrum { grid-template-columns: 1fr; }
}

/* Therapie */
.therapie { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.therapie__text p { font-size: 1.125rem; }
.therapie__anruf { padding-left: 18px; border-left: 3px solid var(--marke-hell); }
.therapie__anruf a { font-weight: 700; white-space: nowrap; }
.vorteile { display: grid; gap: 18px; }
.vorteil {
  padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--schatten);
  border: 1px solid rgba(3, 47, 121, .05);
}
.vorteil h3 { margin: 16px 0 8px; }
.vorteil p { margin: 0; color: var(--grau); }
.vorteil__symbol {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--marke-hell), var(--marke-dunkel)); color: #fff;
}
.vorteil__symbol svg { width: 30px; height: 30px; }
@media (max-width: 899px) { .therapie { grid-template-columns: 1fr; } }

/* Leistungen */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kachel a {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--marke-dunkel);
  color: #fff; text-decoration: none; box-shadow: var(--schatten);
  transition: box-shadow .3s, transform .3s var(--takt);
}
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--takt); }
.kachel a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 47, 121, 0) 30%, rgba(3, 47, 121, .55) 62%, rgba(2, 31, 82, .95) 100%);
  transition: opacity .3s;
}
.kachel__titel {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 1.3rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.2;
}
.kachel__titel::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11m-4-4.5L15.5 10 11 14.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid rgba(255, 255, 255, .4);
  transition: background-color .3s, transform .3s var(--takt);
}
.kachel a:hover, .kachel a:focus-visible { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.kachel a:hover img { transform: scale(1.06); }
.kachel a:hover .kachel__titel::after { background-color: var(--marke-hell); transform: translateX(3px); }
.kachel a:focus-visible { border-radius: var(--radius); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--marke-dunkel); }
@media (max-width: 1023px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .kacheln { grid-template-columns: 1fr; gap: 12px; }
  .kachel a { aspect-ratio: 16 / 9; }
}

.fragen {
  margin-top: 28px; padding: clamp(24px, 3vw, 36px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  border-radius: var(--radius); background: var(--marke-zart);
}
.fragen h3 { margin-bottom: 4px; font-size: 1.5rem; }
.fragen p { margin: 0; color: var(--grau); }
.fragen__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) { .fragen__knoepfe, .fragen__knoepfe .knopf { width: 100%; } }

/* Profisport */
.abschnitt--dunkel {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(0, 147, 208, .28), transparent 60%),
    linear-gradient(160deg, var(--marke-dunkel) 0%, var(--marke-dunkel-2) 100%);
  color: #dbe9f6;
}
.abschnitt--dunkel h2 { color: #fff; }
.abschnitt--dunkel strong { color: #fff; }
.profisport { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.profisport__bild { position: sticky; top: calc(var(--kopf-hoehe) + 32px); }
.profisport__bild img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.profisport__bild figcaption { margin-top: 12px; font-size: .95rem; color: #b9d3ea; }
.vereine { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.vereine li { display: grid; place-items: center; height: 108px; padding: 14px 20px; border-radius: var(--radius-klein); background: #fff; }
.vereine img { max-height: 80px; width: auto; }
@media (max-width: 899px) {
  .profisport { grid-template-columns: 1fr; }
  .profisport__bild { position: static; max-width: 420px; }
}
@media (max-width: 420px) {
  .vereine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .vereine li { height: 84px; padding: 10px; }
  .vereine img { max-height: 60px; }
}

/* Jobs */
.jobs { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 6rem + 4vw, 150px); color: #fff; background: var(--marke-dunkel); }
.jobs__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.jobs__schleier { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 31, 82, .95) 0%, rgba(3, 47, 121, .82) 55%, rgba(0, 116, 168, .55) 100%); }
.jobs h2 { max-width: 22ch; color: #fff; }
.jobs__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.jobs__link { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.jobs__link:hover { color: #fff; text-decoration-color: #fff; }
.jobs__link:focus-visible { box-shadow: 0 0 0 3px var(--marke-dunkel), 0 0 0 6px #fff; }

/* ----------------------------- Fuß ----------------------------- */
.fuss { background: var(--flaeche); color: var(--tinte); border-top: 1px solid var(--linie); }
.fuss__raster { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px 56px; padding-block: 72px 56px; }
.fuss__logo img { width: 210px; }
.fuss__zertifikat { display: inline-block; margin-top: 24px; border-radius: 8px; }
.fuss__zertifikat img { width: 112px; border-radius: 8px; mix-blend-mode: multiply; }
.sozial { display: flex; gap: 10px; margin-top: 24px; }
.sozial a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--marke-dunkel); border: 1px solid var(--linie);
  transition: background-color .2s, color .2s, transform .2s var(--takt);
}
.sozial a:hover { background: var(--marke-dunkel); color: #fff; transform: translateY(-2px); }
.sozial a:focus-visible { border-radius: 50%; }
.sozial svg { width: 20px; height: 20px; }
.standort h2 { font-size: 1.35rem; margin-bottom: 14px; }
.standort h3 { margin: 22px 0 10px; font-size: 1rem; font-weight: 700; color: var(--marke-dunkel); text-transform: uppercase; letter-spacing: .08em; }
.standort address { color: var(--grau); line-height: 1.6; }
.standort__kontakt { display: grid; gap: 4px; margin: 14px 0 0; color: var(--grau); }
.standort__kontakt a { font-weight: 600; overflow-wrap: anywhere; }
.zeiten { margin: 0; display: grid; gap: 6px; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed var(--linie); }
.zeiten dt { color: var(--grau); }
.zeiten dd { margin: 0; font-weight: 600; color: var(--tinte); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fuss__unten { border-top: 1px solid var(--linie); }
.fuss__zeile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px calc(22px + 72px); font-size: .95rem; color: var(--grau); }
.fuss__zeile p { margin: 0; }
.fuss__links { display: flex; gap: 20px; }
.fuss__links a { color: var(--grau); }
.fuss__links a:hover { color: var(--marke-dunkel); }
@media (max-width: 999px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 639px) { .fuss__raster { grid-template-columns: 1fr; padding-block: 56px 40px; } }

/* ----------------------------- Einblenden ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--takt), transform .7s var(--takt); transition-delay: var(--verzug, 0ms); }
  .js .einblenden.ist-sichtbar { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Druck */
@media print {
  .kopf, .jobs, .sozial, .skip-link { display: none !important; }
  .held { min-height: 0; color: #000; background: none; }
  .held__bild, .held__schleier { display: none; }
  .held__titel, .held__text { color: #000; }
}
