/* PflegeButler Wohnpark-Vorlage – gemeinsames Stylesheet für alle Wohnparks */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --c-brand: #7f2437;
  --c-brand-dark: #681c2c;
  --c-brand-tint: #f3e6e9;
  --c-text: #2b2a29;
  --c-muted: #5c5a58;
  --c-line: #e1dfdd;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f7;
  --c-bg-grey: #efefef;
  --c-ph: #d9d5d2;
  --c-footer: #2b2a29;
  --f-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Lora", Georgia, serif;
  --w: 980px;
  --w-wide: 1100px;
  --gutter: 24px;
  --sec: 96px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-sans); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 2px; }
.on-brand :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--c-brand); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 4px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(var(--w-wide), 100% - 2 * var(--gutter)); }
.sec { padding-block: var(--sec); }
.sec--soft { background: var(--c-bg-soft); }
.sec--grey { background: var(--c-bg-grey); }
.center { text-align: center; }

/* Typografie */
.eyebrow { color: var(--c-brand); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.4; }
.h2 { font-size: clamp(26px, 3.4vw, 35px); line-height: 1.22; font-weight: 700; letter-spacing: -.012em; margin-top: 10px; white-space: pre-line; }
.lead { max-width: 760px; margin-top: 18px; color: var(--c-text); }
.lead strong, .rich strong { font-weight: 700; }
.on-brand .eyebrow { color: #fff; }

/* Buttons – ein einziger Stil */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 36px; border: 0; border-radius: 999px; background: var(--c-brand); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .25s var(--ease), transform .25s var(--ease); }
.btn:hover { background: var(--c-brand-dark); }
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: var(--c-brand); }
.btn--light:hover { background: var(--c-brand-tint); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; height: 80px; }
.site-header .wrap { width: min(1020px, 100% - 2 * var(--gutter)); display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: block; margin-left: -10px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 36px; align-items: center; margin-right: -1px; }
.nav a { text-decoration: none; font-size: 15px; line-height: 1; padding: 10px 0; position: relative; white-space: nowrap; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--c-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current] { font-weight: 700; color: var(--c-brand); }
/* Link als Bild (wie auf wohnpark-schortens.de): grau, beim Darüberfahren farbig */
.nav a.nav__img { display: flex; align-items: center; padding: 0; margin-left: -12px; } /* 24px Abstand wie im Original */
.nav a.nav__img::after { display: none; }
.nav a.nav__img img { display: block; height: 20px; width: auto; max-width: 150px; filter: grayscale(1); transition: filter .3s linear; }
.nav a.nav__img:hover img, .nav a.nav__img:focus-visible img { filter: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; margin-right: -10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--c-text); content: ""; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.open .nav-toggle span { background: transparent; }
.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 60% 40%; background: var(--c-brand); color: #fff; min-height: 520px; }
.hero__text { padding: 100px 48px 56px max(var(--gutter), calc((100vw - var(--w)) / 2)); display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1.17; max-width: 13em; white-space: pre-line; }
.hero__sub { font-weight: 700; font-size: 18px; margin-top: 28px; }
.hero__lead { max-width: 28em; margin-top: 8px; font-size: 16px; line-height: 1.5; }
.hero .btn { margin-top: 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: auto; padding-top: 48px; font-size: 14px; font-weight: 500; }
.badges li::before { content: "✓"; margin-right: 5px; }
.hero__img { position: relative; overflow: hidden; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ph-box { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: var(--c-ph); }
.hero__img .ph-box, .contact__img .ph-box { position: absolute; inset: 0; }
.gallery li .ph-box { min-height: 0; }
.plan .ph-box { aspect-ratio: 420 / 280; }

/* Bewertung */
.rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; height: 60px; font-size: 14px; background: #fff; }
.rating b { font-size: 16px; font-weight: 600; }
.rating a { color: var(--c-brand); text-decoration: none; font-weight: 500; }
.rating a:hover { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; color: #f6b400; }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.stars .off { color: #d8d6d4; }

/* Kennzahlen */
.facts { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.facts__free { background: var(--c-bg-soft); display: grid; place-content: center; text-align: center; padding: 40px var(--gutter); }
.facts__num { font-size: clamp(100px, 13vw, 168px); font-weight: 700; line-height: .92; letter-spacing: -.06em; color: var(--c-brand); }
.facts__free h3 { font-size: 24px; font-weight: 600; margin-top: 12px; }
.facts__stand { font-size: 14px; margin-top: 10px; }
.facts__list { background: var(--c-bg-grey); padding: 60px max(var(--gutter), 60px) 60px 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.facts__list h3 { font-size: 30px; font-weight: 600; line-height: 1.2; }
.facts__list p { font-size: 14px; margin: 8px 0 28px; }
.facts__list .btn { margin-top: 0; }

/* Galerie */
.gallery { padding: 16px 8px; background: #fff; }
.gallery ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 1440px; margin-inline: auto; }
.gallery li { aspect-ratio: 276 / 192; overflow: hidden; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--c-ph); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }

/* Vergleich */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; text-align: left; }
.compare__box { border: 1px solid var(--c-line); padding: 32px; min-height: 298px; }
.compare__box--on { border: 2px solid var(--c-brand); }
.tag { display: inline-block; background: var(--c-brand-tint); color: var(--c-brand); font-size: 12px; font-weight: 600; padding: 4px 14px; margin-bottom: 18px; }
.compare h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.compare ul { margin-top: 16px; }
.compare li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.5; margin-top: 10px; }
.compare li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand); }
.compare__cta { margin-top: 36px; }
#entscheidung .lead { margin-inline: auto; max-width: 600px; }

