/* ═══════════════════════════════════════════════════════════════
   Dr. Eckerts Pflegekräftevermittlung
   Clean blue palette. Trust-focused. Mobile-first.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Primary blues — from the logo */
  --blue-dark:    #0a3778;
  --blue:         #1e5fb4;
  --blue-bright:  #2b80e0;
  --blue-light:   #6bb4f2;
  --blue-pale:    #e8f2fc;

  /* Accents */
  --cyan:         #29b6dc;
  --yellow:       #ffc043;

  /* Neutrals */
  --text:         #1a2540;
  --text-muted:   #536179;
  --text-soft:    #7a8599;
  --border:       #e0e7f0;
  --border-dark:  #c8d3e0;
  --bg:           #ffffff;
  --bg-soft:      #f6f9fc;
  --bg-alt:       #eef4fa;
  --white:        #ffffff;

  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 3px rgba(10, 55, 120, 0.06);
  --shadow:       0 4px 20px rgba(10, 55, 120, 0.08);
  --shadow-lg:    0 12px 40px rgba(10, 55, 120, 0.12);
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --container:    1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue-dark); }

/* Language switching */
body.de .lang-en { display: none; }
body.en .lang-de { display: none; }

/* ─── TOP BAR ────────────────────────────────────────────── */
.topbar {
  background: var(--blue-dark);
  color: white;
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.topbar-text { color: rgba(255, 255, 255, 0.85); }
.topbar-phone {
  color: white;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}
.topbar-phone:hover { color: var(--blue-light); }
.topbar-hours {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  margin-left: 4px;
}

/* ─── NAV ────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: block;
  flex-shrink: 0;
}
.nav-logo {
  height: 52px;
  width: auto;
  display: block;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.nav-links .nav-cta a {
  border-bottom: none;
}
.btn-cta-small {
  background: var(--blue);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 13px;
  transition: background 0.2s var(--ease);
}
.btn-cta-small:hover {
  background: var(--blue-dark);
  color: white !important;
  border-bottom: none !important;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
}
.lang-toggle a { color: var(--text-soft); border-bottom: none; }
.lang-toggle a.active { color: var(--blue); font-weight: 500; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  transition: transform 0.3s var(--ease);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue-dark) !important;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 4px 14px rgba(255, 192, 67, 0.35);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: #ffb020;
  color: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 192, 67, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue-dark) !important;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid var(--border-dark);
  transition: all 0.2s var(--ease);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}
.btn-ghost:hover::after { transform: translateX(3px); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #e8f2fc 0%, #f6f9fc 60%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(107, 180, 242, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}
.hero-text h1 em {
  color: var(--blue);
  font-style: normal;
  font-weight: 700;
}
.hero-text > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-checks {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.hero-checks li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-checks li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-phone-note {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 16px;
}
.hero-phone-note strong { color: var(--blue-dark); }

.hero-visual {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-visual-placeholder {
  color: rgba(10, 55, 120, 0.5);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-quote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 14px;
  color: var(--text);
  font-style: italic;
  border-left: 3px solid var(--blue);
}
.hero-quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: var(--text-soft);
}

/* ─── TRUST BANNER ───────────────────────────────────────── */
.trust-banner {
  background: var(--blue-dark);
  color: white;
  padding: 24px;
}
.trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.trust-inner span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-inner span::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  font-size: 16px;
}

/* ─── SECTION BASE ───────────────────────────────────────── */
section.block {
  padding: 80px 24px;
}
.block-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.block-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.block-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}
.block-head > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ─── SCHNELLANFRAGE WIZARD ──────────────────────────────── */
.wizard {
  background: var(--bg-alt);
}
.wizard-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 48px;
  border: 1px solid var(--border);
}
.wizard-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}
.wizard-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-alt);
  border-radius: 100px;
  transition: background 0.3s var(--ease);
}
.wizard-progress-bar.active { background: var(--blue); }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.wizard-hint {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.wizard-option {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.wizard-option:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}
.wizard-option.selected {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-dark);
}
.wizard-option-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}
.wizard-input-group {
  margin-bottom: 20px;
}
.wizard-input-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.wizard-input-group input,
.wizard-input-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s var(--ease);
}
.wizard-input-group input:focus,
.wizard-input-group select:focus {
  outline: none;
  border-color: var(--blue);
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.wizard-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
}
.wizard-back:hover { color: var(--blue); }
.wizard-back:disabled { opacity: 0.3; cursor: not-allowed; }
.wizard-next {
  background: var(--blue);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.wizard-next:hover { background: var(--blue-dark); }
.wizard-next:disabled { background: var(--text-soft); cursor: not-allowed; }
.wizard-success {
  text-align: center;
  padding: 20px 0;
}
.wizard-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}
.wizard-checks {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.wizard-checks li::before {
  content: '✓ ';
  color: var(--blue);
  font-weight: 700;
}

/* ─── PROMISE (Unsere Pflegekräftevermittlung — vom Flyer) ── */
.promise-block {
  background: var(--bg-soft);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.promise-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.promise-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-light);
  box-shadow: var(--shadow);
}
.promise-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}
.promise-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--blue-dark);
}
.promise-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
/* 3 on top, 2 centered below — cards 4 and 5 shift half a column right */
.promise-card:nth-child(4) {
  grid-column: 1 / 2;
  transform: translateX(50%);
}
.promise-card:nth-child(5) {
  grid-column: 2 / 3;
  transform: translateX(50%);
}
.promise-card:nth-child(4):hover,
.promise-card:nth-child(5):hover {
  transform: translateX(50%) translateY(-3px);
}
.promise-footer {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 20px;
}

/* Collapse 3+2 to single-column on mobile/tablet */
@media (max-width: 960px) {
  .promise-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .promise-card:nth-child(4),
  .promise-card:nth-child(5) {
    grid-column: auto;
    transform: none;
  }
  .promise-card:nth-child(4):hover,
  .promise-card:nth-child(5):hover {
    transform: translateY(-3px);
  }
  /* Card 5 spans both columns if it ends up alone on a row */
  .promise-card:nth-child(5):last-child { grid-column: 1 / -1; max-width: 520px; justify-self: center; }
}
@media (max-width: 540px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-card:nth-child(5):last-child { max-width: none; }
}

