/*
 * Phil-IP-X Photography – Stylesheet
 *
 * Designsystem: Gold #FFCE00 (einzige Signalfarbe), Tinte #0C0C0C, Weiß, Grau #6E6B63,
 * Beige #F7F6F1 nur für Abschnittswechsel. Scharfe Kanten. Gold auf hellem Grund nur als
 * Fläche oder Linie. Schriften: nur lokal installierte Systemschriften (keine externen Anfragen).
 */

:root {
	--gold: #ffce00;
	--ink: #0c0c0c;
	--white: #fff;
	--grey: #6e6b63;
	--beige: #f7f6f1;
	--text-soft: #3a3a3a;
	--text-strong: #1a1a1a;
	--line: rgba(12, 12, 12, 0.15);
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--font-display: "Century Gothic", "CenturyGothic", "Futura", "Avenir Next", "Trebuchet MS", sans-serif;
	--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--pad-y: 88px;
	--pad-x: 48px;
}

@media (max-width: 760px) {
	:root {
		--pad-x: 24px;
	}
}

/* ---------- Grundlagen ---------- */

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--white);
	color: var(--ink);
	line-height: 1.5;
	overflow-x: clip;
}

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

a {
	color: var(--ink);
	text-decoration: none;
	transition: color 150ms ease;
}

a:hover {
	color: var(--gold);
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

.h-display {
	font-family: var(--font-display);
}

.gold {
	color: var(--gold);
}

a.gold:hover {
	color: var(--white);
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--gold);
}

.site-nav :focus-visible,
.cta-band :focus-visible,
.portfolio :focus-visible,
.lightbox :focus-visible,
.site-footer :focus-visible,
.kontakt__info :focus-visible,
.google-card :focus-visible {
	outline-color: var(--gold);
	box-shadow: 0 0 0 4px var(--ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--gold);
	color: var(--ink);
	font-weight: 700;
	padding: 10px 16px;
	transition: top 150ms var(--ease-out);
}

.skip-link:focus {
	top: 12px;
	color: var(--ink);
}

/* ---------- Bewegung ---------- */

.press {
	transition: transform 160ms var(--ease-out);
}

.press:active {
	transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
	.press:hover {
		transform: translateY(-1px);
	}
}

.lift-card {
	transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.lift-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 12px 24px -12px rgba(12, 12, 12, 0.18);
	}
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-block;
	width: fit-content;
	font-family: var(--font-body);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	border: none;
	border-radius: 0;
	cursor: pointer;
}

.btn--gold {
	background: var(--gold);
	color: var(--ink);
}

.btn--gold:hover {
	color: var(--ink);
}

.btn--dark {
	background: var(--ink);
	color: var(--white);
}

.btn--sm {
	font-size: 13px;
	padding: 10px 18px;
}

.btn--md {
	font-size: 14px;
	padding: 14px 26px;
}

.btn--lg {
	font-size: 15px;
	padding: 16px 28px;
}

.bar {
	display: block;
	width: 32px;
	height: 4px;
	background: var(--gold);
}

.bar--lg {
	width: 44px;
	height: 6px;
}

/* ---------- Navigation ---------- */

.site-nav {
	background: var(--ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 18px var(--pad-x);
}

.site-nav--sticky {
	position: sticky;
	top: 0;
	z-index: 20;
}

.admin-bar .site-nav--sticky {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-nav--sticky {
		top: 46px;
	}
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand img {
	display: block;
	width: 40px;
	height: auto;
}

.brand__name {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--white);
}

.brand:hover .brand__name {
	color: var(--white);
}

.nav-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 26px;
}

.nav-link,
.nav-back {
	font-size: 14px;
	color: var(--white);
}

.nav-link:hover,
.nav-back:hover {
	color: var(--gold);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--white);
	transition: transform 200ms var(--ease-out), opacity 150ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
	.brand__name {
		font-size: 16px;
	}

	/* Hamburger-Menü, standardmäßig geschlossen. Ohne JavaScript greift der <noscript>-Stil im Kopf. */
	.nav-toggle {
		display: flex;
	}

	.site-nav .nav-links {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 20px 0 8px;
		order: 3;
	}

	.site-nav .nav-links {
		display: none;
	}

	.site-nav .nav-links.is-open {
		display: flex;
		max-height: calc(100vh - 80px);
		max-height: calc(100dvh - 80px);
		overflow-y: auto;
	}

	.nav-link {
		font-size: 15px;
	}
}

