/* =========================================================
   DSK+ Pflegedienst – Konzept 1 "Warm & Menschlich"
   Vollflächiger Foto-Hero · warme rot-basierte Farbwelt
   Fraunces Serif Headlines + Inter
   ========================================================= */

:root{
  /* Seite ist ein festes Markendesign – NIE vom Browser-Dark-Mode umfaerben lassen */
  color-scheme: light only;
  /* Farbwelt – warm, rot-basiert, weich */
  --creme:      #FBF6F0;   /* Haupthintergrund */
  --rose:       #F5E9E4;   /* sanfte Flächen */
  --rose-deep:  #EFD9D0;   /* Pill-Hintergrund */
  --bordeaux:   #A01E28;   /* Herzfarbe */
  --bordeaux-d: #861620;   /* Hover */
  --terracotta: #C56A52;   /* warmer Akzent */
  --sand:       #F0E2D4;   /* Sand-Band */
  --ink:        #33302C;   /* warmes Anthrazit Text */
  --ink-soft:   #6B645C;   /* gedämpfter Text */
  --white:      #FFFFFF;

  --r-lg: 24px;            /* große runde Karten */
  --r-md: 18px;
  --r-pill: 999px;

  --shadow-soft: 0 12px 36px rgba(160,30,40,.10);
  --shadow-card: 0 8px 28px rgba(80,40,30,.10);
  --shadow-hover: 0 20px 48px rgba(160,30,40,.18);

  --maxw: 1120px;
  --gut: clamp(20px, 5vw, 56px);

  --ff-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; color-scheme:light only; background:#FBF6F0; overflow-x:hidden; max-width:100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation:none!important; transition:none!important; }
}

body{
  font-family:var(--ff-body);
  font-size:18px;
  line-height:1.7;
  color:var(--ink);
  background:var(--creme);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

.container{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gut);
}

/* ---------- Typo ---------- */
h1,h2,h3,h4,blockquote{
  font-family:var(--ff-head);
  font-weight:600;
  line-height:1.12;
  color:var(--ink);
  letter-spacing:-.01em;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:48px;
  padding:.85rem 1.6rem;
  border-radius:var(--r-pill);
  font-family:var(--ff-body);
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  border:2px solid transparent;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-align:center;
}
.btn:focus-visible{ outline:3px solid var(--terracotta); outline-offset:3px; }