/* Wohnungen */
.apt { display: grid; grid-template-columns: 500px 1fr; gap: 40px; margin-top: 36px; align-items: stretch; }
.spec { border-top: 1px solid var(--c-line); margin: 0; }
.spec div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; align-items: center; }
.spec dt { color: var(--c-muted); }
.spec dd { margin: 0; text-align: right; font-weight: 600; white-space: pre-line; }
.plan { background: #fff; border: 1px solid var(--c-line); padding: 28px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.plan button { display: block; width: 100%; background: none; border: 0; padding: 0; }
.plan img { width: 100%; height: auto; }
.plan figcaption { font-size: 12px; color: var(--c-muted); line-height: 1.6; margin-top: 18px; white-space: pre-line; }

/* Karten-Grids */
.cards { display: grid; gap: 28px 20px; margin-top: 40px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--c-bg-soft); border: 1px solid var(--c-line); padding: 28px; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.5; }
.card p { font-size: 14.5px; line-height: 1.65; margin-top: 8px; }
.card--white { background: #fff; }
.card--round { background: #fff; border-radius: 12px; }
.card--brand { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.card--brand h3 { color: #fff; }
.card--tint h3 { color: var(--c-brand); }

.near { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; align-items: start; }
.near__card { background: var(--c-bg-grey); }
.near__img { aspect-ratio: 224 / 119; background: var(--c-ph); display: grid; place-items: center; overflow: hidden; }
.near__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ph { font-size: 11px; letter-spacing: .12em; color: var(--c-brand); text-transform: uppercase; text-align: center; padding: 8px; }
.near__body { padding: 20px 28px 28px; }
.near__body h3 { font-size: 17px; font-weight: 600; }
.near__body p { font-size: 15px; margin-top: 8px; line-height: 1.6; }

/* Kosten */
.price { margin-top: 36px; border-top: 1px solid var(--c-line); }
.price__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.price__row h3 { font-size: 15.5px; font-weight: 600; }
.price__row p { font-size: 13px; margin-top: 4px; }
.price__val { font-weight: 600; font-size: 16px; white-space: nowrap; }
.price__total { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 28px 0 0; border-top: 2px solid var(--c-brand); margin-top: -1px; }
.price__total span:first-child { font-weight: 600; }
.price__total span:last-child { font-family: var(--f-serif); font-weight: 700; font-size: 26px; color: var(--c-brand); text-align: right; }

/* Bewertungen (Slider) */
.reviews { background: var(--c-brand); color: #fff; padding-block: 72px 80px; text-align: center; }
.reviews .h2 { color: #fff; }
.slider { position: relative; margin-top: 40px; width: min(1100px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.slider__vp { overflow: hidden; padding: 2px; }
.slider__track { display: flex; gap: 20px; transition: transform .6s var(--ease); }
.review { flex: 0 0 calc((100% - 40px) / 3); background: #fff; color: var(--c-text); padding: 28px; text-align: left; border: 1px solid #1c1c1c; min-height: 206px; }
.review__head { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.45; }
.review__head b { font-size: 13.5px; font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.review .stars { margin-top: 12px; }
.review .stars svg { width: 16px; height: 16px; }
.review p { font-size: 14.5px; line-height: 1.65; margin-top: 10px; }
.review p.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.review { position: relative; }
.review.is-open { padding-bottom: 56px; }
.review__more { position: absolute; left: 28px; bottom: 22px; margin: 0; padding: 0; border: 0; background: none; color: var(--c-brand); font-weight: 600; font-size: 13.5px; text-decoration: underline; text-underline-offset: 2px; }
.slider__nav[hidden] { display: none; }
.slider__nav { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; transition: background .25s; }
.round:hover:not(:disabled) { background: rgba(255,255,255,.16); }
.round:disabled { opacity: .4; cursor: default; }
.round svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Wohnen mit Mehrwert: gleich hohe Kacheln, Klick klappt eine auf */
.mw { align-items: start; }
.mw__card { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: inherit; padding-right: 52px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.mw__card h3 { min-height: 3em; }
.mw__card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; min-height: calc(4 * 1.65em); }
.mw__card:hover { border-color: var(--c-brand); }
.mw__card[aria-expanded="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.mw__card[aria-expanded="true"] h3 { color: #fff; }
.mw__card[aria-expanded="true"] p { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; min-height: 0; }
.mw__ico { position: absolute; right: 22px; top: 28px; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; opacity: .7; }
.mw__ico::before, .mw__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.mw__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.mw__card[aria-expanded="true"] .mw__ico::after { transform: translate(-50%, -50%) rotate(0); }
@media (max-width: 767px) { .mw__card h3, .mw__card p { min-height: 0; } }

/* Tagesablauf */
.day { display: grid; grid-template-columns: 1fr 460px; gap: 60px; margin-top: 48px; align-items: start; }
.day__tabs { border-left: 2px solid #dedcda; }
.day__tab { display: grid; grid-template-columns: 114px 1fr; align-items: center; width: 100%; padding: 0 20px; height: 66px; text-align: left; background: none; border: 0; margin-left: -2px; border-left: 2px solid transparent; transition: color .25s, border-color .25s; }
.day__tab span:first-child { font-size: 14px; font-weight: 600; }
.day__tab span:last-child { font-size: 19px; font-weight: 600; }
.day__tab:hover { color: var(--c-brand); }
.day__tab[aria-selected="true"] { color: var(--c-brand); border-left-color: var(--c-brand); }
.day__card { background: #fff; }
.scene { position: relative; aspect-ratio: 460 / 310; overflow: hidden; background: var(--c-ph); isolation: isolate; }
.scene__bg { position: absolute; inset: 0; transition: background 1.2s var(--ease); }
.scene__sun, .scene__moon { position: absolute; width: 56px; height: 56px; border-radius: 50%; left: 50%; top: 100%; transition: transform 1.4s var(--ease), opacity 1s, background 1.2s; opacity: 0; }
.scene__hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 55%; border-radius: 50% 50% 0 0; background: rgba(127, 36, 55, .16); transition: background 1.2s; }
.scene__hill--2 { bottom: -38%; left: -30%; right: 10%; background: rgba(127, 36, 55, .24); }
.scene__stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; background-image: radial-gradient(1.5px 1.5px at 14% 22%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 32% 12%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 58% 28%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 76% 14%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 88% 34%, #fff 99%, transparent), radial-gradient(1px 1px at 44% 40%, #fff 99%, transparent), radial-gradient(1px 1px at 66% 8%, #fff 99%, transparent); }
.scene__cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 11px; letter-spacing: .12em; color: var(--c-brand); text-transform: uppercase; z-index: 2; transition: color 1s; }
.scene__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.scene[data-scene] .scene__bg { background: linear-gradient(#ece6e1, #d9d5d2); }
.scene[data-scene="morgen"] .scene__bg { background: linear-gradient(#f3dccf, #e8cfc8 60%, #d9d5d2); }
.scene[data-scene="morgen"] .scene__sun { background: #f2b987; opacity: .9; transform: translate(-260%, -180%); }
.scene[data-scene="vormittag"] .scene__bg { background: linear-gradient(#e6ecef, #dfe3e0 60%, #d9d5d2); }
.scene[data-scene="vormittag"] .scene__sun { background: #f5d68a; opacity: .9; transform: translate(-150%, -300%); }
.scene[data-scene="mittag"] .scene__bg { background: linear-gradient(#e4eef2, #e9eae4 65%, #d9d5d2); }
.scene[data-scene="mittag"] .scene__sun { background: #f7de8f; opacity: .95; transform: translate(-50%, -420%); }
.scene[data-scene="nachmittag"] .scene__bg { background: linear-gradient(#ebe7df, #e7dccf 65%, #d9d5d2); }
.scene[data-scene="nachmittag"] .scene__sun { background: #f2c47a; opacity: .9; transform: translate(60%, -300%); }
.scene[data-scene="abend"] .scene__bg { background: linear-gradient(#cfa8a6, #b8838c 55%, #8f5265); }
.scene[data-scene="abend"] .scene__sun { background: #f0a06a; opacity: .95; transform: translate(130%, -170%); }
.scene[data-scene="abend"] .scene__cap { color: #fff; }
.scene[data-scene="nacht"] .scene__bg { background: linear-gradient(#2b2540, #4a2c4a 70%, #5e2a44); }
.scene[data-scene="nacht"] .scene__moon { background: #f5eddc; opacity: .95; transform: translate(80%, -340%); box-shadow: 0 0 36px rgba(245, 237, 220, .35); }
.scene[data-scene="nacht"] .scene__stars { opacity: .9; }
.scene[data-scene="nacht"] .scene__cap { color: #f1dde3; }
.scene[data-scene="abend"] .scene__hill, .scene[data-scene="nacht"] .scene__hill { background: rgba(35, 15, 30, .34); }
.scene[data-scene="nacht"] .scene__hill--2 { background: rgba(20, 8, 20, .5); }
.day__body { padding: 28px; }
.day__body .eyebrow { font-size: 15px; }
.day__body h3 { font-size: 22px; font-weight: 600; margin-top: 12px; }
.day__body p { font-size: 15px; line-height: 1.75; margin-top: 12px; color: #3c3a38; }
.day__body > * { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* Schritte */
.step-first { display: grid; grid-template-columns: 238px 1fr auto; align-items: center; gap: 0; background: #fff; padding: 40px; margin-top: 44px; }
.step-no { font-size: 34px; font-weight: 700; color: var(--c-brand); line-height: 1.2; }
.step-first p, .step p { font-size: 15px; line-height: 1.7; }
.step-first p { max-width: 340px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.step { background: #fff; padding: 32px; }
.step .step-no { font-size: 30px; }
.step p { margin-top: 16px; }
.step p strong { display: block; }

/* Pflegegrad / Akkordeon */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 63px; padding: 14px 0; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 500; }
.acc__ico { flex: none; width: 28px; height: 28px; border: 1px solid var(--c-line); border-radius: 50%; position: relative; background: #fff; transition: border-color .25s, color .25s; }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.acc__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__ico { border-color: var(--c-brand); color: var(--c-brand); }
.acc__q[aria-expanded="true"] .acc__ico::before { transform: translate(-50%, -50%) rotate(45deg); }
.acc__q[aria-expanded="true"] .acc__ico::after { transform: translate(-50%, -50%) rotate(135deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { padding: 0 48px 22px 0; font-size: 16px; line-height: 1.7; color: #3c3a38; }
.sub { font-size: 28px; font-weight: 700; margin-top: 56px; }
#pflegegrad .lead { max-width: 780px; }
#pflegegrad .acc { margin-top: 36px; }
#pflegegrad .cards { margin-top: 24px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; gap: 20px; margin-top: 40px; }
.person { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--c-line); padding: 24px; }
.person__img { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--c-ph); overflow: hidden; display: grid; place-items: center; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__img .ph { font-size: 9px; padding: 0; }
.person h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.person p { font-size: 13.5px; line-height: 1.6; }
.person p:last-child { color: var(--c-brand); font-weight: 600; font-size: 13px; }

/* Beratung / Formular */
.contact { display: grid; grid-template-columns: 40% 60%; background: var(--c-brand); color: #fff; min-height: 560px; }
.contact__img { position: relative; overflow: hidden; }
.contact__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__body { padding: 70px 60px 60px; max-width: 700px; }
.contact h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; margin-top: 18px; max-width: 14em; }
.form { margin-top: 32px; max-width: 480px; display: grid; gap: 14px; }
.field label { display: block; font-size: 12.5px; margin-bottom: 4px; }
.field input { display: block; width: 100%; height: 46px; padding: 0 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.7); border-radius: 0; color: #fff; font-size: 14.5px; }
.field input::placeholder { color: rgba(255,255,255,.9); }
.field input:focus { outline: 3px solid #fff; outline-offset: 1px; background: rgba(255,255,255,.2); }
.field--err input { border-color: #ffd0d6; border-width: 2px; }
.field__err { display: none; font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.field--err .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form__msg { margin-top: 18px; padding: 14px 16px; font-size: 14.5px; line-height: 1.6; background: rgba(255,255,255,.14); border-left: 4px solid #fff; max-width: 480px; }
.form__msg[hidden] { display: none; }
.form__priv { font-size: 12px; margin-top: 12px; max-width: 480px; opacity: .9; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Downloads */
.dl { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); padding: 28px; transition: border-color .25s; }
.dl:hover { border-color: var(--c-brand); }
.dl h3 { font-size: 20px; font-weight: 600; line-height: 1.5; }
.dl p { font-size: 15px; line-height: 1.7; margin-top: 12px; }
.dl a, .dl span.soon { margin-top: 12px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-brand); text-decoration: none; }
.dl a:hover { text-decoration: underline; }
.dl .soon { color: var(--c-muted); }

/* Anfahrt */
.where { display: grid; grid-template-columns: 1fr 520px; gap: 60px; margin-top: 44px; align-items: start; }
.where h3 { font-size: 13px; font-weight: 600; color: var(--c-brand); margin-top: 28px; }
.where h3:first-child { margin-top: 0; }
.where p { font-size: 16px; line-height: 1.65; margin-top: 8px; white-space: pre-line; }
.where p a { text-decoration: none; }
.where p a:hover { text-decoration: underline; }
.map { aspect-ratio: 520 / 392; background: var(--c-ph); display: grid; place-items: center; position: relative; overflow: hidden; }
.map > a:has(img) { position: absolute; inset: 0; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map a { color: var(--c-brand); text-decoration: none; }
.map a:hover { text-decoration: underline; }

/* FAQ */
#faq .acc { margin-top: 44px; }
#faq .acc__a p { font-size: 16px; }

/* Footer */
.site-footer { background: var(--c-footer); color: #fff; padding-top: 88px; }
.footer__grid { display: grid; grid-template-columns: 236px 1fr 1fr; gap: 0; padding-bottom: 46px; }
.footer__brand img { width: 82px; height: 82px; }
.footer__brand p { font-weight: 400; font-size: 16px; line-height: 1.5; margin-top: 32px; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 0 20px; align-content: start; padding: 0 30px; border-left: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2); }
.footer__links a { display: flex; gap: 10px; align-items: center; padding: 11px 0; text-decoration: none; font-size: 15.5px; }
.footer__links a:hover, .footer__contact a:hover { text-decoration: underline; }
.footer__contact { padding-left: 28px; display: grid; gap: 20px; align-content: start; }
.footer__contact .ico { stroke: #fff; }
.footer__contact li { display: flex; gap: 14px; font-size: 15.5px; line-height: 1.55; }
.footer__contact a { text-decoration: none; }
.footer__contact span { white-space: pre-line; overflow-wrap: anywhere; }
.ico { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; padding: 30px 0 34px; border-top: 1px solid rgba(255,255,255,.2); font-size: 15.5px; }
.social { display: flex; gap: 14px; }
.social a { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; transition: transform .25s var(--ease), filter .25s; }
.social a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social svg { width: 16px; height: 16px; fill: #fff; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(20, 15, 17, .92); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lb[open], .lb.is-open { display: flex; }
.lb figure { max-width: 100%; max-height: 100%; text-align: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); margin-inline: auto; background: #fff; }
.lb figcaption { color: #fff; font-size: 14px; margin-top: 12px; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; }
.lb__btn:hover { background: rgba(255,255,255,.18); }
.lb__btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb--single .lb__prev, .lb--single .lb__next { display: none; }

/* Reveal (nur mit JS aktiv) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

.noscript { padding: 40px var(--gutter); text-align: center; }

/* Navigation einklappen */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--c-line); box-shadow: 0 12px 24px rgba(0,0,0,.08); margin: 0; }
  .open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--c-line); }
  .nav a::after { display: none; }
}

/* Kurze Navigation (2–3 Links) klappt nie ein */
@media (max-width: 960px) {
  .site-header--short .nav-toggle { display: none; }
  .site-header--short .nav { display: flex; position: static; flex-direction: row; gap: 20px; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-header--short .nav a { padding: 10px 0; border: 0; font-size: 14px; }
  .site-header--short .nav a.nav__img img { height: 16px; }
}

/* Tablet */
@media (max-width: 1100px) {
  :root { --sec: 80px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__text { padding-left: var(--gutter); }
  .cards--4, .near, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .apt { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr; gap: 32px; }
  .where { grid-template-columns: 1fr; gap: 36px; }
  .review { flex-basis: calc((100% - 20px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .footer__links { border-right: 0; padding-right: 0; }
  .footer__contact { grid-column: 1 / -1; padding-left: 0; }
  .step-first { grid-template-columns: 120px 1fr; gap: 20px; }
  .step-first .btn { grid-column: 2; justify-self: start; }
  .contact { grid-template-columns: 1fr; }
  .contact__img { height: 340px; }
  .contact__body { padding: 56px var(--gutter); max-width: none; }
  .contact__inner { max-width: var(--w); margin-inline: auto; }
}

/* Smartphone */
@media (max-width: 767px) {
  :root { --sec: 60px; --gutter: 20px; }
  html { scroll-padding-top: 72px; }
  .site-header { height: 64px; }
  .brand img { height: 42px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; height: 240px; }
  .hero__text { padding: 40px var(--gutter) 36px; }
  .hero__lead { font-size: 15px; }
  .badges { padding-top: 32px; gap: 6px 16px; }
  .rating { height: auto; min-height: 56px; padding: 12px var(--gutter); }
  .facts { grid-template-columns: 1fr; min-height: 0; }
  .facts__list { padding: 40px var(--gutter); }
  .compare, .cards--3, .cards--4, .near, .steps, .team { grid-template-columns: 1fr; }
  .compare__box { min-height: 0; padding: 24px; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { text-align: left; }
  .price__row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .price__total { flex-direction: column; gap: 4px; }
  .price__total span:last-child { text-align: left; }
  .review { flex-basis: 100%; }
  .day__tab { grid-template-columns: 92px 1fr; height: 58px; padding: 0 14px; }
  .day__tab span:last-child { font-size: 17px; }
  .step-first { grid-template-columns: 1fr; padding: 28px; }
  .step-first .btn { grid-column: 1; width: 100%; padding: 0 20px; text-align: center; }
  .btn { padding: 0 28px; }
  .acc__a p { padding-right: 0; }
  .sub { font-size: 24px; }
  .person { padding: 20px; gap: 18px; }
  .where p { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { border: 0; padding: 0; }
  .footer__bar { flex-direction: column; gap: 18px; }
  .lb { padding: 64px 16px 24px; }
  .lb__prev, .lb__next { top: auto; bottom: 12px; transform: none; }
  .lb__prev { left: calc(50% - 56px); }
  .lb__next { right: calc(50% - 56px); }
  .contact__body { padding: 44px var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}

@media print { .site-header, .lb { display: none; } .js .rv { opacity: 1; transform: none; } }

/* Pflegegrad-Tabelle */
.ptable { padding: 4px 0 28px; }
.ptable__row { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 13.5px; }
.ptable__row--head { padding-top: 10px; border-bottom: 2px solid var(--c-line); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ptable__row--head span:last-child { text-align: right; }
.ptable__row b { font-weight: 600; font-size: 14px; }
.ptable__val { text-align: right; white-space: nowrap; }
@media (max-width: 767px) {
  .ptable__row { grid-template-columns: 1fr; gap: 2px; }
  .ptable__row--head { display: none; }
  .ptable__val { text-align: left; white-space: normal; }
}

/* ---------- Handy: kompakter und wischbar ---------- */
@media (max-width: 767px) {
  /* Wischbare Reihen statt langer Stapel (nächste Karte schaut rechts hervor) */
  .gallery ul, .near, .steps, #kosten .cards, #pflegegrad .cards {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery ul::-webkit-scrollbar, .near::-webkit-scrollbar, .steps::-webkit-scrollbar, #kosten .cards::-webkit-scrollbar, #pflegegrad .cards::-webkit-scrollbar { display: none; }
  .gallery ul > *, .near > *, .steps > *, #kosten .cards > *, #pflegegrad .cards > * { flex: 0 0 82%; scroll-snap-align: start; }
  .gallery { padding: 16px 0; }
  .gallery ul { margin-inline: 0; padding-inline: 8px; scroll-padding-inline: 8px; gap: 8px; }
  .gallery ul > * { flex-basis: 78%; }
  .near__img { aspect-ratio: 16 / 7; }

  /* Tagesablauf: Uhrzeiten als wischbare Leiste direkt über dem Inhalt */
  .day { gap: 16px; margin-top: 28px; }
  .day__tabs { display: flex; gap: 8px; overflow-x: auto; border-left: 0; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
  .day__tabs::-webkit-scrollbar { display: none; }
  .day__tab { flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; height: auto; min-height: 56px; width: auto; margin: 0; padding: 8px 16px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; scroll-snap-align: start; }
  .day__tab span:first-child { font-size: 12px; }
  .day__tab span:last-child { font-size: 14.5px; white-space: nowrap; }
  .day__tab[aria-selected="true"] { border-color: var(--c-brand); background: var(--c-brand); color: #fff; }
  .scene { aspect-ratio: 16 / 9; }
  .day__body { padding: 22px; }
  .day__body h3 { font-size: 19px; }

  /* Kosten: Betrag rechts neben dem Titel */
  .price__row { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px; flex-direction: initial; }
  .price__row .price__val { grid-column: 2; grid-row: 1; font-size: 15px; }
  .price__total { flex-direction: row; align-items: baseline; }
  .price__total span:last-child { font-size: 22px; text-align: right; }

  /* Buttons einzeilig */
  .btn { font-size: 12.5px; letter-spacing: .06em; padding: 0 22px; }
  .step-first .btn { white-space: normal; line-height: 1.3; min-height: 48px; }

  .contact__img { height: 240px; }
  .hero__img { height: 220px; }
  .sub { margin-top: 40px; }
  .footer__links { gap: 0 16px; }
  .footer__bar { text-align: center; }
}


/* Wohnungen: Grundriss-Box genau so hoch wie die Tabelle (nur zweispaltig) */
@media (min-width: 1101px) {
  .apt .plan { height: 0; min-height: 100%; }
  .apt .plan button { flex: 1 1 0; min-height: 0; }
  .apt .plan img { width: 100%; height: 100%; object-fit: contain; }
}

/* Kalender-/Uhr-Symbol der Datums- und Zeitfelder weiß */
.contact input[type="date"], .contact input[type="time"] { color-scheme: dark; }
.contact input[type="date"]::-webkit-calendar-picker-indicator, .contact input[type="time"]::-webkit-calendar-picker-indicator { opacity: .9; cursor: pointer; }

/* Kosten: Umschalter zwischen Preismodellen */
.price__switch { display: inline-flex; gap: 4px; margin-top: 32px; padding: 4px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; max-width: 100%; overflow-x: auto; }
.price__switch button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: 600 14px/1.2 var(--f-sans, inherit); color: inherit; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.price__switch button[aria-selected="true"] { background: var(--c-brand); color: #fff; }
.price__switch button:not([aria-selected="true"]):hover { background: rgba(127,36,55,.08); }
.price__note { margin-top: 20px; font-size: 14.5px; }
.price__switch + .price__panel .price, .price__note + .price { margin-top: 20px; }

/* Karte: Vorschau vor dem Laden von Google Maps */
.map__consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background-color: #eef0ec; background-size: cover; background-position: center;
  background-image:
    linear-gradient(28deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
    linear-gradient(-62deg, transparent 48.5%, #fff 48.5%, #fff 51.5%, transparent 51.5%),
    linear-gradient(90deg, transparent 70%, #fff 70%, #fff 72%, transparent 72%),
    linear-gradient(0deg, transparent 30%, #fff 30%, #fff 32%, transparent 32%),
    radial-gradient(circle at 78% 22%, #d7e4cf 0 14%, transparent 14.5%),
    radial-gradient(circle at 18% 80%, #d7e4cf 0 18%, transparent 18.5%); }
.map__card { max-width: 340px; background: #fff; padding: 22px 24px; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.map__card .ico { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--c-brand); }
.map__addr { font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.map__note { font-size: 12px; line-height: 1.5; margin-top: 12px; color: #5c5a58; }
.map__note a { color: var(--c-brand); }
