/* ==========================================================================
   Christiansen Print – statische Übergangsseite
   Optik nach der bisherigen Website, Farben nach "Markenfarben Christiansen Print"
   ========================================================================== */

/* ---------- Schrift ----------
   Fira Sans (Erik Spiekermann u. a.), SIL Open Font License 1.1: frei nutzbar, auch kommerziell und auf Websites.
   Lizenztext: schriften/OFL.txt. Die Dateien liegen im Projektordner, es gibt keine externen Aufrufe. */
@font-face {
  font-family: "Fira Sans";
  src: url("../schriften/fira-sans-latin-400-normal.woff2") format("woff2"),
       url("../schriften/fira-sans-latin-400-normal.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../schriften/fira-sans-latin-400-italic.woff2") format("woff2"),
       url("../schriften/fira-sans-latin-400-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../schriften/fira-sans-latin-700-normal.woff2") format("woff2"),
       url("../schriften/fira-sans-latin-700-normal.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben ---------- */
:root {
  --rot: #9a3324;            /* Pantone 484 */
  --rot-dunkel: #7f2a1e;     /* Hover */
  --warmgrau: #6e6259;       /* Pantone Warm Grey 11 */
  --warmgrau-60: #b2a99b;    /* 60 % Warm Grey 11 */
  --warmgrau-30: #d9d4cd;    /* 30 % Warm Grey 11 */
  --hellgrau: #eeeeef;       /* Seitenhintergrund wie bisher */
  --linie: #dedfe0;
  --weiss: #ffffff;
  --pruefen: #ffe45c;        /* gelbe Prüfstellen aus der Inhaltsvorlage */
  --seite: 1260px;           /* weißer Seitenkörper */
  --leiste: 40px;            /* linke Leiste */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-width: 320px;
  background: var(--hellgrau);
  color: var(--warmgrau);
  font-family: "Fira Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--rot); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }
p { margin: 0 0 16px; }
b, strong { font-weight: 700; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 700; }
ul { margin: 0 0 16px; padding-left: 20px; }
.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 200;
  background: var(--rot); color: #fff; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 10px; text-decoration: none; }

/* Gelb markierte Prüfstellen – vor Veröffentlichung klären und entfernen */
.pruefen {
  background: var(--pruefen);
  color: #3b3632;
  padding: 1px 4px;
  font-size: 0.92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.pruefen--block { display: block; padding: 8px 12px; margin: 6px 0 16px; }

/* ---------- Seitenkörper ---------- */
.page {
  position: relative;
  max-width: var(--seite);
  margin: 0 auto;
  background: var(--weiss);
  min-height: 100vh;
}

/* ---------- Linke Leiste (Desktop) ---------- */
.sidebar {
  position: fixed;
  top: 0;
  left: calc(50% - (var(--seite) / 2) - var(--leiste));
  width: var(--leiste);
  z-index: 60;
}
.sidebar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 51px;
  margin: 1px 0;
  border: 0;
  border-bottom: 1px solid var(--linie);
  background: var(--warmgrau-30);
  color: var(--rot);
  cursor: pointer;
  padding: 0;
}
.sidebar__btn:hover, .sidebar__btn[aria-expanded="true"] { background: var(--weiss); }
.sidebar__btn svg { width: 20px; height: 20px; }
.sidebar__contact {
  display: block;
  position: relative;
  width: 39px;
  height: 120px;
  margin: 1px 0;
  background: var(--rot);
  color: var(--weiss);
  font-weight: 700;
  font-size: 15px;
}
.sidebar__contact:hover, .sidebar__contact[aria-expanded="true"] { background: var(--rot-dunkel); text-decoration: none; }
.sidebar__contact svg { position: absolute; top: 12px; left: 10px; width: 19px; height: 19px; }
.sidebar__contact span {
  position: absolute;
  left: 50%;
  top: 76px;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
}

/* ---------- Ausklappbare Fenster: Menü und Kontakt ---------- */
.flyout {
  position: fixed;
  top: 0;
  left: calc(50% - (var(--seite) / 2));
  z-index: 55;
  width: 360px;
  max-width: calc(100vw - var(--leiste));
  max-height: 100vh;
  overflow-y: auto;
  background: var(--weiss);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  padding: 30px 30px 40px;
  display: none;
}
.flyout.is-open { display: block; }
.flyout__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--hellgrau);
  color: var(--rot);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flyout__close svg { width: 16px; height: 16px; }
.flyout__title { font-size: 20px; color: var(--warmgrau); margin: 0 0 16px; font-weight: 700; }
.menu-list, .menu-list ul { list-style: none; margin: 0; padding: 0; }
.menu-list > li { border-bottom: 1px solid var(--linie); }
.menu-list > li > a { display: block; padding: 12px 0; font-size: 18px; color: var(--warmgrau); }
.menu-list > li > a:hover { color: var(--rot); }
.menu-list a[aria-current="page"] { color: var(--rot); font-weight: 700; }
.menu-list ul { padding: 0 0 10px 14px; }
.menu-list ul a { display: block; padding: 5px 0; color: var(--rot); }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon { flex: 0 0 22px; color: var(--rot); padding-top: 2px; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__head { display: block; font-weight: 700; color: var(--warmgrau); font-size: 18px; margin-bottom: 2px; }
.contact-item p { margin: 0; }

/* ---------- Kopfbereich ---------- */
.header {
  position: relative;
  height: 80px;
  padding: 0 40px;
  background: var(--weiss);
}
.header__logo { position: absolute; top: 21px; right: 40px; width: 210px; }
.header__logo img { width: 210px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.main-nav li { display: inline-block; }
.main-nav a {
  display: inline-block;
  padding: 30px 0 28px;
  margin-right: 24px;
  font-size: 18px;
  color: var(--warmgrau);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--rot); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--rot); border-bottom-color: var(--rot); }
.header__burger { display: none; }

/* ---------- Hauptbereich ---------- */
.main { padding: 0 40px; margin-bottom: 60px; }
.hero { margin: 0 0 40px; }
.hero img { width: 100%; height: 440px; object-fit: cover; }
.breadcrumb {
  background: var(--hellgrau);
  padding: 13px 20px 14px;
  margin: 0 0 50px;
  font-size: 14px;
  color: var(--warmgrau);
}
.breadcrumb ol { list-style: none; display: inline; margin: 0; padding: 0; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: ">"; margin: 0 6px; }
.breadcrumb a { color: var(--warmgrau); }
.breadcrumb [aria-current="page"] { color: var(--warmgrau); font-weight: 700; }
.breadcrumb__intro { margin-right: 5px; }

h1 { font-size: 40px; line-height: 46px; color: var(--rot); margin: 0 0 30px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: 35px;
  align-items: start;
}
.content > :last-child { margin-bottom: 0; }
.lead { font-size: 20px; line-height: 30px; }

/* Abschnitte der Startseite (Sprungmarken) */
.section { scroll-margin-top: 20px; padding-top: 10px; margin-bottom: 60px; }
.section:last-child { margin-bottom: 0; }
.content h2 { font-size: 28px; line-height: 1.2; color: var(--rot); margin: 40px 0 16px; }
.content .section__title { font-size: 40px; line-height: 46px; color: var(--rot); margin: 0 0 25px; }
.content h3 { font-size: 22px; line-height: 1.2; color: var(--rot); margin: 40px 0 14px; scroll-margin-top: 20px; }
.content h4 {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warmgrau);
  margin: 26px 0 10px;
}
.banner { margin: 0 0 25px; }
.banner img { width: 100%; }
.figure { margin: 0 0 20px; }
.figure img { width: 100%; }
.figure figcaption { font-size: 14px; font-style: italic; margin-top: 6px; }
/* Text und Bild nebeneinander (Layoutvorlage 23.10.2026): Bild abwechselnd rechts (.media)
   und links (.media--bild-links). Im HTML steht der Text immer zuerst, das Bild wird per CSS verschoben. */
.media {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 30px;
  align-items: start;
  margin: 40px 0 20px;
  scroll-margin-top: 20px;
}
.media--bild-links { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.media--bild-links > .figure { order: -1; }
.media > .figure { margin: 0; }
.media__text > :first-child { margin-top: 0; }
.media__text > :last-child { margin-bottom: 0; }
.title-with-logo { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.title-with-logo__text { flex: 1 1 auto; min-width: 0; }
.title-with-logo__text > :last-child { margin-bottom: 0; }
.content .title-with-logo .section__title { margin: 0 0 16px; }
.title-with-logo img { width: 130px; flex: 0 0 130px; }

/* Listen mit roten Quadraten wie auf der alten Seite */
.list { list-style: none; padding: 0; margin: 0 0 16px; }
.list li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--rot);
}

/* Kästen */
.box { border: 1px solid var(--hellgrau); padding: 20px; margin: 0 0 20px; }
.box--grey { background: var(--hellgrau); border-color: var(--hellgrau); }
/* hervorgehobener Kasten über die volle Breite („Welches ist die optimale Drucktechnologie …“) */
.box--highlight { background: var(--hellgrau); border: 0; border-left: 4px solid var(--rot); margin-top: 40px; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.address { font-style: normal; margin: 0 0 16px; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { padding: 3px 0; }
.contact-lines b { display: inline-block; min-width: 68px; font-weight: 400; color: var(--warmgrau); }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rot);
  color: var(--weiss);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  padding: 15px 20px;
  border: 0;
  cursor: pointer;
}
.button svg { width: 14px; height: 14px; flex: 0 0 14px; }
.button:hover { background: var(--rot-dunkel); text-decoration: none; }

/* Karriere-Teaser auf der Startseite */
.teaser {
  background: var(--warmgrau);
  color: var(--weiss);
  padding: 34px 30px 36px;
}
.content .teaser .section__title { color: var(--weiss); font-size: 32px; line-height: 38px; margin-bottom: 16px; }
.teaser p { font-size: 18px; margin-bottom: 24px; }

/* Stellenliste */
.jobs { width: 100%; border-collapse: collapse; margin: 0 0 30px; }
.jobs th, .jobs td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.jobs thead th { background: var(--hellgrau); font-weight: 700; color: var(--warmgrau); border-bottom: 0; }
.jobs td:first-child a { font-weight: 700; }
.facts { margin: 0 0 25px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--hellgrau); padding: 16px 20px; }
.facts dt { font-weight: 700; color: var(--warmgrau); }
.facts dd { margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }
.back-link svg { width: 12px; height: 12px; }

