/* Schrift lokal (keine Google-Server): Bodoni Moda, SIL Open Font License */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/bodoni-moda-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/bodoni-moda-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/bodoni-moda-latin-400-italic.woff2') format('woff2'); }

/* Farben wie sued-pool.de: Salbei aus dem Logo, Creme, Anthrazit */
:root {
  --bg: #F7F4EF;
  --surface: #FFFFFF;
  --fg: #1C1C1C;
  --muted: #5D5A56;
  --accent: #B1C7C7;
  --accent-ink: #5B7F7F;
  --line: #DED8CE;
  --band: #2B2B2B;
  --band-fg: #F7F4EF;
  --font-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl { margin: 0; }
a { color: inherit; }
b, strong { font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Kopf */
.top { padding-block: 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { width: 168px; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--fg);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  color: var(--fg);
  background: transparent;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.btn-fill { background: var(--band); color: var(--band-fg); border-color: var(--band); }
.btn-fill:hover { opacity: .88; }
.btn-line:hover { background: var(--fg); color: var(--surface); }
.top .btn { padding: 11px 20px; font-size: 11.5px; }

/* Einstieg */
.hero { padding-block: 60px 44px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 5.6vw, 3.4rem); line-height: 1.12; text-wrap: balance; }
.lede { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.45; margin-top: 22px; max-width: 32em; text-wrap: pretty; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin-top: 42px; }
.fact { padding-block: 16px 14px; border-top: 2px solid var(--accent); min-width: 0; }
.fact dt { font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 6px 0 0; font-weight: 400; font-size: 15px; line-height: 1.45; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.hero-cta small { color: var(--muted); font-size: 13.5px; }

/* Einleitung */
.intro { padding-block: 4px 44px; }
.intro p { max-width: 40em; }
.intro p + p { margin-top: 14px; }

/* Abschnitte: Überschrift links, Inhalt rechts */
.sec { padding-block: 46px; border-top: 1px solid var(--line); }
.sec .wrap { display: grid; grid-template-columns: 1fr; gap: 22px; }
.sec .col { min-width: 0; max-width: 42em; }
h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.55rem, 3.3vw, 1.95rem); line-height: 1.2; text-wrap: balance; }
@media (min-width: 820px) {
  .sec .wrap { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
}

.checks { list-style: none; padding: 0; display: grid; gap: 15px; }
.checks li { position: relative; padding-left: 34px; min-width: 0; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .3em;
  width: 19px; height: 19px;
  background-color: var(--accent-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='8'/%3E%3Cpath d='M5.2 9.3l2.6 2.6 5-5.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='8'/%3E%3Cpath d='M5.2 9.3l2.6 2.6 5-5.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.after { margin-top: 22px; color: var(--muted); }
.pre { margin-bottom: 18px; }
.pre.sub { margin-top: 34px; font-weight: 500; }

/* Ablauf */
.steps { list-style: none; padding: 0; display: grid; gap: 26px; counter-reset: s; }
.steps li { position: relative; padding-left: 52px; counter-increment: s; }
.steps li::before {
  content: "0" counter(s);
  position: absolute; left: 0; top: -2px;
  font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; color: var(--accent-ink);
}
.steps h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }

/* Fragen */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 36px 16px 0; position: relative;
  font-weight: 500; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--accent-ink); border-bottom: 1.5px solid var(--accent-ink);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 18px; color: var(--fg); }
.faq a { text-underline-offset: 3px; }

/* Abschluss */
.apply { background: var(--band); color: var(--band-fg); padding-block: 62px; }
.apply .wrap { display: grid; gap: 26px; }
.apply h2 { max-width: 20em; }
.apply p { max-width: 38em; opacity: .92; }
.apply .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.apply .btn-fill { background: var(--band-fg); color: var(--band); border-color: var(--band-fg); }
.apply .btn-line { border-color: var(--band-fg); color: var(--band-fg); }
.apply .btn-line:hover { background: var(--band-fg); color: var(--band); }
.person { display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(247,244,239,.18); }
.person img { width: 68px; height: 84px; object-fit: cover; border-radius: 4px; flex: none; }
.person p { opacity: 1; line-height: 1.5; font-size: 14.5px; }
.person b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
.person a { text-underline-offset: 3px; overflow-wrap: anywhere; }

.foot { padding-block: 26px; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 520px) {
  .hero { padding-block: 40px 34px; }
  .logo img { width: 132px; }
  .top .btn { padding: 10px 14px; font-size: 10.5px; letter-spacing: 1px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s, color .2s, opacity .2s; }
}

/* Stellenseite */
.meta { font-size: 12.5px; color: var(--muted); margin-top: 12px; letter-spacing: .3px; }
.hook p + p { margin-top: 12px; }
.hook .lead-in { font-weight: 500; }
.box { margin-top: 26px; padding: 20px 22px; background: var(--surface); border-left: 3px solid var(--accent); }
.box h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.view p + p { margin-top: 14px; }
.view blockquote { margin: 18px 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.45rem); line-height: 1.45; }

