/* ============================================================
   Santevia — Shared design tokens & global components
   Inter type, teal/red palette, generous rhythm
   ============================================================ */

:root{
  /* Brand */
  --teal:       #008c9d;
  --teal-deep:  #016f7d;
  --teal-dark:  #014a55;
  --teal-soft:  #e6f4f6;
  --teal-tint:  #cdeff4;
  --teal-line:  #b6e0e6;
  --red:        #e62645;
  --red-deep:   #b3132d;
  --red-soft:   #fde7eb;

  /* Neutrals */
  --ink:        #0f172a;
  --ink-2:      #1f2937;
  --muted:      #475569;
  --muted-2:    #64748b;
  --line:       #e5e7eb;
  --line-2:     #d6dee5;
  --bg:         #ffffff;
  --bg-alt:     #f7fbfb;

  /* Shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.06);
  --sh-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 6px rgba(15,23,42,.05);
  --sh-lg: 0 18px 48px rgba(11,18,32,.10), 0 6px 18px rgba(11,18,32,.06);
  --sh-glow: 0 12px 32px rgba(0,140,157,.18);

  /* Layout */
  --container: 1200px;
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: clip; } /* nie horizontal scrollen (14.10.2026) */
.container{ min-width: 0; }
a, p, li, h1, h2, h3, h4, td{ overflow-wrap: anywhere; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: inherit; color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
p  { margin: 0 0 1em; color: var(--muted); }
p strong { color: var(--ink); font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }

/* ---------- Container & sections ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--teal-soft); }
.section--ink { background: var(--ink); color: #f8fafc; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #cbd5e1; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head--left { text-align: left; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { max-width: 640px; margin-inline: auto; font-size: 17px; }
.section-head--left p { margin-inline: 0; }

/* ---------- Eyebrow pill ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: var(--red-soft); color: var(--red);
}
.eyebrow--teal { background: var(--teal-soft); color: var(--teal-deep); }
.eyebrow--ghost { background: transparent; border: 1.5px solid currentColor; }
.eyebrow::before{
  content: ""; width: 5px; height: 5px; border-radius: 999px;
  background: currentColor; display: inline-block;
}

/* ---------- Divider ---------- */
.divider{
  width: 56px; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--red) 100%);
  margin: 18px 0;
}
.section-head .divider { margin: 18px auto 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn--primary{
  background: var(--teal); color: #fff;
  box-shadow: 0 6px 18px rgba(0,140,157,.28);
}
.btn--primary:hover{ background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,140,157,.36); }
.btn--ghost{
  background: #fff; color: var(--teal-deep); border-color: var(--teal-line);
}
.btn--ghost:hover{ background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-1px); }
.btn--red{
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px rgba(230,38,69,.26);
}
.btn--red:hover{ background: var(--red-deep); transform: translateY(-1px); }
.btn--lg{ padding: 18px 28px; font-size: 16px; border-radius: 14px; }
.btn .ico{ width: 18px; height: 18px; }
.btn--block{ width: 100%; }

