/* ==========================================================================
   Gert Reinhardt – Fotografie · Template »Dunkelkammer«
   ohne Framework-Abhängigkeit (Bootstrap nur für Formulare)
   ========================================================================== */

/* Schriften (lokal, SIL OFL) ------------------------------------------------ */
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }

/* Design-Variablen ---------------------------------------------------------- */
:root {
	--gr-ink:      #0d0d0e;  /* Hintergrund: Dunkelkammer */
	--gr-ink-2:    #151517;
	--gr-ink-3:    #1e1e21;
	--gr-paper:    #f1ede6;  /* warmes Papierweiß */
	--gr-muted:    #9b968e;
	--gr-line:     rgba(241, 237, 230, 0.14);
	--gr-accent:   #e34b26;  /* Logo-Orange / Rotlicht der Dunkelkammer */

	--gr-serif: "Lora", Georgia, "Times New Roman", serif;
	--gr-sans:  "Poppins", "Segoe UI", system-ui, sans-serif;
	--gr-mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--gr-max: 1320px;
	--gr-pad: clamp(1.25rem, 4vw, 3.5rem);
	--gr-header-h: 84px;
	--gr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--gr-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	/* Bootstrap (dunkles Farbschema) an das Template anpassen */
	--bs-body-bg: var(--gr-ink);
	--bs-body-color: var(--gr-paper);
	--bs-border-color: var(--gr-line);
	--bs-link-color-rgb: 241, 237, 230;
	--bs-link-hover-color-rgb: 227, 75, 38;
	--bs-secondary-bg: var(--gr-ink-2);
	--bs-tertiary-bg: var(--gr-ink-3);
}
[data-bs-theme="dark"] { --bs-body-bg: var(--gr-ink); --bs-body-color: var(--gr-paper); }

/* Grundlagen ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--gr-header-h); -webkit-text-size-adjust: 100%; }
body.site {
	margin: 0;
	background: var(--gr-ink);
	color: var(--gr-paper);
	font: 300 1.0625rem/1.75 var(--gr-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
.site ::selection { background: var(--gr-accent); color: #fff; }
.site img { max-width: 100%; height: auto; display: block; }
.site a { color: inherit; text-decoration: none; }
.site :focus-visible { outline: 2px solid var(--gr-accent); outline-offset: 4px; }
.site p { margin: 0 0 1.2em; }

.site h1, .site h2, .site h3, .site h4 {
	margin: 0 0 0.5em;
	font-family: var(--gr-serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--gr-paper);
}
.site h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.5rem); }
.site h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 4.2rem); }
.site h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.site h4 { font-size: 1.3rem; }
.site :is(h1, h2, h3, h4) em { font-style: italic; color: var(--gr-accent); }

.gr-wrap { width: 100%; max-width: var(--gr-max); margin-inline: auto; padding-inline: var(--gr-pad); }

.gr-skip {
	position: fixed; left: 1rem; top: -100px; z-index: 3000;
	padding: 0.7rem 1.1rem; background: var(--gr-accent); color: #fff !important;
}
.gr-skip:focus { top: 1rem; }

.visually-hidden {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* Filmkorn über allem – ganz dezent */
.has-grain::after {
	content: ""; position: fixed; inset: -50%; z-index: 2500; pointer-events: none;
	opacity: 0.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: gr-grain 0.9s steps(4) infinite;
}
@keyframes gr-grain {
	0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
	50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); }
}

/* Verschluss-Intro: zwei Lamellen öffnen sich ---------------------------- */
.gr-shutter { display: none; }
.gr-intro .gr-shutter {
	display: block; position: fixed; inset: 0; z-index: 2800; pointer-events: none;
}
.gr-intro .gr-shutter span {
	position: absolute; left: 0; right: 0; height: 50.5%;
	background: var(--gr-ink);
	animation: gr-shutter-top 1.1s var(--gr-ease-in-out) 0.35s forwards;
}
.gr-intro .gr-shutter span:first-child { top: 0; border-bottom: 1px solid var(--gr-accent); }
.gr-intro .gr-shutter span:last-child  { bottom: 0; border-top: 1px solid var(--gr-accent); animation-name: gr-shutter-bottom; }
@keyframes gr-shutter-top    { to { transform: translateY(-101%); } }
@keyframes gr-shutter-bottom { to { transform: translateY(101%); } }

/* Lesefortschritt oben */
.gr-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 2000;
	background: var(--gr-accent); transform-origin: 0 50%; transform: scaleX(var(--gr-scroll, 0));
}

/* Kopfzeile ---------------------------------------------------------------- */
.gr-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1500;
	padding-top: env(safe-area-inset-top, 0px);
	transition: transform 0.6s var(--gr-ease);
}
.gr-nav-open .gr-header { transform: none; }
.gr-header__inner {
	display: flex; align-items: center; gap: 2rem;
	max-width: var(--gr-max); height: var(--gr-header-h);
	margin-inline: auto; padding-inline: var(--gr-pad);
}
/* Milchglas als eigene Hintergrundebene: direkt auf der Kopfzeile würde
   backdrop-filter das Vollbild-Menü auf die Kopfzeilenhöhe einsperren. */
.gr-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(13, 13, 14, 0.78);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 var(--gr-line);
	opacity: 0; transition: opacity 0.4s ease;
}
.gr-header.is-scrolled::before,
.is-subpage .gr-header::before { opacity: 1; }
.gr-nav-open .gr-header::before { opacity: 0; }
.gr-header.is-hidden { transform: translateY(-110%); }

.gr-brand { display: inline-flex; align-items: baseline; gap: 0.7rem; margin-right: auto; position: relative; z-index: 2; }
.gr-brand__name { font-family: var(--gr-serif); font-size: 1.45rem; letter-spacing: -0.01em; white-space: nowrap; }
.gr-brand__tag {
	font-size: 0.68rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gr-muted);
	padding-left: 0.7rem; border-left: 1px solid var(--gr-line);
}
.gr-brand { align-items: center; }
.site .gr-brand__logo { display: block; height: 44px; width: auto; max-width: none; transition: transform 0.5s var(--gr-ease), filter 0.4s ease; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)); }
.site .gr-brand:hover .gr-brand__logo { transform: scale(1.03); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45)) brightness(1.08); }
.gr-brand:hover .gr-brand__name { font-style: italic; }

