/* ═══════════════════════════════════════════════
   NY Raumservice – Frontend
   Alles ist unter .nyr-site gekapselt, damit Theme und Plugin sich nicht stören.
═══════════════════════════════════════════════ */

.nyr-site {
	--nyr-red: #a3191b;
	--nyr-red-hover: color-mix(in srgb, var(--nyr-red) 80%, #000);
	--nyr-dark: #211f1e;
	--nyr-bg: #f6f4f1;
	--nyr-ink: #1f1d1c;
	--nyr-muted: #5d5853;
	--nyr-line: #e3ddd6;
	--nyr-white: #fff;
	--nyr-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
	--nyr-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--nyr-script: "Allura", "Segoe Script", cursive;
	--nyr-max: 1200px;
	--nyr-gutter: clamp(20px, 4vw, 48px);
	--nyr-header-h: 76px;
	--nyr-radius: 6px;

	font-family: var(--nyr-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--nyr-ink);
	background: var(--nyr-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nyr-vollbild { margin: 0; background: var(--nyr-bg, #f6f4f1); }

/* ── Reset innerhalb des Plugins ─────────────── */
.nyr-site *,
.nyr-site *::before,
.nyr-site *::after { box-sizing: border-box; }
.nyr-site :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
.nyr-site :where(ul, ol) { list-style: none; }
.nyr-site :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
.nyr-site :where(a) { color: inherit; text-decoration: none; }
.nyr-site :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
.nyr-site .nyr-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.nyr-site :focus-visible { outline: 2px solid var(--nyr-red); outline-offset: 3px; }
.nyr-site .nyr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nyr-site .nyr-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--nyr-white); color: var(--nyr-ink); padding: 10px 16px; border-radius: var(--nyr-radius); }
.nyr-site .nyr-skip:focus { top: 12px; }

.nyr-site .nyr-wrap { width: 100%; max-width: calc(var(--nyr-max) + 2 * var(--nyr-gutter)); margin: 0 auto; padding: 0 var(--nyr-gutter); }
.nyr-site .nyr-main { display: block; }
.nyr-site [id] { scroll-margin-top: calc(var(--nyr-header-h) + 16px); }

/* ── Typografie ──────────────────────────────── */
.nyr-site .nyr-eyebrow {
	font-family: var(--nyr-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--nyr-red);
	margin-bottom: 14px;
}
.nyr-site .nyr-eyebrow--light { color: rgba(255, 255, 255, .85); }
.nyr-site .nyr-h2 {
	font-family: var(--nyr-serif);
	font-weight: 700;
	font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem);
	line-height: 1.15;
	letter-spacing: -.01em;
	color: inherit;
}
.nyr-site .nyr-h3 { font-family: var(--nyr-serif); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.nyr-site .nyr-lead { font-size: 1.0625rem; color: var(--nyr-muted); margin-top: 14px; }
.nyr-site .nyr-head { max-width: 760px; margin-bottom: 40px; }
.nyr-site .nyr-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────── */
.nyr-site .nyr-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nyr-site .nyr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 4px;
	font-family: var(--nyr-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: background-color .2s, border-color .2s, color .2s;
}
.nyr-site .nyr-btn .nyr-icon { width: 18px; height: 18px; transition: transform .2s; }
.nyr-site .nyr-btn:hover .nyr-icon { transform: translateX(3px); }
.nyr-site .nyr-btn--primary { background: var(--nyr-red); color: var(--nyr-white); border-color: var(--nyr-red); }
.nyr-site .nyr-btn--primary:hover { background: var(--nyr-red-hover); border-color: var(--nyr-red-hover); color: var(--nyr-white); }
.nyr-site .nyr-btn--outline-light { color: var(--nyr-white); border-color: rgba(255, 255, 255, .85); background: transparent; }
.nyr-site .nyr-btn--outline-light:hover { background: var(--nyr-white); color: var(--nyr-ink); }

.nyr-site .nyr-round {
	width: 46px; height: 46px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--nyr-white); color: var(--nyr-ink);
	transition: background-color .2s, color .2s, opacity .2s;
}
.nyr-site .nyr-round--ghost { background: rgba(20, 18, 17, .55); color: var(--nyr-white); border: 1.5px solid rgba(255, 255, 255, .7); }
.nyr-site .nyr-round:hover { background: var(--nyr-red); color: var(--nyr-white); border-color: var(--nyr-red); }
.nyr-site .nyr-round[disabled] { opacity: .35; pointer-events: none; }

/* ═══ Header ═════════════════════════════════════ */
.nyr-site .nyr-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s, border-color .25s;
}
body.admin-bar .nyr-site .nyr-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nyr-site .nyr-header { top: 0; } }
.nyr-site .nyr-header.is-scrolled { border-bottom-color: var(--nyr-line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .5); }
.nyr-site .nyr-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--nyr-header-h); }
.nyr-site .nyr-header__logo { display: block; flex-shrink: 0; }
.nyr-site .nyr-header__logo img { height: 50px; width: auto; }
.nyr-site .nyr-header__name { font-family: var(--nyr-serif); font-weight: 700; font-size: 1.25rem; }

