/* Martens Polsterwerk, Website 2026 */

/* Schrift: Hanken Grotesk (SIL Open Font License, siehe assets/schrift/OFL.txt), lokal, variable Stärke */
@font-face {
  font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../schrift/hanken-grotesk-latin-ext.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: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../schrift/hanken-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tinte: #1c1c1c;
  --text: #4a4a4a;
  --leise: #6b6b6b;
  --linie: #dcdcdc;
  --flaeche: #f4f4f2;
  --weiss: #ffffff;
  --rot: #7B302B;
  --rand: clamp(20px, 4.5vw, 64px);
  --abstand: clamp(88px, 12vw, 180px);
  --abstand-klein: clamp(64px, 8vw, 120px);
  --schrift: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--schrift);
  font-weight: 400;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rot); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
[hidden] { display: none !important; }

.rand { padding-inline: var(--rand); }

.sprungmarke {
  position: absolute; left: var(--rand); top: -60px; z-index: 100;
  background: var(--tinte); color: var(--weiss); padding: 12px 16px;
}
.sprungmarke:focus { top: 12px; color: var(--weiss); }

/* Typografie */

.etikett { font-size: 14px; color: var(--leise); }
.titel-l { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; font-weight: 300; letter-spacing: -.01em; }
.titel-m { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.25; font-weight: 300; }
.titel-s { margin: 0; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.3; font-weight: 400; }
.fliesstext { font-size: 16px; line-height: 1.65; color: var(--text); max-width: 600px; }
.fliesstext + .fliesstext { margin-top: 16px; }
.gross { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.5; font-weight: 300; color: var(--tinte); max-width: 820px; }

.textlink {
  display: inline-block; width: fit-content;
  font-size: 15px; padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.textlink--akzent { font-size: 16px; border-bottom-color: var(--rot); }

/* Kopfzeile */

.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--weiss);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.kopf__innen {
  display: flex; align-items: baseline; justify-content: space-between; gap: 32px;
  padding: 40px var(--rand) 26px;
  transition: padding .35s ease;
}
.kopf__nav { display: flex; align-items: baseline; gap: clamp(18px, 2.4vw, 36px); font-size: 15px; line-height: 1; }
.kopf__nav a[aria-current="page"] { box-shadow: 0 6px 0 -5px currentColor; }
.kopf__nav a:hover, .sprache a:hover { color: inherit; opacity: .65; }
.kopf__rechts { display: flex; align-items: baseline; gap: clamp(24px, 3vw, 44px); }
.sprache { display: flex; gap: 12px; font-size: 14px; line-height: 1; }
.sprache a:not([aria-current]) { opacity: .7; }

/* Logo: Unterkante beider Fassungen = Grundlinie des Schriftzugs */
.kopf__logo { position: relative; display: block; width: 150px; height: 40px; }
.kopf__logo .logo { position: absolute; left: 0; bottom: 0; width: 150px; height: auto; transition: opacity .35s ease; }
.logo--farbig { opacity: 0; }

.kopf.ist-fest { background: var(--weiss); color: var(--tinte); box-shadow: 0 1px 0 #e6e6e6; }
.kopf.ist-fest .kopf__innen { padding-top: 22px; padding-bottom: 16px; }
.kopf.ist-fest .logo--weiss { opacity: 0; }
.kopf.ist-fest .logo--farbig { opacity: 1; }
.kopf.ist-fest .sprache a:not([aria-current]) { opacity: 1; color: var(--leise); }

.kopf__menueknopf {
  display: none; position: relative; width: 44px; height: 44px; margin-left: -10px;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
}
.kopf__menueknopf span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.kopf__menueknopf span:nth-child(1) { top: 15px; }
.kopf__menueknopf span:nth-child(2) { top: 21px; }
.kopf__menueknopf span:nth-child(3) { top: 27px; }
.kopf.menue-offen .kopf__menueknopf span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.kopf.menue-offen .kopf__menueknopf span:nth-child(2) { opacity: 0; }
.kopf.menue-offen .kopf__menueknopf span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sprache--menue { display: none; }

@media (max-width: 1099px) {
  .kopf__innen { align-items: center; padding-top: 18px; padding-bottom: 14px; }
  .kopf.ist-fest .kopf__innen { padding-top: 10px; padding-bottom: 8px; }
  .kopf__menueknopf { display: block; }
  .kopf__rechts { align-items: center; gap: 20px; }
  .kopf__logo, .kopf__logo .logo { width: 120px; }
  .kopf__logo { height: 32px; }
  .kopf__nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    padding: 96px var(--rand) 48px;
    background: var(--weiss); color: var(--tinte);
    font-size: 30px; font-weight: 300;
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s;
  }
  .kopf__nav a[aria-current="page"] { box-shadow: none; color: var(--rot); }
  .kopf.menue-offen .kopf__nav { visibility: visible; opacity: 1; }
  .kopf.menue-offen { color: var(--tinte); }
  .kopf.menue-offen .logo--weiss { opacity: 0; }
  .kopf.menue-offen .logo--farbig { opacity: 1; }
  .kopf.menue-offen .sprache a:not([aria-current]) { color: var(--leise); opacity: 1; }
  /* Sprachen stecken im Menü, oben bleiben nur Symbol und Logo */
  .kopf__rechts .sprache { display: none; }
  .kopf__nav .sprache--menue {
    display: flex; gap: 24px; width: 100%; margin-top: 12px; padding-top: 24px;
    border-top: 1px solid var(--linie); font-size: 16px; font-weight: 400;
  }
  .kopf__nav .sprache--menue a { padding: 8px 0; }
  .kopf__nav .sprache--menue a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
}

