/* v4.1776168296 - g-fix */
/* ============================================================
   PERSONALNETZWERK OWL – v4.0 FINAL
   ============================================================ */
:root {
  --primary:  #0D1B3E;
  --accent:   #1565C0;
  --accent2:  #29B6F6;
  --surface:  #F4F7FB;
  --card:     #FFFFFF;
  --text:     #0D1B3E;
  --muted:    #6B7280;
  --border:   #E2E8F0;
  --font-h:   'Manrope', sans-serif;
  --font-b:   'DM Sans', sans-serif;
  --r-sm: 6px; --r-md: 14px; --r-lg: 22px;
  --shadow:   0 4px 24px rgba(13,27,62,.07);
  --shadow-h: 0 8px 40px rgba(21,101,192,.18);
  --brand-primary:  #0D1B3E;
  --brand-accent:   #1565C0;
  --brand-accent2:  #42A5F5;
  --brand-surface:  #F4F7FB;
  --brand-card:     #FFFFFF;
  --brand-text:     #0D1B3E;
  --brand-muted:    #6B7280;
  --brand-border:   #E2E8F0;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-b); background: var(--surface); color: var(--text); line-height: 1.65;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: geometricPrecision;
}
button, a, input, select, textarea, .btn, .nav-cta,
.form-submit, .pnowl-tb-btn, .pb-btn {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  text-rendering: geometricPrecision;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 800; line-height: 1.15; }

/* ── WRAPPER — alle Inhalte gleich zentriert ── */
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 60px; }

/* ── LABELS ── */
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.section-title { font-family: var(--font-h); font-size: clamp(1.4rem, 2.2vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; padding-bottom: .4rem; line-height: 1.35; overflow: visible; }
.section-sub   { color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 540px; margin-bottom: 2.5rem; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; padding: .95rem 2.2rem; border-radius: var(--r-sm); font-weight: 500; font-size: 1rem; cursor: pointer; border: none; font-family: var(--font-b); text-decoration: none; white-space: nowrap; transition: box-shadow .18s, opacity .18s; -webkit-font-smoothing: subpixel-antialiased; -moz-osx-font-smoothing: auto; text-rendering: geometricPrecision; letter-spacing: .01em; }
.btn:hover { opacity: .88; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(21,101,192,.35); }
.btn-primary:hover { box-shadow: 0 8px 28px rgba(21,101,192,.5); color: #fff; }
.btn-outline  { background: transparent; border: 2px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,.7); }

/* Menüleiste + Hero: siehe "MENÜLEISTE + HERO v2" am Ende der Datei */

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
/* Leistungen/Direktvermittlung: siehe "DIREKTVERMITTLUNG" weiter unten */

/* ══════════════════════════════════════════════
   ZEITARBEIT
   ══════════════════════════════════════════════ */
/* Styles: siehe "ZEITARBEIT-SEKTION v2" am Ende der Datei */

/* ══════════════════════════════════════════════
   JOBS
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════ */
.team-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 60px; }

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .7rem; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .76rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { padding: .68rem .88rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-b); font-size: .86rem; color: var(--text); background: var(--surface); outline: none; transition: border-color .18s; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 95px; }
.form-submit { width: 100%; padding: .85rem; background: var(--accent); color: #fff; border: none; border-radius: var(--r-sm); font-family: var(--font-b); font-size: .93rem; font-weight: 500; cursor: pointer; transition: opacity .18s; margin-top: .3rem; -webkit-font-smoothing: subpixel-antialiased; text-rendering: geometricPrecision; }
.form-submit:hover { opacity: .88; }
.form-note { font-size: .7rem; color: var(--muted); margin-top: .6rem; text-align: center; }

/* ══════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(13,27,62,.65); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--card); border-radius: var(--r-lg); width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; padding: 2.2rem; position: relative; animation: modalIn .28s ease; }
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: none; cursor: pointer; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.modal-box h2 { font-family: var(--font-h); font-size: 1.35rem; font-weight: 800; margin-bottom: .2rem; }
.modal-job-label { color: var(--accent); font-weight: 500; font-size: .86rem; margin-bottom: 1.6rem; }
.file-upload-area { border: 2px dashed var(--border); border-radius: var(--r-sm); padding: 1.25rem; text-align: center; cursor: pointer; transition: border-color .18s; }
.file-upload-area:hover { border-color: var(--accent); }
.file-upload-area p { font-size: .8rem; color: var(--muted); }
.success-box { text-align: center; padding: 2rem 0; }
.success-box .icon { font-size: 2.5rem; margin-bottom: .8rem; }
.success-box h3 { font-family: var(--font-h); font-size: 1.2rem; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   PAGE & TOAST & ANIMATIONS
   ══════════════════════════════════════════════ */
.page-hero { background: var(--primary); color: #fff; padding: 120px 48px 60px; }
.page-hero-inner { max-width: 1400px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-h); font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #fff; }
.page-content { max-width: 800px; margin: 0 auto; padding: 60px 48px; }
.page-content h2 { font-size: 1.3rem; margin: 2rem 0 .65rem; }
.page-content p  { margin-bottom: .9rem; color: var(--muted); }
.page-content a  { color: var(--accent); }

.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500; background: #fff; border-radius: var(--r-md); padding: .85rem 1.3rem; box-shadow: 0 8px 36px rgba(0,0,0,.14); display: flex; align-items: center; gap: .6rem; transform: translateY(calc(100% + 2rem)); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; max-width: 300px; font-size: .86rem; }
.toast.show { transform: none; opacity: 1; visibility: visible; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp .5s ease both; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .wrap, .team-inner, .footer-inner, .page-hero, .page-content { padding-left: 20px; padding-right: 20px; }
  #services, #jobs, #about, #team, #contact, #zeitarbeit { padding: 60px 0; }
  .section-title { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; word-break: normal !important; overflow-wrap: normal !important; }
  .form-row     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap, .team-inner, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .modal-box     { padding: 1.5rem; }
}

/* ── UNTERLÄNGEN SCHUTZ (g, j, p, q, y in Syne Font) ── */
h1, h2, h3, h4 {
  line-height: 1.35;
  padding-bottom: .1em;
  overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════
   ZEITARBEIT-SEKTION v2 – Redesign nach Referenz
   Einfach ans Ende von assets/css/main.css anhängen.
   Eigene Klassen (za-…), damit alte Regeln nicht reinfunken.
   ═══════════════════════════════════════════════════════════ */

#zeitarbeit.za-section {
  --za-blue: #4169E1;
  --za-blue-dark: #1E3A9E;
  --za-tint: #EEF2FC;
  --za-tint-2: #E3EAFB;
  --za-navy: #0E1A3A;
  --za-text: #5A6478;
  --za-line: #E4E9F4;

  background: #F7F9FD !important;
  padding: clamp(64px, 8vw, 104px) 0 !important;
  color: var(--za-text);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#zeitarbeit .za-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;               /* gleiche Ränder wie .wrap */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;
  box-sizing: border-box;
}

#zeitarbeit .za-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ─── Kopf ─── */
#zeitarbeit .za-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--za-blue);
  margin-bottom: 1.1rem;
}
#zeitarbeit .za-eyebrow::after {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--za-blue);
}
#zeitarbeit .za-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.1rem, 3.6vw, 3.2rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--za-navy);
  margin: 0 0 .9rem;
}
#zeitarbeit .za-intro {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--za-text);
  max-width: 44rem;
  margin: 0 0 2rem;
}

/* ─── Karten links ─── */
#zeitarbeit .za-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 1;
}
#zeitarbeit .za-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 1.6rem 1.15rem 1.9rem;
  background: #fff;
  border: 1px solid var(--za-line);
  border-left: 3px solid var(--za-blue);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 40, 100, .04), 0 10px 28px rgba(20, 40, 100, .06);
  margin: 0;
  flex: 1 1 auto;   /* Karten wachsen mit → unten bündig mit der Detail-Box */
}
#zeitarbeit .za-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--za-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#zeitarbeit .za-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--za-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#zeitarbeit .za-card-body h3 {
  font-family: var(--font-h);
  font-size: calc(1.15rem * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1.3;
  color: var(--za-navy);
  margin: 0 0 .4rem;
}
#zeitarbeit .za-card-body p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--za-text);
  margin: 0;
}

/* Pfeil-Button */
#zeitarbeit .za-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--za-tint);
  color: var(--za-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
#zeitarbeit .za-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#zeitarbeit .za-arrow:hover {
  background: var(--za-blue);
  color: #fff;
  transform: translateX(2px);
}
#zeitarbeit .za-arrow:focus-visible {
  outline: 3px solid var(--za-blue);
  outline-offset: 3px;
}

/* ─── Detail-Box rechts ─── */
#zeitarbeit .za-detail {
  position: relative;
  background: linear-gradient(180deg, #F2F5FD 0%, #EDF1FB 100%);
  border: 1px solid var(--za-line);
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
#zeitarbeit .za-d-body { display: flow-root; }
#zeitarbeit .za-illu {
  float: right;
  width: clamp(170px, 15vw, 240px);
  height: auto;
  margin: -.75rem -.75rem .75rem 1.5rem;
  pointer-events: none;
}
#zeitarbeit .za-detail-title {
  font-family: var(--font-h);
  font-size: calc(clamp(1.5rem, 2vw, 1.85rem) * var(--font-scale, 1));
  font-weight: 800;
  color: var(--za-navy);
  margin: 0 0 1.75rem;
  position: relative;
}
#zeitarbeit .za-detail-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.8rem;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--za-blue);
}
#zeitarbeit .za-d-p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--za-text);
  margin: 0 -.6rem 1.1rem;
  padding: .3rem .6rem;
  border-radius: 10px;
  position: relative;
}
#zeitarbeit .za-d-p:focus { outline: none; }

