/* ==========================================================================
   Legal pages (Impressum, Datenschutz)
   Simple content pages sharing the site's header/footer look, without the
   scroll-animated blocks of the landing page.
   ========================================================================== */

.legal-header {
	padding: 3.2rem 0;
	background-color: var(--color-header-1);
}

.legal-header-inner {
	grid-column: 1 / 13;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.legal-header-logo img {
	width: 5rem;
	height: auto;
	transition: transform var(--transition-base);
}

.legal-header-logo:hover img {
	transform: translateY(-0.2rem);
}

/* Same 25px/1920 ratio used site-wide for nav-link-sized text (hero's
   "kontakt.", footer's fon./mail.). */
.legal-header-back {
	font-weight: var(--font-weight-bold);
	font-size: clamp(1.4rem, 1.3vw, 2.5rem);
	line-height: 1.4;
	transition: opacity var(--transition-base);
}

.legal-header-back:hover {
	opacity: 0.7;
}

.legal-main {
	padding: 6.4rem 0 9.6rem;
}

.legal-content {
	grid-column: 1 / 13;
}

/* Same 62px/68px heading scale as the other blocks' h2's (this page's
   h1 is the biggest heading here, so it gets that size). */
.legal-content h1 {
	font-size: clamp(3rem, 3.23vw, 6.2rem);
	line-height: 1.1;
}

/* Same 35px/47px scale as the site's sub-headings. */
.legal-content h2 {
	margin-top: 4.8rem;
	font-size: clamp(1.8rem, 1.82vw, 3.5rem);
	line-height: 1.34;
}

.legal-content h2:first-of-type {
	margin-top: 3.2rem;
}

/* Same 25px/35px body-text scale used throughout the site. */
.legal-content p,
.legal-content li {
	margin-top: 1.2rem;
	font-size: clamp(1.4rem, 1.3vw, 2.5rem);
	line-height: 1.4;
}

.legal-content ul {
	margin-top: 1.2rem;
}

.legal-content a {
	text-decoration: underline;
	transition: color var(--transition-base);
}

.legal-content a:hover {
	color: var(--color-accent);
}

@media (min-width: 48em) {
	.legal-content {
		grid-column: 1 / 9;
	}
}