/* Hero */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #6e3420; color: var(--weiss); }
.hero--seite { height: 72vh; height: 72svh; min-height: 480px; background: #2f2f2f; }
.hero__bild {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  animation: kamerafahrt 30s ease-in-out infinite alternate;
  transform-origin: 60% 45%;
}
@keyframes kamerafahrt {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.10) translate(-1.5%, -1%); }
}
.hero__schleier { position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
/* Lesbarkeit der Kopfzeile auf hellen Bildern */
.hero__schleier::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 180px; background: linear-gradient(rgba(0, 0, 0, .32), rgba(0, 0, 0, 0)); }
/* und der Titelzeile unten */
.hero__schleier::after { content: ''; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .34)); }
.hero__text { position: absolute; inset: auto 0 clamp(32px, 4.5vw, 64px) 0; }
.hero__zeile { font-size: 14px; opacity: .92; margin-bottom: 16px; }
.hero__titel { margin: 0; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; font-weight: 300; letter-spacing: -.015em; max-width: 16ch; }
@media (prefers-reduced-motion: reduce) { .hero__bild { animation: none; } }

/* Einleitung */

.einleitung {
  padding-top: var(--abstand-klein); padding-bottom: var(--abstand-klein);
  display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center;
}
.einleitung--seite { padding-bottom: 0; }
.einleitung__text { max-width: 860px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.45; font-weight: 300; }

/* Logoband */

.logoband {
  background: var(--flaeche);
  padding: clamp(48px, 5vw, 72px) 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3vw, 40px);
}
.logoband__text { margin: 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; font-weight: 300; text-align: center; padding-inline: var(--rand); max-width: 760px; }
.logoband__spur { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logoband__reihe { display: flex; align-items: center; gap: clamp(72px, 9vw, 128px); padding-right: clamp(72px, 9vw, 128px); width: max-content; animation: laufband 110s linear infinite; }
.logoband__reihe img { height: 40px; width: auto; flex-shrink: 0; image-rendering: pixelated; }
@keyframes laufband { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logoband__reihe { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--rand); gap: 32px 64px; }
  .logoband__reihe .doppelt { display: none; }
}

/* Abschnitte im Raster */

