/* Stage Production – Haupt-Stylesheet
   Eine Schriftfamilie (Systemschrift), dunkles Anthrazit, Sandbeige, Cremeflächen. */

:root {
	--ink: #1d1d1f;
	--ink-2: #2a2a2d;
	--sand: #c8b49a;
	--sand-soft: #e6dccd;
	--sand-dark: #6b5538;
	--cream: #f5f0e8;
	--text-dark: #f5f5f7;
	--muted-dark: #a1a1a6;
	--muted-light: #5e5e63;
	--line-dark: rgba(255, 255, 255, 0.12);
	--line-light: rgba(29, 29, 31, 0.12);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--radius: 16px;
	--max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base, 16px);
	line-height: 1.6;
	color: var(--text-dark);
	background: var(--ink);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* Layout */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.narrow { max-width: 820px; }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-dark { background: var(--ink); color: var(--text-dark); }
.section-light { background: var(--cream); color: var(--ink); }

/* Typografie */
.eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sand);
	margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--sand-dark); }
.h2 {
	font-size: var(--fs-h2, 40px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin-bottom: 1rem;
}
.h3 {
	font-size: var(--fs-h3, 20px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	margin-bottom: 0.5rem;
}
.lead { font-size: var(--fs-lead, 18px); line-height: 1.6; margin-top: 1.25rem; color: var(--muted-dark); }
.section-light .lead { color: var(--muted-light); }
.section-note { margin-top: 0.9rem; color: var(--muted-dark); max-width: 620px; font-size: 0.92rem; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
.section-head .h2 { margin-bottom: 0; }

/* Hilfsklassen */
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--sand); color: var(--ink); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; border-radius: 4px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 22px; border-radius: 999px;
	font: inherit; font-size: 0.95rem; font-weight: 500; text-decoration: none;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
	border: 1px solid transparent; cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--sand); color: var(--ink); }
.btn-primary:hover { background: var(--sand-soft); }
.btn-ghost { background: transparent; color: var(--text-dark); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--text-dark); background: rgba(255,255,255,0.06); }

/* Header */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: 60px;
	transition: background-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(29, 29, 31, 0.72);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; display: inline-flex; align-items: center; font-weight: 600; letter-spacing: -0.01em; }
.brand .custom-logo { max-height: 36px; width: auto; }
.brand-name { font-size: 0.98rem; }

.main-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 28px); }
.main-nav a { text-decoration: none; font-size: 0.82rem; color: rgba(245,245,247,0.82); transition: color 0.3s var(--ease); }
.main-nav a:hover { color: var(--text-dark); }
.main-nav .nav-cta { color: var(--ink); background: var(--sand); padding: 7px 14px; border-radius: 999px; font-weight: 500; }
.main-nav .nav-cta:hover { background: var(--sand-soft); color: var(--ink); }
.main-nav .lang-switch a {
	border: 1px solid var(--line-dark); padding: 5px 11px; border-radius: 999px; color: var(--text-dark);
}
.main-nav .lang-switch a:hover { border-color: var(--sand); color: var(--sand); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: var(--text-dark); }
.menu-toggle-bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.menu-toggle-bar:nth-of-type(1) { top: 17px; }
.menu-toggle-bar:nth-of-type(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
	padding: 120px 0 clamp(56px, 8vh, 96px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media::after {
	content: ""; position: absolute; inset: 0; opacity: var(--hero-overlay, 1);
	background: linear-gradient(180deg, rgba(24,24,26,0.25) 0%, rgba(24,24,26,0.5) 45%, rgba(24,24,26,0.96) 100%);
}
.hero-img, .project-img, .about-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img { transform: scale(1.04); transition: transform 2.4s var(--ease); }
.is-loaded .hero-img { transform: scale(1); }
.hero-content { max-width: 880px; }
.hero-title {
	font-size: var(--fs-h1, 60px);
	font-weight: 600; letter-spacing: -0.035em; line-height: 1.06;
	margin-bottom: 1.25rem;
}
.hero-text { font-size: var(--fs-lead, 18px); max-width: 600px; color: rgba(245,245,247,0.86); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }

/* Leistungen: 1 Spalte mobil, 2 Tablet, 4 Desktop */
.service-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
.service-card { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.service-card:hover .service-num { color: var(--sand); }
.service-num { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted-dark); letter-spacing: 0.08em; margin-bottom: 0.6rem; transition: color 0.4s var(--ease); }
.service-card p { color: var(--muted-dark); font-size: 0.92rem; max-width: 520px; }

/* Arbeitsweise */
.process-list { display: grid; grid-template-columns: 1fr; }
.process-step {
	padding: 22px 0; border-top: 1px solid var(--line-light);
	display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start;
}
.process-num {
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light);
	display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; color: var(--sand-dark);
	grid-row: span 2;
}
.process-step .h3 { margin-bottom: 0.3rem; }
.process-step p { color: var(--muted-light); font-size: 0.92rem; }

/* Zielgruppen */
.audience-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.audience-card {
	background: #ffffff; border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
	box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 36px rgba(29,29,31,0.06);
	transition: box-shadow 0.6s var(--ease);
}
.audience-card:hover { box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 44px rgba(29,29,31,0.10); }
.audience-card p { color: var(--muted-light); font-size: 0.93rem; }

/* Projekte */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.project-card { margin: 0; }
.project-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.project-img { aspect-ratio: 4 / 3; transition: transform 1.4s var(--ease); }
.project-card:hover .project-img { transform: scale(1.03); }
.project-card figcaption { padding-top: 16px; }
.project-card p { color: var(--muted-dark); font-size: 0.9rem; }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1fr; }
.about-text { max-width: 760px; }
.about-text p { color: var(--muted-light); margin-top: 0.9rem; font-size: 0.97rem; max-width: 640px; }