/* Rechtstexte */
.content .legal h2 { font-size: 22px; color: var(--rot); margin: 36px 0 12px; }
.content .legal h3 { font-size: 18px; color: var(--warmgrau); margin: 22px 0 8px; }
.content .legal > :first-child { margin-top: 0; }
.legal p, .legal li { overflow-wrap: anywhere; }
/* Datenschutz: eigene Teile für Facebook-Fanpage und Instagram, mit Trennlinie abgesetzt */
.content .legal h2.legal__teil { font-size: 26px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--linie); }
/* Cookie-Erklärung von Cookiebot (wird beim Laden eingefügt); breite Tabellen scrollen in sich statt die Seite zu verbreitern */
.cookie-erklaerung { margin: 0 0 16px; max-width: 100%; overflow-x: auto; }

/* AGB: Paragraphen mit hängender Nummerierung (1., 2. … und a), b) …) */
.agb__firma { font-weight: 700; }
.content .agb h3 { font-size: 20px; color: var(--rot); margin: 32px 0 12px; }
.clause { display: grid; grid-template-columns: 2em minmax(0, 1fr); margin: 0 0 14px; }
.clause--sub { margin-bottom: 10px; }
.legal .clause__text p { margin-bottom: 10px; }
.clause__text > :last-child { margin-bottom: 0; }
.agb__stand { margin-top: 32px; }

