body {
	margin: 0;
	padding: 0;
	padding-bottom: 10vh;
	width: 100vw;
	overflow-y: auto;
	box-sizing: border-box;
	--bg-fade: 0;
	background: url('img/backgroundimggreen.png') no-repeat center center fixed;
	background-size: center;
	font-family: Arial, Helvetica, sans-serif;

	cursor: url("../assets/img/pixelpointer.svg") 16 16, auto;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgb(244, 244, 244);
	opacity: var(--bg-fade);
	pointer-events: none;
	z-index: 10;
}

.main-heading {
	position: sticky;
	top: 0;
	margin-top: 40vh;
	padding: 0.9rem 1.8rem;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	font-size: clamp(3rem, 6vw, 5.5rem);
	color: #2c1803;
	letter-spacing: -0.1em;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
	z-index: 20;


	transition: font-size 0.28s ease, padding 0.28s ease, letter-spacing 0.4s ease;
}

.main-heading.is-sticky {
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	padding: 0.5rem 1rem;
	letter-spacing: -0.03em;
}

.main-heading:hover {
	letter-spacing: 0.3em;
}
.footer {
	position: fixed;
	left: 2vw;
	bottom: 2vw;
	color: rgb(44, 24, 3);
	font-size: clamp(0.9rem, 1vw, 1.1rem);
	opacity: 0.85;
	z-index: 20;
   
}

.footer a {
	color: rgb(44, 24, 3);
	text-decoration: none;
	margin-right: 1vw;
	transition: text-decoration 0.2s;
}
.footer a:hover {
	text-decoration: underline;
}

.section-divider {
	display: flex;
	justify-content: space-between;
	padding: 0 2vw;
	margin: 3.5vh 0;
	color: #2c1803;
	font-family: 'Roboto Mono', monospace;
	font-size: 1rem;
	position: relative;
	z-index: 15;
}

/* ── Gallery band ───────────────────────────────────── */
.gallery-scroll-wrapper {
	position: relative;
	height: 380vh;
	margin-top: 3.5vh;
	margin-bottom: 3.5vh;
	z-index: 15;
}

.gallery-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.gallery {
	display: flex;
	flex-direction: row;
	gap: 1.2rem;
	padding: 0 1.2rem;
	align-items: center;
	will-change: transform;
	flex-shrink: 0;
}

.gallery-item {
	position: relative;
	flex-shrink: 0;
	display: inline-block;
}

.corner {
	position: absolute;
	font-family: 'Roboto Mono', monospace;
	font-size: 1rem;
	color: #2c1803;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	line-height: 1;
}

.gallery-item:hover .corner { opacity: 1; }

.corner-tl { top:    -1.4rem; left:  -1.4rem; }
.corner-tr { top:    -1.4rem; right: -1.4rem; }
.corner-bl { bottom: -1.4rem; left:  -1.4rem; }
.corner-br { bottom: -1.4rem; right: -1.4rem; }

.gallery-img {
	height: 62vh;
	width: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.gallery-img:hover {
	transform: scale(1.03);
}

.gallery:has(.gallery-img:hover) .gallery-img:not(:hover) {
	opacity: 0.45;
	filter: grayscale(30%);
	transition: opacity 0.3s ease, filter 0.3s ease;
}

/* ── About ───────────────────────────────────────────── */
.about {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0 2vw 10vh;
	margin-top: -8vh;
	position: relative;
	z-index: 15;
    
}

.about-text {
	grid-column: 1 / 2;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
    margin-top: 40vw;
    margin-bottom: 5vh;
}

.about-text p {
	
	font-size: clamp(0.85rem, 1vw, 1rem);
	line-height: 1.7;
	color: #2c1803;
	font-family: 'Roboto Mono', monospace;
}

/* ── Film ───────────────────────────────────────────────*/
.film {
	width: 100%;
	position: relative;
	z-index: 15;
	margin: 3.5vh 0;
}

.film-video {
	width: 100%;
	max-height: 95vh;
	object-fit: cover;
	display: block;
}

.film-nav {
	position: absolute;
	inset: 0 0 3.5rem 0;
	display: grid;
	grid-template-columns: 1fr minmax(180px, 22vw) 1fr;
	z-index: 16;
	pointer-events: none;
}

.film-zone {
	border: 0;
	background: transparent;
	color: #2c1803;
	font-family: 'Roboto Mono', monospace;
	font-size: clamp(0.8rem, 0.9vw, 1rem);
	text-transform: lowercase;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: auto;
	display: flex;
	align-items: center;
	padding: 0 1.4rem;
}

.film-zone span {
	opacity: 0;
	transition: opacity 0.2s ease;
	background: rgba(244, 244, 244, 0.6);
	padding: 0.2rem 0.5rem;
}

.film-zone:hover,
.film-zone:hover span {
	opacity: 1;
}

.film-zone-left {
	grid-column: 1;
	justify-content: flex-start;
	cursor: w-resize;
}

.film-zone-right {
	grid-column: 3;
	justify-content: flex-end;
	cursor: e-resize;
}

.section-divider-after-film {
	margin: 3.5vh 0;
}

.archival {
	width: 100%;
	padding: 0 2vw;
	margin: 3.5vh 0;
	box-sizing: border-box;
	position: relative;
	z-index: 15;
}

.archival-img {
	width: 100%;
	max-height: 80vh;
	object-fit: cover;
	display: block;
}

.fer-stack-scroll {
	position: relative;
	height: 300vh;
	z-index: 15;
	margin: 3.5vh 0;
}

.fer-stack-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2vw;
	box-sizing: border-box;
}