/* ─── PROCESS (3-step) ──────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 8px;
  position: relative;
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(30, 95, 180, 0.3);
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── FAMILY / QUOTE SECTION ────────────────────────────── */
.family-section {
  background: var(--blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.family-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  opacity: 0.5;
}
/* When .family-section is used in single-column / centered mode (team page philosophy block),
   suppress the decorative right-side gradient panel that creates a visible vertical seam. */
.family-section.is-centered::before { display: none; }
.family-section.is-centered .family-inner { grid-template-columns: 1fr; }
.family-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.family-img {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.family-img img { width: 100%; height: 100%; object-fit: cover; }
.family-text .kicker { color: var(--cyan); }
.family-text h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 24px;
}
.family-quote {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--yellow);
}
.family-cite {
  display: block;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 16px;
  font-style: normal;
}

/* ─── TRUST COLUMNS ──────────────────────────────────────── */
.trust-section { background: var(--bg-soft); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}
.trust-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--blue-dark);
}
.trust-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.trust-grid--centered .trust-card h3 {
  text-align: center;
}
.trust-grid--centered .trust-icon {
  margin-left: auto;
  margin-right: auto;
}

/* ─── KNOWLEDGE LINKS ───────────────────────────────────── */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.knowledge-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.knowledge-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.knowledge-tag {
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}
.knowledge-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--blue-dark);
  flex-grow: 1;
}
.knowledge-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.knowledge-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}

/* ─── FORMS (contact) ─────────────────────────────────────── */
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  padding: 44px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  background: white;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-submit {
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(255, 192, 67, 0.35);
}
.form-submit:hover {
  background: #ffb020;
  transform: translateY(-1px);
}
.form-note { margin-top: 16px; font-size: 13px; color: var(--text-soft); }
.form-success {
  background: #e8f8f0;
  border-left: 3px solid #2ea56a;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #1b6d43;
  border-radius: var(--radius-sm);
}
.form-error {
  background: #fae8e8;
  border-left: 3px solid #c0392b;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #8b2820;
  border-radius: var(--radius-sm);
}

/* ─── PAGE HEROES (internal pages) ───────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  padding: 70px 24px 60px;
  text-align: center;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero .kicker { color: var(--cyan); }
.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer-cta {
  background: var(--bg-alt);
  padding: 28px 24px;
  text-align: center;
}
.footer-cta-inner { max-width: 720px; margin: 0 auto; }
.footer-cta h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 8px;
}
.footer-cta p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-main {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 24px 20px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  max-width: 320px;
  object-fit: contain;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
.footer-col h3 {
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* ─── FOOTER social band ──────────────────────────────────── */
.footer-social {
  background: var(--bg-soft, #f4f7fb);
  padding: 28px 24px;
  border-top: 1px solid var(--border, #e3e9f2);
}
.footer-social-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-social-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
}
.footer-social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: white;
  border: 1px solid var(--border, #e3e9f2);
  transition: transform 0.18s var(--ease, ease), color 0.18s var(--ease, ease), box-shadow 0.18s var(--ease, ease);
}
.footer-social-icon:hover {
  color: var(--blue, #1a4480);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 55, 120, 0.12);
}
.footer-social-icon[data-pending]::after {
  content: "";
  display: none; /* placeholder hook — see footer.php data-pending attribute */
}

/* ─── LEGAL pages ─────────────────────────────────────────── */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin: 36px 0 14px;
  color: var(--blue-dark);
}
.legal-page h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--text);
}
.legal-page p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.75;
}
.legal-page ul { margin: 10px 0 20px 24px; color: var(--text-muted); font-size: 15px; }
.legal-page li { margin-bottom: 6px; }
.placeholder-note {
  background: #fff4d6;
  border-left: 3px solid #d4a017;
  padding: 16px 20px;
  margin-bottom: 30px;
  font-size: 13px;
  color: #6b4f0a;
  border-radius: var(--radius-sm);
}

/* ─── VERTRAG (digital contract retrieval) ────────────────── */
.vertrag-page {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 64px 24px 96px;
  min-height: 60vh;
}
.vertrag-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.vertrag-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.vertrag-logo img {
  max-width: 340px;
  width: 100%;
  height: auto;
}
.vertrag-page .kicker {
  margin-bottom: 10px;
}
.vertrag-page h1 {
  color: var(--blue-dark);
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.vertrag-lead {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.vertrag-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 32px 26px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(10, 55, 120, 0.06);
}
.vertrag-field {
  margin-bottom: 18px;
}
.vertrag-field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.vertrag-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: white;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.vertrag-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 180, 0.12);
}
.vertrag-input-mono {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vertrag-input-mono::placeholder {
  letter-spacing: 0.08em;
}

.vertrag-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(255, 192, 67, 0.35);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  margin-top: 4px;
  -webkit-appearance: none;
  appearance: none;
}
.vertrag-submit:hover {
  background: #ffb020;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 192, 67, 0.45);
}
.vertrag-submit:active { transform: translateY(0); }

.vertrag-hint {
  font-size: 12px;
  color: var(--text-soft);
  margin: 14px 0 0;
  text-align: center;
  line-height: 1.5;
}
.vertrag-escape {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.vertrag-escape a {
  color: var(--blue);
  font-weight: 500;
}

@media (max-width: 540px) {
  .vertrag-page { padding: 48px 16px 72px; }
  .vertrag-card { padding: 24px 20px 22px; }
  .vertrag-logo img { max-width: 260px; }
}

/* ─── VERTRAG login alerts ────────────────────────────────── */
.vertrag-alert {
  max-width: 520px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  background: #e8f2fc;
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--blue-dark);
  text-align: left;
}
.vertrag-alert-error {
  background: #fae8e8;
  border-left-color: #c0392b;
  color: #8b2820;
}