/* ---------- Abschnitte ---------- */

/* Anker-Ziele nicht unter der Sticky-Navigation verstecken. */
main [id] {
	scroll-margin-top: 80px;
}

.section {
	padding: var(--pad-y) var(--pad-x);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.section--beige {
	background: var(--beige);
}

.section-head {
	max-width: 640px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.section-head p {
	margin: 0;
	font-size: 15px;
	color: var(--text-soft);
}

.section-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
	text-transform: uppercase;
	border-bottom: 4px solid var(--ink);
	padding-bottom: 8px;
	width: fit-content;
	max-width: 100%;
	overflow-wrap: break-word;
}

.section-title--light {
	color: var(--white);
	border-bottom-color: var(--gold);
}

@media (max-width: 760px) {
	.section-title {
		font-size: 26px;
	}
}

/* ---------- CTA-Band ---------- */

.cta-band {
	background: var(--ink);
	padding: 32px var(--pad-x);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.cta-band--text {
	padding-top: 56px;
	padding-bottom: 56px;
}

.cta-band__text {
	margin: 0;
	max-width: 760px;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0 var(--pad-x) 96px;
	background: var(--ink);
}

.hero__slides {
	position: absolute;
	inset: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transform: scale(1);
	/* Ausblenden; der Zoom springt erst zurück, wenn das Bild unsichtbar ist. */
	transition: opacity 1.1s linear, transform 0s linear 1.2s;
}

.hero-slide.is-active {
	opacity: 1;
}

/*
 * Überblendung (Skript): alle 6 s wird das nächste Bild aktiv und blendet über
 * 1,1 s ein, während das vorige ausblendet. Das aktive Bild zoomt langsam 1 → 1,08.
 * Funktioniert mit beliebig vielen Bildern (Design → Startseiten-Bilder).
 */
.hero.is-animated .hero-slide.is-active {
	transform: scale(1.08);
	transition: opacity 1.1s linear, transform 7.2s linear;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	/* Nur unten hinter dem Text kräftig, darüber bleiben die Bilder hell. */
	background: linear-gradient(to top, rgba(12, 12, 12, 0.74) 0%, rgba(12, 12, 12, 0.42) 32%, rgba(12, 12, 12, 0.1) 62%, rgba(12, 12, 12, 0) 100%);
}

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 920px;
	width: 100%;
	/* Lesbarkeit auch vor hellen Bildstellen, trotz leichterem Verlauf. */
	text-shadow: 0 1px 14px rgba(12, 12, 12, 0.55);
}

.hero__badge {
	width: fit-content;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--white);
	border: 2px solid var(--gold);
	padding: 4px 12px;
}

.hero__title {
	margin: 0;
	font-size: clamp(17px, 5.4vw, 54px);
	line-height: 1.04;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--white);
	overflow-wrap: break-word;
}

.hero__lead {
	margin: 0;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
	color: #e6e6e6;
}

@media (max-width: 760px) {
	.hero {
		padding-bottom: 56px;
	}

	.hero__lead {
		font-size: 15px;
	}
}

/* ---------- Statement und Proof-Leiste ---------- */

.statement {
	padding: 64px var(--pad-x);
	display: flex;
	justify-content: center;
}

.statement__inner {
	max-width: 760px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.statement__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: uppercase;
}

.statement__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-soft);
}

@media (max-width: 760px) {
	.statement__title {
		font-size: 22px;
	}
}

.proof {
	background: var(--ink);
	padding: 28px var(--pad-x);
	display: flex;
	justify-content: center;
}

.proof__list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 960px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 36px;
}

.proof__list li {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--gold);
	text-align: center;
}

/* ---------- Vorteile ---------- */

.benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	max-width: 1000px;
	width: 100%;
}

.benefit {
	background: var(--white);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.benefit h3 {
	margin: 0;
	font-size: 15px;
	text-transform: uppercase;
}

.benefit p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--text-soft);
}

