/* Eigenständiger moderner Entwurf. Nur innerhalb von modern/ eingebunden. */
:root { --radius: 5px; --radius-lg: 7px; --radius-xl: 8px; --shadow-sm: none; --shadow-md: 0 6px 20px #0000000a; --shadow-lg: none; --max-width: 1240px; }
html { scroll-padding-top: 110px; }
body { background: var(--color-bg); }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-title { letter-spacing: -.035em; font-weight: 700; }
.section-label { color: var(--color-primary); letter-spacing: .09em; }
.section-sub { max-width: 680px; }
.theme-preview { background: #f2f4f6; border-color: #dce1e5; color: #303841; }
.theme-preview__inner { padding-top: .35rem; padding-bottom: .35rem; }
.theme-preview button { min-height: 34px; font-size: .75rem; background: white; }
.site-header { background: #fff; backdrop-filter: none; }
.header-inner { min-height: 100px; gap: .75rem; }
.site-header .site-logo { flex-basis: 335px; }
@media (max-width: 768px) { .site-header .site-logo { flex-basis: 310px; } }
.site-header .header-logo { aspect-ratio: 830 / 180; object-fit: cover; object-position: 62% center; }
.site-nav > ul { justify-content: flex-start; gap: .35rem; }
.site-nav a, .nav-group summary { font-family: var(--font-body); font-size: .9rem; font-weight: 700; }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; padding: .6rem .65rem; color: var(--color-text); border-radius: 4px; }
.nav-group summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.site-nav .nav-group ul { position: absolute; top: 100%; left: 0; min-width: 230px; display: flex; flex-direction: column; align-items: stretch; padding: .65rem; background: #fff; border: 1px solid var(--color-border-light); box-shadow: var(--shadow-md); }
.site-nav .nav-group:not([open]) ul { display: none; }
.site-nav .nav-contact { background: var(--color-primary); color: white; padding: .7rem 1rem; border-radius: 4px; }
.site-nav .nav-contact:hover { background: var(--color-primary-dark); color: white; }
.hero--slider { background: var(--color-bg); min-height: 630px; }
.hero--slider .hero__slides { left: 49%; }
.hero--slider .hero__overlay { display: none; }
.hero--slider .hero__content { width: 100%; max-width: var(--max-width); color: var(--color-text); padding: 5rem 1.5rem; }
.hero--slider h1 { max-width: 48%; font-size: clamp(2.7rem, 4.3vw, 4.6rem); letter-spacing: -.05em; text-shadow: none; color: var(--color-primary); line-height: 1.06; }
.hero--slider .hero__eyebrow { color: var(--color-primary); letter-spacing: .08em; }
.hero--slider .hero__sub { color: var(--color-text); max-width: 42%; font-size: 1.1rem; }
.hero--slider .hero__actions { max-width: 44%; gap: .7rem; }
.hero--slider .hero__actions .btn { white-space: normal; padding: .8rem 1rem; }
.hero--slider .hero__controls { left: calc(49% + 1.25rem); right: 1.25rem; bottom: 1.2rem; }
.hero__slide img { object-position: 55% center; }
.houses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.card { border: 0; background: white; border-bottom: 2px solid var(--color-border); border-radius: 0; }
.card:hover, .feature-card:hover { transform: none; box-shadow: none; }
.card__img { height: 290px; }
.card__body { padding: 1.6rem 0; }
.card__title { font-size: 1.6rem; }
.card__footer { padding: 1rem 0; }
.features-grid { grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.feature-card { border: 0; border-top: 1px solid var(--color-border); border-radius: 0; padding: 1.8rem 0; background: transparent; }
.feature-card__icon { border-radius: 4px; width: 42px; height: 42px; }
.feature-card__title { font-size: 1.25rem; }
.quote-block { background: var(--color-primary-dark); text-align: left; }
.quote-block blockquote { margin-left: 0; max-width: 950px; font-style: normal; font-weight: 700; font-size: clamp(1.7rem, 3.3vw, 2.6rem); letter-spacing: -.025em; }
.page-hero { background: var(--color-primary); }
.site-footer { background: var(--color-primary-dark); }
@media (max-width: 1100px) and (min-width: 769px) { .header-inner { flex-wrap: wrap; gap: .4rem; padding-top: .8rem; padding-bottom: .8rem; } .site-header .site-nav { flex-basis: 100%; } .site-nav > ul { justify-content: flex-start; } }
@media (max-width: 768px) {
 .header-inner { min-height: 80px; gap: 1rem; }
 .site-header .site-nav { background: white; max-height: 75vh; overflow-y: auto; }
 .site-nav > ul { align-items: stretch; }
 .site-nav .nav-group ul { position: static; box-shadow: none; border: 0; padding-left: 1rem; }
 .hero--slider { display: flex; flex-direction: column; min-height: 0; }
 .hero--slider .hero__content { order: 0; padding: 3rem 1.5rem; }
 .hero--slider h1, .hero--slider .hero__sub, .hero--slider .hero__actions { max-width: 100%; }
 .hero--slider .hero__slides { position: relative; inset: auto; width: 100%; height: 360px; order: 1; overflow: hidden; }
 .hero--slider .hero__controls { left: 1rem; right: 1rem; bottom: 1rem; }
 .houses-grid { grid-template-columns: 1fr; }
 .features-grid { grid-template-columns: 1fr 1fr; }
 .card__img { height: auto; aspect-ratio: 1.7; object-fit: cover; }
}
@media (max-width: 480px) { .features-grid { grid-template-columns: 1fr; } .hero--slider .hero__slides { height: 310px; } .hero--slider h1 { font-size: 2.7rem; } .hero--slider .hero__actions .btn { width: auto; } }

/* Hervorgehobener Leitsatz auf der Pflegeleitbild-Seite. */
.care-guiding-statement { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.care-guiding-label { color: #fff; opacity: .8; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem; }
.care-guiding-statement h2 { font-family: var(--font-heading); color: #fff; font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.16; margin-bottom: 1.7rem; overflow-wrap: break-word; }
.care-guiding-caption { color: #fff; opacity: .8; max-width: 700px; }

@media (min-width: 769px) { .features-grid > .feature-card--garden { grid-column: 2; } }

/* Kontaktleiste mit separaten Rufnummern für beide Häuser. */
.contact-banner--houses { background: var(--color-primary); padding: 2.5rem 0; }
.contact-banner--houses .contact-banner__text { margin-bottom: 1.5rem; }
.contact-banner__houses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; max-width: 900px; margin: 0 auto 1.25rem; }
.contact-banner__house-name { font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.contact-banner--houses .contact-banner__tel { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.contact-banner__mobile { margin-top: 1rem; }
.contact-banner__email { margin-top: .4rem; font-size: .9rem; }
.contact-banner__mobile a,.contact-banner__email a { color: white; text-decoration: underline; text-underline-offset: .18em; }
.contact-banner--houses a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@media (max-width: 600px) { .contact-banner__houses { grid-template-columns: 1fr; gap: 1.25rem; } .contact-banner__email { overflow-wrap: anywhere; } }

.footer-houses { display: inline-flex; flex-direction: column; gap: .25rem; margin-bottom: 1rem; color: #fff; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.footer-houses:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-houses:focus-visible { outline: 2px solid white; outline-offset: 5px; }

/* Synchronisierte Bildgalerien in den beiden Hauskarten der Startseite. */
.gallery-pair__frame { position: relative; overflow: hidden; isolation: isolate; }
.gallery-pair__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-pair__controls { display: flex; justify-content: center; margin-top: 1.25rem; }
.gallery-pair__controls:has([hidden]) { display: none; }


.nature-gallery { --tile-width: calc((100vw - 4rem) / 4); overflow: hidden; }
.nature-gallery__track { display: flex; width: max-content; }
.nature-gallery.is-ready .nature-gallery__track { animation: nature-gallery-scroll 18s linear infinite; }
.nature-gallery:hover .nature-gallery__track,
.nature-gallery:focus-within .nature-gallery__track,
.nature-gallery:has([aria-expanded="true"]) .nature-gallery__track { animation-play-state: paused; }
.nature-gallery__set { display: flex; gap: 1rem; padding: 1rem 1rem 1rem 0; }
.nature-gallery__tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: var(--tile-width);
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  color: white;
  font: inherit;
  cursor: pointer;
}
.nature-gallery__tile:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -4px; }
.nature-gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nature-gallery__tile:is(:hover, :focus-visible) img { transform: scale(1.08); }
.nature-gallery__tile::before, .nature-gallery__tile::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block: 0;
  z-index: 1;
  background: rgba(10, 19, 29, .76);
  transition: transform .45s ease;
}
.nature-gallery__tile::before {
  clip-path: polygon(0 0, 62% 0, 38% 100%, 0 100%);
  transform: translateX(-100%);
}
.nature-gallery__tile::after {
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%);
  transform: translateX(100%);
}
.nature-gallery__tile[aria-expanded="true"]::before,
.nature-gallery__tile[aria-expanded="true"]::after { transform: translateX(0); }
.nature-gallery__caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: .6rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity .2s ease;
}
.nature-gallery__caption strong { color: var(--color-bg-alt); font-size: clamp(1.05rem, 1.4vw, 1.35rem); }
.nature-gallery__caption > span {
  padding: .55rem 0;
  border-block: 1px solid rgba(255, 255, 255, .45);
  line-height: 1.35;
  font-size: .9rem;
}
.nature-gallery__tile[aria-expanded="true"] .nature-gallery__caption { opacity: 1; transition-delay: .32s; }
@media (hover: hover) and (pointer: fine) {
  .nature-gallery__tile:hover::before,
  .nature-gallery__tile:hover::after { transform: translateX(0); }
  .nature-gallery__tile:hover .nature-gallery__caption { opacity: 1; transition-delay: .32s; }
}
@media (min-width: 1600px) { .nature-gallery { --tile-width: calc((100vw - 5rem) / 5); } }
@media (max-width: 1100px) { .nature-gallery { --tile-width: calc((100vw - 3rem) / 3); } }
@media (max-width: 780px) { .nature-gallery { --tile-width: calc((100vw - 2rem) / 2); } }
@media (max-width: 560px) { .nature-gallery { --tile-width: calc(100vw - 1rem); } }
@media (prefers-reduced-motion: reduce) {
  .nature-gallery { overflow-x: auto; }
  .nature-gallery.is-ready .nature-gallery__track { animation: none; }
  .nature-gallery__set[aria-hidden] { display: none; }
}
@keyframes nature-gallery-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