/* ─── CONTRACT VIEW (vertrag-view.php) ────────────────────── */
.contract-page {
  background: var(--bg-soft);
  padding: 32px 20px 80px;
}
.contract-inner {
  max-width: 860px;
  margin: 0 auto;
}
.contract-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contract-ref {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contract-ref strong {
  color: var(--blue-dark);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.contract-user {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.contract-logout {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}
.contract-logout:hover { color: var(--blue); border-color: var(--blue-light); }

.contract-doc {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.contract-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--blue-pale);
  margin-bottom: 28px;
}
.contract-logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 14px;
}
.contract-header h1 {
  font-size: 28px;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.contract-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.contract-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.party {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.party h3 {
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.party h4 {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 12px 0 6px;
}
.party dl {
  margin: 0;
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 4px 8px;
  font-size: 13px;
}
.party dt { color: var(--text-muted); }
.party dd {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 500;
  word-break: break-word;
}

.contract-meta {
  background: var(--blue-pale);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 32px;
}
.contract-meta p { margin: 0 0 4px; color: var(--blue-dark); }
.contract-meta p:last-child { margin-bottom: 0; }

.contract-para {
  margin: 24px 0;
}
.contract-para h2 {
  font-size: 16px;
  color: var(--blue-dark);
  border-bottom: 2px solid var(--blue-light);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-weight: 700;
}
.contract-para h3 {
  font-size: 14px;
  color: var(--blue-dark);
  margin: 14px 0 6px;
}
.contract-para p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 8px;
}
.contract-para ol,
.contract-para ul {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  padding-left: 22px;
  margin: 8px 0;
}
.contract-para li { margin-bottom: 6px; }

.contract-choice .choice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  margin: 10px 0;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.contract-choice .choice:hover { border-color: var(--blue-light); background: var(--blue-pale); }
.contract-choice .choice input:checked + div,
.contract-choice .choice:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.contract-choice .choice input { margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); width: 18px; height: 18px; }

/* Kategorie picker rendered INSIDE § 16 Vergütung */
.contract-inline-choice {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.contract-inline-choice h3 {
  font-size: 13px;
  color: var(--blue-dark);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contract-inline-choice .choice-intro {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.contract-inline-choice .choice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  margin: 8px 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.contract-inline-choice .choice:hover { border-color: var(--blue-light); }
.contract-inline-choice .choice:has(input:checked) { border-color: var(--blue); background: #e8f2fc; }
.contract-inline-choice .choice input {
  margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); width: 18px; height: 18px;
}

/* Anlage Nr. 1 block — separate final acknowledgment */
.contract-anlage {
  margin-top: 24px;
  padding: 20px 22px;
  background: #fff7e6;
  border: 1.5px solid #f0d9a0;
  border-radius: var(--radius);
}
.contract-anlage h2 {
  border-bottom-color: #d4a017;
  color: #6b4f0a;
}
.contract-anlage .choice {
  background: white;
  margin: 8px 0;
}
.contract-anlage .anlage-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #7a6a3a;
  line-height: 1.55;
  font-style: italic;
}
.choice-label { font-weight: 600; color: var(--blue-dark); font-size: 14px; margin-bottom: 4px; }
.choice-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

.field-inline {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field-inline label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
/* Two inputs side by side (e.g. Ort + Datum). Stacks on narrow screens. */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 12px 0;
}
.field-row .field-inline { margin: 0; }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 4px; }
}
.contract-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: border-color 0.2s var(--ease);
}
.contract-input:focus { outline: none; border-color: var(--blue); }

/* Signature pad */
.contract-sign { background: var(--blue-pale); padding: 24px 26px; border-radius: var(--radius-lg); }
.sig-wrap {
  position: relative;
  background: white;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius);
  margin: 16px 0 8px;
  touch-action: none;
}
#sigPad {
  display: block;
  width: 100%;
  height: 180px;
  cursor: crosshair;
}
.sig-baseline {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 26px;
  height: 1px;
  background: var(--border-dark);
  pointer-events: none;
}
.sig-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-soft);
  font-style: italic;
  font-size: 14px;
  pointer-events: none;
  user-select: none;
}
.sig-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
}
.sig-clear:hover { color: #c0392b; border-color: #e0b2b2; }

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  cursor: pointer;
}
.agree input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }

.sig-submit {
  display: block;
  width: 100%;
  margin-top: 18px;
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 192, 67, 0.35);
  transition: all 0.2s var(--ease);
}
.sig-submit:hover { background: #ffb020; transform: translateY(-1px); }
.sig-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.sig-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .contract-doc { padding: 24px 18px; }
  .contract-parties { grid-template-columns: 1fr; }
  .contract-sign { padding: 18px 16px; }
  #sigPad { height: 150px; }
}

/* ─── Signed confirmation ─────────────────────────────────── */
.signed-confirm {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.signed-icon { margin-bottom: 18px; }
.signed-confirm h1 {
  font-size: 28px;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.signed-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.signed-sub strong { color: var(--blue-dark); font-family: 'SFMono-Regular', Consolas, monospace; letter-spacing: 0.1em; }
.signed-lead {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.signed-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.signed-tip {
  font-size: 12.5px;
  color: var(--text-soft);
  margin: 12px 0 0;
}
@media (max-width: 540px) {
  .signed-confirm { padding: 32px 20px; }
  .signed-confirm h1 { font-size: 22px; }
}

/* ─── GROUP / UMBRELLA HUB ────────────────────────────────── */
.group-hub {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
}
.hub {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 520px;
}
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hub-line {
  stroke: var(--border-dark);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  transition: stroke 0.3s var(--ease);
}
.hub-line-active {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: none;
}
.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  text-align: center;
  min-width: 240px;
  z-index: 3;
  box-shadow: 0 8px 28px rgba(10, 55, 120, 0.12);
}
.hub-center-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}
.hub-center-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
}

