/* =========================================================
   MedEngel – Stylesheet der Website (ohne Footer)
   Schriften lokal gehostet (DSGVO-konform, keine Google-Server)
   ========================================================= */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #1F6B52;
  --green-dark: #17523F;
  --green-deep: #14231F;
  --green-brand: #2E895B;
  --mint: #DDEEE6;
  --mint-soft: #EEF6F2;
  --amber: #E8A33D;
  --amber-soft: #F3C77A;
  --ink: #14231F;
  --text: #3E4D48;
  --muted: #5B6B66;
  --line: #E2DED3;
  --line-strong: #C9C4B6;
  --bg: #F6F4EE;
  --white: #FFFFFF;
  --dark: #14231F;
  --dark-2: #1E3230;
  --on-dark: #C8D2CE;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --section: clamp(64px, 9vw, 112px);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 20px 50px rgba(20, 35, 31, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px;
}
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance;
}
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--green); }
p { margin: 0; text-wrap: pretty; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: 0 var(--section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--amber-soft); }

.h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); }
.h3 { font-size: clamp(22px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text); max-width: 36em; }
.muted { color: var(--text); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head > p { max-width: 420px; color: var(--text); font-size: 18px; }
.on-dark .section-head > p { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(31, 107, 82, .25); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-soft); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Header
   ========================================================= */
.topbar { background: var(--ink); color: #E9EEEC; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 12px; min-height: 44px; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.topbar .tag { padding: 2px 10px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 11px; letter-spacing: .08em; }
.topbar a { color: var(--amber-soft); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20,35,31,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.logo-word em { font-style: italic; font-weight: 500; color: var(--green); }
.logo-tag { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 13px; font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 72px); overflow-y: auto; }
.mobile-menu.is-open { display: block; }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-block: 12px 24px; }
.mobile-menu .m-link { padding: 15px 4px; font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }

@media (max-width: 1100px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
  .site-header .wrap { min-height: 70px; }
  .logo-mark { width: 32px; }
  .logo-word { font-size: 25px; }
  .logo-tag { font-size: 9px; letter-spacing: .1em; }
}

/* Mobile Schnellkontakt-Leiste */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(20,35,31,.08);
  }
  .quickbar .btn { min-height: 48px; padding: 0 12px; font-size: 15px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 6px 0 0; list-style: none; font-size: 15px; color: var(--text); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  aspect-ratio: 4 / 5; max-width: 100%;
  box-shadow: 0 1px 0 var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 20px 22px;
}
.card-salary { left: -36px; bottom: 48px; width: 272px; }
.card-salary .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-salary .amount { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--green); line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card-salary .note { font-size: 14px; color: var(--text); }
.badge-247 {
  position: absolute; right: -14px; top: 32px; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 24px rgba(20,35,31,.18);
}
.badge-247 svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-copy .btn-row .btn { width: 100%; }
  .card-salary { left: 12px; bottom: 12px; width: auto; right: auto; padding: 14px 16px; }
  .card-salary .amount { font-size: 32px; }
  .badge-247 { right: 12px; top: 12px; padding: 10px 14px; font-size: 13px; }
}

/* Seiten-Hero (Unterseiten) */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero .copy { display: flex; flex-direction: column; gap: 22px; }
.page-hero .media { border-radius: var(--r-lg); overflow: hidden; background: #fff; aspect-ratio: 5 / 4; }
.page-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.simple .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .page-hero .btn-row .btn { width: 100%; } }

/* =========================================================
   Zielgruppen-Weiche
   ========================================================= */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.split-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px); border-radius: 24px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.split-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.split-card .t { display: flex; flex-direction: column; gap: 6px; }