.btn-primary{ background:var(--bordeaux); color:#fff; box-shadow:var(--shadow-soft); }
.btn-primary:hover{ background:var(--bordeaux-d); transform:translateY(-2px); }

.btn-ghost{ background:rgba(255,255,255,.16); color:#fff; border-color:rgba(255,255,255,.7); backdrop-filter:blur(4px); }
.btn-ghost:hover{ background:rgba(255,255,255,.28); transform:translateY(-2px); }

.btn-outline{ background:transparent; color:var(--bordeaux); border-color:var(--bordeaux); }
.btn-outline:hover{ background:var(--bordeaux); color:#fff; }

.btn-phone{ background:var(--bordeaux); color:#fff; padding:.6rem 1.1rem; box-shadow:var(--shadow-soft); }
.btn-phone:hover{ background:var(--bordeaux-d); }

.btn-block{ width:100%; }

/* =========================================================
   HEADER (sticky)
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(251,246,240,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rose-deep);
}
.header-inner{
  display:flex; align-items:center; gap:1.5rem;
  min-height:74px;
}
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand-logo{ height:46px; width:auto; }

/* ---------- Sprachumschalter ---------- */
.lang-switch{
  display:flex; align-items:center; gap:.3rem;
  margin-left:auto;
  background:var(--rose);
  border:1px solid var(--rose-deep);
  border-radius:var(--r-pill);
  padding:.25rem;
}
.lang-switch a{
  display:inline-flex; align-items:center; gap:.3rem;
  min-height:36px; min-width:44px;
  padding:.35rem .65rem;
  border-radius:var(--r-pill);
  font-weight:600; font-size:.92rem;
  color:var(--ink);
  line-height:1;
  transition:background .2s ease, color .2s ease;
}
.lang-switch a:hover{ background:var(--rose-deep); color:var(--bordeaux); }
.lang-switch a[aria-current="true"]{ background:var(--bordeaux); color:#fff; }
.lang-switch a .flag{
  width:20px; height:14px;
  border-radius:2px;
  display:block; flex:0 0 auto;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,0,0,.12);
}
.lang-switch a:focus-visible{ outline:3px solid var(--terracotta); outline-offset:2px; }

.main-nav{ display:flex; gap:1.6rem; margin-left:1.6rem; }
.main-nav a{
  font-weight:500; font-size:1rem; color:var(--ink);
  padding:.4rem 0; position:relative;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--bordeaux); transition:width .25s ease;
}
.main-nav a:hover{ color:var(--bordeaux); }
.main-nav a:hover::after{ width:100%; }

.btn-phone{ flex-shrink:0; }
.header-inner .btn-phone{ margin-left:0; }
.main-nav + .btn-phone{ margin-left:1rem; }

/* =========================================================
   HERO – vollflächig
   ========================================================= */
.hero{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:flex-end;
  background-image:url("shared/img/hero-team.jpg");
  background-size:cover;
  /* mittig: linker Pfleger UND rechte Pflegerin bleiben voll im Bild.
     Text sitzt unten links ueber dem Senior (Mitte) zwischen beiden Pflegekraeften */
  background-position:center 22%;
  background-color:var(--rose);
}
.hero-overlay{
  position:absolute; inset:0;
  /* NUR der unterste Bildstreifen wird leicht abgedunkelt (dort sind keine
     Gesichter). Ab ~40% Hoehe komplett klar -> kein Schleier auf der
     Pflegerin rechts oder den anderen Gesichtern */
  background:linear-gradient(to top,
    rgba(45,22,18,.42) 0%,
    rgba(45,22,18,.12) 18%,
    rgba(45,22,18,0) 38%);
}
.hero-content{
  position:relative; z-index:2;
  padding-block:clamp(2.5rem, 6vh, 5rem);
  /* Text schmal in die linke Bildhaelfte verankern, unten ausgerichtet,
     damit links der Pfleger und rechts die Pflegerin frei bleiben */
  max-width:500px;
  margin-right:auto;
  padding-bottom:clamp(1rem, 3vh, 2rem);
  color:#fff;
}
/* weicher dunkler Verlauf NUR hinter dem Textblock unten links,
   damit die Pfleger-Gesichter im oberen Bildbereich frei bleiben */
.hero-content::before{
  content:"";
  position:absolute;
  inset:-1rem -1rem -3rem -50vw;     /* nach links/unten, NICHT nach rechts ueber die Gesichter */
  z-index:-1;
  /* Verlauf eng links-unten konzentriert: Text bleibt lesbar, der Senior
     in der Mitte und beide Pflegekraefte bleiben frei (kein Schleier) */
  background:radial-gradient(80% 95% at 0% 95%,
    rgba(45,22,18,.78) 0%,
    rgba(45,22,18,.46) 34%,
    rgba(45,22,18,.10) 60%,
    rgba(45,22,18,0) 78%);
  pointer-events:none;
}
.hero-eyebrow{
  display:inline-block;
  font-weight:600; font-size:.95rem;
  letter-spacing:.08em; text-transform:uppercase;
  color:#FBE3DB;
  background:rgba(160,30,40,.55);
  padding:.4rem 1rem; border-radius:var(--r-pill);
  margin-bottom:1.1rem;
  backdrop-filter:blur(4px);
}
.hero-title{
  font-size:clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight:600;
  line-height:1.08;
  color:#fff;
  text-shadow:0 2px 24px rgba(0,0,0,.45);
  margin-bottom:1.1rem;
}
.hero-sub{
  font-size:clamp(1.05rem, 2.2vw, 1.35rem);
  line-height:1.6;
  color:#FBF1EC;
  max-width:600px;
  text-shadow:0 1px 12px rgba(0,0,0,.4);
  margin-bottom:1.8rem;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:1rem; }

/* =========================================================
   VERTRAUENS-WELLE
   ========================================================= */
.trust-wave{
  background:var(--sand);
  padding-block:clamp(2.2rem, 5vw, 3rem);
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.4rem;
}
.trust-item{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:.35rem;
}
.trust-icon{
  width:60px; height:60px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--white); color:var(--bordeaux);
  box-shadow:var(--shadow-card);
  margin-bottom:.4rem;
}
.trust-item strong{ font-family:var(--ff-head); font-size:1.15rem; font-weight:600; color:var(--ink); }
.trust-text{ font-size:.95rem; color:var(--ink-soft); }

/* =========================================================
   SECTION basics
   ========================================================= */
.section{ padding-block:clamp(3.5rem, 8vw, 6rem); }
.section-head{ max-width:680px; margin:0 auto clamp(2rem,5vw,3rem); text-align:center; }
.section-eyebrow{
  font-weight:600; font-size:.9rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--terracotta); margin-bottom:.6rem;
}
.section-title{ font-size:clamp(1.9rem, 4.2vw, 3rem); }
.section-intro{ margin-top:1rem; font-size:1.1rem; color:var(--ink-soft); }

/* =========================================================
   LEISTUNGEN – große warme Karten
   ========================================================= */
.cards-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.6rem;
}
.care-card{
  background:var(--white);
  border-radius:var(--r-lg);
  padding:2.2rem 2rem;
  box-shadow:var(--shadow-card);
  border:1px solid var(--rose);
  transition:transform .25s ease, box-shadow .25s ease;
}
.care-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-hover); }
.care-icon{
  width:64px; height:64px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--rose); color:var(--bordeaux);
  margin-bottom:1.2rem;
}
.care-card h3{ font-size:1.45rem; margin-bottom:.6rem; }
.care-card p{ color:var(--ink-soft); font-size:1.02rem; }

