/* ==========================================================================
   Waldemar Merger – „Dunkelkammer“
   Eine Schriftfamilie: Roboto Flex (variabel in Stärke, Breite, Neigung und optischer Größe).
   Große Titel hauchdünn, der Name im Hero extrafett und schmal – dazwischen die normale Lesetype.
   Akzent: das Rotlicht der Dunkelkammer. Schrift liegt lokal im Theme (kein Google-Fonts-Abruf).
   ========================================================================== */

@font-face {
	font-family: "Roboto Flex";
	src: url("../fonts/roboto-flex.woff2") format("woff2-variations"), url("../fonts/roboto-flex.woff2") format("woff2");
	font-weight: 100 1000;
	font-stretch: 25% 151%;
	font-style: oblique 0deg 10deg;
	font-display: swap;
}

:root {
	--bg:      #0d0c0b;
	--bg-2:    #151311;
	--bg-3:    #201d1a;
	--fg:      #ece6db;
	--muted:   #8f877c;
	--line:    rgba(236, 230, 219, .14);
	--red:     #e3412b;
	--red-d:   #c3321e;

	--paper:       #e9e3d7;
	--paper-ink:   #141210;
	--paper-muted: #6c655b;
	--paper-line:  rgba(20, 18, 16, .16);

	--font: "Roboto Flex", "Roboto", "Helvetica Neue", Arial, sans-serif;

	--step--1: .8125rem;
	--step-0:  1.0625rem;
	--step-1:  1.3125rem;
	--step-2:  clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
	--step-3:  clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem);
	--step-4:  clamp(3rem, 1.2rem + 6.4vw, 7.75rem);
	--step-hero: clamp(4.25rem, .5rem + 19.5vw, 22rem);

	--wrap: 1480px;
	--gutter: clamp(1.1rem, 4vw, 3.5rem);
	--section: clamp(5rem, 3rem + 9vw, 11rem);
	--header-h: 4.75rem;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* ------------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); interpolate-size: allow-keywords; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 400;
	font-optical-sizing: auto;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Filmkorn */
body::after {
	content: "";
	position: fixed;
	inset: -50%;
	z-index: 300;
	pointer-events: none;
	opacity: .055;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1s steps(6) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
	60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
em, .oblique { font-style: oblique 10deg; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: fixed; left: 1rem; top: -4rem; z-index: 400;
	padding: .75rem 1rem; background: var(--fg); color: var(--bg); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.plain { list-style: none; padding: 0; }
.icon { flex: none; width: 1.1em; height: 1.1em; }

/* Display-Typo: hauchdünn, eng gesetzt */
.section__title, .page-head__title, .intro__text, .hgallery__title, .stack__title, .lens__title,
.cta__heading, .mega-mail__link, .quote p, .process__title, .focus__name,
.loader__count, .album-nav a, .related__title, .statement, .site-footer__mail {
	font-weight: 250;
	font-stretch: 100%;
	letter-spacing: -.018em;
}

/* Wörter für Animationen */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em 0 .12em; margin: -.2em 0 -.12em; }
.split-w > span { display: inline-block; will-change: transform; }
.split-c { display: inline-block; will-change: transform; transition: font-weight .5s var(--ease), font-stretch .5s var(--ease); }

/* Lesefortschritt */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 150; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ------------------------------------------------------------------ Kopfzeile */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	color: #fff;
	mix-blend-mode: difference;
	transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
body.nav-open .site-header { mix-blend-mode: normal; transform: none; color: var(--fg); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: var(--header-h);
}
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; }
.brand__name { font-size: 1.15rem; font-weight: 750; font-stretch: 60%; letter-spacing: .01em; text-transform: uppercase; }
.brand__logo { display: block; height: clamp(1.9rem, 2.6vw, 2.6rem); width: auto; max-width: 60vw; object-fit: contain; }

.site-header__clock {
	display: flex;
	gap: .5rem;
	font-size: var(--step--1);
	font-variant-numeric: tabular-nums;
	opacity: .75;
}
.site-header__clock time::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: currentColor; vertical-align: middle; animation: blink 2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-list { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
	position: relative;
	display: block;
	padding: .35rem 0;
	font-size: .9375rem;
	font-weight: 450;
	text-decoration: none;
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--ease);
}
.nav-list a:hover::after, .nav-list .current-menu-item > a::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav__contact { display: none; }