@media (max-width: 960px) {
	.benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.benefits {
		grid-template-columns: 1fr;
	}
}

.u-feature {
	background: var(--ink);
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	width: 100%;
}

.u-feature__img {
	flex: 1 1 320px;
	width: 100%;
	height: 640px;
	object-fit: contain;
	object-position: center;
	display: block;
}

.u-feature__text {
	flex: 1 1 320px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.u-feature__text h3 {
	margin: 0;
	font-size: 18px;
	text-transform: uppercase;
}

.u-feature__text p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #e6e6e6;
}

@media (max-width: 760px) {
	.u-feature__img {
		height: 280px;
		object-fit: cover;
	}

	.u-feature__text {
		padding: 28px 24px;
	}
}

/* ---------- Karten (Leistungen, Referenzen) ---------- */

.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	max-width: 1100px;
	width: 100%;
}

.card {
	flex: 1 1 300px;
	max-width: 340px;
	border: 1px solid var(--line);
	padding: 28px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: var(--white);
}

.card h3 {
	margin: 0;
	font-size: 18px;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

.card p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-soft);
}

@media (max-width: 760px) {
	.card {
		max-width: none;
	}
}

.avatar {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.avatar--logo {
	background: var(--white);
	border: 1px solid rgba(12, 12, 12, 0.1);
	padding: 8px;
}

.avatar--logo img {
	object-fit: contain;
}

.google-card {
	max-width: 420px;
	width: 100%;
	background: var(--ink);
	padding: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.google-card__label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #e6e6e6;
}

.google-card__stars {
	display: flex;
	gap: 4px;
}

.google-card__rating {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--white);
}

/* ---------- Vergleichstabelle ---------- */

.compare {
	max-width: 900px;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid var(--line);
}

.compare th,
.compare td {
	width: 50%;
	min-width: 0;
	text-align: left;
	vertical-align: middle;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.compare__head {
	padding: 18px 24px;
	font-size: 14px;
	text-transform: uppercase;
}

.compare__head--without {
	background: var(--beige);
	color: var(--grey);
}

.compare__head--with {
	background: var(--ink);
	color: var(--gold);
}

.compare__cell {
	padding: 16px 24px;
	border-top: 1px solid rgba(12, 12, 12, 0.12);
	font-size: 14px;
}

.compare__cell--without {
	border-right: 1px solid rgba(12, 12, 12, 0.12);
	color: var(--text-soft);
}

.compare__cell--with {
	color: var(--text-strong);
	font-weight: 700;
}

.compare__cell {
	position: relative;
	padding-left: 48px;
}

.compare .icon {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 760px) {
	.compare__head {
		padding: 10px 12px;
		font-size: 11px;
	}

	.compare__cell {
		padding: 10px 12px 10px 29px;
		font-size: 12px;
		line-height: 1.35;
	}

	.compare .icon {
		left: 12px;
		width: 11px;
		height: 11px;
	}
}

/* ---------- Über mich ---------- */

.about {
	display: flex;
	justify-content: center;
}

.about__inner {
	max-width: 980px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px;
}

.about__img {
	flex: 1 1 300px;
	max-width: 340px;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	box-shadow: 8px 8px 0 var(--gold);
}

.about__text {
	flex: 2 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.about__text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-strong);
}

@media (max-width: 760px) {
	.about__inner {
		gap: 32px;
	}

	.about__img {
		max-width: calc(100% - 8px);
	}

	.about__text {
		flex-basis: 100%;
	}
}

/* ---------- Portfolio ---------- */