/* Tipp-Box */
#zeitarbeit .za-tip {
  margin-top: auto;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
  background: var(--za-tint-2);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
}
#zeitarbeit .za-tip:focus { outline: none; }
#zeitarbeit .za-tip-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #D2DDF8;
  display: flex;
  align-items: center;
  justify-content: center;
}
#zeitarbeit .za-tip-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--za-blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#zeitarbeit .za-tip-text {
  border-left: 2px solid #BFCFF3;
  padding-left: 1.6rem;
}
#zeitarbeit .za-tip-text p {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--za-text);
  margin: 0 0 .8rem;
}
#zeitarbeit .za-tip-text p:last-child { margin-bottom: 0; }
#zeitarbeit .za-tip-text strong {
  color: var(--za-navy);
  font-weight: 700;
}

/* Wellen-Übergang zur nächsten Sektion (wie bei Direktvermittlung) */
#zeitarbeit.za-section {
  position: relative;
  padding-bottom: calc(clamp(64px, 8vw, 104px) + clamp(60px, 8vw, 120px)) !important;
}
#zeitarbeit .za-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px, 8vw, 120px);
  pointer-events: none;
  z-index: 0;
}

/* Hervorhebung nach Klick auf einen Pfeil */
@keyframes zaFocusBg {
  0%, 35% { background-color: rgba(65, 105, 225, .14); }
  100%    { background-color: rgba(65, 105, 225, 0); }
}
@keyframes zaFocusRing {
  0%, 35% { box-shadow: 0 0 0 3px rgba(65, 105, 225, .45); }
  100%    { box-shadow: 0 0 0 3px rgba(65, 105, 225, 0); }
}
#zeitarbeit .za-d-p.za-focus { animation: zaFocusBg 1.8s ease-out; }
#zeitarbeit .za-tip.za-focus  { animation: zaFocusRing 1.8s ease-out; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  #zeitarbeit .za-wrap { grid-template-columns: minmax(0, 1fr); }
  #zeitarbeit .za-card { flex: 0 0 auto; }
  #zeitarbeit .za-illu { width: 200px; }
}

@media (max-width: 768px) {
  #zeitarbeit .za-wrap { padding: 0 20px; }
}
@media (max-width: 480px) {
  #zeitarbeit .za-wrap { padding: 0 16px; }
}

@media (max-width: 640px) {
  /* Mobil: Icon + Titel + Pfeil oben, Text volle Breite darunter */
  #zeitarbeit .za-card {
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    grid-template-areas: "icon title arrow" "text text text";
    column-gap: .9rem;
    row-gap: .75rem;
    padding: 1.1rem 1rem 1.15rem 1.1rem;
  }
  #zeitarbeit .za-card-body { display: contents; }
  #zeitarbeit .za-icon { grid-area: icon; width: 48px; height: 48px; border-radius: 12px; }
  #zeitarbeit .za-icon svg { width: 26px; height: 26px; }
  #zeitarbeit .za-card-body h3 { grid-area: title; font-size: 1.02rem; margin: 0; align-self: center; }
  #zeitarbeit .za-card-body p { grid-area: text; font-size: .92rem; }
  #zeitarbeit .za-arrow { grid-area: arrow; width: 40px; height: 40px; align-self: center; }
  #zeitarbeit .za-arrow svg { width: 18px; height: 18px; }

  #zeitarbeit .za-d-body { position: relative; }
  #zeitarbeit .za-illu { float: none; position: absolute; top: -.6rem; right: -.4rem; width: 100px; margin: 0; }
  #zeitarbeit .za-detail-title { margin-bottom: 3.4rem; }

  #zeitarbeit .za-tip { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.25rem; }
  #zeitarbeit .za-tip-icon { width: 48px; height: 48px; }
  #zeitarbeit .za-tip-icon svg { width: 24px; height: 24px; }
  #zeitarbeit .za-tip-text { padding-left: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  #zeitarbeit .za-arrow { transition: none; }
  #zeitarbeit .za-arrow:hover { transform: none; }
  #zeitarbeit .za-d-p.za-focus,
  #zeitarbeit .za-tip.za-focus { animation-duration: .01s; }
}

/* ═══════════════════════════════════════════════════════════
   DIREKTVERMITTLUNG – ersetzt „Unsere Leistungen“
   ═══════════════════════════════════════════════════════════ */

#services.dv-section {
  --dv-blue: #4169E1;
  --dv-blue-dark: #3456C8;
  --dv-tint: #EEF2FC;
  --dv-navy: #0E1A3A;
  --dv-text: #5A6478;
  --dv-soft: #7C8DB5;
  --dv-line: #E4E9F4;

  position: relative;
  overflow: hidden !important;      /* Deko darf nicht seitlich rausragen */
  background: #F7F9FD !important;
  padding: clamp(64px, 8vw, 110px) 0 0 !important;
  color: var(--dv-text);
  overflow-wrap: break-word;
  hyphens: manual;
}

#services .dv-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

/* ─── Deko: Blasen & Punkte ─── */
#services .dv-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #EDF2FD, #DDE7FB);
  pointer-events: none;
}
#services .dv-blob-1 { width: 320px; height: 320px; left: -210px; top: 200px; }
#services .dv-blob-2 { width: clamp(140px, 13vw, 210px); height: clamp(140px, 13vw, 210px); right: 1.5%; top: 20px; }   /* kleiner und komplett sichtbar, nicht mehr oben abgeschnitten */
#services .dv-blob-3 { width: 300px; height: 300px; left: -200px; bottom: 120px; }
#services .dv-dots {
  position: absolute;
  z-index: 0;
  width: 60px;
  height: 120px;
  background-image: radial-gradient(#9FB6EA 1.8px, transparent 2px);
  background-size: 20px 20px;
  pointer-events: none;
}
#services .dv-dots-1 { left: 26px; top: 60px; width: 40px; height: 80px; opacity: .5; }
#services .dv-dots-2 { right: 26px; top: 640px; }

/* ─── Gemeinsame Typo ─── */
#services .dv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dv-blue);
  margin-bottom: .6rem;
}
#services .dv-eyebrow-line-after::after,
#services .dv-eyebrow-line-before::before {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 2px;
  background: var(--dv-blue);
}
#services .dv-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.4rem, 4.2vw, 3.9rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 1.1rem;
  padding: 0 0 .06em;
}
#services .dv-dark { color: var(--dv-navy); }
#services .dv-blue { color: var(--dv-blue); }
#services .dv-sub {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.45;
  color: var(--dv-soft);
  max-width: 28em;
  margin: 0 0 1.8rem;
}
#services .dv-p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dv-text);
  margin: 0 0 1.3rem;
}

/* ─── Teil 1 ─── */
#services .dv-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
#services .dv-intro-text { max-width: 620px; }
#services .dv-media { position: relative; }
#services .dv-photo {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20, 40, 100, .35);
}
#services .dv-photo picture,
#services .dv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#services .dv-media-1 .dv-photo { aspect-ratio: 1.11 / 1; }
#services .dv-media-1 .dv-photo img { object-position: 40% 30%; }
#services .dv-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: #E3EBFC;
}
#services .dv-bubble-1 { width: 64px; height: 64px; left: 5%; top: -70px; }

/* Handschrift-Notiz */
#services .dv-note {
  position: absolute;
  z-index: 2;
  padding: 1.2rem 1.7rem 1.4rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px -14px rgba(20, 40, 100, .28);
  font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dv-blue);
  white-space: nowrap;
}
#services .dv-note-line {
  display: block;
  width: 56px;
  height: 2px;
  margin: .45rem 0 0 auto;
  border-radius: 2px;
  background: var(--dv-blue);
}
#services .dv-note-1 { top: -64px; right: -34px; transform: rotate(-10deg); }
#services .dv-note-2 { bottom: -52px; right: -38px; transform: rotate(-10deg); }