.nav-toggle {
	display: none;
	align-items: center;
	gap: .7rem;
	margin-left: auto;
	padding: .5rem 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: .9375rem;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 24px; height: 1.5px; background: currentColor;
	transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.site-header__clock { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-end;
		gap: 2.5rem;
		padding: calc(var(--header-h) + 1rem) var(--gutter) 2.5rem;
		background: var(--bg);
		clip-path: inset(0 0 100% 0);
		transition: clip-path .8s var(--ease-io), visibility 0s .8s;
		visibility: hidden;
	}
	.site-nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list li { overflow: hidden; }
	.nav-list a {
		padding: .1rem 0;
		font-size: clamp(3rem, 14vw, 5rem);
		font-weight: 250;
		letter-spacing: -.02em;
		line-height: 1.1;
	}
	.nav-list a::after { display: none; }
	.nav-list .current-menu-item > a, .nav-list a[aria-current="page"] { color: var(--red); font-style: oblique 10deg; }
	.site-nav__contact { display: grid; gap: .6rem; color: var(--muted); }
	.site-nav__contact a { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
}

/* ------------------------------------------------------------------ Buttons & Links */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: 1rem 1.6rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
	will-change: transform;
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(.2em); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary::before { background: var(--fg); }
.btn--primary:hover { color: var(--bg); }
.btn--outline { border-color: currentColor; color: inherit; }
.btn--outline::before { background: var(--fg); }
.btn--outline:hover { color: var(--bg); border-color: var(--fg); }
.section--paper .btn--outline::before { background: var(--paper-ink); }
.section--paper .btn--outline:hover { color: var(--paper); border-color: var(--paper-ink); }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light::before { background: var(--bg); }
.btn--light:hover { color: var(--fg); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--red); border-color: #fff; }
.btn--glass { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--bg); }
.btn--big { padding: 1.2rem 2rem; font-size: 1.0625rem; }

.link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-weight: 550;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size .45s var(--ease);
	padding-bottom: .15em;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

/* ------------------------------------------------------------------ Ladeanzeige */
.loader { display: none; }
.show-loader .loader {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: var(--gutter);
	background: #120707;
	color: var(--red);
	animation: loaderFailsafe .01s 5s forwards;
}
.loader__count { font-size: clamp(6rem, 26vw, 22rem); line-height: .78; font-variant-numeric: tabular-nums; }
.loader__label { font-size: var(--step--1); padding-bottom: .5rem; }
.loader.is-done { transform: translateY(-100%); transition: transform 1.1s var(--ease-io); }
@keyframes loaderFailsafe { to { visibility: hidden; } }

/* ------------------------------------------------------------------ Hero */
.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #000;
	color: #fff;
	isolation: isolate;
}
.hero__gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.hero.gl-on .hero__gl { opacity: 1; }
.hero.gl-on .hero__slides { visibility: hidden; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.1) 60%, rgba(0,0,0,.35)); }

.hero__content { padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__tag { max-width: 22rem; font-size: var(--step-1); font-weight: 350; line-height: 1.35; color: rgba(255,255,255,.88); margin-bottom: clamp(1rem, 2vw, 1.75rem); }

.hero__name {
	display: flex;
	flex-direction: column;
	font-size: var(--step-hero);
	font-weight: 880;
	font-stretch: 32%;
	line-height: .8;
	letter-spacing: -.01em;
	text-transform: uppercase;
	margin-left: -.03em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .02em; white-space: nowrap; }
.hero__line + .hero__line { align-self: flex-end; font-weight: 120; font-stretch: 40%; }

.hero__foot {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: end;
	gap: 1.5rem 2rem;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
	font-size: var(--step--1);
}
.hero__counter { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.8); }
.hero__scroll i { position: relative; display: block; width: 1px; height: 3rem; overflow: hidden; background: rgba(255,255,255,.25); }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 640px) {
	.hero__foot { grid-template-columns: 1fr auto; }
	.hero__scroll { display: none; }
}