.portfolio {
	background: var(--ink);
	color: var(--white);
	padding: 96px 0 64px;
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.portfolio__head {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
}

.portfolio__intro {
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.portfolio__title {
	margin: 0;
	font-size: clamp(34px, 6vw, 60px);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--white);
	border-bottom: 4px solid var(--gold);
	padding-bottom: 10px;
	width: fit-content;
}

.portfolio__intro p {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #d6d4cc;
}

/* ---------- 3D-Ring-Karussell (Portfolio und Referenzen) ---------- */

/*
 * Die Karten stehen auf einem Ring im Raum. Das Skript setzt Radius und Drehung
 * (--c3d-r, Transform des Rings) sowie die Helligkeit je Karte. Ohne Skript greift
 * die <noscript>-Regel im Kopf und zeigt eine horizontale Leiste.
 */
.carousel3d {
	--card-w: clamp(210px, 23vw, 320px);
	--card-h: clamp(250px, 28vw, 400px);
	--stage-top: clamp(70px, 9vw, 120px);
	position: relative;
	width: 100%;
}

.carousel3d__stage {
	position: relative;
	height: calc(var(--card-h) + var(--stage-top) + 40px);
	perspective: 1600px;
	perspective-origin: 50% -20%;
	overflow: hidden;
	touch-action: pan-y;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}

.carousel3d__stage.is-dragging {
	cursor: grabbing;
}

.carousel3d__ring {
	position: absolute;
	left: 50%;
	top: var(--stage-top);
	width: 0;
	height: 0;
	transform-style: preserve-3d;
	transition: transform 900ms var(--ease-out);
}

.carousel3d__stage.is-dragging .carousel3d__ring {
	transition: none;
}

.carousel3d__card {
	position: absolute;
	top: 0;
	left: calc(var(--card-w) / -2);
	width: var(--card-w);
	height: var(--card-h);
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	overflow: hidden;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: filter 900ms var(--ease-out), opacity 900ms var(--ease-out);
}

/* Fotos im Originalformat: gleiche Höhe, Breite aus dem Seitenverhältnis (--ar). */
.carousel3d__card--photo {
	width: calc(var(--card-h) * var(--ar, 0.75));
	left: calc(var(--card-h) * var(--ar, 0.75) / -2);
	background: #1a1a1a;
	box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.85);
}

.carousel3d__card--photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.carousel3d__card:focus-visible,
.carousel3d__open:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	box-shadow: none;
}

/* Beschriftung unter der vorderen Karte (blendet beim Drehen kurz aus). */
.carousel3d__caption {
	margin: 4px 0 0;
	padding: 0 var(--pad-x);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	transition: opacity 250ms ease;
}

.carousel3d.is-moving .carousel3d__caption {
	opacity: 0;
}

.carousel3d__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
}

.carousel3d__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--white);
	overflow-wrap: break-word;
}

.carousel3d__controls {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin-top: 18px;
}

/* Minimalistische Pfeile: feine Chevrons ohne Fläche, beim Überfahren eine goldene Linie. */
.arrow-btn {
	position: relative;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.75;
	transition: opacity 160ms ease, transform 160ms var(--ease-out);
}

.arrow-btn::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 18px;
	height: 2px;
	background: var(--gold);
	transform: translateX(-50%) scaleX(0);
	transition: transform 200ms var(--ease-out);
}

.arrow-btn:hover,
.arrow-btn:focus-visible {
	opacity: 1;
}

.arrow-btn:hover::after,
.arrow-btn:focus-visible::after {
	transform: translateX(-50%) scaleX(1);
}

.arrow-btn:active {
	transform: scale(0.9);
}

.carousel3d--light .arrow-btn {
	color: var(--ink);
}