/* Hauptmenü (Desktop) */
.gr-nav .mod-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.gr-nav .mod-menu > li { position: relative; display: flex; align-items: center; margin: 0; }
/* Aufklapp-Knopf bei Menüeinträgen mit Unterpunkten */
.gr-nav .mod-menu > li > button {
	display: inline-grid; place-items: center; width: 22px; height: 22px; margin: 0 0 0 -0.55rem; padding: 0;
	border: 0; background: none; color: rgba(241, 237, 230, 0.6); font-size: 0.65rem; line-height: 1; cursor: pointer;
}
.gr-nav .mod-menu > li > button:hover { color: var(--gr-accent); }
.gr-nav .mod-menu > li > a,
.gr-nav .mod-menu > li > span {
	position: relative; display: block; padding: 0.6rem 0.9rem; white-space: nowrap;
	font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
	color: rgba(241, 237, 230, 0.78); transition: color 0.3s ease;
}
.gr-nav .mod-menu > li > a::after {
	content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 1px;
	background: var(--gr-accent); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--gr-ease);
}
.gr-nav .mod-menu > li > a:hover,
.gr-nav .mod-menu > li.active > a,
.gr-nav .mod-menu > li.current > a { color: var(--gr-paper); }
.gr-nav .mod-menu > li > a:hover::after,
.gr-nav .mod-menu > li.active > a::after { transform: scaleX(1); transform-origin: left; }

.gr-nav .mod-menu > li > ul {
	position: absolute; z-index: 5; top: 100%; left: 0.4rem; min-width: 230px; margin: 0; padding: 0.6rem 0; list-style: none;
	background: var(--gr-ink-2); border: 1px solid var(--gr-line);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.4s var(--gr-ease), visibility 0.3s;
}
.gr-nav .mod-menu > li:hover > ul,
.gr-nav .mod-menu > li:focus-within > ul { display: block !important; opacity: 1; visibility: visible; transform: none; }
.gr-nav .mod-menu > li > ul li { margin: 0; }
.gr-nav .mod-menu > li > ul a { display: block; padding: 0.45rem 1.1rem; font-size: 0.9rem; color: rgba(241, 237, 230, 0.8); }
.gr-nav .mod-menu > li > ul a:hover { color: var(--gr-accent); }
.gr-nav__cta { display: none; }
/* Menü kompakt halten, damit auch viele Einträge in eine Zeile passen */
@media (min-width: 1100px) {
	.gr-header__inner { max-width: 1440px; gap: 1.1rem; }
	.gr-nav { flex: 0 1 auto; min-width: 0; }
	.gr-nav .mod-menu > li > a, .gr-nav .mod-menu > li > span { padding-inline: 0.6rem; letter-spacing: 0.12em; }
	.gr-nav .mod-menu > li > a::after { left: 0.6rem; right: 0.6rem; }
	.gr-cta { flex: none; padding-inline: 1.1rem; white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1439.98px) { .gr-brand__tag { display: none; } }
@media (min-width: 1700px) {
	.gr-header__inner { max-width: 1600px; gap: 2rem; }
	.gr-nav .mod-menu > li > a, .gr-nav .mod-menu > li > span { padding-inline: 0.9rem; letter-spacing: 0.18em; }
	.gr-nav .mod-menu > li > a::after { left: 0.9rem; right: 0.9rem; }
}

/* Kontakt-Knopf in der Kopfzeile */
.gr-cta {
	position: relative; overflow: hidden; display: inline-flex; align-items: center;
	padding: 0.65rem 1.4rem; border: 1px solid rgba(241, 237, 230, 0.4); border-radius: 999px;
	font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
	transition: border-color 0.4s ease, color 0.4s ease;
}
.gr-cta::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--gr-accent);
	transform: translateY(101%); transition: transform 0.5s var(--gr-ease);
}
.gr-cta span { position: relative; }
.gr-cta:hover { border-color: var(--gr-accent); color: #fff; }
.gr-cta:hover::before { transform: none; }

/* Burger (nur mobil) */
.gr-burger {
	display: none; align-items: center; gap: 0.8rem; position: relative; z-index: 2;
	padding: 0.5rem 0; border: 0; background: none; color: var(--gr-paper); cursor: pointer;
	font: 400 0.72rem/1 var(--gr-sans); letter-spacing: 0.22em; text-transform: uppercase;
}
.gr-burger__lines { position: relative; width: 28px; height: 10px; }
.gr-burger__lines i {
	position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
	transition: transform 0.5s var(--gr-ease), top 0.5s var(--gr-ease);
}
.gr-burger__lines i:first-child { top: 0; }
.gr-burger__lines i:last-child  { top: 8px; }
.gr-burger[aria-expanded="true"] .gr-burger__lines i:first-child { top: 4px; transform: rotate(45deg); }
.gr-burger[aria-expanded="true"] .gr-burger__lines i:last-child  { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1099.98px) {
	:root { --gr-header-h: 70px; }
	.gr-cta { display: none; }
	.gr-burger { display: inline-flex; }

	/* Vollbild-Menü mit gestaffelt einfliegenden Einträgen */
	.gr-nav {
		position: fixed; inset: 0; z-index: 1;
		display: flex; flex-direction: column; justify-content: flex-start;
		overscroll-behavior: contain;
		padding: calc(var(--gr-header-h) + 2rem) var(--gr-pad) 3rem;
		background: var(--gr-ink);
		clip-path: circle(0% at calc(100% - 3rem) 2.2rem);
		visibility: hidden;
		transition: clip-path 0.8s var(--gr-ease-in-out), visibility 0s linear 0.8s;
		overflow-y: auto;
	}
	.gr-nav.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.2rem); visibility: visible; transition-delay: 0s; }
	.gr-nav .mod-menu { flex-direction: column; align-items: flex-start; gap: 0; margin-top: auto; }
	.gr-nav__cta { margin-bottom: auto; }
	.gr-nav .mod-menu > li > a,
	.gr-nav .mod-menu > li > span {
		padding: 0.25rem 0;
		font: 400 clamp(1.9rem, 7.5vw, 3rem)/1.15 var(--gr-serif); letter-spacing: -0.01em; text-transform: none;
		color: var(--gr-paper);
		opacity: 0; transform: translateY(40px);
		transition: opacity 0.6s ease, transform 0.8s var(--gr-ease), color 0.3s;
		transition-delay: calc(0.25s + var(--i, 0) * 0.06s);
	}
	.gr-nav .mod-menu > li > a::after { display: none; }
	.gr-nav .mod-menu > li > a:hover,
	.gr-nav .mod-menu > li.active > a { font-style: italic; color: var(--gr-accent); }
	.gr-nav.is-open .mod-menu > li > a,
	.gr-nav.is-open .mod-menu > li > span { opacity: 1; transform: none; }
	.gr-nav .mod-menu > li { display: block; }
	.gr-nav .mod-menu > li > button { display: none; }
	.gr-nav .mod-menu > li > ul { display: block !important; position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 0.6rem 0.2rem; }
	.gr-nav .mod-menu > li > ul a { font-size: 1.05rem; padding: 0.25rem 0; color: rgba(241, 237, 230, 0.75); }
	.gr-nav .mod-menu > li > ul { padding: 0.2rem 0 0.8rem 0.15rem !important; }
	.gr-nav__cta {
		display: inline-block; margin-top: 2.5rem; align-self: flex-start;
		padding: 0.8rem 1.6rem; border: 1px solid var(--gr-accent); border-radius: 999px; color: var(--gr-accent);
		font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
	}
	.gr-nav-open { overflow: hidden; }
}

