/* impressum — page layout only (tokens from theme.css; no new colours, sizes or shadows) */

/* 2. Anbieter sheet: a dark identity card, light data cards, an arch photo */
.imp-sheet { display: grid; gap: var(--s-4); min-width: 0; }
.imp-label {
	font-family: var(--f-display); font-size: var(--fs-md); font-weight: 600; line-height: 1.2;
	letter-spacing: .06em; color: var(--c-eyebrow);
}
.imp-value { font-size: var(--fs-md); font-weight: 700; line-height: 1.35; color: var(--c-heading); }
.imp-note { font-size: var(--fs-sm); color: var(--c-text-muted); }

.imp-id { display: grid; gap: var(--s-3); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.imp-id > * + *, .imp-id__rep > * + * { margin-top: 0; }
.imp-id__address {
	font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-xl); line-height: 1.15;
	letter-spacing: .005em; color: var(--c-heading);
}
.imp-id__note { max-width: 40ch; color: var(--c-text-muted); }
.imp-id__rep { display: grid; gap: var(--s-1); margin-top: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--c-card-line); }

.imp-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.imp-grid .card { display: grid; align-content: start; gap: var(--s-3); }
.imp-grid .card > * + * { margin-top: 0; }
.imp-kontakt { grid-column: 1 / -1; }

.imp-dl { display: grid; gap: var(--s-3) var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 0; }
.imp-dl--stack { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.imp-dl dt { font-size: var(--fs-sm); line-height: 1.3; color: var(--c-text-muted); }
.imp-dl dd { margin: .15rem 0 0; font-weight: 700; line-height: 1.4; color: var(--c-heading); overflow-wrap: anywhere; }
.imp-dl dd a { font-weight: 700; }
.imp-dl dd .btn { font-weight: 700; }

.imp-photo { width: 100%; max-width: 26rem; justify-self: center; }
@media (min-width: 56em) {
	.imp-photo { max-width: none; }
}
@media (max-width: 35.99em) {
	.imp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 3. Two notices side by side (stacked on phones) */
.imp-pflicht__grid { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 56em) {
	.imp-pflicht__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.imp-pflicht .notice__title { font-family: var(--f-body); letter-spacing: 0; }
.imp-pflicht .notice__title, .imp-pflicht .notice__text { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 29.99em) {
	.imp-pflicht .notice { grid-template-columns: minmax(0, 1fr); }
	.imp-pflicht .notice__icon { grid-row: auto; }
}
.imp-notice-address { font-style: normal; }

/* 4. Article: legal prose with a quieter heading scale */
.imp-haftung .prose h2 { font-size: var(--fs-lg); }
.imp-haftung .prose h2:first-child { margin-top: 0; }

/* 5. Bildnachweise: the engine's credit list in two columns on wide screens */
.imp-credits { max-width: none; }
.imp-credits .image-credits__list { display: block; }
.imp-credits .image-credits__list li { break-inside: avoid; }
.imp-credits .image-credits__list li + li { margin-top: var(--s-3); }
@media (min-width: 56em) {
	.imp-credits .image-credits__list { columns: 2; column-gap: var(--s-8); }
}
.imp-credits a { overflow-wrap: anywhere; }