/* Dunkle Variante: Portfolio auf schwarzer Bühne. */
.carousel3d--dark .carousel3d__stage {
	background: radial-gradient(ellipse 60% 70% at 50% 45%, #1f1f1f 0%, var(--ink) 75%);
}

/* Helle Variante: Referenzen auf beigem Band über die volle Breite. */
.carousel3d--light {
	--card-w: clamp(250px, 27vw, 350px);
	--card-h: calc(var(--card-w) * 1.12);
	width: calc(100% + 2 * var(--pad-x));
	margin: 0 calc(-1 * var(--pad-x));
}

.carousel3d--light .carousel3d__stage {
	background: var(--beige);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.carousel3d--light .carousel3d__kicker {
	color: var(--grey);
}

.carousel3d--light .carousel3d__title {
	color: var(--ink);
	font-size: 16px;
}

.carousel3d__card--quote {
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 30px 50px -32px rgba(12, 12, 12, 0.45);
}

.t-card__body {
	height: 100%;
	padding: 28px 26px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.t-card__body .avatar {
	width: 60px;
	height: 60px;
}

.t-card__quote {
	flex: 1 1 auto;
	min-height: 0;
	margin: 0;
	overflow: hidden;
}

.t-card__quote p {
	margin: 0;
	font-size: 14.5px;
	font-style: italic;
	line-height: 1.6;
	color: var(--text-soft);
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.t-card__name {
	margin: 0;
	padding-top: 10px;
	border-top: 4px solid var(--gold);
	font-size: 13px;
	font-weight: 700;
}

.carousel3d__open {
	position: absolute;
	inset: 0;
	padding: 12px 14px;
	border: none;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}

.t-card__more {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--grey);
}

@media (max-width: 760px) {
	.carousel3d {
		--card-w: 60vw;
		--card-h: 70vw;
		--stage-top: 56px;
	}

	.carousel3d--light {
		--card-w: 76vw;
		--card-h: calc(var(--card-w) * 1.2);
	}

	.carousel3d__stage {
		perspective: 1100px;
	}

	.carousel3d__title {
		font-size: 17px;
	}

	.t-card__body {
		padding: 22px 18px 18px;
	}

	.t-card__quote p {
		font-size: 14px;
		-webkit-line-clamp: 8;
	}
}

.portfolio__hint {
	margin: 0;
	padding: 0 24px;
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a887f;
}

/* ---------- Lightbox ---------- */

.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 24px;
	border: none;
	background: rgba(12, 12, 12, 0.96);
	color: var(--white);
	align-items: center;
	justify-content: center;
}

.lightbox[open] {
	display: flex;
}

.lightbox::backdrop {
	background: rgba(12, 12, 12, 0.96);
}

.lightbox__figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 92vw;
}

.lightbox__img {
	display: block;
	max-width: 92vw;
	max-height: 78vh;
	max-height: 78dvh;
	width: auto;
	height: auto;
	object-fit: contain;
}

.lightbox__img[hidden],
.lightbox__quote[hidden] {
	display: none;
}

/* Kundenstimme im Vollbild: voller Text, weiße Karte auf dunkler Bühne. */
.lightbox__quote {
	width: min(760px, 92vw);
	max-height: 78vh;
	max-height: 78dvh;
	overflow-y: auto;
	background: var(--white);
	color: var(--ink);
}

.lightbox__quote .t-card__body {
	height: auto;
	padding: 40px 40px 32px;
	gap: 18px;
}

.lightbox__quote .avatar {
	width: 72px;
	height: 72px;
}

.lightbox__quote .t-card__quote p {
	display: block;
	-webkit-line-clamp: unset;
	font-size: 17px;
	line-height: 1.7;
}

.lightbox__quote .t-card__name {
	font-size: 14px;
}

@media (max-width: 760px) {
	.lightbox__quote .t-card__body {
		padding: 28px 22px 24px;
	}

	.lightbox__quote .t-card__quote p {
		font-size: 15.5px;
	}
}

.lightbox__meta {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 14px;
	max-width: 100%;
	text-align: center;
}

.lightbox__caption {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gold);
}

.lightbox__counter {
	flex-shrink: 0;
	font-size: 12px;
	color: #9a9890;
	white-space: nowrap;
}

/* Handy: Platz oben für „Schließen“ und unten für die Pfeile freihalten. */
@media (max-width: 760px) {
	.lightbox {
		padding: 68px 16px 84px;
	}

	.lightbox__img,
	.lightbox__quote {
		max-height: calc(100dvh - 210px);
	}

	.lightbox__caption {
		font-size: 11px;
	}
}

.lightbox__btn {
	position: absolute;
	z-index: 2;
	width: 48px;
	height: 48px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	border-radius: 0;
	color: var(--white);
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 160ms ease, transform 160ms var(--ease-out);
}

/* Minimalistisch wie die Karussell-Pfeile: goldene Linie beim Überfahren/Fokus. */
.lightbox__btn::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 18px;
	height: 2px;
	background: var(--gold);
	transform: translateX(-50%) scaleX(0);
	transition: transform 200ms var(--ease-out);
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
	opacity: 1;
}

.lightbox__btn:hover::after,
.lightbox__btn:focus-visible::after {
	transform: translateX(-50%) scaleX(1);
}

.lightbox__close {
	top: 16px;
	right: 16px;
}