/* Startbild (Hero) ---------------------------------------------------------- */
.gr-hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	overflow: hidden; isolation: isolate;
	background:
		radial-gradient(60% 50% at 70% 30%, rgba(227, 75, 38, 0.18), transparent 70%),
		radial-gradient(80% 70% at 20% 90%, rgba(241, 237, 230, 0.06), transparent 70%),
		var(--gr-ink);
}
.gr-hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.gr-hero__media > * { position: absolute; inset: 0; }
.gr-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 13, 14, 0.55) 0%, rgba(13, 13, 14, 0) 28%),
		linear-gradient(0deg, rgba(13, 13, 14, 0.92) 0%, rgba(13, 13, 14, 0.35) 45%, rgba(13, 13, 14, 0) 70%);
}

/* Bildwechsel mit »Scharfziehen« und langsamem Zoom */
.gr-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.gr-slide picture { position: absolute; inset: 0; display: block; }
.gr-slide img { width: 100%; height: 100%; object-fit: cover; max-width: none; transform: scale(1.12); filter: blur(14px) brightness(0.8); }
.gr-slide.is-active { opacity: 1; }
.gr-slide.is-active img { animation: gr-focus 1.8s var(--gr-ease) forwards, gr-kenburns 14s linear 1.8s forwards; }
@keyframes gr-focus    { from { transform: scale(1.12); filter: blur(14px) brightness(0.8); } to { transform: scale(1.04); filter: blur(0) brightness(1); } }
@keyframes gr-kenburns { from { transform: scale(1.04); filter: none; } to { transform: scale(1.14) translate(-1.5%, -1%); filter: none; } }

/* Sucherrahmen */
.gr-finder {
	position: absolute; inset: calc(var(--gr-header-h) + 1.5rem) var(--gr-pad) 2rem; z-index: 1;
	pointer-events: none; color: rgba(241, 237, 230, 0.75);
	font: 400 0.68rem/1 var(--gr-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.gr-finder__c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(241, 237, 230, 0.7); }
.gr-finder__c--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.gr-finder__c--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.gr-finder__c--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.gr-finder__c--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.gr-finder__focus {
	position: absolute; left: 62%; top: 38%; width: 56px; height: 40px;
	border: 1px solid rgba(241, 237, 230, 0.8);
	animation: gr-af 1.6s var(--gr-ease) 0.6s both;
}
@keyframes gr-af {
	0%   { transform: scale(1.6); opacity: 0; border-color: rgba(241, 237, 230, 0.8); }
	40%  { transform: scale(0.92); opacity: 1; }
	60%  { transform: scale(1); border-color: var(--gr-accent); }
	100% { transform: scale(1); opacity: 0.85; border-color: var(--gr-accent); }
}
.gr-finder__rec { position: absolute; top: 14px; left: 52px; display: flex; align-items: center; gap: 0.5rem; }
.gr-finder__rec .gr-finder__dot { display: block;  width: 7px; height: 7px; border-radius: 50%; background: var(--gr-accent); animation: gr-blink 1.4s steps(2, jump-none) infinite; }
@keyframes gr-blink { 50% { opacity: 0.15; } }
.gr-finder__exif { position: absolute; bottom: 12px; right: 52px; transition: opacity 0.4s ease; }
.gr-finder__count { position: absolute; top: 14px; right: 52px; }
.gr-finder__count b { color: var(--gr-paper); font-weight: 400; }

.gr-hero__content {
	position: relative; z-index: 2; width: 100%; max-width: var(--gr-max); margin-inline: auto;
	padding: calc(var(--gr-header-h) + 5rem) var(--gr-pad) clamp(4.5rem, 11vh, 8rem);
}
.gr-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem;
	font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(241, 237, 230, 0.8);
	opacity: 0; animation: gr-fade-up 1s var(--gr-ease) 0.9s forwards;
}
.gr-hero__eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gr-accent); }
.gr-hero__title {
	margin: 0 0 1.6rem; font-size: clamp(3rem, min(1.4rem + 8.5vw, 15.5vh), 10rem) !important;
	line-height: 0.92 !important; letter-spacing: -0.035em !important;
}
.gr-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.gr-line > span {
	display: inline-block; transform: translateY(105%);
	animation: gr-line-up 1.3s var(--gr-ease) forwards;
	animation-delay: calc(1s + var(--i) * 0.14s);
}
@keyframes gr-line-up { to { transform: none; } }
.gr-hero__text {
	max-width: 34rem; margin-bottom: 2.4rem; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem); color: rgba(241, 237, 230, 0.82);
	opacity: 0; animation: gr-fade-up 1s var(--gr-ease) 1.55s forwards;
}
.gr-hero .gr-button { opacity: 0; animation: gr-fade-up 1s var(--gr-ease) 1.75s forwards; }
@keyframes gr-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.gr-scrollcue {
	position: absolute; right: var(--gr-pad); bottom: 2.6rem; z-index: 2;
	display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
	font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; writing-mode: vertical-rl;
	color: rgba(241, 237, 230, 0.7);
}
.gr-scrollcue i { position: relative; width: 1px; height: 64px; overflow: hidden; background: var(--gr-line); }
.gr-scrollcue i::after {
	content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gr-accent);
	animation: gr-cue 2.2s var(--gr-ease-in-out) infinite;
}
@keyframes gr-cue { to { top: 100%; } }
.gr-finder ~ .gr-scrollcue { bottom: 4rem; right: calc(var(--gr-pad) + 3.4rem); }

