/* MARCH PUMPEN – Erfahrungsberichte (Archiv und Einzelbericht)
   Idee: Datenblatt. Kerndaten stehen vorn, der Artikel liegt als heller Bogen auf dem dunklen Grund. */

:root {
	--report-radius: .5rem;
	--report-plate: #fff;
	--report-rule: #cdd8e2;
}

.report-head__title,
.reports-hero__title,
.report-row__title,
.report-more__title,
.report-cta__title,
.report-facts__title,
.report-body h2,
.report-body h3 {
	font-family: var(--font-display);
	font-weight: 700;
	text-wrap: balance;
}

/* ------------------------------------------------------------------
   Archiv: Kopf
   ------------------------------------------------------------------ */
.reports-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(20rem, 36vw, 30rem);
	padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 4vw, 3.5rem);
	overflow: hidden;
}

/* Bild hinter dem Text, links abgedunkelt für die Lesbarkeit, unten weich ins Dunkel */
.reports-hero__media { position: absolute; inset: 0; z-index: -1; }
.reports-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
}
.reports-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 15, 26, .94) 0%, rgba(5, 15, 26, .78) 45%, rgba(5, 15, 26, .2) 100%),
		linear-gradient(0deg, var(--color-bg) 0%, rgba(5, 15, 26, 0) 40%),
		rgba(5, 15, 26, .18);
}

.reports-hero__inner { position: relative; }

.reports-hero__title {
	margin: 0 0 1.25rem;
	text-shadow: 0 2px 30px rgba(5, 15, 26, .6);
	font-size: clamp(2.75rem, 7vw, 5.5rem);
	line-height: .95;
	letter-spacing: -.015em;
}
.reports-hero__lead {
	max-width: 44rem;
	color: var(--color-text-muted);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.55;
}
.reports-hero__lead p { margin: 0; }

/* Einstieg: Bild setzt sich in 2,4 s von leicht vergrößert auf Normalgröße, Titel steigt aus einer Maske auf, Text blendet nach.
   Bewusst kein endloses Langsam-Zoomen: Das ruckelt ohne Grafikbeschleunigung Pixel für Pixel. */
@media (prefers-reduced-motion: no-preference) {
	.reports-hero__media img {
		animation: reports-settle 2.4s cubic-bezier(.16, 1, .3, 1) both;
		will-change: transform;
		transform-origin: 60% 50%;
	}

	.reports-hero__title {
		overflow: hidden;
		padding-bottom: .08em;
		margin-bottom: calc(1.25rem - .08em);
	}
	.reports-hero__title > span {
		display: block;
		animation: reports-rise 1s var(--ease) .1s both;
	}

	.reports-hero__lead { animation: reports-fade .9s ease .55s both; }
}

@keyframes reports-settle {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}
@keyframes reports-rise {
	from { transform: translateY(105%); }
	to { transform: none; }
}
@keyframes reports-fade {
	from { opacity: 0; transform: translateY(.75rem); }
	to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   Zeile in der Übersicht
   ------------------------------------------------------------------ */
.reports-list { padding-bottom: clamp(3rem, 6vw, 5rem); }

.report-row { border-top: 1px solid var(--color-line); }
.report-row:last-of-type { border-bottom: 1px solid var(--color-line); }

.report-row__link {
	display: grid;
	grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) minmax(0, 15rem);
	gap: 1.5rem clamp(1.5rem, 3.5vw, 3.5rem);
	align-items: center;
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	text-decoration: none;
}

.report-row__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--report-radius);
	background: var(--report-plate);
}
.report-row__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .6s var(--ease);
}
.report-row__link:hover .report-row__img,
.report-row__link:focus-visible .report-row__img { transform: scale(1.04); }

.report-row__tags {
	margin: 0 0 .5rem;
	color: var(--color-cyan);
	font-size: .95rem;
	font-weight: 600;
}
.report-row__title {
	margin: 0 0 .75rem;
	font-size: clamp(1.6rem, 2.6vw, 2.35rem);
	line-height: 1.05;
	letter-spacing: -.005em;
	transition: color .2s;
}
.report-row__link:hover .report-row__title,
.report-row__link:focus-visible .report-row__title { color: var(--color-cyan); }

