/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/oswald-500.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/roboto-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/roboto-mono-500.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
	--pf-bg: #16171A;
	--pf-bg-alt: #1D1F22;
	--pf-surface: #24262A;
	--pf-border: #34363A;
	--pf-text: #F2F1EC;
	--pf-text-muted: #9A9D9F;
	--pf-sheen: #D0D0D0;
	--pf-accent: #F2F2F2;
	--pf-accent-dark: #D0D0D0;

	--pf-font-display: 'Oswald', 'Arial Narrow', sans-serif;
	--pf-font-body: 'Inter', 'Segoe UI', sans-serif;
	--pf-font-mono: 'Roboto Mono', 'Courier New', monospace;

	--pf-container: 1140px;
	--pf-radius: 4px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pf-bg);
	color: var(--pf-text);
	font-family: var(--pf-font-body);
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.pf-container { max-width: var(--pf-container); margin: 0 auto; padding: 0 24px; }
.pf-container--narrow { max-width: 760px; }

/* ---------- Header ---------- */
.pf-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: rgba(22, 23, 26, 0.85);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--pf-border);
}
.pf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
}
.pf-logo { display: flex; align-items: center; }
.pf-logo .custom-logo-link { display: flex; align-items: center; }
.pf-logo img,
.custom-logo { height: 54px; width: auto; max-width: none; max-height: none; display: block; }
.pf-logo__text {
	font-family: var(--pf-font-display);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0.02em;
}
.pf-nav { display: flex; gap: 28px; }
.pf-nav a { font-size: 14px; color: var(--pf-text-muted); transition: color 0.2s; }
.pf-nav a:hover { color: var(--pf-text); }
.pf-nav .pf-nav__cta { display: none; } /* nur im aufgeklappten Handy-Menü sichtbar */

.pf-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.pf-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--pf-text); margin: 4px 0; }

/* ---------- Buttons ---------- */
.pf-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: var(--pf-radius);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: background-color 0.2s, border-color 0.2s;
}
.pf-btn--accent { background: var(--pf-accent); color: #0B0B0D; }
.pf-btn--accent:hover { background: #FFFFFF; }
.pf-btn--ghost { border-color: rgba(242, 242, 242, 0.4); color: var(--pf-text); }
.pf-btn--ghost:hover { border-color: var(--pf-text); background: rgba(242, 242, 242, 0.08); }

/* ---------- Hero ---------- */
.pf-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.pf-hero__media { position: absolute; inset: 0; }
.pf-hero__media video,
.pf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero__placeholder { width: 100%; height: 100%; background: linear-gradient(160deg, #1D1F22, #0F1012); }
.pf-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15,16,18,0.2) 0%, rgba(15,16,18,0.9) 100%);
}
.pf-hero__sheen {
	position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.14) 50%, transparent 65%);
	background-size: 220% 220%;
	animation: pf-sheen-sweep 2.4s ease-out 0.3s 1;
}
@keyframes pf-sheen-sweep {
	from { background-position: 100% 0%; }
	to   { background-position: 0% 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.pf-hero__sheen { animation: none; }
	html { scroll-behavior: auto; }
}

.pf-hero__content { position: relative; padding-bottom: 96px; }
.pf-hero__title {
	font-family: var(--pf-font-display);
	font-weight: 600;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.05;
	margin: 0 0 20px;
	max-width: 14ch;
}
.pf-hero__sub { font-size: 17px; color: var(--pf-text-muted); max-width: 46ch; margin: 0 0 32px; }
.pf-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.pf-section { padding: 100px 0; }
section[id] { scroll-margin-top: 84px; }
.pf-section--alt { background: var(--pf-bg-alt); }
.pf-section__title {
	font-family: var(--pf-font-display);
	font-weight: 600;
	font-size: clamp(28px, 4vw, 40px);
	margin: 0 0 48px;
}

/* ---------- Grid & Cards ---------- */
.pf-grid { display: grid; gap: 24px; }
.pf-grid--3 { grid-template-columns: repeat(3, 1fr); }

.pf-card {
	background: var(--pf-surface);
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius);
	padding: 28px;
}
.pf-card__title { font-family: var(--pf-font-display); font-size: 19px; font-weight: 500; margin: 0 0 10px; }
.pf-card__text { color: var(--pf-text-muted); font-size: 14px; margin: 0 0 18px; }
.pf-card__spec {
	font-family: var(--pf-font-mono);
	font-size: 12px;
	color: var(--pf-sheen);
	border-top: 1px solid var(--pf-border);
	display: block;
	padding-top: 12px;
}

/* ---------- Vorher/Nachher ---------- */
.pf-compare-grid { display: flex; flex-direction: column; gap: 32px; }
.pf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pf-compare__side { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--pf-radius); background: var(--pf-surface); }
.pf-compare__side img { width: 100%; height: 100%; object-fit: cover; }
.pf-compare__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: var(--pf-text-muted); font-size: 13px; text-align: center; padding: 16px;
	border: 1px dashed var(--pf-border);
}
.pf-compare__label {
	position: absolute; bottom: 10px; left: 10px;
	font-family: var(--pf-font-mono); font-size: 11px; text-transform: uppercase;
	background: rgba(15,16,18,0.75); padding: 4px 8px; border-radius: 3px;
}