@media (max-width: 767.98px) {
	.gr-finder__focus, .gr-finder__exif { display: none; }
	.gr-brand__name { font-size: 1.25rem; }
	.site .gr-brand__logo { height: 34px; }
	.gr-finder { inset: calc(var(--gr-header-h) + 0.5rem) 1rem 1rem; }
	.gr-scrollcue { display: none; }
}
@media (max-width: 479.98px) { .gr-brand__tag { display: none; } }

/* Knöpfe ------------------------------------------------------------------- */
.gr-button, .site .btn-primary {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; gap: 1rem;
	padding: 1rem 1.9rem; border: 1px solid var(--gr-paper); border-radius: 999px;
	background: var(--gr-paper); color: var(--gr-ink) !important;
	font: 400 0.8rem/1 var(--gr-sans); letter-spacing: 0.18em; text-transform: uppercase;
	transition: color 0.45s ease, border-color 0.45s ease;
}
.gr-button::before, .site .btn-primary::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: var(--gr-accent); transform: scale(0, 1); transform-origin: right; transition: transform 0.6s var(--gr-ease);
}
.gr-button:hover, .site .btn-primary:hover { color: #fff !important; border-color: var(--gr-accent); background: var(--gr-paper); }
.gr-button:hover::before, .site .btn-primary:hover::before { transform: scale(1, 1); transform-origin: left; }
.gr-button i { font-style: normal; transition: transform 0.5s var(--gr-ease); }
.gr-button:hover i { transform: translateX(6px); }
.gr-button.is-ghost { background: transparent; color: var(--gr-paper) !important; border-color: rgba(241, 237, 230, 0.45); }

.gr-link { position: relative; display: inline-block; }
.gr-link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--gr-ease);
}
.gr-link:hover { color: var(--gr-accent); }
.gr-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Abschnitte (Module) --------------------------------------------------------- */
.gr-main { counter-reset: gr-section; }
.gr-main:focus { outline: none; }
.gr-section { position: relative; padding-block: clamp(5rem, 11vw, 9.5rem); }
.gr-section + .gr-section { border-top: 1px solid var(--gr-line); }
.gr-section.is-flush { padding-block: 0; }
.gr-section.is-wide > .gr-wrap { max-width: none; padding-inline: 0; }
.gr-section.is-narrow > .gr-wrap { max-width: 900px; }
.gr-section.is-center { text-align: center; }
.gr-section.is-center .gr-eyebrow { justify-content: center; }
.gr-section.is-light { background: var(--gr-paper); color: var(--gr-ink); }
.gr-section.is-light :is(h1, h2, h3, h4) { color: var(--gr-ink); }
.gr-section.is-light .gr-eyebrow { color: #6b665f; }
.gr-section.is-light + .gr-section { border-top: 0; }
.gr-section.is-dark { background: var(--gr-ink-2); }

.site .gr-eyebrow {
	counter-increment: gr-section;
	display: flex; align-items: center; gap: 1rem; margin: 0 0 2.2rem;
	font: 400 0.74rem/1.2 var(--gr-sans) !important; letter-spacing: 0.32em !important; text-transform: uppercase;
	color: var(--gr-muted);
}
.site .gr-eyebrow::before { content: counter(gr-section, decimal-leading-zero); order: -2; color: var(--gr-accent); font-family: var(--gr-mono); letter-spacing: 0.08em; }
.site .gr-eyebrow::after { content: ""; order: -1; width: 48px; height: 1px; background: currentColor; opacity: 0.5; }

.gr-lead { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.6; color: rgba(241, 237, 230, 0.85); max-width: 46rem; }
.is-light .gr-lead { color: #3a3733; }

/* Zweispaltig: Bild + Text */
.gr-split { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) {
	.gr-split { grid-template-columns: 1fr 1fr; }
	.gr-split.is-reverse > :first-child { order: 2; }
}
.gr-split figure { margin: 0; overflow: hidden; }

/* Zahlen */
.gr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--gr-line); }
.gr-stat strong { display: block; font: 400 clamp(2.6rem, 2rem + 2.5vw, 4.4rem)/1 var(--gr-serif); letter-spacing: -0.03em; }
.gr-stat strong sup { font-size: 0.45em; color: var(--gr-accent); top: -1em; margin-left: 0.1em; }
.gr-stat span { display: block; margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gr-muted); }

/* Leistungen: Liste mit Hover-Linie und Bildvorschau */
.gr-services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gr-line); counter-reset: gr-svc; }
.gr-services > li {
	counter-increment: gr-svc; position: relative;
	display: grid; grid-template-columns: 4rem 1fr; gap: 0.3rem 1.5rem; align-items: baseline;
	padding: 2rem 0; border-bottom: 1px solid var(--gr-line);
	transition: padding-left 0.6s var(--gr-ease);
}
.gr-services > li::before { content: counter(gr-svc, decimal-leading-zero); font: 400 0.8rem var(--gr-mono); color: var(--gr-accent); }
.gr-services > li::after {
	content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
	background: var(--gr-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--gr-ease);
}
.gr-services > li:hover { padding-left: 1rem; }
.gr-services > li:hover::after { transform: scaleX(1); }
.gr-services h3 { margin: 0; transition: font-style 0.2s; }
.gr-services > li:hover h3 { font-style: italic; }
.gr-services p { grid-column: 2; margin: 0; max-width: 40rem; color: var(--gr-muted); }

