/* ============================================================
   Salierpraxis — Zahnärzte Düsseldorf-Oberkassel & Kempen
   Gemeinsames Stylesheet (Design-Variante „Behutsames Update")
   ============================================================ */

/* Farben fuer das Barrierefreiheits-Widget (uebernimmt sie ueber diese Namen) */
:root {
  --navy: #2c3136;
  --navy-ink: #1d2124;
  --coral: #3a3f44;
}

/* Sprunglink fuer Tastatur und Screenreader */
.sprunglink {
  position: absolute; left: -9999px; top: 0; z-index: 2147482000;
  background: #2c3136; color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; font-size: 15px;
}
.sprunglink:focus { left: 0; }

/* Bewertungslink auf einer Behandlerkarte */
.bkarte .bewertung {
  display: inline-block; margin-top: 8px; font-size: 13px; color: #666d73;
  border-bottom: 1px solid rgba(102,109,115,.45); padding-bottom: 1px;
}
.bkarte .bewertung:hover { color: #2c3136; border-bottom-color: #2c3136; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
#team { scroll-margin-top: 24px; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #34383c;
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Topbar ---------- */
.topbar { background: #2c3136; color: #cdd2d6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a:hover strong { text-decoration: underline; }

/* ---------- Header / Navigation ---------- */
header { border-bottom: 1px solid #e1e4e6; background: #fff; position: relative; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.logo { line-height: 1.1; flex-shrink: 0; }
.logo .sub { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: #666d73; font-weight: 600; }
.logo .main { font-size: 30px; font-weight: 300; color: #636a70; letter-spacing: 0.5px; }
.logo .main b { font-weight: 600; color: #45494e; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: #535a60; }
.nav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #2c3136; }
.nav a.active { color: #2c3136; border-bottom-color: #2c3136; }
.nav .btn { margin-left: 6px; }
.nav .nav-btn { display: none; }

.btn { display: inline-block; padding: 13px 30px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-solid { background: #3a3f44; color: #fff; }
.btn-solid:hover { background: #24292d; }
.btn-line { border: 1px solid #3a3f44; color: #3a3f44; background: transparent; }
.btn-line:hover { background: #f2f3f4; }
header .btn { padding: 11px 24px; }

/* Hamburger (nur mobil sichtbar) */
.nav-toggle {
  display: none; background: none; border: 1px solid #e1e4e6; padding: 10px 12px;
  cursor: pointer; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #45494e; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Typografie ---------- */
.kicker { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-bottom: 16px; }
h1 { font-size: 40px; font-weight: 300; line-height: 1.25; color: #2c3136; }
h1 b { font-weight: 600; }
h2 { font-size: 30px; font-weight: 300; color: #2c3136; line-height: 1.3; }
h2 b { font-weight: 600; }

section { padding: 75px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.sec-head p { color: #636a70; margin-top: 14px; }

/* ---------- Hero (Startseite) ---------- */
.hero { background: #f2f3f4; }
.hero .wrap { display: flex; align-items: center; gap: 60px; padding-top: 70px; padding-bottom: 70px; }
.hero .txt { flex: 1; }
.hero h1 { font-size: 42px; margin-bottom: 20px; }
.hero p { color: #636a70; margin-bottom: 30px; max-width: 480px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero img { width: 46%; max-width: 560px; height: 400px; object-fit: cover; display: block; }

/* ---------- Info-Strip ---------- */
.strip { background: #fff; border-bottom: 1px solid #e1e4e6; }
.strip .wrap { display: flex; padding-top: 28px; padding-bottom: 28px; }
.strip .cell { flex: 1; padding: 0 30px; border-left: 1px solid #e1e4e6; }
.strip .cell:first-child { border-left: none; padding-left: 0; }
.strip h4, .strip [data-h="4"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 6px; }
.strip p { font-size: 14px; color: #636a70; }
.strip p strong { color: #34383c; }

/* ---------- Leistungs-Teaser (Startseite, Rahmenraster) ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e1e4e6; border-left: 1px solid #e1e4e6; }
.teaser-grid .item { border-right: 1px solid #e1e4e6; border-bottom: 1px solid #e1e4e6; padding: 30px 28px; }
.teaser-grid h3, .teaser-grid [data-h="3"] { font-size: 17px; font-weight: 600; color: #2c3136; margin-bottom: 8px; }
.teaser-grid p { font-size: 14px; color: #636a70; }
.center-btn { text-align: center; margin-top: 44px; }

.more { color: #666d73; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; display: inline-block; margin-top: 12px; }
.more:hover { text-decoration: underline; }

/* ---------- Leistungs-Kacheln (Übersicht, Bildkarten) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards-grid .item { border: 1px solid #e1e4e6; background: #fff; display: flex; flex-direction: column; }
.cards-grid .item > img { width: 100%; height: 190px; object-fit: cover; display: block; }
.cards-grid .inner { padding: 24px 26px 28px; }
.cards-grid .num { font-size: 12px; color: #a7adb2; letter-spacing: 2px; font-weight: 600; margin-bottom: 8px; }
.cards-grid h3, .cards-grid [data-h="3"] { font-size: 17px; font-weight: 600; color: #2c3136; margin-bottom: 8px; }
.cards-grid p { font-size: 14px; color: #636a70; }

/* ---------- Team (Startseite) ---------- */
.team { background: #f2f3f4; }
.team .wrap { display: flex; gap: 60px; align-items: center; }
.team img { width: 45%; max-width: 520px; height: 380px; object-fit: cover; display: block; }
.team .txt { flex: 1; }
.team ul { list-style: none; margin-top: 24px; border-top: 1px solid #d5d9dc; }
.team li { padding: 13px 0; border-bottom: 1px solid #d5d9dc; font-size: 15px; display: flex; flex-wrap: wrap; gap: 2px 16px; }
.team li strong { color: #2c3136; flex: 0 0 280px; }
.team li span { color: #636a70; font-size: 14px; flex: 1 1 160px; }
.tv { margin-top: 22px; font-size: 14px; color: #636a70; border-left: 3px solid #c4c9cd; padding-left: 16px; }

/* ---------- Behandler-Karten (Startseite, Portraits) ---------- */
.team .wrap.behandler {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: 46px;
  /* stretch statt center: alle Karten einer Reihe gleich hoch, auch wenn
     eine davon eine Zeile mehr Text hat. */
  align-items: stretch;
}
.bkarte { display: flex; flex-direction: column; }
.bkarte { background: #fff; border: 1px solid #e1e4e6; }
.bkarte picture, .bkarte img, .bkarte .kein-foto {
  display: block; width: 100%;
}
/* Hochformat 4:5 wie die Dateien selbst - auch auf dem Handy, damit
   keine Koepfe abgeschnitten werden. */
.bkarte img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.bkarte .kein-foto {
  aspect-ratio: 4 / 5; background: #f2f3f4; display: grid; place-items: center;
  border-bottom: 1px solid #e1e4e6;
}
.bkarte .kein-foto span {
  width: 104px; height: 104px; border-radius: 50%; background: #d5d9dc; color: #5e666c;
  display: grid; place-items: center; font-size: 30px; font-weight: 600; letter-spacing: 1px;
}
.bkarte figcaption { padding: 20px 22px 22px; }
.bkarte strong { display: block; font-size: 16px; color: #2c3136; margin-bottom: 6px; }
.bkarte .rolle { display: block; font-size: 13px; color: #666d73; font-weight: 600; margin-bottom: 6px; }
.bkarte .schwerpunkt { display: block; font-size: 14px; color: #636a70; line-height: 1.55; }
.bkarte .folgt {
  display: inline-block; margin-top: 12px; font-size: 12px; color: #5e666c;
  background: #f2f3f4; border: 1px solid #e1e4e6; padding: 3px 9px;
}
/* Link "Bewertungen auf Jameda" und "Foto folgt" sitzen in jeder Karte unten,
   damit sie in einer Reihe auf einer Linie stehen. Mindestabstand zum Text bleibt. */
.bkarte figcaption { display: flex; flex-direction: column; flex: 1 1 auto; }
.bkarte .bewertung, .bkarte .folgt { margin-top: auto; align-self: flex-start; }
.bkarte .schwerpunkt:has(+ .bewertung) { margin-bottom: 8px; }
.bkarte .schwerpunkt:has(+ .folgt) { margin-bottom: 12px; }

/* ---------- Tiefe: sanfter Schatten fuer alle Kaesten ----------
   Zwei Lagen: eine feine Kante direkt am Rand, eine weiche Wolke darunter.
   Bewusst zurueckhaltend - die Seite soll ruhig bleiben, nur nicht flach. */
.cards-grid .item,
.bkarte,
.orte .card,
.fakten .fkarte,
.info-cards .icard,
.notfall-cards .ncard,
.steps .step,
.side .box {
  box-shadow: 0 1px 2px rgba(44, 49, 54, .04), 0 14px 28px -20px rgba(44, 49, 54, .30);
}

/* Die Leistungs-Kacheln teilen sich Trennlinien - dort wirkt ein Schatten je
   Kachel unruhig. Stattdessen liegt der Schatten auf dem ganzen Raster. */
.teaser-grid {
  box-shadow: 0 1px 2px rgba(44, 49, 54, .04), 0 18px 34px -24px rgba(44, 49, 54, .32);
  background: #fff;
}

/* Karten, die anklickbar sind, heben sich beim Darauffahren leicht an. */
.cards-grid .item, .orte .card, .bkarte {
  transition: box-shadow .2s ease, transform .2s ease;
}
.cards-grid .item:hover, .orte .card:hover {
  box-shadow: 0 2px 4px rgba(44, 49, 54, .05), 0 20px 38px -22px rgba(44, 49, 54, .38);
  transform: translateY(-2px);
}

/* ---------- Standorte (Karten) ---------- */
.orte .cols { display: flex; gap: 40px; }
.orte .card { flex: 1; border: 1px solid #e1e4e6; }
.orte .card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.orte .inner { padding: 28px 30px; }
.orte h3, .orte [data-h="3"] { font-size: 20px; font-weight: 600; color: #2c3136; margin-bottom: 10px; }
.orte p { font-size: 14.5px; color: #636a70; margin-bottom: 6px; }
.orte p strong { color: #34383c; }
.orte .tel { font-size: 18px; color: #2c3136; font-weight: 600; margin: 12px 0; }

/* ---------- CTA-Banner ---------- */
.cta { background: #2c3136; color: #fff; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #b3b9be; margin-bottom: 28px; }
.cta .btn-solid { background: #fff; color: #2c3136; }
.cta .btn-solid:hover { background: #f2f3f4; }
.cta a[href^="tel:"] { color: #fff; font-weight: 600; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.pagehead { background: #f2f3f4; }
.pagehead .wrap { padding-top: 60px; padding-bottom: 60px; display: flex; align-items: center; gap: 60px; }
.pagehead .txt { flex: 1; }
.pagehead p.lead { color: #636a70; margin-top: 16px; max-width: 560px; }
.pagehead img { width: 40%; max-width: 480px; height: 320px; object-fit: cover; display: block; }
.pagehead .actions { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: #8c9297; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.crumbs b { color: #666d73; font-weight: 600; }
.crumbs a:hover { color: #2c3136; }

/* ---------- Fakten-Karten (Leistungs-Detailseiten) ---------- */
.fakten { padding: 0; }
.fakten .wrap { display: flex; gap: 30px; padding-top: 50px; padding-bottom: 0; }
.fakten .fkarte { flex: 1; border: 1px solid #e1e4e6; border-top: 3px solid #c4c9cd; padding: 26px 28px; background: #fff; }
.fakten h3, .fakten [data-h="3"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 8px; font-weight: 600; }
.fakten p { font-size: 14.5px; color: #535a60; }

/* ---------- Zweispaltiger Inhalt ---------- */
.two { display: flex; gap: 70px; }
.two .main { flex: 1.6; min-width: 0; }
.two .side { flex: 1; min-width: 0; }
.two .main p { color: #535a60; margin-bottom: 18px; }
.two .main h2 { margin-bottom: 18px; }
.two .main h3, .two .main [data-h="3"] { font-size: 19px; font-weight: 600; color: #2c3136; margin: 30px 0 12px; }
.side .box { background: #f2f3f4; padding: 30px; margin-bottom: 24px; }
.side h4, .side [data-h="4"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 14px; }
.side p { font-size: 14.5px; color: #535a60; margin-bottom: 10px; }
.side .tel { font-size: 19px; font-weight: 600; color: #2c3136; }
.side img { width: 100%; height: 240px; object-fit: cover; display: block; margin-bottom: 24px; }
.fakt { border-left: 3px solid #c4c9cd; padding-left: 16px; margin: 24px 0; color: #535a60; font-size: 15px; }

/* ---------- Ablauf-Schritte ---------- */
.ablauf { background: #f2f3f4; }
.steps { display: flex; gap: 2px; }
.steps .step { flex: 1; background: #fff; padding: 28px 24px; border-top: 3px solid #c4c9cd; }
.steps .n { font-size: 26px; font-weight: 300; color: #a7adb2; margin-bottom: 10px; }
.steps h3, .steps [data-h="3"] { font-size: 15.5px; font-weight: 600; color: #2c3136; margin-bottom: 8px; }
.steps p { font-size: 13.5px; color: #636a70; }

/* ---------- Standort-Detailseiten ---------- */
.info-cards { display: flex; gap: 30px; }
.info-cards .icard { flex: 1; border: 1px solid #e1e4e6; border-top: 3px solid #c4c9cd; padding: 28px 30px; background: #fff; }
.info-cards h3, .info-cards [data-h="3"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 12px; font-weight: 600; }
.info-cards p { font-size: 15px; color: #535a60; margin-bottom: 6px; }
.info-cards p strong { color: #2c3136; }
.info-cards .tel { font-size: 20px; color: #2c3136; font-weight: 600; margin: 8px 0; display: inline-block; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; color: #535a60; }
.hours td { padding: 8px 0; border-bottom: 1px solid #e1e4e6; }
.hours td:last-child { text-align: right; color: #2c3136; font-weight: 600; white-space: nowrap; }
.hours tr:last-child td { border-bottom: none; }

/* ---------- Kontakt / Formular ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #535a60; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d5d9dc; background: #fff;
  font-family: inherit; font-size: 15px; color: #34383c;
}
.field input:focus, .field textarea:focus { outline: 2px solid #3a3f44; outline-offset: -1px; }
.field textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #535a60; }
.check input { margin-top: 4px; }
.form-note { font-size: 13.5px; color: #8c9297; margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-status { font-size: 14.5px; padding: 12px 16px; background: #f2f3f4; border-left: 3px solid #c4c9cd; color: #34383c; }
.formular-status.ok { border-left-color: #3a3f44; }
.formular-status.fehler { border-left-color: #a33a3a; color: #7a2626; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Textseiten (Impressum, Datenschutz, Notdienst) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3, .prose [data-h="3"] { font-size: 18px; font-weight: 600; color: #2c3136; margin: 26px 0 10px; }
.prose p { color: #535a60; margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; color: #535a60; }
.prose li { margin-bottom: 6px; }
.prose a { color: #666d73; }
.prose a:hover { text-decoration: underline; }
.hinweis-box { background: #f2f3f4; border-left: 3px solid #c4c9cd; padding: 22px 26px; margin: 24px 0; }
.hinweis-box p { margin-bottom: 8px; }
.hinweis-box p:last-child { margin-bottom: 0; }

/* Notfall-Karten */
.notfall-cards { display: flex; gap: 30px; margin: 30px 0; }
.notfall-cards .ncard { flex: 1; border: 1px solid #e1e4e6; border-top: 3px solid #c4c9cd; padding: 26px 28px; }
.notfall-cards h3, .notfall-cards [data-h="3"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 10px; font-weight: 600; }
.notfall-cards .tel { font-size: 20px; color: #2c3136; font-weight: 600; display: inline-block; margin: 4px 0; }
.notfall-cards p { font-size: 14.5px; color: #535a60; margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer { background: #fff; border-top: 1px solid #e1e4e6; padding: 50px 0 0; font-size: 14px; color: #636a70; }
footer .cols { display: flex; gap: 50px; padding-bottom: 40px; }
footer .col { flex: 1; }
footer h4, footer [data-h="4"] { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #2c3136; margin-bottom: 14px; }
footer p { margin-bottom: 6px; }
footer a:hover { color: #2c3136; }
.foot-base { border-top: 1px solid #e1e4e6; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8c9297; }
.foot-base a { color: #8c9297; }
.foot-base a:hover { color: #2c3136; }

/* ---------- 404 ---------- */
.err { text-align: center; padding: 110px 0; }
.err .code { font-size: 90px; font-weight: 300; color: #a7adb2; line-height: 1; margin-bottom: 18px; }
.err p { color: #636a70; margin: 16px auto 30px; max-width: 460px; }

/* ============================================================
   Responsiv
   ============================================================ */

/* Zwischen Handy und grossem Bildschirm wurde der Kopf zu breit und die
   ganze Seite liess sich seitlich verschieben. Hier wird er enger gesetzt.
   Seit dem Menuepunkt „Team" gilt das bis 1320 px. */
@media (max-width: 1320px) {
  header .wrap { gap: 16px; }
  .nav { gap: 18px; font-size: 13px; letter-spacing: 1px; }
  header .btn { padding: 10px 16px; font-size: 12px; letter-spacing: 1px; }
  .logo .main { font-size: 26px; }
}
@media (max-width: 1040px) {
  /* Der Knopf im Kopf passt nicht mehr daneben. Der Menuepunkt Kontakt
     bleibt, ab 768 px uebernimmt das Klappmenue mit eigenem Knopf. */
  .header-cta { display: none; }
  .nav { gap: 12px; letter-spacing: .4px; }
}

@media (max-width: 1024px) {
  h1, .hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  section { padding: 55px 0; }

  .hero .wrap, .pagehead .wrap { gap: 36px; }
  .hero img { height: 320px; }
  .pagehead img { height: 260px; }

  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team .wrap.behandler { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .team .wrap { flex-direction: column; align-items: stretch; }
  .team img { width: 100%; max-width: none; height: 320px; }
  .team li strong { flex-basis: 100%; }

  .two { gap: 44px; }
  .steps { flex-wrap: wrap; }
  .steps .step { flex: 1 1 calc(33.333% - 2px); min-width: 200px; }
  .fakten .wrap { flex-wrap: wrap; }
  .fakten .fkarte { flex: 1 1 260px; }
}

@media (max-width: 768px) {
  /* Topbar reduziert: nur Telefonnummern */
  .topbar .wrap { justify-content: center; }
  .topbar .tb-mail { display: none; }

  /* Mobile Navigation */
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid #e1e4e6; box-shadow: 0 8px 20px rgba(44, 49, 54,.08);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 15px 24px; border-bottom: 1px solid #f2f3f4; }
  .nav a.active { border-bottom: 1px solid #f2f3f4; background: #f2f3f4; }
  .nav .btn { margin: 14px 24px 18px; width: auto; border-bottom: none; padding: 12px 26px; }
  .nav .nav-btn { display: inline-block; }
  .header-cta { display: none; }

  .hero .wrap, .pagehead .wrap, .team .wrap { flex-direction: column; align-items: stretch; }
  .hero img, .pagehead img { width: 100%; max-width: none; height: 280px; }
  .hero p { max-width: none; }

  .strip .wrap { flex-direction: column; gap: 18px; }
  .strip .cell { border-left: none; padding: 0; }

  .orte .cols, .info-cards, .notfall-cards { flex-direction: column; }
  .two { flex-direction: column; }
  .steps .step { flex: 1 1 calc(50% - 2px); min-width: 0; }

  footer .cols { flex-wrap: wrap; gap: 28px; }
  footer .col { flex: 1 1 calc(50% - 28px); }
  .foot-base { flex-direction: column; text-align: center; }

  .form-grid { grid-template-columns: 1fr; }
  .team .wrap.behandler { gap: 16px; margin-top: 34px; }
  .bkarte figcaption { padding: 16px 16px 18px; }
  .bkarte strong { font-size: 15px; }
}

@media (max-width: 480px) {
  h1, .hero h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  section { padding: 44px 0; }
  .wrap { padding-left: 18px; padding-right: 18px; }

  .topbar { font-size: 12px; }
  .logo .main { font-size: 25px; }
  .team .wrap.behandler { grid-template-columns: 1fr; }
  .bkarte img, .bkarte .kein-foto { aspect-ratio: 4 / 3.4; }

  .teaser-grid, .cards-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 2px; }
  .hero img, .pagehead img { height: 220px; }
  .hero .actions .btn { width: 100%; text-align: center; }

  footer .col { flex: 1 1 100%; }
  .err .code { font-size: 64px; }
}

/* === Leistungs-Detailseiten: Erweiterungen === */

/* ---------- „Für wen ist das sinnvoll?" — Häkchen-Liste ---------- */
.two .main h2#fuer-wen { margin-top: 42px; }
.checkliste { list-style: none; margin: 0 0 20px; padding: 0; }
.checkliste li {
  position: relative; padding: 0 0 0 34px; margin-bottom: 12px;
  color: #535a60; font-size: 15.5px;
}
.checkliste li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 13px; height: 7px; border-left: 2px solid #666d73; border-bottom: 2px solid #666d73;
  transform: rotate(-45deg);
}
.two .main p.hinweis {
  background: #f2f3f4; border-left: 3px solid #c4c9cd;
  padding: 18px 22px; font-size: 15px; color: #535a60; margin-bottom: 0;
}
.two .main p.hinweis + p.hinweis { margin-top: 12px; }

/* ---------- Dauer-Label im Schritte-Abschnitt ---------- */
.ablauf .dauer {
  margin-top: 26px; text-align: center; font-size: 14.5px; color: #535a60;
}
.ablauf .dauer .dauer-label {
  display: inline-block; margin-right: 10px; padding: 4px 12px;
  background: #2c3136; color: #fff; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; vertical-align: 2px;
}

/* ---------- „Ihre Vorteile" — zweispaltiges Kartenraster ---------- */
.vorteile { padding-bottom: 60px; }
.vorteile .sec-head { margin-bottom: 40px; }
.vorteile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vorteile-grid .vkarte {
  border: 1px solid #e1e4e6; border-left: 3px solid #c4c9cd;
  background: #fff; padding: 22px 26px; display: flex; align-items: center;
}
.vorteile-grid .vkarte p { font-size: 15px; color: #535a60; }

/* ---------- „Kosten und Krankenkasse" ---------- */
.kosten { border-top: 1px solid #e1e4e6; padding-top: 65px; }
.kosten-inner { display: flex; gap: 60px; align-items: flex-start; }
.kosten-head { flex: 0 0 300px; }
.kosten-head .kicker { margin-bottom: 12px; }
.kosten-box { flex: 1; background: #f2f3f4; padding: 32px 36px; }
.kosten-box p { color: #535a60; margin-bottom: 14px; }
.kosten-box p:last-child { margin-bottom: 0; }
.kosten-box .kosten-note {
  font-size: 13.5px; color: #636a70; border-top: 1px solid #d5d9dc;
  padding-top: 14px; margin-top: 18px;
}

/* ---------- „Häufige Fragen" — Accordion ohne JavaScript ---------- */
.faq { background: #f2f3f4; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list details {
  background: #fff; border: 1px solid #e1e4e6; margin-bottom: 12px;
}
.faq-list details[open] { border-color: #cbd0d4; }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 62px 20px 26px; font-size: 16.5px; font-weight: 600; color: #2c3136;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary::after {
  content: ""; position: absolute; right: 28px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid #666d73; border-bottom: 2px solid #666d73;
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list summary:hover { color: #2c3136; }
.faq-list summary:focus-visible { outline: 2px solid #3a3f44; outline-offset: -2px; }
.faq-list .answer { padding: 0 26px 22px; }
.faq-list .answer p { font-size: 15.5px; color: #535a60; }

/* ---------- „Verwandte Leistungen" — verlinkte Bildkarten ---------- */
.verwandt .cards-grid .item { transition: box-shadow .2s ease, transform .2s ease; }
.verwandt .cards-grid .item:hover {
  box-shadow: 0 10px 24px rgba(44, 49, 54, .1); transform: translateY(-2px);
}
.verwandt .cards-grid .item:hover h3, .verwandt .cards-grid .item:hover [data-h="3"] { color: #2c3136; }
.verwandt .cards-grid .inner { display: flex; flex-direction: column; flex: 1; }
.verwandt .cards-grid .inner .more { margin-top: auto; padding-top: 14px; }

@media (max-width: 1024px) {
  .kosten-inner { flex-direction: column; gap: 28px; }
  .kosten-head { flex: 1 1 auto; }
}

@media (max-width: 768px) {
  .vorteile-grid { grid-template-columns: 1fr; gap: 14px; }
  .kosten-box { padding: 26px 24px; }
  .faq-list summary { padding: 17px 52px 17px 20px; font-size: 16px; }
  .faq-list summary::after { right: 22px; }
  .faq-list .answer { padding: 0 20px 20px; }
  .ablauf .dauer { text-align: left; }
}

@media (max-width: 480px) {
  .checkliste li { font-size: 15px; padding-left: 30px; }
  .ablauf .dauer .dauer-label { padding: 3px 10px; letter-spacing: 1.5px; }
  .verwandt .cards-grid .item > img { height: 170px; }
}

/* === Feinschliff: letzte Vorteils-Karte bei ungerader Anzahl über beide Spalten === */
.vorteile-grid .vkarte:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 768px) {
  .vorteile-grid .vkarte:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Leistungsübersicht: Termin-Kachel (12. Kachel, keine Leistung) ---------- */
.cards-grid .item.termin { background: #f2f3f4; border-color: #d5d9dc; }
.cards-grid .item.termin .inner { display: flex; flex-direction: column; justify-content: center; flex: 1; padding: 34px 28px; }
.cards-grid .item.termin .num { color: #666d73; }
.cards-grid .item.termin p { margin-bottom: 22px; }
.cards-grid .item.termin .btn { align-self: flex-start; }

/* Überschriften lückenlos (Messung bei Google 24.10.2026): Überschriften mit data-h tragen die
   Stufe, die vorher im HTML stand. So sehen sie aus wie vorher, die Reihenfolge stimmt trotzdem. */
:where(h2)[data-h="3"] { font-size: 1.17em; font-weight: 700; line-height: inherit; color: inherit; }
:where(h2, h3)[data-h="4"] { font-size: 1em; font-weight: 700; line-height: inherit; color: inherit; }
/* Kontrast ab 4,5:1 und Hauptbereich (Messung bei Google 24.10.2026) */
.foot-base, .foot-base a { color: #6b7177; }
.crumbs { color: #666d73; }
#inhalt:focus { outline: none; }

/* ============================================================
   KARRIERESEITE — Ergänzungen im Stil der Hauptseite www.salierpraxis.de
   Alles oben ist 1:1 das Stylesheet der Hauptseite (Commit 3307f5a).
   Hier nur, was die Hauptseite nicht hat: Stellenliste, Fotoband,
   Ansprechpartner, Stellenseite, Bewerbungsformular.
   ============================================================ */
:root { --linie: #e1e4e6; --flaeche: #f2f3f4; --grau: #636a70; --dunkel: #2c3136; --offen: #2f6b4f; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 2147482000; background: #2c3136; color: #fff; padding: 12px 18px; }
.skip:focus { left: 0; }
.logo .karriere { font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-top: 4px; }
.flaeche { background: var(--flaeche); }

/* Hero: Bild etwas höher als auf der Hauptseite, Inhalt gleich */
.hero .gross { font-size: 19px; color: #2c3136; margin-bottom: 10px; max-width: 480px; }

/* Über uns */
.ueber .wrap { display: flex; gap: 60px; align-items: center; }
.ueber picture { width: 40%; max-width: 440px; flex-shrink: 0; }
.ueber img { width: 100%; height: 520px; object-fit: cover; object-position: 50% 30%; display: block; }
.ueber .txt { flex: 1; }
.ueber .txt h2 { margin-bottom: 20px; }
.ueber .txt p { color: #535a60; margin-bottom: 16px; }
.ueber .actions { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Fotoband: läuft von selbst, hält bei Maus/Fokus an */
.fotoband { overflow: hidden; padding: 0; background: #fff; }
.fotoband-spur { display: flex; gap: 12px; width: max-content; animation: fotoband-lauf 70s linear infinite; will-change: transform; }
.fotoband:hover .fotoband-spur, .fotoband:focus-within .fotoband-spur { animation-play-state: paused; }
.fotoband picture { flex: 0 0 auto; }
.fotoband img { display: block; height: 280px; width: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fotoband img.hoch { aspect-ratio: 3 / 4; }
@keyframes fotoband-lauf { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .fotoband { overflow-x: auto; } .fotoband-spur { animation: none; } }

/* Benefits: Rahmenraster wie die Leistungs-Teaser der Hauptseite */
.benefits .teaser-grid .item { padding: 28px 28px 30px; }
.benefits .symbol { width: 30px; height: 30px; color: #666d73; margin-bottom: 14px; display: block; }
.benefits .nachsatz { text-align: center; color: #636a70; font-size: 14.5px; margin-top: 26px; }

/* Stellenliste */
.stellen-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -20px 0 34px; }
.stellen-filter button { font: inherit; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; padding: 10px 22px; border: 1px solid #3a3f44; background: #fff; color: #3a3f44; cursor: pointer; }
.stellen-filter button:hover { background: #f2f3f4; }
.stellen-filter button[aria-pressed="true"] { background: #3a3f44; color: #fff; }
.stellen-liste { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--linie); }
.stelle-zeile { display: grid; grid-template-columns: 130px 1fr auto; gap: 8px 30px; align-items: center; padding: 26px 18px; border-bottom: 1px solid var(--linie); background: #fff; transition: background .2s ease; }
.stelle-zeile:hover { background: var(--flaeche); }
.stelle-zeile h3 { font-size: 18px; font-weight: 600; color: #2c3136; line-height: 1.4; margin-bottom: 4px; }
.stelle-zeile .meta { font-size: 14px; color: #636a70; }
.stelle-zeile .pfeil { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: #3a3f44; white-space: nowrap; }
.stelle-zeile:hover .pfeil { text-decoration: underline; }
.marken { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.marke { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; line-height: 1.4; }
.marke-gruen { background: #2c3136; color: #fff; }
.marke-orange { background: #fff; color: #2c3136; border: 1px solid #a7adb2; }
.marke-grau { background: #f2f3f4; color: #34383c; border: 1px solid #e1e4e6; }
.stellen-hinweis { text-align: center; color: #636a70; font-size: 15px; margin-top: 30px; }
.stellen-hinweis a { color: #2c3136; border-bottom: 1px solid #a7adb2; }

/* Ansprechpartner: Behandler-Karten der Hauptseite */
.ansprech .team-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.bkarte .ort { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-bottom: 10px; }
.bkarte .kontakt { display: block; font-size: 14.5px; color: #34383c; margin-top: 2px; }
.bkarte .kontakt a:hover { text-decoration: underline; }

/* Bewerbung einfach erklärt */
.einfach .wrap.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.tipp { border: 1px solid #e1e4e6; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(44,49,54,.04), 0 14px 28px -20px rgba(44,49,54,.30); }
.tipp img { width: 100%; height: 240px; object-fit: cover; display: block; }
.tipp .inner { padding: 24px 28px 28px; }
.tipp h3 { font-size: 17px; font-weight: 600; color: #2c3136; margin-bottom: 8px; }
.tipp p { font-size: 14.5px; color: #636a70; }
.einfach .intro { max-width: 720px; margin: 0 auto 40px; text-align: center; color: #636a70; }

/* FAQ: zwei Gruppen */
.faq-gruppe { max-width: 860px; margin: 0 auto 10px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #666d73; font-weight: 600; padding: 8px 0 12px; }
.faq-list + .faq-gruppe { margin-top: 30px; }

/* ---------- Stellenseite (zweispaltig, rechts klebend) ---------- */
.brotkrumen { font-size: 13px; color: #666d73; letter-spacing: 1px; text-transform: uppercase; padding-top: 28px; }
.brotkrumen a:hover { color: #2c3136; text-decoration: underline; }
.stelle-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px 60px; align-items: start; padding-top: 24px; padding-bottom: 75px; }
.stelle-kopf, .stelle-text { grid-column: 1; min-width: 0; }
.stelle-seite { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 24px; display: grid; gap: 20px; }
.stelle-bild { margin: 0 0 22px; }
.stelle-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.marken-zeile { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stelle-kopf h1 { font-size: 34px; margin-bottom: 14px; }
.stelle-kopf .untertitel { color: #636a70; font-size: 17px; margin-bottom: 24px; }
.stelle-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hinweis-klein { font-size: 13.5px; color: #636a70; }
.stelle-text { padding-top: 18px; border-top: 1px solid #e1e4e6; }
.stelle-text .kicker { margin-top: 20px; margin-bottom: 8px; }
.stelle-text h2 { font-size: 22px; font-weight: 600; margin: 34px 0 12px; }
.stelle-text p { color: #535a60; margin-bottom: 14px; }
.stelle-text ul { list-style: none; margin: 0 0 10px; padding: 0; }
.stelle-text li { position: relative; padding-left: 30px; margin-bottom: 9px; color: #535a60; font-size: 15.5px; }
.stelle-text li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 6px; border-left: 2px solid #666d73; border-bottom: 2px solid #666d73; transform: rotate(-45deg); }
.stelle-text ul.benefits-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.karte { background: #fff; border: 1px solid #e1e4e6; padding: 26px 26px 28px; box-shadow: 0 1px 2px rgba(44,49,54,.04), 0 14px 28px -20px rgba(44,49,54,.30); }
.ansprech-karte { background: #f2f3f4; border-color: #e1e4e6; text-align: center; }
.ansprech-karte .dachzeile { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-bottom: 14px; }
.ansprech-karte img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin: 0 auto 14px; display: block; border: 3px solid #fff; }
.ansprech-karte .ansprech-name { margin-bottom: 16px; color: #2c3136; line-height: 1.45; }
.ansprech-karte .ansprech-name span { font-size: 14px; color: #636a70; }
.ansprech-karte .ansprech-kontakt { font-size: 14.5px; margin-top: 8px; color: #34383c; }
.ansprech-karte .ansprech-kontakt a:hover { text-decoration: underline; }
.fakten-liste { display: grid; gap: 14px; margin: 0; }
.fakten-liste dt { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; font-weight: 600; }
.fakten-liste dd { margin: 2px 0 0; font-size: 15px; color: #34383c; }
.fakten-liste address { font-style: normal; }
.fakten-liste .more { margin-top: 6px; }
.dachzeile { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-bottom: 10px; }
.bewerben { margin-top: 44px; background: #f2f3f4; padding: 36px 36px 30px; scroll-margin-top: 20px; }
.bewerben h2 { margin-top: 0; }
.bewerbungsformular { margin-top: 20px; }
.feld { margin-bottom: 18px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.feld label, .feld legend { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #535a60; font-weight: 600; margin-bottom: 6px; }
.feld input:not([type=checkbox]):not([type=radio]), .feld select, .feld textarea { width: 100%; padding: 12px 14px; border: 1px solid #d5d9dc; background: #fff; font-family: inherit; font-size: 15px; color: #34383c; border-radius: 0; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid #3a3f44; outline-offset: -1px; }
.feld-zustimmung label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.feld-zustimmung input { margin-top: 4px; flex: none; }
.feld-zustimmung a { text-decoration: underline; }
fieldset.feld { border: 0; padding: 0; }
fieldset.feld label { display: inline-flex; gap: 6px; margin-right: 20px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; }
.honigtopf { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.formular-meldung { min-height: 1.4em; font-weight: 600; font-size: 14.5px; }
.formular-meldung.fehler { color: #a33a3a; }
.formular-meldung.erfolg { color: var(--offen); }
.bewerbungsformular .btn { border: 0; font-family: inherit; }
.bewerbungsformular .hinweis-klein { margin-top: 14px; }
.bewerbungsformular .hinweis-klein a { text-decoration: underline; }
.vorschau-hinweis { background: #fff3cd; color: #664d03; text-align: center; padding: 8px 24px; font-size: 13.5px; }

/* Rechtstexte */
.rechtstext { padding: 60px 0 75px; }

@media (max-width: 1024px) {
  .ueber .wrap { gap: 36px; }
  .ueber img { height: 440px; }
  .ansprech .team-raster { gap: 22px; }
  .stelle-raster { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px 36px; }
}
@media (max-width: 900px) {
  .stelle-raster { grid-template-columns: 1fr; }
  .stelle-seite { grid-column: 1; grid-row: auto; position: static; }
  .stelle-text { grid-column: 1; }
}
@media (max-width: 768px) {
  .ueber .wrap { flex-direction: column; align-items: stretch; }
  .ueber picture { width: 100%; max-width: none; }
  .ueber img { height: 340px; }
  .fotoband img { height: 200px; }
  .ansprech .team-raster { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .einfach .wrap.two-col { grid-template-columns: 1fr; }
  .stelle-zeile { grid-template-columns: 1fr; gap: 10px; padding: 22px 4px; }
  .marken { flex-direction: row; }
  .stelle-zeile .pfeil { display: none; }
  .stelle-kopf h1 { font-size: 27px; }
  .stelle-text ul.benefits-liste { grid-template-columns: 1fr; }
  .feld-reihe { grid-template-columns: 1fr; }
  .bewerben { padding: 26px 20px 22px; margin-left: -6px; margin-right: -6px; }
}
@media (max-width: 480px) {
  .ansprech .team-raster { grid-template-columns: 1fr; }
  .bkarte img { aspect-ratio: 4 / 3.4; }
  .stellen-filter button { flex: 1 1 auto; padding: 10px 12px; }
  .stelle-aktion .btn { width: 100%; text-align: center; }
}
/* Mail-Knopf in der Ansprechpartner-Karte (Klassen kommen aus bauen.py) */
.ansprech-karte .knopf { display: inline-block; padding: 11px 22px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; border: 1px solid #3a3f44; color: #3a3f44; background: #fff; margin-bottom: 4px; }
.ansprech-karte .knopf:hover { background: #3a3f44; color: #fff; }
/* Hero und Über uns: Bild steckt in <picture> (WebP + JPG) – Breite auf das picture-Element */
.hero picture { width: 46%; max-width: 560px; flex-shrink: 0; }
.hero picture img { width: 100%; max-width: none; height: 400px; object-fit: cover; display: block; }
@media (max-width: 1024px) { .hero picture img { height: 320px; } }
@media (max-width: 768px) { .hero picture { width: 100%; max-width: none; } .hero picture img { height: 280px; } }
@media (max-width: 480px) { .hero picture img { height: 220px; } }
/* Hinweisleiste der Vorschau (setzt scripts/vorschau-vorbereiten.py nur auf GitHub Pages) */
.vorschau-leiste { background: #fff3cd; color: #664d03; text-align: center; padding: 8px 24px; font-size: 13.5px; }

/* ============================================================
   Anpassungen 09.11.2026 (Rückmeldung Melisa)
   ============================================================ */
/* Filter: versteckte Stellen wirklich ausblenden (display:grid schlug das hidden-Attribut) */
.stelle-zeile[hidden] { display: none; }

/* Stellenseite: Ansprechpartner und Eckdaten laufen nicht mit, sie stehen fest */
.stelle-seite { position: static; top: auto; }

/* Benefits der Stelle: als Kärtchen nebeneinander statt zwei Spalten mit Lücken */
.stelle-text ul.benefits-liste { display: flex; flex-wrap: wrap; gap: 10px; grid-template-columns: none; margin-top: 6px; }
.stelle-text ul.benefits-liste li { margin: 0; padding: 8px 14px 8px 34px; background: #f2f3f4; border: 1px solid #e1e4e6; font-size: 14.5px; line-height: 1.4; }
.stelle-text ul.benefits-liste li::before { left: 13px; top: 13px; width: 10px; height: 5px; }

/* Bilder nicht mehr beschneiden: Seitenverhältnis wie die Originalfotos */
.hero picture img { height: auto; aspect-ratio: 3 / 2; }
.ueber img { height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.fotoband img { aspect-ratio: 3 / 2; }
.fotoband img.hoch { aspect-ratio: 2 / 3; }
.tipp img { height: auto; aspect-ratio: 3 / 2; }
.stelle-bild img { aspect-ratio: 3 / 2; }
@media (max-width: 1024px) { .hero picture img, .ueber img { height: auto; } }
@media (max-width: 768px) { .hero picture img, .ueber img { height: auto; } .ueber img { aspect-ratio: 4 / 5; object-position: 50% 30%; } }
@media (max-width: 480px) { .hero picture img { height: auto; } }

/* Initiativbewerbung: Kasten unter der Stellenliste */
.initiativ-kasten { max-width: 980px; margin: 34px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; background: #f2f3f4; border-left: 3px solid #c4c9cd; padding: 26px 30px; }
.initiativ-kasten h3 { font-size: 18px; font-weight: 600; color: #2c3136; margin-bottom: 4px; }
.initiativ-kasten p { color: #636a70; font-size: 15px; }
.cta-knoepfe { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn-hell { border-color: #fff; color: #fff; background: transparent; font-family: inherit; }
.cta .btn-hell:hover { background: rgba(255,255,255,.1); }
button.btn { font-family: inherit; }

/* Initiativbewerbung: Fenster */
html.fenster-offen { overflow: hidden; }
dialog.initiativ { border: 0; padding: 0; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; background: #fff; color: #34383c; box-shadow: 0 30px 80px -20px rgba(29,33,36,.45); }
dialog.initiativ::backdrop { background: rgba(29,33,36,.55); }
.initiativ-form { position: relative; padding: 38px 40px 30px; }
.initiativ-zu { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: #636a70; cursor: pointer; }
.initiativ-zu:hover { color: #2c3136; }
.initiativ-form h2 { font-size: 26px; margin-bottom: 18px; }
.initiativ-fortschritt { height: 3px; background: #e1e4e6; margin-bottom: 10px; }
.initiativ-fortschritt span { display: block; height: 100%; width: 0; background: #2c3136; transition: width .25s ease; }
.initiativ-schritt-nr { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; font-weight: 600; margin-bottom: 18px; }
.initiativ-schritt { border: 0; padding: 0; margin: 0; }
.initiativ-schritt legend, .initiativ-frage { font-size: 19px; font-weight: 600; color: #2c3136; margin-bottom: 16px; padding: 0; }
.auswahl { display: grid; gap: 10px; }
.auswahl label { display: block; cursor: pointer; }
.auswahl input { position: absolute; opacity: 0; pointer-events: none; }
.auswahl span { display: block; padding: 15px 18px; border: 1px solid #d5d9dc; font-size: 15.5px; color: #34383c; transition: border-color .15s, background .15s; }
.auswahl label:hover span { border-color: #3a3f44; background: #f2f3f4; }
.auswahl input:focus-visible + span { outline: 2px solid #3a3f44; outline-offset: 2px; }
.auswahl input:checked + span { background: #2c3136; border-color: #2c3136; color: #fff; }
.initiativ-navi { display: flex; justify-content: space-between; margin-top: 22px; min-height: 24px; }
.initiativ-navi button { border: 0; background: none; font: inherit; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: #636a70; cursor: pointer; padding: 4px 0; }
.initiativ-navi button:hover { color: #2c3136; text-decoration: underline; }
.initiativ-weiter { margin-left: auto; }
.initiativ-daten .feld { margin-bottom: 14px; }
@media (max-width: 768px) {
  .initiativ-kasten { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .initiativ-form { padding: 34px 20px 22px; }
  .initiativ-form h2 { font-size: 22px; }
}

/* ============================================================
   Stellen-Ampel (05_Anleitungen/Anleitung_Stellen-Ampel.md) – Farben für alle Kunden gleich
   ============================================================ */
:root { --ampel-gruen:#2F9E27; --ampel-gruen-flaeche:#E4F2E1; --ampel-gruen-text:#1F5E1A;
        --ampel-gelb:#F2B705;  --ampel-gelb-flaeche:#FFF3C4;  --ampel-gelb-text:#5C4500; }
.marke-gruen { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-text); border: 1px solid var(--ampel-gruen); }
.marke-gelb { background: var(--ampel-gelb-flaeche); color: var(--ampel-gelb-text); border: 1px solid var(--ampel-gelb); }
.stelle-zeile.ampel-gruen { box-shadow: inset 4px 0 0 var(--ampel-gruen); }
.stelle-zeile.ampel-gelb { box-shadow: inset 4px 0 0 var(--ampel-gelb); }
.ampel-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; flex: none; }
.ampel-punkt.ampel-gruen, .ampel-gruen > .ampel-punkt { background: var(--ampel-gruen); }
.ampel-punkt.ampel-gelb, .ampel-gelb > .ampel-punkt { background: var(--ampel-gelb); }
.ampel-legende { display: flex; justify-content: center; gap: 8px 26px; flex-wrap: wrap; font-size: 13.5px; color: #535a60; margin: -14px 0 18px; }
.ampel-hinweis { display: flex; align-items: center; padding: 12px 16px; font-size: 15px; margin: 0 0 22px; }
.stelle-text .ampel-hinweis { color: inherit; }
.ampel-hinweis.ampel-gruen { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-text); border-left: 4px solid var(--ampel-gruen); }
.ampel-hinweis.ampel-gelb { background: var(--ampel-gelb-flaeche); color: var(--ampel-gelb-text); border-left: 4px solid var(--ampel-gelb); }
.ampel-text-gruen { color: var(--ampel-gruen-text); font-weight: 600; }
.ampel-text-gelb { color: var(--ampel-gelb-text); font-weight: 600; }

/* Adressleiste: Ortsname ohne Überschrift, Optik wie vorher */
.strip .ort-titel { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #666d73; margin-bottom: 6px; font-weight: 700; }
/* FAQ: Frage ist eine h3, sieht aus wie vorher */
.faq-list summary h3.faq-frage { display: inline; font: inherit; color: inherit; margin: 0; }

/* Barrierefreiheits-Widget: geschlossenes Panel wirklich weg (05_Anleitungen/Anleitung_Barrierefreiheits-Widget.md, Punkt 1) */
.bf-panel:not([data-offen="true"]) { visibility: hidden; transition: transform .3s cubic-bezier(.4,0,.2,1), visibility 0s .3s; }