/* ─── Teil 2: Karten ─── */
#services .dv-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
  margin-top: clamp(4rem, 7vw, 6.5rem);
  max-width: calc(1080px + 120px) !important;    /* Kartenbreite wie in der Vorlage (inkl. Seitenabstand) */
}
#services .dv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dv-line);
  border-radius: 18px;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  box-shadow: 0 1px 2px rgba(20, 40, 100, .04), 0 20px 44px -26px rgba(20, 40, 100, .22);
}
#services .dv-card-head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  margin-bottom: 1.4rem;
}
#services .dv-card-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: var(--dv-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dv-blue);
}
#services .dv-card-icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#services .dv-card-head .dv-eyebrow { margin: .35rem 0 .45rem; }
#services .dv-card-title {
  font-family: var(--font-h);
  font-size: calc(clamp(1.3rem, 1.8vw, 1.55rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--dv-navy);
  margin: 0;
  padding: 0;
}
#services .dv-card .dv-p { font-size: .92rem; line-height: 1.7; margin-bottom: 1.3rem; }
#services .dv-list-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dv-navy);
  margin: .9rem 0 1.15rem;
  padding: 0;
}
#services .dv-list {
  list-style: none;
  margin: 0 0 2.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .95rem;
}
#services .dv-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .91rem;
  line-height: 1.4;
  color: var(--dv-text);
  margin: 0;
}
#services .dv-check {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #DDE7FC;
  color: var(--dv-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
#services .dv-check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
#services .dv-btn,
#services .dv-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  height: 54px;
  padding: 0 1.9rem;
  border-radius: 10px;
  background: var(--dv-blue);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(65, 105, 225, .8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .005em;
  transition: background-color .2s ease;
}
#services .dv-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
#services .dv-btn:hover { background: var(--dv-blue-dark); }
#services .dv-btn:hover svg { transform: translateX(3px); }
#services .dv-btn:focus-visible { outline: 3px solid var(--dv-blue); outline-offset: 3px; }
#services .dv-btn-block { width: 100%; margin-top: auto; }
@supports (grid-template-rows: subgrid) {
  #services .dv-cards { grid-template-rows: repeat(6, auto); row-gap: 0; }
  #services .dv-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  #services .dv-card > * { align-self: start; }
  #services .dv-card > .dv-btn-block { align-self: end; margin-top: 0; }
}

/* ─── Teil 3 ─── */
#services .dv-band {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(6rem, 9vw, 8rem);
}
#services .dv-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(60px, 8vw, 120px);
  z-index: 0;
  pointer-events: none;
}
#services .dv-wave-top { top: 0; }
#services .dv-wave-bottom { bottom: 0; transform: scaleY(-1); }
#services .dv-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
#services .dv-bottom-text { max-width: 620px; }
#services .dv-title-2 { font-size: calc(clamp(2.2rem, 3.8vw, 3.5rem) * var(--font-scale, 1)); }
#services .dv-title-2 .dv-line1 { display: block; }
#services .dv-bottom-text .dv-btn { margin-top: .6rem; }
#services .dv-media-2 .dv-photo { aspect-ratio: 1.22 / 1; }
#services .dv-media-2 .dv-photo img { object-position: 55% 50%; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  #services .dv-intro,
  #services .dv-bottom { grid-template-columns: minmax(0, 1fr); }
  #services .dv-intro-text, #services .dv-bottom-text { max-width: 720px; }
  #services .dv-media { max-width: 680px; width: 100%; margin: 1.5rem auto 0; }
  #services .dv-dots-2 { display: none; }
}
@media (max-width: 900px) {
  #services .dv-cards { grid-template-columns: minmax(0, 1fr); max-width: 760px !important; }
  #services .dv-cards { grid-template-rows: none; row-gap: 1.25rem; }
  #services .dv-card { display: flex; grid-row: auto; }
  #services .dv-card > .dv-btn-block { margin-top: auto; }
}
@media (max-width: 768px) {
  #services .dv-wrap { padding: 0 20px; }
  #services .dv-blob, #services .dv-dots, #services .dv-bubble { display: none; }
  #services .dv-note-1 { top: -30px; right: 8px; }
  #services .dv-note-2 { bottom: -30px; right: 8px; }
  #services .dv-media-1 { margin-top: 3rem; }
}
@media (max-width: 640px) {
  #services .dv-card-head { grid-template-columns: 60px minmax(0, 1fr); gap: 1rem; }
  #services .dv-card-icon { width: 60px; height: 60px; border-radius: 14px; }
  #services .dv-card-icon svg { width: 30px; height: 30px; }
  #services .dv-card-head .dv-eyebrow { margin-top: .1rem; }
  #services .dv-list li { align-items: flex-start; font-size: .94rem; }
  #services .dv-check { width: 26px; height: 26px; }
  #services .dv-btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 54px; padding: .9rem 1.2rem; }
  #services .dv-note { font-size: 1.15rem; padding: .8rem 1.1rem 1rem; }
}
@media (max-width: 480px) {
  #services .dv-wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #services .dv-btn, #services .dv-btn svg { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   MENÜLEISTE + HERO v2 – Redesign nach Referenz
   ═══════════════════════════════════════════════════════════ */

:root {
  --hr-blue: #4169E1;
  --hr-blue-dark: #3456C8;
  --hr-tint: #EEF2FC;
  --hr-navy: #0E1A3A;
  --hr-text: #5A6478;
  --hr-line: #E4E9F4;
}

/* Anker-Sprünge landen unter der schwebenden Menüleiste */
section[id] { scroll-margin-top: 104px; }

/* ─── Menüleiste ─── */
#site-header {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 100;
  pointer-events: none;           /* nur die Leiste selbst ist klickbar */
}
#site-header .header-inner {
  pointer-events: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 76px;
  padding: 0 14px 0 32px;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border: 1px solid rgba(228, 233, 244, .9);
  border-radius: 18px;
  box-shadow: 0 8px 30px -12px rgba(20, 40, 100, .18);
  transition: box-shadow .25s ease;
}
#site-header.is-scrolled .header-inner { box-shadow: 0 14px 40px -14px rgba(20, 40, 100, .28); }

#site-header .site-logo-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
#site-header .site-logo-link img,
#site-header .custom-logo { max-height: 46px; width: auto; display: block; }
#site-header .logo-text { font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; color: var(--hr-navy); white-space: nowrap; }
#site-header .logo-text span { color: var(--hr-blue); }

#site-header .site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
}
#site-header .site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: .95rem;
  font-weight: 500;
  color: var(--hr-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
#site-header .site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--hr-blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}
#site-header .site-nav a:hover,
#site-header .site-nav a.is-active { color: var(--hr-blue); }
#site-header .site-nav a.is-active::after { transform: scaleX(1); }
#site-header .site-nav a:focus-visible { outline: 2px solid var(--hr-blue); outline-offset: 4px; border-radius: 4px; }

/* Weiße Schrift auf Blau: sauber rendern (kein Subpixel-Verschmieren, echte Schnitte) */
#site-header .nav-apply,
.hr-btn,
.mobile-menu a.mobile-apply {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: .005em;
}

#site-header .nav-apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.4rem;
  border-radius: 12px;
  background: var(--hr-blue);
  color: #fff !important;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(65, 105, 225, .7);
  transition: background-color .2s ease, transform .2s ease;
}
#site-header .nav-apply svg,
.hr-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
#site-header .nav-apply:hover { background: var(--hr-blue-dark); color: #fff; }
#site-header .nav-apply:hover svg,
.hr-btn:hover svg { transform: translateX(3px); }
#site-header .nav-apply:focus-visible { outline: 3px solid var(--hr-blue); outline-offset: 3px; }

#site-header .nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 0;
  border-radius: 12px;
  background: var(--hr-tint);
  cursor: pointer;
  flex-shrink: 0;
}
#site-header .nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--hr-navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
#site-header .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#site-header .nav-hamburger.open span:nth-child(2) { opacity: 0; }
#site-header .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 100px;
  left: 16px;
  right: 16px;
  z-index: 99;
  flex-direction: column;
  padding: .75rem 1.25rem 1.25rem;
  background: #fff;
  border: 1px solid var(--hr-line);
  border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(20, 40, 100, .35);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .85rem .25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--hr-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--hr-line);
}
.mobile-menu a.is-active { color: var(--hr-blue); }
.mobile-menu a.mobile-apply {
  margin-top: 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--hr-blue);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: .95rem;
}

/* ─── Hero ─── */
#hero.hr-section {
  position: relative;
  overflow: hidden;
  background: #F7F9FD;
  padding: 150px 0 56px;
  color: var(--hr-text);
  hyphens: manual;
  display: flex;
  flex-direction: column;
  min-height: clamp(760px, 94vh, 1000px);   /* auf großen Monitoren mehr Bühne fürs Foto */
}
#hero .hr-circle {
  position: absolute;
  z-index: 0;
  width: min(1240px, 76vw);
  aspect-ratio: 1;
  right: max(-300px, -16vw);
  top: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 40%, #EEF3FD 0%, #E6EDFC 58%, #E1E9FB 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 85%);
  pointer-events: none;
}
#hero .hr-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  /* bewusst NICHT position:relative – das Foto richtet sich an der ganzen Sektion aus */
}
#hero .hr-content { margin-top: auto; margin-bottom: auto; }

#hero .hr-content {
  position: relative;
  z-index: 2;
  max-width: min(690px, 52%);
}
#hero .hr-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hr-blue);
  margin-bottom: 1.4rem;
}
#hero .hr-h1 {
  font-family: var(--font-h);
  font-size: calc(clamp(2.6rem, 4.3vw, 4.6rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 1.6rem;
  padding: 0 0 .06em;
}
#hero .hr-h1 span { display: block; }
#hero .hr-h1-a { color: var(--hr-navy); }
#hero .hr-h1-b { color: var(--hr-blue); }
#hero .hr-sub {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: var(--hr-text);
  max-width: 34rem;
  margin: 0 0 2.2rem;
}

#hero .hr-btns { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 2.6rem; }
.hr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.7rem;
  border-radius: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hr-btn-primary,