.hub-node {
  position: absolute;
  width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  z-index: 2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
  display: block;
}
.hub-node:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(10, 55, 120, 0.15);
}
.hub-node-tl { top: 0; left: 0; }
.hub-node-tr { top: 0; right: 0; }
.hub-node-bl { bottom: 0; left: 0; }
.hub-node-br { bottom: 0; right: 0; }

.hub-node-logo {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.hub-node-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s var(--ease);
}
.hub-node:hover .hub-node-logo img { transform: scale(1.03); }

.hub-node-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hub-node-tag {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.hub-node-arrow {
  font-size: 16px;
  color: var(--blue);
  font-weight: 500;
  transition: transform 0.25s var(--ease);
}
.hub-node:hover .hub-node-arrow { transform: translateX(4px); }

/* Current-site marker (the card for THIS site) */
.hub-node-current {
  background: var(--blue-pale);
  border-color: var(--blue);
  cursor: default;
}
.hub-node-current:hover {
  transform: none;
  box-shadow: none;
}
.hub-node-current-badge {
  font-size: 10px;
  color: var(--blue);
  background: white;
  border: 1px solid var(--blue);
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav { position: -webkit-sticky; position: sticky; top: 0; z-index: 200; }
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: white;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow);
    z-index: 300;
    display: none;
  }
  .site-nav.open .nav-links {
    display: flex;
  }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links .nav-cta { padding: 14px 24px; }
  .nav-links .btn-cta-small { display: inline-block; }
  .lang-toggle { padding: 14px 24px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 64px;
  }
  .hero-visual { height: 320px; }

  .family-inner { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px; }
  .family-img { aspect-ratio: 16/10; }

  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  section.block { padding: 56px 20px; }
  .wizard-card { padding: 28px 20px; }

  .topbar-inner { flex-direction: column; gap: 6px; text-align: center; padding: 10px 20px; }
  .trust-inner { gap: 16px; font-size: 13px; }

  /* Hub stacks vertically on mobile */
  .hub {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .hub-lines { display: none; }
  .hub-center,
  .hub-node {
    position: static;
    transform: none;
    width: 100%;
    max-width: 360px;
  }
  .hub-node:hover { transform: translateY(-2px); }
}

@media (max-width: 540px) {
  .hero-checks { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > * { justify-content: center; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-logo { height: 40px; }
  .footer-cta-actions { flex-direction: column; }
  .footer-cta-actions > * { justify-content: center; }
  .hub-center { padding: 20px 24px; min-width: 0; }
  .hub-center-logo { max-width: 180px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE + CROSS-BROWSER REFINEMENTS
   - iOS Safari / notched devices (safe-area, tap highlight, 16px inputs)
   - Tablet breakpoint (iPad portrait 768–960px)
   - Small phone breakpoint (≤ 380px)
   - Firefox / Safari / Chrome form control normalization
   ═══════════════════════════════════════════════════════════════ */

/* ─── Cross-browser baseline ──────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent iOS from shifting layout when URL bar shows/hides */
  min-height: 100%;
}

/* Kill the blue flash on tap in iOS/Android Chrome */
a, button, .wizard-option, .hub-node, .knowledge-card, .trust-card {
  -webkit-tap-highlight-color: transparent;
}

/* Buttons: normalize appearance across Safari/Firefox */
button, .wizard-option, .form-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Selects: hide the native arrow consistently and add our own */
.form-field select,
.wizard-input-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23536179' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* iOS Safari auto-zooms on focus when input font-size < 16px.
   Bump all form inputs to 16px on mobile to prevent that. */
@media (max-width: 768px) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .wizard-input-group input,
  .wizard-input-group select {
    font-size: 16px;
  }
}

/* Focus rings: explicit, accessible, visible in all browsers
   (replaces the removed outline with a keyboard-visible focus ring) */
a:focus-visible,
button:focus-visible,
.wizard-option:focus-visible,
.hub-node:focus-visible,
.knowledge-card:focus-visible,
.form-submit:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Safari sometimes ignores border-radius on images with object-fit;
   force GPU-rendered rounding. */
.hero-visual img,
.family-img img {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fix small rounding artefact in Safari when an SVG scales */
svg { max-width: 100%; }

/* ─── iOS safe-area insets (notch / dynamic island) ───────── */
.topbar-inner {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.nav-inner {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.footer-inner,
.footer-bottom {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

/* ─── Additional mobile tweaks (wizard + tap targets) ─────── */
@media (max-width: 960px) {
  /* Wizard on mobile: make options stack cleanly, no cramped 3-across */
  .wizard-card { padding: 24px 18px; }
  .wizard-options { grid-template-columns: 1fr 1fr; }
  .wizard-question { font-size: 18px; }

  /* Buttons get a minimum tap target of 44×44 per Apple HIG */
  .btn-primary, .btn-secondary, .btn-cta-small, .form-submit, .wizard-next {
    min-height: 44px;
  }

  /* Prevent the hero image from being too tall on landscape phones */
  .hero-visual { max-height: 60vh; }
}

/* ─── Tablet (iPad portrait, Surface, etc.) ───────────────── */
@media (min-width: 641px) and (max-width: 960px) {
  /* Give the knowledge grid a nicer 2x2 layout instead of stretching */
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  /* Trust cards work better as a 3-column row on tablet landscape,
     but fall back to a clean 2-column grid in portrait */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* Footer becomes a tidy 2x2 */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Hero: switch to stacked layout on tablet portrait so text doesn't
     get squeezed */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 24px 72px;
  }
  .hero-visual { height: 400px; }
  .hero-text { max-width: none; }
}

/* ─── Small phones (≤ 380 px) ─────────────────────────────── */
@media (max-width: 380px) {
  .topbar-inner { font-size: 12px; padding: 8px 14px; }
  section.block { padding: 48px 16px; }
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .nav-logo { height: 36px; }

  .wizard-options { grid-template-columns: 1fr; }
  .wizard-card { padding: 20px 14px; }
  .hero-inner { padding: 40px 16px 56px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-visual { height: 260px; }

  .footer-main { padding: 32px 16px 18px; }
  .footer-cta { padding: 24px 16px; }
  .form-wrap { padding: 24px 16px; }

  /* Hub card on tiny screens */
  .hub-node, .hub-center { max-width: 100%; }
  .hub-node-logo { height: 44px; }
}

/* ─── Landscape phones (short viewports) ──────────────────── */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-visual { height: 260px; }
  .hero-inner { padding: 32px 24px; }
}

/* ─── Footer social band — tighter on mobile ──────────────── */
@media (max-width: 640px) {
  .footer-social { padding: 20px 16px; }
  .footer-social-icons { gap: 14px; }
  .footer-social-icon { width: 40px; height: 40px; }
}

/* ─── Trust banner: smoother wrap on narrow screens ───────── */
@media (max-width: 640px) {
  .trust-banner { padding: 16px 18px; }
  .trust-inner {
    gap: 10px 18px;
    font-size: 12px;
    justify-content: flex-start;
  }
}

/* ─── aspect-ratio fallback for old Safari (<15.4) ─────────── */
@supports not (aspect-ratio: 1) {
  .hub { min-height: 560px; }
  .family-img { min-height: 480px; }
}

/* ─── Reduced motion: respect user preference ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .site-nav, .topbar, .footer-cta, .nav-toggle, .hub-lines { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
/* ════════════════════════════════════════════════════════════════
   BROCHURE PAGE — /broschuere.php
   Hero card + table of contents
   ════════════════════════════════════════════════════════════════ */

.brochure-hero {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 0;
}

.brochure-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--blue-dark);
  margin: 14px 0 20px;
  font-weight: 500;
}

.brochure-text > p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.brochure-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.brochure-checks li {
  position: relative;
  padding-left: 26px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 500;
}
.brochure-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--yellow);
  border-radius: 50%;
}
.brochure-checks li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-dark);
}