/* Kontakt: alle Werte gleich groß */
.contact .contact-list { margin: 2.25rem 0; border-top: 1px solid var(--line-dark); }
.contact-row {
	display: grid; grid-template-columns: 1fr; gap: 2px;
	padding: 16px 0; border-bottom: 1px solid var(--line-dark);
}
.contact-row dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-dark); font-weight: 600; }
.contact-row dd { font-size: 1.05rem; font-weight: 500; color: var(--text-dark); }
.contact-row dd a { text-decoration: none; transition: color 0.3s var(--ease); }
.contact-row dd a:hover { color: var(--sand); }

/* Footer */
.site-footer { background: var(--ink-2); color: var(--muted-dark); padding-top: 60px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
.footer-grid ul { display: grid; gap: 6px; margin-top: 8px; }
.footer-grid a { text-decoration: none; color: var(--muted-dark); transition: color 0.3s var(--ease); }
.footer-grid a:hover { color: var(--text-dark); }
.footer-brand { color: var(--text-dark); font-weight: 600; font-size: 1rem; }
.footer-title { color: var(--text-dark); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-muted { color: var(--muted-dark); margin-top: 6px; max-width: 300px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 28px; font-size: 0.8rem; }

/* Rechtstexte */

/* Tablet */
@media (min-width: 640px) {
	.audience-grid { grid-template-columns: repeat(2, 1fr); }
	.project-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid { grid-template-columns: repeat(2, 1fr); column-gap: 36px; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 960px) {
	.menu-toggle { display: none; }
	.main-nav { display: block; }
	.audience-grid { grid-template-columns: repeat(3, 1fr); }
	.project-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.process-list { grid-template-columns: repeat(5, 1fr); }
	.process-step { display: block; padding: 28px 22px 0 0; }
	.process-num { margin-bottom: 18px; }
	.process-step p { font-size: 0.88rem; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
	.service-grid { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
	.service-card:nth-child(n+5) { border-bottom: 0; }
}
@media (min-width: 960px) and (max-width: 1099px) {
	.service-grid { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}

/* Mobile Navigation (unter 960 px) */
@media (max-width: 959px) {
	.menu-toggle { display: block; }
	.main-nav {
		position: fixed; inset: 60px 0 0 0; background: rgba(29,29,31,0.98);
		padding: 32px clamp(20px,5vw,48px); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
	.main-nav li { width: 100%; border-bottom: 1px solid var(--line-dark); }
	.main-nav a { display: block; padding: 16px 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; color: var(--text-dark); }
	.main-nav .nav-cta { display: inline-block; margin-top: 20px; border: 0; font-size: 0.95rem; padding: 12px 22px; border-bottom: 0; }
	.main-nav .lang-switch { border-bottom: 0; }
	.main-nav .lang-switch a { display: inline-block; margin-top: 16px; padding: 8px 16px; font-size: 0.95rem; }
	.hero { padding-top: 110px; }
}

@media (max-width: 639px) {
	.hero-title { font-size: min(var(--fs-h1, 60px), 12vw); }
	.h2 { font-size: min(var(--fs-h2, 40px), 9vw); }
	.h3 { font-size: min(var(--fs-h3, 20px), 5vw); }
}

/* Einblendungen beim Scrollen (nur mit JavaScript) */
.js .reveal {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero-img, .project-img { transform: none !important; }
}

/* Ausrichtung mittig (Customizer) */
.is-center { text-align: center; }
.is-center .h2, .is-center .lead, .is-center .hero-text, .is-center .section-note { margin-left: auto; margin-right: auto; }
.is-center .hero-actions, .is-center .eyebrow { justify-content: center; }
.is-center .hero-actions { display: flex; justify-content: center; }
.is-center .service-card, .is-center .process-step, .is-center .audience-card, .is-center .contact-row { text-align: center; }
.is-center .contact-row { display: grid; justify-items: center; }
.is-center .about-text p { margin-left: auto; margin-right: auto; }

/* Rechtsseiten im gleichen Design wie die Startseite */
.legal-wrap { padding: 140px 0 110px; background: var(--ink); color: var(--text-dark); min-height: 100vh; }
.legal { max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.legal-title { color: var(--text-dark); font-size: var(--fs-h1, 60px); font-size: min(var(--fs-h1, 60px), 12vw); line-height: 1.08; margin-bottom: 2.5rem; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line-dark); }
.legal-section h2 { color: var(--text-dark); font-size: var(--fs-h3, 20px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.legal-content { color: var(--muted-dark); font-size: var(--fs-base, 16px); }
.legal-content a { color: var(--sand); }
.legal-content p { margin: 0 0 0.9rem; }
.legal-content ul { margin: 0 0 0.9rem 1.1rem; list-style: disc; }
.legal-content li { margin-bottom: 0.3rem; }
.legal-table { display: grid; gap: 0; }
.legal-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.legal-row dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-dark); font-weight: 600; }
.legal-row dd { color: var(--text-dark); margin: 0; }
.legal-content .btn-ghost { margin-top: 12px; color: var(--text-dark); border-color: rgba(255,255,255,0.4); }
.legal-content .btn-ghost:hover { color: var(--text-dark); border-color: var(--text-dark); background: rgba(255,255,255,0.06); }
.legal-hint { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 1.5rem; }
@media (min-width: 640px) { .legal-row { grid-template-columns: 200px 1fr; gap: 16px; } }