.lightbox__prev,
.lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__prev:active,
.lightbox__next:active {
	transform: translateY(-50%) scale(0.9);
}

.lightbox__prev {
	left: 12px;
}

.lightbox__next {
	right: 12px;
}

@media (max-width: 760px) {
	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 14px;
		transform: none;
	}

	.lightbox__prev:active,
	.lightbox__next:active {
		transform: scale(0.9);
	}
}

/* ---------- Ablauf ---------- */

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	max-width: 1100px;
	width: 100%;
}

.step {
	flex: 1 1 220px;
	max-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.step__num {
	font-size: 28px;
	border-bottom: 4px solid var(--gold);
	width: fit-content;
	padding-bottom: 2px;
}

.step h3 {
	margin: 0;
	font-size: 15px;
	text-transform: uppercase;
}

.step p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-soft);
}

@media (max-width: 760px) {
	.step {
		max-width: none;
	}
}

/* ---------- FAQ ---------- */

.faq {
	align-items: center;
}

.faq__inner {
	max-width: 720px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.faq__inner .section-title {
	margin-bottom: 20px;
}

.faq__item {
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
}

.faq__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__sign {
	display: inline-block;
	flex-shrink: 0;
	font-size: 20px;
	transition: transform 200ms var(--ease-out);
}

.faq__item[open] .faq__sign {
	transform: rotate(45deg);
}

.faq__a {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-soft);
}

.faq__item[open] .faq__a {
	animation: faqReveal 220ms var(--ease-out);
}

@keyframes faqReveal {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---------- Kontakt ---------- */

.kontakt {
	position: relative;
	padding: var(--pad-y) var(--pad-x);
	display: flex;
	justify-content: center;
	background-color: var(--ink);
	background-image: url("../img/hintergrund-kontakt-smartphone-nacht-1600.webp");
	background-size: cover;
	background-position: center;
}

@media (max-width: 760px) {
	.kontakt {
		background-image: url("../img/hintergrund-kontakt-smartphone-nacht-960.webp");
	}
}

.kontakt::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 12, 12, 0.72);
}

.kontakt__inner {
	position: relative;
	z-index: 1;
	max-width: 980px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
}

