/* ==========================================================================
   gutepflegezuhause.de, premium layer (2026-11-18)
   Hospitality-grade calm for a professional care business: real photography,
   confident type, linen panels that flow into each other, red used boldly
   once per page. Loads after theme.css and warm.css. Content is untouched.
   ========================================================================== */

/* --- Type ---------------------------------------------------------------- */
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/SourceSans3-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/SourceSans3-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/SourceSans3-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/SourceSans3-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/SourceSerif4-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/SourceSerif4-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --pm-linen: #F6F1E7;
  --pm-linen-deep: #EFE7D8;
  --pm-line: rgba(20, 23, 26, .1);
  --pm-panel-radius: 40px;
  --pm-photo-radius: 28px;
  --pm-shadow: 0 24px 60px -24px rgba(60, 30, 20, .28);
  --pm-shadow-soft: 0 12px 32px -16px rgba(60, 30, 20, .22);
}
::selection { background: rgba(197, 18, 48, .16); color: inherit; }
body { font-family: var(--font-body); font-size: 1.125rem; color: var(--color-text); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1.12; }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; }
.prose h2 { font-family: var(--font-display); }
.prose h3 { font-family: var(--font-body); font-weight: 700; }
a { text-underline-offset: 3px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--color-primary-dark); font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
}
.eyebrow::before { display: block !important; position: static !important; flex: 0 0 auto; content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--color-accent); }
.section-header { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-header h2 { max-width: 20ch; }
.section-header .lede, .section-header > p { font-size: 1.1875rem; color: var(--ink-700); }

/* --- Buttons --------------------------------------------------------------- */
.btn { font-family: var(--font-body); font-weight: 700; border-radius: 999px; letter-spacing: .005em; }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(197, 18, 48, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(197, 18, 48, .6); }
.btn-large { padding: 1.05rem 1.9rem; font-size: 1.0625rem; }
.btn-ghost { border-width: 1.5px; }

/* --- Header ---------------------------------------------------------------- */
.site-header { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--pm-line); box-shadow: none; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(20, 23, 26, .35); }
.site-nav > li > a { font-weight: 600; font-size: .9688rem; position: relative; }
@media (min-width: 1280px) {
  .site-header__inner { min-height: 84px; }
  .site-nav > li > a::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: .35rem; height: 2px; border-radius: 2px;
    background: var(--color-primary); transition: left .25s ease, right .25s ease;
  }
  .site-nav > li > a:hover::after, .site-nav > li.current-menu-item > a::after, .site-nav > li.current-menu-ancestor > a::after { left: .9rem; right: .9rem; }
}

/* --- Section rhythm: white, then linen panels inset from the edges ---------- */
.section { padding-top: clamp(4.5rem, 8vw, 7.5rem); padding-bottom: clamp(4.5rem, 8vw, 7.5rem); }
.section--cream,
.block-tasks, .block-feature-split, .block-why, .block-faq {
  background: var(--pm-linen);
  margin-inline: clamp(.75rem, 2vw, 1.75rem);
  border-radius: var(--pm-panel-radius);
}