/* ---------- Ablauf / Steps ---------- */
.pf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pf-step__number {
	font-family: var(--pf-font-mono);
	font-size: 13px;
	color: var(--pf-accent);
	display: block;
	margin-bottom: 12px;
}
.pf-step__title { font-family: var(--pf-font-display); font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.pf-step__text { color: var(--pf-text-muted); font-size: 14px; margin: 0; }

/* ---------- Kontakt ---------- */
.pf-contact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.pf-contact__lead { font-size: 17px; color: var(--pf-text-muted); margin: 0 0 40px; max-width: 38ch; }
.pf-contact__list { margin: 0; display: grid; gap: 28px; }
.pf-contact__list dt {
	font-family: var(--pf-font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pf-text-muted);
	margin: 0 0 6px;
}
.pf-contact__list dd { margin: 0; font-size: 20px; line-height: 1.5; }
.pf-contact__list a { border-bottom: 1px solid var(--pf-border); transition: border-color 0.2s; }
.pf-contact__list a:hover { border-color: var(--pf-text); }

.pf-notice {
	background: var(--pf-surface);
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius);
	padding: 18px 20px;
	margin-bottom: 24px;
	font-size: 15px;
}
.pf-notice strong { display: block; margin-bottom: 4px; }
.pf-notice--error { border-color: var(--pf-text); }

.pf-form { display: grid; gap: 20px; }
.pf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pf-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pf-field { display: flex; flex-direction: column; gap: 8px; }
.pf-field label { font-size: 13px; color: var(--pf-text-muted); }
.pf-field input,
.pf-field select,
.pf-field textarea {
	width: 100%;
	background: var(--pf-bg);
	color: var(--pf-text);
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius);
	padding: 13px 14px;
	font-family: inherit;
	font-size: 15px;
	color-scheme: dark;
	transition: border-color 0.2s;
}
.pf-field textarea { resize: vertical; min-height: 130px; }
.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus { outline: none; border-color: var(--pf-text); }
.pf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--pf-text-muted); cursor: pointer; }
.pf-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--pf-accent); }
.pf-check a { text-decoration: underline; }
.pf-form .pf-btn { justify-self: start; cursor: pointer; font-family: inherit; }

/* ---------- Footer ---------- */
.pf-footer { background: #0F1012; }
.pf-footer a:hover { color: var(--pf-text); }

.pf-footer__legal {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	padding: 24px; font-size: 13px; color: var(--pf-text-muted);
}
.pf-footer__legal-links { display: flex; gap: 20px; }

/* ---------- Legal pages ---------- */
.pf-legal-page { padding-top: 160px; }
.pf-legal-page__content { color: var(--pf-text-muted); }
.pf-legal-page__content h2,
.pf-legal-page__content h3 { color: var(--pf-text); font-family: var(--pf-font-display); }
.pf-legal-page__content a { color: var(--pf-text); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.pf-header__inner { height: 72px; }
	.pf-logo img,
	.custom-logo { height: 44px; }
	.pf-header__inner > .pf-btn { margin-left: auto; margin-right: 8px; white-space: nowrap; padding: 10px 16px; font-size: 12px; }

	.pf-nav { display: none; }
	.pf-nav.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 72px; left: 0; right: 0;
		background: var(--pf-bg);
		border-bottom: 1px solid var(--pf-border);
		padding: 4px 24px 24px;
		gap: 0;
	}
	.pf-nav.is-open a {
		font-size: 17px;
		color: var(--pf-text);
		padding: 16px 0;
		border-bottom: 1px solid var(--pf-border);
	}
	.pf-nav.is-open .pf-nav__cta {
		margin-top: 24px;
		padding: 15px 26px;
		border-bottom: 0;
		text-align: center;
		font-size: 13px;
		color: #0B0B0D;
	}
	.pf-nav-toggle { display: block; }
	.pf-grid--3 { grid-template-columns: 1fr 1fr; }
	.pf-steps { grid-template-columns: 1fr 1fr; }
	.pf-contact { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
	/* Auf dem Handy sitzt der Termin-Button im aufgeklappten Menü und im Hero, nicht in der Kopfleiste */
	.pf-header__inner > .pf-btn { display: none; }
	.pf-nav.is-open .pf-nav__cta { display: block; }
	.pf-hero__actions .pf-btn { flex: 1 1 100%; text-align: center; }
	.pf-form__row { grid-template-columns: 1fr; }
	.pf-form .pf-btn { justify-self: stretch; text-align: center; }
	.pf-grid--3 { grid-template-columns: 1fr; }
	.pf-steps { grid-template-columns: 1fr; }
	.pf-compare { grid-template-columns: 1fr; }
}
