/*
 * Imprint page — a dark hero, a light band with the labelled legal details
 * beside the contact details, and the closing call-to-action band.
 *
 * Mobile-first: every block is a single column and only gains a side-by-side
 * layout at a breakpoint, so nothing can scroll sideways at 320px. Every
 * colour, size, radius, shadow and transition comes from the design tokens in
 * assets/css/design-tokens.css (mirrored in style.css) — no literal values and
 * no second palette. The button is the shared .btn / .btn--primary.
 */

/* ==========================================================================
   Hero — dark band, alternating with the light details band below
   ========================================================================== */

.imprint-hero {
	background: var(--color-surface-dark);
	color: var(--color-text-invert);
}

.imprint-hero__inner {
	padding-block: clamp(var(--space-12), 9vw, var(--space-20));
}

/*
 * Breadcrumbs on a dark hero use the shared .breadcrumbs--invert rules in
 * style.css — more than one page has a dark hero, so they are not repeated
 * here.
 */

.imprint-hero__eyebrow {
	margin: 0 0 var(--space-3);
	font-family: var(--font-heading);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--letter-wide);
	text-transform: uppercase;
	color: var(--color-accent-300);
}

.imprint-hero__title {
	margin: 0 0 var(--space-5);
	max-width: 24ch;
	font-size: clamp(var(--text-2xl), 6vw, var(--text-4xl));
	color: var(--color-neutral-50);
}

.imprint-hero__lead {
	max-width: 58ch;
	margin: 0;
	font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
	color: var(--color-neutral-100);
}

/* ==========================================================================
   The details band: legal details, with the contact card beside them
   ========================================================================== */

.imprint-details {
	background: var(--color-bg);
	color: var(--color-text);
}

.imprint-details__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-10);
}

/*
 * The section head itself is the shared .section__eyebrow / .section__title
 * component from style.css. Only the extra room this page's list needs below
 * the heading is page-scoped here.
 */
.imprint-details .section__title {
	max-width: 28ch;
	margin-bottom: var(--space-6);
}

/* The labelled list itself: a stack of label/value rows on a card. */
.imprint-list {
	margin: 0;
	padding: var(--space-2) 0 0;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.imprint-list__row {
	padding: var(--space-4) var(--space-5);
	border-bottom: 1px solid var(--color-border);
}

.imprint-list__row:last-child {
	border-bottom: 0;
}

.imprint-list__label {
	margin: 0 0 var(--space-1);
	font-family: var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: var(--letter-wide);
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.imprint-list__value {
	margin: 0;
	max-width: var(--measure);
	font-size: var(--text-base);
	font-weight: 500;
	color: var(--color-text);
	overflow-wrap: break-word;
}

.imprint-list__link {
	color: var(--color-link);
	text-decoration: underline;
}

.imprint-list__link:hover,
.imprint-list__link:focus {
	color: var(--color-link-hover);
}

/* Editor-only reminder of the details still to confirm. */
.imprint-pending {
	margin-top: var(--space-6);
	padding: var(--space-5);
	background: var(--color-primary-50);
	border: 1px dashed var(--color-primary-300);
	border-radius: var(--radius-md);
}

.imprint-pending__title {
	margin: 0 0 var(--space-2);
	font-size: var(--text-base);
	color: var(--color-primary-800);
}

.imprint-pending__text {
	margin: 0 0 var(--space-3);
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

.imprint-pending__list {
	margin: 0;
	padding-left: var(--space-5);
	font-size: var(--text-sm);
	color: var(--color-text);
}

/* The contact column. */
.imprint-contact__title {
	margin: 0 0 var(--space-4);
	font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
}

.imprint-contact__note {
	margin: var(--space-4) 0 0;
	max-width: 42ch;
	font-size: var(--text-sm);
	color: var(--color-text-muted);
}

@media (min-width: 900px) {
	.imprint-details__inner {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		gap: var(--space-12);
		align-items: start;
	}
}

/* ==========================================================================
   Owner-written body copy, shown only when the page has content
   ========================================================================== */

.imprint-body {
	background: var(--color-surface);
	color: var(--color-text);
	border-top: 1px solid var(--color-border);
}

.imprint-body__inner {
	padding-block: clamp(var(--space-10), 7vw, var(--space-16));
}

.imprint-body__inner h2,
.imprint-body__inner h3 {
	max-width: 30ch;
	font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
}

.imprint-body__inner p,
.imprint-body__inner li {
	max-width: var(--measure);
	font-size: var(--text-base);
	color: var(--color-text-muted);
}

/* ==========================================================================
   Closing call to action
   ========================================================================== */

.imprint-cta {
	background: var(--color-primary-900);
	color: var(--color-text-invert);
}

.imprint-cta__inner {
	padding-block: var(--space-section);
}

.imprint-cta__title {
	margin: 0 0 var(--space-4);
	max-width: 28ch;
	font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
	color: var(--color-neutral-50);
}

.imprint-cta__text {
	max-width: 56ch;
	margin: 0 0 var(--space-8);
	font-size: var(--text-lg);
	color: var(--color-neutral-100);
}

.imprint-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin: 0;
	max-width: none;
}

@media (min-width: 768px) {
	.imprint-cta__inner {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		grid-template-areas:
			"title actions"
			"text  actions";
		column-gap: var(--space-12);
		align-items: start;
	}

	.imprint-cta__title {
		grid-area: title;
	}

	.imprint-cta__text {
		grid-area: text;
		margin-bottom: 0;
	}

	.imprint-cta__actions {
		grid-area: actions;
		justify-content: flex-end;
	}
}