/* Laufband */
.gr-marquee {
	display: flex; overflow: hidden; padding-block: 1.8rem; border-block: 1px solid var(--gr-line);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.gr-marquee__track { display: flex; flex: none; gap: 3rem; padding-right: 3rem; animation: gr-marquee 38s linear infinite; }
.gr-marquee:hover .gr-marquee__track { animation-play-state: paused; }
.gr-marquee span, .gr-marquee p {
	margin: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem;
	font: italic 400 clamp(2rem, 1.4rem + 3vw, 4.5rem)/1 var(--gr-serif); letter-spacing: -0.02em;
}
.gr-marquee span::after, .gr-marquee p::after { content: "✶"; font-style: normal; font-size: 0.45em; color: var(--gr-accent); }
.gr-marquee span:nth-child(even), .gr-marquee p:nth-child(even) { -webkit-text-stroke: 1px var(--gr-paper); color: transparent; }
@keyframes gr-marquee { to { transform: translateX(-100%); } }

/* Zitat */
.gr-quote { margin: 0; font: italic 400 clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem)/1.2 var(--gr-serif); letter-spacing: -0.02em; }
.gr-quote cite { display: block; margin-top: 1.6rem; font: 400 0.78rem var(--gr-sans); font-style: normal; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gr-muted); }

/* Galerie (Masonry) ------------------------------------------------------------ */
.gr-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.gr-filter button {
	padding: 0.55rem 1.15rem; border: 1px solid var(--gr-line); border-radius: 999px; background: none; color: var(--gr-muted);
	font: 400 0.74rem/1 var(--gr-sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
	transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.gr-filter button:hover { color: var(--gr-paper); border-color: rgba(241, 237, 230, 0.5); }
.gr-filter button[aria-pressed="true"] { background: var(--gr-paper); border-color: var(--gr-paper); color: var(--gr-ink); }

.gr-gallery { columns: 3 300px; column-gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.gr-gallery figure {
	position: relative; break-inside: avoid; margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem); overflow: hidden;
	background: var(--gr-ink-3);
	transition: opacity 0.5s ease, transform 0.6s var(--gr-ease);
}
/* Bündige Bildreihen (per JS aktiviert): gleiche Höhe je Reihe, oben ausgerichtet, ohne Lücken */
.gr-gallery.is-rows { columns: auto; display: flex; flex-wrap: wrap; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.gr-gallery.is-rows::after { content: ""; flex: 1000 1 0; }
.gr-gallery.is-rows figure { margin: 0; flex: var(--ar, 1.4) 1 calc(var(--ar, 1.4) * var(--gr-row, 260px)); aspect-ratio: var(--ar, 1.4); max-height: 70vh; }
.gr-gallery.is-rows a, .gr-gallery.is-rows picture { height: 100%; }
.gr-gallery.is-rows img { height: 100%; object-fit: cover; }
.gr-gallery.is-rows.is-few { flex-wrap: nowrap; }
.gr-gallery.is-rows.is-few figure { flex-grow: 0; flex-shrink: 1; min-width: 0; flex-basis: calc(var(--ar, 1.4) * var(--gr-row-few, 380px)); max-width: 100%; }
@media (max-width: 599.98px) { .gr-gallery.is-rows { --gr-row: 150px; --gr-row-few: 220px; } }
.gr-gallery + :is(p, div) { margin-top: clamp(2rem, 4vw, 3rem); }
.gr-gallery figure.is-filtered { opacity: 0; transform: scale(0.94); }
.gr-gallery figure.is-gone { display: none; }
.gr-gallery a { display: block; cursor: zoom-in; }
.gr-gallery img { width: 100%; transition: transform 1.2s var(--gr-ease), filter 0.6s ease; }
.gr-gallery figure:hover img { transform: scale(1.06); }
.gr-gallery figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem;
	background: linear-gradient(0deg, rgba(13, 13, 14, 0.85), transparent);
	font-size: 0.85rem; transform: translateY(100%); transition: transform 0.6s var(--gr-ease);
}
.gr-gallery figcaption small { display: block; font: 400 0.64rem var(--gr-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gr-accent); }
.gr-gallery figure:hover figcaption, .gr-gallery figure:focus-within figcaption { transform: none; }
@media (hover: none) { .gr-gallery figcaption { transform: none; } }

/* Lightbox */
.gr-lightbox {
	width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
	background: #080809; color: var(--gr-paper); overflow: hidden;
}
.gr-lightbox::backdrop { background: transparent; }
.gr-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: gr-lb-in 0.5s var(--gr-ease); }
@keyframes gr-lb-in { from { opacity: 0; } }
.gr-lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem var(--gr-pad); font: 400 0.75rem var(--gr-mono); letter-spacing: 0.14em; }
.gr-lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(1rem, 6vw, 6rem); min-height: 0; touch-action: pan-y; }
.gr-lightbox__stage img { max-width: 100%; max-height: calc(100vh - 10.5rem); max-height: calc(100dvh - 10.5rem); width: auto; height: auto; object-fit: contain; transition: opacity 0.35s ease, transform 0.5s var(--gr-ease); }
.gr-lightbox__stage img.is-loading { opacity: 0; transform: scale(0.97); }
.gr-lightbox__cap { padding: 1rem var(--gr-pad) 1.6rem; text-align: center; font-size: 0.9rem; color: var(--gr-muted); min-height: 3.5rem; }
.gr-lightbox button {
	border: 0; background: none; color: var(--gr-paper); cursor: pointer; font: inherit;
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; transition: background-color 0.3s;
}
.gr-lightbox button:hover { background: rgba(241, 237, 230, 0.1); }
.gr-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem !important; }
.gr-lightbox__prev { left: 0.5rem; } .gr-lightbox__next { right: 0.5rem; }
.gr-lightbox__close { font-size: 1.8rem !important; }