/* Kontaktleiste: Desktop rechts am Rand, Handy unten */
.contact-bar {
  position: fixed; z-index: 20;
  right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.contact-bar a {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  color: var(--accent-ink);
}
.contact-bar a + a { border-top: 1px solid var(--line); }
.contact-bar a:hover { background: var(--bg); color: var(--fg); }
.contact-bar svg { width: 22px; height: 22px; }
@media (max-width: 819px) {
  .contact-bar {
    top: auto; bottom: 0; left: 0; transform: none;
    flex-direction: row; justify-content: space-around;
    border: 0; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .contact-bar a { flex: 1; height: 50px; width: auto; }
  .contact-bar a + a { border-top: 0; border-left: 1px solid var(--line); }
  body { padding-bottom: calc(51px + env(safe-area-inset-bottom, 0px)); }
}
@media print { .contact-bar { display: none; } }

/* Übersicht */
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--muted); text-decoration: none; }
.rating .stars { color: #C9A227; letter-spacing: 2px; font-size: 16px; }
.rating b { color: var(--fg); }
.rating:hover span { text-decoration: underline; text-underline-offset: 3px; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.count { font-size: 13px; color: var(--muted); }
.jobs { display: grid; gap: 18px; }
.jobcard {
  display: grid; gap: 14px; align-items: center;
  padding: 26px 26px 24px; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  text-decoration: none; color: inherit;
}
.jobcard:hover { border-color: var(--accent-ink); }
.jobcard .kicker { font-size: 10.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-ink); }
.jobcard h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.2; margin-top: 6px; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.tags li { position: relative; padding-left: 14px; }
.tags li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); }
.jobcard .btn { justify-self: start; }
@media (min-width: 820px) {
  .jobcard { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 32px; }
  .jobcard .btn { justify-self: end; }
}
.quotes { display: grid; gap: 22px 32px; }
@media (min-width: 700px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent); display: grid; gap: 8px; align-content: start; }
.quote .stars { color: #C9A227; letter-spacing: 2px; font-size: 12px; }
.quote blockquote { margin: 0; font-size: 14.5px; line-height: 1.6; font-style: italic; color: var(--fg); }
.quote figcaption { font-size: 13px; color: var(--muted); }
.quote figcaption b { color: var(--fg); font-weight: 600; }
.more { display: inline-block; margin-top: 20px; font-size: 14px; text-underline-offset: 3px; }
.done { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .done { grid-template-columns: 1fr 1fr; } }
.done li { padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; align-content: start; }
.done .badge { justify-self: start; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--accent); color: var(--fg); }
.done b { font-weight: 500; line-height: 1.4; }
.done b + span { font-size: 13.5px; color: var(--muted); }

/* Besetzte Stelle */
.filled { background: var(--accent); color: var(--fg); padding-block: 12px; font-size: 14px; }
.filled .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.filled b { font-weight: 600; }
.textlink { font-size: 14px; text-underline-offset: 3px; }
.checks-head { font-weight: 600; margin: 4px 0 12px; }
.checks + .checks-head { margin-top: 26px; }
.done li:has(> a) { padding: 0; }
.done li > a { display: grid; gap: 4px; align-content: start; padding: 16px 18px; text-decoration: none; color: inherit; height: 100%; }
.done li:has(> a):hover { border-color: var(--accent-ink); }
.done .go { font-size: 13px; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.quote blockquote strong { font-weight: 600; }
.h-note { font-size: .6em; color: var(--muted); white-space: nowrap; }

/* Zurück zur Übersicht */
.backlink { display: inline-block; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.backlink:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.apply .backlink-light { margin: 0; color: var(--band-fg); opacity: .8; }
.apply .backlink-light:hover { color: var(--band-fg); opacity: 1; }
