/* =========================================================================
   Sanora – „Werkplan“
   Papier, Tinte, Navy. Eine Akzentfarbe für Handlungen.
   ========================================================================= */

:root {
  --paper: #F4F2ED;
  --paper-2: #F9F8F5;
  --white: #FFFFFF;
  --ink: #0F1A26;
  --ink-2: #3A4552;
  --ink-3: #4A5563;
  --ink-4: #8A98A8;
  --navy: #00437B;
  --navy-dark: #062B4F;
  --sky: #E3EDF6;
  --sky-line: #A9C3DB;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --yellow: #F7C948;
  --line: #DCD7CC;
  --line-2: #C9C3B6;
  --ok: #1F8A4C;
  --err: #B42318;

  --f-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1440px;
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 40px;
  --shadow: 0 1px 2px rgba(15,26,38,.06), 0 12px 32px rgba(15,26,38,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .02em; }
.lead { font-size: clamp(17px, 1.1vw + 12px, 20px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.h-xl { font-weight: 800; font-size: clamp(38px, 3.4vw + 12px, 60px); line-height: 1; letter-spacing: -.035em; }
.h-lg { font-weight: 800; font-size: clamp(26px, 1.6vw + 14px, 40px); line-height: 1.05; letter-spacing: -.03em; }
.h-md { font-weight: 700; font-size: clamp(21px, .9vw + 14px, 28px); line-height: 1.15; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { flex-shrink: 0; }
.btn--lg { height: 60px; padding: 0 28px; font-size: 17px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #F2B91E; color: var(--ink); }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }

/* --- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244,242,237,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand svg { height: 30px; width: auto; }
.brand__sub { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); padding-left: 14px; border-left: 1px solid var(--line-2); }
.nav { display: flex; white-space: nowrap; gap: clamp(18px, 2.2vw, 32px); font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header-actions .btn { height: 48px; padding: 0 22px; font-size: 15px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 1320px) {
  .brand__sub, .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .site-header__inner { height: 68px; }
  .brand svg { height: 26px; }
  .nav, .header-actions .btn { display: none; }
  .header-actions { gap: 8px; }
  .header-phone { width: 48px; height: 48px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: block; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { display: block; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); }
  .mobile-nav .btn { margin: 16px var(--gutter) 20px; width: calc(100% - 2 * var(--gutter)); display: flex; border: 0; font-family: var(--f-body); font-size: 17px; color: #fff; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero__text { grid-column: span 6; display: flex; flex-direction: column; gap: 32px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 5.4vw + 8px, 92px); line-height: .94; letter-spacing: -.04em; }
.hero h1 span { color: var(--navy); }
.hero .lead { max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.hero__media { grid-column: 7 / span 6; position: relative; }
.hero__media img { width: 100%; height: clamp(320px, 42vw, 600px); object-fit: cover; border-radius: 28px; }
.hero__badge { position: absolute; left: -40px; bottom: 40px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.hero__badge-mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky); color: var(--navy); font-family: var(--f-display); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.hero__badge strong { display: block; font-weight: 600; font-size: 16px; }
.hero__badge small { display: block; font-size: 14px; color: var(--ink-3); }

@media (max-width: 960px) {
  .hero { padding-top: 28px; padding-bottom: 40px; }
  .hero__text, .hero__media { grid-column: 1 / -1; }
  .hero__text { gap: 24px; }
  .hero__badge { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .checks { flex-direction: column; }
}

/* --- Fakten ------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.facts span { font-size: 15px; color: var(--ink-3); }
@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { padding: 20px 16px; }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts strong { font-size: 18px; }
  .facts span { font-size: 14px; }
}

/* --- Partner ------------------------------------------------------------ */
.partners { margin-top: 72px; display: flex; flex-direction: column; gap: 40px; padding: 44px 48px 48px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.partners__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.partners__head p { max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.partners__list { padding-top: 32px; border-top: 1px solid #E6E2D9; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.partners__list li { display: flex; align-items: center; justify-content: center; height: 64px; }
.partners__list img { width: auto; height: var(--h); max-width: none; }
@media (max-width: 1200px) {
  .partners__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 760px) {
  .partners { margin-top: 0; padding: 0; background: none; border: 0; gap: 16px; }
  .partners__head p { font-size: 15px; }
  .partners__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; }
  .partners__list li { height: 76px; padding: 0 10px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); }
  .partners__list img { height: calc(var(--h) * .8); max-width: 100%; object-fit: contain; }
}

/* --- Leistungen --------------------------------------------------------- */
.section { padding-top: clamp(56px, 7vw, 128px); padding-bottom: clamp(56px, 6vw, 112px); }
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.services__intro { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.services__intro p { max-width: 440px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.services__intro img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--r-md); margin-top: 16px; }
.services__list { grid-column: 7 / span 6; border-top: 1px solid var(--ink); }
.services__list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.services__list img { width: 56px; height: 56px; }
.services__list h3 { font-weight: 700; font-size: clamp(21px, .9vw + 14px, 28px); letter-spacing: -.02em; margin-bottom: 8px; }
.services__list p { font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.services__list .link-arrow { padding-top: 8px; }
@media (max-width: 960px) {
  .services__intro, .services__list { grid-column: 1 / -1; }
  .services__intro img { display: none; }
  .services__list li { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; }
  .services__list img { width: 44px; height: 44px; }
  .services__list .link-arrow { grid-column: 2; padding-top: 0; }
}

/* --- Warum -------------------------------------------------------------- */
.why { margin: 0 clamp(8px, 2.2vw, 32px); padding: clamp(48px, 7vw, 112px) clamp(16px, 3.3vw, 48px) clamp(24px, 6vw, 96px); border-radius: clamp(28px, 3vw, 40px); background: var(--navy); color: #fff; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 5vw, 72px); }
.why > * { max-width: calc(var(--max) - 2 * var(--gutter)); }
.why h2 { grid-column: span 6; color: #fff; }
.why__lead { grid-column: 8 / span 5; align-self: end; font-size: 18px; line-height: 1.6; color: #D6E4F1; }
.why__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why__grid > div { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.28); }
.why__grid .mono { color: var(--yellow); }
.why__grid h3 { font-weight: 700; font-size: 24px; letter-spacing: -.015em; color: #fff; }
.why__grid p { font-size: 16px; line-height: 1.55; color: #D6E4F1; }
.why__photos { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.why__photos figure { position: relative; }
.why__photos img { width: 100%; height: clamp(260px, 30vw, 440px); object-fit: cover; border-radius: var(--r-md); }
.why__photos figcaption { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; }
@media (max-width: 960px) {
  .why h2, .why__lead { grid-column: 1 / -1; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__photos { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } .why__photos figure:last-child { display: none; } }

/* --- Ablauf ------------------------------------------------------------- */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 56px); }
.split-head h2 { max-width: 680px; }
.split-head p { max-width: 400px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.steps li { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 2.5vw, 36px); }
.step-num { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.steps h3 { font-weight: 700; font-size: clamp(21px, .7vw + 15px, 26px); }
.steps p { font-size: 16px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; gap: 12px; } .steps li { flex-direction: row; flex-wrap: wrap; gap: 12px 16px; align-items: center; } .step-num { width: 40px; height: 40px; font-size: 18px; } .steps h3 { flex: 1; } }

/* --- Lexikon + Karriere teaser ------------------------------------------ */
.duo > * { min-width: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding-bottom: clamp(56px, 7vw, 128px); }
.lex-teaser { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); background: var(--sky); }
.lex-teaser__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(64px, 5vw + 20px, 96px); line-height: .9; letter-spacing: -.05em; color: var(--navy); }
.lex-teaser h3 { font-weight: 700; font-size: clamp(24px, 1vw + 16px, 30px); line-height: 1.1; margin: 16px 0; }
.lex-teaser p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--white); color: var(--ink-3); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.search button { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font-weight: 600; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sky-line); font-size: 14px; color: var(--navy); }
.chips a:hover { background: var(--white); }
.job-teaser { position: relative; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; }
.job-teaser img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; }
.job-teaser__body { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 44px); background: var(--ink); }
.job-teaser h3 { font-weight: 800; font-size: clamp(28px, 1.6vw + 16px, 40px); line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.job-teaser p { max-width: 560px; font-size: 16px; line-height: 1.6; color: #C7D2DD; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .duo { grid-template-columns: minmax(0, 1fr); } .job-teaser { min-height: 0; } .job-teaser img { position: static; height: 220px; } }

/* --- Kontakt & Formular ------------------------------------------------- */
.contact { margin: 0 clamp(8px, 2.2vw, 32px); padding: clamp(40px, 6.5vw, 96px) clamp(16px, 3.3vw, 48px); border-radius: clamp(28px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.contact__info { grid-column: span 5; display: flex; flex-direction: column; gap: 32px; }
.contact__info h2 { font-weight: 800; font-size: clamp(34px, 2.8vw + 12px, 56px); line-height: 1; letter-spacing: -.035em; }
.contact__info > p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: center; gap: 8px; align-self: start; padding-top: 3px; font-family: var(--f-mono); font-weight: 500; font-size: 13px; color: var(--ink-3); }
.contact-list dd { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5; }
.contact-list dd a { font-weight: 600; font-size: 18px; }
.contact .form { grid-column: 7 / span 6; }
@media (max-width: 960px) { .contact__info, .contact .form { grid-column: 1 / -1; } .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--paper-2); font-weight: 400; font-size: 16px; width: 100%; }
.field textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,67,123,.18); background: #fff; }
.field input[type=file] { height: auto; padding: 12px 16px; }
.field small { font-weight: 400; color: var(--ink-3); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--err); }
.field__err { font-weight: 500; font-size: 13px; color: var(--err); }
.choice { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.choice legend { font-size: 14px; font-weight: 600; padding: 0 0 10px; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__opts label { position: relative; }
.choice__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__opts span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; cursor: pointer; }
.choice__opts input:checked + span { border: 1.5px solid var(--navy); background: var(--navy); color: #fff; font-weight: 500; }
.choice__opts input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { display: none; padding: 16px 18px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.5; }
.form__status[data-state="ok"] { display: block; background: #E7F4EC; color: #135C33; border: 1px solid #B6DEC5; }
.form__status[data-state="error"] { display: block; background: #FDECEA; color: #8A1C13; border: 1px solid #F4C3BD; }
.form .btn { align-self: flex-start; }
@media (max-width: 560px) { .form .btn { align-self: stretch; } }

/* --- Footer ------------------------------------------------------------- */
.site-footer { margin-top: clamp(56px, 6.5vw, 96px); padding: clamp(40px, 5vw, 72px) 0 48px; background: var(--ink); color: #C7D2DD; }
.site-footer__grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px 24px; }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { height: 34px; }
.site-footer__about p { margin-top: 16px; max-width: 360px; font-size: 15px; line-height: 1.6; }
.site-footer nav, .site-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer .mono { color: var(--ink-4); font-size: 12px; padding-bottom: 6px; }
.site-footer a { color: #E6ECF2; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__phone { font-weight: 600; font-size: 20px; color: #fff !important; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2A3746; font-size: 13px; color: var(--ink-4); }
.site-footer__bottom nav { flex-direction: row; gap: 20px; font-size: 13px; }
.site-footer__bottom a { color: #C7D2DD; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about, .site-footer__contact { grid-column: 1 / -1; } }
@media (max-width: 960px) { body.has-callbar .site-footer { padding-bottom: 120px; } }

/* --- Mobile Anruf-Leiste ------------------------------------------------ */
.callbar { display: none; }
@media (max-width: 960px) {
  .callbar { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 22px; background: var(--ink); box-shadow: var(--shadow); }
  .callbar .btn { height: 48px; padding: 0 12px; font-size: 15px; }
  .callbar .btn--ghost-light { border-color: rgba(255,255,255,.35); }
}

/* --- Unterseiten -------------------------------------------------------- */
.page-head { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { overflow-wrap: break-word; hyphens: auto; font-weight: 800; font-size: clamp(40px, 4.4vw + 8px, 76px); line-height: .98; letter-spacing: -.04em; max-width: 16ch; }
.page-head .lead { max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); } .crumbs a:hover { color: var(--navy); }

.prose { overflow-wrap: break-word; hyphens: auto; max-width: 760px; padding-bottom: clamp(56px, 6vw, 96px); font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 48px 0 12px; font-weight: 700; font-size: clamp(22px, .8vw + 16px, 28px); color: var(--ink); }
.prose h3 { margin: 32px 0 8px; font-weight: 700; font-size: 20px; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

.soft { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 12px; } }
.card-pad { padding: clamp(22px, 2.5vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.card-pad h3 { font-weight: 700; font-size: clamp(21px, .7vw + 15px, 26px); }
.card-pad p, .card-pad li { font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.card-pad ul { display: flex; flex-direction: column; gap: 8px; }
.card-pad ul li { display: flex; gap: 10px; }
.card-pad ul li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); font-family: var(--f-mono); font-weight: 500; font-size: 12px; }
.band-dark { background: var(--ink); color: #C7D2DD; }
.band-dark h2, .band-dark h3 { color: #fff; }

/* --- Lexikon --- */
.lex-bar { position: sticky; top: 80px; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lex-tools { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr) auto; grid-template-areas: "search cats count" "letters letters letters"; align-items: center; gap: 12px 20px; padding-top: 16px; padding-bottom: 16px; }
.lex-filters { display: contents; }
.lex-search { grid-area: search; height: 52px; padding: 0 20px; border: 1px solid var(--line); }
.lex-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--sky); }
.lex-search input::-webkit-search-cancel-button { cursor: pointer; }
.lex-chips { grid-area: cats; display: flex; flex-wrap: wrap; gap: 6px; }
.lex-chips--letters { grid-area: letters; gap: 4px; }
.lex-chip { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lex-chip:hover { border-color: var(--navy); color: var(--navy); }
.lex-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.lex-chip--letter { min-width: 36px; height: 34px; padding: 0 8px; border-radius: 10px; font-family: var(--f-mono); font-size: 13px; }
.lex-count { grid-area: count; color: var(--ink-3); white-space: nowrap; }

.lex-body { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 6vw, 96px); }
.lex-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lex-list > .lex-item:not([hidden]) ~ .lex-item:not([hidden]) { border-top: 1px solid var(--line); }
.lex-item summary { display: flex; align-items: center; gap: 16px; padding: 18px clamp(18px, 2.4vw, 32px); cursor: pointer; list-style: none; }
.lex-item summary::-webkit-details-marker { display: none; }
.lex-item summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; margin-left: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.lex-item[open] summary::after { transform: translateY(3px) rotate(-135deg); border-color: var(--navy); }
.lex-item summary:hover { background: var(--paper-2); }
.lex-item summary:focus-visible { outline-offset: -3px; }
.lex-term { flex: 1; min-width: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.lex-item[open] .lex-term { color: var(--navy); }
.lex-tag { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; }
.lex-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.lex-item[data-cat="heizung"] .lex-tag::before { background: var(--accent); }
.lex-item[data-cat="klima"] .lex-tag::before { background: var(--sky-line); }
.lex-item[data-cat="energie"] .lex-tag::before { background: var(--yellow); }
.lex-item p { max-width: 72ch; padding: 0 clamp(18px, 2.4vw, 32px) 22px; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--ink-2); }

.lex-empty { display: none; margin-top: 16px; padding: 28px clamp(18px, 2.4vw, 32px); border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.lex-empty[data-show="true"] { display: block; }
.lex-list:not(:has(.lex-item:not([hidden]))) { display: none; }
.lex-empty[data-show="true"] { margin-top: 0; }
.lex-empty a { font-weight: 600; white-space: nowrap; }

.lex-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); padding: clamp(22px, 2.5vw, 36px); background: var(--sky); border-color: var(--sky-line); }
.lex-cta > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.lex-cta .mono { color: var(--navy); }
.lex-cta p { color: var(--ink-2); }

@media (max-width: 960px) {
  .lex-bar { top: 68px; }
  .lex-tools { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search count" "cats cats" "letters letters"; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .lex-search { height: 46px; padding: 0 16px; }
  .lex-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .lex-chips::-webkit-scrollbar { display: none; }
  .lex-chip { height: 34px; padding: 0 12px; flex-shrink: 0; }
  .lex-chip--letter { height: 32px; min-width: 32px; padding: 0 6px; }
  .lex-count { font-size: 12px; }
}
@media (max-width: 560px) {
  .lex-item summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; }
  .lex-item summary .lex-term { grid-column: 1; grid-row: 1; }
  .lex-item summary .lex-tag { grid-column: 1; grid-row: 2; }
  .lex-item summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .lex-item p { padding: 0 16px 18px; font-size: 15.5px; }
  .lex-cta .btn-row, .lex-cta .btn { width: 100%; }
}

/* --- Karriere / Jobs --- */
.head-split { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 48px; align-items: end; }
.head-split__main { display: flex; flex-direction: column; gap: 24px; }
.page-head h1 .hl { color: var(--navy); }
.head-split .card-pad .btn { width: 100%; }
.photo-band--head img { height: clamp(260px, 30vw, 420px); }
@media (max-width: 960px) { .head-split { grid-template-columns: 1fr; } .head-split__main .btn-row .btn { flex: 1 1 100%; } }

.stack { display: flex; flex-direction: column; gap: 24px; }

/* Wörterbuch-Karten („Fei·er·a·bend, der“) */
.def h3 { font-size: clamp(24px, 1vw + 16px, 32px); }
.def__gender { font-weight: 400; color: var(--ink-3); }
.def__senses { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.def__senses li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.def__senses li::marker { font-weight: 700; color: var(--ink); }
.def__punch { font-weight: 600; color: var(--navy) !important; }
.def__punch--accent { color: var(--accent-dark) !important; }

/* Foto mit Unterschrift */
.photo-band { position: relative; margin-bottom: clamp(32px, 4vw, 56px); }
.stack .photo-band, .head-split .photo-band { margin-bottom: 0; }
.photo-band img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; border-radius: var(--r-md); }
.photo-band figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }
@media (max-width: 560px) { .photo-band figcaption { position: static; margin-top: 10px; padding: 0; background: none; border-radius: 0; color: var(--ink-3); } }

/* Vorteile-Liste */
.benefits { border-top: 1px solid var(--ink); }
.benefits li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); position: relative; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 21px; width: 20px; height: 20px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.benefits strong { font-family: var(--f-display); font-weight: 700; font-size: 19px; }
.benefits span { font-size: 16px; line-height: 1.6; color: var(--ink-3); }

/* Dunkle Karte */
.card.band-dark { border-color: var(--ink); align-self: start; }
.card-pad.band-dark p { color: #C7D2DD; }
.band-dark .mono { color: var(--yellow); }
.band-dark__strong { font-weight: 600; color: #fff !important; }

/* Frage-Antwort-Dialog (Jobs) */
.talk { margin: 0; display: flex; flex-direction: column; gap: 16px; max-width: 880px; }
.talk > div { display: flex; flex-direction: column; gap: 8px; }
.talk dt, .talk dd { max-width: 80%; padding: 14px 18px; border-radius: 20px; font-size: 17px; line-height: 1.5; }
.talk dt { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; }
.talk dd { margin: 0; align-self: flex-end; border-bottom-right-radius: 6px; background: var(--navy); color: #fff; }
@media (max-width: 560px) { .talk dt, .talk dd { max-width: 92%; font-size: 16px; } }

.form__hint { margin-top: -10px; font-size: 14px; }