.split-card .k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.split-card .h { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; }
.split-card .s { font-size: 16px; }
.split-card .arrow { width: 54px; height: 54px; flex-shrink: 0; border-radius: 999px; display: grid; place-items: center; }
.split-card .arrow svg { width: 24px; height: 24px; }
.split-card.pk { background: var(--green); color: #fff; }
.split-card.pk .k { color: #BFE0D3; } .split-card.pk .s { color: #D5EAE1; }
.split-card.pk .arrow { background: var(--amber); color: var(--ink); }
.split-card.ei { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.split-card.ei .k { color: var(--green); } .split-card.ei .s { color: var(--text); }
.split-card.ei .arrow { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Karten-Raster
   ========================================================= */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--text); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.card .icon svg { width: 26px; height: 26px; }
.card-plain { border-color: var(--line-strong); background: transparent; }

.on-dark { background: var(--dark); color: #F6F4EE; }
.on-dark h2, .on-dark h3 { color: #F6F4EE; }
.on-dark .card { background: var(--dark-2); border-color: transparent; }
.on-dark .card p { color: var(--on-dark); }
.on-dark .card .icon { background: rgba(243,199,122,.12); color: var(--amber-soft); }
.on-dark h2 em { color: var(--amber-soft); }

/* Schritte */
.step-num { font-family: var(--font-display); font-size: 52px; font-weight: 600; color: var(--green); line-height: 1; }
.card h3.small { font-family: var(--font-body); font-size: 21px; font-weight: 700; letter-spacing: 0; }

/* =========================================================
   Verdienst-Band
   ========================================================= */
.band {
  margin-inline: clamp(8px, 2.5vw, 40px); border-radius: clamp(24px, 3vw, 40px);
  background: var(--green); color: #fff; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.band h2 { color: #fff; }
.band .eyebrow { color: #BFE0D3; }
.band .copy { display: flex; flex-direction: column; gap: 20px; }
.band .copy p { color: #D5EAE1; font-size: 18px; }
.band .big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.band .big b { font-family: var(--font-display); font-size: clamp(48px, 6vw, 72px); font-weight: 600; color: var(--amber-soft); line-height: 1; font-variant-numeric: tabular-nums; }
.band .big span { font-size: 18px; color: #D5EAE1; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 500; font-size: 16px; line-height: 1.3; }
.perks svg { width: 20px; height: 20px; color: var(--amber-soft); flex-shrink: 0; }
@media (max-width: 960px) { .band { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .perks { grid-template-columns: minmax(0, 1fr); } .band .btn-row .btn { width: 100%; } }

/* =========================================================
   Fachbereiche
   ========================================================= */
.area { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.area .ph { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #fff; }
.area .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.area:hover .ph img { transform: scale(1.03); }
.area h3 { font-size: 23px; }
.area p { font-size: 16px; color: var(--text); }
.area-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.area-list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; }
.area-list svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
@media (max-width: 900px) { .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .area-list { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Über uns / Zitat
   ========================================================= */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.about .ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: #fff; }
.about .ph img { width: 100%; height: 100%; object-fit: cover; }
.about .copy { display: flex; flex-direction: column; gap: 22px; }
.quote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 17px; color: var(--green); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Formulare
   ========================================================= */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-wrap .copy { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,107,82,.14); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt-Kacheln */
.contact-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-tiles .card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.contact-tiles .card a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-tiles .card a:hover { color: var(--green); }
.contact-tiles dl { margin: 0; display: grid; gap: 10px; }
.contact-tiles dt { font-size: 13px; color: var(--muted); }
.contact-tiles dd { margin: 0; font-size: 17px; }
@media (max-width: 900px) { .contact-tiles { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--green); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--text); }

/* =========================================================
   Abschluss-CTA
   ========================================================= */
.cta {
  margin: 0 clamp(8px, 2.5vw, 40px) var(--section); border-radius: clamp(24px, 3vw, 40px);
  background: var(--amber); color: var(--ink); padding: clamp(36px, 5vw, 72px) clamp(22px, 5vw, 80px);
  display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap;
}
.cta .copy { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.cta p { font-size: 19px; }
.cta .btns { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 560px) { .cta .btns { width: 100%; } .cta .btn { width: 100%; } }

/* Werte-Kacheln */
.values .card h3 { font-size: 24px; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 10px; }
.legal a { word-break: break-word; }
.notice { background: #FFF6E6; border: 1px solid #F0D29B; border-radius: 16px; padding: 18px 20px; color: #5A4318; font-size: 15px; margin-bottom: 28px; }

/* Danke-Seite */
.thanks { text-align: center; max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.thanks .icon { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; }
.thanks .icon svg { width: 36px; height: 36px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Erweiterungen (Zuschläge, Rechner, Portal, Prämien, Artikel)
   ========================================================= */
.note { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 70ch; }
.on-dark .note { color: var(--on-dark); }

/* Zuschläge */
.night { padding: clamp(22px, 3vw, 32px); margin-bottom: 20px; }
.night-head { display: flex; gap: 16px; align-items: center; }
.night-head p { margin-top: 4px; }
.timeline { display: flex; gap: 6px; margin-top: 8px; }
.timeline .seg { border-radius: 14px; padding: 16px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.timeline .seg b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1; }
.timeline .seg span { font-size: 14px; font-weight: 600; }
.timeline .s25 { background: var(--mint); color: var(--green-dark); }
.timeline .s40 { background: var(--green); color: #fff; }
.surcharge-grid { gap: 20px; }
.surcharge { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.surcharge .pct { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 52px); font-weight: 600; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.surcharge .lbl { font-size: 17px; font-weight: 600; }
.surcharge.hi { background: var(--amber); border-color: var(--amber); }
.surcharge.hi .pct { color: var(--ink); }
@media (max-width: 1080px) { .surcharge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .surcharge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .timeline .seg { padding: 12px 10px; } .timeline .seg span { font-size: 12px; } }

.inline-cta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 24px 28px; border-radius: 22px; background: var(--mint-soft); border: 1px solid var(--mint); }
.inline-cta p { color: var(--text); margin-top: 4px; }

/* Mehrfachauswahl */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 8px; width: 100%; }
.choices legend span { font-weight: 400; color: var(--muted); }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--bg); font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chip-check span::before { content: ""; width: 16px; height: 16px; margin-right: 8px; border-radius: 5px; border: 1.5px solid var(--line-strong); background: #fff; flex-shrink: 0; }
.chip-check input:checked + span { background: var(--mint); border-color: var(--green); color: var(--green-dark); }
.chip-check input:checked + span::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--green); }
.chip-check input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Gehaltsrechner */
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.calc-in { gap: 18px; }
.calc-sub { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 8px 0 0; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc-grid label b { color: var(--green); font-weight: 700; }
.field small { font-size: 13px; color: var(--muted); }
.calc-out { position: sticky; top: 100px; background: var(--green); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.calc-out .eyebrow { color: #BFE0D3; }
.calc-total { font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px); font-weight: 600; color: var(--amber-soft); line-height: 1; font-variant-numeric: tabular-nums; }
.calc-hint { color: #D5EAE1; }
.calc-list { margin: 0; display: grid; gap: 8px; }
.calc-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.calc-list dt { color: #D5EAE1; }
.calc-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-note { font-size: 13px; color: #BFE0D3; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-out { position: static; } }
@media (max-width: 480px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Notfall */
.band.emergency { background: var(--dark); }
.band.emergency .eyebrow { color: var(--amber-soft); }
.band.emergency .eyebrow svg { width: 18px; height: 18px; }
.band.emergency .eyebrow::before { display: none; }
.emergency-steps { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.emergency-box { background: var(--amber); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.emergency-box .label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.big-tel { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.1; }
.big-tel svg { width: 32px; height: 32px; flex-shrink: 0; }
.emergency-box .btn-light-outline { border-color: rgba(20,35,31,.4); color: var(--ink); }
.emergency-box .btn-light-outline:hover { background: rgba(20,35,31,.08); color: var(--ink); }
.emergency-box .small { font-size: 14px; }

/* Mitarbeiterportal */
.portal-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.portal-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.quick .icon svg { width: 24px; height: 24px; }
.quick b { display: block; font-size: 17px; }
.quick small { color: var(--muted); font-size: 14px; }
.steps-inline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px; border-radius: 22px; background: var(--green); color: #fff; }
.steps-inline > div { display: flex; gap: 14px; align-items: flex-start; }
.steps-inline .n { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.steps-inline p { color: #D5EAE1; font-size: 15px; }
.steps-inline b { display: block; color: #fff; font-size: 16px; }
.steps-inline a { color: var(--amber-soft); }
.docs { display: grid; gap: 32px; padding-top: 16px; }
.doc-group { display: grid; gap: 12px; }
.doc-group h2 { display: flex; align-items: center; gap: 10px; }
.doc-group h2 svg { width: 24px; height: 24px; color: var(--green); }
.doc { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.doc-ico { width: 52px; height: 60px; border-radius: 10px; background: var(--mint-soft); border: 1px solid var(--mint); color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .06em; display: grid; place-items: center; flex-shrink: 0; }
.doc-body { flex: 1; min-width: 0; }
.doc-body h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.doc-body p { font-size: 15px; color: var(--text); margin-top: 2px; }
.doc-soon { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px dashed var(--line-strong); white-space: nowrap; }
@media (max-width: 900px) { .portal-hero .wrap { grid-template-columns: minmax(0, 1fr); } .steps-inline { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .portal-quick { grid-template-columns: minmax(0, 1fr); } .doc { flex-wrap: wrap; } .doc-soon { margin-left: 70px; } }

/* Prämien */
.prize-hero { background: var(--green); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 10px; }
.prize-hero .label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #BFE0D3; }
.prize-hero b { font-family: var(--font-display); font-size: clamp(48px, 6vw, 76px); font-weight: 600; color: var(--amber-soft); line-height: 1; }
.prize-hero .sub { color: #D5EAE1; }
.prize-amt { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 54px); font-weight: 600; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.prize-amt small { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.prize-amt.sm { font-size: 34px; }
.card.prize.hi { background: var(--amber); border-color: var(--amber); }
.card.prize.hi .prize-amt, .card.prize.hi .prize-amt small, .card.prize.hi p { color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.months span { aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 560px) { .months { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Kennzahlen */
.stat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 44px); font-weight: 600; color: var(--green); line-height: 1; }
.stat span { font-size: 15px; color: var(--text); }

/* Trends / Artikel */
.posts { gap: 20px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post p { color: var(--text); font-size: 16px; }
.post-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 13px; font-weight: 700; }
.post-meta { font-size: 14px; color: var(--muted); margin-top: auto; }
.article-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.article h1 { margin: 12px 0 8px; }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 40px 0 12px; }
.article p, .article li { color: var(--text); font-size: 18px; line-height: 1.7; }
.article p + p { margin-top: 12px; }
.article ul { padding-left: 22px; }
.article .lead { margin-top: 16px; font-size: 20px; color: var(--ink); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--green); }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--mint-soft); font-weight: 700; }
.table-wrap td:last-child { font-weight: 700; color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap tr:last-child td { border-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.facts b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--green); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--text); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.article-cta { margin: 36px 0; padding: 24px; border-radius: 20px; background: var(--mint-soft); border: 1px solid var(--mint); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.article-cta p { margin: 0; }
.sources { font-size: 15px; }
.sources li { font-size: 15px; }
.sources-title { font-size: 20px !important; }

.card.prize h3 { font-size: clamp(20px, 1.7vw, 23px); hyphens: auto; overflow-wrap: anywhere; }

/* =========================================================
   Gehaltsrechner (Fragen-Assistent)
   ========================================================= */
.soft-notice { display: flex; gap: 10px; align-items: flex-start; max-width: 60ch; padding: 12px 16px; border-radius: 14px; background: #FFF6E6; border: 1px solid #F0D29B; color: #5A4318; font-size: 15px; line-height: 1.5; }
.soft-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.wizard { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 30px 60px rgba(20,35,31,.06); }
.wz-progress { display: grid; gap: 10px; margin-bottom: 26px; }
.wz-count { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.wz-track { height: 8px; border-radius: 999px; background: var(--mint); overflow: hidden; }
.wz-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--green-brand)); transition: width .35s ease; }
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.wz-step legend { padding: 0; margin-bottom: 18px; }
.wz-step h2 { font-size: clamp(24px, 2.8vw, 32px); outline: none; }
.wz-help { color: var(--text); margin-top: -6px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span { display: flex; flex-direction: column; gap: 2px; min-height: 64px; justify-content: center; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--bg); transition: border-color .15s, background .15s, transform .15s; }
.opt.sm > span { align-items: center; min-height: 56px; padding: 10px; }
.opt b { font-size: 17px; }
.opt small { font-size: 14px; color: var(--muted); }
.opt:hover > span { border-color: var(--green); }
.opt input:checked + span { border-color: var(--green); background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:checked + span small { color: var(--green-dark); }
.opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.wz-inline { max-width: 340px; }
.wz-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wz-fields .wz-check { grid-column: 1 / -1; }
.stepper { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg); border: 1.5px solid var(--line-strong); }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 24px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 3px rgba(20,35,31,.12); }
.stepper button:hover { background: var(--mint); color: var(--green-dark); }
.stepper output { min-width: 56px; text-align: center; font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.wz-step > .stepper { justify-self: start; }
.stepper-list { display: grid; gap: 12px; }
.stepper-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); flex-wrap: wrap; }
.stepper-row b { display: block; font-size: 17px; }
.stepper-row small { color: var(--muted); font-size: 14px; }
.stepper-row .stepper { background: #fff; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.wz-result { display: grid; gap: 22px; }
.res-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--green); color: #fff; }
.res-head .eyebrow { color: #BFE0D3; }
.res-main { font-family: var(--font-display); font-size: clamp(48px, 7vw, 76px); font-weight: 600; line-height: 1; color: var(--amber-soft); margin-top: 8px; font-variant-numeric: tabular-nums; }
.res-sub { color: #D5EAE1; margin-top: 10px; font-size: 15px; }
.res-second { text-align: right; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.1); }
.res-second span { display: block; font-size: 13px; color: #BFE0D3; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.res-second b { font-family: var(--font-display); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.res-details h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 18px 0 10px; }
.res-details .calc-list div { border-bottom-color: var(--line); }
.res-details .calc-list dt { color: var(--text); }
.res-details .calc-list dd { color: var(--ink); }
.res-details .calc-list .sum { border-bottom: 0; padding-top: 6px; }
.res-details .calc-list .sum dt, .res-details .calc-list .sum dd { font-weight: 700; color: var(--ink); font-size: 17px; }
.res-details .plus-row dd { color: var(--green); }
.res-hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
.res-details .tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--green-soft, #E3F1EA); color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mj-notes { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #FFF6E5; border: 1px solid #F3DDB0; }
.mj-notes h3 { margin-top: 0 !important; color: #8A5A00 !important; }
.mj-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--text); }
.wz-result .calc-note { color: var(--muted); }
.seo-text .grid { margin-bottom: 32px; }
.seo-text .table-wrap { margin-top: 12px; }
.seo-article { max-width: 760px; margin-bottom: 36px; }
.seo-article h3 { margin: 24px 0 8px; }
@media (max-width: 720px) {
  .opt-grid { grid-template-columns: minmax(0, 1fr); }
  .opt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wz-fields { grid-template-columns: minmax(0, 1fr); }
  .res-head { grid-template-columns: minmax(0, 1fr); }
  .res-second { text-align: left; }
  .wz-nav .btn { flex: 1; }
}
#wz-result, #wizard { scroll-margin-top: 96px; }

/* Arbeitszeitrechner */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.az { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.az .wizard { max-width: none; margin: 0; display: grid; gap: 18px; }
.az-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.az-inputs input { font-size: 18px; }
.az-result { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.az-result div { padding: 18px 20px; border-radius: 18px; background: var(--mint-soft); border: 1px solid var(--mint); display: flex; flex-direction: column; gap: 4px; }
.az-result div:first-child { background: var(--green); border-color: var(--green); color: #fff; }
.az-result span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.az-result b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.az-result div:first-child b { color: var(--amber-soft); }
.az-result div:last-child b { color: var(--green); }
.az-month-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.az-total { display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--amber); }
.az-total span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.az-total b { font-family: var(--font-display); font-size: 26px; font-variant-numeric: tabular-nums; }
.az-table td, .az-table th { padding: 10px 12px !important; font-size: 15px; white-space: nowrap; }
.az-table td:last-child { color: inherit !important; }
.az-table input[type=date] { font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; background: var(--bg); }
.az-table .empty td { white-space: normal; color: var(--muted) !important; font-weight: 400 !important; text-align: center; padding: 22px !important; }
.az-del { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; font-size: 20px; cursor: pointer; }
.az-del:hover { background: #FDECEC; border-color: #E5A5A5; }
.quick.hi { background: var(--green); border-color: var(--green); color: #fff; }
.quick.hi small { color: #D5EAE1; }
.quick.hi .icon { background: var(--amber); color: var(--ink); }
.doc-tool { text-decoration: none; color: var(--ink); border-color: var(--green); background: var(--mint-soft); }
.doc-tool .doc-ico svg { width: 26px; height: 26px; }
.doc-tool .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 960px) { .az { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .az-inputs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .az-inputs .field:last-child { grid-column: 1 / -1; } .az-result { grid-template-columns: minmax(0, 1fr); } }
.az .wizard > * { min-width: 0; } .az .table-wrap { max-width: 100%; }
.table-wrap { position: relative; }

/* ---------- Tätigkeitsnachweis (Bildschirm) ---------- */
.tn .az-month-head { align-items: flex-end; flex-wrap: wrap; }
.tn-week { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 18px 0 8px; }
.tn-week .field { width: 110px; margin: 0; }
.tn-nav { min-width: 48px; padding-inline: 0; font-size: 22px; line-height: 1; }
.tn-range { color: var(--muted); font-size: 15px; padding-bottom: 12px; }
.tn-person { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 14px 0 22px; }
.tn-person .field { margin: 0; }
.tn-person .field:first-child { grid-column: 1 / -1; }
.tn-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tn-head, .tn-row { display: grid; grid-template-columns: 74px repeat(4, minmax(0, 1fr)) 76px minmax(0, 1.4fr); gap: 8px; align-items: center; padding: 8px 12px; }
.tn-head { background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.tn-row + .tn-row { border-top: 1px solid var(--line); }
.tn-row:nth-child(n+6) { background: rgba(232,168,56,.07); }
.tn-day b { display: block; font-size: 16px; color: var(--ink); }
.tn-day small { color: var(--muted); font-size: 13px; }
.tn-cell { display: block; min-width: 0; }
.tn-cell input { width: 100%; min-width: 0; padding: 9px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.tn-cell input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.tn-lbl { display: none; }
.tn-std output { display: block; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green); font-size: 16px; }
#tn-sheet { display: none; }
@media (max-width: 860px) {
  .tn-head { display: none; }
  .tn-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
  .tn-day { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
  .tn-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
  .tn-std { display: flex; flex-direction: column; justify-content: flex-end; }
  .tn-std output { text-align: left; padding: 9px 0; }
  .tn-person { grid-template-columns: 1fr; }
  .tn-week { gap: 8px; }
  .tn-week .field { width: 86px; }
  .tn-nav { min-width: 44px; }
  .tn-range { width: 100%; padding: 0; }
}

/* ---------- Tätigkeitsnachweis (Druck, A4 wie Originalformular) ---------- */
@media print {
  @page { size: A4; margin: 0; }
  body.has-tn-sheet { background: #fff !important; margin: 0; }
  body.has-tn-sheet > *:not(#tn-sheet) { display: none !important; }
  body.has-tn-sheet #tn-sheet { display: block !important; }
  #tn-sheet { width: 210mm; height: 296mm; padding: 10mm 13mm 8mm; box-sizing: border-box; font-family: Helvetica, Arial, sans-serif; color: #1B5B7F; -webkit-print-color-adjust: exact; print-color-adjust: exact; overflow: hidden; }
  #tn-sheet * { box-sizing: border-box; }
  #tn-sheet .pp-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8mm; }
  #tn-sheet .pp-left { width: 116mm; }
  #tn-sheet .pp-title { background: #1B5B7F; color: #fff; border-radius: 2mm; text-align: center; padding: 3.2mm 4mm 3mm; }
  #tn-sheet .pp-title h1 { margin: 0; font-size: 18pt; font-weight: 700; letter-spacing: .2pt; color: #fff; font-family: inherit; }
  #tn-sheet .pp-title p { margin: 1mm 0 0; font-size: 7pt; color: #fff; }
  #tn-sheet .pp-kw { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; margin-top: 5mm; }
  #tn-sheet .pp-kw div { background: #1B5B7F; border-radius: 2mm; display: flex; align-items: center; gap: 4mm; padding: 2mm 4mm; color: #fff; font-size: 10pt; }
  #tn-sheet .pp-kw span { flex: 1; background: #fff; color: #111; border-radius: 1.4mm; height: 7mm; line-height: 7mm; padding: 0 3mm; font-size: 11pt; font-weight: 700; }
  #tn-sheet .pp-addr { width: 70mm; text-align: center; font-size: 8pt; line-height: 1.55; display: flex; flex-direction: column; align-items: center; }
  #tn-sheet .pp-addr img { width: 70mm; height: auto; margin-bottom: 1.5mm; }
  #tn-sheet .pp-addr b { font-size: 8.5pt; letter-spacing: .3pt; }
  #tn-sheet hr { border: 0; border-top: .6mm solid #1B5B7F; margin: 4mm 0 4mm; }
  #tn-sheet .pp-box { background: #1B5B7F; border-radius: 2.5mm; padding: 5mm 6mm; }
  #tn-sheet .pp-line { display: flex; align-items: center; margin: 0 0 1.8mm; }
  #tn-sheet .pp-line:last-child { margin: 0; }
  #tn-sheet .pp-line b { width: 50mm; color: #fff; font-size: 10pt; }
  #tn-sheet .pp-line span { flex: 1; background: #fff; border-radius: 1.4mm; height: 7.6mm; line-height: 7.6mm; padding: 0 3mm; color: #111; font-size: 10.5pt; overflow: hidden; white-space: nowrap; }
  #tn-sheet .pp-tab { margin-top: 5mm; padding: 5mm 5mm; }
  #tn-sheet table { width: 100%; border-collapse: separate; border-spacing: 1mm; table-layout: fixed; }
  #tn-sheet thead th { color: #fff; font-size: 8.5pt; font-weight: 700; border: .3mm solid #fff; padding: 1.4mm 1mm; text-align: center; }
  #tn-sheet thead th small { display: block; font-size: 6.5pt; font-weight: 700; margin-top: .6mm; }
  #tn-sheet thead tr:first-child th:first-child { width: 13mm; }
  #tn-sheet tbody th { color: #fff; font-size: 8.5pt; border: .3mm solid #fff; height: 7.8mm; text-align: center; }
  #tn-sheet tbody td { background: #fff; border-radius: 1.2mm; height: 7.8mm; text-align: center; color: #111; font-size: 9.5pt; padding: 0 1mm; overflow: hidden; white-space: nowrap; }
  #tn-sheet tbody td.bem { text-align: left; font-size: 8pt; padding-left: 2mm; }
  #tn-sheet tbody tr.ges td.dark { background: #124763; }
  #tn-sheet tbody tr.ges td.light { background: #fff; font-weight: 700; }
  #tn-sheet thead tr:first-child th:nth-child(2) { width: 27mm; }
  #tn-sheet thead tr:first-child th:nth-child(5) { width: 17mm; }
  #tn-sheet thead tr:first-child th:nth-child(6) { width: 40mm; }
  #tn-sheet .pp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; margin-top: 5.5mm; font-size: 9.5pt; }
  #tn-sheet .pp-sig { border: .4mm solid #1B5B7F; border-radius: 2mm; height: 17mm; margin: 2mm 0 2mm; }
  #tn-sheet .pp-date { display: flex; align-items: center; gap: 5mm; }
  #tn-sheet .pp-date span { flex: 1; height: 8mm; border: .8mm solid #1B5B7F; border-radius: 2mm; }
  #tn-sheet .pp-foot { margin-top: 5mm; background: #1B5B7F; color: #fff; text-align: center; border-radius: 2mm; padding: 3mm; font-size: 8.5pt; font-weight: 700; line-height: 1.5; }
}
.az { grid-template-columns: minmax(0, 1fr); }
.az .az-single { max-width: 820px; width: 100%; justify-self: center; }
.tn-cell input[type=time] { padding-inline: 6px; }
.mj-konto { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--mint-soft, #E3F1EA); border: 1px solid var(--mint, #BFE0D3); }
.mj-konto h3 { margin-top: 0 !important; }
.mj-konto p { margin: 0; font-size: 15px; color: var(--text); }
.tn-cell input.tn-time { text-align: center; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tn-cell input.invalid { border-color: #D9534F; background: #FDF2F2; }
.doc-choice { align-items: flex-start; }
.doc-choice .btn-row { margin-top: 14px; }
.doc-reminder { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px !important; padding: 12px 14px; border-radius: 12px; background: #FFF6E5; border: 1px solid #F3DDB0; font-size: 14.5px !important; }
.doc-reminder svg { width: 20px; height: 20px; flex: none; color: #1F9D55; margin-top: 1px; }
.portal-hero .copy .btn { margin-top: 18px; }
/* Datenschutzerklärung (Dr. Schwenke) */
.dsg h2 { scroll-margin-top: 100px; }
.dsg ul { margin: 10px 0 14px; padding-left: 22px; list-style: disc; }
.dsg ul li { margin: 4px 0; }
.dsg ul.index { list-style: none; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; columns: 2 280px; column-gap: 32px; }
.dsg ul.index li { break-inside: avoid; margin: 0 0 8px; }
.dsg ul.index a { color: var(--green); text-decoration: none; }
.dsg ul.index a:hover { text-decoration: underline; }
.dsg ul.glossary { list-style: none; padding-left: 0; }
.dsg ul.glossary li { margin: 0 0 14px; }
.dsg .seal { font-size: 14px; }
.dsg .seal a { color: var(--muted); }
.dsg .dsg-note { margin: 6px 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--mint-soft, #E3F1EA); border: 1px solid var(--mint, #BFE0D3); }
