/* ==========================================================
   Beckmann Sicht & Sonnenschutz → STREIT Lemgo
   Weiterleitungsseite (sichtundsonnenschutz.info)
   ========================================================== */

@font-face {
	font-family: 'ProximaNova';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/ProximaNova-Regular.woff2') format('woff2'),
	     url('assets/fonts/ProximaNova-Regular.woff') format('woff');
}
@font-face {
	font-family: 'ProximaNova';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/ProximaNova-Bold.woff2') format('woff2'),
	     url('assets/fonts/ProximaNova-Bold.woff') format('woff');
}

:root {
	--primary: #1a4e76;
	--darkblue: #3e5a75;
	--darkbluehover: #243443;
	--black: #262626;
	--white: #ffffff;
	--lightgrey: #f5f5f5;
	--container: 1200px;
	--gutter: 1.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'ProximaNova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--black);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

p {
	margin: 0 0 1.25rem;
}
p:last-child {
	margin-bottom: 0;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* Buttons */

.btn {
	display: inline-block;
	padding: .85rem 1.6rem;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-outline {
	color: var(--white);
	border-color: var(--white);
	background: transparent;
}
.btn-outline:hover,
.btn-outline:focus-visible {
	color: var(--darkblue);
	background: var(--white);
}

.btn-solid {
	color: var(--white);
	border-color: var(--darkblue);
	background: var(--darkblue);
}
.btn-solid:hover,
.btn-solid:focus-visible {
	border-color: var(--darkbluehover);
	background: var(--darkbluehover);
}

/* Header */

.header {
	background: var(--white);
	padding: 1.25rem 0;
}

.header-logo {
	display: inline-block;
}
.header-logo img {
	width: 150px;
}

/* Hero */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	padding: 3rem 0;
	color: var(--white);
	background: var(--darkblue);
	/* Desktop: Bild wird komplett angezeigt (16:9); wird der Inhalt höher, wächst die Fläche mit */
	aspect-ratio: 16 / 9;
}

.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* leichter Verlauf links, damit der Text auch dort lesbar bleibt, wo der im Bild eingebaute Verlauf endet */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(38, 52, 68, .55) 0%, rgba(38, 52, 68, .35) 30%, rgba(38, 52, 68, 0) 55%);
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-content > * {
	max-width: 28rem;
}

.hero-brand {
	display: block;
	margin-bottom: 2.5rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
}
.hero-brand img {
	width: 240px;
}

.hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.hero-divider {
	display: block;
	width: 3rem;
	height: 3px;
	margin-bottom: 2.5rem;
	background: var(--white);
}

.hero-text {
	font-size: 1.25rem;
	line-height: 1.45;
}
.hero-text + .hero-text {
	margin-top: 1.5rem;
}

.hero .btn {
	margin-top: 2.5rem;
}

/* Marken */

.brands {
	padding: 4rem 0 5rem;
	color: var(--white);
	background: var(--darkblue);
}

.brands-title {
	margin: 0 0 3rem;
	text-align: center;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
.brands-title-small {
	display: block;
	font-size: .7em;
	margin-bottom: .2em;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.brand-card {
	display: flex;
	flex-direction: column;
	padding: 2rem 2rem 2.5rem;
	color: var(--primary);
	background: var(--white);
	border-radius: 20px;
	font-size: 1rem;
	line-height: 1.7;
}

.brand-card-logo {
	align-self: flex-start;
	height: 2.25rem;
	width: auto;
	margin-bottom: 1.5rem;
	object-fit: contain;
	object-position: left center;
}
.brand-card-logo-beckmann {
	height: 1.5rem;
	margin-top: .35rem;
	margin-bottom: 1.9rem;
}

/* FAQ – Akkordeon (Optik wie core/accordion auf streit-lemgo.de) */

.faq {
	padding: 4rem 0 1rem;
	color: var(--black);
}

.faq .container {
	max-width: calc(44rem + 2 * var(--gutter));
}

.faq-title {
	margin: 0 0 1.5rem;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.3;
}

.accordion-item {
	border-top: 1px solid #c7c6c6;
}

.accordion-heading {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 400;
}

.accordion-toggle {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: .45rem 0;
	margin: 0;
	border: 0;
	background: none;
	font: inherit;
	line-height: 1.2;
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: all ease .3s;
}

.accordion-toggle-title {
	flex: 1 1 auto;
	padding-top: 5px;
}

.accordion-toggle-icon {
	flex: 0 0 auto;
	width: 1.6rem;
	text-align: center;
	color: var(--black);
	transition: transform .2s ease-in-out;
}

.accordion-item.is-open .accordion-toggle-icon {
	transform: rotate(45deg);
}

.accordion-panel > p {
	margin: 1.5rem 0 2rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--black);
}

/* CTA */

.cta {
	padding: 4rem 0 5rem;
	text-align: center;
	color: var(--primary);
}

.cta-title {
	margin: 0 0 1rem;
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.cta-text {
	max-width: 44rem;
	margin: 0 auto 2.25rem;
	font-size: 1.25rem;
	line-height: 1.6;
}

/* Standorte */

.locations {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 30rem;
	margin: 3.5rem auto 0;
	text-align: left;
}

address,
.location {
	font-style: normal;
}

.location {
	padding: 1.5rem 1.75rem;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--black);
	background: var(--lightgrey);
	border-radius: 20px;
}

.location-label {
	display: block;
	margin-bottom: .5rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--primary);
}

.location a {
	text-decoration: none;
}
.location a:hover {
	text-decoration: underline;
}

/* Footer */

.footer {
	padding: 1.5rem 0;
	background: var(--lightgrey);
	font-size: .875rem;
	text-align: center;
	color: #595b60;
}
.footer a {
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (min-width: 1200px) {
	.hero-content > * {
		max-width: 30rem;
	}
	.hero-text {
		font-size: 1.35rem;
	}
}

@media (max-width: 991px) {
	.brands-grid {
		grid-template-columns: 1fr;
		max-width: 36rem;
		margin: 0 auto;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 1.0625rem;
	}

	.header {
		padding: 1rem 0;
	}

	/* Mobile: Bild wird beschnitten, Höhe ergibt sich aus dem Inhalt */
	.hero {
		aspect-ratio: auto;
		padding: 3rem 0 3.5rem;
	}

	.hero-image {
		object-position: 18% 50%;
	}

	/* stärkere Abdunklung, da der eingebaute Verlauf im Beschnitt liegt */
	.hero::before {
		background: linear-gradient(180deg, rgba(38, 52, 68, .7) 0%, rgba(38, 52, 68, .45) 60%, rgba(38, 52, 68, .35) 100%);
	}

	.hero-brand {
		margin-bottom: 2rem;
	}
	.hero-brand img {
		width: 200px;
	}

	.hero-divider {
		margin-bottom: 2rem;
	}

	.hero-text {
		font-size: 1.125rem;
	}

	.hero .btn {
		margin-top: 2rem;
	}

	.brands,
	.cta {
		padding: 3rem 0 3.5rem;
	}

	.faq {
		padding: 3rem 0 .5rem;
	}

	.locations {
		margin-top: 2.5rem;
	}

	.brands-title {
		margin-bottom: 2rem;
	}

	.brand-card {
		padding: 1.75rem 1.5rem 2rem;
	}

	.cta-text {
		font-size: 1.125rem;
	}
}
