/* ==========================================================================
   / (Startseite) — page layout only. Tokens from theme.css, no new colours, sizes or !important.
   Idea: "Der Anruf als Drehbuch" — ten scenes, one call to action per second scene.
   ========================================================================== */

/* 01 · hero: ten-word H1, so a calmer display size and a wider text column --------------- */
.home-hero .hero__content { max-width: 52rem; }
.home-hero .hero__title { font-size: var(--fs-3xl); max-width: 22ch; }
@media (max-width: 30em) { .home-hero__lbl { display: none; } }

/* 02 · feature band: the real H2 as a title row inside the gradient card --------------- */
.home-fb__title {
	grid-column: 1 / -1; margin: 0; padding-bottom: var(--sp-3); text-align: center;
	font-size: var(--fs-lg); color: var(--white);
	border-bottom: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
}

/* 04 · services gallery: 3 + 2 composition (two wide cards, three medium) -------------- */
.home-svc .svc-card__text a { position: relative; z-index: 2; }
.home-svc .svc-card__badge { bottom: var(--sp-4); }
@media (min-width: 40em) and (max-width: 63.99em) {
	.home-svc > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
	.home-svc { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.home-svc > * { grid-column: span 2; }
	.home-svc > :nth-child(-n+2) { grid-column: span 3; }
	.home-svc > :nth-child(-n+2) .svc-card__title { font-size: var(--fs-lg); }
}
.home-svc__foot { display: flex; justify-content: center; margin-top: var(--sp-7); }

/* 05 · situation picker: 3 + 2 cards, then the urgent bar ------------------------------- */
.home-sit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--sp-4); }
.home-sit .icon-list__item { align-content: start; }
.home-sit .icon-list__title { font-size: var(--fs-md); line-height: 1.3; }
@media (min-width: 64em) {
	.home-sit { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.home-sit > * { grid-column: span 2; }
	.home-sit > :nth-child(n+4) { grid-column: span 3; }
}
.home-note {
	display: flex; align-items: center; gap: var(--sp-4); max-width: none; margin-top: var(--sp-6);
	padding: var(--sp-4) var(--sp-5); background: var(--c-surface);
	border: 1px solid var(--c-line); border-left: 6px solid var(--violet-500); border-radius: var(--r-md);
}
.home-note__icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; background: var(--violet-500); color: var(--white); }

/* 06 · Ablauf + 07 · courtyard: split heads align to the top (the answer paragraph is taller than the heading) */
.home-ablauf .section-head--split, .home-courtyard .section-head--split { align-items: start; }
.home-ablauf .section-head--split .answer { max-width: none; }

/* 07 · signature scene: the "Was Sie uns sagen sollten" panel (dark, chamfered) ------- */
.home-say {
	display: grid; gap: var(--sp-6); align-items: center; margin-top: var(--sp-8);
	padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	background-color: var(--ink-900); background-image: var(--grad-spot); color: var(--on-dark);
	clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
@media (min-width: 60em) { .home-say { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-8); } }
.home-say__text > * + * { margin-top: var(--sp-3); }
.home-say__text h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-xl); color: var(--c-heading); }
.home-say__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5); }
.home-say__call { display: flex; }

/* 08 · call strip: links on the gradient must be white (AA) ----------------------------- */
.home-call .callstrip__sub a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.home-call .callstrip__sub a:hover { color: var(--violet-100); }
.home-call .callstrip__sub .tel-inline { color: var(--white); }

/* 09 · promises: sticky copy left, 2 x 2 cards right ------------------------------------ */
.home-promise__layout { display: grid; gap: var(--sp-7); align-items: start; }
.home-promise__head > p { max-width: none; }
.home-promise__grid { grid-template-columns: 1fr; }
@media (min-width: 40em) { .home-promise__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
	.home-promise__layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: var(--sp-8); }
	.home-promise__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.home-promise .promise__mark { height: 2.4rem; }

/* 10 · FAQ: heading + call left, accordion right ---------------------------------------- */
.home-faq__layout { display: grid; gap: var(--sp-6); align-items: start; }
.home-faq .faq { max-width: none; }
@media (min-width: 60em) {
	.home-faq__layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--sp-8); }
	.home-faq__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* four steps: 2 x 2 on tablets (auto-fit leaves a lone fourth step at 768 px) */
@media (min-width: 40em) and (max-width: 63.99em) {
	.home-ablauf .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
