/* einbruchschaden — page layout only. Tokens and bricks come from theme.css; nothing here defines a colour, a font size or a radius of its own. */

/* 1 · hero */
.ed-hero .hero__lead { max-width: 46ch; }

/* 2 · the emergency notice: sits right under the hero, a little narrower than the page */
.ed-stop .notice { box-shadow: var(--sh-md); }
.ed-stop .notice__actions .btn { min-width: 9rem; }

/* 3 · Reihenfolge: timeline left, the "do not touch" aside stays in view beside it */
.ed-order__grid { align-items: start; }
.ed-order__aside { align-self: start; }
.ed-order__aside .icon-list { gap: var(--s-3); }
.ed-order__aside .icon-list__title { font-weight: 600; color: var(--c-text); }
.ed-order__photo-hint {
	display: flex; align-items: flex-start; gap: var(--s-3); padding-top: var(--s-3);
	border-top: 1px dashed var(--c-card-line); font-size: var(--fs-sm); line-height: 1.5; color: var(--c-text-muted);
}
.ed-order__photo-hint .i { flex: none; margin-top: .15rem; color: var(--c-brand-sky); }
.ed-order .prose-source { margin-top: var(--s-5); max-width: 46rem; }
@media (min-width: 56em) {
	.ed-order__aside { position: sticky; top: calc(var(--header-real, var(--header-h)) + 1.5rem); }
}

/* 4 · Notverschluss: definition + photo on top, the two follow-ups as cards below */
.ed-nv__cards { margin-top: var(--s-7); gap: var(--s-5); }
.ed-nv__card { box-shadow: var(--sh-sm); }
.ed-nv__card > .cog-badge { margin-bottom: var(--s-1); }
.ed-nv__card p { overflow-wrap: break-word; hyphens: auto; }
.ed-nv .split { align-items: center; }

/* 5 · Schadensbilder: night band, 2 × 2 damage cards */
.ed-damage__grid { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.ed-damage__card { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); box-shadow: var(--sh-md); }
.ed-damage__card > * + * { margin-top: 0; }
.ed-damage__card p { overflow-wrap: break-word; hyphens: auto; }
.ed-damage__top { display: flex; align-items: center; gap: var(--s-3); }
@media (min-width: 48em) {
	.ed-damage__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 6 · Unterlagen: two columns of check cards, the long last one full width */
.ed-docs__list { gap: var(--s-4); }
.ed-docs__list .icon-list__item { min-width: 0; }
.ed-docs__list .icon-list__title, .ed-docs__list .icon-list__text { overflow-wrap: break-word; hyphens: auto; }
.ed-docs__note { display: flex; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-6); max-width: 64ch; color: var(--c-text-muted); }
.ed-docs__note .i { flex: none; margin-top: .25rem; color: var(--c-link); }
@media (min-width: 48em) {
	.ed-docs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-docs__list .icon-list__item:last-child { grid-column: 1 / -1; }
}

/* 7 · the call band: copy and call card side by side, the follow-up paragraph under the copy */
.ed-phone { overflow: clip; }
.ed-phone::after {
	content: ""; position: absolute; right: -5rem; bottom: -8rem; width: 22rem; height: 22rem; pointer-events: none;
	background: var(--c-night-950); opacity: .16; -webkit-mask: var(--mask-cog) center / contain no-repeat; mask: var(--mask-cog) center / contain no-repeat;
}
.ed-phone > .container { position: relative; z-index: 1; }
.ed-phone__grid {
	display: grid; gap: var(--s-6) var(--s-8); align-items: start;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "copy" "call" "after";
}
.ed-phone__copy { grid-area: copy; }
.ed-phone__copy > * + * { margin-top: var(--s-4); }
.ed-phone__copy .lead { max-width: 62ch; color: var(--c-on-night); }
.ed-phone__call { grid-area: call; display: grid; justify-items: center; gap: var(--s-4); text-align: center; box-shadow: var(--sh-lg); }
.ed-phone__call > * + * { margin-top: 0; }
.ed-phone__note { font-size: var(--fs-sm); color: var(--c-on-night); }
.ed-phone__after { grid-area: after; max-width: 62ch; color: var(--c-on-brand-soft); }
.ed-phone__after a { color: var(--c-white); font-weight: 600; }
@media (min-width: 64em) {
	.ed-phone__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); grid-template-rows: auto 1fr;
		grid-template-areas: "copy call" "after call";
	}
	.ed-phone__call { align-self: center; }
}