/* --- Trust strip: a floating bar that bridges hero and page --------------- */
.block-trust-badges { position: relative; z-index: 3; background: transparent !important; padding: 0; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.block-trust-badges__grid {
  background: #fff; border-radius: 26px; box-shadow: var(--pm-shadow);
  padding: 1.5rem 1.75rem; gap: 0;
}
.block-trust-badges .trust-badge { padding: .25rem 1.5rem; border-radius: 0; background: transparent; }
.block-trust-badges .trust-badge + .trust-badge { border-left: 1px solid var(--pm-line); }
.block-trust-badges .trust-badge__icon { background: rgba(254, 174, 34, .16); color: #B2700A; border-radius: 14px; }
.block-trust-badges .trust-badge strong { font-size: 1rem; }
@media (max-width: 900px) {
  .block-trust-badges { margin-top: 1.25rem; }
  .block-trust-badges__grid { padding: 1rem; border-radius: 22px; }
  .block-trust-badges .trust-badge + .trust-badge { border-left: 0; border-top: 1px solid var(--pm-line); }
  .block-trust-badges .trust-badge { padding: .9rem .5rem; }
}

/* --- Services: photo cards ---------------------------------------------- */
.block-services .service-grid { gap: clamp(1.25rem, 2vw, 2rem); }
.block-services .service-card {
  padding: 0; overflow: hidden; gap: 0; border: 0; border-radius: var(--pm-photo-radius);
  background: #fff; box-shadow: var(--pm-shadow-soft); transition: transform .3s ease, box-shadow .3s ease;
}
.block-services .service-card:hover { transform: translateY(-4px); box-shadow: var(--pm-shadow); }
.service-card__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.block-services .service-card:hover .service-card__photo img { transform: scale(1.04); }
.block-services .service-card__icon {
  position: relative; z-index: 1; margin: -1.75rem 0 0 1.75rem; width: 3.5rem; height: 3.5rem;
  border-radius: 18px; background: #fff; box-shadow: var(--pm-shadow-soft);
}
.block-services .service-card h3 { font-size: 1.3125rem; margin: 1.1rem 1.75rem .5rem; }
.block-services .service-card p { margin: 0 1.75rem; }
.block-services .service-card__link { margin: auto 1.75rem 1.75rem; padding-top: 1.25rem; font-weight: 700; }

/* --- Tasks: a calm row inside its linen panel ---------------------------- */
.block-tasks .tasks-grid { gap: 1rem; }
.block-tasks .tasks-grid__item { background: #fff; border: 0; border-radius: 22px; box-shadow: var(--pm-shadow-soft); padding: 1.6rem 1rem; }
.block-tasks .tasks-grid__icon { background: var(--color-primary-light, #FDE9EC); border-radius: 999px; width: 3.25rem; height: 3.25rem; }
.block-tasks .tasks-grid__label { font-weight: 700; }

/* --- Reasons: photo beside the voices ----------------------------------- */
.block-reasons__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.block-reasons__photo { margin: 0; border-radius: var(--pm-photo-radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--pm-shadow); }
.block-reasons__photo img { width: 100%; height: 100%; object-fit: cover; }
.block-reasons .section-header { text-align: left; margin-left: 0; }
.block-reasons .section-header h2 { margin-left: 0; }
.block-reasons .reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.25rem; }
.block-reasons .reason-card {
  background: transparent; border: 0; border-top: 1px solid var(--pm-line); border-radius: 0; box-shadow: none;
  padding: 1.25rem 0 1.25rem 2.25rem;
}
.block-reasons .reason-card::before { top: 1rem; left: 0; font-size: 2.5rem; color: var(--color-accent); opacity: 1; }
.block-reasons .reason-card p { font-family: var(--font-body); font-size: 1.1875rem; font-weight: 500; line-height: 1.5; font-style: normal; }
.block-reasons__cta { margin-top: 2rem; }
@media (max-width: 900px) {
  .block-reasons__grid { grid-template-columns: 1fr; }
  .block-reasons__photo { aspect-ratio: 4 / 3; }
  .block-reasons .reasons-grid { grid-template-columns: 1fr; }
}

/* --- Family story ----------------------------------------------------------- */
.block-feature-split__image img { border-radius: var(--pm-photo-radius); box-shadow: var(--pm-shadow); }

/* --- Cost: the one red panel ---------------------------------------------- */
.block-cost-summary {
  background: var(--color-primary); color: #fff; border-radius: var(--pm-panel-radius);
  padding: clamp(2.25rem, 5vw, 4.5rem); box-shadow: 0 30px 70px -30px rgba(158, 14, 38, .6);
  position: relative; overflow: hidden; isolation: isolate;
}
.block-cost-summary::after {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%; width: 60%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(254, 174, 34, .22), transparent);
}
.block-cost-summary > div:first-child, .block-cost-summary > div:first-child h2, .block-cost-summary > div:first-child p, .block-cost-summary > div:first-child .price-note { color: #fff; }
.block-cost-summary > div:first-child p strong { color: var(--color-accent); }
.block-cost-summary .price-note { opacity: .85; }
.block-cost-summary > div:first-child .eyebrow { color: #fff; }
.block-cost-summary .pricing-card, .block-cost-summary .pricing-card li { color: var(--color-text); }
.block-cost-summary .btn-primary { background: #fff; color: var(--color-primary-dark); box-shadow: none; }
.block-cost-summary .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.block-cost-summary .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.block-cost-summary .pricing-card { border: 0; border-radius: 28px; box-shadow: 0 24px 50px -20px rgba(60, 0, 10, .45); }

/* --- Team: portrait cards ------------------------------------------------- */
.block-team .team-card__photo { border-radius: 26px; aspect-ratio: 4 / 5; width: 100%; height: auto; box-shadow: var(--pm-shadow-soft); }
.block-team .team-card__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.block-team .team-card__name { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; margin-top: .9rem; }

/* --- Why us: four columns on linen --------------------------------------- */
.block-why .why-grid { gap: 1.25rem; }
.block-why .why-card { background: #fff; border: 0; border-radius: 26px; box-shadow: var(--pm-shadow-soft); align-items: center; text-align: center; padding: 2.25rem 1.75rem; }
.block-why .why-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: rgba(254, 174, 34, .16); color: #B2700A; }

/* --- Reviews ------------------------------------------------------------------ */
.block-testimonials .gp-review { border: 0; border-radius: 26px; box-shadow: var(--pm-shadow-soft); }

/* --- FAQ: heading beside the questions ------------------------------------ */
@media (min-width: 960px) {
  .block-faq .container-lg { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .block-faq .section-header { text-align: left; margin: 0; position: sticky; top: 7rem; }
  .block-faq .section-header h2 { margin-left: 0; }
}
.block-faq .faq-list { background: #fff; border-radius: 26px; box-shadow: var(--pm-shadow-soft); border: 0; overflow: hidden; }

/* --- Closing call: deep red panel ------------------------------------------ */
.block-cta-strip.section--cream { background: var(--color-primary-dark); color: #fff; }
.block-cta-strip h2, .block-cta-strip p { color: #fff; }
.block-cta-strip .eyebrow { color: #fff; }
.block-cta-strip .btn-primary { background: #fff; color: var(--color-primary-dark); box-shadow: none; }
.block-cta-strip .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); background: transparent; }
.block-cta-strip .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* the footer sits a step apart from the last panel */
.block-cta-strip { margin-bottom: clamp(1rem, 2vw, 1.75rem); }

@media (prefers-reduced-motion: reduce) {
  .block-services .service-card, .service-card__photo img, .site-nav > li > a::after { transition: none; }
}

/* small titles read in the body face; the display serif is for big headings */
.service-card h3, .why-card h3, .tasks-grid__label, .process-content h3, .pricing-card h3,
.trust-badge strong, .faq-item summary, .faq-question, .gp-review__name, .team-card__role { font-family: var(--font-body); }
.service-card h3, .why-card h3 { font-weight: 700; }
.faq-item summary { font-weight: 600; font-size: 1.0625rem; }
.block-faq .container-lg { max-width: 76rem; }
/* reviews stay on white between the two linen panels */
.block-testimonials, .block-testimonials.section--cream { background: transparent; margin-inline: 0; border-radius: 0; }

/* one simple sans everywhere (Peter, 2026-11-18): the hero and the other display spots follow it */
.block-hero__h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.hero-form__q { font-family: var(--font-body); font-weight: 600; }
.hero-price__num strong { font-family: var(--font-body); font-weight: 700; }

/* the old strip's border lines go; the bar floats on white */
.block-trust-badges { border: 0 !important; box-shadow: none !important; }

/* --- Spacing pass (Peter, 2026-11-18: too much dead space) ------------------
   One rhythm: white sections breathe less, panels get equal padding top and
   bottom, the price panel does not stack two paddings, and no two linen
   surfaces touch. */
.section { padding-top: clamp(3rem, 5vw, 4.75rem); padding-bottom: clamp(3rem, 5vw, 4.75rem); }
.section--cream, .block-tasks, .block-feature-split, .block-why, .block-faq, .block-cta-strip {
  padding-top: clamp(3rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}
.section:has(.block-cost-summary) { padding-top: clamp(1.5rem, 2.5vw, 2.5rem); padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.block-process, .block-process.section--cream { background: transparent; margin-inline: 0; border-radius: 0; }
.section-header { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.block-trust-badges + .section { padding-top: clamp(3.5rem, 5.5vw, 5rem); }

/* --- Header A: mega menu with a photo card (Peter chose A, 2026-11-18) ------
   Same menu, same links. The header keeps its transparent-to-white fade.
   Hovering or focusing Kosten, Fördermittel or Über uns opens one wide panel
   under the header: the first subpage is a photo card, the rest are rows. */
@media (min-width: 1280px) {
  .site-header__inner { position: relative; }
  .site-nav__item.has-dropdown { position: static; }
  .site-nav > li > a::after { display: none; }
  .site-nav__link { border-radius: 999px; padding: .55rem .85rem !important; transition: background .2s ease, color .2s ease; }
  .site-nav__link:hover, .site-nav__item:focus-within > .site-nav__link,
  .site-nav__item.has-dropdown:hover > .site-nav__link { background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
  .site-header.scrolled .site-nav__item.has-dropdown:hover > .site-nav__link,
  .site-header.scrolled .site-nav__item.has-dropdown:focus-within > .site-nav__link { background: #FDE9EC; color: var(--color-primary-dark); }

  .site-nav__dropdown {
    left: 0; right: 0; top: calc(100% + 10px);
    transform: translateY(-8px);
    display: grid; grid-template-columns: 1fr 1fr minmax(300px, 34%); grid-auto-rows: min-content; gap: .4rem;
    padding: 1.25rem; min-width: 0;
    border: 0; border-radius: 28px; background: #fff;
    box-shadow: 0 30px 70px -20px rgba(20, 23, 26, .45);
  }
  .site-nav__dropdown::before { top: -22px; height: 22px; }
  .site-nav__item.has-dropdown:hover > .site-nav__dropdown,
  .site-nav__item.has-dropdown:focus-within > .site-nav__dropdown { transform: translateY(0); }

  .site-nav__dropdown a {
    display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; border-radius: 16px;
    font-size: 1rem; font-weight: 600; color: var(--color-text); white-space: normal;
  }
  .site-nav__dropdown a::before {
    content: attr(data-i); flex: 0 0 auto; display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
    border-radius: 12px; background: var(--pm-linen); color: var(--color-primary); font-weight: 800; font-size: .9375rem;
    transition: background .2s ease, color .2s ease;
  }
  .site-nav__dropdown a::after { content: "→"; margin-left: auto; color: var(--color-primary); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
  .site-nav__dropdown a:hover, .site-nav__dropdown a:focus-visible { background: var(--pm-linen); color: var(--color-text); }
  .site-nav__dropdown a:hover::before, .site-nav__dropdown a:focus-visible::before { background: var(--color-primary); color: #fff; }
  .site-nav__dropdown a:hover::after, .site-nav__dropdown a:focus-visible::after { opacity: 1; transform: none; }

  /* the first subpage becomes the photo card */
  .site-nav__dropdown > li.site-nav__card { grid-column: 3; grid-row: 1 / span 3; }
  .site-nav__dropdown > li.site-nav__card > a {
    height: 100%; min-height: 190px; align-items: flex-end; padding: 1.25rem 1.4rem; border-radius: 20px;
    color: #fff; font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em;
    background: linear-gradient(180deg, transparent 25%, rgba(158, 14, 38, .92)), var(--pm-card) center / cover;
  }
  .site-nav__dropdown > li.site-nav__card > a::before { display: none; }
  .site-nav__dropdown > li.site-nav__card > a::after {
    opacity: 1; transform: none; margin-left: auto; width: 2.5rem; height: 2.5rem; border-radius: 999px;
    display: grid; place-items: center; background: #fff; color: var(--color-primary-dark); font-size: 1.1rem;
  }
  .site-nav__dropdown > li.site-nav__card > a:hover { background: linear-gradient(180deg, transparent 15%, rgba(158, 14, 38, .95)), var(--pm-card) center / cover; color: #fff; }
  /* Über uns has two subpages: a slimmer panel */
  .site-nav__dropdown:has(> li:nth-child(3):last-child) { left: auto; width: 680px; grid-template-columns: 1fr 300px; }
  .site-nav__dropdown:has(> li:nth-child(3):last-child) > li.site-nav__card { grid-column: 2; grid-row: 1 / span 2; }
  .site-nav__dropdown:has(> li:nth-child(3):last-child) > li:not(.site-nav__card) { grid-column: 1; }
}
/* photo per card and a mark per row, keyed to the real links */
.site-nav__dropdown a[href$="/kosten/kostenrechner/"] { --pm-card: url("../img/hero/v2/familie-bespricht-kosten.webp"); }
.site-nav__dropdown a[href$="/foerdermittel/entlastungsbudget/"] { --pm-card: url("../img/hero/v2/tochter-organisiert-pflege.webp"); }
.site-nav__dropdown a[href$="/ueber-uns/team/"] { --pm-card: url("../img/hero/v2/beratung-am-telefon.webp"); }
.site-nav__dropdown a[href$="/pflegegrad-2/"] { --i: "2"; }
.site-nav__dropdown a[href$="/pflegegrad-3/"] { --i: "3"; }
.site-nav__dropdown a[href$="/pflegegrad-4/"] { --i: "4"; }
.site-nav__dropdown a[href$="/pflegegrad-5/"] { --i: "5"; }
.site-nav__dropdown a[href$="/kosten/polnische-pflegekraft/"] { --i: "PL"; }
.site-nav__dropdown a[href$="/kurzzeitpflege/"] { --i: "K"; }
.site-nav__dropdown a[href$="/pflegegeld/"] { --i: "€"; }
.site-nav__dropdown a[href$="/steuerliche-absetzbarkeit/"] { --i: "§"; }
.site-nav__dropdown a[href$="/verhinderungspflege/"] { --i: "V"; }
.site-nav__dropdown a[href$="/wohnumfeldverbessernde-massnahmen/"] { --i: "W"; }
.site-nav__dropdown a[href$="/ueber-uns/geschichte/"] { --i: "G"; }
@media (min-width: 1280px) { .site-nav__dropdown a::before { content: var(--i, "•"); } }

/* --- Header fixes (Peter, 2026-11-18): hover text must never vanish; the
   panel must stay open while the mouse travels from the link into it. ----- */
@media (min-width: 1280px) {
  .site-nav__link:hover,
  .site-nav__link.active:hover,
  .site-nav__item:focus-within > .site-nav__link,
  .site-nav__item.has-dropdown:hover > .site-nav__link,
  .site-header.scrolled .site-nav__item.has-dropdown:hover > .site-nav__link,
  .site-header.scrolled .site-nav__item.has-dropdown:focus-within > .site-nav__link {
    color: var(--color-primary-dark); background: #FDE9EC; text-shadow: none;
  }
  body.home:not(.gp-no-cover) .site-header:not(.scrolled) .site-nav__link:hover,
  body.home:not(.gp-no-cover) .site-header:not(.scrolled) .site-nav__item:focus-within > .site-nav__link,
  body.home:not(.gp-no-cover) .site-header:not(.scrolled) .site-nav__item.has-dropdown:hover > .site-nav__link {
    color: #fff; background: rgba(255, 255, 255, .18);
  }
  /* open and close by visibility with a short grace period; the bridge spans
     the whole gap between the link and the panel */
  .site-nav__dropdown {
    pointer-events: auto; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .25s;
  }
  .site-nav__item.has-dropdown:hover > .site-nav__dropdown,
  .site-nav__item.has-dropdown:focus-within > .site-nav__dropdown {
    visibility: visible; transition-delay: 0s;
  }
  .site-nav__dropdown::before { top: -48px; height: 48px; left: 0; right: 0; }
}

/* hover on the white header: dark text on a warm pill, never pink on pink,
   never white (the theme's scrolled-home rule painted it white) */
@media (min-width: 1280px) {
  .site-nav__link:hover,
  .site-nav__link.active:hover,
  .site-nav__item:focus-within > .site-nav__link,
  .site-nav__item.has-dropdown:hover > .site-nav__link,
  .site-header.scrolled .site-nav__item.has-dropdown:hover > .site-nav__link,
  .site-header.scrolled .site-nav__item.has-dropdown:focus-within > .site-nav__link,
  body.home .site-header.scrolled .site-nav__link:hover,
  body.home .site-header.scrolled .site-nav__link.active:hover,
  body.home .site-header.scrolled .site-nav__item:focus-within > .site-nav__link,
  body.home .site-header.scrolled .site-nav__item.has-dropdown:hover > .site-nav__link {
    color: var(--color-text); background: #EFE8DC;
  }
}

/* Warum zuhause bleiben: the pair walks on the right of the frame, keep both in view */
.block-reasons__photo img { object-position: 88% 50%; }
/* Familienunternehmen: Michael and his mother in a living room, one clean photo */
.block-feature-split__image img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }

/* --- Hero height (Peter, 2026-11-18: hero too tall for its text, headline
   pushed up under the header). Desktop and tablet: the hero sizes to its
   content with the same space above and below; the form is as tall as the
   step it is on, so the first question no longer floats in an empty box. */
@media (min-width: 820px) {
  .block-hero--cover { height: auto; min-height: 0; }
  .block-hero--cover .block-hero__inner { padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
  .hero-form__stage { position: relative; min-height: 0; }
  .hero-form__step:not(.is-active) { position: absolute; inset: 0 0 auto 0; }
  .hero-form__a { margin-block: 1rem 0; }
}

/* footer column titles stay in the sans; the serif is for real headings */
.footer-col__h { font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; }

/* menu: the card's page is also a row (Peter: not everyone sees the card is a link) */
.site-nav__dropdown a[href$="/kosten/kostenrechner/"] { --i: "€"; }
.site-nav__dropdown a[href$="/foerdermittel/pflegegeld/"] { --i: "PG"; }
.site-nav__dropdown a[href$="/foerdermittel/entlastungsbudget/"] { --i: "E"; }
.site-nav__dropdown a[href$="/ueber-uns/team/"] { --i: "T"; }
@media (max-width: 1279px) { .site-nav__card { display: none; } }

/* hover bridge lives under the hovered link only, so it never covers the
   neighbouring menu items; the panel keeps just a thin bridge for its gap */
@media (min-width: 1280px) {
  .site-nav__item.has-dropdown > .site-nav__link { position: relative; }
  .site-nav__item.has-dropdown > .site-nav__link::after {
    content: ""; display: block; position: absolute; left: 0; right: 0; top: 100%; bottom: auto;
    height: 40px; background: none; border-radius: 0;
  }
  .site-nav__dropdown::before { top: -12px; height: 12px; }
}

/* ==========================================================================
   Inner pages: pillar articles (24-Stunden-Pflege, Kosten, Fördermittel, ...)
   Same content; the reading experience gets the homepage's finish.
   ========================================================================== */
.pillar-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 5vw, 5rem); }
.pillar-layout .prose { max-width: 46rem; font-size: 1.125rem; line-height: 1.75; }
.prose h2 {
  position: relative; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.18;
  margin: 3.75rem 0 1.1rem; padding-top: 2.75rem; border-top: 1px solid var(--color-border);
}
.prose h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 3px; border-radius: 3px; background: var(--color-accent); }
.prose > h2:first-of-type { margin-top: 1.75rem; padding-top: 0; border-top: 0; }
.prose > h2:first-of-type::before { display: none; }
.prose h3 { font-size: 1.25rem; line-height: 1.3; margin: 2.25rem 0 .5rem; }
.prose a:not(.btn) { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:not(.btn):hover { color: var(--color-primary-dark); text-decoration-thickness: 2px; }
/* the opening summary ("... in Kürze", "... auf einen Blick") reads as a card */
.prose > h2:first-of-type + ul {
  margin: 0 0 1.25rem; padding: 1.5rem 1.75rem 1.5rem 2.75rem;
  background: var(--pm-linen); border-radius: 24px;
}
/* tables as rounded cards, the total row in the brand blush */
.prose table {
  border-collapse: separate; border-spacing: 0; margin: 2rem 0;
  border: 1px solid var(--color-border); border-radius: 20px; overflow: hidden; box-shadow: var(--pm-shadow-soft);
  font-size: 1rem;
}
.prose th { background: var(--pm-linen); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted, #5b6066); border-bottom: 1px solid var(--color-border); padding: .95rem 1.1rem; }
.prose td { padding: .9rem 1.1rem; }
.prose tr:nth-child(even) td { background: #FBF8F2; }
.prose tr.total td { background: #FDE9EC; color: var(--color-primary-dark); font-weight: 700; border-top: 1px solid rgba(197, 18, 48, .18); }
/* FAQ inside articles: one quiet card per question */
.prose details {
  margin: .6rem 0; padding: 0 1.35rem; background: #fff;
  border: 1px solid var(--color-border); border-radius: 16px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.prose details > summary { border-top: 0; padding: 1.05rem 0; gap: 1rem; }
.prose details[open] { border-color: transparent; box-shadow: var(--pm-shadow-soft); }
.prose details > *:not(summary) { padding: 0 0 1.15rem; margin: 0; }
/* contents card */
.pillar-toc { top: 108px; padding: 0; border: 0; background: none; }
.pillar-toc .toc { background: #fff; border: 0; border-radius: 24px; box-shadow: var(--pm-shadow-soft); padding: 1.5rem 1.5rem 1.25rem; }
.pillar-toc .toc ol { margin: 0; padding-left: 1.2rem; }
.pillar-toc .toc li { margin: 0 0 .45rem; font-size: .9375rem; line-height: 1.4; }
.pillar-toc .toc li::marker { color: var(--color-primary); font-weight: 700; }
.pillar-toc .toc a { color: var(--color-text); text-decoration: none; }
.pillar-toc .toc a:hover { color: var(--color-primary); }
.pillar-toc > div:last-child { display: grid; gap: .6rem; margin-top: 1rem; }
.pillar-toc > div:last-child .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .pillar-layout { grid-template-columns: minmax(0, 1fr); }
  .pillar-toc { position: static; }
}
/* body overflow-x:hidden turned body into a scroll container and broke every
   position:sticky inside it; clip hides sideways overflow without that */
body { overflow-x: clip; }
.prose h2 { max-width: none; }
.pillar-toc { max-height: calc(100vh - 128px); overflow-y: auto; scrollbar-width: thin; border-radius: 24px; }
.pillar-toc .toc { padding: 1.25rem 1.35rem 1rem; }
.pillar-toc .toc li { margin-bottom: .3rem; font-size: .875rem; line-height: 1.35; }
.pillar-toc > div:last-child { margin-top: .75rem; }

/* --- Ratgeber cards: photo clean on top, date and title below it --------- */
.blog-card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 0; border-radius: 24px; box-shadow: var(--pm-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--pm-shadow); }
.blog-card__media { position: relative; display: flex; flex-direction: column; overflow: visible; aspect-ratio: auto; background: none; }
.blog-card__media img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__media::before, .blog-card__media::after { display: none; }
.blog-card__badge {
  position: absolute; top: .9rem; left: .9rem; right: auto; z-index: 1;
  background: rgba(255, 255, 255, .94); color: var(--color-primary-dark);
  font-size: .6875rem; letter-spacing: .1em; padding: .35rem .7rem; border-radius: 999px; box-shadow: none;
}
.blog-card__overlay {
  position: static; inset: auto; background: none; box-shadow: none; backdrop-filter: none;
  padding: 1.25rem 1.5rem 0; margin: 0; border-radius: 0; color: var(--color-text); display: block;
}
.blog-card__date {
  display: inline-flex; align-items: center; gap: .4rem; background: none; padding: 0; box-shadow: none;
  color: var(--color-text-muted, #5b6066); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; margin-bottom: .45rem;
}
.blog-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.005em;
  color: var(--color-text); background: none; padding: 0; margin: 0; box-shadow: none;
}
.blog-card__body { padding: .65rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__excerpt { color: var(--color-text-muted, #5b6066); font-size: 1rem; line-height: 1.6; margin: 0 0 1rem; }
.blog-card__cta { margin-top: auto; color: var(--color-primary); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.blog-card:hover .blog-card__cta svg { transform: translateX(3px); }
.blog-card__cta svg { transition: transform .2s ease; }
/* beat the theme's photo-overlay card (warm.css .blog-card__media > *:not(img)) */
.blog-card .blog-card__media { padding: 0; min-height: 0; background: none; justify-content: flex-start; overflow: hidden; }
.blog-card .blog-card__media > img { position: static; inset: auto; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.blog-card .blog-card__media > .blog-card__badge { position: absolute; top: .9rem; left: .9rem; align-self: auto; }
.blog-card .blog-card__media > .blog-card__overlay { position: static; padding: 1.25rem 1.5rem 0; gap: .35rem; margin: 0; background: #fff; }
.blog-card .blog-card__overlay .blog-card__date { background: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: .8125rem; letter-spacing: .02em; color: var(--color-text-muted, #5b6066); }
.blog-card .blog-card__overlay .blog-card__title { display: block; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 600; font-size: 1.3125rem; line-height: 1.25; }
.article-body .blog-card .blog-card__media { min-height: 0; }
.ratgeber-related .blog-card .blog-card__overlay .blog-card__title { font-size: 1.125rem; }

/* --- Ratgeber articles: one column width for photo, contents, text and CTA */
.article-body .prose { max-width: none; font-size: 1.125rem; line-height: 1.75; }
.article-body .prose > h2:first-of-type + ul { background: none; padding: 0 0 0 1.25rem; border-radius: 0; }
.article-figure img { border-radius: var(--pm-photo-radius); box-shadow: var(--pm-shadow-soft); }
.article-toc { background: var(--pm-linen); border: 0; border-radius: 24px; padding: 1.5rem 1.75rem; }
.ratgeber-related { padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }

/* --- Team page: each person as a card, portrait and text side by side ----- */
.team-bios { gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 68rem; margin-inline: auto; }
.team-bio {
  grid-template-columns: 240px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start;
  padding: clamp(1.25rem, 2.5vw, 2rem); background: #fff; border-radius: 32px; box-shadow: var(--pm-shadow-soft);
}
.team-bio:nth-child(even) { background: var(--pm-linen); box-shadow: none; }
.team-bio__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: none; }
.team-bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-bio__body h2 { font-size: clamp(1.625rem, 2.2vw, 2rem); margin: .25rem 0 .2rem; }
.team-bio__role { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.1rem; }
.team-bio__body blockquote { border-left: 3px solid var(--color-accent); background: none; padding: .25rem 0 .25rem 1.1rem; font-style: italic; color: var(--color-text-muted, #5b6066); }
@media (max-width: 700px) {
  .team-bio { grid-template-columns: 1fr; }
  .team-bio__photo { max-width: 220px; }
}
/* phones: tables scroll sideways inside their card instead of hyphenating every word */
@media (max-width: 700px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .9375rem; }
  .prose th, .prose td { white-space: nowrap; hyphens: none; padding: .75rem .85rem; }
  .prose th:first-child, .prose td:first-child { white-space: normal; min-width: 10.5rem; }
  .prose th { font-size: .75rem; letter-spacing: .06em; }
}
.prose table { max-width: 100%; }

/* team strip: centred row of equal cards, whatever the team size */
.team-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem); max-width: 980px; margin-inline: auto; }
.team-strip > .team-card { flex: 0 1 180px; }
@media (max-width: 600px) { .team-strip > .team-card { flex-basis: calc(50% - .75rem); } }
