/* Karriereseite Uroonkologische Schwerpunktpraxis Husum – gemeinsame Styles */
:root {
  --blue: #07abef;          /* Praxisfarbe */
  --blue-deep: #0878ab;     /* für Text/Buttons mit genug Kontrast */
  --blue-tint: #eaf7fd;
  --ink: #2a303a;           /* Footer-Farbe der Hauptseite */
  --text: #515151;
  --heading: #3f3f3f;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --wrap: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0; text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { text-decoration: none; line-height: 1.25; }
.brand span { display: block; color: var(--blue-deep); font-size: 19px; }
.brand strong { display: block; color: var(--heading); font-size: 16px; }
.back { font-size: 15px; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px;
  font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid var(--blue-deep); border-radius: 2px;
  background: var(--blue-deep); color: #fff;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--blue-deep); }
.btn.ghost:hover { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Hero */
.hero { background: var(--blue-tint); }
.hero .wrap { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); font-weight: 700; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--blue-deep); }
.hero .lead { font-size: 19px; margin: 22px 0 0; max-width: 34em; }
.hero .no-desk { margin: 22px 0 0; font-weight: 700; color: var(--heading); border-left: 5px solid var(--blue); padding-left: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-bottom: 6px solid var(--blue); }
.hero figcaption { font-size: 14px; margin-top: 10px; }

/* Fakten-Leiste */
.facts { background: var(--ink); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { font-weight: 700; line-height: 1.3; padding-left: 16px; border-left: 3px solid var(--blue); }
.facts li small { display: block; font-weight: 400; font-size: 14px; color: #b9c0c9; margin-top: 3px; }

/* Abschnitte */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 36px); }
.section-head p { margin: 12px 0 0; }
.kicker { color: var(--blue-deep); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 26px 24px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0; }
.note { margin-top: 20px; padding: 18px 22px; background: var(--blue-tint); border-left: 5px solid var(--blue); color: var(--heading); }

.team { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 48px; align-items: center; }
.team figure { margin: 0; }
.team img { width: 100%; height: auto; border-bottom: 6px solid var(--blue); }
.team h2 { font-size: clamp(27px, 3.6vw, 36px); margin-bottom: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 19px; width: 16px; height: 9px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg);
}
.checks strong { color: var(--heading); }

/* Bewerben */
.apply { background: var(--ink); color: #dfe3e8; }
.apply h2 { color: #fff; }
.apply .kicker { color: var(--blue); }
.apply-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.apply-card { background: #353c48; padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.apply-card h3 { color: #fff; font-size: 21px; }
.apply-card p { margin: 0 0 8px; flex: 1; }
.apply-card .btn { background: var(--blue); border-color: var(--blue); color: #10202b; }
.apply-card .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.apply .btn:focus-visible { outline-color: #fff; }
.apply address { font-style: normal; margin-top: 36px; padding-top: 28px; border-top: 1px solid #454d5a; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.apply address strong { display: block; color: #fff; margin-bottom: 4px; }
.apply address a { color: #fff; }
.privacy { font-size: 14px; color: #a9b1bb; margin: 28px 0 0; max-width: 60em; }
.privacy a { color: #dfe3e8; }

/* Footer */
.site-footer { background: #20252d; color: #7f8389; font-size: 14px; padding: 24px 0 96px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: #b9c0c9; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Übersichtsseite */
.hero.compact .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 48px; }
.hero.compact .lead { max-width: 40em; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.offer:hover { box-shadow: 0 10px 30px rgba(42,48,58,.12); transform: translateY(-2px); }
.offer img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%; border-bottom: 6px solid var(--blue); }
.offer-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.offer .tag { align-self: flex-start; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; margin-bottom: 14px; }
.offer h2 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 8px; }
.offer .checks { margin: 8px 0 22px; flex: 1; }
.offer .checks li { padding-top: 9px; padding-bottom: 9px; }
.offer .checks li::before { top: 14px; }
.offer .btn { align-self: flex-start; }
.offers-wrap { padding-top: 0; margin-top: -24px; }
.contact-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.contact-strip h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); }
.contact-strip p { margin: 6px 0 0; }
.contact-strip .cta-row { margin-top: 0; }
.contact-strip .btn { background: var(--blue); border-color: var(--blue); color: #10202b; }
.contact-strip .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.site-header nav { display: flex; gap: 18px; font-size: 15px; }
@media (max-width: 860px) {
  .offers { grid-template-columns: 1fr; }
  .site-header nav .ext { display: none; }
  .contact-strip .cta-row { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .offer { transition: none; } .offer:hover { transform: none; } }

/* Mobile Bewerben-Leiste */
.sticky-cta { display: none; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
  .cards, .two-col, .team, .apply-grid, .apply address { grid-template-columns: 1fr; }
  .team { gap: 28px; }
  .hero figure img { aspect-ratio: 4 / 3; }
  .two-col { gap: 44px; }
  .cta-row .btn { flex: 1 1 100%; }
  .back { display: none; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .sticky-cta .btn { min-height: 50px; padding: 10px 12px; }
}
@media (min-width: 861px) { .site-footer { padding-bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