/* ---------- HEADER ========================================== */
.site-header{
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header__inner{
  display: flex; align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding-block: 12px;
}
.brand{
  display: flex; align-items: center;
  flex-shrink: 0; min-width: 0;
}
.logo-img{
  display: block; height: 48px; width: auto;
  max-width: 100%;
}
@media (max-width: 640px){
  .logo-img{ height: 38px; }
}

.nav{
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.nav__list{
  display: flex; gap: 2px; list-style: none; padding: 0; margin: 0;
  align-items: center; flex-wrap: nowrap;
}
.nav__item{ position: relative; }
.nav__link{
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
  cursor: pointer; white-space: nowrap;
}
.nav__link:hover{ background: var(--teal-soft); color: var(--teal-deep); }
.nav__link svg{ width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.nav__item:hover .nav__link svg{ transform: rotate(180deg); }
.nav__item.is-active > .nav__link{ color: var(--teal-deep); background: var(--teal-soft); }

.nav__submenu{
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 280px; padding: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--sh-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu{
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu a{
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: background .15s, color .15s;
}
.nav__submenu a:hover{ background: var(--teal-soft); color: var(--teal-deep); }

.header-actions{
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.hc-phone{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 10px;
  border: 1.5px solid var(--teal-line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--teal-deep);
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.hc-phone:hover{ background: var(--teal); color: #fff; border-color: var(--teal); }
.hc-phone svg{ width: 16px; height: 16px; }
.header-actions .btn{ padding: 10px 16px; font-size: 13.5px; }

.hc-socials{ display: flex; gap: 6px; }
.hc-social{
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--muted); border: 1px solid var(--line);
  transition: color .2s, border-color .2s, background .2s;
}
.hc-social:hover{ color: var(--teal-deep); border-color: var(--teal-line); background: var(--teal-soft); }
.hc-social svg{ width: 16px; height: 16px; }

.burger{
  display: none; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
  color: var(--ink); flex-shrink: 0;
}
.burger svg{ width: 22px; height: 22px; }

/* ---------- Mobile nav ---------- */
.mobile-nav{
  position: fixed; inset: var(--header-h) 0 0 0;
  background: #fff; z-index: 150;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav__group{ border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-nav__link{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.mobile-nav__link svg{ width: 18px; height: 18px; transition: transform .2s; }
.mobile-nav__group.is-open .mobile-nav__link svg{ transform: rotate(180deg); }
.mobile-nav__sub{
  display: none; padding: 4px 0 12px 4px; gap: 4px; flex-direction: column;
}
.mobile-nav__group.is-open .mobile-nav__sub{ display: flex; }
.mobile-nav__sub a{
  padding: 10px 12px; border-radius: 8px;
  font-size: 14.5px; color: var(--muted); font-weight: 500;
}
.mobile-nav__sub a:hover{ background: var(--teal-soft); color: var(--teal-deep); }
.mobile-nav__cta{
  display: flex; gap: 10px; flex-direction: column; padding-top: 18px;
}

@media (max-width: 1480px){
  .hc-socials{ display: none; }
}
@media (max-width: 1380px){
  .nav__link{ padding: 8px 10px; font-size: 13.5px; }
  .header-actions{ gap: 6px; }
  .hc-phone{ padding: 9px 11px; font-size: 13px; }
  .header-actions .btn{ padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 1240px){
  .nav{ display: none; }
  .burger{ display: inline-flex; }
  .site-header__inner{ justify-content: space-between; }
  .header-actions{ margin-left: auto; }
}
@media (max-width: 720px){
  .hc-phone .full{ display: none; }
  .hc-phone{ width: 42px; height: 42px; padding: 0; justify-content: center; }
  .header-actions .btn{ padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 520px){
  .header-actions .btn{ display: none; }
  .site-header__inner{ gap: 12px; }
}

/* ---------- FOOTER ========================================== */
/* Hell (Kundenwunsch 13.10.2026: dunkler Fußbereich war «zu dunkel») */
.footer{
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-soft) 100%);
  border-top: 1px solid var(--teal-line);
  color: var(--ink-2);
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer__grid{
  display: grid; gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer__brand{
  display: flex; align-items: center; margin-bottom: 22px;
}
.footer__logo{
  display: block; height: 48px; width: auto;
}
.footer__about{
  font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 320px;
}
.footer__about a{ color: var(--ink); font-weight: 600; }
.footer__about a:hover{ color: var(--teal-deep); }
.footer__h{
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep); margin: 0 0 18px;
}
.footer__list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a{
  font-size: 14px; color: var(--muted);
  transition: color .2s;
}
.footer__list a:hover{ color: var(--teal-deep); }
.footer__bottom{
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--teal-line);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-size: 13px; color: var(--muted-2); flex-wrap: wrap;
}
.footer__bottom a{ color: var(--muted); }
.footer__bottom a:hover{ color: var(--teal-deep); }
.footer__socials{ display: flex; gap: 8px; }
.footer__socials a{
  width: 36px; height: 36px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--teal-line);
  color: var(--teal-deep);
}
.footer__socials a:hover{ color: #fff; background: var(--teal); border-color: var(--teal); }
.footer__socials svg{ width: 16px; height: 16px; }

@media (max-width: 900px){
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__bottom{ flex-direction: column; align-items: flex-start; }
}

/* ---------- Cards ---------- */
.card{
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: var(--teal-line); }

/* ---------- Reveal animation ---------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal[data-stagger]{ transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Image placeholder (striped, monospace label) ---------- */
.imgph{
  display: block; position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0,140,157,.06) 0 12px,
      rgba(0,140,157,.10) 12px 24px
    ),
    var(--teal-soft);
  color: var(--teal-deep);
  border: 1px dashed var(--teal-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.04em;
}
.imgph__label{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  color: var(--teal-deep); opacity: .8;
  text-transform: uppercase; font-weight: 600;
}

/* ---------- Forms (shared) ---------- */
.field{ display: flex; flex-direction: column; gap: 6px; }
.field__label{
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
}
.field__input, .field__textarea, .field__select{
  width: 100%; padding: 13px 14px;
  font: 500 15px/1.4 inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.field__textarea{ min-height: 130px; resize: vertical; }
.field__input:focus, .field__textarea:focus, .field__select:focus{
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,140,157,.14);
}
.field__row{ display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px){ .field__row{ grid-template-columns: 1fr; } }

.checkbox{ display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.checkbox input{ margin: 3px 0 0; accent-color: var(--teal); width: 16px; height: 16px; }

/* Form flash messages */
.form-flash{
  padding: 14px 18px; border-radius: 10px; margin-bottom: 18px;
  font-size: 14.5px; line-height: 1.5; border: 1px solid transparent;
}
.form-flash--ok{ background: #ecfdf5; color: #065f46; border-color: #6ee7b7; }
.form-flash--err{ background: #fef2f2; color: #991b1b; border-color: #fca5a5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  position: relative; padding: 100px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,140,157,.08) 0%, transparent 50%),
    var(--teal-soft);
  overflow: hidden;
}
.page-hero__inner{
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 24px; max-width: 820px;
}
.page-hero__inner > *{ max-width: 100%; }
.page-hero h1{
  font-size: clamp(36px, 5.2vw, 64px);
}
.page-hero__sub{ font-size: 18px; max-width: 640px; color: var(--muted); }
.crumbs{
  font-size: 13px; color: var(--muted-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumbs a:hover{ color: var(--teal-deep); }
.crumbs > span{ opacity: .6; }
.page-hero__shape{
  position: absolute; right: -80px; bottom: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,38,69,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Bullet list (used in service pages) ---------- */
.bullets{ list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullets li{
  position: relative; padding-left: 32px;
  color: var(--ink-2); font-size: 16px; line-height: 1.55;
}
.bullets li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008c9d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}

/* ---------- Animations ---------- */
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0,140,157,.4); }
  70% { box-shadow: 0 0 0 18px rgba(0,140,157,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,140,157,0); }
}

/* ---------- Markenwort: «Sante» petrol, «via» rot (wie im Logo) ---------- */
.brand-word{ white-space: nowrap; }
.brand-word__a{ color: var(--teal-deep); }
.brand-word__b{ color: var(--red); }

/* ---------- Stellen-Badges (Kundenwunsch: alle rot) ---------- */
.job-badge{
  font-size: 11px; background: var(--red); color: #fff;
  padding: 3px 9px; border-radius: 99px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 3px 8px rgba(230,38,69,.22);
}

/* ---------- Platzhalter für blockierte externe Inhalte ---------- */
.consent-ph{
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(0,140,157,.05) 0 12px, rgba(0,140,157,.09) 12px 24px),
    var(--teal-soft);
  color: var(--ink-2); border-radius: inherit;
}
.consent-ph svg{ width: 30px; height: 30px; color: var(--teal-deep); }
.consent-ph p{ margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 360px; }
.consent-ph p strong{ color: var(--ink); font-size: 14px; }
.consent-ph .btn{ padding: 10px 16px; font-size: 13.5px; }
.consent-ph__link{ font-size: 12px; color: var(--teal-deep); text-decoration: underline; }
.reviews__plugin .consent-ph{ position: relative; min-height: 220px; border-radius: var(--r-lg); }

/* Turnstile-Widget nie breiter als der Platz */
.cf-turnstile{ max-width: 100%; min-width: 0; overflow: visible; }
.cf-turnstile iframe{ max-width: 100%; }