.hr-btn-primary:visited {
  background: var(--hr-blue);
  color: #fff !important;
  box-shadow: 0 12px 26px -12px rgba(65, 105, 225, .75);
}
.hr-btn-primary:hover { background: var(--hr-blue-dark); color: #fff !important; }
.hr-btn-secondary,
.hr-btn-secondary:visited {
  background: #fff;
  color: var(--hr-blue) !important;
  border: 1.5px solid #D3DDF6;
}
.hr-btn-secondary:hover { border-color: var(--hr-blue); color: var(--hr-blue); }
.hr-btn:focus-visible { outline: 3px solid var(--hr-blue); outline-offset: 3px; }

#hero .hr-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.2rem 1.8rem;
}
#hero .hr-feat { display: flex; align-items: center; gap: .9rem; margin: 0; }
#hero .hr-feat-icon,
#hero .hr-stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hr-tint);
  color: var(--hr-blue);
}
#hero .hr-feat-icon { width: 58px; height: 58px; border-radius: 14px; }
#hero .hr-feat-icon svg { width: 28px; height: 28px; }
#hero .hr-feat-icon svg,
#hero .hr-stat-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#hero .hr-feat-text {
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--hr-navy);
  max-width: 7.5em;
}

/* Foto rechts – läuft links weich in den Hintergrund aus */
#hero .hr-photo {
  position: absolute;
  z-index: 1;
  top: 92px;                      /* beginnt direkt unter der Menüleiste */
  right: 0;
  bottom: 118px;                  /* endet hinter der Kennzahlen-Leiste */
  width: 60%;
  overflow: hidden;
  /* Foto sitzt im großen Kreis: links runde, weiche Kante – rechts und unten gerade */
  -webkit-mask-image: radial-gradient(ellipse 92% 130% at 90% 40%, #000 72%, rgba(0,0,0,.6) 81%, transparent 91%);
  mask-image: radial-gradient(ellipse 92% 130% at 90% 40%, #000 72%, rgba(0,0,0,.6) 81%, transparent 91%);
}
#hero .hr-photo picture { display: block; width: 100%; height: 100%; }
#hero .hr-photo img {
  display: block;
  width: 100%;
  height: 112%;                   /* leicht vergrößert – Personen wirken präsenter */
  object-fit: cover;
  object-position: 72% 0;
}

/* Kennzahlen-Leiste */
#hero .hr-stats {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 3.6rem 0 0;
  padding: 1.6rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(var(--hr-cols, 4), minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--hr-line);
  border-radius: 20px;
  box-shadow: 0 24px 50px -24px rgba(20, 40, 100, .25);
}
#hero .hr-stat {
  display: flex;
  align-items: flex-start;          /* oben bündig: alle Zahlen stehen auf einer Linie */
  gap: 1.1rem;
  padding: .4rem 1.6rem;
  margin: 0;
  min-width: 0;
}
#hero .hr-stat + .hr-stat { border-left: 1px solid var(--hr-line); }
#hero .hr-stat-icon { width: 68px; height: 68px; border-radius: 16px; }
#hero .hr-stat-icon svg { width: 32px; height: 32px; }
#hero .hr-stat-body { display: flex; flex-direction: column; min-width: 0; padding-top: .35rem; }
#hero .hr-stat-num {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--hr-navy);
  letter-spacing: -.01em;
}
#hero .hr-stat-label { font-size: .95rem; line-height: 1.45; color: var(--hr-text); margin-top: .2rem; }
#hero .hr-stats { align-items: start; }   /* Karten-Spalten nicht dehnen, Inhalte oben ausrichten */

/* ─── Responsive ─── */
@media (max-width: 1240px) {
  #site-header .site-nav { display: none; }
  #site-header .nav-hamburger { display: flex; }
  #site-header .header-inner { justify-content: space-between; }
  #site-header .nav-apply { margin-left: auto; }
}
@media (max-width: 1100px) {
  #hero.hr-section { display: block; min-height: 0; }
  #hero .hr-wrap { display: block; }
  #hero .hr-feats { flex-wrap: wrap; }
  #hero.hr-section { padding-top: 130px; }
  #hero .hr-circle { width: 120vw; right: -40vw; top: 30%; }
  #hero .hr-content { max-width: 680px; }
  #hero .hr-photo {
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: 100%;
    height: clamp(280px, 52vw, 520px);
    margin-top: 2.5rem;
    border-radius: 24px;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  #hero .hr-stats {
    margin-top: -56px;
    margin-left: 16px;
    margin-right: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.2rem;
  }
  #hero .hr-stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 768px) {
  #hero .hr-wrap { padding: 0 20px; }
  #hero.hr-section { padding-top: 120px; }
}
@media (max-width: 640px) {
  #site-header { top: 10px; left: 10px; right: 10px; }
  #site-header .header-inner { height: 66px; padding: 0 10px 0 18px; gap: 1rem; }
  #site-header .nav-apply { display: none; }
  #site-header .logo-text { font-size: 1.02rem; }
  #site-header .site-logo-link img, #site-header .custom-logo { max-height: 38px; }
  .mobile-menu { top: 84px; left: 10px; right: 10px; }
  section[id] { scroll-margin-top: 88px; }

  #hero.hr-section { padding-top: 110px; }
  #hero .hr-eyebrow { font-size: .75rem; letter-spacing: .14em; margin-bottom: 1rem; }
  #hero .hr-h1 { font-size: calc(clamp(2.3rem, 11vw, 3rem) * var(--font-scale, 1)); }
  #hero .hr-btns { flex-direction: column; gap: .75rem; }
  #hero .hr-btn { width: 100%; }
  #hero .hr-feats { flex-direction: column; gap: .9rem; }
  #hero .hr-feat-icon { width: 50px; height: 50px; border-radius: 12px; }
  #hero .hr-feat-icon svg { width: 24px; height: 24px; }
  #hero .hr-feat-text { max-width: none; }
  #hero .hr-photo { height: 300px; border-radius: 20px; }
  #hero .hr-stats { grid-template-columns: minmax(0, 1fr); margin: -40px 10px 0; padding: .6rem 1rem; row-gap: 0; }
  #hero .hr-stat { padding: .9rem .2rem; }
  #hero .hr-stat + .hr-stat { border-left: 0; border-top: 1px solid var(--hr-line); }
  #hero .hr-stat-icon { width: 52px; height: 52px; border-radius: 14px; }
  #hero .hr-stat-icon svg { width: 26px; height: 26px; }
  #hero .hr-stat-num { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  #hero .hr-wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #site-header .nav-apply svg, .hr-btn svg, #site-header .site-nav a::after { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   OFFENE STELLEN – Redesign nach Referenz
   ═══════════════════════════════════════════════════════════ */

#jobs.jb-section {
  --jb-blue: #4169E1;
  --jb-blue-dark: #3456C8;
  --jb-tint: #EEF2FC;
  --jb-navy: #0E1A3A;
  --jb-text: #5A6478;
  --jb-line: #E4E9F4;
  --jb-green-bg: #DDF5E8;
  --jb-green: #13794A;
  --jb-wave: clamp(70px, 9vw, 140px);

  position: relative;
  overflow: hidden !important;
  background: var(--surface, #F4F7FB) !important;
  /* unten Platz für die Welle – wächst automatisch mit der Anzahl der Stellen */
  padding: clamp(64px, 8vw, 100px) 0 calc(var(--jb-wave) + clamp(40px, 5vw, 64px)) !important;
  color: var(--jb-text);
  hyphens: manual;
}
#jobs .jb-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
#jobs .jb-dots {
  position: absolute;
  right: 28px;
  bottom: calc(var(--jb-wave) + 10px);
  width: 160px;
  height: 90px;
  background-image: radial-gradient(#C3D1EE 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* ─── Kopf ─── */
#jobs .jb-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 490px);
  gap: 2.5rem;
  align-items: start;
}
#jobs .jb-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--jb-blue);
  margin-bottom: .9rem;
}
#jobs .jb-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.3rem, 3.8vw, 3.4rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--jb-navy);
  margin: 0 0 .8rem;
  padding: 0 0 .06em;
}
#jobs .jb-sub {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
  color: var(--jb-text);
  margin: 0;
}

/* Initiativ-Box */
#jobs .jb-ini { position: relative; }
#jobs .jb-ini-deco {
  position: absolute;
  z-index: 0;
  border-radius: 14px;
  background: linear-gradient(160deg, #E4ECFC, #D7E3FA);
  opacity: .85;
}
#jobs .jb-ini-deco-1 { width: 52px; height: 98px; right: -20px; top: 56px; }
#jobs .jb-ini-deco-2 { width: 88px; height: 74px; right: 2px; bottom: -34px; }
#jobs .jb-ini-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, rgba(234, 240, 253, .95), rgba(242, 246, 254, .95));
  border-radius: 20px;
  box-shadow: 0 18px 40px -26px rgba(20, 40, 100, .3);
}
#jobs .jb-ini-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jb-blue);
}
#jobs .jb-ini-icon svg { width: 38px; height: 38px; }
#jobs .jb-ini-title {
  font-family: var(--font-h);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--jb-navy);
  margin: .2rem 0 .5rem;
  padding: 0;
}
#jobs .jb-ini-text { font-size: .97rem; line-height: 1.65; color: var(--jb-text); margin: 0 0 .7rem; }
#jobs .jb-ini-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--jb-blue);
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#jobs .jb-ini-link svg { width: 17px; height: 17px; transition: transform .2s ease; }
#jobs .jb-ini-link:hover svg { transform: translateX(3px); }
#jobs .jb-ini-link:focus-visible { outline: 2px solid var(--jb-blue); outline-offset: 3px; border-radius: 4px; }

/* alle Linien-Icons im Bereich */
#jobs svg:not(.jb-wave) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Filter ─── */
#jobs .jb-filter { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.9rem 0 1.8rem; }
#jobs .jb-filter-btn {
  height: 42px;
  padding: 0 1.4rem;
  border-radius: 100px;
  border: 1.5px solid #DCE4F3;
  background: #fff;
  color: var(--jb-blue);
  font-family: var(--font-b);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