.brochure-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── The big preview card ─────────────────────────────────────── */
.brochure-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0a3778 0%, #051d44 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brochure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 55, 120, 0.25);
}

/* Subtle yellow plus-sign pattern */
.brochure-card-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 192, 67, 0.08) 1px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.brochure-card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.brochure-card-icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.brochure-card-kicker {
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 26px;
  text-transform: uppercase;
}

.brochure-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 500;
  color: white;
  margin: 0 0 24px;
}

.brochure-card-logo {
  display: block;
  width: 78%;
  max-width: 320px;
  height: auto;
  margin: 8px auto 24px;
}

.brochure-card-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  font-weight: 500;
  margin: 0;
}

/* ── Table of contents grid ────────────────────────────────────── */
.brochure-toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.brochure-toc-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: all 0.2s var(--ease);
}
.brochure-toc-item:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.brochure-toc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--yellow);
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.brochure-toc-item h3 {
  font-size: 17px;
  color: var(--blue-dark);
  margin: 0 0 8px;
}
.brochure-toc-item p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .brochure-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .brochure-checks {
    grid-template-columns: 1fr;
  }
  .brochure-toc {
    grid-template-columns: 1fr;
  }
  .brochure-card {
    aspect-ratio: 16 / 10;
  }
  .brochure-card-title {
    font-size: 32px;
  }
}

/* ── Homepage brochure teaser ──────────────────────────────────── */
.brochure-teaser-block {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}
.brochure-teaser {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.brochure-teaser-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--blue-dark);
  margin: 12px 0 16px;
  font-weight: 500;
  line-height: 1.1;
}
.brochure-teaser-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}
.brochure-teaser-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0a3778 0%, #051d44 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brochure-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 55, 120, 0.25);
}
.brochure-teaser-card .brochure-card-title {
  font-size: 32px;
}
.brochure-teaser-card .brochure-card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
}
@media (max-width: 800px) {
  .brochure-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brochure-teaser-card {
    aspect-ratio: 16 / 10;
  }
}

/* ════════════════════════════════════════════════════════════════
   GROUP HUB v2 — horizontal lockup (team.php)
   Replaces the old .hub diagram with dashed lines.
   ════════════════════════════════════════════════════════════════ */

.hub2 {
  background: #f5f7fb;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin-top: 32px;
}

/* ── Parent card (top) ─────────────────────────────────────────── */
.hub2-parent {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.hub2-parent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 36px;
  text-align: center;
  min-width: 380px;
}
.hub2-parent-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hub2-parent-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ── Thin divider between parent + children ────────────────────── */
.hub2-divider {
  height: 1px;
  background: #d8dde6;
  margin: 0 8% 32px;
}

/* ── 4 sister-company cards ────────────────────────────────────── */
.hub2-children {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hub2-child {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.2s var(--ease);
}
.hub2-child:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 55, 120, 0.08);
}
.hub2-child-logo {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hub2-child-logo img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}
.hub2-child-tag {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
}
.hub2-child-arrow {
  color: var(--blue);
  font-size: 13px;
  margin-top: 2px;
}

/* ── Current card ("Sie sind hier") ─────────────────────────────── */
.hub2-child-current {
  border: 2px solid var(--yellow);
  background: linear-gradient(180deg, #fff8e8 0%, white 70%);
  cursor: default;
}
.hub2-child-current:hover {
  border-color: var(--yellow);
  transform: none;
  box-shadow: none;
}
.hub2-child-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-dark);
  color: var(--yellow);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .hub2 {
    padding: 36px 20px;
  }
  .hub2-parent-card {
    min-width: 0;
    width: 100%;
    padding: 18px 20px;
  }
  .hub2-children {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hub2-child {
    padding: 18px 12px;
    gap: 10px;
  }
  .hub2-child-logo {
    height: 40px;
  }
  .hub2-child-logo img {
    max-height: 40px;
  }
}

/* ─── PFLEGEWISSEN HUB + ARTICLES ─────────────────────────────── */

/* Breadcrumb above article hero */
.breadcrumb {
  background: var(--bg-soft);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-soft);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}