/* =========================================================
   ÜBER UNS / DIANA ACKER
   ========================================================= */
.about{ background:var(--rose); }
.about-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:clamp(2rem, 5vw, 4rem);
  align-items:center;
}
.about-photo{
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--shadow-hover);
}
.about-photo img{
  width:100%; height:100%; object-fit:cover;
  aspect-ratio:4/5;
  object-position:center 22%;
}
.about-quote{
  font-family:var(--ff-head);
  font-weight:500;
  font-size:clamp(1.7rem, 3.4vw, 2.4rem);
  line-height:1.2;
  color:var(--bordeaux);
  margin:.4rem 0 1.4rem;
}
.about-text{ color:var(--ink); margin-bottom:1rem; }
.about-text strong{ color:var(--bordeaux); }
.about-sign{ margin-top:1.4rem; display:flex; flex-direction:column; }
.sign-name{
  font-family:var(--ff-head); font-size:1.4rem; font-weight:600; color:var(--ink);
}
.sign-role{ font-size:.95rem; color:var(--ink-soft); }

/* =========================================================
   MEHRSPRACHIGKEIT – Sprechblasen
   ========================================================= */
.lang-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1.5rem;
}
.lang-pill{
  background:var(--rose-deep);
  border-radius:var(--r-lg);
  padding:1.8rem 1.6rem;
  position:relative;
  border:1px solid var(--rose);
}
.lang-pill::after{
  content:"";
  position:absolute; left:2.4rem; bottom:-12px;
  width:24px; height:24px;
  background:var(--rose-deep);
  border-right:1px solid var(--rose);
  border-bottom:1px solid var(--rose);
  transform:rotate(45deg);
}
.lang-label{
  display:inline-block;
  font-family:var(--ff-head); font-weight:600; font-size:1.3rem;
  color:var(--bordeaux); margin-bottom:.5rem;
}
.lang-welcome{ font-size:1.05rem; color:var(--ink); line-height:1.55; }

/* =========================================================
   ABLAUF – 3 runde Schritte mit Verbindungslinie
   ========================================================= */