#jobs .jb-filter-btn:hover { border-color: var(--jb-blue); }
#jobs .jb-filter-btn.is-active { background: var(--jb-blue); border-color: var(--jb-blue); color: #fff; }
#jobs .jb-filter-btn:focus-visible { outline: 3px solid var(--jb-blue); outline-offset: 2px; }

/* ─── Karten ─── */
#jobs .jb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1.4rem;
}
#jobs .jb-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1.3rem;
  padding: 1.5rem 1.4rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--jb-line);
  border-left: 3px solid var(--jb-blue);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 40, 100, .04), 0 12px 30px -20px rgba(20, 40, 100, .18);
  animation: jbIn .35s ease both;
}
#jobs .jb-card[hidden] { display: none; }
#jobs .jb-grid.jb-one { grid-template-columns: minmax(0, 1fr); }   /* per JS, wenn die Info-Zeile sonst nicht passt */
@keyframes jbIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#jobs .jb-card-icon {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  background: var(--jb-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jb-blue);
}
#jobs .jb-card-icon svg { width: 42px; height: 42px; }
#jobs .jb-card-body { min-width: 0; }
#jobs .jb-badge {
  display: inline-block;
  padding: .28rem .8rem;
  border-radius: 100px;
  background: var(--jb-green-bg);
  color: var(--jb-green);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .65rem;
}
#jobs .jb-card-title {
  font-family: var(--font-h);
  font-size: calc(clamp(1.15rem, 1.45vw, 1.35rem) * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1.3;
  color: var(--jb-navy);
  margin: 0 0 .75rem;
  padding: 0;
  overflow-wrap: anywhere;
}
#jobs .jb-meta {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;               /* Info-Zeile bleibt immer in einer Reihe */
  align-items: center;
  min-width: 0;
}
#jobs .jb-meta li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  flex: 0 1 auto;
  white-space: nowrap;
  margin: 0;
  padding: 0 .8rem;
  font-size: .93rem;
  color: #3E4A63;
  border-left: 1px solid var(--jb-line);
  line-height: 1.3;
}
#jobs .jb-meta li:first-child { padding-left: 0; border-left: 0; }
#jobs .jb-meta li span { overflow: hidden; text-overflow: ellipsis; }   /* nur im Notfall bei extrem langen Angaben */
#jobs .jb-meta svg { width: 18px; height: 18px; color: #50607F; flex-shrink: 0; }
#jobs .jb-card-foot {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
#jobs .jb-desc { flex: 1; font-size: .93rem; line-height: 1.65; color: var(--jb-text); margin: 0; }
#jobs .jb-apply {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  height: 50px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 10px;
  background: var(--jb-blue);
  color: #fff;
  font-family: var(--font-b);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(65, 105, 225, .8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .2s ease;
}
#jobs .jb-apply svg { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .2s ease; }
#jobs .jb-apply:hover { background: var(--jb-blue-dark); }
#jobs .jb-apply:hover svg { transform: translateX(3px); }
#jobs .jb-apply:focus-visible { outline: 3px solid var(--jb-blue); outline-offset: 3px; }

/* Leer-Zustände */
#jobs .jb-none,
#jobs .jb-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin: 1.2rem 0 0;
  background: #fff;
  border: 1px dashed #CBD7EE;
  border-radius: 16px;
  color: var(--jb-text);
}

/* „Alle Stellen anzeigen“ */
#jobs .jb-more-wrap { display: flex; justify-content: center; margin-top: 1.8rem; }
#jobs .jb-more {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  height: 50px;
  padding: 0 1.9rem;
  border: 0;
  border-radius: 100px;
  background: var(--jb-tint);
  color: var(--jb-blue);
  font-family: var(--font-b);
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease;
}
#jobs .jb-more[hidden] { display: none; }
#jobs .jb-more svg { width: 19px; height: 19px; }
#jobs .jb-more svg:last-child { width: 16px; height: 16px; }
#jobs .jb-more:hover { background: #E1E9FB; }
#jobs .jb-more:focus-visible { outline: 3px solid var(--jb-blue); outline-offset: 3px; }

/* Welle unten: absolut am Sektionsende → passt sich jeder Höhe an */
#jobs .jb-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: var(--jb-wave);
  z-index: 0;
  pointer-events: none;
}

/* ─── Responsive ─── */
@media (max-width: 1180px) {
  #jobs .jb-card-foot { flex-direction: column; align-items: stretch; }
  #jobs .jb-apply { margin-left: 0; align-self: flex-start; }
}
@media (max-width: 1024px) {
  #jobs .jb-head { grid-template-columns: minmax(0, 1fr); }
  #jobs .jb-ini { max-width: 560px; }
  #jobs .jb-ini-deco { display: none; }
  #jobs .jb-grid { grid-template-columns: minmax(0, 1fr); }
  #jobs .jb-card-foot { flex-direction: row; align-items: center; }
  #jobs .jb-apply { margin-left: auto; align-self: center; }
}
@media (max-width: 768px) {
  #jobs .jb-wrap { padding: 0 20px; }
  #jobs .jb-dots { display: none; }
}
@media (max-width: 640px) {
  #jobs .jb-ini-card { grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; padding: 1.2rem; }
  #jobs .jb-ini-icon { width: 56px; height: 56px; border-radius: 14px; }
  #jobs .jb-ini-icon svg { width: 28px; height: 28px; }
  #jobs .jb-filter { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  #jobs .jb-filter::-webkit-scrollbar { display: none; }
  #jobs .jb-filter-btn { flex-shrink: 0; height: 40px; padding: 0 1.1rem; }
  #jobs .jb-card { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; padding: 1.2rem 1.1rem; }
  #jobs .jb-card-icon { width: 52px; height: 52px; border-radius: 12px; }
  #jobs .jb-card-icon svg { width: 28px; height: 28px; }
  #jobs .jb-card-foot { flex-direction: column; align-items: stretch; }
  #jobs .jb-apply { width: 100%; justify-content: center; margin: .2rem 0 0; }
}
@media (max-width: 480px) {
  #jobs .jb-wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #jobs .jb-card { animation: none; }
  #jobs .jb-apply svg, #jobs .jb-ini-link svg { transition: none; }
}
/* Handy: passen die Angaben bei gleicher Schrift nicht in eine Zeile → sauber 2 × 2 (per JS erkannt) */
#jobs .jb-grid.jb-2x2 .jb-meta { display: grid; grid-template-columns: repeat(2, max-content); gap: .45rem 1.2rem; }
#jobs .jb-grid.jb-2x2 .jb-meta li { padding: 0; border-left: 0; }

/* ═══════════════════════════════════════════════════════════
   ÜBER UNS – Redesign nach Referenz
   ═══════════════════════════════════════════════════════════ */

#about.ab-section {
  --ab-blue: #4169E1;
  --ab-tint: #EEF2FC;
  --ab-navy: #0E1A3A;
  --ab-text: #5A6478;
  --ab-line: #E4E9F4;
  --ab-wave: clamp(50px, 5.5vw, 84px);

  position: relative;
  overflow: hidden !important;
  background: #F7F9FD !important;
  color: var(--ab-text);
  padding: clamp(70px, 7vw, 105px) 0 calc(var(--ab-wave) + clamp(16px, 2vw, 28px)) !important;
  hyphens: manual;
}
#about .ab-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;            /* rechte Spalte endet bündig mit der letzten Karte links */
}

/* ─── Deko: Blasen wie im Referenzbild ─── */
#about .ab-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #EDF2FD 0%, #E2EAFB 65%, #D9E4FA 100%);
  pointer-events: none;
}
#about .ab-b1 { width: 15vw; height: 15vw; left: .4%;  top: 50%; transform: translateY(-50%); opacity: .75; }   /* links, vertikal mittig */
#about .ab-b4 { width: 18vw; height: 18vw; left: 54%;  top: 1.2%; opacity: .8; }    /* groß hinter der Fotooberkante */
#about .ab-dots {
  position: absolute;
  z-index: 0;
  background-image: radial-gradient(#A9BDEB 1.8px, transparent 2px);
  background-size: 22px 22px;
  pointer-events: none;
}
#about .ab-dots-1 { left: 14px; top: 9%; width: 44px; height: 88px; opacity: .6; }
#about .ab-dots-2 { right: 14px; top: 52%; width: 44px; height: 170px; }

/* ─── Links ─── */
#about .ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ab-blue);
  margin-bottom: 1rem;
}
#about .ab-eyebrow::after { content: ""; width: 56px; height: 3px; border-radius: 2px; background: var(--ab-blue); }
#about .ab-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.4rem, 4vw, 3.7rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  padding: 0 0 .06em;
}
#about .ab-title span { display: block; }
#about .ab-title-a { color: var(--ab-navy); }
#about .ab-title-b { color: var(--ab-blue); }
#about .ab-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.65;
  color: var(--ab-text);
  max-width: 36rem;
  margin: 0 0 1.8rem;
}
#about .ab-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
#about .ab-feat {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 1.15rem 1.5rem 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-left: 3px solid var(--ab-blue);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 40, 100, .04), 0 12px 30px -20px rgba(20, 40, 100, .2);
}
#about .ab-feat-icon,
#about .ab-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ab-tint);
  color: var(--ab-blue);
  flex-shrink: 0;
}
#about .ab-feat-icon { width: 76px; height: 76px; border-radius: 16px; }
#about svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#about .ab-wave { stroke: none; }
#about .ab-feat-icon svg { width: 38px; height: 38px; }
#about .ab-feat-title {
  font-family: var(--font-h);
  font-size: calc(1.1rem * var(--font-scale, 1));
  font-weight: 800;
  color: var(--ab-navy);
  margin: 0 0 .35rem;
  padding: 0;
}
#about .ab-feat-text { font-size: .96rem; line-height: 1.6; color: var(--ab-text); margin: 0; }