.breadcrumb-sep {
  margin: 0 8px;
  color: var(--text-soft);
}

/* Article hero meta line (date + read time) */
.article-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* Article body typography */
.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.article-body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 26px;
  color: var(--blue-dark);
}
.article-body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--blue-dark);
}
.article-body p {
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--blue-dark);
}

/* Stub notice (placeholder for unwritten articles) */
.article-stub-notice {
  background: #fff8e6;
  border-left: 3px solid var(--yellow);
  padding: 16px 22px;
  margin-bottom: 30px;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
.article-stub-notice strong {
  color: var(--blue-dark);
}

/* Article grid on hub page */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.article-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 55, 120, 0.08);
}
.article-card h3 {
  font-size: 15.5px;
  color: var(--blue-dark);
  margin: 0 0 8px;
  line-height: 1.35;
}
.article-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 12px;
  flex-grow: 1;
}
.article-card-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.article-card-stub .article-card-cta {
  color: var(--text-soft);
  font-weight: 500;
}
.article-card-stub {
  opacity: 0.85;
}

/* ─── SCHNELLANFRAGE WIDE STYLES ───────────────────────────────── */
.schnellanfrage-progress {
  background: var(--bg-soft);
  border-radius: 6px;
  height: 8px;
  margin-bottom: 28px;
  overflow: hidden;
}
.schnellanfrage-progress-bar {
  background: var(--blue);
  height: 100%;
  transition: width 0.3s;
}
.schnellanfrage-step {
  display: none;
}
.schnellanfrage-step.is-active {
  display: block;
}
.schnellanfrage-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.schnellanfrage-option {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.schnellanfrage-option:hover {
  border-color: var(--blue-bright);
}
.schnellanfrage-option.is-selected {
  border-color: var(--blue);
  background: var(--blue-pale);
}
.schnellanfrage-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 12px;
}
.schnellanfrage-nav .btn-secondary,
.schnellanfrage-nav .btn-primary {
  flex: 1;
  max-width: 200px;
}

/* ─── REGION LANDING PAGE ──────────────────────────────────────── */
.region-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.region-card {
  display: block;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
.region-card:hover {
  border-color: var(--blue-bright);
  background: var(--blue-pale);
}

/* ─── HOME-PAGE PROCESS STEPS ──────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.process-step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.process-step-num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: var(--blue-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.process-step h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  color: var(--blue-dark);
}
.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.process-video-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 13px;
  background: var(--blue-pale);
  border: 1px solid #cfe4fa;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--blue-dark);
  text-align: left;
}
.process-video-note svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--cyan);
}

/* ─── HOME-PAGE FOUNDER QUOTE ──────────────────────────────────── */
.founder-quote-section {
  padding: 64px 0;
  background: var(--bg-soft);
}
.founder-quote-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.founder-quote-text {
  font-size: 21px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0 0 24px;
  border-left: none;
  padding: 0;
}
.founder-quote-cite {
  font-size: 14px;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ═══ Sticky mobile call bar (mobile only) ═══════════════════════ */
.mobile-callbar { display: none; }
@media (max-width: 720px) {
  .mobile-callbar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(10, 55, 120, 0.10);
  }
  .mobile-callbar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
  }
  .mobile-callbar .mcb-call { background: var(--yellow); color: var(--blue-dark); }
  .mobile-callbar .mcb-form { background: var(--blue-dark); color: #fff; }
  /* keep page content and footer clear of the fixed bar */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ═══ Cost cards (leistungen) ════════════════════════════════════ */
.cost-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 4px;
}
.cost-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.cost-card--accent {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.cost-card .cost-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
}
.cost-card--accent .cost-amount { color: var(--yellow); }
.cost-card .cost-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.cost-card--accent .cost-label { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 480px) {
  .cost-cards { grid-template-columns: 1fr; }
}

/* ═══ BEREICHS-WEICHE (gate.php) ══════════════════════════════════
   Two frosted panels over blurred photography. Navy = Familien,
   Türkis = Einrichtungen. Panels stack on mobile.
   ─────────────────────────────────────────────────────────────── */
.gate-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.gate-skip {
  position: absolute;
  left: -9999px;
}
.gate-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--bg);
  color: var(--blue-dark);
  padding: 10px 16px;
  border-radius: 6px;
}
.gate-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 32px;
  background: var(--bg);
}
.gate-logo img {
  display: block;
  width: auto;
  height: 42px;
}
.gate-head-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.gate-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
}
.gate-tel svg {
  width: 15px;
  height: 15px;
}
.gate-tel:hover {
  color: var(--blue);
}
.gate-langs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-soft);
}
.gate-langs a {
  color: var(--text-soft);
  text-decoration: none;
}
.gate-langs a.is-on {
  color: var(--blue-dark);
  font-weight: 500;
}