/* ------------------------------------------------------------------ Begrüßung */
.intro { padding-block: var(--section); }
.intro__inner { display: grid; gap: 2.5rem; }
.intro__hi { font-size: var(--step-3); font-weight: 220; font-style: oblique 10deg; color: var(--red); line-height: 1; }
.intro__text { max-width: 21ch; font-size: clamp(2.1rem, 1rem + 4.4vw, 5.75rem); line-height: 1.1; }
.intro__actions { display: grid; gap: 1.25rem; justify-items: start; max-width: 36rem; }
.intro__hint { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
@media (min-width: 900px) {
	.intro__inner { grid-template-columns: 2fr 10fr; }
	.intro__text, .intro__actions { grid-column: 2; }
	.intro__hi { grid-row: 1; padding-top: .35em; }
	.intro__text { grid-row: 1; }
}

/* ------------------------------------------------------------------ Sektionen */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.section--rule { border-top: 1px solid var(--line); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper + .section--paper { padding-top: 0; }

.section__title { font-size: var(--step-4); line-height: 1; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.25rem 3rem;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section__head .section__title { margin-bottom: 0; max-width: 14ch; }
.section__lead { max-width: 30rem; font-size: var(--step-1); line-height: 1.45; color: var(--muted); }
.section--paper .section__lead { color: var(--paper-muted); }
.section__more { margin-top: clamp(3rem, 6vw, 5rem); display: flex; justify-content: center; }

.subhead { font-size: var(--step-2); font-weight: 330; font-style: oblique 10deg; letter-spacing: -.005em; margin: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.subhead:first-of-type { margin-top: 0; }

.split { display: grid; gap: 1.5rem; }
.split > .section__title { margin-bottom: 0; }
@media (min-width: 900px) {
	.split { grid-template-columns: 4fr 8fr; gap: 3rem; }
	.split .prose { max-width: 46rem; }
}

/* ------------------------------------------------------------------ Seitenkopf */
.page-head { padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 8rem)); }
.page-head__title {
	font-size: clamp(4rem, .5rem + 15vw, 16rem);
	line-height: .9;
	letter-spacing: -.03em;
	margin-left: -.04em;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.page-head--album .page-head__title { font-size: clamp(2.75rem, 1rem + 7vw, 9rem); line-height: .98; }
.page-head__intro { margin-top: 2rem; max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.page-head__intro a { color: var(--fg); }
.page-head__meta { margin-top: 1.25rem; color: var(--muted); }

.statement { margin-top: .75rem; font-size: clamp(2rem, 1rem + 4.6vw, 6rem); line-height: 1.05; font-style: oblique 10deg; color: var(--red); padding-left: clamp(0rem, 12vw, 14rem); }

.crumbs { display: flex; gap: .6rem; margin-bottom: 1.5rem; font-size: .9375rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

.meta-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem clamp(2rem, 5vw, 4.5rem);
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}
.meta-strip dt { font-size: var(--step--1); color: var(--muted); }
.meta-strip dd { font-size: var(--step-1); font-weight: 350; }

/* ------------------------------------------------------------------ Fließtext */
.prose { display: grid; gap: 1.1em; max-width: 46rem; }
.prose--large { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); font-weight: 350; line-height: 1.5; letter-spacing: 0; }
.prose .lead { font-size: var(--step-2); font-weight: 330; line-height: 1.3; letter-spacing: -.005em; }
.prose a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.prose a:hover { color: var(--red); }
.prose--page { max-width: 48rem; }
.prose--page h2, .prose--page h3, .prose--page h4 { margin-top: 1.25em; font-size: var(--step-2); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.prose--page h4 { font-size: var(--step-1); }
.prose--page ul, .prose--page ol { padding-left: 1.2em; display: grid; gap: .4em; }
.prose--page table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose--page td, .prose--page th { border-bottom: 1px solid var(--line); padding: .5rem .5rem .5rem 0; text-align: left; vertical-align: top; }

.checks { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: 1.35rem; width: .8rem; height: .45rem; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); }

/* ------------------------------------------------------------------ Schwerpunkte (Akkordeon-Tafeln) */
.focus { list-style: none; padding: 0; display: grid; gap: .6rem; }
.focus__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 6px; text-decoration: none; color: #fff; background: var(--bg-3); }
.focus__media { position: absolute; inset: 0; }
.focus__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s; filter: grayscale(.7) brightness(.7); }
.focus__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 65%); }
.focus__body { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: .5rem; padding: clamp(1rem, 2vw, 1.75rem); }
.focus__count { font-size: var(--step--1); opacity: .8; font-variant-numeric: tabular-nums; }
.focus__name { font-size: var(--step-3); line-height: 1.02; }
.focus__text { max-width: 26rem; font-size: .9375rem; line-height: 1.45; opacity: .85; }

@media (max-width: 899px) {
	.focus__item { height: 46vh; min-height: 300px; }
	.focus__media img { filter: none; transform: none; }
}
@media (min-width: 900px) {
	.focus { display: flex; height: min(74vh, 720px); gap: .75rem; }
	.focus__item { flex: 1 1 0; min-width: 0; transition: flex-grow .9s var(--ease); }
	.focus__item.is-open { flex-grow: 4.5; }
	.focus__item.is-open .focus__media img { transform: scale(1); filter: none; }
	.focus__text { opacity: 0; transform: translateY(1rem); transition: opacity .4s, transform .6s var(--ease); }
	.focus__item.is-open .focus__text { opacity: .85; transform: none; transition-delay: .3s; }
	.focus__item:not(.is-open) .focus__name { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: var(--step-2); }
	.focus__item:not(.is-open) .focus__count { display: none; }
}