.nyr-site .nyr-nav { flex: 1; display: flex; align-items: center; gap: 24px; }
.nyr-site .nyr-nav__list { display: flex; align-items: center; justify-content: center; gap: 4px 26px; flex: 1; flex-wrap: wrap; }
.nyr-site .nyr-nav__item { position: relative; display: flex; align-items: center; }
.nyr-site .nyr-nav__link {
	display: inline-block; padding: 10px 0;
	font-size: 14px; font-weight: 500; color: var(--nyr-ink);
	position: relative;
}
.nyr-site .nyr-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
	background: var(--nyr-red); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nyr-site .nyr-nav__link:hover { color: var(--nyr-red); }
.nyr-site .nyr-nav__item.is-current > .nyr-nav__link { color: var(--nyr-red); }
.nyr-site .nyr-nav__item.is-current > .nyr-nav__link::after,
.nyr-site .nyr-nav__link:hover::after { transform: scaleX(1); }
.nyr-site .nyr-nav__toggle { display: inline-flex; padding: 6px 0 6px 4px; color: var(--nyr-ink); }
.nyr-site .nyr-nav__toggle .nyr-icon { width: 15px; height: 15px; transition: transform .2s; }
.nyr-site .nyr-nav__sub {
	position: absolute; top: 100%; left: -16px; min-width: 240px;
	background: var(--nyr-white); border: 1px solid var(--nyr-line); border-radius: var(--nyr-radius);
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35);
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.nyr-site .nyr-nav__sub a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 4px; }
.nyr-site .nyr-nav__sub a:hover { background: var(--nyr-bg); color: var(--nyr-red); }
.nyr-site .nyr-burger { display: none; }

@media (min-width: 1081px) {
	.nyr-site .nyr-nav__item.has-sub:hover > .nyr-nav__sub,
	.nyr-site .nyr-nav__item.has-sub:focus-within > .nyr-nav__sub,
	.nyr-site .nyr-nav__item.is-open > .nyr-nav__sub { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1080px) {
	.nyr-site { --nyr-header-h: 68px; }
	.nyr-site .nyr-header__logo img { height: 42px; }
	.nyr-site .nyr-header__inner { justify-content: space-between; }
	.nyr-site .nyr-burger { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 4px; color: var(--nyr-ink); }
	.nyr-site .nyr-burger .nyr-icon { width: 26px; height: 26px; }
	.nyr-site .nyr-burger__close,
	.nyr-site .nyr-burger[aria-expanded="true"] .nyr-burger__open { display: none; }
	.nyr-site .nyr-burger[aria-expanded="true"] .nyr-burger__close { display: inline-flex; }

	.nyr-site .nyr-nav {
		position: fixed; left: 0; right: 0; top: var(--nyr-nav-top, var(--nyr-header-h)); bottom: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--nyr-white); padding: 12px var(--nyr-gutter) 32px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nyr-site .nyr-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nyr-site .nyr-nav__list { flex-direction: column; align-items: stretch; gap: 0; flex: 0 0 auto; }
	.nyr-site .nyr-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--nyr-line); }
	.nyr-site .nyr-nav__link { flex: 1; padding: 16px 0; font-size: 17px; }
	.nyr-site .nyr-nav__link::after { display: none; }
	.nyr-site .nyr-nav__toggle { width: 48px; height: 48px; justify-content: center; padding: 0; }
	.nyr-site .nyr-nav__item.is-open .nyr-nav__toggle .nyr-icon { transform: rotate(180deg); }
	.nyr-site .nyr-nav__sub {
		position: static; flex-basis: 100%; min-width: 0; display: none;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px;
	}
	.nyr-site .nyr-nav__item.is-open > .nyr-nav__sub { display: block; }
	.nyr-site .nyr-header__cta { margin-top: 24px; }
	.nyr-site .nyr-header__cta .nyr-btn { width: 100%; }
	html.nyr-menu-open { overflow: hidden; }
}