.gate-split {
  flex: 1 1 auto;
  display: flex;
  gap: 14px;
  padding: 0 14px 14px;
  min-height: 520px;
  background: var(--bg);
}
.gate-panel {
  position: relative;
  flex: 1 1 0;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.gate-photo {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.08);
}
.gate-veil {
  position: absolute;
  inset: 0;
  transition: opacity 0.45s ease;
}
.gate-panel--fam .gate-photo {
  background-color: #7b93b8;
}
.gate-panel--fam .gate-veil {
  background: rgba(232, 242, 252, 0.78);
  opacity: 1;
}
.gate-panel--b2b .gate-photo {
  /* Intentional solid panel — no photo. Soft gradient gives depth. */
  background-color: #a8d8cc;
  background-image: linear-gradient(150deg, #b8e0d5 0%, #93cabb 100%);
  filter: none;
  transform: none;
  inset: 0;
}
.gate-panel--b2b .gate-veil {
  background: rgba(233, 247, 242, 0.55);
  opacity: 1;
}
.gate-panel:hover .gate-veil,
.gate-panel:focus-visible .gate-veil {
  opacity: 0.72;
}
.gate-panel:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}
.gate-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.gate-kicker {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
}
.gate-title {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.1rem, 2.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--blue-dark);
}
.gate-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 22px 0;
  opacity: 0.55;
}
.gate-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 330px;
}
.gate-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: transform 0.45s ease;
}
.gate-go svg {
  width: 15px;
  height: 15px;
}
.gate-panel:hover .gate-go {
  transform: translateX(5px);
}
.gate-panel--fam .gate-kicker,
.gate-panel--fam .gate-go {
  color: var(--blue-dark);
}
.gate-panel--fam .gate-rule {
  background: var(--blue-dark);
}
.gate-panel--b2b .gate-kicker,
.gate-panel--b2b .gate-go {
  color: #0b5c4c;
}
.gate-panel--b2b .gate-title {
  color: #04342c;
}
.gate-panel--b2b .gate-rule {
  background: var(--teal, #0ea3a4);
}

.gate-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 32px 20px;
  font-size: 12px;
  color: var(--text-soft);
  background: var(--bg);
}
.gate-foot-links {
  display: inline-flex;
  gap: 16px;
}
.gate-foot a {
  color: var(--text-soft);
  text-decoration: none;
}
.gate-foot a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

@media (hover: hover) and (min-width: 861px) {
  .gate-panel:hover {
    flex: 1.15 1 0;
  }
}
@media (max-width: 860px) {
  .gate-head {
    padding: 14px 18px;
  }
  .gate-logo img {
    height: 34px;
  }
  .gate-split {
    flex-direction: column;
    min-height: 0;
    padding: 0 12px 12px;
    gap: 12px;
  }
  .gate-panel {
    min-height: 260px;
  }
  .gate-title {
    font-size: clamp(1rem, 4.6vw, 1.6rem);
  }
  .gate-foot {
    padding: 12px 18px 18px;
    justify-content: center;
    text-align: center;
  }
}

/* ═══ EINRICHTUNGEN (B2B one-pager) ═══════════════════════════════
   Own header/nav — deliberately separate from the family site.
   Türkis accent throughout.
   ─────────────────────────────────────────────────────────────── */