.ablauf{ background:var(--sand); }
.steps{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.6rem;
  position:relative;
  counter-reset:step;
}
.steps::before{
  content:"";
  position:absolute; top:34px; left:16%; right:16%;
  height:3px;
  background:repeating-linear-gradient(to right, var(--terracotta) 0 14px, transparent 14px 26px);
  z-index:0;
}
.step{
  position:relative; z-index:1;
  text-align:center;
  background:transparent;
}
.step-num{
  width:68px; height:68px; border-radius:50%;
  display:grid; place-items:center;
  margin:0 auto 1.1rem;
  background:var(--bordeaux); color:#fff;
  font-family:var(--ff-head); font-weight:600; font-size:1.8rem;
  box-shadow:var(--shadow-soft);
  border:5px solid var(--sand);
}
.step h3{ font-size:1.35rem; margin-bottom:.5rem; }
.step p{ color:var(--ink-soft); font-size:1rem; max-width:300px; margin-inline:auto; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(1.8rem, 4vw, 3rem);
  align-items:start;
}
.contact-form{
  background:var(--white);
  border-radius:var(--r-lg);
  padding:clamp(1.8rem, 3vw, 2.6rem);
  box-shadow:var(--shadow-card);
  border:1px solid var(--rose);
}
.contact-form-title{ font-size:1.5rem; margin-bottom:1.4rem; }
.field{ margin-bottom:1.2rem; }
.field label{ display:block; font-weight:600; font-size:.95rem; margin-bottom:.45rem; color:var(--ink); }
.field input, .field textarea{
  width:100%;
  font-family:var(--ff-body); font-size:1rem;
  padding:.85rem 1rem; min-height:48px;
  border:2px solid var(--rose-deep);
  border-radius:var(--r-md);
  background:var(--creme); color:var(--ink);
  transition:border-color .2s ease;
}
.field textarea{ resize:vertical; }
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--bordeaux);
}
.field input::placeholder, .field textarea::placeholder{ color:#A39A90; }
.form-hint{ margin-top:.9rem; font-size:.9rem; color:var(--ink-soft); text-align:center; }
.hp-field{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.form-status{ margin-top:1rem; padding:.9rem 1.1rem; border-radius:var(--r-md); font-size:.98rem; text-align:center; }
.form-status--error{ background:#FBE3DB; color:var(--bordeaux); border:1px solid var(--bordeaux); font-weight:600; }

/* Direktkontakt-Spalte */
.contact-direct{ display:flex; flex-direction:column; gap:1.4rem; }
/* 24h-Erreichbarkeitskarte */
.hours-card{
  background:linear-gradient(160deg, var(--bordeaux) 0%, #7d1620 100%);
  border-radius:var(--r-lg);
  padding:2rem 1.7rem 1.8rem;
  text-align:center;
  color:#fff;
  box-shadow:var(--shadow-card);
}
.hours-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.82rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  padding:.35rem .8rem; border-radius:var(--r-pill);
  margin-bottom:1rem;
}
.hours-dot{
  width:9px; height:9px; border-radius:50%; background:#5BD46A;
  box-shadow:0 0 0 0 rgba(91,212,106,.6);
  animation:hours-pulse 2s infinite;
}
@keyframes hours-pulse{
  0%{ box-shadow:0 0 0 0 rgba(91,212,106,.55); }
  70%{ box-shadow:0 0 0 7px rgba(91,212,106,0); }
  100%{ box-shadow:0 0 0 0 rgba(91,212,106,0); }
}
.cal-icon{
  width:58px; height:58px; border-radius:50%;
  display:grid; place-items:center; margin:0 auto .9rem;
  background:rgba(255,255,255,.16); color:#fff;
}
.hours-card h3{ font-size:1.4rem; margin-bottom:.5rem; color:#fff; }
.hours-card > p{ color:rgba(255,255,255,.88); margin-bottom:1.3rem; font-size:.98rem; }
.hours-actions{ display:flex; flex-direction:column; gap:.7rem; }
.hours-line{
  display:flex; align-items:center; gap:.9rem;
  min-height:54px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r-md);
  padding:.7rem 1rem;
  text-align:left;
  transition:background .2s ease, transform .15s ease;
}
.hours-line:hover{ background:rgba(255,255,255,.2); transform:translateY(-1px); }
.hours-line:focus-visible{ outline:3px solid #fff; outline-offset:2px; }
.hours-line-icon{
  width:40px; height:40px; flex:0 0 auto; border-radius:50%;
  display:grid; place-items:center;
  background:#fff; color:var(--bordeaux);
}
.hours-line--wa .hours-line-icon{ background:#25D366; color:#fff; }
.hours-line-body{ display:flex; flex-direction:column; line-height:1.25; }
.hours-line-body strong{ font-size:.82rem; font-weight:600; color:rgba(255,255,255,.78); text-transform:uppercase; letter-spacing:.03em; }
.hours-line-body span{ font-size:1.18rem; font-weight:700; color:#fff; }
.hours-line--primary .hours-line-body span{ font-size:1.32rem; }

.contact-list{ list-style:none; display:flex; flex-direction:column; gap:.8rem; }
.contact-row{
  display:flex; align-items:center; gap:1rem;
  min-height:48px;
  background:var(--white);
  border:1px solid var(--rose);
  border-radius:var(--r-md);
  padding:.9rem 1.1rem;
  transition:transform .2s ease, box-shadow .2s ease;
}
.contact-row:hover{ transform:translateX(4px); box-shadow:var(--shadow-card); }
.contact-row-icon{
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  display:grid; place-items:center;
  background:var(--rose); color:var(--bordeaux);
}
.contact-row.whatsapp .contact-row-icon{ background:#25D366; color:#fff; }
.contact-row-body{ display:flex; flex-direction:column; line-height:1.3; }
.contact-row-body strong{ font-weight:600; color:var(--ink); }
.contact-row-body strong{ font-weight:600; color:var(--ink); font-size:.92rem; }
.contact-row-body span{ color:var(--bordeaux); font-size:1.15rem; font-weight:700; letter-spacing:.01em; }
.contact-row.address .contact-row-body span{ color:var(--ink); font-size:1.02rem; font-weight:600; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--ink); color:#E9E2DA; }
.footer-ekg{ line-height:0; background:var(--ink); overflow:hidden; }
.footer-ekg svg{ display:block; }
/* laufende Herzfrequenz-Linie */
.footer-ekg .ekg-line{
  stroke-dasharray:1600;
  stroke-dashoffset:1600;
  animation:ekg-run 3.2s linear infinite;
}
@keyframes ekg-run{
  0%{ stroke-dashoffset:1600; }
  100%{ stroke-dashoffset:0; }
}
/* ---- Marken-EKG-Trenner zwischen Sektionen ---- */
.ekg-divider{
  line-height:0; overflow:hidden;
  background-color:#FBF6F0 !important;
  background-image:linear-gradient(#FBF6F0,#FBF6F0) !important;
  padding-block:clamp(.6rem,2vw,1.1rem);
}
.ekg-divider svg{ display:block; width:100%; height:46px; }
.ekg-divider .ekg-line{
  stroke:#C8102E !important;
  forced-color-adjust:none !important;
  -webkit-forced-color-adjust:none !important;
  stroke-dasharray:1600; stroke-dashoffset:1600;
  animation:ekg-run 3.4s linear infinite;
}
/* auf creme/sand-Flaechen passt heller Grund */
.ekg-divider.on-sand{
  background-color:#F0E2D4 !important;
  background-image:linear-gradient(#F0E2D4,#F0E2D4) !important;
}
@media (prefers-reduced-motion: reduce){
  .ekg-divider .ekg-line{ animation:none; stroke-dashoffset:0; }
}
.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:2rem;
  padding-block:clamp(2.5rem, 5vw, 3.5rem);
}
.footer-logo{
  height:54px; width:auto;
  background:var(--creme);
  padding:.5rem .8rem; border-radius:14px;
  margin-bottom:1rem;
}
.footer-claim{ font-family:var(--ff-head); font-size:1.15rem; color:#F3E6DF; max-width:240px; }
.footer-col h4{ font-family:var(--ff-head); font-size:1.1rem; color:#fff; margin-bottom:.9rem; }
.footer-col p{ font-size:.98rem; color:#CBC2B9; margin-bottom:.5rem; }
.footer-col a{ color:#CBC2B9; }
.footer-col a:hover{ color:#fff; text-decoration:underline; }
.footer-col strong{ color:#F3E6DF; }
.footer-note{ font-size:.82rem; color:#A99F95; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-block:1.2rem;
}
.footer-bottom p{ font-size:.88rem; color:#A99F95; text-align:center; }

/* =========================================================
   WHATSAPP FLOATING
   ========================================================= */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:200;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff;
  display:grid; place-items:center;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float:focus-visible{ outline:3px solid #fff; outline-offset:3px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 940px){
  .footer-inner{ grid-template-columns:1fr 1fr; }
}

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

@media (max-width: 860px){
  .main-nav{ display:none; }
  .header-inner{ justify-content:space-between; flex-wrap:wrap; }
  .lang-switch{ margin-left:0; order:3; }
  .cards-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .about-photo{ max-width:480px; margin-inline:auto; order:-1; }
  .contact-grid{ grid-template-columns:1fr; }
  .lang-grid{ grid-template-columns:1fr; }
}

@media (max-width: 720px){
  .trust-grid{ grid-template-columns:1fr 1fr; gap:1.8rem 1rem; }
  .steps{ grid-template-columns:1fr; gap:2rem; }
  .steps::before{ display:none; }

  /* Header deckend, damit das Logo nicht vom dunklen Hero ueberlagert wird */
  .site-header{ background:var(--creme); backdrop-filter:none; box-shadow:0 2px 12px rgba(45,22,18,.10); }
  .brand-logo{ height:50px; }

  /* MOBIL-HERO: Bild oben frei (alle 3 Gesichter), Text darunter auf Bordeaux-Grund.
     Querformat-Foto kann im schmalen Hochformat nicht Gesichter UND Text ueberlappungsfrei zeigen,
     daher Bild und Text getrennt stapeln. */
  .hero{
    min-height:auto;
    display:block;
    background-image:none;            /* Bild kommt jetzt als ::before-Block */
    background-color:var(--bordeaux-d);
    position:relative;
  }
  .hero::before{
    content:"";
    display:block;
    width:100%;
    height:48vh;
    min-height:300px;
    background-image:url("shared/img/hero-team.jpg");
    background-size:cover;
    background-position:center 30%;   /* Gesichtsband mittig */
  }
  .hero-overlay{ display:none; }      /* kein dunkles Overlay ueber dem Bild */
  .hero-content{
    position:relative;
    max-width:100%;
    padding:1.8rem 1.2rem 2.4rem;
    background:linear-gradient(to bottom, var(--bordeaux) 0%, var(--bordeaux-d) 100%);
    color:#fff;
  }
}

@media (max-width: 480px){
  body{ font-size:17px; }
  .footer-inner{ grid-template-columns:1fr; }
  .hero-cta .btn{ width:100%; }
  .hero-content{ max-width:100%; }
  .lang-switch a{ padding:.35rem .5rem; font-size:.85rem; }
  /* Bildband etwas hoeher, damit alle drei Gesichter mittig sitzen */
  .hero::before{ height:44vh; background-position:center 28%; }
}

/* =========================================================
   RECHTSTEXTE (Impressum / Datenschutz)
   ========================================================= */
.legal-header{
  background:rgba(251,246,240,.95);
  border-bottom:1px solid var(--rose-deep);
}
.legal-header .header-inner{ justify-content:space-between; }
.legal-back{
  display:inline-flex; align-items:center; gap:.45rem;
  min-height:44px; padding:.5rem 1.1rem;
  border-radius:var(--r-pill);
  font-weight:600; color:var(--bordeaux);
  border:2px solid var(--bordeaux);
  transition:background .2s ease, color .2s ease;
}
.legal-back:hover{ background:var(--bordeaux); color:#fff; }
/* --- Eleganter Kopfbereich (Bordeaux-Gradient) --- */
.legal-hero{
  background:linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-d) 55%, var(--terracotta) 140%);
  color:#fff;
  padding:clamp(3rem,7vw,5rem) var(--gut) clamp(4.5rem,9vw,7rem);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.legal-hero::after{
  /* dezente EKG-Linie als Wasserzeichen */
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:80px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0 30 H320 l14 -22 l16 40 l13 -30 l11 16 l10 -8 H1200' fill='none' stroke='white' stroke-opacity='0.18' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / cover;
  pointer-events:none;
}
.legal-hero .legal-eyebrow{
  display:inline-block;
  font-family:var(--ff-body);
  font-size:.82rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.85);
  background:rgba(255,255,255,.14);
  padding:.4rem 1rem; border-radius:var(--r-pill);
  margin-bottom:1.1rem;
}
.legal-hero h1{
  font-family:var(--ff-head); font-weight:600;
  font-size:clamp(2.1rem,5vw,3rem); line-height:1.1;
  margin:0;
  color:#fff;
}
.legal-hero .legal-sub{
  margin:1rem auto 0; max-width:560px;
  color:rgba(255,255,255,.9); font-size:1.05rem; line-height:1.6;
}

/* --- Inhalt in eleganter weißer Karte (überlappt den Hero) --- */
.legal{
  max-width:780px;
  margin:-3.5rem auto clamp(3rem,6vw,5rem);
  padding:clamp(2.2rem,5vw,3.5rem) clamp(1.6rem,5vw,3.2rem);
  position:relative; z-index:2;
  background:var(--white);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-card);
  border:1px solid var(--rose-deep);
}
@media (max-width:820px){
  .legal{ margin-inline:var(--gut); }
}
.legal > h1{ /* falls noch ein altes h1 im Artikel steht: ausblenden, Hero übernimmt */
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); margin:-1px; padding:0; border:0;
}
.legal h2{
  font-family:var(--ff-head); font-weight:600;
  font-size:1.32rem; line-height:1.25;
  margin:2.4rem 0 .7rem; padding-left:.9rem;
  color:var(--ink);
  border-left:4px solid var(--bordeaux);
}
.legal h2:first-of-type{ margin-top:.3rem; }
.legal h3{ font-size:1.1rem; font-weight:700; margin:1.5rem 0 .5rem; color:var(--bordeaux-d); }
.legal p{ color:var(--ink); margin-bottom:1rem; line-height:1.75; }
.legal ul{ margin:0 0 1.1rem 0; padding:0; list-style:none; color:var(--ink); }
.legal li{ margin-bottom:.55rem; padding-left:1.5rem; position:relative; }
.legal li::before{
  content:""; position:absolute; left:0; top:.6em;
  width:7px; height:7px; border-radius:50%; background:var(--terracotta);
}
.legal a{ color:var(--bordeaux); text-decoration:underline; text-underline-offset:2px; }
.legal a:hover{ color:var(--bordeaux-d); }
.legal strong{ color:var(--ink); font-weight:700; }
/* hervorgehobener Kontakt-/Anbieter-Block */
.legal .legal-card{
  background:var(--creme);
  border:1px solid var(--rose-deep);
  border-radius:var(--r-md);
  padding:1.2rem 1.4rem;
  margin:.4rem 0 1.4rem;
}
.legal .legal-meta{
  margin-top:2.2rem; padding-top:1.2rem;
  border-top:1px solid var(--rose-deep);
  color:var(--ink-soft); font-size:.95rem;
}

/* =========================================================
   PFLEGEGRAD LANDINGPAGE – Ergänzende Klassen (.lp-*)
   ========================================================= */

/* ---------- LP-Hero (Gradient, kein Vollbild-Foto) ---------- */
.lp-hero {
  background: linear-gradient(135deg, var(--bordeaux) 0%, #7d1620 40%, var(--terracotta) 100%);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.07) 0%, transparent 60%);
  pointer-events: none;
}
.lp-hero-inner { position: relative; z-index: 1; }
.lp-hero-content { max-width: 780px; }

.lp-eyebrow {
  display: inline-block;
  font-weight: 600; font-size: .9rem;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: .4rem 1rem; border-radius: var(--r-pill);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}

.lp-hero-title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  margin-bottom: 1.2rem;
}

.lp-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 640px;
  margin-bottom: 2rem;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

/* Trust-bar unter dem Hero-CTA */
.lp-trust-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
}
.lp-trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.lp-trust-bar li svg { color: #7eeba0; flex-shrink: 0; }

/* ---------- Benefits-Section (nutzt .cards-grid / .care-card) ---------- */
.lp-benefits { background: var(--creme); }
.lp-benefits .cards-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Steps-Section (nutzt .ablauf + .steps) ---------- */
.lp-steps-section { background: var(--sand); }

/* ---------- Form-Section ---------- */
.lp-form-section { background: var(--rose); }

.lp-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lp-form-intro { padding-top: .5rem; }

.lp-form-desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 1rem 0 1.6rem;
}

.lp-form-promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.lp-form-promises li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}
.lp-promise-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bordeaux); color: #fff;
}

/* Formular-Erweiterungen */
.lp-contact-form { position: relative; }

.lp-select {
  width: 100%;
  font-family: var(--ff-body); font-size: 1rem;
  padding: .85rem 1rem; min-height: 48px;
  border: 2px solid var(--rose-deep);
  border-radius: var(--r-md);
  background: var(--creme); color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B645C'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 22px;
  padding-right: 2.6rem;
  cursor: pointer;
  transition: border-color .2s ease;
}
.lp-select:focus { outline: none; border-color: var(--bordeaux); }

/* Required / Optional Labels */
.lp-required { color: var(--bordeaux); font-weight: 700; }
.lp-optional { color: var(--ink-soft); font-size: .88rem; font-weight: 400; }

/* Datenschutz-Checkbox */
.lp-consent-field { margin-top: .4rem; }
.field label.lp-consent-label,
.lp-consent-label {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink);
}
.field input.lp-consent-check,
.lp-consent-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  min-width: 22px;
  margin: .1rem 0 0 0;
  padding: 0;
  border-radius: 6px;
  accent-color: var(--bordeaux);
  cursor: pointer;
}
.lp-consent-label > span { flex: 1 1 auto; min-width: 0; }
.lp-consent-label a { color: var(--bordeaux); text-decoration: underline; }
.lp-consent-label a:hover { color: var(--bordeaux-d); }

/* ---------- FAQ-Section ---------- */
.lp-faq-section { background: var(--creme); }

.lp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 960px;
  margin-inline: auto;
}

.lp-faq-item {
  background: var(--white);
  border: 1px solid var(--rose-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.lp-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s ease, background .2s ease;
}
.lp-faq-question::-webkit-details-marker { display: none; }
.lp-faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px;
  background-color: var(--bordeaux);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H13v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H13v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
details[open] .lp-faq-question { color: var(--bordeaux); background: var(--rose); }
details[open] .lp-faq-question::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
}
.lp-faq-question:hover { color: var(--bordeaux); }

.lp-faq-answer {
  padding: 0 1.5rem 1.3rem;
  border-top: 1px solid var(--rose-deep);
}
.lp-faq-answer p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: .9rem;
}

/* ---------- Responsive Landingpage ---------- */
@media (max-width: 860px) {
  .lp-benefits .cards-grid { grid-template-columns: 1fr; }
  .lp-form-wrap { grid-template-columns: 1fr; }
  .lp-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .lp-hero-cta .btn { width: 100%; justify-content: center; }
  .lp-trust-bar { gap: .45rem .9rem; }
}

@media (max-width: 480px) {
  .lp-hero-title { font-size: clamp(1.85rem, 7vw, 2.5rem); }
}

/* =========================================================
   HINWEIS-BANNER zur Pflegegrad-Landingpage (auf Hauptseite)
   ========================================================= */
.lp-banner{
  background:linear-gradient(110deg, var(--rose) 0%, var(--rose-deep) 100%);
  border-top:1px solid var(--rose-deep);
  border-bottom:1px solid var(--rose-deep);
}
.lp-banner-inner{
  display:flex; align-items:center; gap:1.4rem;
  padding-block:1.4rem;
  flex-wrap:wrap;
}
.lp-banner-icon{
  width:54px; height:54px; border-radius:50%;
  flex:0 0 auto;
  display:grid; place-items:center;
  background:var(--bordeaux); color:#fff;
  box-shadow:var(--shadow-soft);
}
.lp-banner-text{ flex:1 1 320px; }
.lp-banner-text strong{
  display:block;
  font-family:var(--ff-head); font-weight:600;
  font-size:1.25rem; color:var(--ink); line-height:1.2;
  margin-bottom:.2rem;
}
.lp-banner-text span{ color:var(--ink-soft); font-size:1rem; }
.lp-banner .btn{ flex:0 0 auto; }
@media (max-width:640px){
  .lp-banner-inner{ gap:1rem; }
  .lp-banner .btn{ width:100%; }
}

/* ============================================================
   DARK-MODE-SCHUTZ (Sicherheitsnetz)
   Einige Browser (v.a. Samsung Internet) invertieren helle
   Seiten trotz color-scheme. Hier erzwingen wir die hellen
   Markenflaechen und das satte Bordeaux-Logo explizit.
   ============================================================ */
/* Samsung Internet Auto-Dark arbeitet NICHT ueber prefers-color-scheme,
   sondern invertiert per eigener Engine. Deshalb erzwingen wir die
   Markenflaechen BEDINGUNGSLOS mit hoher Spezifitaet. */
/* TRICK gegen Samsung Auto-Dark: forced-color-adjust:none verhindert die
   Engine-Inversion komplett. Zusaetzlich werden Hintergruende als
   linear-gradient (background-image) gesetzt, weil Samsung solide
   background-color invertiert, aber background-image NICHT anfasst. */
html, body, header.site-header, section.trust-wave,
.card, .leistung-card, .step, .lang-card,
.brand-logo, .brand-logo *, .footer-logo, .footer-logo *,
.trust-wave .trust-icon{
  forced-color-adjust:none !important;
  -webkit-forced-color-adjust:none !important;
}
html:root, body{
  background-color:#FBF6F0 !important;
  background-image:linear-gradient(#FBF6F0,#FBF6F0) !important;
  color:#33302C !important;
}
/* Header hell + Logo satt rot (Gradient-Trick) */
header.site-header{
  background-color:#FBF6F0 !important;
  background-image:linear-gradient(#FBF6F0,#FBF6F0) !important;
}
/* PNG-Logo: gegen jede Browser-Inversion/Abdunklung absichern */
.brand-logo, .footer-logo,
.site-header .brand-logo, .site-footer .footer-logo{
  filter:none !important;
  -webkit-filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
  forced-color-adjust:none !important;
  -webkit-forced-color-adjust:none !important;
}
/* Trust-Sektion (echte Klasse: trust-wave) bleibt sand-hell */
section.trust-wave{
  background-color:#F0E2D4 !important;
  background-image:linear-gradient(#F0E2D4,#F0E2D4) !important;
}
.trust-wave .trust-icon{
  background-color:#FFFFFF !important; color:#A01E28 !important;
}
.trust-wave .trust-item strong{ color:#33302C !important; }
.trust-wave .trust-text{ color:#5C544C !important; }
/* weisse Karten bleiben weiss */
.card, .leistung-card, .step, .lang-card{
  background-color:#FFFFFF !important;
  background-image:linear-gradient(#FFFFFF,#FFFFFF) !important;
  color:#33302C !important;
}
.trust-wave .trust-icon{
  background-image:linear-gradient(#FFFFFF,#FFFFFF) !important;
}
/* Bordeaux-Flaechen behalten weisse Schrift */
.hero-content, .hero-content *{ color:#fff !important; }
.lp-banner-icon{ color:#fff !important; }