/* ─── Rechts ─── */
#about .ab-right { display: flex; flex-direction: column; }
#about .ab-photo {
  border-radius: 22px;
  overflow: hidden;
  flex: 1 1 auto;                  /* füllt die Höhe, damit beide Spalten gleich enden */
  min-height: 260px;
  box-shadow: 0 26px 50px -30px rgba(20, 40, 100, .4);
}
#about .ab-photo picture,
#about .ab-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
#about .ab-stats {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: -6px -10px 0;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 44px -26px rgba(20, 40, 100, .3);
}
#about .ab-stat { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 0; padding: .2rem 1rem; }
#about .ab-stat + .ab-stat { border-left: 1px solid var(--ab-line); }
#about .ab-stat-icon { width: 70px; height: 70px; border-radius: 16px; }
#about .ab-stat-icon svg { width: 34px; height: 34px; }
#about .ab-stat-num {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ab-blue);
}
#about .ab-stat-lbl { display: block; font-size: 1rem; color: var(--ab-text); margin-top: .2rem; }

#about .ab-cert {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(135deg, #EAF0FD, #EEF3FD);
  border-radius: 20px;
}
#about .ab-cert-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #DCE6FB 0%, rgba(220, 230, 251, 0) 72%);
  color: var(--ab-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
#about .ab-cert-icon svg { width: 56px; height: 56px; stroke-width: 1.6; }
#about .ab-cert-body { border-left: 2px solid #C5D4F3; padding-left: 1.6rem; }
#about .ab-cert-title {
  font-family: var(--font-h);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ab-navy);
  margin: 0 0 .4rem;
  padding: 0;
}
#about .ab-cert-text { font-size: .97rem; line-height: 1.65; color: var(--ab-text); margin: 0; }

#about .ab-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: var(--ab-wave);
  z-index: 0;
  pointer-events: none;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  #about .ab-wrap { grid-template-columns: minmax(0, 1fr); }
  #about .ab-right { max-width: 720px; width: 100%; margin: 0 auto; }
  #about .ab-photo { flex: none; aspect-ratio: 1.8 / 1; min-height: 0; }
}
@media (max-width: 768px) {
  #about .ab-wrap { padding: 0 20px; }
  #about .ab-dots { display: none; }
  #about .ab-bubble { opacity: .7; }
  #about .ab-b1 { width: 110px; height: 110px; }
  #about .ab-b4 { width: 130px; height: 130px; left: auto; right: 22%; }

}
@media (max-width: 640px) {
  #about .ab-title { font-size: calc(clamp(1.8rem, 8.4vw, 2.4rem) * var(--font-scale, 1)); }
  #about .ab-feat { grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; padding: 1rem; align-items: start; }
  #about .ab-feat-icon { width: 54px; height: 54px; border-radius: 14px; }
  #about .ab-feat-icon svg { width: 28px; height: 28px; }
  #about .ab-photo { aspect-ratio: 4 / 3; border-radius: 18px; }
  #about .ab-stats { margin: -6px 0 0; padding: 1rem .6rem; }
  #about .ab-stat { flex-direction: column; text-align: center; gap: .5rem; padding: .2rem .4rem; }
  #about .ab-stat-icon { width: 54px; height: 54px; border-radius: 14px; }
  #about .ab-stat-icon svg { width: 26px; height: 26px; }
  #about .ab-cert { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: 1.3rem; }
  #about .ab-cert-icon { width: 64px; height: 64px; }
  #about .ab-cert-icon svg { width: 44px; height: 44px; }
  #about .ab-cert-body { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  #about .ab-wrap { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════
   TEAM / GESCHÄFTSFÜHRUNG – Redesign nach Referenz
   ═══════════════════════════════════════════════════════════ */

#team.tm-section {
  --tm-blue: #4169E1;
  --tm-tint: #EEF2FC;
  --tm-navy: #0E1A3A;
  --tm-text: #5A6478;
  --tm-soft: #7C879C;
  --tm-line: #E4E9F4;
  --tm-wave: clamp(50px, 5.5vw, 84px);

  position: relative;
  overflow: hidden !important;
  background: #F7F9FD !important;
  color: var(--tm-text);
  padding: clamp(70px, 7vw, 105px) 0 calc(var(--tm-wave) + clamp(24px, 3vw, 44px)) !important;
  hyphens: manual;
}
#team .tm-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}

/* ─── Deko-Blasen ─── */
#team .tm-bubble {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #EDF2FD 0%, #E2EAFB 65%, #D9E4FA 100%);
  pointer-events: none;
}
#team .tm-b1 { width: 17vw; height: 17vw; left: .4%;  top: 26%; opacity: .8; }   /* links groß */
#team .tm-b2 { width: 8vw;  height: 8vw;  left: 8%;   top: 60%; opacity: .9; }   /* links unten klein */
#team .tm-b3 { width: 6vw;  height: 6vw;  left: 58%;  top: 5%; }                 /* klein neben der Überschrift */
#team .tm-b4 { width: 19vw; height: 19vw; right: .4%; top: .5%; opacity: .75; }  /* oben rechts groß */
#team .tm-b5 { width: 11vw; height: 11vw; right: 7%;  top: 17%; opacity: .9; }   /* rechts darunter */
#team .tm-b6 { width: 15vw; height: 15vw; right: .4%; bottom: calc(var(--tm-wave) * .4); opacity: .8; } /* unten rechts */

/* ─── Kopf ─── */
#team .tm-head { max-width: 700px; margin-bottom: 1.2rem; }
#team .tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tm-blue);
  margin-bottom: 1rem;
}
#team .tm-eyebrow::after { content: ""; width: 48px; height: 2px; border-radius: 2px; background: var(--tm-blue); }
#team .tm-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.3rem, 3.9vw, 3.6rem) * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  padding: 0 0 .06em;
}
#team .tm-title span { display: block; }
#team .tm-title-a { color: var(--tm-navy); }
#team .tm-title-b { color: var(--tm-blue); }
#team .tm-sub { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.65; color: var(--tm-text); margin: 0; max-width: 33rem; }

/* ─── Karten ─── */
#team .tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 330px));
  justify-content: center;
  gap: 1.3rem;
}
#team .tm-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 1px 2px rgba(20, 40, 100, .04), 0 20px 44px -28px rgba(20, 40, 100, .25);
}
#team .tm-photo {
  aspect-ratio: 4 / 5;              /* Standard, wird pro Foto durch das echte Format ersetzt */
  border-radius: 12px;
  overflow: hidden;
  background: #EEF2FA;
}
#team .tm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; image-rendering: auto; }
/* ohne Foto: Initialen (erster Buchstabe Vor- und Nachname) */
#team .tm-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8EEFC 0%, #D6E2FA 100%);
}
#team .tm-initials {
  width: clamp(96px, 9vw, 128px);
  height: clamp(96px, 9vw, 128px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tm-blue);
  color: #fff;
  font-family: var(--font-h);
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 16px 34px -14px rgba(65, 105, 225, .7);
}
#team .tm-body { padding: .95rem .1rem 0; display: flex; flex-direction: column; flex: 1; }
#team .tm-name {
  font-family: var(--font-h);
  font-size: calc(1.12rem * var(--font-scale, 1));
  font-weight: 800;
  color: var(--tm-navy);
  margin: 0;
  padding: 0 0 .6rem;
  position: relative;
}
#team .tm-name::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; border-radius: 2px; background: var(--tm-blue); }
#team .tm-role { font-size: .92rem; color: var(--tm-soft); margin: .7rem 0 0; }
#team .tm-desc { font-size: .92rem; line-height: 1.6; color: var(--tm-text); margin: .6rem 0 0; }
#team .tm-contact {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--tm-line);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
#team .tm-desc + .tm-contact,
#team .tm-role + .tm-contact { margin-top: 1rem; }
#team .tm-contact a {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: .9rem;
  color: var(--tm-text);
  text-decoration: none;
  width: fit-content;
  overflow-wrap: anywhere;
  transition: color .18s ease;
}
#team .tm-contact a:hover { color: var(--tm-blue); }
#team .tm-contact a:focus-visible { outline: 2px solid var(--tm-blue); outline-offset: 3px; border-radius: 4px; }
#team .tm-contact svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--tm-blue); }

/* ─── Werte-Leiste ─── */
#team .tm-values {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(var(--tm-cols, 4), minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  box-shadow: 0 20px 44px -30px rgba(20, 40, 100, .25);
}
#team .tm-value { display: flex; align-items: flex-start; gap: 1.1rem; margin: 0; padding: .2rem clamp(.8rem, 1.6vw, 1.6rem); min-width: 0; }   /* oben bündig: Titel + erste Textzeile in einer Flucht */
#team .tm-value > div { padding-top: .3rem; }
#team .tm-value + .tm-value { border-left: 1px solid var(--tm-line); }
#team .tm-value-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--tm-tint);
  color: var(--tm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
#team .tm-value-icon svg { width: 32px; height: 32px; }
#team svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#team .tm-wave { stroke: none; }
#team .tm-value-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--tm-navy);
  margin: 0 0 .35rem;
  padding: 0;
}
#team .tm-value-text { font-size: .92rem; line-height: 1.5; color: var(--tm-soft); margin: 0; max-width: 12.5em; text-wrap: balance; }

