/*
 * RST-Laserumbau (faserlaserumbau.de) — statische Ablösung des alten WordPress-Onepagers (21.10.2026).
 * Kein CMS, kein Framework: reines HTML/CSS + ein kleines Skript (assets/js/site.js).
 * Look wie das alte The7-Theme: Rot #e13d3a, dunkles Grau, Roboto für Überschriften/Menü,
 * Open Sans für Text, Oswald nur für „LASER-UMBAU“. Schriften lokal (variable woff2, latin), keine
 * externen Dienste, keine Cookies.
 * Schriftgrößen je Schrift höchstens 3: Roboto 34/20/15 (mobil 28/20/15), Open Sans 20/16/14,
 * Oswald nur die Hero-Zeile.
 */

/* ── Schriften ─────────────────────────────────────────────────────────── */
@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/open-sans.woff2') format('woff2');
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/roboto.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Oswald';
	src: url('../fonts/oswald.woff2') format('woff2');
	font-weight: 200 700;
	font-style: normal;
	font-display: swap;
}

/* ── Grundwerte ────────────────────────────────────────────────────────── */
:root {
	--red: #e13d3a;
	--red-dark: #c4302d;
	--ink: #333539;          /* Überschriften (Theme: title-color) */
	--text: #676c73;         /* Fließtext, etwas dunkler als das Theme (#787d85) für bessere Lesbarkeit */
	--light: #f8f8f9;
	--dark: #333539;
	--darker: #18191b;       /* Theme: Footer */
	--line: #e6e7ea;
	--header-h: 80px;
	--wrap: 1140px;
	--font-text: 'Open Sans', Helvetica, Arial, sans-serif;
	--font-head: 'Roboto', Helvetica, Arial, sans-serif;
	--font-hero: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);   /* Anker landen unter dem festen Kopf */
	-webkit-text-size-adjust: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;   /* kurze Seiten: Fuß unten am Fenster */
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.7;
}

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

a {
	color: var(--red);
}

a:hover,
a:focus {
	color: var(--red-dark);
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0 0 0.6em;
	color: var(--ink);
	font-family: var(--font-head);
	line-height: 1.3;
}

h1,
h2 {
	font-size: 34px;
	font-weight: 500;
}

h3 {
	font-size: 20px;
	font-weight: 700;
}

p,
ul,
ol {
	margin: 0 0 1.1em;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
}

/* Symbol-Sammlung (Icons per <use>) unsichtbar halten */
.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 200;
	padding: 8px 14px;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 15px;
}

.skip-link:focus {
	top: 12px;
}

/* Abschnittsüberschrift mit rotem Strich darunter (wie im Theme) */
.section-title {
	text-align: center;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	margin: 14px auto 0;
	background: var(--red);
}

.section-title--left::after {
	margin-left: 0;
}

/* ── Knöpfe ────────────────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 22px;
	border: 2px solid var(--red);
	border-radius: 3px;
	background: var(--red);
	color: #fff;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus {
	border-color: var(--red-dark);
	background: var(--red-dark);
	color: #fff;
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus {
	border-color: #fff;
	background: #fff;
	color: var(--ink);
}

.btn--small {
	padding: 6px 14px;
}

.icon {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Kopf ──────────────────────────────────────────────────────────────── */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo img {
	width: auto;
	height: 44px;
	transition: filter 0.25s ease;
}

.site-nav ul {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	display: block;
	padding: 8px 12px;
	color: var(--ink);
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.site-nav a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
	transform: scaleX(1);
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle .icon {
	width: 26px;
	height: 26px;
}

/* Startseite: über dem Foto durchsichtig, Logo und Menü weiß — beim Scrollen wie auf den Unterseiten */
.home .site-header:not(.is-scrolled):not(.is-open) {
	background: transparent;
	box-shadow: none;
}

.home .site-header:not(.is-scrolled):not(.is-open) .site-logo img {
	filter: brightness(0) invert(1);
}

.home .site-header:not(.is-scrolled):not(.is-open) .site-nav a,
.home .site-header:not(.is-scrolled):not(.is-open) .nav-toggle {
	color: #fff;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 92vh;
	min-height: 92svh;
	padding: calc(var(--header-h) + 40px) 0 120px;
	overflow: hidden;
	background: var(--darker);
	color: #fff;
	clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 40%;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.2) 100%);
}

.hero .wrap {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero__title {
	margin: 0 0 24px;
	color: #fff;
	font-family: var(--font-hero);
	font-size: clamp(64px, 11vw, 128px);
	font-weight: 300;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.hero__title strong {
	display: block;
	font-weight: 700;
}

.hero__title .dash {
	color: var(--red);
}

.hero__lead {
	max-width: 560px;
	margin-bottom: 28px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 20px;
	line-height: 1.5;
}

.hero__call {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.92);
}

/* ── Unser Angebot ─────────────────────────────────────────────────────── */
.section {
	padding: 90px 0;
}

.offer__intro {
	max-width: 680px;
	margin: 28px auto 56px;
	text-align: center;
}

.offer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 72px;
	max-width: 860px;
	margin: 0 auto;
}

