/* Startseite: Hausverwaltung im Fokus. Der bestehende Hero bleibt unberührt. */
.home-page {
  --home-anthracite: #252729;
  --home-slate: #2e3032;
  --home-text: #f6f5ef;
  --home-muted: #c4c5c2;
  --home-line: #55585a;
  --home-space: clamp(64px, 7vw, 108px);
}
.home-page .benefit-bar { background: var(--home-slate); color: var(--home-text); border-bottom: 1px solid var(--home-line); }
.home-page .benefit-inner { padding-block: 22px; }
.home-page .benefit-inner .icon { color: var(--gold-light); }
.home-page .benefit-inner > span + span { border-color: var(--home-line); }
.home-management { background: var(--home-anthracite); color: var(--home-text); padding-block: var(--home-space); }
.home-management .eyebrow { color: var(--gold-light); }
.home-management .section-heading { margin-bottom: clamp(32px, 4vw, 56px); }
.home-management .heading-grid { grid-template-columns: 1fr 1.18fr; gap: clamp(36px, 6vw, 88px); align-items: end; }
.home-management h2 { font-size: clamp(2.25rem, 4.25vw, 3.75rem); line-height: 1.14; font-weight: 500; }
.home-management h2 span { color: var(--gold-light); }
.home-management .heading-grid > p { color: var(--home-muted); max-width: 39ch; line-height: 1.85; padding-bottom: 4px; }
.home-management-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(36px, 6vw, 88px); align-items: stretch; }
.home-management-image { margin: 0; min-width: 0; display: flex; flex-direction: column; background: var(--home-slate); }
.home-management-photo { position: relative; flex: 1; min-height: clamp(360px, 42vw, 560px); }
.home-management-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-management-image figcaption { display: grid; gap: 4px; padding: 21px 26px; border: 1px solid var(--home-line); border-top: 0; }
.home-management-image figcaption > span:first-child { color: var(--gold-light); font-size: .6875rem; font-weight: 600; letter-spacing: .075em; }
.home-management-image figcaption > span:last-child { font-size: .875rem; color: var(--home-text); }
.home-management-services { display: flex; flex-direction: column; min-width: 0; }
.home-management .service-accordion details { border-color: var(--home-line); }
.home-management .service-accordion summary { padding-block: 24px; gap: 24px; min-height: 88px; color: var(--home-text); font-size: clamp(1.2rem, 1.75vw, 1.5rem); }
.home-service-number { color: var(--gold-light); font-size: .75rem; letter-spacing: .035em; flex: none; }
.home-management .plus { color: var(--gold-light); }
.home-management .detail-content { padding: 0 0 26px 42px; }
.home-management .detail-content > p { color: var(--home-muted); max-width: 46ch; }
.home-management .detail-content ul { color: var(--home-text); margin-block: 20px; gap: 10px; line-height: 1.7; }
.home-management .detail-content li::before { border-color: var(--gold-light); }
.home-management .detail-content .text-link { color: var(--gold-light); margin-top: 12px; }
.home-management-certification { display: flex; gap: 14px; align-items: flex-start; margin-block: 28px; }
.home-management-certification > .icon { color: var(--gold-light); width: 23px; height: 23px; margin-top: 2px; }
.home-management-certification p { display: grid; gap: 3px; font-size: .875rem; line-height: 1.7; }
.home-management-certification strong { font-weight: 600; }
.home-management-certification p > span { color: var(--home-muted); }
.home-management-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; }
.home-management-actions > .text-link { color: var(--home-text); }
.home-management :focus-visible, .home-services :focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
.home-management-start { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(36px, 6vw, 88px); margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--home-line); }
.home-management-start h3 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 500; }
.home-management-start h3 span { color: var(--gold-light); }
.home-management-start-intro > p { margin-top: 22px; color: var(--home-muted); max-width: 36ch; line-height: 1.8; }
.home-management-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.home-management-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.home-step-number { color: var(--gold-light); font-size: 1.5rem; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; }
.home-management-steps h4 { font-size: 1.125rem; line-height: 1.5; font-weight: 600; margin-bottom: 6px; }
.home-management-steps p { color: var(--home-muted); font-size: .9375rem; line-height: 1.8; max-width: 48ch; }
/* Ein ruhiger, persönlicher Gegenpol zwischen den anthrazitfarbenen Abschnitten. */
.home-page .about-matthias { background: #e9e9e3; padding-block: var(--home-space); }
.home-page .about-matthias-heading { margin-bottom: 36px; }
.home-page .about-matthias-heading > .eyebrow { color: #715625; }
.home-page .about-matthias-heading > p:last-child { color: #575957; }
.home-page .about-matthias-grid { background: transparent; color: var(--ink); grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 8vw, 112px); align-items: center; }
.home-page .about-matthias-copy { padding: 12px 0; }
.home-page .about-matthias-role { color: #575957; margin-bottom: 22px; font-size: .75rem; }
.home-page .about-matthias-copy h2 { font-size: clamp(2.7rem, 4.9vw, 4.25rem); line-height: 1.1; margin-bottom: 24px; }
.home-page .about-matthias-copy h2 span { color: var(--ink); }
.home-page .about-matthias-lead { margin-bottom: 16px; }
.home-page .about-matthias-description { color: #575957; max-width: 46ch; font-size: 1rem; margin-bottom: 24px; }
.home-page .about-matthias-copy .text-link { color: var(--ink); border-color: #b5b7b1; padding-top: 18px; max-width: 440px; }
.home-page .about-matthias-copy .text-link:focus-visible { outline-color: var(--gold-dark); }
.home-page .about-matthias-arrow { color: var(--ink); border-color: #858780; }
.home-page .about-matthias-portrait { aspect-ratio: 1.1; width: 100%; max-width: 470px; justify-self: end; background: var(--home-anthracite); }
.home-page .about-matthias-portrait img { object-position: 50% 18%; }
.home-page .about-matthias-caption { padding: 14px 20px; }
.home-services { background: var(--home-slate); color: var(--home-text); padding-block: var(--home-space); }
.home-services-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.home-services-intro .eyebrow { color: var(--gold-light); }
.home-services-intro h2 { margin-block: 22px; font-size: clamp(2.1rem, 3.5vw, 3rem); line-height: 1.15; }
.home-services-intro > p:not(.eyebrow) { color: var(--home-muted); max-width: 32ch; }
.home-services-intro > .text-link { margin-top: 26px; color: var(--gold-light); }
.home-service-links { padding: 0; margin: 0; list-style: none; }
.home-service-links li { border-top: 1px solid var(--home-line); }
.home-service-links li:last-child { border-bottom: 1px solid var(--home-line); }
.home-service-links a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px 4px; min-height: 96px; }
.home-service-links a > span { min-width: 0; display: grid; gap: 5px; }
.home-service-links strong { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.35; letter-spacing: -.035em; font-weight: 500; transition: color 200ms ease; }
.home-service-links a > span > span { color: var(--home-muted); font-size: .875rem; }
.home-service-links .icon { color: var(--gold-light); width: 26px; height: 26px; transition: transform 200ms var(--ease); }
.home-page .contact { border-top: 1px solid var(--home-line); padding-block: var(--home-space); }
@media (hover: hover) and (pointer: fine) {
  .home-service-links a:hover strong { color: var(--gold-light); }
  .home-service-links a:hover .icon { transform: translate(3px, -3px); }
  .home-management .service-accordion summary:hover { color: var(--gold-light); }
}

@media (min-width: 760px) {
  .home-management-image { align-self: stretch; }
}
.home-management .service-copy p { color: var(--home-muted); line-height: 1.85; }
.home-management .service-copy li { color: var(--home-muted); }

/* Die sechs Verwaltungsbereiche bekommen eine eigene, wiedererkennbare Orientierung. */
.home-management .service-accordion summary { gap: 20px; }
.home-management-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--home-line); flex: none; color: var(--gold-light); transition: background 220ms ease, border-color 220ms ease; }
.home-management-icon > .icon { width: 27px; height: 27px; }
.home-management-summary { min-width: 0; flex: 1; display: grid; gap: 7px; }
.home-management-caption { font-size: .8125rem; line-height: 1.65; font-weight: 400; letter-spacing: 0; color: var(--home-muted); }
.home-management details[open] .home-management-icon { background: var(--home-slate); border-color: var(--gold); }
.home-management .detail-content { padding-left: 68px; }
.home-management .service-copy .service-points { list-style: none; padding: 0; display: grid; gap: 0; margin-block: 22px; }
.home-management .service-copy .service-points li { padding: 12px 0; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; border-top: 1px solid var(--home-line); font-size: .875rem; line-height: 1.65; color: var(--home-text); }
.home-management .service-copy .service-points li:last-child { border-bottom: 1px solid var(--home-line); }
.home-management .service-copy .service-points li::before { content: none; }
.home-management .point-check { width: 17px; height: 17px; color: var(--gold-light); margin-top: .25em; }
.home-services-grid > *, .home-service-links a > span { min-width: 0; }
.home-service-links strong { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 759px) {
  .home-management .heading-grid, .home-management-grid, .home-services-grid, .home-page .about-matthias-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-management .eyebrow { font-size: .6875rem; letter-spacing: .035em; gap: 9px; }
  .home-management .heading-grid { gap: 22px; }
  .home-management h2 { font-size: clamp(2rem, 7.4vw, 3rem); }
  .home-management-photo { aspect-ratio: 1200 / 1798; flex: none; min-height: 0; }
  .home-management-image img { object-fit: contain; }
  .home-management-image figcaption { padding: 16px 20px; }
  .home-management .service-accordion summary { font-size: 1.2rem; gap: 16px; min-height: 82px; padding-block: 21px; }
  .home-management .detail-content { padding-left: 0; }
  .home-management-icon { width: 38px; height: 38px; }
  .home-management-icon > .icon { width: 23px; height: 23px; }
  .home-management .service-accordion summary { gap: 12px; }
  .home-management-actions > .button { width: 100%; font-size: .8125rem; gap: 12px; padding-inline: 18px; }
  .home-management-start { grid-template-columns: 1fr; gap: 30px; margin-top: 48px; padding-top: 32px; }
  .home-management-start-intro > p { max-width: 46ch; margin-top: 16px; }
  .home-management-steps { gap: 24px; }
  .home-management-steps li { grid-template-columns: 32px 1fr; gap: 14px; }
  .home-page .about-matthias-heading { margin-bottom: 24px; }
  .home-page .about-matthias-grid { gap: 26px; }
  .home-page .about-matthias-copy { padding: 0; }
  .home-page .about-matthias-portrait { grid-row: auto; max-width: none; aspect-ratio: 1.25; }
  .home-page .about-matthias-copy h2 { font-size: clamp(2.65rem, 10vw, 3.6rem); }
  .home-page .about-matthias-caption > span:first-child { display: block; font-size: .625rem; }
  .home-page .about-matthias-caption > span:last-child { display: none; }
  .home-service-links a { padding-block: 20px; }
  .home-service-links a > span > span { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-management-icon { transition: none; }
  .home-service-links strong, .home-service-links .icon { transition: none; }
  .home-service-links a:hover .icon { transform: none; }
}
@media (forced-colors: active) {
  .home-management :focus-visible, .home-services :focus-visible { outline-color: Highlight; }
  .home-service-links a { color: LinkText; }
}

/* Präzise Rückmeldung beim Öffnen und Berühren der Verwaltungsbereiche. */
.home-management-icon > .icon { transition: transform 220ms var(--ease); }
.home-management .service-accordion details[data-expanding="false"] .plus::after { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-management .service-accordion summary:hover .home-management-icon > .icon { transform: translate3d(0,-2px,0) rotate(-4deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-management .service-accordion summary:active .home-management-icon > .icon { transform: scale(.93); }
  .home-management .service-accordion details.is-revealed { animation-duration: 600ms; }
}