/* Scroll-Animationen ----------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1.2s var(--gr-ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Bilder erscheinen wie hinter einem sich öffnenden Verschluss */
.js [data-reveal="shutter"] { opacity: 1; transform: none; clip-path: inset(50% 0 50% 0); transition: clip-path 1.4s var(--gr-ease-in-out); transition-delay: var(--d, 0s); }
.js [data-reveal="shutter"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="shutter"] img { transform: scale(1.25); transition: transform 2s var(--gr-ease); }
.js [data-reveal="shutter"].is-in img { transform: scale(1); }

/* Inhaltsbereich (Beiträge) ------------------------------------------------------ */
.is-subpage .gr-main { padding-top: calc(var(--gr-header-h) + clamp(3rem, 8vw, 6rem)); }
.gr-page { display: grid; gap: 4rem; padding-bottom: clamp(4rem, 9vw, 8rem); }
.has-sidebar .gr-page { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .has-sidebar .gr-page { grid-template-columns: minmax(0, 1fr) 320px; } }
.gr-page__aside .gr-section { padding-block: 0 2.5rem; border: 0; }
.gr-page__aside .gr-wrap { padding: 0; }
.is-home .gr-page { padding-top: clamp(4rem, 9vw, 8rem); }

.gr-component .page-header { margin-bottom: 2.5rem; padding: 0; border: 0; }
.gr-component .page-header h1,
.gr-component .page-header h2 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 6rem); line-height: 1; letter-spacing: -0.03em; }
.gr-component .article-info { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0 0 2.5rem; color: var(--gr-muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.gr-component .article-info dt { display: none; }
.gr-component .article-info dd { margin: 0; }
.gr-component .com-content-article__body > :is(p, ul, ol, blockquote, h2, h3, h4) { max-width: 46rem; }
.gr-component .com-content-article__body h2 { margin-top: 2.5em; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.gr-component .com-content-article__body h3 { margin-top: 2em; }
.gr-component blockquote { margin: 2.5rem 0; padding-left: 1.6rem; border-left: 1px solid var(--gr-accent); font: italic 1.35rem/1.5 var(--gr-serif); }
.gr-component figure { margin: 2.5rem 0; }
.gr-component figcaption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--gr-muted); }
.gr-component .item-image, .gr-component .item-image img { margin-bottom: 2.5rem; width: 100%; }
.gr-component ul:not([class]) li::marker { color: var(--gr-accent); }

.gr-component .blog-item, .gr-component .com-content-category-blog__item { margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--gr-line); }
.gr-component .readmore a { margin-top: 1rem; }

.site .breadcrumb { margin: 0 0 2rem; padding: 0; background: none; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gr-muted); }
.site .breadcrumb a { color: var(--gr-paper); }
.site .breadcrumb-item + .breadcrumb-item::before { color: var(--gr-accent); }

/* Formulare (z. B. Kontaktformular) */
.site .form-control, .site .form-select {
	padding: 0.9rem 0; border: 0; border-bottom: 1px solid rgba(241, 237, 230, 0.3); border-radius: 0;
	background: transparent; color: var(--gr-paper); font: inherit; box-shadow: none !important;
	transition: border-color 0.3s;
}
.site .form-control:focus, .site .form-select:focus { border-color: var(--gr-accent); background: transparent; color: var(--gr-paper); }
.site .form-select option { background: var(--gr-ink-2); }
.site .control-label label, .site .form-label, .site label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gr-muted); }
.site .form-check-input:checked { background-color: var(--gr-accent); border-color: var(--gr-accent); }
.site .btn-secondary { background: transparent; border-color: var(--gr-line); color: var(--gr-paper); border-radius: 999px; }
.site .page-link { background: transparent; border-color: var(--gr-line); color: var(--gr-paper); }
.site .page-item.active .page-link { background: var(--gr-accent); border-color: var(--gr-accent); }

/* Fußzeile ------------------------------------------------------------------------- */
.gr-footer { position: relative; padding-top: clamp(5rem, 12vw, 10rem); background: var(--gr-ink-2); border-top: 1px solid var(--gr-line); overflow: hidden; }
.gr-footer::before {
	content: ""; position: absolute; left: 50%; top: 0; width: 70vw; height: 50vw; transform: translate(-50%, -60%);
	background: radial-gradient(closest-side, rgba(227, 75, 38, 0.16), transparent); pointer-events: none;
}
.gr-footer__title { position: relative; margin: 0 0 clamp(3.5rem, 8vw, 6rem); font: 400 clamp(2.6rem, 1.4rem + 5.4vw, 7.2rem)/0.98 var(--gr-serif); letter-spacing: -0.035em; }
.gr-footer__title em { font-style: italic; color: var(--gr-accent); }
.gr-footer__title a { display: inline; background: linear-gradient(var(--gr-accent), var(--gr-accent)) 0 100% / 0 2px no-repeat; transition: background-size 0.9s var(--gr-ease); }
.gr-footer__title a:hover { background-size: 100% 2px; }
.gr-footer__title i { display: inline-block; margin-left: 0.2em; font-style: normal; font-size: 0.55em; vertical-align: 0.35em; transition: transform 0.6s var(--gr-ease); }
.gr-footer__title a:hover i { transform: translate(8px, -8px) rotate(0deg); color: var(--gr-accent); }

