/* ===== Design Tokens (Branding nach Logo: Navy "MEDICAL" + Teal "SOLUTIONS") ===== */
:root{
  --primary:       #1d8a91;
  --primary-dark:  #173f4d;
  --primary-bright:#2fb6b8;
  --accent:        #45c4bf;
  --accent-dark:   #1f7e7a;
  --ink:           #1a2b34;
  --grey:          #556;
  --grey-light:    #8e9aa0;
  --bg:            #ffffff;
  --bg-soft:       #f3f8f8;
  --bg-tint:       #ebf5f5;
  --line:          #dde9e9;
  --radius:     14px;
  --shadow:     0 12px 30px rgba(0,0,0,.08);
  --shadow-sm:  0 6px 18px rgba(0,0,0,.06);
  --container:  1160px;
  /* Schriften nach Logo: Poppins (geometrisch, wie der Schriftzug
     "MEDICAL SOLUTIONS") fuer Ueberschriften, Mulish fuer Fliesstext.
     Lokal gehostet (css/fonts.css) – kein Google-CDN, DSGVO-konform. */
  --font:       'Mulish', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-head:  'Poppins', 'Mulish', 'Segoe UI', Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--font); color:var(--ink);
  line-height:1.6; background:var(--bg); -webkit-font-smoothing:antialiased;
}
h1,h2,h3{ font-family:var(--font-head); line-height:1.15; font-weight:700; letter-spacing:-.015em; margin:0 0 .5em; }
p{ margin:0 0 1em; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

/* ===== Buttons ===== */
.btn{
  display:inline-block; padding:14px 28px; border-radius:50px;
  font-family:var(--font-head); font-weight:600; font-size:.95rem; letter-spacing:.01em; cursor:pointer;
  border:2px solid transparent; transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn--primary{ background:var(--primary); color:#fff; box-shadow:0 8px 20px rgba(14,124,123,.3); }
.btn--primary:hover{ background:var(--primary-bright); }
.btn--ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.7); }
.btn--ghost:hover{ background:#fff; color:var(--primary); border-color:#fff; }
.btn--lg{ padding:16px 36px; font-size:1.05rem; }

/* ===== Top Bar ===== */
.topbar{ background:var(--primary-dark); color:#fff; font-size:.82rem; }
.topbar__inner{ display:flex; justify-content:space-between; align-items:center; min-height:40px; flex-wrap:wrap; gap:6px; }
.topbar__contact a{ margin-right:20px; opacity:.92; }
.topbar__contact a:hover{ opacity:1; }
.topbar .ico{ margin-right:6px; }
.topbar__social a{
  display:inline-flex; width:26px; height:26px; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(255,255,255,.15); margin-left:6px; font-size:.75rem; font-weight:700;
}
.topbar__social a:hover{ background:var(--accent); }

/* ===== Header ===== */
.header{ position:sticky; top:0; z-index:50; background:#fff; box-shadow:var(--shadow-sm); }
.header__inner{ display:flex; align-items:center; justify-content:space-between; min-height:78px; gap:16px; }
.logo{ display:flex; align-items:center; gap:12px; }
.logo img{ height:70px; width:auto; display:block; transition:transform .2s ease; }
.logo:hover img{ transform:scale(1.03); }
.logo__mark{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px; border:2px dashed var(--primary); color:var(--primary);
  border-radius:8px; font-weight:900; font-size:.72rem; letter-spacing:.08em;
}
.logo__text{ display:flex; flex-direction:column; line-height:1.05; }
.logo__text strong{ color:var(--primary); font-size:1.25rem; font-weight:900; }
.logo__text em{ color:var(--accent-dark); font-style:normal; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700; }

.nav{ display:flex; align-items:center; gap:6px; }
.nav a{ padding:10px 14px; font-weight:500; font-size:.95rem; border-radius:8px; transition:color .15s, background .15s; }
.nav a:hover{ color:var(--primary); background:var(--bg-tint); }
.nav__cta{ background:var(--primary); color:#fff !important; margin-left:8px; }
.nav__cta:hover{ background:var(--primary-bright) !important; }
.nav a[aria-current="page"]{ color:var(--primary); background:var(--bg-tint); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:26px; height:3px; background:var(--ink); border-radius:2px; transition:.25s; }

/* ===== Hero ===== */
.hero{
  position:relative; color:#fff; overflow:hidden;
  background:linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-bright) 100%);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 85% 20%, rgba(46,176,134,.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,.25), transparent 50%);
}
.hero__inner{ position:relative; z-index:2; padding:96px 24px 104px; max-width:820px; }
.hero__kicker{ font-family:var(--font-head); text-transform:uppercase; letter-spacing:.22em; font-size:.82rem; font-weight:600; opacity:.92; margin-bottom:18px; }
.hero__title{ font-size:clamp(2.3rem, 5.5vw, 4rem); font-weight:800; margin-bottom:20px; }
.hero__lead{ font-size:1.18rem; font-weight:300; max-width:620px; opacity:.96; margin-bottom:32px; }
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ===== Targets ===== */
.targets{ margin-top:-60px; position:relative; z-index:5; padding-bottom:40px; }
.targets__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.card{
  background:#fff; border-radius:var(--radius); padding:36px 30px;
  box-shadow:var(--shadow); border-top:4px solid var(--primary);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,.12); }
.card:nth-child(2){ border-top-color:var(--accent); }
.card:nth-child(3){ border-top-color:var(--primary-dark); }
.card__icon{ color:var(--primary); margin-bottom:14px; }
.card:nth-child(2) .card__icon{ color:var(--accent); }
.card:nth-child(3) .card__icon{ color:var(--primary-dark); }
.card h2{ font-size:1.4rem; }
.card p{ color:var(--grey); font-size:.98rem; }
.card__link{ color:var(--primary); font-weight:700; font-size:.95rem; }
.card__link:hover{ color:var(--primary-dark); }

/* ===== Section heads ===== */
.section-head{ text-align:center; max-width:680px; margin:0 auto 50px; }
.section-head__kicker{ font-family:var(--font-head); text-transform:uppercase; letter-spacing:.18em; font-size:.8rem; font-weight:600; color:var(--accent-dark); margin-bottom:10px; }
.section-head__title{ font-size:clamp(1.7rem,3.5vw,2.5rem); color:var(--ink); }
.section-head__sub{ color:var(--grey); font-size:1.05rem; }
.section-head--light .section-head__kicker{ color:#bdeee2; }
.section-head--light .section-head__title{ color:#fff; }

/* ===== Services ===== */
.services{ padding:90px 0; background:var(--bg-soft); }
.services__grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.service{ background:#fff; border-radius:var(--radius); padding:42px 38px; box-shadow:var(--shadow-sm); position:relative; }
.service__badge{
  position:absolute; top:-22px; left:38px; width:48px; height:48px; border-radius:12px;
  background:var(--primary); color:#fff; font-family:var(--font-head); font-weight:700; display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  box-shadow:0 8px 18px rgba(14,124,123,.3);
}
.service:nth-child(2) .service__badge{ background:var(--accent); box-shadow:0 8px 18px rgba(46,176,134,.3); }
.service h3{ font-size:1.5rem; margin-top:8px; }
.service p{ color:var(--grey); }
.service__list{ list-style:none; padding:0; margin:18px 0 0; }
.service__list li{ position:relative; padding:8px 0 8px 30px; border-top:1px solid var(--line); color:var(--ink); font-weight:500; }
.service__list li::before{ content:"✓"; position:absolute; left:0; color:var(--accent); font-weight:900; }

/* Status-Hinweis (z. B. "AÜG-Erlaubnis beantragt") auf einer Leistungs-Karte */
.service__status{
  display:flex; align-items:flex-start; gap:10px;
  margin:20px 0 0; padding:12px 15px;
  background:var(--bg-tint); border-left:3px solid var(--accent);
  border-radius:10px; font-size:.86rem; line-height:1.45; color:var(--primary-dark);
}
.service__status strong{ color:var(--accent-dark); }
.service__status-dot{
  flex:0 0 auto; width:9px; height:9px; margin-top:5px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 0 4px rgba(69,196,191,.22);
}

/* ===== About ===== */
.about{ padding:90px 0; }
.about__inner{ display:grid; grid-template-columns:1.3fr 1fr; gap:56px; align-items:center; }
.about__text p{ color:var(--grey); font-size:1.05rem; }
.about__note{ font-size:.82rem !important; color:var(--grey-light); }
.stats{ display:flex; gap:28px; margin:28px 0 6px; flex-wrap:wrap; }
.stat{ display:flex; flex-direction:column; }
.stat__num{ font-family:var(--font-head); font-size:2.2rem; font-weight:800; color:var(--primary); line-height:1; }
.stat__label{ font-size:.85rem; color:var(--grey); margin-top:6px; max-width:140px; }
.about__visual{
  aspect-ratio:1/1; border-radius:24px;
  background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; padding:40px; box-shadow:var(--shadow);
}
.about__visual img{ max-width:80%; height:auto; }

/* ===== Benefits ===== */
.benefits{ padding:90px 0; background:linear-gradient(135deg, var(--primary-dark), var(--primary)); color:#fff; }
/* Umgedrehte Pyramide: oben 4, unten 3 – jede untere Kachel sitzt
   mittig unter der Lücke zwischen zwei oberen Kacheln (halb/halb versetzt). */
.benefits__grid{ display:grid; grid-template-columns:repeat(8,1fr); gap:22px; }
.benefits__grid .benefit:nth-child(1){ grid-column:1 / span 2; grid-row:1; }
.benefits__grid .benefit:nth-child(2){ grid-column:3 / span 2; grid-row:1; }
.benefits__grid .benefit:nth-child(3){ grid-column:5 / span 2; grid-row:1; }
.benefits__grid .benefit:nth-child(4){ grid-column:7 / span 2; grid-row:1; }
.benefits__grid .benefit:nth-child(5){ grid-column:2 / span 2; grid-row:2; }
.benefits__grid .benefit:nth-child(6){ grid-column:4 / span 2; grid-row:2; }
.benefits__grid .benefit:nth-child(7){ grid-column:6 / span 2; grid-row:2; }
.benefit{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:var(--radius); padding:28px; }
.benefit h3{ font-size:1.15rem; color:#fff; }
.benefit p{ margin:0; color:rgba(255,255,255,.85); font-size:.95rem; }

/* ===== Jobs ===== */
.jobs{ padding:70px 0; }
.jobs__inner{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  background:var(--bg-tint); border-radius:var(--radius); padding:48px; border-left:6px solid var(--primary);
}
.jobs__inner h2{ margin-bottom:.3em; }
.jobs__inner p{ color:var(--grey); margin:0; max-width:560px; }

/* ===== Contact ===== */
.contact{ padding:90px 0; background:var(--bg-soft); }
.contact__inner{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact__list{ list-style:none; padding:0; margin:24px 0 0; }
.contact__list li{ padding:12px 0; border-bottom:1px solid var(--line); }
.contact__label{ display:inline-block; width:90px; font-weight:700; color:var(--primary-dark); }
.contact__form{ background:#fff; padding:36px; border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-weight:500; margin-bottom:6px; font-size:.9rem; }
.field input, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:.98rem; resize:vertical;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(14,124,123,.12); }
.contact__hint{ font-size:.8rem; color:var(--grey-light); margin:14px 0 0; }
.field__note{ font-size:.78rem; line-height:1.45; color:var(--grey); margin:8px 0 0; }

/* ===== Footer ===== */
.footer{ background:var(--ink); color:#fff; }
.footer__inner{ display:flex; justify-content:space-between; gap:30px; padding:50px 24px; flex-wrap:wrap; }
.footer__logo{ display:inline-block; background:#fff; padding:10px 16px; border-radius:12px; }
.footer__logo img{ height:50px; width:auto; display:block; }
.footer__brand p{ color:rgba(255,255,255,.7); font-size:.9rem; margin-top:14px; }
.footer__right{ display:flex; flex-direction:column; align-items:flex-end; gap:18px; }
.footer__nav{ display:flex; flex-wrap:wrap; gap:8px 22px; align-items:flex-start; justify-content:flex-end; }
.footer__nav a{ color:rgba(255,255,255,.8); font-size:.95rem; }
.footer__nav a:hover{ color:var(--accent); }
.footer__bottom{ border-top:1px solid rgba(255,255,255,.12); padding:18px 0; }
.footer__bottom p{ margin:0; font-size:.82rem; color:rgba(255,255,255,.55); text-align:center; }

/* ===== Legal pages ===== */
.legal{ padding:70px 0 90px; max-width:820px; }
.legal h1{ color:var(--primary); font-size:2.2rem; }
.legal h2{ font-size:1.3rem; margin-top:2em; color:var(--ink); }
.legal p, .legal li{ color:var(--grey); }
.legal .back{ display:inline-block; margin-bottom:30px; color:var(--primary); font-weight:700; }
.placeholder-note{
  background:var(--bg-tint); border-left:4px solid var(--primary); border-radius:8px;
  padding:16px 20px; color:var(--primary-dark); font-size:.92rem;
}

/* ===== Responsive ===== */
@media (max-width:920px){
  .targets__grid{ grid-template-columns:1fr; margin-top:-40px; }
  .services__grid, .about__inner, .contact__inner{ grid-template-columns:1fr; }
  /* Pyramiden-Versatz auf Tablet/Handy aufheben -> normales Raster */
  .benefits__grid{ grid-template-columns:1fr 1fr; }
  .benefits__grid .benefit{ grid-column:auto !important; grid-row:auto !important; }
  .about__visual{ max-width:320px; margin:0 auto; }

  /* Mobile-Navigation als sauberes Panel */
  .nav-toggle{ display:flex; }
  .nav{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch;
    background:#fff; box-shadow:0 14px 26px rgba(0,0,0,.12); border-top:1px solid var(--line);
    padding:6px 16px; gap:0;
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .nav.open{ max-height:82vh; overflow:auto; }
  .nav a{ padding:14px 4px; font-size:1.02rem; border-bottom:1px solid var(--line); border-radius:0; }
  .nav a:hover{ background:transparent; }
  .nav__cta{ margin:12px 0 8px; text-align:center; border-radius:50px; border-bottom:0; }
}

@media (max-width:600px){
  /* Abschnitte kompakter */
  .services, .about, .benefits, .contact{ padding:56px 0; }
  .jobs{ padding:46px 0; }
  .section-head{ margin-bottom:34px; }

  /* Logo im Header etwas kleiner fürs Handy */
  .logo img{ height:54px; }

  /* Typografie fürs Handy verkleinern */
  .hero__inner{ padding:46px 22px 34px; }
  .hero__title{ font-size:2rem; line-height:1.18; }
  .hero__lead{ font-size:1.02rem; }
  .section-head__title{ font-size:1.55rem; }

  /* Karten nicht mehr ins Teal ziehen -> klarer Abstand auf weissem Grund */
  .targets{ margin-top:24px; }
  .targets__grid{ margin-top:0; }

  /* Buttons: gestapelt, volle Breite, kompakter */
  .btn{ padding:13px 22px; }
  .btn--lg{ padding:14px 26px; font-size:1rem; }
  .hero__actions{ width:100%; }
  .hero__actions .btn{ width:100%; text-align:center; }

  /* Karten & Inhalte kompakter */
  .card{ padding:28px 24px; }
  .card h2{ font-size:1.25rem; }
  .service{ padding:32px 24px; }
  .service h3{ font-size:1.3rem; }
  .stats{ gap:22px; }
  .stat__num{ font-size:1.9rem; }
  .about__visual{ max-width:240px; }
  .contact__form{ padding:26px 22px; }
  .footer__inner{ padding:40px 24px; }
  .footer__right{ align-items:flex-start; }
  .footer__nav{ justify-content:flex-start; }

  /* Benefits einspaltig */
  .benefits__grid{ grid-template-columns:1fr; }

  /* Topbar (Telefon/E-Mail) auf dem Handy ausblenden */
  .topbar{ display:none; }

  .jobs__inner{ padding:28px 24px; }
}

/* ===== Einwilligungs-Checkbox im Formular ===== */
.field--check{
  display:flex; align-items:flex-start; gap:10px;
  font-size:.88rem; line-height:1.45; color:var(--ink);
}
.field--check input{ width:auto; margin-top:3px; flex:0 0 auto; }
.field--check a{ color:var(--accent-dark); text-decoration:underline; }

/* ===== Cookie-Hinweis ===== */
.cookie{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:1000;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  max-width:760px; margin:0 auto;
  background:var(--primary-dark); color:#fff;
  padding:18px 22px; border-radius:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.cookie[hidden]{ display:none; }
.cookie__text{ flex:1 1 300px; margin:0; font-size:.92rem; line-height:1.5; }
.cookie__text a{ color:var(--accent); text-decoration:underline; }
.cookie__btn{ flex:0 0 auto; }

@media (max-width:600px){
  .cookie{ flex-direction:column; align-items:stretch; text-align:center; gap:12px; }
  .cookie__btn{ width:100%; }
}

/* ============================================================
   Unterseiten (Pflegekräfte / Ärzte / Einrichtungen / Jobs)
   ============================================================ */

/* --- Sub-Hero / Seitenkopf --- */
.subhero{
  position:relative; overflow:hidden; color:#fff;
  background:linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-bright) 100%);
}
.subhero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 15%, rgba(69,196,191,.35), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(0,0,0,.28), transparent 52%);
}
.subhero__inner{ position:relative; z-index:2; padding:56px 24px 74px; max-width:880px; }
.breadcrumb{ font-family:var(--font-head); font-size:.8rem; font-weight:500; margin-bottom:22px; opacity:.9; }
.breadcrumb a{ color:#fff; opacity:.82; transition:opacity .15s; }
.breadcrumb a:hover{ opacity:1; }
.breadcrumb .sep{ margin:0 9px; opacity:.5; }
.breadcrumb .current{ opacity:.7; }
.subhero__kicker{ font-family:var(--font-head); text-transform:uppercase; letter-spacing:.2em; font-size:.8rem; font-weight:600; opacity:.9; margin-bottom:16px; }
.subhero__title{ font-size:clamp(2rem,4.6vw,3.25rem); font-weight:800; line-height:1.12; margin-bottom:18px; }
.subhero__lead{ font-size:1.12rem; font-weight:300; max-width:660px; opacity:.96; margin:0; }

/* --- Allgemeine Inhaltssektion --- */
.section{ padding:78px 0; }
.section--tint{ background:var(--bg-soft); }
.section--pull{ margin-top:-46px; position:relative; z-index:5; }
.section__intro{ max-width:720px; margin:0 0 44px; }
.section__intro.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* --- Feature-Grid --- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature-grid--2{ grid-template-columns:repeat(2,1fr); }
.feature{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease;
}
.feature:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.feature__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:12px;
  background:var(--bg-tint); color:var(--primary); margin-bottom:16px;
}
.feature h3{ font-size:1.15rem; margin-bottom:.4em; }
.feature p{ color:var(--grey); font-size:.96rem; margin:0; }

/* --- Ablauf / Schritte --- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.steps--3{ grid-template-columns:repeat(3,1fr); }
.step{ position:relative; padding:30px 24px 26px; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-sm); border-top:4px solid var(--accent); }
.step__num{
  font-family:var(--font-head); font-weight:800; font-size:1.05rem;
  width:42px; height:42px; border-radius:12px; background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  box-shadow:0 8px 18px rgba(14,124,123,.28);
}
.step h3{ font-size:1.1rem; margin-bottom:.4em; }
.step p{ color:var(--grey); font-size:.94rem; margin:0; }

/* --- Split (Text + Panel) --- */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center; }
.split--reverse .split__media{ order:-1; }
.panel{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:34px 32px; box-shadow:var(--shadow); }
.panel--tinted{ background:var(--bg-tint); border-color:transparent; }
.panel h3{ font-size:1.25rem; margin-bottom:.6em; }
.check-list{ list-style:none; padding:0; margin:0; }
.check-list li{ position:relative; padding:11px 0 11px 32px; border-top:1px solid var(--line); font-weight:500; color:var(--ink); }
.check-list li:first-child{ border-top:0; }
.check-list li::before{ content:"✓"; position:absolute; left:0; top:11px; color:var(--accent); font-weight:900; }

/* --- FAQ --- */
.faq{ max-width:840px; margin:0 auto; }
.faq__item{ border:1px solid var(--line); border-radius:12px; margin-bottom:14px; background:#fff; overflow:hidden; }
.faq__item summary{
  cursor:pointer; list-style:none; padding:18px 22px; font-family:var(--font-head);
  font-weight:600; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{ content:"+"; font-size:1.35rem; line-height:1; color:var(--primary); transition:transform .2s; }
.faq__item[open] summary::after{ transform:rotate(45deg); }
.faq__item p{ padding:0 22px 20px; margin:0; color:var(--grey); }

/* --- CTA-Band --- */
.cta-band{ background:linear-gradient(135deg, var(--primary-dark), var(--primary)); color:#fff; }
.cta-band__inner{ padding:64px 24px; text-align:center; max-width:720px; margin:0 auto; }
.cta-band h2{ color:#fff; font-size:clamp(1.6rem,3.2vw,2.3rem); margin-bottom:.5em; }
.cta-band p{ color:rgba(255,255,255,.9); margin-bottom:28px; }
.cta-band__actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* --- Erfahrungs-Band --- */
.exp-band{ background:var(--bg-tint); border-radius:var(--radius); padding:44px 46px; display:flex; flex-wrap:wrap; gap:30px 48px; align-items:center; justify-content:space-between; }
.exp-band__text{ max-width:540px; }

/* =================================================================
   FEINSCHLIFF / REFINEMENT PASS  —  "Refined Medical Trust"
   Wird ans Ende gehängt, damit es im Cascade gewinnt.
   ================================================================= */

:root{
  --shadow-lg: 0 24px 60px rgba(16,58,66,.16);
  --plus-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-opacity='0.10'%3E%3Cpath d='M24 17v14M17 24h14'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- Kicker mit Akzentlinie (echoing the plus/cross of the logo) --- */
.hero__kicker, .subhero__kicker, .section-head__kicker{
  display:inline-flex; align-items:center; gap:12px;
}
.hero__kicker::before, .subhero__kicker::before, .section-head__kicker::before{
  content:""; width:28px; height:2px; background:currentColor; opacity:.5; border-radius:2px;
}

/* --- Cross/Plus-Textur auf dunklen Flächen: subtile Tiefe --- */
.hero__overlay::before, .subhero__overlay::before,
.benefits::before, .cta-band::before{
  content:""; position:absolute; inset:0;
  background-image:var(--plus-pattern);
  background-size:48px 48px;
  opacity:.7; pointer-events:none;
}
.benefits, .cta-band{ position:relative; overflow:hidden; }
.benefits > .container, .cta-band__inner{ position:relative; z-index:2; }

/* --- Buttons: Verlauf + Tiefe --- */
.btn--primary{
  background:linear-gradient(135deg, var(--primary-bright), var(--primary) 55%, var(--accent-dark));
  box-shadow:0 10px 24px rgba(14,124,123,.32); border:none;
}
.btn--primary:hover{
  background:linear-gradient(135deg, var(--accent), var(--primary-bright) 60%, var(--primary));
  box-shadow:0 14px 30px rgba(14,124,123,.4); transform:translateY(-2px);
}
.btn--primary:active{ transform:translateY(0); box-shadow:0 6px 16px rgba(14,124,123,.3); }
.btn--ghost{ backdrop-filter:blur(2px); }
.btn{ transition:transform .2s ease, box-shadow .2s ease, background .3s ease, color .2s ease; }

/* --- Karten & Kacheln: feinere Hover-Interaktion --- */
.card, .service, .feature, .step{ transition:transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease; }
.card:hover, .service:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.step:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.feature:hover{ box-shadow:var(--shadow-lg); }
.feature__icon{ transition:background .25s ease, color .25s ease, transform .25s ease; }
.feature:hover .feature__icon{ background:var(--primary); color:#fff; transform:scale(1.06) rotate(-3deg); }
.panel{ box-shadow:var(--shadow-lg); }

/* --- FAQ: aktiver Zustand hervorheben --- */
.faq__item{ transition:border-color .2s ease, box-shadow .2s ease; }
.faq__item[open]{ border-color:var(--accent); box-shadow:0 10px 26px rgba(16,58,66,.08); }
.faq__item summary:hover{ color:var(--primary); }

/* --- Erfahrungs-Band: edler, klarer --- */
.exp-band{ background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); }

/* --- Kontaktformular: edler, mit Akzentkante --- */
.contact__form{ position:relative; border-radius:20px; box-shadow:var(--shadow-lg); overflow:hidden; }
.contact__form::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
}
.field label{ text-transform:uppercase; letter-spacing:.06em; font-size:.76rem; font-weight:700; color:var(--grey); }
.field input, .field textarea, .select{
  background:var(--bg-soft); border-radius:12px; transition:background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .select:focus{
  background:#fff; box-shadow:0 0 0 4px rgba(14,124,123,.14);
}
.contact__form .select{ background:var(--bg-soft); padding:12px 14px; }
.contact__form .select:focus{ background:#fff; box-shadow:0 0 0 4px rgba(14,124,123,.14); }
.contact__form .btn{ width:100%; }

/* =========================================================
   MOTION — Page-Load-Orchestrierung + Scroll-Reveal
   Nur wenn der Nutzer Bewegung nicht reduziert hat.
   Reveal nutzt Keyframe-Animation; JS entfernt die Klassen
   nach animationend, damit Hover-Transforms erhalten bleiben.
   ========================================================= */
@media (prefers-reduced-motion: no-preference){

  .reveal{ opacity:0; }
  .reveal-in{ animation:revealUp .62s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes revealUp{
    from{ opacity:0; transform:translateY(22px); }
    to{ opacity:1; transform:none; }
  }

  /* Hero + Subhero: gestaffelter Einzug beim Laden */
  .hero__inner > *, .subhero__inner > *{
    opacity:0; animation:heroReveal .7s cubic-bezier(.2,.7,.2,1) both;
  }
  @keyframes heroReveal{
    from{ opacity:0; transform:translateY(26px); }
    to{ opacity:1; transform:none; }
  }
  .hero__inner > *:nth-child(1), .subhero__inner > *:nth-child(1){ animation-delay:.05s; }
  .hero__inner > *:nth-child(2), .subhero__inner > *:nth-child(2){ animation-delay:.16s; }
  .hero__inner > *:nth-child(3), .subhero__inner > *:nth-child(3){ animation-delay:.27s; }
  .hero__inner > *:nth-child(4), .subhero__inner > *:nth-child(4){ animation-delay:.38s; }
  .hero__inner > *:nth-child(5), .subhero__inner > *:nth-child(5){ animation-delay:.49s; }
}
.exp-band__text h3{ font-size:1.45rem; margin-bottom:.4em; }
.exp-band__text p{ color:var(--grey); margin:0; }
.exp-stats{ display:flex; gap:34px; flex-wrap:wrap; }

/* --- Jobs-Filter --- */
.jobfilter{ background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); padding:32px 30px; max-width:920px; margin:0 auto; }
.jobfilter__grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.jobfilter .field{ margin:0; }
.jobfilter label{ display:block; font-family:var(--font-head); font-weight:600; color:var(--primary-dark); margin-bottom:8px; font-size:.92rem; }
.select-wrap{ position:relative; }
.select-wrap::after{ content:"▾"; position:absolute; right:16px; top:50%; transform:translateY(-50%); pointer-events:none; color:var(--primary); font-size:.9rem; }
.select-wrap--disabled::after{ color:var(--grey-light); }
.select{
  width:100%; padding:14px 16px; border:1px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:.98rem; background:#fff; color:var(--ink);
  appearance:none; -webkit-appearance:none; -moz-appearance:none; cursor:pointer;
}
.select:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(14,124,123,.12); }
.select:disabled{ background:var(--bg-soft); color:var(--grey-light); cursor:not-allowed; }

/* --- Jobs-Leerzustand --- */
.jobs-empty{ max-width:920px; margin:26px auto 0; text-align:center; background:var(--bg-soft); border:1px dashed var(--line); border-radius:16px; padding:48px 30px; }
.jobs-empty__icon{ width:60px; height:60px; margin:0 auto 18px; color:var(--primary); background:var(--bg-tint); border-radius:16px; display:flex; align-items:center; justify-content:center; }
.jobs-empty h3{ font-size:1.35rem; margin-bottom:.4em; }
.jobs-empty p{ color:var(--grey); max-width:540px; margin:0 auto 22px; }

/* --- Responsive Unterseiten --- */
@media (max-width:920px){
  .feature-grid, .feature-grid--2{ grid-template-columns:1fr 1fr; }
  .steps, .steps--3{ grid-template-columns:1fr 1fr; }
  .split{ grid-template-columns:1fr; gap:32px; }
  .split--reverse .split__media{ order:0; }
  .jobfilter__grid{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  .section{ padding:54px 0; }
  .feature-grid, .feature-grid--2, .steps, .steps--3{ grid-template-columns:1fr; }
  .subhero__inner{ padding:40px 22px 54px; }
  .exp-band{ padding:32px 26px; }
  .cta-band__inner{ padding:48px 22px; }
  .cta-band__actions .btn{ width:100%; }
  .panel{ padding:26px 22px; }
}