#team .tm-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: var(--tm-wave);
  z-index: 0;
  pointer-events: none;
}

/* ─── Responsive ─── */
@media (max-width: 1300px) {
  #team .tm-values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.3rem; }
  #team .tm-value:nth-child(odd) { border-left: 0; }
}
@media (max-width: 768px) {
  #team .tm-wrap { padding: 0 20px; }
  #team .tm-bubble { opacity: .7; }
  #team .tm-b1 { width: 120px; height: 120px; }
  #team .tm-b3 { width: 60px; height: 60px; left: auto; right: 8%; top: 3%; }
  #team .tm-b4 { width: 130px; height: 130px; }
}
@media (max-width: 640px) {
  #team .tm-title { font-size: calc(clamp(1.9rem, 8.4vw, 2.4rem) * var(--font-scale, 1)); }
  #team .tm-values { grid-template-columns: minmax(0, 1fr); padding: .6rem 1.1rem; row-gap: 0; }
  #team .tm-value { padding: 1rem 0; }
  #team .tm-value + .tm-value { border-left: 0; border-top: 1px solid var(--tm-line); }
  #team .tm-value-icon { width: 54px; height: 54px; border-radius: 12px; }
  #team .tm-value-icon svg { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  #team .tm-wrap { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER – neues Design (hell, mit Wellen-Übergang)
   ═══════════════════════════════════════════════════════════ */

#site-footer.ft {
  --ft-blue: #4169E1;
  --ft-navy: #0E1A3A;
  --ft-text: #626C96;
  --ft-line: #DFE6F3;
  --ft-wave: clamp(80px, 10.5vw, 170px);

  position: relative;
  /* oben transparent, damit die Wellen über dem Bereich darüber liegen */
  background: linear-gradient(to bottom, transparent calc(var(--ft-wave) - 2px), #F8FAFE calc(var(--ft-wave) - 2px)) !important;
  color: var(--ft-text);
  padding-top: var(--ft-wave);
  margin-top: calc(var(--ft-wave) * -.35);   /* Wellen schwingen leicht in den Bereich darüber */
}
#site-footer .ft-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--ft-wave);
  pointer-events: none;
}
#site-footer .ft-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: clamp(.5rem, 1.5vw, 1.5rem) 60px 2.2rem;
  box-sizing: border-box;
}
#site-footer .ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1.25fr);
  align-items: stretch;
}
#site-footer .ft-grid > * { padding: 0 clamp(1rem, 2.6vw, 2.6rem); min-width: 0; }
#site-footer .ft-grid > *:first-child { padding-left: 0; }
#site-footer .ft-grid > * + * { border-left: 1px solid var(--ft-line); }

/* Name wie oben im Header (später Logo) */
#site-footer .ft-logo { display: inline-flex; text-decoration: none; margin-bottom: .6rem; }
#site-footer .ft-logo img, #site-footer .custom-logo { max-height: 56px; width: auto; display: block; }
#site-footer .logo-text { font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; color: var(--ft-navy); white-space: nowrap; }
#site-footer .logo-text span { color: var(--ft-blue); }
#site-footer .ft-slogan { font-size: .95rem; color: var(--ft-text); margin: 0 0 1rem; }
#site-footer .ft-desc { font-size: .93rem; line-height: 1.65; color: var(--ft-text); margin: 0; max-width: 22rem; }

#site-footer .ft-title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ft-navy);
  margin: .15rem 0 1.1rem;
  padding: 0;
}
#site-footer .ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .38rem; }
#site-footer .ft-col li { margin: 0; font-size: .96rem; line-height: 1.45; color: var(--ft-text); }
#site-footer .ft-col a { color: var(--ft-text); text-decoration: none; transition: color .18s ease; }
#site-footer .ft-col a:hover { color: var(--ft-blue); }
#site-footer .ft-col a:focus-visible { outline: 2px solid var(--ft-blue); outline-offset: 3px; border-radius: 3px; }
#site-footer .ft-contact ul { gap: .8rem; }
#site-footer .ft-contact li { display: flex; align-items: flex-start; gap: .9rem; }
#site-footer .ft-contact svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: .05rem;
  fill: none; stroke: var(--ft-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

#site-footer .ft-bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ft-line);
  font-size: .88rem;
  color: var(--ft-text);
}

@media (max-width: 1024px) {
  #site-footer .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  #site-footer .ft-grid > * { padding: 0 1.5rem; }
  #site-footer .ft-grid > *:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 768px) {
  #site-footer .ft-inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  #site-footer .ft-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.6rem; }
  #site-footer .ft-grid > * { padding: 0; border-left: 0 !important; }
  #site-footer .ft-grid > * + * { padding-top: 1.4rem; border-top: 1px solid var(--ft-line); }
}
@media (max-width: 480px) {
  #site-footer .ft-inner { padding-left: 16px; padding-right: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   KONTAKT – Redesign nach Referenz
   ═══════════════════════════════════════════════════════════ */

#contact.ct-section {
  --ct-blue: #4169E1;
  --ct-blue-dark: #3456C8;
  --ct-tint: #EEF2FC;
  --ct-navy: #0E1A3A;
  --ct-text: #5A6478;
  --ct-soft: #7C879C;
  --ct-line: #E4E9F4;

  position: relative;
  background: var(--surface, #F4F7FB) !important;
  color: var(--ct-text);
  padding: clamp(70px, 7vw, 105px) 0 clamp(60px, 7vw, 100px) !important;
  hyphens: manual;
}
#contact .ct-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem);
  align-items: stretch;             /* beide Spalten gleich hoch → Formular endet bündig mit der Info-Box */
}
#contact .ct-left { display: flex; flex-direction: column; }
#contact .ct-card { display: flex; flex-direction: column; }
#contact .ct-form { flex: 1; display: flex; flex-direction: column; }
#contact .ct-field-msg { flex: 1; }
#contact .ct-field-msg textarea { flex: 1; }
#contact svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Links ─── */
#contact .ct-eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ct-blue); margin-bottom: 1rem;
}
#contact .ct-eyebrow::after { content: ""; width: 50px; height: 2px; border-radius: 2px; background: var(--ct-blue); }
#contact .ct-title {
  font-family: var(--font-h);
  font-size: calc(clamp(2.3rem, 3.9vw, 3.5rem) * var(--font-scale, 1));
  font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 1rem; padding: 0 0 .06em;
}
#contact .ct-title-a { color: var(--ct-navy); }
#contact .ct-title-b { color: var(--ct-blue); }
#contact .ct-sub { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--ct-soft); margin: 0 0 2rem; max-width: 32rem; }

#contact .ct-info {
  list-style: none; margin: 0; padding: .6rem 2rem;
  background: #fff; border: 1px solid var(--ct-line); border-radius: 18px;
  box-shadow: 0 20px 44px -30px rgba(20, 40, 100, .25);
}
#contact .ct-info li {
  display: flex; align-items: center; gap: 1.4rem;
  margin: 0; padding: 1.2rem 0;
  font-size: 1.05rem; color: var(--ct-navy);
}
#contact .ct-info li + li { border-top: 1px solid var(--ct-line); }
#contact .ct-info li:first-child { align-items: flex-start; }
#contact .ct-info a { color: var(--ct-navy); text-decoration: none; transition: color .18s ease; }
#contact .ct-info a:hover { color: var(--ct-blue); }
#contact .ct-info-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px;
  background: var(--ct-tint); color: var(--ct-blue);
  display: flex; align-items: center; justify-content: center;
}
#contact .ct-info-icon svg { width: 32px; height: 32px; }
#contact .ct-company { display: block; font-family: var(--font-h); font-size: 1.08rem; font-weight: 800; color: var(--ct-navy); margin: .3rem 0 .35rem; }
#contact .ct-addr { display: block; font-size: 1.02rem; line-height: 1.5; color: var(--ct-soft); }

/* ─── Formular ─── */
#contact .ct-card {
  background: #fff; border: 1px solid var(--ct-line); border-radius: 22px;
  padding: clamp(.8rem, 1.1vw, 1.1rem);
  box-shadow: 0 24px 50px -30px rgba(20, 40, 100, .28);
}
#contact .ct-form {
  border: 1px solid var(--ct-line); border-radius: 16px;
  padding: clamp(1.2rem, 1.8vw, 1.6rem) clamp(1.3rem, 2.2vw, 2rem);
}
#contact .ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
#contact .ct-uploads[hidden] { display: none; }
#contact .ct-field { display: flex; flex-direction: column; margin-bottom: .85rem; min-width: 0; }
#contact .ct-field > label:first-child { font-size: .96rem; font-weight: 600; color: var(--ct-navy); margin-bottom: .45rem; }
#contact .ct-req { color: #E23B3B; margin-left: .15rem; }
#contact .ct-field input:not([type="file"]),
#contact .ct-field select,
#contact .ct-field textarea {
  width: 100%; box-sizing: border-box;
  padding: .72rem 1rem;
  border: 1.5px solid #DCE3F0; border-radius: 10px;
  background: #fff; color: var(--ct-navy);
  font-family: var(--font-b); font-size: 1rem;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