.report-row__excerpt {
	max-width: 38rem;
	margin: 0 0 1rem;
	color: var(--color-text-muted);
	line-height: 1.55;
}
.report-row__more {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
}
.report-row__more .icon { color: var(--color-cyan); transition: transform .3s var(--ease); }
.report-row__link:hover .report-row__more .icon { transform: translateX(.4rem); }

/* Kerndaten-Spalte */
.report-row__facts {
	margin: 0;
	padding-left: clamp(1rem, 2vw, 1.75rem);
	border-left: 1px solid var(--color-line);
}
.report-row__facts > div { padding-block: .6rem; }
.report-row__facts > div + div { border-top: 1px solid var(--color-line); }
.report-row__facts dt {
	color: var(--color-text-muted);
	font-size: .875rem;
}
.report-row__facts dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

@media (width < 64rem) {
	.report-row__link { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); }
	.report-row__facts {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
		gap: 0 1.5rem;
		padding: 0;
		border-left: 0;
	}
	.report-row__facts > div + div { border-top: 0; }
	.report-row__facts > div { border-top: 1px solid var(--color-line); }
}

@media (width < 40rem) {
	.report-row__link { grid-template-columns: 1fr; }
}

/* Seitennavigation */
.reports-list .navigation { padding-top: 2rem; }
.reports-list .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1.25rem;
}
.reports-list .page-numbers { padding: .4rem .2rem; font-weight: 700; text-decoration: none; }
.reports-list .page-numbers.current { color: var(--color-cyan); }
.reports-list .page-numbers:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ------------------------------------------------------------------
   Einzelbericht: Kopf
   ------------------------------------------------------------------ */
.report-head {
	padding-block: clamp(2rem, 5vw, 4rem) clamp(6rem, 10vw, 9rem);
}
.report-head__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 2.5rem clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.report-head__crumb { margin: 0 0 1.25rem; font-weight: 600; }
.report-head__crumb a {
	color: var(--color-cyan);
	text-decoration: none;
}
.report-head__crumb a:hover { text-decoration: underline; text-underline-offset: .2em; }

.report-head__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.2rem, 4.6vw, 4.1rem);
	line-height: 1;
	letter-spacing: -.01em;
}
.report-head__subtitle {
	max-width: 36rem;
	margin: 0 0 1.5rem;
	color: var(--color-text-muted);
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.5;
}