/* ═══ Hero ═══════════════════════════════════════ */
.nyr-site .nyr-hero {
	position: relative; overflow: hidden;
	background: var(--nyr-dark); color: var(--nyr-white);
	isolation: isolate;
}
.nyr-site .nyr-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: -1; }
.nyr-site .nyr-hero__media img,
.nyr-site .nyr-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nyr-site .nyr-hero__video { opacity: 0; transition: opacity .8s ease; }
.nyr-site .nyr-hero.video-ready .nyr-hero__video { opacity: 1; }

/* Pause-Knopf (Pflicht bei automatisch laufenden Videos, Barrierefreiheit) */
.nyr-site .nyr-hero__pause {
	position: absolute; z-index: 3; right: 20px; bottom: 20px;
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(20, 18, 17, .45); border: 1px solid rgba(255, 255, 255, .55); color: #fff;
	transition: background-color .2s;
}
.nyr-site .nyr-hero__pause:hover { background: rgba(20, 18, 17, .75); }
.nyr-site .nyr-hero__pause-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.nyr-site .nyr-hero__pause.is-paused .nyr-hero__pause-icon {
	width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; margin-left: 3px;
	border-color: transparent transparent transparent currentColor;
}

/* Variante: Video/Bild über die ganze Breite */
.nyr-site .nyr-hero--voll .nyr-hero__media { width: 100%; }
.nyr-site .nyr-hero--voll .nyr-hero__media::before {
	background:
		linear-gradient(90deg, color-mix(in srgb, var(--nyr-dark) 88%, transparent) 0%, color-mix(in srgb, var(--nyr-dark) 55%, transparent) 45%, color-mix(in srgb, var(--nyr-dark) 10%, transparent) 75%),
		linear-gradient(0deg, color-mix(in srgb, var(--nyr-dark) 80%, transparent) 0%, transparent 35%);
}
.nyr-site .nyr-hero--voll .nyr-hero__inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: space-between; }
.nyr-site .nyr-hero__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(90deg, var(--nyr-dark) 0%, color-mix(in srgb, var(--nyr-dark) 70%, transparent) 14%, transparent 42%),
		linear-gradient(0deg, color-mix(in srgb, var(--nyr-dark) 75%, transparent) 0%, transparent 32%);
}
.nyr-site .nyr-hero__script {
	position: absolute; z-index: 2; right: 5%; bottom: 30%;
	font-family: var(--nyr-script); font-size: clamp(2rem, 1.2rem + 1.8vw, 3rem); line-height: 1.05;
	color: var(--nyr-white); transform: rotate(-11deg); transform-origin: right bottom;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35); text-align: left;
}
.nyr-site .nyr-hero__script::after {
	content: ""; display: block; height: 2px; width: 92%; margin: 8px 0 0 6%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9) 25%, rgba(255, 255, 255, .9));
	border-radius: 2px;
}
.nyr-site .nyr-hero__inner { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 40px; }
.nyr-site .nyr-hero__content { max-width: 560px; }
.nyr-site .nyr-hero__title {
	font-family: var(--nyr-serif); font-weight: 700;
	font-size: clamp(2.5rem, 1.4rem + 4vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em;
	color: var(--nyr-white);
}
.nyr-site .nyr-hero__title span { display: block; }
.nyr-site .nyr-hero__accent { color: var(--nyr-red); filter: brightness(1.15); }
.nyr-site .nyr-hero__text { margin-top: 26px; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 33em; }
.nyr-site .nyr-hero .nyr-actions { margin-top: 32px; }
.nyr-site .nyr-hero__facts {
	display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 20px 48px;
	margin-top: clamp(48px, 6vw, 72px);
}
.nyr-site .nyr-hero__facts li { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.nyr-site .nyr-hero__facts .nyr-icon { width: 34px; height: 34px; color: var(--nyr-white); }
.nyr-site .nyr-hero__facts strong { display: block; font-weight: 600; color: var(--nyr-white); }

@media (max-width: 900px) {
	.nyr-site .nyr-hero__media { position: relative; width: 100%; height: 300px; z-index: 0; }
	.nyr-site .nyr-hero--voll .nyr-hero__media { position: absolute; height: auto; z-index: -1; }
	.nyr-site .nyr-hero--voll .nyr-hero__media::before { background: color-mix(in srgb, var(--nyr-dark) 62%, transparent); }
	.nyr-site .nyr-hero--voll .nyr-hero__inner { padding-top: 64px; min-height: 0; }
	.nyr-site .nyr-hero--voll .nyr-hero__script { display: none; }
	.nyr-site .nyr-hero--voll .nyr-hero__pause { bottom: auto; top: 16px; right: 16px; }
	.nyr-site .nyr-hero__media::before { background: linear-gradient(0deg, var(--nyr-dark) 0%, transparent 55%); }
	.nyr-site .nyr-hero__script { bottom: 22%; right: 6%; }
	.nyr-site .nyr-hero__inner { padding-top: 8px; }
	.nyr-site .nyr-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
}

/* ═══ Seitenkopf (Unterseiten) ═════════════════ */
.nyr-site .nyr-pagehero {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--nyr-dark); color: var(--nyr-white);
}
.nyr-site .nyr-pagehero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: -1; }
.nyr-site .nyr-pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.nyr-site .nyr-pagehero__media::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--nyr-dark) 0%, color-mix(in srgb, var(--nyr-dark) 60%, transparent) 25%, color-mix(in srgb, var(--nyr-dark) 15%, transparent) 70%);
}
.nyr-site .nyr-pagehero__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.nyr-site .nyr-pagehero__title {
	font-family: var(--nyr-serif); font-weight: 700; color: var(--nyr-white);
	font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em; max-width: 14em;
}
.nyr-site .nyr-pagehero__text { margin-top: 18px; max-width: 34em; font-size: 1.0625rem; color: rgba(255, 255, 255, .85); }
.nyr-site .nyr-pagehero--small .nyr-pagehero__inner { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 900px) {
	.nyr-site .nyr-pagehero__media { width: 100%; opacity: .35; }
	.nyr-site .nyr-pagehero__media::before { background: color-mix(in srgb, var(--nyr-dark) 40%, transparent); }
}