#contact .ct-field input::placeholder, #contact .ct-field textarea::placeholder { color: #98A2B8; }
#contact .ct-field input:focus, #contact .ct-field select:focus, #contact .ct-field textarea:focus {
  border-color: var(--ct-blue); box-shadow: 0 0 0 3px rgba(65, 105, 225, .15);
}
#contact .ct-field textarea { min-height: 80px; resize: vertical; }
#contact .ct-select { position: relative; }
#contact .ct-select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--ct-navy); border-bottom: 2px solid var(--ct-navy);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
#contact .ct-select select { -webkit-appearance: none; appearance: none; padding-right: 2.8rem; cursor: pointer; }
#contact .ct-select select:invalid { color: #98A2B8; }

/* Upload-Felder */
#contact .ct-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#contact .ct-file {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; min-height: 54px; box-sizing: border-box;
  border: 1.5px dashed #C7D3EC; border-radius: 10px; background: #F8FAFE;
  color: var(--ct-soft); font-size: .95rem; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
#contact .ct-file svg { width: 22px; height: 22px; color: var(--ct-blue); flex-shrink: 0; }
#contact .ct-file-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#contact .ct-file:hover { border-color: var(--ct-blue); background: var(--ct-tint); }
#contact .ct-file.has-file { border-style: solid; border-color: var(--ct-blue); color: var(--ct-navy); background: var(--ct-tint); }
#contact .ct-file-input:focus-visible + .ct-file,
#contact .ct-file:focus-within { box-shadow: 0 0 0 3px rgba(65, 105, 225, .2); }
#contact .ct-hint { grid-column: 1 / -1; margin: -.7rem 0 1.3rem; font-size: .85rem; color: var(--ct-soft); }
#contact .ct-uploads { animation: ctIn .25s ease; }
@keyframes ctIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

#contact .ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#contact .ct-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  align-self: flex-start;
  min-width: min(100%, 330px); height: 58px; padding: 0 2rem;
  border: 0; border-radius: 10px; background: var(--ct-blue); color: #fff;
  font-family: var(--font-b); font-size: 1.05rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(65, 105, 225, .8);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .2s ease;
}
#contact .ct-submit svg { width: 20px; height: 20px; stroke-width: 2.1; transition: transform .2s ease; }
#contact .ct-submit:hover { background: var(--ct-blue-dark); }
#contact .ct-submit:hover svg { transform: translateX(3px); }
#contact .ct-submit:disabled { opacity: .7; cursor: wait; }
#contact .ct-submit:focus-visible { outline: 3px solid var(--ct-blue); outline-offset: 3px; }
#contact .ct-privacy { margin: .9rem 0 0; font-size: .9rem; line-height: 1.6; color: var(--ct-soft); }
#contact .ct-privacy a { color: var(--ct-blue); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  #contact .ct-wrap { grid-template-columns: minmax(0, 1fr); }
  #contact .ct-left { max-width: 680px; }
}
@media (max-width: 768px) {
  #contact .ct-wrap { padding: 0 20px; }
}
@media (max-width: 640px) {
  #contact .ct-title { font-size: calc(clamp(1.9rem, 8.4vw, 2.4rem) * var(--font-scale, 1)); }
  #contact .ct-info { padding: .3rem 1.1rem; }
  #contact .ct-info li { gap: 1rem; font-size: .98rem; }
  #contact .ct-info-icon { width: 50px; height: 50px; border-radius: 12px; }
  #contact .ct-info-icon svg { width: 24px; height: 24px; }
  #contact .ct-row { grid-template-columns: minmax(0, 1fr); }
  #contact .ct-card { padding: .7rem; }
  #contact .ct-form { padding: 1.2rem; }
  #contact .ct-submit { width: 100%; align-self: stretch; }
}
@media (max-width: 480px) {
  #contact .ct-wrap { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════
   BEWERBUNGS-MODAL – im neuen Design (wie das Kontaktformular)
   ═══════════════════════════════════════════════════════════ */
#applyModal {
  --am-blue: #4169E1; --am-blue-dark: #3456C8; --am-tint: #EEF2FC;
  --am-navy: #0E1A3A; --am-soft: #7C879C; --am-line: #DCE3F0;
  background: rgba(14, 26, 58, .55);
}
#applyModal .am-box {
  max-width: 620px;
  max-height: calc(100vh - 2rem);
  border-radius: 22px;
  padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.3rem, 2.8vw, 2.1rem);
  scrollbar-width: none;            /* falls es auf sehr kleinen Bildschirmen doch scrollt: ohne sichtbaren Balken */
  box-shadow: 0 30px 80px -30px rgba(14, 26, 58, .55);
}
#applyModal .am-box::-webkit-scrollbar { display: none; }
#applyModal svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#applyModal .am-close {
  top: 1.1rem; right: 1.1rem; width: 38px; height: 38px;
  background: var(--am-tint); color: var(--am-navy); transition: background-color .18s ease;
}
#applyModal .am-close svg { width: 18px; height: 18px; stroke-width: 2.2; }
#applyModal .am-close:hover { background: #E1E9FB; }
#applyModal .am-title {
  font-family: var(--font-h); font-size: calc(1.55rem * var(--font-scale, 1)); font-weight: 800;
  color: var(--am-navy); letter-spacing: -.02em; margin: 0 0 .3rem; padding: 0;
}
#applyModal .am-title span { color: var(--am-blue); }
#applyModal .am-job { color: var(--am-blue); font-size: .95rem; font-weight: 600; margin-bottom: 1.1rem; }

#applyModal .am-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
#applyModal .am-field { display: flex; flex-direction: column; margin-bottom: .7rem; min-width: 0; }
#applyModal .am-field > label:first-child { font-size: .88rem; font-weight: 600; color: var(--am-navy); margin-bottom: .3rem; }
#applyModal .am-req { color: #E23B3B; margin-left: .1rem; }
#applyModal .am-field input:not([type="file"]),
#applyModal .am-field textarea {
  width: 100%; box-sizing: border-box; padding: .6rem .9rem;
  border: 1.5px solid var(--am-line); border-radius: 10px; background: #fff; color: var(--am-navy);
  font-family: var(--font-b); font-size: .97rem; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#applyModal .am-field input::placeholder, #applyModal .am-field textarea::placeholder { color: #98A2B8; }
#applyModal .am-field input:focus, #applyModal .am-field textarea:focus { border-color: var(--am-blue); box-shadow: 0 0 0 3px rgba(65, 105, 225, .15); }
#applyModal .am-field textarea { min-height: 64px; resize: vertical; }

#applyModal .am-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#applyModal .am-file {
  display: flex; align-items: center; gap: .7rem; min-height: 44px; box-sizing: border-box;
  padding: .55rem .85rem; border: 1.5px dashed #C7D3EC; border-radius: 10px; background: #F8FAFE;
  color: var(--am-soft); font-size: .92rem; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
#applyModal .am-file svg { width: 21px; height: 21px; color: var(--am-blue); flex-shrink: 0; }
#applyModal .am-file-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#applyModal .am-file:hover { border-color: var(--am-blue); background: var(--am-tint); }
#applyModal .am-file.has-file { border-style: solid; border-color: var(--am-blue); background: var(--am-tint); color: var(--am-navy); }
#applyModal .am-file:focus-within { box-shadow: 0 0 0 3px rgba(65, 105, 225, .2); }
#applyModal .am-hint { margin: -.3rem 0 .8rem; font-size: .8rem; color: var(--am-soft); }
#applyModal .am-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#applyModal .am-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  width: 100%; height: 50px; margin-top: .1rem; padding: 0 1.5rem;
  border: 0; border-radius: 10px; background: var(--am-blue); color: #fff; opacity: 1;
  font-family: var(--font-b); font-size: 1.02rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(65, 105, 225, .8);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  transition: background-color .2s ease;
}
#applyModal .am-submit svg { width: 19px; height: 19px; stroke-width: 2.1; transition: transform .2s ease; }
#applyModal .am-submit:hover { background: var(--am-blue-dark); opacity: 1; }
#applyModal .am-submit:hover svg { transform: translateX(3px); }
#applyModal .am-submit:disabled { opacity: .7; cursor: wait; }
#applyModal .am-privacy { margin: .7rem 0 0; font-size: .82rem; line-height: 1.55; color: var(--am-soft); text-align: center; }
#applyModal .am-privacy a { color: var(--am-blue); text-decoration: underline; text-underline-offset: 2px; }
#applyModal .am-note { margin: .2rem 0 0; font-size: .8rem; color: var(--am-soft); text-align: center; }

#applyModal .am-success { text-align: center; padding: 2rem 0 1rem; }
#applyModal .am-success-icon {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--am-tint); color: var(--am-blue); display: flex; align-items: center; justify-content: center;
}
#applyModal .am-success-icon svg { width: 36px; height: 36px; stroke-width: 2.4; }
#applyModal .am-success h3 { font-family: var(--font-h); font-size: 1.35rem; font-weight: 800; color: var(--am-navy); margin: 0; padding: 0; }
#applyModal .am-success p { color: var(--am-soft); margin: .5rem 0 0; }

@media (max-width: 560px) {
  #applyModal .am-row { grid-template-columns: minmax(0, 1fr); }
  #applyModal .am-title { font-size: 1.45rem; padding-right: 2.5rem; }
}
