/* tueroeffnung — page layout only (tokens from theme.css only) */

/* 01 hero: panel trimmed so the technician's face stays visible beside it */
.td-hero .hero__panel { max-width: 36rem; }
.td-hero .hero__img { object-position: 55% 28%; }
.td-hero .hero__title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 900px) {
	.td-hero .hero__panel { max-width: none; }
	.td-hero .hero__media { aspect-ratio: 4 / 3; max-height: 56vh; }
	.td-hero .hero__img { object-position: 55% 22%; }
}

/* 02 answer: editorial column + sticky phone card */
.td-answer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.td-answer__body { min-width: 0; }
.td-answer__body > * + * { margin-top: var(--s-5); }
.td-answer__body > .eyebrow { margin-bottom: 0; }
.td-answer__body > h2 { margin-top: var(--s-3); }
.td-answer .lead { max-width: none; color: var(--c-heading); font-weight: 600; }
.td-answer__eta p { margin: 0; }
.td-answer__card { position: sticky; top: calc(var(--header-h) + var(--s-7)); padding: var(--s-8) var(--s-6) var(--s-6); margin-top: var(--s-4); }
.td-answer__card .card__title { font-size: var(--fs-h3); }
.td-answer__card .icon-list { margin-top: var(--s-5); gap: var(--s-5); }
.td-answer__card .icon-list__icon { background: var(--c-white); }
@media (max-width: 960px) {
	.td-answer__grid { grid-template-columns: 1fr; }
	.td-answer__card { position: relative; top: auto; margin-top: var(--s-6); }
}

/* 03 before the call: four cards, then tip + photo */
.td-before__cards { margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.td-before__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.td-before__cards .icon-list__item { height: 100%; padding: var(--s-6); }
@media (max-width: 760px) {
	.td-before__cards { grid-template-columns: 1fr; }
}
.td-before__split { align-items: center; }
.td-before__split .phone-callout { margin-top: var(--s-6); background: var(--c-white); }
.td-before__split .split__body > p { font-size: var(--fs-lead); line-height: 1.55; }

/* 04 danger: one calm, wide notice */
.td-danger .notice__title { font-size: var(--fs-h3); }
.td-danger .notice__body > p { font-size: var(--fs-lead); line-height: 1.55; }
.td-danger .notice a[href="tel:112"] { font-weight: 700; }

/* 05 cases: statement left, two cases right */
.td-cases__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.td-cases__lead { min-width: 0; position: sticky; top: calc(var(--header-h) + var(--s-7)); }
.td-cases__lead > * + * { margin-top: var(--s-4); }
.td-cases__lead > .eyebrow { margin-bottom: 0; }
.td-cases__lead > h2 { text-wrap: balance; }
.td-cases__lead .lead { max-width: none; color: var(--c-text); }
.td-cases__lead .btn-row { margin-top: var(--s-6); }
.td-cases__icon { width: 4rem; height: 4rem; border-radius: 50%; }
.td-cases__icon .i { width: 2rem; height: 2rem; }
.td-cases__stack { display: grid; gap: var(--s-9); min-width: 0; padding-top: var(--s-4); }
.td-case { padding: var(--s-8) var(--s-6) var(--s-6); }
.td-case .card__title { font-size: var(--fs-h3); }
@media (max-width: 960px) {
	.td-cases__grid { grid-template-columns: 1fr; }
	.td-cases__lead { position: relative; top: auto; }
	.td-cases__lead .btn { width: 100%; }
}

/* 06 steps: gable photo beside the intro, four steps below */
.td-steps__top { align-items: center; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.td-steps .lead { color: var(--c-text); max-width: none; }
.td-steps .step { height: 100%; }
.td-steps .steps { align-items: stretch; }

/* 07 Käuferschutz band */
.td-ks .ks-band { margin-top: var(--s-2); }

/* 08 FAQ */
.td-faq .faq-layout__aside .muted a { font-weight: 600; }
@media (max-width: 960px) {
	.td-faq .faq-layout__aside .btn { width: 100%; }
}
