/* Praxis Laßow, Ergänzungen vom 27.11.2026: Barrierefreiheit und Angebot / Hinweis */

/* ---------- Barrierefreiheit ---------- */
/* Einblend-Effekte verstecken Inhalte nicht mehr vor Screenreadern und der Tastatur.
   Sie bleiben nur unsichtbar (Deckkraft), bis sie ins Bild kommen. */
:is(main, footer) [style*="visibility: hidden"] { visibility: visible !important; }
/* Wer mit der Tastatur unterwegs ist, sieht alles sofort, ohne Einblenden. */
html.lsw-kbd :is(main, footer) [style*="visibility: hidden"],
html.lsw-kbd :is(main, footer) [style*="opacity: 0;"] { opacity: 1 !important; transform: none !important; translate: none !important; }

/* Kontraste (WCAG 2.1 AA, mindestens 4,5:1) */
.hl div.is-today dd { color: #fff; }
.tabs .chip[aria-selected=true] span { background: #fff; color: var(--polo-deep, #08448f); }
.apply-mail { color: #fff; }

/* ---------- Angebot auf der Startseite ---------- */
.lsw-offer { padding-top: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--header-h, 72px) + 16px); }
.lsw-offer__card {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(20px, 4vw, 56px); padding: clamp(16px, 2.4vw, 28px); padding-right: clamp(20px, 4vw, 64px);
  background: var(--white, #fdfeff); border-radius: calc(var(--r-card, 20px) + 4px);
  box-shadow: var(--shadow), 0 0 0 1px var(--rule, #d6e3ec);
}
.lsw-offer__card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; border-radius: 24px 0 0 24px;
  background: linear-gradient(var(--sky, #01b2eb), var(--polo, #0b58c0));
}
.lsw-offer__card.is-noimg { grid-template-columns: minmax(0, 1fr); padding-left: clamp(24px, 4vw, 56px); }
.lsw-offer__fig { position: relative; margin: 0; border-radius: var(--r-card, 20px); overflow: hidden; background: var(--paper, #f3f7fa); }
.lsw-offer__fig img { display: block; width: auto; max-width: 100%; margin-inline: auto; height: auto; max-height: 460px; object-fit: contain; }
.lsw-offer__zoom {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(11, 34, 61, .82); color: #fff; font: 600 .9rem/1 var(--ff-body, sans-serif);
}
.lsw-offer__zoom:hover { background: var(--ink, #0b223d); }
.lsw-offer__zoom:focus-visible, .lsw-offer__x:focus-visible, .lsw-peek__x:focus-visible, .lsw-peek a:focus-visible, .lsw-dlg__x:focus-visible { outline: 3px solid var(--sky, #01b2eb); outline-offset: 2px; }
.lsw-offer__body { display: grid; justify-items: start; gap: 14px; padding-block: 8px; min-width: 0; }
.lsw-offer__body .kicker { margin: 0; }
.lsw-offer__title { margin: 0; font-family: var(--ff-head); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink, #0b223d); }
.lsw-offer__text { margin: 0; max-width: 60ch; white-space: pre-line; color: var(--ink-2, #3d536d); font-size: var(--fs-lead, 1.15rem); line-height: 1.55; }
.lsw-offer__body .btn { margin-top: 6px; }
.lsw-offer__x {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: transparent; color: var(--ink-3, #6a7d93); cursor: pointer; font-size: 1.25rem;
}
.lsw-offer__x:hover { background: var(--paper, #f3f7fa); color: var(--ink, #0b223d); }
@media (width < 768px) {
  .lsw-offer__card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px 14px 20px; }
  .lsw-offer__card::before { inset: 0 0 auto 0; width: auto; height: 5px; border-radius: 24px 24px 0 0; }
  .lsw-offer__card.is-noimg { padding: 22px 18px 22px; }
  .lsw-offer__body { padding: 0 6px; }
  .lsw-offer__card:not(.is-noimg) .lsw-offer__x { top: 20px; right: 20px; background: rgba(253, 254, 255, .92); color: var(--ink, #0b223d); }
  .lsw-offer__card.is-noimg .lsw-offer__body { padding-right: 40px; }
  .lsw-offer__fig img { max-height: 380px; }
}

/* Großansicht des Bildes */
.lsw-dlg { width: min(960px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--white, #fff); box-shadow: 0 30px 80px -20px rgba(11, 34, 61, .55); }
.lsw-dlg::backdrop { background: rgba(11, 34, 61, .6); }
.lsw-dlg img { display: block; width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; background: var(--paper, #f3f7fa); }
.lsw-dlg__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; font-weight: 600; color: var(--ink, #0b223d); }
.lsw-dlg__x { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--paper, #f3f7fa); color: var(--ink, #0b223d); font: 600 .95rem/1 var(--ff-body, sans-serif); cursor: pointer; }

/* ---------- Kleiner Hinweis auf den Unterseiten ---------- */
.lsw-peek {
  position: fixed; z-index: 58; left: 24px; bottom: 24px; width: min(380px, 100% - 24px);
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 12px;
  background: var(--white, #fdfeff); color: var(--ink, #0b223d); border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(11, 34, 61, .45), 0 0 0 1px var(--rule, #d6e3ec);
  animation: lsw-peek-in .6s var(--ease-out, ease-out) both;
}
.lsw-peek.is-out { opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.lsw-peek__img { width: 72px; height: 72px; flex: none; border-radius: 12px; object-fit: cover; background: var(--paper, #f3f7fa); }
.lsw-peek__in { display: grid; gap: 2px; min-width: 0; flex: 1; }
.lsw-peek__k { margin: 0; font-size: .82rem; font-weight: 600; color: var(--sky-ink, #0079a8); }
.lsw-peek__t { margin: 0; font-family: var(--ff-head); font-weight: 650; font-size: 1.05rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lsw-peek a { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 4px 0; color: var(--polo, #0b58c0); font-weight: 650; text-decoration: none; }
.lsw-peek a:hover { text-decoration: underline; }
.lsw-peek__x { align-self: flex-start; display: grid; place-items: center; width: 40px; height: 40px; flex: none; margin: -4px -4px 0 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-3, #6a7d93); cursor: pointer; font-size: 1.1rem; }
.lsw-peek__x:hover { background: var(--paper, #f3f7fa); color: var(--ink, #0b223d); }
.has-consent .lsw-peek { bottom: calc(var(--consent-h, 0px) + 36px); }
body:has(.aisdock) .lsw-peek { bottom: 100px; }
.has-consent body:has(.aisdock) .lsw-peek { bottom: calc(var(--consent-h, 0px) + 100px); }
@media (width < 768px) {
  .lsw-peek { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 10px; gap: 12px; }
  .lsw-peek__img { width: 60px; height: 60px; }
}
@keyframes lsw-peek-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lsw-peek { animation: none; } .lsw-peek.is-out { transition: none; } }
@media print { .lsw-peek, .lsw-offer__x, .lsw-offer__zoom { display: none !important; } }

/* Jobs: schwebender „Jetzt bewerben“-Knopf ist unsichtbar nicht per Tab erreichbar */
.apply-float { transition: opacity .3s, transform .4s var(--ease-out, ease-out), background-color .2s, visibility .3s; }
.apply-float:not(.is-on) { visibility: hidden; }

/* Wünsche vom 03.12.2026 (mobile Ansicht) */
/* Startseite, Team: Die Reihe zum Wischen rastet mit Abstand zum Rand ein, bündig mit der Überschrift */
.tm-grid { scroll-padding-inline: var(--gutter, 16px); }
/* Teamseite, „Hier ist noch Platz für Dich!“: Logo steht im Fluss und kann den Text nicht mehr überdecken */
.member-open-grid { position: relative; inset: auto; flex: none; margin-bottom: auto; }