.kontakt__info {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kontakt__lead {
	margin: 0;
	max-width: 460px;
	font-size: 15.5px;
	line-height: 1.6;
	color: #e6e6e6;
}

.kontakt__facts {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 8px;
	font-size: 14.5px;
	font-style: normal;
	color: var(--white);
	overflow-wrap: anywhere;
}

.kontakt__facts a {
	color: var(--white);
}

.kontakt__facts a:hover {
	color: var(--gold);
}

.kontakt__info .btn {
	margin-top: 8px;
}


/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink);
	color: var(--white);
	padding: 40px var(--pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-footer--sub {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #c9c9c9;
}

.site-footer__brand img {
	display: block;
	width: 32px;
	height: auto;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.site-footer__links a {
	font-size: 13px;
	color: var(--white);
}

.site-footer__links a:hover {
	color: var(--gold);
}

.site-footer__links a.gold {
	color: var(--gold);
}

.site-footer__links a.gold:hover {
	color: var(--white);
}

/* ---------- Blog ---------- */

.blog-pad {
	padding-left: var(--pad-x);
	padding-right: var(--pad-x);
	display: flex;
	justify-content: center;
}

.blog-wrap {
	max-width: 900px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.blog-intro {
	padding-top: 72px;
	padding-bottom: 24px;
}

.blog-intro__lead {
	margin: 0;
	max-width: 620px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-soft);
}

.blog-list-wrap {
	padding-top: 24px;
	padding-bottom: var(--pad-y);
}

.page-title {
	margin: 0;
	font-size: clamp(28px, 6vw, 42px);
	line-height: 1.1;
	text-transform: uppercase;
	border-bottom: 4px solid var(--ink);
	padding-bottom: 10px;
	width: fit-content;
	max-width: 100%;
	overflow-wrap: break-word;
	hyphens: auto;
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.post-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	width: 100%;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	color: inherit;
}

.post-row:hover {
	color: inherit;
}

.post-row:hover .post-title {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

.post-thumb {
	flex: 0 0 260px;
	width: 260px;
	height: 170px;
	overflow: hidden;
	background: #eceae2;
}

.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-text {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-wrap: break-word;
}

.post-cat {
	width: fit-content;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 3px solid var(--gold);
	padding-bottom: 2px;
}

.post-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.post-teaser {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-soft);
}

.post-more {
	font-size: 13px;
	font-weight: 700;
}

.blog-empty {
	padding: 28px 0;
	margin: 0;
	border-top: 1px solid var(--line);
	color: var(--text-soft);
}

.pagination .nav-links {
	display: flex;
	flex-direction: row;
	gap: 16px;
	padding: 24px 0 0;
	width: auto;
}

.pagination a,
.pagination .current {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 760px) {
	.post-thumb {
		flex: 1 1 100%;
		width: 100%;
		height: 200px;
	}
}

.article-wrap {
	padding-top: 56px;
	padding-bottom: 72px;
}

.article {
	max-width: 720px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.article__back {
	width: fit-content;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article__back:hover {
	color: var(--ink);
	text-decoration-thickness: 2px;
}

.article__title {
	margin: 0;
	font-size: clamp(26px, 5.4vw, 40px);
	line-height: 1.12;
	overflow-wrap: break-word;
	hyphens: auto;
}

.article__meta {
	margin: 0;
	font-size: 13px;
	color: var(--grey);
}

.article__cover {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eceae2;
}

.article__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.article-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.article-body > * {
	margin: 0;
}

.article-body p,
.article-body li {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-strong);
	overflow-wrap: break-word;
}

.article-body h2,
.article-body h3 {
	font-family: var(--font-display);
	margin-top: 18px;
	font-size: 22px;
	line-height: 1.25;
	overflow-wrap: break-word;
}

.article-body a,
.legal .entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-body a:hover,
.legal .entry-content a:hover {
	color: var(--ink);
	text-decoration-thickness: 2px;
}

.article-body img {
	display: block;
	height: auto;
}

.article-body figure {
	margin: 0;
}

/* ---------- Rechtstexte und einfache Seiten ---------- */

.page-wrap {
	padding: 72px var(--pad-x) 96px;
	display: flex;
	justify-content: center;
}

.legal {
	max-width: 760px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.legal .page-title {
	font-size: clamp(26px, 6vw, 38px);
}

.legal .entry-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.legal .entry-content > * {
	margin: 0;
}

.legal .entry-content h2 {
	margin-top: 22px;
	font-family: var(--font-display);
	font-size: 18px;
	text-transform: uppercase;
	overflow-wrap: break-word;
	hyphens: auto;
}

.legal .entry-content h2:first-child {
	margin-top: 0;
}

.legal .entry-content h3 {
	margin-top: 12px;
	font-family: var(--font-display);
	font-size: 15px;
	text-transform: uppercase;
}

.legal .entry-content p,
.legal .entry-content li {
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--text-soft);
	overflow-wrap: break-word;
}

.legal .entry-content .is-style-note,
.legal .entry-content .legal-note {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--grey);
}

/* ---------- Reduzierte Bewegung ---------- */

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

	.hero.is-animated .hero-slide.is-active {
		transform: none;
	}

	.press,
	.press:active,
	.press:hover,
	.lift-card,
	.lift-card:hover {
		transform: none;
		transition: none;
		box-shadow: none;
	}

	.arrow-btn,
	.arrow-btn:active,
	.arrow-btn::after,
	.lightbox__btn,
	.lightbox__btn::after {
		transition: none;
	}

	.arrow-btn:active {
		transform: none;
	}

	.carousel3d__ring,
	.carousel3d__card,
	.carousel3d__caption {
		transition: none;
	}

	.nav-toggle span,
	.faq__sign,
	.skip-link {
		transition: none;
	}

	.faq__item[open] .faq__a {
		animation: none;
	}

}

/* ---------- Druck ---------- */

@media print {
	.site-nav,
	.cta-band,
	.hero__slides,
	.arrow-btn,
	.lightbox,
	.kontakt__form,
	.skip-link {
		display: none !important;
	}

	.hero {
		height: auto;
		min-height: 0;
		padding: 24px;
	}
}