/* ------------------------------------------------------------------ Horizontale Galerie */
.hgallery { position: relative; overflow: hidden; }
.hgallery__sticky { padding-block: clamp(2rem, 5vw, 4rem); }
.hgallery__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hgallery__title { font-size: var(--step-3); }
.hgallery__progress { position: relative; flex: 0 1 14rem; height: 1px; background: var(--line); overflow: hidden; }
.hgallery__progress span { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(.1); }
.hgallery__track {
	display: flex;
	gap: clamp(.75rem, 1.5vw, 1.25rem);
	padding-inline: var(--gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.hgallery__track::-webkit-scrollbar { display: none; }
.hgallery__item { position: relative; flex: none; display: block; height: clamp(280px, 62vh, 680px); scroll-snap-align: start; text-decoration: none; }
.hgallery__img { display: block; height: 100%; overflow: hidden; background: var(--bg-3); border-radius: 4px; }
.hgallery__img img { height: 100%; width: auto; max-width: none; object-fit: cover; transform: scale(1.12); }
.hgallery__num { position: absolute; left: 0; bottom: -1.6rem; font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.hgallery__item:nth-child(odd) { margin-top: clamp(1rem, 4vh, 3rem); }
.hgallery.is-pinned .hgallery__sticky { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
.hgallery.is-pinned .hgallery__track { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }

/* ------------------------------------------------------------------ Leistungen */
.services { position: relative; display: grid; gap: 3.5rem; }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.service__title a { display: inline-flex; align-items: center; gap: .75rem; font-size: var(--step-1); font-weight: 650; text-decoration: none; }
.service__title .icon { transition: transform .3s var(--ease); }
.service__title a:hover .icon { transform: translateX(.3em); }
.service__intro { margin-top: .5rem; color: var(--paper-muted); max-width: 30rem; }
.service__list { list-style: none; padding: 0; margin-top: 1.5rem; border-top: 1px solid var(--paper-ink); }
.service__list li { border-bottom: 1px solid var(--paper-line); }
.service__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: .5rem 0;
	font-size: clamp(1.9rem, 1rem + 2.4vw, 3.4rem);
	font-weight: 280;
	line-height: 1.18;
	letter-spacing: -.015em;
	text-decoration: none;
	transition: padding .6s var(--ease), color .3s, font-weight .6s var(--ease), font-stretch .6s var(--ease);
}
.service__ask { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; letter-spacing: 0; opacity: 0; transform: translateX(-.5rem); transition: opacity .3s, transform .5s var(--ease); white-space: nowrap; }
.service__list a:hover, .service__list a:focus-visible { padding-left: 1rem; color: var(--red); font-weight: 800; font-stretch: 70%; }
.service__list a:hover .service__ask, .service__list a:focus-visible .service__ask { opacity: 1; transform: none; }
@media (hover: none) { .service__ask { opacity: .55; transform: none; } }

.preview { display: none; }
@media (hover: hover) and (pointer: fine) {
	.preview {
		position: fixed; top: 0; left: 0; z-index: 60;
		display: block;
		width: clamp(220px, 20vw, 340px);
		aspect-ratio: 4 / 5;
		overflow: hidden;
		pointer-events: none;
		border-radius: 4px;
		clip-path: inset(50% 50% 50% 50%);
		transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg));
		transition: clip-path .55s var(--ease);
	}
	.preview.is-visible { clip-path: inset(0); }
	.preview img { width: 100%; height: 100%; object-fit: cover; }
	.preview--logo { aspect-ratio: 3 / 2; background: var(--paper); padding: 1.5rem; }
	.preview--logo img { object-fit: contain; }
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__item { display: flex; flex-direction: column-reverse; gap: .35rem; }
.stats dd { font-size: var(--step-4); font-weight: 260; letter-spacing: -.02em; line-height: .9; color: var(--red); }
.stats dt { color: var(--paper-muted); }

/* ------------------------------------------------------------------ Ablauf */
.process__inner { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
	.process__inner { grid-template-columns: 5fr 7fr; gap: 4rem; }
	.process__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.process__aside .section__title { margin-bottom: 1.5rem; max-width: 10ch; }
.process__note { max-width: 24rem; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.process__meter { display: flex; align-items: baseline; gap: .5rem; margin-top: clamp(2rem, 5vw, 4rem); font-variant-numeric: tabular-nums; }
.process__now { font-size: clamp(5rem, 3rem + 7vw, 11rem); font-weight: 900; font-stretch: 25%; line-height: .8; color: var(--red); }
.process__total { color: var(--muted); }
@media (max-width: 899px) { .process__meter { display: none; } }
.process__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.process__step {
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: .5rem 1rem;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0;
	border-bottom: 1px solid var(--line);
	opacity: .28;
	transition: opacity .6s var(--ease);
}
.process__step.is-active { opacity: 1; }
.no-anim .process__step, .process__list:not([data-js]) .process__step { opacity: 1; }
.process__num { font-size: var(--step--1); color: var(--red); padding-top: .9em; font-variant-numeric: tabular-nums; }
.process__title { font-size: var(--step-3); line-height: 1.05; }
.process__text { grid-column: 2; max-width: 32rem; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }

/* ------------------------------------------------------------------ Projekte als Kartenstapel */
.stack { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.stack__card { position: sticky; top: calc(var(--header-h) + var(--i) * 1.1rem); }
.stack__inner {
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: center;
	padding: clamp(1rem, 2.5vw, 2rem);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--bg-2);
	transform-origin: center top;
	will-change: transform;
}
@media (min-width: 900px) { .stack__inner { grid-template-columns: 7fr 5fr; } }
.stack__text { display: grid; gap: 1rem; align-content: center; padding-right: clamp(0rem, 2vw, 2rem); }
.stack__num { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.stack__title { font-size: var(--step-3); line-height: 1.02; }
.stack__text p { color: var(--muted); max-width: 34rem; }
.stack__text .link { justify-self: start; }

.browser { display: block; border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; transition: transform .7s var(--ease); }
.browser:hover { transform: scale(.985); }
.browser__bar { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; background: #e8e6e1; }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c7c4bd; transition: background-color .3s; }
.browser:hover .browser__dots i:nth-child(1) { background: #ff5f57; }
.browser:hover .browser__dots i:nth-child(2) { background: #febc2e; }
.browser:hover .browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; max-width: 20rem; margin-inline: auto; padding: .15rem .75rem; border-radius: 5px; background: #fff; color: #6c655b; font-size: .75rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__screen { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #d9d6cf; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.browser:hover .browser__screen img { transform: scale(1.04); }

/* ------------------------------------------------------------------ Kunden */
.section--clients { overflow: hidden; padding-bottom: var(--section); }
.marquee {
	--gap: clamp(3rem, 6vw, 6rem);
	display: flex;
	gap: var(--gap);
	padding-block: clamp(1rem, 2vw, 1.5rem);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { border-top: 1px solid var(--paper-line); }
.marquee__group { display: flex; flex: none; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around; list-style: none; margin: 0; padding: 0; animation: marquee 50s linear infinite; }
.marquee--reverse .marquee__group { animation-direction: reverse; animation-duration: 58s; }
.marquee:not(.is-js) { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-js) .marquee__group { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 1.5rem; }
.marquee.is-js .marquee__group { animation: none; will-change: transform; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.marquee__item { flex: none; display: grid; place-items: center; height: clamp(48px, 6vw, 76px); }
.marquee__item img { max-height: 100%; max-width: 170px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .75; transition: filter .3s, opacity .3s, transform .4s var(--ease); }
.marquee__item:hover img { filter: none; opacity: 1; transform: scale(1.1); }

/* Kundenstimmen */
.testimonials__list { display: grid; gap: 2rem; }
@media (min-width: 900px) { .testimonials__list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; } }
.testimonial blockquote p { font-size: var(--step-2); font-weight: 320; line-height: 1.3; letter-spacing: -.005em; }
.testimonial blockquote p::before { content: "„"; }
.testimonial blockquote p::after { content: "“"; }
.testimonial figcaption { display: grid; margin-top: 1.25rem; font-size: .9375rem; }
.testimonial figcaption span { color: var(--paper-muted); }

/* ------------------------------------------------------------------ Linse */
.lens { position: relative; height: 220vh; background: var(--bg); }
.lens__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.lens__frame { position: absolute; inset: 0; clip-path: inset(30% 34% 30% 34%); will-change: clip-path; }
.lens__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); will-change: transform; }
.lens__frame::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.lens__title { position: relative; font-size: clamp(3.25rem, 1rem + 11vw, 14rem); line-height: .95; text-align: center; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.35); pointer-events: none; }
@media (max-width: 700px) { .lens__frame { clip-path: inset(28% 18% 28% 18%); } }
.section--albums { padding-top: clamp(3rem, 6vw, 5rem); }

/* ------------------------------------------------------------------ Alben */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 1.75rem); }
@media (min-width: 900px) { .album-grid--three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) {
	.album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
	.album-card__title { overflow-wrap: anywhere; hyphens: auto; }
}
.album-card[hidden] { display: none; }
.album-card__link { display: block; text-decoration: none; }
.album-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); border-radius: 4px; }
.album-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .3s; }
.album-card__link:hover .album-card__media > img:first-child { transform: scale(1.06); }
.album-card__media .is-frame { opacity: 0; }
.album-card__media .is-frame.is-on { opacity: 1; }
.album-card__count { position: absolute; left: .7rem; bottom: .7rem; z-index: 2; padding: .25rem .6rem; border-radius: 999px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .75rem; font-weight: 600; }
.album-card__dots { position: absolute; right: .7rem; bottom: 1rem; z-index: 2; display: flex; gap: 4px; opacity: 0; transition: opacity .2s; }
.album-card__dots i { width: 14px; height: 2px; background: rgba(255,255,255,.4); }
.album-card__dots i.is-on { background: #fff; }
.album-card__link:hover .album-card__dots { opacity: 1; }
.album-card__title { margin-top: 1rem; font-size: var(--step-1); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; transition: font-weight .5s var(--ease); }
.album-card__link:hover .album-card__title { font-weight: 700; }
.album-card__meta { margin-top: .3rem; font-size: var(--step--1); color: var(--muted); }
.album-card__meta a { text-decoration: none; }
.album-card__meta a:hover { color: var(--fg); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.toolbar__right { display: flex; align-items: center; gap: .75rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .9375rem; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip sup { font-size: .65em; margin-left: .15em; opacity: .6; line-height: 0; }
.sort select {
	padding: .55rem 2.2rem .55rem 1rem;
	border: 1px solid var(--line); border-radius: 999px;
	background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ece6db' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .8rem center / 14px;
	color: var(--fg); font: inherit; font-size: .9375rem;
	-webkit-appearance: none; appearance: none;
}
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.view-toggle__btn { display: grid; place-items: center; width: 2.4rem; height: 2.1rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); transition: background-color .3s, color .3s; }
.view-toggle__btn.is-active { background: var(--fg); color: var(--bg); }
.empty { color: var(--muted); padding-block: 2rem; }

/* Index-Ansicht */
.album-views[data-view-current="grid"] .album-index { display: none; }
.album-views[data-view-current="index"] .album-grid { display: none; }
.album-index { position: relative; }
.album-index__head, .album-index__row { display: grid; grid-template-columns: 1fr 14rem 5rem 4rem; gap: 1.5rem; align-items: baseline; }
.album-index__head { padding-bottom: .75rem; font-size: var(--step--1); color: var(--muted); border-bottom: 1px solid var(--fg); }
.album-index__list { list-style: none; padding: 0; }
.album-index__list li { border-bottom: 1px solid var(--line); }
.album-index__list li[hidden] { display: none; }
.album-index__row { padding: clamp(.7rem, 1.4vw, 1.1rem) 0; text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.album-index__title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); font-weight: 300; letter-spacing: -.012em; line-height: 1.1; transition: font-weight .5s var(--ease); }
.album-index__cat, .album-index__num, .album-index__year { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.album-index__row:hover { padding-left: 1rem; color: var(--red); }
.album-index__row:hover .album-index__title { font-weight: 600; }
@media (max-width: 700px) {
	.album-index__head { display: none; }
	.album-index__row { grid-template-columns: 1fr auto; gap: .25rem 1rem; }
	.album-index__cat { grid-column: 1; grid-row: 2; }
	.album-index__num { display: none; }
}

.masonry { columns: 3 300px; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.masonry__item { display: block; margin-bottom: clamp(.6rem, 1.2vw, 1rem); break-inside: avoid; overflow: hidden; border-radius: 4px; background: var(--bg-3); cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }

.album-cover { display: block; height: min(88vh, 62vw); margin-bottom: clamp(.6rem, 1.2vw, 1rem); overflow: hidden; border-radius: 4px; background: var(--bg-3); cursor: zoom-in; }
.album-cover img { width: 100%; height: 115%; object-fit: cover; }
@media (max-width: 700px) { .album-cover { height: 70vh; } }

.album-ask {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
	margin-top: clamp(3rem, 6vw, 5rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid var(--line); border-radius: 14px;
	background: var(--bg-2);
}
.album-ask p { font-size: var(--step-2); font-weight: 320; letter-spacing: -.005em; line-height: 1.25; max-width: 26ch; }

.related { margin-top: clamp(4rem, 8vw, 7rem); }
.related__title { font-size: var(--step-3); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.album-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.album-nav > div { display: grid; gap: .3rem; align-content: start; }
.album-nav__next { text-align: right; }
.album-nav__label { font-size: var(--step--1); color: var(--muted); }
.album-nav a { font-size: var(--step-2); line-height: 1.1; text-decoration: none; transition: color .3s, font-weight .5s var(--ease); }
.album-nav a:hover { color: var(--red); font-weight: 600; }

/* ------------------------------------------------------------------ Design */
.tile-grid { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); }
.tile-grid--logos { grid-template-columns: repeat(auto-fill, minmax(min(260px, 45%), 1fr)); }
.tile { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #fff; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }

/* ------------------------------------------------------------------ Referenzen */
.ref-wrap { position: relative; }
.ref-list { list-style: none; padding: 0; border-top: 1px solid var(--fg); }
.ref-list li { border-bottom: 1px solid var(--line); }
.ref { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem; padding: clamp(.9rem, 1.6vw, 1.4rem) 0; text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.ref:hover { padding-left: 1rem; color: var(--red); }
.ref__logo { display: grid; place-items: center; height: 2.5rem; }
.ref__logo img { max-height: 2.5rem; width: auto; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: .8; }
.ref__name { font-size: clamp(1.5rem, 1rem + 1.9vw, 2.9rem); font-weight: 300; line-height: 1.15; letter-spacing: -.012em; transition: font-weight .5s var(--ease); }
.ref:hover .ref__name { font-weight: 600; }
.ref__host { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 560px) { .ref { grid-template-columns: 3rem 1fr; gap: .25rem 1rem; } .ref__host { grid-column: 2; } }

/* ------------------------------------------------------------------ About */
.about-intro { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.about-intro__text { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 900px) {
	.about-intro { grid-template-columns: 4fr 8fr; gap: 3rem; }
	.about-intro--portrait { grid-template-columns: 5fr 7fr; align-items: start; gap: clamp(3rem, 6vw, 6rem); }
	.about-intro--portrait .about-portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.about-portrait { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: var(--bg-3); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .about-portrait { max-width: 30rem; } }
.about__since { font-size: var(--step-1); color: var(--muted); line-height: 1.3; }
.section--quote { padding-block: clamp(2rem, 6vw, 5rem); }
.quote p { max-width: 18ch; margin-left: auto; font-size: clamp(2.3rem, 1rem + 5.6vw, 6.75rem); font-style: oblique 10deg; line-height: 1.06; text-wrap: balance; }
@media (max-width: 899px) { .quote p { margin-left: 0; } }

.values { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } .value + .value { border-left: 1px solid var(--line); } }
.value { display: grid; gap: .9rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0rem, 2vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .value + .value { padding-left: clamp(1.5rem, 2.5vw, 2.5rem); } .value { border-bottom: 0; } }
.value__title { font-size: var(--step-2); font-weight: 350; letter-spacing: -.01em; }
.value p { color: var(--muted); max-width: 26rem; }

.timeline { list-style: none; padding: 0; border-top: 1px solid var(--fg); }
.timeline__item { display: grid; grid-template-columns: minmax(7rem, 13rem) 1fr; gap: 1.5rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-size: var(--step-2); font-weight: 800; font-stretch: 40%; color: var(--red); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline__text { font-size: var(--step-1); font-weight: 350; }

/* ------------------------------------------------------------------ FAQ */
.faq__more { margin-top: 1.5rem; color: var(--muted); max-width: 20rem; }
.faq__more a { color: inherit; }
.section--paper .faq__more { color: var(--paper-muted); }
.faq__list { border-top: 1px solid currentColor; }
.faq__item { border-bottom: 1px solid var(--line); }
.section--paper .faq__item { border-color: var(--paper-line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.1rem, 2vw, 1.5rem) 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 350; letter-spacing: -.005em; line-height: 1.25; cursor: pointer; list-style: none; transition: color .3s; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--red); }
.faq__icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; border-radius: 50%; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq__a { padding: 0 3.5rem 1.6rem 0; }
.faq__a p { max-width: 40rem; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.section--paper .faq__a p { color: var(--paper-muted); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ------------------------------------------------------------------ Kontakt */
.mega-mail { padding-top: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.mega-mail__link {
	display: inline-block; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
	font-size: clamp(1.9rem, .4rem + 6.6vw, 8.5rem);
	line-height: 1.05;
	overflow-wrap: anywhere;
	background-image: linear-gradient(var(--red), var(--red));
	background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
	transition: background-size .8s var(--ease), color .4s, font-weight .6s var(--ease);
	padding-bottom: .05em;
}
.mega-mail__link:hover { background-size: 100% 2px; color: var(--red); font-weight: 500; }
.mega-mail__hint { margin-top: .75rem; color: var(--muted); font-size: .9375rem; }
.mega-mail__hint a { color: var(--fg); }

.contact { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) { .contact { grid-template-columns: 4fr 8fr; } }
.contact__info { display: grid; gap: 2.5rem; align-content: start; }
.contact__quick { display: grid; gap: .75rem; }
.quick { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .3s, background-color .3s; }
.quick:hover { border-color: var(--fg); background: var(--bg-2); }
.quick .icon { width: 1.5rem; height: 1.5rem; color: var(--red); }
.quick span { display: grid; }
.quick small { color: var(--muted); font-size: var(--step--1); }
.contact__block { display: grid; gap: .75rem; }
.contact__block p, .contact__block address { color: var(--muted); }
.contact__label { font-size: var(--step-1); font-weight: 500; }

.form { display: grid; gap: 1.75rem; align-content: start; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .3rem; }
.field label, .field legend { font-size: .875rem; color: var(--muted); }
.req { font-size: var(--step--1); margin-left: .35rem; opacity: .7; }
.field input[type="text"], .field input[type="email"], .field textarea {
	width: 100%; padding: .75rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	background: transparent; color: var(--fg); font: inherit; font-size: var(--step-1); font-weight: 350;
	transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:hover, .field textarea:hover { border-bottom-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; min-height: 7rem; }
.field--chips { margin: 0; padding: 0; border: 0; gap: 1rem; }
.field--chips legend { margin-bottom: 1rem; }
.chipset { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.chipset + .chipset { margin-top: .5rem; }
.chipset__label { width: 100%; font-size: var(--step--1); color: var(--muted); }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; transition: border-color .3s, background-color .3s, color .3s; }
.pick:hover span { border-color: var(--fg); }
.pick input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.pick input:checked + span::before { content: ""; width: .55rem; height: .3rem; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.pick input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--red); }
.field--check label { font-size: .9375rem; line-height: 1.5; }
.field--check a { color: var(--fg); }
.form .btn { justify-self: start; }
.notice { padding: 1rem 1.25rem; border-radius: 8px; font-weight: 500; }
.notice--ok { background: var(--fg); color: var(--bg); }
.notice--error { background: rgba(227,65,43,.12); color: #ff8a78; outline: 1px solid var(--red); }

.map__consent { position: relative; display: grid; place-items: center; min-height: clamp(320px, 45vw, 560px); padding: var(--gutter); background: repeating-linear-gradient(0deg, transparent 0 47px, var(--line) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, var(--line) 47px 48px), var(--bg-2); }
.map__box { display: grid; gap: 1.25rem; max-width: 30rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.map__consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ------------------------------------------------------------------ Abschluss-Band */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta__ticker { display: flex; white-space: nowrap; padding-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(3rem, 1rem + 8vw, 9.5rem); font-weight: 900; font-stretch: 30%; text-transform: uppercase; line-height: 1; color: rgba(255,255,255,.2); user-select: none; }
.cta__ticker span { display: inline-flex; align-items: center; flex: none; animation: tickerText 34s linear infinite; }
.cta__ticker i { display: inline-block; width: .32em; height: .32em; margin: 0 .35em; border-radius: 50%; background: rgba(255,255,255,.2); }
@keyframes tickerText { to { transform: translateX(-100%); } }
.cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6.5rem); }
.cta__heading { max-width: 14ch; font-size: var(--step-4); line-height: 1; }

/* ------------------------------------------------------------------ Fußzeile */
.site-footer { background: var(--bg); color: var(--fg); padding-top: clamp(4rem, 8vw, 7rem); font-size: .9375rem; overflow: hidden; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer__top { display: grid; gap: .5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.site-footer__ask { color: var(--muted); font-size: var(--step-1); }
.site-footer__mail { justify-self: start; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: clamp(2rem, .5rem + 5.6vw, 6.5rem); line-height: 1.05; overflow-wrap: anywhere; transition: color .4s, font-weight .6s var(--ease); }
.site-footer__mail:hover { color: var(--red); font-weight: 500; }
.site-footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__title { font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.site-footer .plain { display: grid; gap: .2rem; }
.social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.social a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.social a:hover { background: var(--fg); color: var(--bg) !important; border-color: var(--fg); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--step--1); }
.site-footer__clock { font-variant-numeric: tabular-nums; }
.legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; }

/* ------------------------------------------------------------------ Mobile Anfrage-Leiste */
.dock { display: none; }
@media (max-width: 860px) {
	.dock {
		position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
		display: flex; gap: .4rem; padding: .35rem;
		border: 1px solid var(--line); border-radius: 999px;
		background: rgba(13,12,11,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		transform: translate(-50%, 160%);
		transition: transform .6s var(--ease);
	}
	.dock.is-visible { transform: translate(-50%, 0); }
	.dock__btn { display: inline-grid; place-items: center; min-width: 3rem; height: 3rem; padding: 0 1rem; border-radius: 999px; background: var(--bg-3); color: var(--fg); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
	.dock__btn--main { background: var(--red); color: #fff; padding: 0 1.4rem; }
	.dock__btn .icon { width: 1.3rem; height: 1.3rem; }
	body.nav-open .dock { transform: translate(-50%, 160%); }
}

/* ------------------------------------------------------------------ Hinweis-Toast */
.toast {
	position: fixed; left: 50%; bottom: 2rem; z-index: 460;
	padding: .8rem 1.25rem; border-radius: 999px;
	background: var(--fg); color: var(--bg); font-weight: 600; font-size: .9375rem;
	transform: translate(-50%, 200%); opacity: 0;
	transition: transform .5s var(--ease), opacity .3s;
	pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------------------------------------------ Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 7, 6, .97); color: #fff; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__figure { display: grid; justify-items: center; gap: .75rem; padding: 4rem clamp(1rem, 6vw, 5rem) .5rem; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 11rem); width: auto; object-fit: contain; animation: lbImg .5s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.98); } }
.lightbox__count { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.lightbox__strip { display: flex; gap: .4rem; max-width: 100%; padding: .75rem 1rem 1.25rem; overflow-x: auto; scrollbar-width: none; }
.lightbox__strip::-webkit-scrollbar { display: none; }
.lightbox__strip button { flex: none; width: 3.25rem; height: 3.25rem; padding: 0; border: 1px solid transparent; border-radius: 4px; overflow: hidden; background: var(--bg-3); cursor: pointer; opacity: .4; transition: opacity .3s, border-color .3s; }
.lightbox__strip button.is-active, .lightbox__strip button:hover { opacity: 1; border-color: #fff; }
.lightbox__strip img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .3s; }
.lightbox__btn:hover { background: rgba(255,255,255,.12); }
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 45%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 45%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { display: none; } }

/* ------------------------------------------------------------------ Mauszeiger: Punkt, wird über Links zum Ring, über Bildern zur Beschriftung */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.cursor {
		--s: 10px;
		position: fixed; top: 0; left: 0; z-index: 450;
		display: grid; place-items: center;
		width: var(--s); height: var(--s);
		margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
		border-radius: 50%;
		background: #fff;
		pointer-events: none;
		mix-blend-mode: difference;
		opacity: 0;
		transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .2s, background-color .3s, border-color .3s;
		border: 1px solid transparent;
	}
	.cursor.is-visible { opacity: 1; }
	.cursor.is-link { --s: 46px; background: transparent; border-color: #fff; }
	.cursor.is-media { --s: 96px; background: var(--red); mix-blend-mode: normal; }
	.cursor__label { font-size: .75rem; font-weight: 600; color: #fff; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
	.cursor.is-media .cursor__label { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Seitenwechsel */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .4s var(--ease) both vtOut; }
::view-transition-new(root) { animation: .5s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-2%); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(2%); } }

.post-list { list-style: none; padding: 0; border-top: 1px solid var(--fg); }
.post-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.post-list time { color: var(--muted); font-size: var(--step--1); }

/* ------------------------------------------------------------------ Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	body::after { animation: none; }
	.lens { height: auto; }
	.lens__sticky { position: relative; height: 80vh; }
	.lens__frame { clip-path: none; }
	.lens__frame img { transform: none; }
	.hgallery__img img { transform: none; }
	.process__step { opacity: 1; }
	.marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
	.marquee__group { flex-wrap: wrap; justify-content: center; min-width: 0; }
	.marquee__group[aria-hidden] { display: none; }
	@view-transition { navigation: none; }
}

@media print {
	.site-header, .site-footer, .cta, .map, .lightbox, .cursor, .loader, .dock, .progress, body::after { display: none !important; }
	body { background: #fff; color: #000; }
}
