/* ============================================================
   Frontida Pflegedienst - Stylesheet: frontida-karriere
   Extrahiert aus den Inline-<style>-Bloecken dieser Seite.
   Reihenfolge = Kaskaden-Reihenfolge.
   ============================================================ */

/* ===== Block 0  [war: <style>] ===== */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/Open-Sans.woff2') format('woff2');
}
  :root {
    --blue: #2165AE;
    --blue-mid: #3F6EA0;
    --blue-light: #6096C4;
    --blue-bg: #EEF4FB;
    --orange: #F47522;
    --orange-dark: #C4601A;
    --green: #6CB53F;
    --green-mid: #52A030;
    --green-bg: #F0F9EA;
    --gray-bg: #F5F7FA;
    --border: #D9E2EC;
    --text: #454C4D;
    --text-mid: #526071;
    --white: #FFFFFF;
    --shadow: 0 12px 36px rgba(18, 34, 58, 0.08);
    --shadow-soft: 0 8px 24px rgba(18, 34, 58, 0.06);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html{scroll-behavior:smooth;scroll-padding-top:100px;}
  body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #f7f9fc 100%);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: clip;
}

  a { color: inherit; }
  img { max-width: 100%; display: block; }

  /* SPLIT TOPBAR */
  .topbar-split { display:grid; grid-template-columns:1fr 1fr; }
  .topbar-pf { background:linear-gradient(90deg,#1a4f8c 0%,#236BB4 50%,#2a7fcf 100%); font-size:0.79rem; padding:0.52rem 4%; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
  .topbar-tp { background:linear-gradient(90deg,#3a7a1a 0%,#6CB53F 50%,#7ec94a 100%); font-size:0.79rem; padding:0.52rem 4%; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
  .topbar-items { display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
  .topbar-tp .topbar-items { justify-content:flex-end; }
  .tb-item { display:flex; align-items:center; gap:0.35rem; font-size:0.79rem; color:rgba(255,255,255,0.92); }
  .tb-item svg { width:13px; height:13px; flex-shrink:0; }
  .tb-stars { color:#FFD060; font-size:0.8rem; }
  .tb-tagline { font-size:0.72rem; color:rgba(255,255,255,0.92); }
  .tb-phone a { display:flex; align-items:center; gap:0.4rem; background:#fff; color:#236BB4; border-radius:20px; padding:0.35rem 1rem; text-decoration:none; font-weight:700; font-size:0.8rem; box-shadow:0 2px 6px rgba(0,0,0,0.12); white-space:nowrap; transition:all 0.18s; }
  .topbar-tp .tb-phone a { color:#4a8a2a; }
  .tb-phone a:hover { opacity:0.9; }
  @media (max-width:1200px) { .topbar-split { grid-template-columns:1fr; } .topbar-tp { border-top:1px solid rgba(255,255,255,0.15); } }
  @media (max-width:768px) { .tb-tagline { display:none; } .topbar-items { gap:0.8rem; } }

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  nav {
    height: 130px;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }

  .nav-logo img {
    height: 130px;
    width: auto;
    display: block;
  }

  /* TP-Logo rechts */
  .nav-logo-tp { display:flex; align-items:center; text-decoration:none; flex-shrink:0; }
  .nav-logo-tp img { height:130px; width:auto; display:block; }
  @media (max-width:1200px) { .nav-logo-tp { display:none; } }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    flex: 1;
    justify-content: center;
    height: 130px;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    height: 130px;
    padding: 0 0.85rem;
    text-decoration: none;
    color: #2A2A2A;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.18s;
  }

  .nav-links a:hover {
    background: none;
    color: #236BB4;
    border-bottom-color: #236BB4;
    transform: none;
  }

  .nav-links a.active {
    background: none;
    color: #2A2A2A;
    border-bottom-color: transparent;
    transform: none;
  }

  .nav-links .nav-primary {
    color: #2A2A2A;
  }

  .nav-links .nav-primary:hover {
    color: #236BB4;
    border-bottom-color: #236BB4;
  }

  .nav-links .nav-cta-apply {
    background: #236BB4;
    color: #fff !important;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    border-bottom: none;
    height: auto !important;
    font-weight: 700;
    margin-left: 0.4rem;
    transition: background 0.18s;
  }

  .nav-links .nav-cta-apply:hover {
    background: #1b5490;
    color: #fff;
    border-bottom-color: transparent !important;
  }

  .hero-shell {
    padding: 0;
  }

  .hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 540px;
    display: flex;
    align-items: center;
  }

  .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23,53,85,0.62) 0%, rgba(45,79,122,0.45) 45%, rgba(62,122,40,0.30) 75%, rgba(108,181,63,0.15) 100%);
  }

  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
  }

  .hero::before {
    width: 280px;
    height: 280px;
    top: -110px;
    right: -80px;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -50px;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 90px 5%;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.07;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .hero p {
    max-width: 720px;
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 1.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 50px;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .btn:hover { transform: translateY(-1px); }
  .btn-orange { background: var(--orange); color: #fff; box-shadow: 0 12px 22px rgba(232,119,34,0.24); }
  .btn-orange:hover { background: var(--orange-dark); }
  .btn-white { background: #fff; color: var(--blue); }
  .btn-blue { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.26); }

  .hero-points {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.84rem;
    font-weight: 700;
  }

  section {
    padding: 4.5rem 5%;
  }

  .section-label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
  }

  .section-title {
    color: var(--blue);
    font-size: clamp(1.95rem, 3vw, 3rem);
    line-height: 1.16;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .section-lead {
    max-width: 800px;
    color: var(--text-mid);
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .center { text-align: center; }
  .center .section-lead { margin-left: auto; margin-right: auto; }

  .panel {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
  }

  .offer-block {
    margin-top: 2.6rem;
  }

  .offer-block-title {
    color: var(--orange);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    text-align: center;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
  }

  .offer-block .benefits-grid-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-block .benefits-grid-bottom {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 1.25rem;
  }

  .offer-block .benefits-grid-bottom .benefit-card {
    grid-column: span 2;
  }

  .offer-block .benefits-grid-bottom .benefit-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .benefit-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.4rem;
  padding-top: 3px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

  .benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 119, 34, 0.32);
    box-shadow: 0 14px 30px rgba(232, 119, 34, 0.12);
  }

  .benefit-emoji {
    font-size: 2.1rem;
    line-height: 1;
    margin-top: 4px;
    margin-bottom: 0.85rem;
    display: block;
  }

  .benefit-emoji img {
    width: 42px;
    height: 42px;
    margin: 0 auto;
  }

  .benefit-card strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
  }

  .benefit-card p {
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
  }

  .requirements-card {
    margin-top: 2.6rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
    border: 1px solid rgba(232, 119, 34, 0.22);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
  }

  .requirements-list {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .requirement-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(232, 119, 34, 0.12);
  }

  .requirement-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .requirement-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.1rem;
  }

  .requirement-item p {
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.65;
    margin: 0;
  }

  .jobs-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.35rem;
  }

  .job-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    align-items: center; /* NEU: Zentriert das Icon und die Elemente horizontal */
    text-align: center;  /* NEU: Zentriert den Text (Überschrift und Absatz) */
  }

  .job-icon {
    min-height: 88px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: center; /* NEU: Stellt sicher, dass das Bild auch wirklich mittig ist */
    width: 100%; /* NEU: Gibt dem Bild-Container die volle Breite, um richtig zentrieren zu können */
  }

  .job-icon img {
    width: 78px;
    height: 78px;
    object-fit: contain;
  }

  .job-card h3 {
    color: var(--text);
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
  }

  .job-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.8;
    flex: 1;
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center; /* NEU: Zentriert die kleinen Tags (wie "Vollzeit", "Teilzeit") in ihrer Reihe */
  }

  .tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--blue-bg);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .benefits-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }


  .benefit-card h3 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.6rem; margin-top: 20px ;
  }

  .benefit-card p {
    color: var(--text-mid);
    font-size: 0.93rem;
    line-height: 1.75;
  }

  .process-grid {
    margin-top: 2.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .process-step {
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem;
  }

  /* --- NEU: Ordnet Zahl und Überschrift nebeneinander an --- */
.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

/* Verhindert, dass die Überschrift eigene Abstände nach oben/unten hat und aus der Reihe tanzt */
.step-header h3 {
  margin: 0;
}

/* --- NEU: Die Box und die Hover-Animation --- */
.process-step {
  position: relative;
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Wenn die Maus über die Box fährt (Hover) */
.process-step:hover {
  transform: translateY(-8px); /* Hebt die Box leicht nach oben an */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Erzeugt einen weichen, edlen Schatten darunter */
}

  .step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d0d0d0;
    color: #fff;
    font-weight: 700;
    margin: 0;
  }

  .process-step { text-align:center; }
  .process-step img.step-icon { display:block; margin:0 auto 1.2rem; width:52px; height:52px; }

  .process-step h3 {
    color: var(--blue);
    font-size: 1rem;
    margin-bottom: 0.55rem;
  }

  .process-step p {
    color: var(--text-mid);
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .contact-grid {
    margin-top: 2.6rem;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
  }

  .contact-info h3,
  .contact-form h3 {
    color: var(--blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .contact-list {
    display: grid;
    gap: 1rem;
  }

  .contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-item:last-child { border-bottom: none; }

  .contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .contact-item span,
  .contact-item a {
    color: var(--text-mid);
    font-size: 0.98rem;
    text-decoration: none;
  }

  .contact-item a:hover { color: var(--blue); }

  .contact-form {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .form-group { margin-bottom: 0.95rem; }

  .form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(96,150,196,0.12);
  }

  .form-group textarea {
    resize: none;
    min-height: 130px;
  }


  /* CUSTOM DROPDOWN */
  .custom-select { position:relative; width:100%; }
  .custom-select-trigger {
    width:100%; background:#fff; border:1.5px solid var(--border); border-radius:14px;
    padding:0.85rem 1rem; font:inherit; color:var(--text); cursor:pointer;
    display:flex; align-items:center; justify-content:space-between;
    transition:border-color 0.18s ease, box-shadow 0.18s ease;
  }
  .custom-select-trigger:hover { border-color:var(--blue-light); }
  .custom-select.open .custom-select-trigger { border-color:var(--blue-light); box-shadow:0 0 0 4px rgba(96,150,196,0.12); border-radius:14px 14px 0 0; }
  .custom-select-trigger .arrow { transition:transform 0.3s ease; font-size:0.7rem; color:var(--text-mid); }
  .custom-select.open .custom-select-trigger .arrow { transform:rotate(180deg); }
  .custom-select-options {
    position:absolute; top:100%; left:0; right:0; z-index:50;
    background:#fff; border:1.5px solid var(--blue-light); border-top:none;
    border-radius:0 0 14px 14px; overflow:hidden;
    max-height:0; opacity:0; transition:max-height 0.35s ease, opacity 0.25s ease;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
  }
  .custom-select.open .custom-select-options { max-height:350px; opacity:1; }
  .custom-select-option {
    padding:0.7rem 1rem; font:inherit; color:var(--text); cursor:pointer;
    transition:background 0.15s, padding-left 0.2s;
  }
  .custom-select-option:hover { background:rgba(96,150,196,0.08); padding-left:1.3rem; }
  .custom-select-option.selected { color:var(--blue-light); font-weight:600; }
  .custom-select-option:last-child { border-radius:0 0 12px 12px; }

  .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

@media (max-width: 900px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }

    .process-grid {
      grid-template-columns: 1fr;
    }

    .benefits-grid {
      grid-template-columns: 1fr;
    }

    .offer-block .benefits-grid-top,
    .offer-block .benefits-grid-bottom {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      width: 100%;
      margin-left: 0;
      margin-right: 0;
    }

    .offer-block .benefits-grid-bottom {
      margin-top: 1.25rem;
    }

    .offer-block .benefits-grid-bottom .benefit-card,
    .offer-block .benefits-grid-bottom .benefit-card:nth-child(4) {
      grid-column: auto;
    }

    .requirements-card {
      padding: 1.6rem 1.3rem;
    }

    .hero {
      padding: 3.2rem 2rem;
    }
  }

  @media (max-width: 760px) {
    .topbar { font-size: 0.72rem; }

    nav {
      padding: 1rem 5%;
      align-items: flex-start;
      flex-direction: column;
    }

    .nav-links {
      width: 100%;
      gap: 0.5rem;
    }

    .nav-links li {
      width: 100%;
    }

    .nav-links a {
      width: 100%;
      justify-content: center;
      padding: 0.9rem 1rem;
      background: #fff;
      border: 1px solid var(--border);
    }

    .nav-links .nav-primary {
      border-color: transparent;
    }

    .form-row {
      grid-template-columns: 1fr;
    }

    section,
    .topbar,
    .footer {
      padding-left: 1rem;
      padding-right: 1rem;
    }
    .hero-shell {
      padding-left: 0;
      padding-right: 0;
    }
  }

  /* === BURGER MENU === */
  .burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--blue, #2D4F7A);
    padding: 0.3rem 0.5rem;
    line-height: 1;
    z-index: 1100;
  }
  /* Dark overlay for mobile menu */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 999;
    opacity: 0;
    animation: navOverlayIn 0.25s ease forwards;
  }
  @keyframes navOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes navCardIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
  /* While menu is open, lift the header (which contains .nav-links)
     above the overlay so the card and its links remain clickable.
     Also disable backdrop-filter so the header stops acting as a
     containing block for the fixed-position menu card. */
  body.menu-open header {
    z-index: 1500;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  @media (max-width: 1200px) {html{scroll-padding-top:80px;}
    .burger {
      display: block;
      margin-left: auto;
      flex-shrink: 0;
      align-self: center;
    }
    nav {
      gap: 0;
      height: 90px;
      min-height: 0;
      padding: 0 5%;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-shrink: 1;
      min-width: 0;
    }
    .nav-logo img { height: 110px; max-height: 110px; width: auto; display: block; }
    .nav-links {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 420px;
      max-height: 85vh;
      overflow-y: auto;
      background: #FFFFFF;
      border-radius: 18px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.28);
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0.4rem;
      height: auto;
      padding: 3rem 1.2rem 1.2rem;
      z-index: 1000;
    }
    .nav-links.open {
      display: flex;
      animation: navCardIn 0.28s ease forwards;
    }
    .nav-links li { width: 100%; text-align: center; list-style: none; }
    .nav-links a {
      display: block;
      height: auto;
      padding: 0.85rem 1.1rem;
      font-size: 1rem;
      font-weight: 600;
      background: #F5F7FA;
      color: #454C4D;
      border-radius: 10px;
      border-bottom: none;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .nav-links a:hover,
    .nav-links a.active {
      background: var(--blue-bg, #EEF4FB);
      color: var(--blue, #2165AE);
    }
  }

  @media (min-width: 769px) {
    .hero-img { object-position: center 50%; }
  }

  @media (max-width: 768px) {
    /* Full-width mobile: no whitespace around hero */
    /* overflow-x: clip (not hidden) so the sticky header keeps working on mobile;
       clip still prevents horizontal scrolling but does not create a scroll container. */
    html, body { margin: 0; padding: 0; overflow-x: clip; }
    .hero-shell {
      padding: 0;
      margin: 0;
      width: 100%;
      max-width: 100%;
    }
    /* Stacked mobile layout: image on top, text below */
    .hero { display: block; min-height: 0; border-radius: 0; overflow: hidden; margin: 0; padding: 0; width: 100%; }
    .hero-img { position: relative; width: 100%; height: auto; aspect-ratio: 16/9; object-position: center top; display: block; }
    .hero-overlay { display: block; bottom: auto; aspect-ratio: 16/9; }
    .hero-content {
      position: relative;
      padding: 2rem 5%;
      max-width: 100%;
      background: linear-gradient(180deg, rgba(15,35,65,0.88) 0%, rgba(15,35,65,0.75) 100%);
      color: #fff;
      margin-top: -4px;
    }
    .hero h1 { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; gap: 0.7rem; }
    .btn { width: 100%; text-align: center; }
  }

  @media (max-width: 700px) {
    .section-title { font-size: 1.4rem; }
    .features-grid, .lcard-grid, .jobs-grid, .benefits-grid { grid-template-columns: 1fr; }
    .offer-block .benefits-grid-top,
    .section-title { font-size: 1.4rem; }
    .offer-block .benefits-grid-top,
    .offer-block .benefits-grid-bottom { grid-template-columns: 1fr; width: 100%; margin-left: 0; margin-right: 0; }
    .offer-block .benefits-grid-bottom .benefit-card,
    .offer-block .benefits-grid-bottom .benefit-card:nth-child(4) { grid-column: auto; }
    section { padding: 3rem 5%; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; gap: 0.7rem; }
    .btn { width: 100%; text-align: center; }

    nav {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      height: 85px;
      min-height: 0;
      padding: 0 5%;
      gap: 0;
    }

    .nav-logo img {
      height: 85px;
      max-height: 85px;
      width: auto;
      display: block;
    }

    .burger {
      display: block;
      margin-left: auto;
      flex-shrink: 0;
      position: relative;
      z-index: 1600;
    }

    .nav-links {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 420px;
      max-height: 85vh;
      overflow-y: auto;
      background: #FFFFFF;
      border-radius: 18px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.28);
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0.4rem;
      height: auto;
      padding: 3rem 1.2rem 1.2rem;
      z-index: 1000;
    }

    .nav-links.open {
      display: flex;
      animation: navCardIn 0.28s ease forwards;
    }

    .nav-links li {
      width: 100%;
      text-align: center;
      list-style: none;
    }

    .nav-links a {
      display: block;
      width: 100%;
      height: auto;
      padding: 0.85rem 1.1rem;
      font-size: 1rem;
      font-weight: 600;
      background: #F5F7FA;
      color: #454C4D;
      border-radius: 10px;
      border-bottom: none;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      background: var(--blue-bg, #EEF4FB);
      color: var(--blue, #2165AE);
    }
  }
  @media (max-width: 480px) {
    .hero h1 { font-size: 1.35rem; }
  }
  :root h1, :root h2, :root h3, :root h4, :root h5, :root h6 { font-family: 'Open Sans', sans-serif; }

/* ============================================
   GLOBAL TYPOGRAPHY SYSTEM — Open Sans (Frontida)
   ============================================ */
body { font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 400; }
h2, .section-title, .block-title, .verspr-text h2 { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
.btn, .btn-blue, .btn-orange, .btn-white, .lmodal-cta-primary, .verspr-cta, .pg-cta-btn, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .nav-cta, .nav-orange { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; }
.section-label, .page-hero-kicker, .lmodal-kicker, .lmodal-vorteile-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
footer { font-family: 'Open Sans', sans-serif; }
footer p, footer span, footer li, footer a, .footer-bottom span, .footer-bottom a { font-size: 0.84rem; font-weight: 400; }
footer p, .footer-brand p { font-weight: 300; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

  /* === Accessibility: Reduced motion === */
  @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;
    }
  }

  /* === Accessibility: Visible focus indicators === */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid #2165AE;
    outline-offset: 2px;
  }

/* ===== Block 1  [war: <style id="footer-fix">] ===== */
footer { background:#EEF4FB; color:#454C4D; padding:2rem 90px 1.2rem 5%; font-family:'Open Sans',sans-serif; margin-top:3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:1.5rem; align-items:start; margin-bottom:1.8rem; }
.footer-grid .footer-col { padding-left:1rem; }
.footer-brand img { height:180px !important; width:auto; max-width:100% !important; margin:0 auto 0.8rem; display:block; }
.footer-brand p { font-size:0.85rem; line-height:1.7; font-weight:300; }
.footer-col h5 { color:#1C3A6E; font-size:0.8rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col p, .footer-col a { display:block; font-size:0.84rem; color:#454C4D; text-decoration:none; margin-bottom:0.5rem; line-height:1.6; }
.footer-col a:hover { color:#2165AE; }
.footer-social { display:flex; justify-content:center; gap:0.7rem; margin-top:1rem; }
.footer-social a { width:50px; height:50px; background:transparent; border:none; border-radius:7px; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform 0.2s; }
.footer-social a img { width:45px; height:45px !important; display:block; }
.footer-social a:hover { transform:scale(1.3); }
.footer-bottom { border-top:1px solid rgba(45,79,122,0.2); padding-top:1.2rem; display:flex; justify-content:space-between; align-items:center; font-size:0.77rem; flex-wrap:wrap; gap:0.5rem; }
.footer-bottom a { color:#454C4D; text-decoration:none; margin-left:1rem; }
.footer-bottom a:hover { color:#2165AE; }
.footer-bottom button.cx-cookie-link { color:#454C4D; background:none; border:none; padding:0; margin-left:1rem; cursor:pointer; font-family:inherit; font-size:inherit; }
.footer-bottom button.cx-cookie-link:hover { color:#2165AE; }
@media (max-width:900px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-grid { grid-template-columns:1fr; } footer { padding:2rem 5% 1.2rem; } }

/* ===== Block 2  [war: <style id="dsgvo-checkbox-fix">] ===== */
/* Fix DSGVO checkbox visibility (overrides .form-group input { appearance:none; width:100% } ) */
.form-group.dsgvo-consent { display: flex; align-items: flex-start !important; gap: 0.6rem; margin: 0.6rem 0 1rem !important; }
.form-group.dsgvo-consent input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  width: 18px;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px !important;
  margin: 0.2rem 0 0 0 !important;
  padding: 0;
  border: 1.5px solid #454C4D !important;
  border-radius: 3px;
  background: #fff !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  accent-color: #F47522;
}
.form-group.dsgvo-consent label {
  display: inline;
  text-transform: none !important;
  letter-spacing: normal;
  font-size: 0.8rem !important;
  font-weight: 400;
  line-height: 1.5 !important;
  margin-bottom: 0;
  color: #454C4D !important;
  cursor: pointer;
}

/* ===== Block 3  [war: <style id="pf-nav-unify">] ===== */
/* Unified menu sizing for all Pflegedienst pages — matches Tagespflege presence */
.nav-logo img,
header .nav-logo img,
img#nav-logo-img {
  height: 130px !important;
  width: auto;
  max-width: none !important;
  max-height: 130px;
  display: block !important;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nav-logo img, header .nav-logo img, img#nav-logo-img {
    height: 120px !important;
    max-height: 120px;
  }
}
@media (min-width: 1201px) {
  .nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 0 1rem !important;
    font-size: 0.95rem;
    font-weight: 600 !important;
    color: #2A2A2A;
    white-space: nowrap;
    transition: color 0.2s !important;
  }
}
/* On mobile: nav-links must respect media query — hidden by default, only show when .open */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex !important; }
}
.nav-links a.nav-cta,
.nav-links a.nav-orange {
  height: auto !important;
  padding: 0.6rem 1.3rem;
  border-radius: 8px !important;
  font-size: 0.92rem;
  font-weight: 700 !important;
  margin-left: 0.4rem;
  border-bottom: none !important;
  color: #fff;
}

/* ===== Block 4  [war: <style id="pf-karriere-mobile-header">] ===== */
/* Mobile-Header wie auf ueber-uns.html: PD-Logo | Burger (zentriert) | TP-Logo.
   Burger sitzt per order:2 mittig zwischen den beiden Logos (statt rechts via margin-left:auto). */
@media (max-width: 1200px) {
  nav { justify-content: space-between !important; }
  .nav-logo-tp { display: flex; order: 3; }
  .nav-logo-tp img { height: 110px; max-height: 110px !important; width: auto; }
  .burger { order: 2; margin-left: 0; }
}
@media (max-width: 768px) {
  .nav-logo-tp img { height: 120px; max-height: 120px !important; }
}

/* ===== Block 5  [war: <style id="pf-typo-unify">] ===== */
/* === Unified typography across ALL Pflegedienst pages === */
html, body { font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }

body { font-size: 15px; font-weight: 400; line-height: 1.7; color: #454C4D; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; }
h1, .hero h1, .page-hero h1, .danke-card h1 { font-size: clamp(1.9rem, 3vw + 0.8rem, 2.9rem); font-weight: 600; line-height: 1.2; }
h2, .section-title, .block-title { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.95rem; font-weight: 700; }

/* Section labels (small caps) */
.section-label, .page-hero-kicker, .lmodal-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Buttons */
.btn, .btn-blue, .btn-orange, .btn-white, .nav-cta, .nav-orange, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .pg-cta-btn, .verspr-cta, .lmodal-cta-primary { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0; }

/* Nav links */
.nav-links a { font-size: 0.95rem; font-weight: 600; }

/* Footer typography (CRITICAL — make footers identical everywhere) */
footer, footer * { font-family: 'Open Sans', sans-serif; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; margin-bottom: 1rem; color: #1C3A6E; }
footer p, .footer-col p, footer span, footer li, .footer-bottom span { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }
.footer-col a { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; display: block; }
.footer-brand p { font-size: 0.85rem; font-weight: 400; line-height: 1.65; }
.footer-bottom, .footer-bottom a, .footer-bottom button { font-size: 0.77rem; font-weight: 400; line-height: 1.5; }

/* Forms */
input, textarea, select { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 400; }
.form-group label { font-family: 'Open Sans', sans-serif; }

/* FAQ */
.faq-btn, details > summary { font-family: 'Open Sans', sans-serif; font-size: 0.97rem; font-weight: 700; }

/* Paragraphs */
p { font-family: 'Open Sans', sans-serif; }

/* ===== Block 6  [war: <style>] ===== */
/* Footer mobile centering - match index.html */
@media (max-width:600px){
  .footer-brand { text-align:center; }
  .footer-brand img { height:100px; margin:0 auto 0.6rem; display:block; }
  .footer-brand p { max-width:280px; margin:0 auto; }
  .footer-social { justify-content:center; }
  .footer-col h5 { margin-bottom:0.6rem; }
  .footer-bottom { flex-direction:column; align-items:center; text-align:center; gap:0.4rem; }
}

/* ===== Block 7  [war: <style id="burger-fix-style">] ===== */
.nav-close { display:none; position:absolute; top:0.75rem; right:0.85rem; background:#236BB4; border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; color:#fff; font-size:1.25rem; line-height:1; align-items:center; justify-content:center; z-index:1200; box-shadow:0 3px 10px rgba(35,107,180,0.45); -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; transition:background 0.2s,transform 0.15s; }
.nav-close:hover { background:#1b5490; transform:scale(1.08); }
.nav-links.open .nav-close { display:flex !important; }
.nav-links.open ~ .burger, body.menu-open .burger { display:none !important; visibility:hidden !important; }
.burger { -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; }


/* ===== Stellen-Karten: 4 + 3, zweite Reihe zentriert (Desktop) =====
   Flex statt Grid, damit die unvollstaendige zweite Reihe mittig sitzt.
   Unter 1101px gilt weiter das auto-fit-Raster (Tablet 2, Mobil 1). */
@media (min-width: 1101px) {
  .jobs-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .jobs-grid .job-card { flex: 0 0 calc(25% - 1.0125rem); }
}

/* ===== Icons in den Eingabefeldern (Variante 4, User-Wahl 12.06.2026 — gilt auf ALLEN Breiten) ===== */
#kontakt-vorname, #kontakt-nachname, #kontakt-telefon, #kontakt-email {
  padding-left: 2.35rem;
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px 16px;
}
#kontakt-vorname, #kontakt-nachname { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236096C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
#kontakt-telefon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236096C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
#kontakt-email { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236096C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E"); }

/* ===== Nav: Menue mittig zwischen Logo und Buttons (User-Wahl Variante 1, 12.06.2026) ===== */
@media (min-width: 1201px) {
  .nav-links { flex: 1; }
  .nav-links li:nth-of-type(1) { margin-left: auto; }
  .nav-links li:last-child { margin-left: auto; }
}