/* ═══ Abschnitte allgemein ══════════════════════ */
.nyr-site .nyr-section { padding: clamp(64px, 8vw, 104px) 0; }

/* ═══ Leistungs-Kacheln ═════════════════════════ */
.nyr-site .nyr-services { background: var(--nyr-bg); }
.nyr-site .nyr-services .nyr-head { margin-bottom: 36px; }
.nyr-site .nyr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.nyr-site .nyr-card {
	position: relative; display: flex; align-items: flex-end;
	min-height: 320px; height: 100%; border-radius: var(--nyr-radius); overflow: hidden;
	background: var(--nyr-dark); color: var(--nyr-white); isolation: isolate;
}
.nyr-site .nyr-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.nyr-site .nyr-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(0deg, rgba(20, 18, 17, .92) 0%, rgba(20, 18, 17, .62) 42%, rgba(20, 18, 17, .05) 72%);
}
.nyr-site a.nyr-card:hover .nyr-card__img { transform: scale(1.04); }
.nyr-site .nyr-card__body { display: block; width: 100%; padding: 22px 70px 22px 20px; }
.nyr-site .nyr-card__icon { width: 34px; height: 34px; margin-bottom: 14px; }
.nyr-site .nyr-card__title { display: block; font-family: var(--nyr-serif); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.nyr-site .nyr-card__text { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.nyr-site .nyr-card__go {
	position: absolute; right: 18px; bottom: 22px;
	width: 38px; height: 38px; border-radius: 50%; background: var(--nyr-white); color: var(--nyr-ink);
	display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s;
}
.nyr-site .nyr-card__go .nyr-icon { width: 18px; height: 18px; }
.nyr-site a.nyr-card:hover .nyr-card__go { background: var(--nyr-red); color: var(--nyr-white); }

/* ═══ Über-uns-Block ════════════════════════════ */
.nyr-site .nyr-about {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	background: var(--nyr-bg); border-top: 1px solid var(--nyr-line);
}
.nyr-site .nyr-about__text {
	padding: clamp(56px, 7vw, 88px) clamp(48px, 7vw, 120px) clamp(56px, 7vw, 88px) max(var(--nyr-gutter), calc((100vw - var(--nyr-max)) / 2));
	align-self: center;
}
.nyr-site .nyr-about__text .nyr-head { margin-bottom: 22px; }
.nyr-site .nyr-about__copy { color: var(--nyr-muted); max-width: 34em; }
.nyr-site .nyr-about__copy p + p { margin-top: 1em; }
.nyr-site .nyr-about .nyr-btn { margin-top: 30px; }
.nyr-site .nyr-about__media { position: relative; min-height: 380px; }
.nyr-site .nyr-about__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 55%; }
.nyr-site .nyr-badge {
	position: absolute; left: 0; top: 36px; transform: translateX(-50%); z-index: 2;
	width: 150px; height: 150px; border-radius: 50%;
	background: var(--nyr-bg); border: 1px solid var(--nyr-line);
	box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .45);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.nyr-site .nyr-badge__num { font-family: var(--nyr-serif); font-weight: 700; font-size: 3.4rem; line-height: .9; color: var(--nyr-ink); }
.nyr-site .nyr-badge__label { margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.nyr-site .nyr-badge__sub { margin-top: 4px; padding-bottom: 6px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--nyr-muted); border-bottom: 2px solid var(--nyr-red); }
.nyr-site .nyr-chips {
	position: absolute; right: 0; bottom: 0; z-index: 2; width: min(88%, 560px);
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
	border-top-left-radius: var(--nyr-radius);
}
.nyr-site .nyr-chips li + li { border-left: 1px solid var(--nyr-line); }
.nyr-site .nyr-chips a,
.nyr-site .nyr-chips span {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 14px 8px; font-size: 13px; color: var(--nyr-ink); text-align: center;
}
.nyr-site .nyr-chips a:hover { color: var(--nyr-red); }
.nyr-site .nyr-chips .nyr-icon { width: 26px; height: 26px; color: var(--nyr-red); }

@media (max-width: 900px) {
	.nyr-site .nyr-about { grid-template-columns: 1fr; }
	.nyr-site .nyr-about__text { padding: 64px var(--nyr-gutter) 56px; }
	.nyr-site .nyr-about__media { min-height: 360px; }
	.nyr-site .nyr-badge { left: auto; right: var(--nyr-gutter); top: 0; transform: translateY(-55%); width: 120px; height: 120px; }
	.nyr-site .nyr-badge__num { font-size: 2.6rem; }
	.nyr-site .nyr-chips { position: relative; width: 100%; border-radius: 0; margin-top: 0; }
	.nyr-site .nyr-about__media { display: flex; flex-direction: column; justify-content: flex-end; }
}
@media (max-width: 520px) {
	.nyr-site .nyr-chips { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
	.nyr-site .nyr-chips li:nth-child(odd) { border-left: 0; }
	.nyr-site .nyr-chips li:nth-child(n+3) { border-top: 1px solid var(--nyr-line); }
}

/* ═══ Projekte / Galerie ════════════════════════ */
.nyr-site .nyr-projects { background: var(--nyr-dark); color: var(--nyr-white); padding: clamp(56px, 7vw, 88px) 0; }
.nyr-site .nyr-projects .nyr-eyebrow { color: rgba(255, 255, 255, .8); }
.nyr-site .nyr-projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.nyr-site .nyr-projects__head .nyr-head { margin-bottom: 0; }
.nyr-site .nyr-gallery { position: relative; }
.nyr-site .nyr-gallery__btn { display: block; width: 100%; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.nyr-site .nyr-gallery__btn img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nyr-site .nyr-gallery__btn:hover img { transform: scale(1.04); }
.nyr-site .nyr-gallery__caption { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); }

.nyr-site .nyr-projects--slider .nyr-gallery__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.nyr-site .nyr-projects--slider .nyr-gallery__track::-webkit-scrollbar { display: none; }
.nyr-site .nyr-projects--slider .nyr-gallery__item { scroll-snap-align: start; }
.nyr-site .nyr-gallery__nav { position: absolute; right: -23px; top: 50%; transform: translateY(-50%); display: flex; gap: 10px; }
.nyr-site .nyr-gallery.no-scroll .nyr-gallery__nav { display: none; }

.nyr-site .nyr-projects--grid .nyr-gallery__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px 16px; }

@media (max-width: 1080px) {
	.nyr-site .nyr-projects--slider .nyr-gallery__track { grid-auto-columns: calc((100% - 14px) / 2.3); }
	.nyr-site .nyr-gallery__nav { position: static; transform: none; justify-content: flex-end; margin-top: 18px; }
}
@media (max-width: 600px) {
	.nyr-site .nyr-projects--slider .nyr-gallery__track { grid-auto-columns: 82%; }
}

/* Lightbox */
.nyr-lightbox {
	position: fixed; inset: 0; z-index: 100000; margin: 0; padding: 24px; width: 100%; height: 100%; max-width: none; max-height: none;
	border: 0; background: rgba(15, 14, 13, .92); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
	font-family: "Inter", system-ui, sans-serif;
}
.nyr-lightbox[open] { display: flex; }
.nyr-lightbox::backdrop { background: transparent; }
.nyr-lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; }
.nyr-lightbox p { color: #fff; font-size: 15px; margin: 0; }
.nyr-lightbox button {
	position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
	border: 0; background: #fff; color: #1f1d1c; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.nyr-lightbox button svg { width: 22px; height: 22px; }

/* ═══ Merkmal-Leiste ════════════════════════════ */
.nyr-site .nyr-features { background: var(--nyr-bg); padding: 34px 0; border-top: 1px solid var(--nyr-line); }
.nyr-site .nyr-features__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.nyr-site .nyr-features__list li { display: flex; align-items: center; gap: 14px; padding: 10px 22px; font-size: 13.5px; line-height: 1.35; color: var(--nyr-muted); }
.nyr-site .nyr-features__list li + li { border-left: 1px solid var(--nyr-line); }
.nyr-site .nyr-features__list li:first-child { padding-left: 0; }
.nyr-site .nyr-features__list .nyr-icon { width: 34px; height: 34px; color: var(--nyr-red); }
.nyr-site .nyr-features__list strong { display: block; color: var(--nyr-ink); font-weight: 600; font-size: 14px; }
@media (max-width: 1000px) {
	.nyr-site .nyr-features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
	.nyr-site .nyr-features__list li,
	.nyr-site .nyr-features__list li + li,
	.nyr-site .nyr-features__list li:first-child { padding: 12px 12px 12px 0; border-left: 0; }
}

/* ═══ Bild-Text-Blöcke ══════════════════════════ */
.nyr-site .nyr-blocks { background: var(--nyr-bg); }
.nyr-site .nyr-block {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center;
	scroll-margin-top: calc(var(--nyr-header-h) + 24px);
}
.nyr-site .nyr-block + .nyr-block { margin-top: clamp(64px, 8vw, 112px); }
.nyr-site .nyr-block:nth-of-type(even) .nyr-block__media { order: 2; }
.nyr-site .nyr-block.no-image { grid-template-columns: 1fr; max-width: 760px; }
.nyr-site .nyr-block__media { border-radius: var(--nyr-radius); overflow: hidden; }
.nyr-site .nyr-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nyr-site .nyr-block__text { margin-top: 18px; color: var(--nyr-muted); max-width: 34em; }
.nyr-site .nyr-block__text p + p { margin-top: 1em; }
.nyr-site .nyr-checks { margin-top: 24px; display: grid; gap: 12px; }
.nyr-site .nyr-checks li { display: flex; align-items: flex-start; gap: 12px; }
.nyr-site .nyr-checks .nyr-icon {
	width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%;
	background: color-mix(in srgb, var(--nyr-red) 12%, transparent); color: var(--nyr-red); stroke-width: 2.4;
}
@media (max-width: 860px) {
	.nyr-site .nyr-block { grid-template-columns: 1fr; }
	.nyr-site .nyr-block:nth-of-type(even) .nyr-block__media { order: 0; }
}

/* ═══ Aufruf-Banner ═════════════════════════════ */
.nyr-site .nyr-cta { background: var(--nyr-dark); color: var(--nyr-white); padding: clamp(48px, 6vw, 72px) 0; border-top: 4px solid var(--nyr-red); }
.nyr-site .nyr-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.nyr-site .nyr-cta p { margin-top: 10px; color: rgba(255, 255, 255, .8); max-width: 36em; }
.nyr-site .nyr-cta__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; color: var(--nyr-white); }
.nyr-site .nyr-cta__phone:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ═══ Kontakt ═══════════════════════════════════ */
.nyr-site .nyr-contact { background: var(--nyr-bg); }
.nyr-site .nyr-contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.nyr-site .nyr-contact__info .nyr-head { margin-bottom: 32px; }
.nyr-site .nyr-contact__list { display: grid; gap: 22px; }
.nyr-site .nyr-contact__list dt { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nyr-muted); }
.nyr-site .nyr-contact__list dt .nyr-icon { color: var(--nyr-red); width: 20px; height: 20px; }
.nyr-site .nyr-contact__list dd { margin: 6px 0 0 30px; font-size: 1.0625rem; }
.nyr-site .nyr-contact__list a:hover { color: var(--nyr-red); }
.nyr-site .nyr-contact__form { background: var(--nyr-white); border: 1px solid var(--nyr-line); border-radius: var(--nyr-radius); padding: clamp(24px, 4vw, 44px); }
.nyr-site .nyr-contact__form > .nyr-h3 { margin-bottom: 24px; }
@media (max-width: 900px) { .nyr-site .nyr-contact__grid { grid-template-columns: 1fr; } }