.abschnitt { padding-top: var(--abstand); }
.abschnitt--eng { padding-top: var(--abstand-klein); }
.raster { display: grid; gap: 40px; }
.raster__kopf { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 1024px) {
  .raster { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .raster__kopf { grid-column: span 4; padding-right: 24px; }
  .raster > :last-child { grid-column: 6 / span 7; }
}

/* Leistungsliste */

.liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.liste__zeile {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px 24px;
  padding: 28px 0; border-top: 1px solid var(--linie);
}
.liste__nr { font-size: 14px; color: var(--leise); padding-top: 12px; }
.liste__text { display: flex; flex-direction: column; gap: 10px; }
.liste__titel { font-size: clamp(28px, 2.4vw, 34px); font-weight: 300; }
.liste__beschreibung { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 470px; }
.liste__bild { grid-column: 2; width: 100%; max-width: 320px; aspect-ratio: 10 / 7; object-fit: cover; }
a.liste__zeile:hover .liste__titel { color: var(--rot); }
@media (min-width: 700px) {
  .liste__zeile { grid-template-columns: 32px 1fr 220px; align-items: center; column-gap: 32px; }
  .liste__nr { align-self: start; }
  .liste__bild { grid-column: 3; max-width: none; }
  .liste--text .liste__zeile { grid-template-columns: 32px minmax(0, 1fr); }
}


/* Vollbild */

.vollbild { margin-top: var(--abstand); }
.vollbild img { width: 100%; height: clamp(360px, 53vw, 760px); object-fit: cover; }
.vollbild--flach img { height: clamp(260px, 41vw, 720px); }
figcaption { margin-top: 16px; font-size: 14px; color: var(--leise); }

/* Kennzahlen */

.fakten { margin: 0; border-bottom: 1px solid var(--linie); }
.fakten div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-top: 1px solid var(--linie); }
.fakten dt { font-size: 15px; color: var(--text); }
.fakten dd { margin: 0; font-size: clamp(22px, 2.1vw, 30px); font-weight: 300; text-align: right; white-space: nowrap; }

/* Bild und Text nebeneinander */