.b2b { margin: 0; background: var(--bg); }
.b2b-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.b2b-head-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.b2b-logo img { display: block; height: 40px; width: auto; }
.b2b-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.b2b-nav > a {
  color: var(--text);
  text-decoration: none;
}
.b2b-nav > a:hover { color: #0b5c4c; }
.b2b-cta {
  background: #0b5c4c;
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.b2b-cta:hover { background: #094a3e; }
.b2b-langs {
  display: inline-flex;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}
.b2b-langs a { color: var(--text-soft); text-decoration: none; }
.b2b-langs a.is-on { color: var(--blue-dark); font-weight: 500; }

.b2b-hero { position: relative; overflow: hidden; }
.b2b-hero-photo {
  position: absolute;
  inset: 0;
  /* Intentional solid panel — no photo. Soft gradient gives depth. */
  background-color: #a8d8cc;
  background-image: linear-gradient(150deg, #b8e0d5 0%, #93cabb 100%);
}
.b2b-hero-veil {
  position: absolute;
  inset: 0;
  background: rgba(233, 247, 242, 0.5);
}
.b2b-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 84px 24px 88px;
  text-align: center;
}
.b2b-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: #04342c;
  margin: 0 0 18px;
  line-height: 1.15;
}
.b2b-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: #3f6459;
  margin: 0 auto;
  max-width: 560px;
}
.b2b-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: #0b5c4c;
  margin-bottom: 16px;
}
.b2b-kicker--dark { color: #0b5c4c; }
.b2b-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.b2b-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  background: #0b5c4c;
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.b2b-btn:hover { background: #094a3e; transform: translateY(-1px); }
.b2b-btn--ghost {
  background: transparent;
  color: #04342c;
  border: 1px solid rgba(11, 92, 76, 0.35);
}
.b2b-btn--ghost:hover { background: rgba(255, 255, 255, 0.6); }
.b2b-btn--gold { background: var(--yellow); color: var(--blue-dark); }
.b2b-btn--gold:hover { background: #f0ad2c; }
.b2b-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.b2b-btn--outline:hover { background: rgba(255, 255, 255, 0.1); }

.b2b-strip {
  background: #0b5c4c;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 14px 24px;
  font-size: 14px;
}

.b2b-block { padding: 72px 0; }
.b2b-block--soft { background: var(--bg-soft); }
.b2b-block--dark { background: #04342c; }
.b2b-intl { background: var(--bg); }
.b2b-intl-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.b2b-intl-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-dark); margin: 10px 0 16px; }
.b2b-intl-text { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin: 0 auto 26px; max-width: 620px; }
.b2b-intl-regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.b2b-intl-regions span {
  font-size: 14px;
  font-weight: 500;
  color: #0b5c4c;
  background: #e1f5ee;
  padding: 8px 18px;
  border-radius: 22px;
}
.b2b-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.b2b-inner--narrow { max-width: 680px; text-align: center; }
.b2b-head-txt { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.b2b-head-txt h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 14px; }
.b2b-head-txt p { color: var(--text-muted); font-size: 16px; line-height: 1.75; margin: 0; }

.b2b-cards, .b2b-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.b2b-card, .b2b-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
}
.b2b-card {
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.b2b-card:hover {
  border-color: var(--teal, #0ea3a4);
  box-shadow: 0 0 0 1px var(--teal, #0ea3a4);
  transform: translateY(-2px);
}
.b2b-card--lead {
  border-color: var(--teal, #0ea3a4);
  box-shadow: 0 0 0 1px var(--teal, #0ea3a4);
}
.b2b-card-tag {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b5c4c;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}
.b2b-block--soft .b2b-card,
.b2b-block--soft .b2b-step { background: var(--bg); }
.b2b-card h3, .b2b-step h3 {
  font-size: 17px;
  color: var(--blue-dark);
  margin: 0 0 10px;
  text-align: center;
}
.b2b-card p, .b2b-step p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.b2b-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e1f5ee;
  color: #0b5c4c;
  font-weight: 500;
  font-size: 15px;
}
.b2b-block--dark h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 14px; }
.b2b-block--dark .b2b-kicker { color: #5dcaa5; }
.b2b-lead { color: #9fd8c5; font-size: 16px; line-height: 1.7; margin: 0 auto 28px; max-width: 480px; }
.b2b-contact { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.b2b-hours { color: #7fb5a3; font-size: 13px; margin: 22px 0 0; }
.b2b-legal-links {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.b2b-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.b2b-legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.b2b-foot { background: #04342c; padding: 24px 0; }
.b2b-foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}
.b2b-foot-copy { color: rgba(255, 255, 255, 0.62); }
.b2b-foot-switch {
  margin-left: auto;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 192, 67, 0.5);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.b2b-foot-switch:hover {
  color: #ffcf6b;
  border-color: var(--yellow);
}

@media (max-width: 860px) {
  .b2b-head-inner { padding: 10px 18px; flex-wrap: wrap; gap: 12px; }
  .b2b-logo img { height: 32px; }
  .b2b-nav { gap: 14px; font-size: 13px; width: 100%; justify-content: center; flex-wrap: wrap; }
  .b2b-hero-inner { padding: 56px 20px 60px; }
  .b2b-strip { gap: 16px; font-size: 13px; }
  .b2b-block { padding: 48px 0; }
  .b2b-inner { padding: 0 18px; }
  .b2b-cards, .b2b-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .b2b-cards, .b2b-steps { grid-template-columns: 1fr; }
}

/* ── B2B: Direktvermittlung badge (hero) + statement band ────────── */
.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 18px;
  border-radius: 22px;
  background: #0b5c4c;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
}
.b2b-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

.b2b-statement { background: #0EA3A4; }
.b2b-statement-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 32px 34px;
  text-align: center;
}
.b2b-statement-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e6fbf6;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}
.b2b-statement-tag svg { width: 15px; height: 15px; }
.b2b-statement-text {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .b2b-statement-inner { padding: 24px 20px 28px; }
  .b2b-statement-text { font-size: 16px; }
  .b2b-badge { font-size: 12.5px; padding: 7px 14px; }
}

/* ── Footer: discreet switch to the institutions area ──────────── */
.footer-bottom { flex-wrap: wrap; }
.footer-switch {
  margin-left: auto;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 192, 67, 0.45);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.footer-switch:hover {
  color: #ffcf6b;
  border-color: var(--yellow);
}
@media (max-width: 700px) {
  .footer-switch {
    margin-left: 0;
    flex-basis: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
/* ── B2B image slider (Einrichtungen) ─────────────────────────── */
.b2b-slider-section { padding: 56px 0; background: var(--bg); }
.b2b-slider {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(4, 52, 44, 0.14);
}
.b2b-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.b2b-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.b2b-slide.is-active { opacity: 1; }
.b2b-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.b2b-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 28px 40px;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(4, 52, 44, 0.88) 0%, rgba(4, 52, 44, 0.55) 45%, rgba(4, 52, 44, 0) 100%);
}
.b2b-slide-cap strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
}
.b2b-slide-cap span {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}
.b2b-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #04342c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.b2b-slide-nav:hover { background: #fff; }
.b2b-slide-prev { left: 14px; }
.b2b-slide-next { right: 14px; }
.b2b-slide-dots {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 2;
}
.b2b-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.b2b-slide-dot.is-active { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) {
  .b2b-slider-section { padding: 40px 0; }
  .b2b-slider { max-width: none; margin: 0 16px; border-radius: 12px; }
  .b2b-slide-nav { width: 36px; height: 36px; }
}

/* ── B2B HERO SLIDER (full-width, Glocken-Apotheke style) ──────── */
.b2b-herolider {
  position: relative;
  width: 100%;
  height: clamp(480px, 72vh, 720px);
  overflow: hidden;
  background: #04342c;
}
.b2b-hs-track { position: absolute; inset: 0; }
.b2b-hs-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  background-size: cover;
  background-position: center 22%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.b2b-hs-slide.is-active { opacity: 1; }
.b2b-hs-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 14px rgba(3, 21, 72, 0.75);
}
.b2b-hs-cap strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}
.b2b-hs-cap span {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}
/* readability scrim over the images */
.b2b-hs-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 52, 44, 0.72) 0%, rgba(4, 52, 44, 0.3) 24%, rgba(4, 52, 44, 0) 46%);
  z-index: 1;
}
.b2b-hs-overlay {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.b2b-hs-box {
  max-width: 540px;
  color: #fff;
}
.b2b-hs-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: #9FE1CB;
  margin-bottom: 16px;
}
.b2b-hs-box h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
}
.b2b-hs-box .b2b-badge {
  margin-bottom: 18px;
}
.b2b-hs-box p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 26px;
  max-width: 480px;
}
.b2b-hs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.b2b-btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.b2b-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

.b2b-hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #04342c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.b2b-hs-nav:hover { background: #fff; }
.b2b-hs-prev { left: 18px; }
.b2b-hs-next { right: 18px; }
.b2b-hs-dots {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.b2b-hs-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.b2b-hs-dot.is-active { background: #fff; transform: scale(1.25); }
.b2b-hs-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 92, 76, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  padding: 9px 16px;
  border-radius: 22px;
  backdrop-filter: blur(2px);
}
.b2b-hs-badge svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 860px) {
  .b2b-herolider { height: clamp(420px, 74vh, 560px); }
  .b2b-hs-overlay { padding: 0 20px; align-items: flex-start; padding-top: 44px; }
  .b2b-hs-box { max-width: none; }
  .b2b-hs-nav { width: 38px; height: 38px; }
  .b2b-hs-prev { left: 10px; }
  .b2b-hs-next { right: 10px; }
  .b2b-hs-cap { left: 20px; right: 20px; bottom: 46px; max-width: none; text-align: left; }
}