.gr-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; padding-bottom: 3.5rem; }
.gr-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.gr-footer__social { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.gr-footer__social i { font-style: normal; font-size: 0.8em; color: var(--gr-muted); }
.gr-footer__bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between;
	padding-block: 1.8rem calc(1.8rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--gr-line);
	font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gr-muted);
}
.gr-footer__bar .mod-menu { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.gr-footer__bar .mod-menu a:hover { color: var(--gr-paper); }
.gr-totop i { font-style: normal; display: inline-block; transition: transform 0.5s var(--gr-ease); }
.gr-totop:hover { color: var(--gr-paper); }
.gr-totop:hover i { transform: translateY(-4px); }

/* Fehler- und Offline-Seite */
.gr-status { min-height: 100svh; display: grid; place-items: center; padding: var(--gr-pad); text-align: center; }
.gr-status__code { font: italic 400 clamp(6rem, 22vw, 16rem)/0.9 var(--gr-serif); color: var(--gr-accent); letter-spacing: -0.05em; }
.gr-status form { max-width: 360px; margin: 2rem auto 0; text-align: left; }

/* Weniger Bewegung gewünscht: Animationen aus, Inhalte sofort sichtbar ------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.gr-line > span, .gr-hero__eyebrow, .gr-hero__text, .gr-hero .gr-button { animation: none !important; transform: none !important; opacity: 1 !important; }
	.gr-slide img { filter: none; transform: none; }
	.has-grain::after { animation: none; }
	.gr-marquee__track { animation: none; }
}

/* Druck */
@media print {
	.gr-header, .gr-progress, .gr-shutter, .gr-finder, .gr-scrollcue, .has-grain::after { display: none !important; }
	body.site { background: #fff; color: #000; }
}


/* Schmale Handys: Logo, Ton-Knopf und Menü sicher nebeneinander */
@media (max-width: 1099.98px) {
	.gr-header__inner { gap: 0.75rem; }
	.gr-brand { flex: 0 1 auto; min-width: 0; margin-right: auto; }
	.gr-burger { flex: none; }
	.gr-sound { flex: none; margin-right: 0; }
}
@media (max-width: 479.98px) {
	.site .gr-brand__logo { height: 30px; }
	.gr-header .gr-sound { width: 36px; height: 36px; }
	.gr-header__inner { gap: 0.6rem; }
}
@media (max-width: 379.98px) {
	.site .gr-brand__logo { height: 26px; }
	/* »Menü«-Schrift ausblenden, nur die Striche bleiben (für Screenreader weiter lesbar) */
	.gr-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.gr-burger { padding: 0.5rem; margin-right: -0.5rem; }
}

/* ==========================================================================
   Kamera-Erlebnis: Ton-Knopf, Sucher-Mauszeiger, Verschluss beim Seitenwechsel
   ========================================================================== */

/* Ton an/aus */
.gr-sound {
	display: inline-grid; place-items: center; flex: none;
	width: 40px; height: 40px; padding: 0;
	border: 1px solid rgba(241, 237, 230, 0.3); border-radius: 50%;
	background: none; color: rgba(241, 237, 230, 0.75); cursor: pointer;
	transition: color 0.3s, border-color 0.3s, transform 0.4s var(--gr-ease);
}
.gr-sound[hidden] { display: none; }
.gr-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gr-sound .gr-sound__body { fill: currentColor; stroke: none; }
.gr-sound .gr-sound__wave { opacity: 0; transition: opacity 0.3s; }
.gr-sound[aria-pressed="true"] { color: var(--gr-accent); border-color: var(--gr-accent); }
.gr-sound[aria-pressed="true"] .gr-sound__wave { opacity: 1; }
.gr-sound[aria-pressed="true"] .gr-sound__mute { opacity: 0; }
.gr-sound:hover { color: var(--gr-paper); border-color: var(--gr-paper); }
.gr-sound.is-pulse { animation: gr-pulse 0.5s var(--gr-ease); }
@keyframes gr-pulse { 40% { transform: scale(1.15); } }
@media (max-width: 1099.98px) {
	.gr-sound { order: 2; position: relative; z-index: 2; margin-right: 0.4rem; }
	.gr-burger { order: 3; }
}

/* Verschluss schließt sich beim Verlassen der Seite */
.gr-leaving .gr-shutter { display: block; position: fixed; inset: 0; z-index: 2800; pointer-events: none; }
.gr-leaving .gr-shutter span {
	position: absolute; left: 0; right: 0; height: 50.5%; background: var(--gr-ink);
	animation: gr-close-top 0.38s var(--gr-ease-in-out) forwards;
}
.gr-leaving .gr-shutter span:first-child { top: 0; transform: translateY(-101%); border-bottom: 1px solid var(--gr-accent); }
.gr-leaving .gr-shutter span:last-child  { bottom: 0; transform: translateY(101%); border-top: 1px solid var(--gr-accent); animation-name: gr-close-bottom; }
@keyframes gr-close-top    { to { transform: translateY(0); } }
@keyframes gr-close-bottom { to { transform: translateY(0); } }
.gr-intro--quick .gr-shutter span { animation-delay: 0.05s; animation-duration: 0.75s; }

/* Blitz, wenn ein Foto »aufgenommen« wird */
.gr-flash {
	position: fixed; inset: 0; z-index: 2850; pointer-events: none;
	background: #fff; opacity: 0;
}
.gr-flash.is-on { animation: gr-flash 0.45s ease-out; }
@keyframes gr-flash { 0% { opacity: 0.55; } 100% { opacity: 0; } }

/* Sucher als Mauszeiger (nur Maus/Trackpad, nicht auf Touch-Geräten) */
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"] { cursor: none; }
html.has-cursor :is(input, textarea, select, [contenteditable="true"]) { cursor: auto; }
.gr-cursor {
	--s: 34px;
	position: fixed; left: 0; top: 0; z-index: 2900; pointer-events: none;
	width: 0; height: 0; opacity: 0; transition: opacity 0.3s ease;
	color: #fff; mix-blend-mode: difference; /* bleibt auf jedem Untergrund sichtbar */
}
.gr-cursor.is-visible { opacity: 1; }
.gr-cursor__frame {
	position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2);
	width: var(--s); height: var(--s);
	transition: width 0.22s var(--gr-ease), height 0.22s var(--gr-ease), left 0.22s var(--gr-ease), top 0.22s var(--gr-ease), color 0.2s, transform 0.15s var(--gr-ease);
}
.gr-cursor__frame i { position: absolute; width: 9px; height: 9px; border: 0 solid currentColor; transition: width 0.22s var(--gr-ease), height 0.22s var(--gr-ease); }
.gr-cursor__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.gr-cursor__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.gr-cursor__frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.gr-cursor__frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.gr-cursor__frame::after {
	content: ""; position: absolute; inset: 3px; background: #fff; opacity: 0; transition: opacity 0.4s ease;
}
.gr-cursor__dot {
	position: fixed; left: -2px; top: -2px; z-index: 2901; pointer-events: none;
	width: 4px; height: 4px; border-radius: 50%; background: var(--gr-accent); opacity: 0; transition: opacity 0.3s;
}
.gr-cursor.is-visible + .gr-cursor__dot { opacity: 1; }
.gr-cursor__label {
	position: absolute; left: 50%; top: calc(var(--s) / 2 + 10px); transform: translateX(-50%);
	white-space: nowrap; font: 400 0.62rem/1 var(--gr-mono); letter-spacing: 0.2em; text-transform: uppercase;
	opacity: 0; transition: opacity 0.2s ease, top 0.22s var(--gr-ease);
}

/* Über Links: Sucher stellt scharf (zieht sich zusammen, wird orange) */
.gr-cursor.is-link { --s: 58px; }
.gr-cursor.is-link .gr-cursor__frame i { width: 14px; height: 14px; border-color: currentColor; }
.gr-cursor.is-link .gr-cursor__frame i:nth-child(1) { border-left-width: 2px; border-top-width: 2px; }
.gr-cursor.is-link .gr-cursor__frame i:nth-child(2) { border-right-width: 2px; border-top-width: 2px; }
.gr-cursor.is-link .gr-cursor__frame i:nth-child(3) { border-left-width: 2px; border-bottom-width: 2px; }
.gr-cursor.is-link .gr-cursor__frame i:nth-child(4) { border-right-width: 2px; border-bottom-width: 2px; }
.gr-cursor.is-link + .gr-cursor__dot { --ds: 1.6; }
/* Über Fotos: großer Rahmen mit Beschriftung */
.gr-cursor.is-image { --s: 96px; }
.gr-cursor.is-image .gr-cursor__frame i { width: 18px; height: 18px; }
.gr-cursor.is-image .gr-cursor__label { opacity: 1; }
.gr-cursor.is-image + .gr-cursor__dot { --ds: 2; }
/* Beim Drücken: Auslöser halb gedrückt */
.gr-cursor.is-down .gr-cursor__frame { transform: scale(0.82); }
/* Beim Klick: kurzer Blitz im Rahmen */
.gr-cursor.is-shot .gr-cursor__frame::after { opacity: 0.5; transition: none; }
/* Über Eingabefeldern ausblenden */
.gr-cursor.is-text, .gr-cursor.is-text + .gr-cursor__dot { opacity: 0 !important; }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
	.gr-cursor, .gr-cursor__dot { display: none !important; }
}

