/* home.css — layout-only additions for the Startseite (tokens from theme.css, no new colours / sizes) */

/* 01 hero: a compact panel so the phone button stays inside the first screen (the long brand H1 + lead are tamed) */
.hero--chooser .hero__title { font-size: var(--fs-h2); line-height: 1.12; }
.hero--chooser .hero__lead { font-size: var(--fs-base); line-height: var(--lh); }
.hero--chooser .hero__checks { margin-top: var(--s-4); gap: .4rem; }
.hero--chooser .hero__actions { margin-top: var(--s-5); }
.hero--chooser .hero__trades { margin-top: var(--s-4); padding-top: var(--s-4); }
/* the panel is a bit wider: it grows to the LEFT, into the page gutter, so its right edge (and the two faces in the photo) stays where it was.
   --hero-grow = the free space left of the content column minus 1rem, at most 3rem (0 where the column already touches the screen) */
@media (min-width: 901px) {
	.hero--chooser .hero__panel {
		--hero-grow: clamp(0px, calc((100vw - var(--w)) / 2 - 1rem), 3rem);
		max-width: calc(41rem + var(--hero-grow));
		margin-left: calc(-1 * var(--hero-grow));
	}
}

/* 02 video: one 16:9 player in a rounded frame, started by the visitor; the text version sits underneath (layout only, existing tokens) */
.home-video { padding-top: var(--s-4); }
.home-video .section-head { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.home-video__frame { width: min(100%, 56rem); margin-inline: auto; }
.home-video__player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-xl); background: var(--c-sky-50); box-shadow: var(--sh-lg); }
.home-video__text { width: min(100%, 56rem); margin: var(--s-5) auto 0; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-sky-50); }
.home-video__text > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 52px; padding: .5rem 1.1rem; font-weight: 650; color: var(--c-heading); cursor: pointer; list-style: none; }
.home-video__text > summary::-webkit-details-marker { display: none; }
.home-video__text > summary::after { content: ""; flex: none; width: 1.25rem; height: 1.25rem; background: var(--c-blue); -webkit-mask: var(--chev-mask) center / contain no-repeat; mask: var(--chev-mask) center / contain no-repeat; transform: rotate(90deg); transition: transform var(--t) var(--ease); }
.home-video__text[open] > summary::after { transform: rotate(-90deg); }
.home-video__text > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r); }
.home-video__text-body { padding: 0 1.1rem 1.1rem; color: var(--c-text); }
.home-video__text-body > * + * { margin-top: var(--s-3); }
.home-video__text-body ol { padding-left: 1.4rem; display: grid; gap: var(--s-2); }

/* 03 chooser: paragraph inside the house cards + tenant hint below */
.home-chooser .trade-card__text { color: var(--c-muted); font-size: 1.0625rem; }
.home-chooser__note { max-width: 62rem; margin: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem) auto 0; }

/* 04 situations: link inside the card text stays readable, tel link sits at the bottom */
.home-situations .svc-card__text a { font-weight: 600; }

/* 05 process: timeline left, sticky gable photo right, alert full width below */
.home-process__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.home-process__main { display: grid; gap: var(--s-6); min-width: 0; }
.home-process__main .steps--vertical { max-width: none; }
.home-process__side { position: sticky; top: calc(var(--header-h) + var(--s-7)); min-width: 0; }
.home-process__side .gable-wrap { --ratio: 4 / 5; }
.home-process__alert { margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }

/* 06 trust: three equal cards, center aligned head */
.home-trust .promise-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

/* 07 region: copy left, gable photo right */
.home-region .split__media .gable-wrap { --ratio: 5 / 4; }
.home-region .float-tag { bottom: var(--s-6); }

/* 09 FAQ: closing link under the list */
.home-faq__main { min-width: 0; }
.home-faq__more { margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-muted); }

@media (max-width: 900px) {
	.home-process__grid { grid-template-columns: minmax(0, 1fr); }
	.home-process__side { position: relative; top: auto; order: -1; max-width: 32rem; width: 100%; margin-inline: auto; }
	.home-process__side .gable-wrap { --ratio: 16 / 11; }
	.home-region .split__media .gable-wrap { --ratio: 16 / 11; }
	.home-chooser__note { margin-top: var(--s-8); }
}