.nyr-site .nyr-form { display: grid; gap: 18px; }
.nyr-site .nyr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .nyr-site .nyr-form__row { grid-template-columns: 1fr; } }
.nyr-site .nyr-field { display: grid; gap: 6px; }
.nyr-site .nyr-field > span { font-size: 14px; font-weight: 500; }
.nyr-site .nyr-field input,
.nyr-site .nyr-field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--nyr-ink);
	background: var(--nyr-bg); border: 1px solid var(--nyr-line); border-radius: 4px; padding: 12px 14px;
	box-shadow: none; transition: border-color .15s, background-color .15s;
}
.nyr-site .nyr-field input:focus,
.nyr-site .nyr-field textarea:focus { outline: none; border-color: var(--nyr-red); background: var(--nyr-white); }
.nyr-site .nyr-field textarea { resize: vertical; min-height: 140px; }
.nyr-site .nyr-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--nyr-muted); }
.nyr-site .nyr-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nyr-red); flex-shrink: 0; }
.nyr-site .nyr-check a { color: var(--nyr-red); text-decoration: underline; }
.nyr-site .nyr-form .nyr-btn { justify-self: start; }
.nyr-site .nyr-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nyr-site .nyr-notice { padding: 14px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 15px; }
.nyr-site .nyr-notice--ok { background: #eaf5ec; color: #1d5b2b; border: 1px solid #c4e2ca; }
.nyr-site .nyr-notice--error { background: #fbeceb; color: #8a1c1c; border: 1px solid #f0c9c7; }

/* ═══ Freie Seiten (Impressum …) ════════════════ */
.nyr-site .nyr-prose { max-width: 780px; }
.nyr-site .nyr-prose > * + * { margin-top: 1em; }
.nyr-site .nyr-prose h2 { font-family: var(--nyr-serif); font-size: 1.6rem; line-height: 1.2; margin-top: 1.8em; }
.nyr-site .nyr-prose h3 { font-family: var(--nyr-serif); font-size: 1.25rem; margin-top: 1.5em; }
.nyr-site .nyr-prose a { color: var(--nyr-red); text-decoration: underline; }
.nyr-site .nyr-prose ul { list-style: disc; padding-left: 1.4em; }
.nyr-site .nyr-prose ol { list-style: decimal; padding-left: 1.4em; }

/* ═══ Footer ════════════════════════════════════ */
.nyr-site .nyr-footer { border-top: 1px solid rgba(255, 255, 255, .08); background: var(--nyr-dark); color: rgba(255, 255, 255, .78); font-size: 15px; }
.nyr-site .nyr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.nyr-site .nyr-footer__brand img { width: 190px; height: auto; margin-bottom: 18px; }
.nyr-site .nyr-footer__brand p { max-width: 24em; }
.nyr-site .nyr-footer__title { font-family: var(--nyr-sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--nyr-white); margin-bottom: 16px; }
.nyr-site .nyr-footer__col ul { display: grid; gap: 8px; }
.nyr-site .nyr-footer a:hover { color: var(--nyr-white); text-decoration: underline; text-underline-offset: 3px; }
.nyr-site .nyr-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.nyr-site .nyr-footer__contact .nyr-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--nyr-red); filter: brightness(1.4); }
.nyr-site .nyr-footer__bottom {
	display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
	padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px;
}
.nyr-site .nyr-footer__bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .nyr-site .nyr-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nyr-site .nyr-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ═══ Bewegung reduzieren ═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.nyr-site *, .nyr-site *::before, .nyr-site *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