/* SEO-Hauptüberschrift: kleine Zeile über dem Titel als H1, großer Titel als Absatz */
.site h1.gr-hero__eyebrow { margin: 0 0 1.6rem; font: 400 0.75rem/1.5 var(--gr-sans); letter-spacing: 0.32em; text-transform: uppercase; color: rgba(241, 237, 230, 0.8); }
p.gr-hero__title { font-family: var(--gr-serif); font-weight: 400; color: var(--gr-paper); }
p.gr-hero__title em { font-style: italic; color: var(--gr-accent); }

/* Helle Startbilder: dunkle Fläche hinter der Schrift, Motiv nach rechts */
.gr-slide.is-light::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13, 13, 14, 0.82) 0%, rgba(13, 13, 14, 0.55) 45%, rgba(13, 13, 14, 0.08) 75%),
		linear-gradient(0deg, rgba(13, 13, 14, 0.45) 0%, rgba(13, 13, 14, 0) 55%);
}
.gr-slide.is-light img { object-position: 72% 50%; }
/* Fläche nach kurzer Lesezeit langsam ausblenden, damit das Foto frei steht */
.gr-slide.is-light.is-active::after { animation: gr-scrim-out 3.5s ease-in-out 2.2s forwards; }
@keyframes gr-scrim-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gr-slide.is-light.is-active::after { animation: none; } }
@media (max-width: 760px) {
	.gr-slide.is-light::after { background: linear-gradient(0deg, rgba(13, 13, 14, 0.9) 0%, rgba(13, 13, 14, 0.6) 55%, rgba(13, 13, 14, 0.25) 100%); }
	.gr-slide.is-light img { object-position: 80% 40%; }
}

/* Portrait im Beitrag (z. B. »Über mich«) */
.gr-component .gr-portrait { margin: 0 0 2.5rem; }
.gr-component .gr-portrait img { width: 100%; height: auto; display: block; }
.gr-component .gr-portrait figcaption { margin-top: 0.8rem; font: 400 0.72rem var(--gr-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gr-muted); }
@media (min-width: 900px) {
	.gr-component .gr-portrait { float: right; width: min(40%, 440px); margin: 0.4rem 0 2rem 3.5rem; }
	.gr-component .com-content-article__body::after { content: ""; display: table; clear: both; }
}

/* 1.5.0: Anschrift im Footer */
.gr-footer__address { font-style: normal; opacity: .75; line-height: 1.5; margin-top: .25rem; }

/* 1.5.0: Impressum – Technische Betreuung, Design und Hosting */
.gr-partner { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(127,127,127,.25); }
.gr-partner > h2 { margin-top: 0 !important; }
.gr-partner__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 700px) { .gr-partner__grid { grid-template-columns: 1fr; } }
.gr-partner__card { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1.4rem 1.5rem; border: 1px solid rgba(127,127,127,.25); border-radius: 12px; background: #fff; color: #333; }
.gr-partner__card h3 { margin: 0 !important; padding: 0 !important; font-size: 1.05rem !important; line-height: 1.35; color: #5a6058; }
.gr-partner__card a { color: #444; font-size: .95rem; }
.gr-partner__logo { display: block; height: auto; max-width: 100%; }
.gr-partner__logo--wide { width: auto; max-height: 87px; }
.gr-partner__logo--badge { width: 96px; border-radius: 4px; }
.gr-partner__logo--ki { width: auto; max-height: 96px; }

/* 1.5.0: dezenter Hinweis Hosting & SEO */
.gr-footer__credit { margin: 1.4rem 0 0; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gr-muted); opacity: .75; }
.gr-footer__credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(127,127,127,.4); text-underline-offset: 3px; }
.gr-footer__credit a:hover, .gr-footer__credit a:focus-visible { color: var(--gr-paper); text-decoration-color: currentColor; }

/* 1.5.0: Bildausschnitt je Startbild auf schmalen Bildschirmen (Template-Stil → Startbild → »Bildausschnitt auf dem Handy«) */
@media (max-width: 900px) {
	.gr-slide[style*="--gr-focus"] img { object-position: var(--gr-focus) !important; }
}