.zweiteilig { display: grid; gap: 40px; }
.zweiteilig__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zweiteilig__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 1024px) {
  .zweiteilig { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .zweiteilig__bild { grid-column: span 5; aspect-ratio: 4 / 5; }
  .zweiteilig__text { grid-column: 7 / span 6; padding-top: 24px; }
  .zweiteilig--quer .zweiteilig__bild { grid-column: span 6; aspect-ratio: 3 / 2; }
  .zweiteilig--quer .zweiteilig__text { grid-column: 8 / span 5; padding-top: 0; }
  .zweiteilig--rechts .zweiteilig__bild { grid-column: 8 / span 5; grid-row: 1; }
  .zweiteilig--rechts .zweiteilig__text { grid-column: 1 / span 6; grid-row: 1; }
}

.saeulen { margin: 8px 0 0; width: 100%; border-bottom: 1px solid var(--linie); }
.saeulen div { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-top: 1px solid var(--linie); }
.saeulen dt { font-size: 15px; font-weight: 500; }
.saeulen dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
@media (min-width: 600px) { .saeulen div { grid-template-columns: 140px 1fr; gap: 32px; } }

/* Stationen: kleine Nummer, große Überschrift, darunter Bilder wie auf der alten Seite */

.stationen { display: flex; flex-direction: column; gap: var(--abstand-klein); }
.station { display: grid; gap: 20px; }
.station__kopf { display: grid; grid-template-columns: 32px 1fr; column-gap: 24px; align-items: baseline; }
.station__nr { font-size: 14px; color: var(--leise); }
.station__titel { margin: 0; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.2; font-weight: 300; }
.station__text { padding-left: 56px; }
@media (min-width: 1024px) {
  .station { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; align-items: start; }
  .station__kopf { grid-column: 1 / span 4; column-gap: 32px; }
  .station__text { grid-column: 6 / span 6; padding-left: 0; padding-top: 6px; }
  .station > .collage, .station > .station__bild { grid-column: 1 / -1; }
}
.station__bild { width: 100%; margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 16 / 9; object-fit: cover; }

/* Collage: zwei versetzte Spalten mit unterschiedlich großen Bildern */

.collage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(12px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.collage__spalte { display: flex; flex-direction: column; gap: clamp(12px, 3vw, 40px); align-items: flex-start; }
.collage__spalte:first-child { align-items: flex-end; }
.collage__spalte--tief { padding-top: clamp(40px, 9vw, 150px); }
.collage img { width: 100%; height: auto; }
.collage .b-gross { width: 88%; }
.collage .b-mittel { width: 76%; }
.collage .b-klein { width: 64%; }
.collage .b-hoch { width: 50%; }
.collage .b-hochbreit { width: 76%; }
@media (max-width: 699px) {
  .collage .b-gross, .collage .b-mittel, .collage .b-klein { width: 100%; }
  .collage .b-hoch { width: 72%; }
  .collage .b-hochbreit { width: 100%; }
}

/* Thema: Text und ein Bild nebeneinander, abwechselnd */

.thema { display: grid; gap: 28px; }
.thema__text { display: flex; flex-direction: column; gap: 20px; }
.thema__text .station__text { padding-left: 56px; }
.thema__bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) {
  .thema { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .thema__text { grid-column: 1 / span 4; }
  .thema__bild { grid-column: 6 / span 7; }
  .thema--gespiegelt .thema__text { grid-column: 9 / span 4; grid-row: 1; }
  .thema--gespiegelt .thema__bild { grid-column: 1 / span 7; grid-row: 1; }
}

/* Spannweite: vom Einzelstück bis zur Serie */

.spanne { margin-top: var(--abstand-klein); }
.spanne__pole { display: flex; justify-content: space-between; font-size: 13px; color: var(--leise); margin-bottom: 14px; }
.spanne__punkte { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.spanne__punkte::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--tinte); }
.spanne__punkte li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.3; }
.spanne__punkte li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--weiss); border: 1px solid var(--tinte);
}
.spanne__punkte li:first-child::before, .spanne__punkte li:last-child::before { background: var(--tinte); }
@media (min-width: 900px) {
  .spanne__punkte { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .spanne__punkte::before { left: 5px; right: 5px; top: 5px; bottom: auto; width: auto; height: 1px; }
  .spanne__punkte li { padding: 28px 12px 0 0; font-size: 15px; }
  .spanne__punkte li::before { top: 0; }
  .spanne__punkte li:last-child { text-align: right; padding-right: 0; }
  .spanne__punkte li:last-child::before { left: auto; right: 0; }
}

/* senkrecht neben einem Bild: roter Ball läuft beim Scrollen die Stufen entlang */
.spanne--senkrecht { position: relative; margin-top: 0; font-size: clamp(20px, 1.8vw, 26px); }
.spanne--senkrecht .spanne__punkte { grid-template-columns: none; gap: 22px; }
.spanne--senkrecht .spanne__punkte::before { left: 5px; right: auto; top: .65em; bottom: .65em; width: 1px; height: auto; }
.spanne--senkrecht .spanne__punkte li { padding: 0 0 0 32px; font-size: inherit; line-height: 1.3; font-weight: 300; text-align: left; transition: color .25s ease; }
.spanne--senkrecht .spanne__punkte li::before,
.spanne--senkrecht .spanne__punkte li:first-child::before,
.spanne--senkrecht .spanne__punkte li:last-child::before { left: 0; right: auto; top: .65em; margin-top: -5.5px; background: var(--weiss); }
.spanne--senkrecht .spanne__punkte li:last-child { text-align: left; padding-right: 0; }
.spanne--senkrecht .spanne__punkte li.ist-aktiv { color: var(--rot); }
.spanne__ball {
  position: absolute; left: -1px; top: .65em; width: 13px; height: 13px; margin-top: -6.5px;
  border-radius: 50%; background: var(--rot); pointer-events: none; transition: top .12s linear;
}

/* Geschichte */

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

/* Karriere */

.karriere { margin-top: var(--abstand); display: grid; }
.karriere__text {
  background: var(--flaeche); padding: clamp(40px, 6vw, 88px) var(--rand);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.karriere__inhalt { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.karriere__bild { width: 100%; height: 100%; min-height: 320px; max-height: 600px; object-fit: cover; }
@media (min-width: 900px) {
  .karriere { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); height: 600px; }
  .karriere__bild { max-height: none; }
}

.stellen { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.stelle { border-top: 1px solid var(--linie); }
.stelle summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  font-size: clamp(22px, 1.9vw, 28px); font-weight: 300;
}
.stelle summary::-webkit-details-marker { display: none; }
.stelle summary::after { content: '+'; font-size: 24px; color: var(--leise); }
.stelle[open] summary::after { content: '–'; }
.stelle__inhalt { padding: 0 0 32px; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.stelle__art { font-size: 14px; color: var(--leise); }
.stelle__inhalt h4 { margin: 12px 0 0; font-size: 15px; font-weight: 500; }

/* Stellenanzeigen: eigene Sprachwahl, gleicher Stil wie oben */
.stellen-sprachen { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.stellen-sprachen[hidden] { display: none; }
.stellen-sprachen__text { font-size: 14px; color: var(--leise); }
.stellen-sprachen__wahl { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: -8px; }
.stellen-sprachen__wahl button {
  min-width: 40px; min-height: 40px; padding: 0 8px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; line-height: 1; color: var(--leise);
}
.stellen-sprachen__wahl button:hover { color: var(--tinte); }
.stellen-sprachen__wahl button[aria-pressed="true"] { color: var(--tinte); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.stellen-hinweis { margin-bottom: 8px; }
.stellen-gruppe { margin: 40px 0 12px; font-size: 14px; font-weight: 400; color: var(--leise); }
.stellen-hinweis + .stellen-gruppe { margin-top: 24px; }
.stelle__inhalt ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.6; color: var(--text); }
.stelle__inhalt li + li { margin-top: 4px; }

/* Stellenanzeige als eigene Seite */
.stellenseite { max-width: 760px; padding-top: calc(var(--abstand-klein) + 60px); padding-bottom: var(--abstand); }
.stellenseite__zurueck { margin-bottom: 40px; font-size: 15px; }
.stellenseite__titel { margin: 10px 0 12px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.15; font-weight: 300; }
.stellenseite__inhalt { margin-top: 28px; max-width: none; gap: 16px; }
.stellenseite__zwischentitel { margin: 16px 0 0; font-size: 16px; font-weight: 500; }
.stellenseite__sprachen { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie); }
.stellen-sprachen__wahl a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 8px; font-size: 14px; color: var(--leise); }
.stellen-sprachen__wahl a[aria-current] { color: var(--tinte); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.knopf {
  display: inline-block; align-self: flex-start; margin-top: 16px; padding: 14px 22px;
  background: var(--rot); color: var(--weiss); font-size: 15px; line-height: 1.3;
}
.knopf:hover { background: var(--tinte); color: var(--weiss); }
.stelle__seite { font-size: 14px; color: var(--leise); text-decoration: underline; text-underline-offset: 4px; }

/* Kontakt */

.kontakt { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; padding-bottom: var(--abstand); }
.kontakt__titel { margin: 0; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.2; font-weight: 300; }
.kontakt__text { max-width: 560px; }
.kontakt__wege { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }

.kontaktseite { display: grid; gap: 48px; padding-bottom: var(--abstand); }
.kontaktseite__intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.kontaktseite__daten { display: flex; flex-direction: column; gap: 28px; }
.kontaktdaten { margin: 0; border-bottom: 1px solid var(--linie); }
.kontaktdaten div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--linie); font-size: 16px; }
.kontaktdaten dt { color: var(--leise); }
.kontaktdaten dd { margin: 0; text-align: right; }
@media (min-width: 1024px) {
  .kontaktseite { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .kontaktseite__intro { grid-column: 1 / span 6; }
  .kontaktseite__daten { grid-column: 8 / span 5; padding-top: 34px; }
}
.adressblock { font-size: 16px; line-height: 1.8; color: var(--text); font-style: normal; }
.personen { display: grid; gap: 24px; }
@media (min-width: 700px) { .personen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--text); }
.person strong { font-weight: 400; font-size: 18px; color: var(--tinte); }

/* Rechtstexte */

.rechtstext { max-width: 760px; padding-top: calc(var(--abstand-klein) + 60px); padding-bottom: var(--abstand); }
.rechtstext h1 { margin: 0 0 40px; font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; }
.rechtstext h2 { margin: 36px 0 10px; font-size: 18px; font-weight: 500; }
.rechtstext p { font-size: 16px; line-height: 1.7; color: var(--text); }
.rechtstext p + p { margin-top: 12px; }
.seite-ohne-hero .kopf { background: var(--weiss); color: var(--tinte); box-shadow: 0 1px 0 #e6e6e6; }
.seite-ohne-hero .kopf .logo--weiss { opacity: 0; }
.seite-ohne-hero .kopf .logo--farbig { opacity: 1; }
.seite-ohne-hero .sprache a:not([aria-current]) { opacity: 1; color: var(--leise); }

/* Schnellkontakt: kleine Linse mit Telefon und E-Mail */

.schnell {
  position: fixed; right: var(--rand); bottom: clamp(20px, 3vw, 36px); z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: var(--rot);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.schnell.ist-sichtbar { opacity: 1; visibility: visible; transform: none; }
.schnell__weg {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--weiss);
  transition: background-color .2s ease, color .2s ease;
}
.schnell__weg:hover, .schnell__weg:focus-visible { background: var(--weiss); color: var(--rot); }
.schnell__weg:focus-visible { outline-color: var(--weiss); }
.schnell__text {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  white-space: nowrap; font-size: 14px; color: var(--tinte);
  background: var(--weiss); padding: 8px 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.schnell__weg:hover .schnell__text, .schnell__weg:focus-visible .schnell__text { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .schnell__text { display: none; } }

/* Bildausschnitt-Werkzeug (nur mit ?ausschnitt) */

.ausschnitt-modus main img[data-bild] { cursor: move; outline: 2px dashed rgba(123, 48, 43, .55); outline-offset: -2px; touch-action: none; }
.ausschnitt-panel {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: 320px;
  background: var(--weiss); padding: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
  font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px;
}
.ausschnitt-panel textarea { width: 100%; font: 12px/1.5 ui-monospace, Menlo, monospace; border: 1px solid var(--linie); padding: 8px; resize: vertical; }
.ausschnitt-panel__knoepfe { display: flex; gap: 8px; }
.ausschnitt-panel button { font: inherit; padding: 8px 12px; border: 1px solid var(--tinte); background: var(--weiss); cursor: pointer; }
.ausschnitt-panel button[data-kopieren] { background: var(--tinte); color: var(--weiss); }

/* Fußzeile */

.fuss {
  display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px;
  border-top: 1px solid #ececec; font-size: 14px; line-height: 1.7; color: var(--leise);
}
.fuss__logo { width: 120px; height: auto; justify-self: end; }
.fuss__recht { display: flex; gap: 24px; }
@media (min-width: 900px) { .fuss { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
/* Telefon und Tablet: Fußzeile rechtsbündig, wie das Logo */
@media (max-width: 899px) {
  .fuss { justify-items: end; text-align: right; }
  .fuss__recht { justify-content: flex-end; }
}

/* Telefon: eigene Darstellung */

@media (max-width: 699px) {
  :root { --abstand: 72px; --abstand-klein: 52px; }

  /* Kopfbild: Hochformat-Ausschnitt ist schon auf das Motiv zentriert */
  .hero__bild { object-position: 50% 50%; transform-origin: 50% 50%; }
  .hero__titel { font-size: 38px; }

  /* Einleitung linksbündig, etwas kleiner */
  .einleitung { align-items: flex-start; text-align: left; }
  .einleitung__text { font-size: 21px; }

  /* Wischbare Reihen: Leistungsspektrum als Karten, Collagen als Bildreihe */
  .liste:not(.liste--text), .collage {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand);
    margin-inline: calc(var(--rand) * -1); padding: 0 var(--rand) 4px;
    border-bottom: 0; scrollbar-width: none;
  }
  .liste:not(.liste--text)::-webkit-scrollbar, .collage::-webkit-scrollbar { display: none; }
  .liste:not(.liste--text) > li { flex: 0 0 84%; scroll-snap-align: start; }
  .liste:not(.liste--text) .liste__zeile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 0; border-top: 0; }
  .liste:not(.liste--text) .liste__bild { order: -1; max-width: none; aspect-ratio: 4 / 3; margin-bottom: 6px; }
  .liste:not(.liste--text) .liste__nr { padding-top: 0; }
  .liste__titel { font-size: 26px; }

  .collage { margin-top: 28px; }
  .collage__spalte { display: contents; }
  .collage img, .collage .b-gross, .collage .b-mittel, .collage .b-klein, .collage .b-hoch, .collage .b-hochbreit {
    flex: 0 0 auto; width: auto; height: 280px; max-width: 84vw; object-fit: cover; scroll-snap-align: start;
  }

  /* Stationen und Themen: Text über volle Breite, Bild zuerst */
  .station__kopf { column-gap: 16px; }
  .station__text, .thema__text .station__text { padding-left: 0; }
  .station__titel { font-size: 26px; }
  .station__bild { aspect-ratio: 4 / 3; margin-top: 28px; }
  .thema { gap: 22px; }
  .thema__bild { order: -1; aspect-ratio: 4 / 3 !important; }

  /* Kennzahlen als Kacheln */
  .fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-bottom: 0; }
  .fakten div { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 16px 0 20px; }
  .fakten dt { font-size: 13px; line-height: 1.4; }
  .fakten dd { text-align: left; font-size: 28px; white-space: normal; }

  .vollbild img { height: 300px; }
  .vollbild--flach img { height: 220px; }
  .karriere__bild { min-height: 0; height: 300px; }
  .kontakt__titel { font-size: 28px; }
  .spanne--senkrecht .spanne__punkte { gap: 16px; }
  .fuss { gap: 20px; }
}