/* ---------- Randspalte ---------- */
.aside { position: sticky; top: 20px; }
.aside > * { margin-bottom: 20px; }
.contact-box img { width: 280px; aspect-ratio: 280 / 190; object-fit: cover; }
.contact-box__inner { border: 1px solid var(--hellgrau); padding: 20px; }
.contact-box__title { display: block; font-size: 20px; line-height: 23px; margin: 0 0 16px; color: var(--warmgrau); font-weight: 400; }
.contact-box__inner p { margin: 0 0 6px; }
.contact-box__inner > :last-child { margin-bottom: 0; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li { border-bottom: 1px solid var(--linie); }
.subnav li:first-child { border-top: 1px solid var(--linie); }
.subnav a { display: block; padding: 13px 20px; color: var(--warmgrau); }
.subnav a:hover { color: var(--rot); text-decoration: none; background: #fafafa; }
.subnav a[aria-current="page"] { color: var(--rot); font-weight: 700; }
.subnav ul ul li, .subnav ul ul li:first-child { border: 0; }
.subnav ul ul a { padding: 0 20px 10px 36px; font-size: 15px; }

/* ---------- Fußbereich ---------- */
.footer__nav {
  position: relative;
  background: var(--warmgrau-30);
  padding: 40px 40px 100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.footer__head { font-size: 16px; line-height: 22px; color: var(--rot); margin: 0 0 6px; }
.footer__col p { margin: 0; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col { color: #5c524b; }
.footer__col a { display: inline-block; padding: 3px 0; color: #5c524b; }
.footer__col a:hover { color: var(--rot); }
.footer__logo { position: absolute; right: 40px; bottom: 36px; width: 190px; }
.footer__logo img { width: 190px; height: auto; }
.footer__bottom {
  background: var(--hellgrau);
  padding: 20px 40px;
  color: var(--warmgrau);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
}
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.footer__bottom li + li { border-left: 1px solid var(--warmgrau-60); }
.footer__bottom li a { display: inline-block; padding: 0 10px; color: var(--warmgrau); }
.footer__bottom li:first-child a { padding-left: 0; }
.footer__bottom a:hover { color: var(--rot); }

/* ---------- Nach oben ---------- */
.to-top {
  position: fixed;
  bottom: 0;
  right: calc(50% - (var(--seite) / 2));
  z-index: 50;
  width: 40px;
  height: 40px;
  background: var(--rot);
  color: var(--weiss);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
.to-top:hover { background: var(--rot-dunkel); }
.to-top svg { width: 16px; height: 16px; }
.no-js .to-top { opacity: 1; visibility: visible; }

/* ==========================================================================
   Kleinere Bildschirme
   ========================================================================== */

/* Fenster schmaler als Seite + Leiste: Seite rückt rechts neben die Leiste */
@media (max-width: 1340px) {
  .page { margin-left: var(--leiste); margin-right: 0; max-width: none; }
  .sidebar { left: 0; }
  .flyout { left: var(--leiste); }
  .to-top { right: 0; }
}

@media (max-width: 1180px) {
  .main-nav a { font-size: 17px; margin-right: 18px; }
}

/* Tablet und Handy: obere Leiste mit Logo und Menü-Knopf, linke Leiste ausgeblendet */
@media (max-width: 1023px) {
  .page { margin-left: 0; }
  .sidebar { display: none; }
  .header { height: 70px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .header__logo { position: static; width: 180px; padding: 6px 0; }
  .header__logo img { width: 180px; }
  .main-nav { display: none; }
  /* ohne JavaScript: Ankerlinks unter dem Logo, sie brechen sauber um */
  .no-js .header { height: auto; min-height: 70px; flex-wrap: wrap; padding-top: 12px; }
  .no-js .main-nav { display: block; flex: 0 0 100%; }
  .no-js .main-nav ul { white-space: normal; }
  .no-js .main-nav a { padding: 11px 0; margin-right: 18px; }
  .header__burger {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    background: var(--rot);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
  }
  .no-js .header__burger { display: none; }
  .header__burger svg { width: 18px; height: 18px; }
  .flyout { left: 0; top: 70px; width: 100%; max-width: none; max-height: calc(100vh - 70px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18); overscroll-behavior: contain; }
  .flyout__close { width: 44px; height: 44px; }
  .menu-list ul a { padding: 11px 0; }
  .main { padding: 0 20px; }
  .hero { margin-left: -20px; margin-right: -20px; }
  .hero img { height: 320px; object-position: 20% 25%; } /* Stele mit Logo und Schriftzug bleibt sichtbar */
  .layout { grid-template-columns: minmax(0, 1fr); }
  /* rechte Spalte (Kontakt und Seitennavigation) rutscht unter den Inhalt */
  .aside { position: static; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
  .aside > * { margin-bottom: 0; }
  .contact-box img { width: 100%; }
  .subnav ul ul a { padding: 12px 20px 12px 36px; font-size: 16px; }
  .footer__nav { padding: 30px 20px 100px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .footer__logo { right: 20px; padding: 5px 0; }
  .footer__bottom { padding: 18px 20px; }

  /* Klickflächen für den Finger: mindestens 44 px hoch */
  a[href^="tel:"]:not(.link-inline), a[href^="mailto:"]:not(.link-inline) { display: inline-block; padding: 11px 0; }
  a.link-inline { display: inline-block; padding: 11px 8px; margin: -11px -8px; } /* Link im Fließtext: größere Fläche (auch für kurze Wörter wie „hier“), gleicher Zeilenabstand */
  .breadcrumb a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .jobs td:first-child a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .back-link { padding: 11px 0; }
  .footer__col a { padding: 11px 0; }
  .footer__bottom li a { padding: 11px 10px; }
  /* Nach oben: fest am Seitenende im Fußbereich statt schwebend – verdeckt so keine Inhalte */
  body { position: relative; }
  .to-top { position: absolute; right: 20px; bottom: 18px; width: 44px; height: 44px; opacity: 1; visibility: visible; transition: none; }
}

/* Handy (bis 768 px): alles einspaltig, Ränder 16 px */
@media (max-width: 768px) {
  /* Seitenränder */
  .header { padding: 0 16px; }
  .main { padding: 0 16px; }
  .hero { margin-left: -16px; margin-right: -16px; }
  .breadcrumb { padding: 12px 16px; margin-bottom: 30px; }

  /* Schrift: Grundschrift bleibt 16 px, Überschriften kleiner, lange Wörter brechen um statt überzustehen */
  body { overflow-wrap: anywhere; }
  h1, .content .section__title { font-size: 30px; line-height: 34px; }
  h1 { margin-bottom: 22px; }
  .content h2 { font-size: 24px; margin-top: 32px; }
  .content h3 { font-size: 20px; margin-top: 32px; }
  .content .legal h2 { font-size: 20px; margin-top: 30px; }
  .content .legal h2.legal__teil { font-size: 22px; margin-top: 40px; padding-top: 22px; }
  .content .agb h3 { font-size: 19px; margin-top: 28px; }
  .content .teaser .section__title { font-size: 26px; line-height: 30px; }
  .lead { font-size: 18px; line-height: 26px; }

  /* Bilder: Banner mit fester Höhe zuschneiden; geteilte Bilder der Stellenanzeigen ganz zeigen */
  .hero img { height: 220px; }
  .banner img { height: 180px; object-fit: cover; }
  .banner--split img { height: auto; }

  /* Mehrspaltige Bereiche untereinander; das Bild rutscht jeweils über den Text */
  .media, .media--bild-links { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .media > .figure { order: -1; max-width: 380px; } /* Bilder sind 380 px breit: nicht hochziehen */
  .box { padding: 16px; }
  .box--highlight { margin-top: 32px; }
  .title-with-logo { flex-direction: column; align-items: flex-start; gap: 12px; }
  .title-with-logo img { width: 110px; flex: none; order: -1; }
  .teaser { padding: 26px 16px 28px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 16px; }
  .facts dd { margin-bottom: 8px; }

  /* Offene Stellen als Kästen statt Tabelle */
  .jobs thead { display: none; }
  .jobs, .jobs tbody, .jobs tr, .jobs td { display: block; width: 100%; }
  .jobs tr { border: 1px solid var(--linie); border-left: 4px solid var(--rot); padding: 4px 16px 14px; margin: 0 0 12px; }
  .jobs td { border: 0; padding: 2px 0; }
  .jobs td:first-child a { display: block; padding: 11px 0; margin: 0; font-size: 18px; line-height: 1.3; }
  .jobs td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; }

  /* Menü über den ganzen Bildschirm */
  .flyout { top: 0; right: 0; bottom: 0; left: 0; width: auto; max-height: none; padding: 16px 16px 32px; box-shadow: none; z-index: 70; }
  .flyout__close { top: 16px; right: 16px; }
  .flyout__title { line-height: 44px; margin-bottom: 8px; }
  .menu-list > li > a { padding: 13px 0; }
  .js.flyout-open, .js.flyout-open body { overflow: hidden; }

  /* Fußbereich untereinander; unten Platz, damit der Nach-oben-Knopf nichts verdeckt */
  .footer__nav { padding: 28px 16px 96px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer__logo { right: 16px; bottom: 30px; }
  .footer__bottom { padding: 16px 16px 76px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__bottom ul { flex-direction: column; }
  .footer__bottom li + li { border-left: 0; }
  .footer__bottom li a, .footer__bottom li:first-child a { display: block; padding: 11px 0; }
  .to-top { right: 16px; bottom: 16px; }
}

/* sehr schmale Handys */
@media (max-width: 400px) {
  .header__logo, .header__logo img { width: 160px; }
  .header__logo { padding: 8px 0; }
  h1, .content .section__title { font-size: 27px; line-height: 31px; }
}

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .sidebar, .flyout, .main-nav, .header__burger, .breadcrumb, .aside, .footer__nav, .to-top, .skip-link { display: none !important; }
  .page { margin: 0; max-width: none; }
  .header { height: auto; padding: 0 0 10mm; }
  .header__logo { position: static; }
  .main { padding: 0; }
  .layout { display: block; }
  a { color: #000; }
  h1, h2, h3 { color: #000; break-after: avoid; }
  .footer__bottom { background: none; padding: 10mm 0 0; }
}