.offer__item p {
	margin-bottom: 16px;
}

/* ── Ihre Anfrage ──────────────────────────────────────────────────────── */
.request {
	padding: 130px 0;
	background: var(--dark);
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
}

.request h2 {
	color: #fff;
}

.request p {
	max-width: 620px;
	margin: 0 auto 32px;
}

.request__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* ── Ihre Vorteile ─────────────────────────────────────────────────────── */
.advantages {
	background: #fff;
}

.check-list {
	margin: 40px auto 0;
	padding: 0;
	list-style: none;
}

.advantages .check-list {
	columns: 2 340px;
	column-gap: 56px;
	max-width: 960px;
}

.check-list li {
	position: relative;
	margin: 0 0 14px;
	padding-left: 32px;
	break-inside: avoid;
}

.check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolyline points='5.5 10.5 8.5 13.5 14.5 7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

/* ── Kontakt ───────────────────────────────────────────────────────────── */
.contact {
	padding: 90px 0;
	background: var(--darker) linear-gradient(160deg, #2a2c30 0%, var(--darker) 70%);
	color: rgba(255, 255, 255, 0.85);
}

.contact__box {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding: 48px 40px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	outline: 1px solid rgba(255, 255, 255, 0.12);
	outline-offset: 5px;
	text-align: center;
}

.contact__item h3 {
	margin-bottom: 8px;
	color: #fff;
	font-size: 15px;   /* Roboto-Stufe des Menüs */
	font-weight: 700;
}

.contact__item p {
	margin: 0;
}

.contact__item a {
	color: #fff;
	text-decoration: none;
}

.contact__item a:hover,
.contact__item a:focus {
	color: var(--red);
}

.contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
}

.contact__icon .icon {
	width: 20px;
	height: 20px;
}

/* ── Fuß ───────────────────────────────────────────────────────────────── */
.site-footer {
	padding: 22px 0;
	background: var(--darker);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 28px;
}

.site-footer p {
	margin: 0;
}

.site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #fff;
}

.site-footer .icon {
	width: 14px;
	height: 14px;
}

.to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.15s ease;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.to-top:hover,
.to-top:focus {
	background: var(--red);
	color: #fff;
}

/* ── Unterseiten ───────────────────────────────────────────────────────── */
.page-head {
	padding: calc(var(--header-h) + 56px) 0 48px;
	background: var(--light);
	border-bottom: 1px solid var(--line);
}

.page-head h1 {
	margin: 0;
}

.page-head h1::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	margin-top: 14px;
	background: var(--red);
}

.page-body {
	padding: 56px 0 80px;
}

.page-body .wrap {
	max-width: 940px;
}

.page-body h2 {
	margin-top: 1.4em;
}

.page-body .check-list {
	margin: 0 0 32px;
}

.page-intro {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin-bottom: 8px;
}

.page-intro img {
	display: block;
	width: 100%;
	border-radius: 3px;
}

.page-cta {
	margin-top: 36px;
}

main {
	flex: 1 0 auto;
}

/* Abschnitte der Rechtstexte in der 20-px-Stufe (Roboto), nicht als große Überschrift */
.legal h2 {
	margin-top: 1.6em;
	font-size: 20px;
	font-weight: 700;
}

.legal p,
.legal li {
	overflow-wrap: anywhere;   /* lange Links in Rechtstexten */
}

/* 404 */
.not-found {
	min-height: 60vh;
}

/* ── Schmale Bildschirme ───────────────────────────────────────────────── */
@media (max-width: 900px) {
	:root {
		--header-h: 64px;
	}

	h1,
	h2 {
		font-size: 28px;
	}

	.site-logo img {
		height: 36px;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.site-nav {
		position: absolute;
		inset: var(--header-h) 0 auto;
		display: none;
		padding: 8px 0 16px;
		background: #fff;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
	}

	.site-header.is-open .site-nav {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		gap: 0;
	}

	.site-nav a {
		padding: 12px 20px;
	}

	.site-nav a::after {
		left: 20px;
		right: auto;
		width: 40px;
	}

	.section,
	.contact {
		padding: 64px 0;
	}

	.request {
		padding: 100px 0;
	}

	.offer__grid,
	.contact__box,
	.page-intro {
		grid-template-columns: minmax(0, 1fr);
	}

	.offer__grid {
		gap: 36px;
	}

	.contact__box {
		padding: 36px 20px;
	}

	.page-intro img {
		max-width: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}