.report-head__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.report-head__tags a {
	display: inline-block;
	padding: .3rem .9rem;
	border: 1px solid var(--color-line);
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.report-head__tags a:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

.report-head__figure { margin: 0; }
.report-head__plate {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--report-radius);
	background: var(--report-plate);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.report-head__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.report-head__figure figcaption {
	margin-top: .75rem;
	color: var(--color-text-muted);
	font-size: .9rem;
	line-height: 1.4;
}

@media (width < 56rem) {
	.report-head__inner { grid-template-columns: 1fr; }
	.report-head__figure { order: -1; }
	.report-head__crumb { margin-top: .5rem; }
}

/* ------------------------------------------------------------------
   Einzelbericht: Bogen mit Datenblatt und Artikel
   ------------------------------------------------------------------ */
.report-sheet {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem clamp(2rem, 5vw, 5rem);
	margin-top: calc(-1 * clamp(3.5rem, 7vw, 6rem));
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-radius: var(--report-radius);
	background: var(--color-paper);
	color: var(--color-ink);
	box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}
.report-sheet:has(.report-facts) { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
.report-sheet :focus-visible { outline-color: var(--color-blue-dark); }

/* Datenblatt-Spalte */
.report-facts {
	align-self: start;
	position: sticky;
	top: 7rem;
	padding-top: 1rem;
	border-top: 4px solid var(--color-blue-dark);
}
.admin-bar .report-facts { top: 9.5rem; }

.report-facts__title {
	margin: 0 0 .5rem;
	font-size: 1.4rem;
	line-height: 1.2;
}
.report-facts__list { margin: 0; }
.report-facts__list > div {
	padding-block: .8rem;
	border-top: 1px solid var(--report-rule);
}
.report-facts__list dt {
	color: var(--color-ink-soft);
	font-size: .9rem;
}
.report-facts__list dd {
	margin: .1rem 0 0;
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

@media (width < 64rem) {
	.report-sheet:has(.report-facts) { grid-template-columns: minmax(0, 1fr); }
	.report-facts { position: static; }
	.report-facts__list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
		gap: 0 1.5rem;
	}
}

/* Artikel */
.report-body {
	max-width: 46rem;
	font-size: 1.125rem;
	line-height: 1.75;
}
.report-body > :first-child { margin-top: 0; }

.report-body p { margin: 0 0 1.15rem; }
.report-body > p:first-of-type {
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.6;
}

.report-body h2 {
	margin: 3rem 0 1rem;
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	line-height: 1.1;
}
.report-body h3 {
	margin: 2rem 0 .6rem;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.2;
}

.report-body a {
	color: var(--color-blue-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
.report-body a:hover { color: var(--color-ink); }

.report-body ul {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}
.report-body li {
	position: relative;
	padding: .15rem 0 .15rem 1.5rem;
}
.report-body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .95em;
	width: .5rem;
	height: .5rem;
	background: var(--color-blue-dark);
}

/* Reaktionsgleichung */
.report-body .reaction {
	margin: 1.5rem 0;
	padding: .9rem 1.25rem;
	border-left: 4px solid var(--color-blue-dark);
	background: #e4ecf3;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Tabellen: Prozessdaten und Werkstoffe (zweispaltig), Datentabellen (mehrspaltig, scrollbar) */
.report-body table {
	width: 100%;
	margin: 0 0 1.75rem;
	border-collapse: collapse;
	font-size: 1.05rem;
	line-height: 1.4;
}
.report-body caption {
	padding-bottom: .6rem;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 600;
	text-align: left;
}
.report-body th,
.report-body td {
	padding: .65rem .5rem .65rem 0;
	border-top: 1px solid var(--report-rule);
	text-align: left;
	vertical-align: top;
}
.report-body tr:last-child > * { border-bottom: 1px solid var(--report-rule); }
.report-body th {
	width: 38%;
	color: var(--color-ink-soft);
	font-weight: 500;
}
.report-body td { font-variant-numeric: tabular-nums; font-weight: 600; }

.report-body .table-scroll {
	margin: 0 0 1.75rem;
	overflow-x: auto;
}
.report-body .table-scroll table { margin: 0; min-width: 34rem; }
.report-body .table-scroll:focus-visible { outline: 3px solid var(--color-blue-dark); outline-offset: 2px; }
.report-body table.data th { width: auto; }
.report-body table.data thead th {
	border-top: 0;
	border-bottom: 2px solid var(--color-ink);
	color: var(--color-ink);
	font-weight: 600;
}
.report-body table.data td,
.report-body table.data thead th:not(:first-child) { padding-right: .75rem; text-align: right; }

@media (width < 36rem) {
	.report-body table:not(.data) th,
	.report-body table:not(.data) td { display: block; width: auto; padding-block: .15rem; border-top: 0; }
	.report-body table:not(.data) tr { display: block; padding-block: .55rem; border-top: 1px solid var(--report-rule); }
	.report-body table:not(.data) tr:last-child > * { border-bottom: 0; }
}

.report-body figure { margin: 2rem 0; }
.report-body figure img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	border-radius: var(--report-radius);
	background: #fff;
}
.report-body figcaption {
	margin-top: .5rem;
	color: var(--color-ink-soft);
	font-size: .95rem;
}

/* ------------------------------------------------------------------
   Weitere Berichte und Abschluss-Band
   ------------------------------------------------------------------ */
.report-more { padding-top: clamp(3rem, 6vw, 5rem); }
.report-more__title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.05;
}

.report-cta {
	background: var(--color-bg-alt);
	border-top: 1px solid var(--color-line);
}
.report-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}
.report-cta__title {
	margin: 0 0 .5rem;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	line-height: 1.05;
}
.report-cta__text {
	max-width: 34rem;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 1.15rem;
}

/* Footer schließt direkt an das Band an */
.has-cta-band .site-footer { margin-top: 0; }