.fer-stack {
	position: relative;
	width: clamp(220px, 30vw, 430px);
	aspect-ratio: 3 / 4;
}

.fer-card {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transform: translate(40px, 70px) rotate(-8deg) scale(0.94);
	will-change: transform, opacity;
	box-shadow: 0 18px 30px rgba(44, 24, 3, 0.16);
	pointer-events: auto;
	cursor: pointer;
}

.section-divider-after-stack {
	margin: 3.5vh 0;
}

.film-web {
	margin-bottom: 3.5vh;
}
/* ── Instagram Section ────────────────────────────────────*/
.instagram-section {
	width: 100%;
	margin: 3.5vh 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	z-index: 15;
	display: flex;
	justify-content: center;
	background: white;
}

.instagram-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow-y: auto;
	max-height: 150vh;
}

.instagram-container iframe {
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 950px;
	border: none;
	border-radius: 0;
}

.section-divider-before-instagram {
	margin: 3.5vh 0;
}
/* ── Responsive ─────────────────────────────────────────*/
@media (max-width: 1440px) {
	.main-heading {
		margin-top: 38vh;
		font-size: clamp(2.8rem, 6.4vw, 5rem);
	}
}

@media (max-width: 1200px) {
	.main-heading {
		margin-top: 36vh;
		font-size: clamp(2.4rem, 6.8vw, 4.4rem);
		padding: 0.75rem 1.4rem;
	}

	.footer {
		left: 2.5vw;
		bottom: 2.5vw;
	}
}

@media (max-width: 1024px) {
	.main-heading {
		margin-top: 34vh;
		font-size: clamp(2.1rem, 7.2vw, 3.8rem);
		letter-spacing: -0.08em;
	}
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	font-family: 'Roboto Mono', monospace;
}

.modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-overlay {
	position: absolute;
	inset: 0;
	background: white;
	animation: fadeIn 0.3s ease;
}

.modal-content {
	position: relative;
	background: white;
	width: 100%;
	height: 100%;
	padding: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: slideUp 0.3s ease;
	z-index: 1001;
}

.modal-close {
	position: fixed;
	top: 2rem;
	right: 2rem;
	background: none;
	border: none;
	font-size: 2rem;
	font-family: 'Roboto Mono', monospace;
	font-weight: 100;
	color: #2c1803;
	cursor: pointer;
	padding: 0;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
	z-index: 1002;
}

.modal-close:hover {
	opacity: 0.6;
}

.impressum-info {
	display: flex;
	flex-direction: column;
	color: #2c1803;
	font-family: 'Roboto Mono', monospace;
}

.impressum-info p:first-child {
	text-align: left;
	margin: 0 0 1.2rem 0;
}

.impressum-info p:not(:first-child) {
	text-align: right;
	margin: 0.3rem 0;
}

.impressum-info h2 {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
	font-weight: normal;
}

.impressum-info p {
	margin: 0.8rem 0;
	font-size: 1.1rem;
	line-height: 1.6;
}

.impressum-info a {
	color: #2c1803;
	text-decoration: none;
	border-bottom: 1px solid #2c1803;
	transition: opacity 0.2s ease;
}

.instagram-link {
	border-bottom: 1px solid #2c1803;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
}

.instagram-link svg {
	display: block;
	stroke: #2c1803;
}

.instagram-link:hover svg {
	opacity: 0.6;
}

.datenschutz-info {
	display: flex;
	flex-direction: column;
	color: #2c1803;
	font-family: 'Roboto Mono', monospace;
	line-height: 1.6;
	max-width: 33vw;
	text-align: center;
}

.datenschutz-info h2 {
	margin: 0 0 1.5rem 0;
	font-size: 1.1rem;
	font-weight: normal;
}

.datenschutz-info p {
	margin: 0.8rem 0;
	font-size: 1.1rem;
}

.datenschutz-info a {
	color: #2c1803;
	text-decoration: none;
	border-bottom: 1px solid #2c1803;
	transition: opacity 0.2s ease;
}

.datenschutz-info a:hover {
	opacity: 0.6;
}

.impressum-info a:hover {
	opacity: 0.6;
}

.impressum-info .socials {
	margin-top: 2rem;
	font-size: 1rem;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
