/* ============================================================
   Santevia — Inner page styles
   Service detail pages, philosophie, pflegeleitbild, impressum,
   datenschutz, faq, stellenangebote
   ============================================================ */

/* ---------- Layout helpers ---------- */
.page-body{ padding-block: clamp(60px, 8vw, 100px); background: #fff; }
.page-body--alt{ background: var(--bg-alt); }

.col-container{ max-width: 920px; margin-inline: auto; }
.col-narrow{ max-width: 720px; margin-inline: auto; }

/* ---------- Service page: feature grid ---------- */
.svcpage{
  display: grid; gap: 56px;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
  padding-block: clamp(60px, 8vw, 100px);
}
.svcpage__aside{
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--teal-soft);
  border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.svcpage__aside-icon{
  width: 64px; height: 64px; border-radius: 16px;
  background: #fff; color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm);
}
.svcpage__aside-icon svg{ width: 30px; height: 30px; stroke-width: 1.6; }
.svcpage__aside h3{ font-size: 22px; margin: 0; color: var(--ink); }
.svcpage__aside p{ font-size: 15px; margin: 0; color: var(--muted); }
.svcpage__aside-cta{ margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.svcpage__aside-meta{
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px; border-top: 1px solid var(--teal-line);
}
.svcpage__aside-meta div{
  font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 10px;
}
.svcpage__aside-meta strong{ color: var(--ink); display: block; }
.svcpage__aside-meta svg{ width: 16px; height: 16px; color: var(--teal-deep); flex-shrink: 0; }

.svcpage__main{ display: flex; flex-direction: column; gap: 40px; }
.svcpage__intro p{ font-size: 17px; color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.svcpage__intro p:first-of-type::first-letter{
  font-size: 3.4em; line-height: 0.8; float: left;
  margin: 6px 12px 0 0; font-weight: 800; color: var(--teal-deep);
}
.svcpage__feature{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.svcpage__feature:hover{ border-color: var(--teal-line); box-shadow: var(--sh-md); }
.svcpage__feature h3{
  margin: 0 0 18px; font-size: 22px; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.svcpage__feature h3 .svcpage__h-mark{
  width: 4px; height: 22px; border-radius: 99px;
  background: var(--teal); display: inline-block;
}
.svcpage__feature:nth-of-type(even) h3 .svcpage__h-mark{ background: var(--red); }
.svcpage__feature p{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 920px){
  .svcpage{ grid-template-columns: 1fr; }
  .svcpage__aside{ position: relative; top: 0; }
}

/* ---------- CTA bar at bottom of inner pages ---------- */
.cta-bar{
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--teal-deep), var(--teal-dark));
  color: #fff; padding: 72px 0;
}
.cta-bar__inner{
  display: grid; gap: 28px;
  grid-template-columns: 1.4fr auto; align-items: center;
}
.cta-bar h2{ color: #fff; margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 40px); }
.cta-bar p{ color: rgba(255,255,255,.78); margin: 0; font-size: 16px; }
.cta-bar__cta{ display: flex; gap: 12px; flex-wrap: wrap; }
.cta-bar .btn--ghost{ background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.cta-bar .btn--ghost:hover{ background: #fff; color: var(--teal-deep); }
@media (max-width: 820px){ .cta-bar__inner{ grid-template-columns: 1fr; } }

/* ---------- LEISTUNGEN summary page grid ---------- */
.leistung-grid{
  display: grid; gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px){ .leistung-grid{ grid-template-columns: 1fr; } }
.leistung-tile{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px; display: flex; gap: 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  align-items: flex-start;
}
.leistung-tile:hover{ transform: translateY(-4px); border-color: var(--teal-line); box-shadow: var(--sh-lg); }
.leistung-tile__icon{
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .25s, color .25s;
}
.leistung-tile:hover .leistung-tile__icon{ transform: rotate(-6deg) scale(1.08); background: var(--teal); color: #fff; }
.leistung-tile:nth-child(even) .leistung-tile__icon{ background: var(--red-soft); color: var(--red); }
.leistung-tile:nth-child(even):hover .leistung-tile__icon{ background: var(--red); color: #fff; }
.leistung-tile__icon svg{ width: 30px; height: 30px; stroke-width: 1.6; }
.leistung-tile h3{ margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.leistung-tile p{ margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.leistung-tile__more{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-deep);
  transition: gap .2s;
}
.leistung-tile:nth-child(even) .leistung-tile__more{ color: var(--red); }
.leistung-tile:hover .leistung-tile__more{ gap: 12px; }
.leistung-tile__more svg{ width: 12px; height: 12px; }

/* ---------- Philosophie cards ---------- */
.phil-cards{ display: flex; flex-direction: column; gap: 24px; }
.phil-card{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid; gap: 20px; grid-template-columns: 60px 1fr;
  align-items: start;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.phil-card:hover{ transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: var(--teal-line); }
.phil-card__num{
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
}
.phil-card:nth-child(even) .phil-card__num{ background: var(--red-soft); color: var(--red); }
.phil-card h3{ margin: 6px 0 12px; font-size: 22px; color: var(--ink); }
.phil-card p{ margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- IMPRESSUM ---------- */
.impressum-hero{
  padding-block: clamp(70px, 8vw, 110px);
  background:
    radial-gradient(ellipse at 75% 30%, rgba(0,140,157,.08) 0%, transparent 60%),
    var(--teal-soft);
}
.impressum-hero__brand{
  display: flex; align-items: center; margin-bottom: 24px;
}
.impressum-hero__logo{
  display: block; height: 80px; width: auto; max-width: 100%;
}
@media (max-width: 640px){
  .impressum-hero__logo{ height: 60px; }
}

.impressum-contacts{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 32px;
}
@media (max-width: 720px){ .impressum-contacts{ grid-template-columns: 1fr; } }
.icontact{
  background: #fff; border-radius: var(--r-lg); padding: 22px;
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid var(--teal-line);
}
.icontact__icon{
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.icontact__icon svg{ width: 18px; height: 18px; }
.icontact small{ font-size: 12px; color: var(--muted-2); display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.icontact b{ font-size: 15px; color: var(--ink); display: block; }
.icontact a:hover{ color: var(--teal-deep); }

.impressum-body{
  display: grid; gap: 48px; padding-block: clamp(60px, 8vw, 100px);
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 820px){ .impressum-body{ grid-template-columns: 1fr; } }
.imp-block{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
}
.imp-block h2{ font-size: 22px; margin: 0 0 18px; color: var(--ink); }
.imp-block h3{ font-size: 16px; margin: 22px 0 8px; color: var(--ink-2); }
.imp-block p{ font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.imp-block p:last-child{ margin-bottom: 0; }
.imp-block strong{ color: var(--ink); }

/* BPA membership block */
.bpa{
  background: linear-gradient(180deg, #fff, #f0f7ff);
  border: 2px solid #1f4d8c; border-radius: var(--r-lg);
  padding: 28px; text-align: center;
  position: relative;
}
.bpa__badge{
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #1f4d8c; color: #fff; padding: 4px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 99px;
}
.bpa__logo{
  display: inline-flex; align-items: center; gap: 14px;
  margin: 14px 0 18px;
}
.bpa__logo-mark{
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #1f4d8c, #5cb1e0);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(31,77,140,.25);
}
.bpa__logo-text b{ display: block; font-size: 20px; color: #1f4d8c; letter-spacing: -0.01em; }
.bpa__logo-text span{ font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bpa p{ margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-list{ display: flex; flex-direction: column; gap: 18px; }
.faq-item{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.is-open{ border-color: var(--teal-line); box-shadow: var(--sh-md); }
.faq-item__q{
  width: 100%; padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: transparent; border: none; cursor: pointer;
  font: 600 19px/1.4 inherit; color: var(--ink); text-align: left;
}
.faq-item__q-icon{
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--teal-soft); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.faq-item:nth-child(even) .faq-item__q-icon{ background: var(--red-soft); color: var(--red); }
.faq-item__q-icon svg{ width: 22px; height: 22px; }
.faq-item__q-text{ flex: 1; }
.faq-item__plus{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s, color .2s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-item__plus{ transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-item__plus svg{ width: 20px; height: 20px; }
.faq-item__a{
  padding: 0 30px;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-item__a{ padding: 0 30px 28px 98px; max-height: 600px; }
.faq-item__a p{ margin: 0; color: var(--muted); line-height: 1.7; font-size: 16.5px; }

@media (max-width: 640px){
  .faq-item__q{ padding: 22px 20px; font-size: 16px; gap: 14px; }
  .faq-item__q-icon{ width: 40px; height: 40px; }
  .faq-item__q-icon svg{ width: 18px; height: 18px; }
  .faq-item.is-open .faq-item__a{ padding: 0 20px 22px 20px; }
}

/* ---------- STELLENANGEBOTE ---------- */
.bewerb-tabs{
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 32px;
}
.bewerb-tab{
  padding: 10px 22px; border-radius: 999px;
  font: 600 14px/1 inherit; color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.bewerb-tab.is-active{ background: var(--teal); color: #fff; }

.bewerb-grid{
  display: grid; gap: 32px; grid-template-columns: 1fr 1.6fr;
}
@media (max-width: 920px){ .bewerb-grid{ grid-template-columns: 1fr; } }

.bewerb-grid > *{ min-width: 0; }
.bewerb-channels{ display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bewerb-channel > div{ min-width: 0; }
.bewerb-channel p, .bewerb-channel h4{ overflow-wrap: anywhere; word-break: break-word; }
.bewerb-channel{
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  display: flex; gap: 16px; align-items: flex-start;
}
.bewerb-channel:hover, .bewerb-channel.is-active{
  border-color: var(--teal); background: var(--teal-soft); transform: translateY(-2px);
}
.bewerb-channel__icon{
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.bewerb-channel.is-active .bewerb-channel__icon{ background: #fff; }
.bewerb-channel__icon svg{ width: 22px; height: 22px; }
.bewerb-channel h4{ margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.bewerb-channel p{ margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.bewerb-form{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 36px;
}
.bewerb-form h3{ margin: 0 0 6px; font-size: 24px; }
.bewerb-form > p{ margin: 0 0 24px; color: var(--muted); font-size: 14.5px; }
.bewerb-form__cats{
  display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 22px;
}
@media (max-width: 540px){ .bewerb-form__cats{ grid-template-columns: 1fr; } }
.bewerb-cat{
  padding: 16px 18px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff;
  cursor: pointer; transition: all .15s ease;
  font: 600 14px/1.3 inherit; color: var(--ink-2);
  text-align: left;
  display: flex; align-items: center; gap: 10px;
}
.bewerb-cat:hover{ border-color: var(--teal-line); background: var(--teal-soft); }
.bewerb-cat.is-active{ border-color: var(--teal); background: var(--teal); color: #fff; }
.bewerb-cat svg{ width: 16px; height: 16px; opacity: .7; }
.bewerb-cat.is-active svg{ opacity: 1; }

.bewerb-checks{
  display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 18px;
}
.bewerb-check{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2); font-weight: 500; cursor: pointer;
}
.bewerb-check input{ accent-color: var(--teal); width: 16px; height: 16px; }

.file-zone{
  border: 1.5px dashed var(--line); border-radius: 12px;
  padding: 22px; background: var(--bg-alt);
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-zone:hover{ border-color: var(--teal); background: var(--teal-soft); }
.file-zone svg{ width: 28px; height: 28px; color: var(--teal-deep); }
.file-zone b{ display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.file-zone span{ font-size: 12px; color: var(--muted); }
.file-zone input{ position: absolute; left: -9999px; }

/* ---------- DATENSCHUTZ / Legal long-form text ---------- */
.legal-text{
  max-width: 820px; margin-inline: auto;
  padding-block: clamp(60px, 8vw, 100px);
}
.legal-text h2{ font-size: 26px; margin: 40px 0 14px; color: var(--ink); }
.legal-text h2:first-child{ margin-top: 0; }
.legal-text h3{ font-size: 18px; margin: 24px 0 10px; color: var(--ink-2); }
.legal-text p, .legal-text li{ font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 12px; }
.legal-text ul{ padding-left: 22px; }
.legal-text a{ color: var(--teal-deep); text-decoration: underline; }
.legal-text strong{ color: var(--ink); font-weight: 700; }

/* ---------- Foto im Seiten-Hero (Kundenwunsch 13.10.2026: mehr Bilder) ---------- */
.page-hero__split{
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  position: relative; z-index: 1;
}
.page-hero__split .page-hero__inner{ max-width: 640px; }
.page-hero__photo{
  position: relative; margin: 0;
  aspect-ratio: 4/3; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(1,74,85,.45), 0 10px 24px -10px rgba(11,18,32,.18);
  background: var(--teal-tint);
  transform: rotate(-1.5deg);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.page-hero__photo:hover{ transform: rotate(0deg) scale(1.01); }
.page-hero__photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.page-hero__photo::before{
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(1,74,85,.22) 100%);
}
/* Deko hinter dem Foto */
.page-hero__photo::after{
  content: ""; position: absolute; z-index: -1; right: -8%; bottom: -10%;
  width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,38,69,.18) 0%, transparent 70%);
}
.page-hero:has(.page-hero__split){ padding: 80px 0 72px; }
.page-hero:has(.page-hero__split)::before{
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,140,157,.14) 0%, transparent 65%);
  pointer-events: none;
}
@media (max-width: 920px){
  .page-hero__split{ grid-template-columns: 1fr; gap: 28px; }
  .page-hero__photo{ transform: none; max-width: 520px; aspect-ratio: 16/10; }
  .page-hero:has(.page-hero__split){ padding: 64px 0 56px; }
}
