/**
 * NEXCORE Ennigerloh â€” block theme front styles
 * Base: html 62.5% => 1rem = 10px
 *
 * Contrast model:
 * - --primary / --brand: deep purple for fills & on-light UI
 * - --accent: bright lilac for accents on dark surfaces
 */

:root {
	--brand: #4b0071;
	--brand-dark: #2a0040;
	--primary: #5c0a88;
	--primary-dark: #2a0040;
	--primary-light: #d4a3ff;
	--accent: #e0b8ff;
	--accent-strong: #c56bff;
	--secondary: #1a1420;
	--text: #1a1420;
	--text-muted: #5a5363;
	--ink: #0c0a0f;
	--ink-soft: #16121c;
	--soft: #f8f5fb;
	--soft-2: #ece4f4;
	--white: #fff;
	--scrim: rgba(12, 10, 15, 0.88);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: "Open Sans", "Montserrat", Arial, sans-serif;
	font-size: 2rem;
	line-height: 1.75;
	color: var(--text);
	overflow-x: hidden;
	background: var(--ink);
}

/* WP core skip link injected outside site blocks */
.skip-link.screen-reader-text {
	margin: 0 !important;
}

body.nc-menu-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: all 0.3s ease-out;
}

.wp-site-blocks,
.wp-site-blocks > * {
	margin: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

.skip-link {
	position: absolute;
	top: 0;
	left: -9999px;
	z-index: 10000;
	background: var(--primary);
	color: #fff;
	padding: 1rem 1.5rem;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.nc-chrome {
	position: relative;
	height: 0;
	overflow: visible;
	z-index: 60;
}

.nc-footer-wrap {
	display: block;
}

/* --------------------------------------------------------------------------
   News bubble (fixed)
   -------------------------------------------------------------------------- */
.news_wrapper {
	position: fixed;
	z-index: 40;
	left: 15vw;
	top: 5rem;
	right: 50vw;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.news_wrapper.is-dimmed {
	opacity: 0;
	transform: translateY(-1rem);
	pointer-events: none;
}

.news-container {
	pointer-events: auto;
	width: 40vw;
	max-width: 52rem;
	background: rgba(12, 10, 15, 0.72);
	border-radius: 0.3rem;
	padding: 2rem;
	color: #fff;
	font-size: 1.6rem;
	backdrop-filter: blur(100px);
	border: 1px solid var(--accent-strong);
	position: relative;
}

.news-container a {
	color: inherit;
	border-bottom: 1px solid currentColor;
}

.news-container a:hover {
	border-bottom-color: var(--accent);
}

.news-container::after {
	content: "!";
	position: absolute;
	top: 15%;
	left: -8rem;
	height: 5rem;
	width: 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-strong);
	border-radius: 50%;
	font-size: 3.1rem;
	font-weight: 700;
	color: var(--ink);
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	box-shadow: 1px -2px 14px 2px rgba(197, 107, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Header â€” logo + MENÃœ square (fixed top-right)
   -------------------------------------------------------------------------- */
#header {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 60;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	line-height: 20rem;
	height: 20rem;
	width: auto;
	max-width: calc(100vw - 2rem);
	background: transparent;
	backdrop-filter: none;
}

.custom-logo-link {
	max-width: 48rem;
	margin-right: 2.4rem;
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
	line-height: 1;
	padding: 0.7rem 1.4rem;
	border-radius: 0.6rem;
	/* Solid panel — backdrop-filter softens logo on mobile browsers */
	background: rgba(8, 6, 12, 0.9);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	text-decoration: none !important;
}

.custom-logo-link img,
.custom-logo-link svg {
	width: 100%;
	height: auto;
	display: block;
	image-rendering: auto;
	image-rendering: high-quality;
	-webkit-user-drag: none;
}

.custom-logo-link--wordmark {
	max-width: none;
}

.custom-logo-link--wordmark .custom-logo-icon {
	width: auto;
	height: 6.4rem;
	flex-shrink: 0;
}

.custom-logo-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	min-width: 0;
}

.custom-logo-name {
	font-family: "Montserrat", "Open Sans", Arial, sans-serif;
	font-size: 3.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	line-height: 0.95;
}

.custom-logo-tag {
	font-family: "Montserrat", "Open Sans", Arial, sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.1;
	white-space: nowrap;
}

#offcanvas {
	position: relative;
	width: 20rem;
	height: 20rem;
	z-index: 4;
	overflow: visible;
}

#offcanvas-bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 20rem;
	height: 20rem;
	background-image: linear-gradient(135deg, #5c0a88, #2a0040);
	z-index: 0;
}

#offcanvas-trigger {
	position: relative;
	z-index: 80;
	width: 20rem;
	height: 20rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	cursor: pointer;
	color: #fff;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
}

#menu-icon {
	position: relative;
	height: 3.4rem;
	width: 4.4rem;
	flex-shrink: 0;
}

.menu-line {
	display: block;
	height: 4px;
	border-radius: 4px;
	background: #fff;
	width: 100%;
	position: absolute;
	right: 0;
	transition: all 0.3s ease-out;
}

#line-1 {
	top: 0;
}
#line-2 {
	top: 15px;
}
#line-3 {
	top: 30px;
}

.trigger-text {
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	transform: rotate(-90deg);
	display: inline-block;
	white-space: nowrap;
	line-height: 1;
}

.offcanvas-inner {
	position: fixed;
	z-index: 55;
	top: 0;
	right: 0;
	height: 100%;
	height: 100dvh;
	width: min(50vw, 72rem);
	background-image: linear-gradient(135deg, #5c0a88, #2a0040);
	color: #fff;
	text-transform: uppercase;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	transform: translateX(105%);
	transition: transform 0.45s ease;
	overflow: auto;
	display: flex;
	flex-direction: column;
	-webkit-overflow-scrolling: touch;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}

.offcanvas-inner h1,
.offcanvas-inner h2,
.offcanvas-inner h3,
.offcanvas-inner p,
.offcanvas-inner li,
.offcanvas-inner strong,
.offcanvas-inner a {
	color: #fff;
}

body.nc-menu-open .offcanvas-inner {
	transform: translateX(0);
}

body.nc-menu-open #line-1 {
	top: 15px;
	transform: rotate(135deg);
}

body.nc-menu-open #line-2 {
	opacity: 0;
}

body.nc-menu-open #line-3 {
	top: 15px;
	transform: rotate(-135deg);
}

.offcanvas-top,
.offcanvas-bot {
	padding: 4rem 8rem;
	position: relative;
}

.offcanvas-top {
	font-size: 3rem;
	flex: 1;
}

.offcanvas-bot {
	font-size: 2.4rem;
	background: hsla(0, 0%, 100%, 0.1);
}

.offcanvas-bot strong {
	font-size: 3rem;
	display: block;
}

.offcanvas-inner .custom-logo-link {
	margin: 2rem 0 4rem;
	max-width: 28rem;
	background: rgba(12, 10, 15, 0.45);
	box-shadow: none;
}

.offcanvas-inner .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.offcanvas-inner .menu-item {
	position: relative;
	padding-left: 4rem;
	line-height: 1.5;
}

.offcanvas-inner .menu-item::before,
.offcanvas-inner .menu-item::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 50%;
	background: #fff;
}

.offcanvas-inner .menu-item::before {
	width: 5px;
	height: 5px;
	border-radius: 100%;
	transform: translateY(-50%);
	left: 3px;
}

.offcanvas-inner .menu-item::after {
	width: 1px;
	height: 100%;
	left: 5px;
}

.offcanvas-inner .menu-item:first-child::before,
.offcanvas-inner .menu-item:last-child::before {
	width: 11px;
	height: 11px;
	left: 0;
}

.offcanvas-inner .menu-item:last-child::after {
	display: none;
}

.offcanvas-inner .menu-item a {
	color: inherit;
	font-weight: 700;
	border-bottom: 1px solid transparent;
}

.offcanvas-inner .menu-item a:hover {
	border-color: currentColor;
}

.offcanvas-person-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 4rem;
}

.offcanvas-person-wrapper img {
	border-radius: 100%;
	border: 2px solid #fff;
	width: 10rem;
	margin-right: 2rem;
}

.offcanvas-person {
	line-height: 1.2;
}

.offcanvas-person a {
	color: inherit;
	display: block;
}

.offcanvas-person-kontakt {
	margin-top: 1rem;
}

.offcanvas-infos.buchung p {
	margin: 4rem 1rem 1rem;
}

.offcanvas-infos.buchung a {
	display: block;
	color: inherit;
	border-radius: 4rem;
	width: min(85%, 290px);
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	padding: 0.7rem 2rem;
	border: 2px solid currentColor;
	line-height: 3rem;
	margin: 0 auto 2rem 0;
}

.offcanvas-hours {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.8rem;
	text-transform: none;
	font-family: "Open Sans", Arial, sans-serif;
}

.offcanvas-hours li {
	margin-bottom: 1.2rem;
}

.offcanvas-hours strong {
	display: block;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.2rem;
	text-transform: uppercase;
	margin-bottom: 0.2rem;
}

.nc-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 50;
}

body.nc-menu-open .nc-backdrop {
	opacity: 1;
	pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Buttons (pill outline)
   -------------------------------------------------------------------------- */
.btn {
	cursor: pointer;
	appearance: none;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	display: inline-block;
	text-decoration: none !important;
	padding: 0.7rem 4rem;
	margin: 0 2rem 2rem 0;
	background: transparent;
	color: var(--primary);
	font-weight: 700;
	font-size: 2.4rem;
	text-transform: uppercase;
	line-height: 3rem;
	border: 2px solid currentColor;
	border-radius: 4rem;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
	color: #fff;
	background: var(--primary);
	border-color: var(--primary);
	transform: translateY(-1px);
}

.btn.white {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

.btn.white:hover,
.btn.white:focus-visible {
	color: var(--brand-dark);
	background: #fff;
	border-color: #fff;
}

.btn.filled {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.btn.filled:hover,
.btn.filled:focus-visible {
	background: var(--accent-strong);
	border-color: var(--accent-strong);
	color: var(--ink);
}

/* --------------------------------------------------------------------------
   Continuous mark rail (hero → last section before footer)
   CSS vars keep width / inset / start / content-clearance in sync.
   -------------------------------------------------------------------------- */
.nc-main {
	/* Wide rail beside the content column (not flush to the viewport edge) */
	--nc-rail-gap: 2.4rem;
	--nc-rail-w-want: clamp(18rem, 17vw, 28rem);
	--nc-rail-space: max(0px, calc(50% - 54rem - var(--nc-rail-gap)));
	--nc-rail-w: min(var(--nc-rail-w-want), var(--nc-rail-space));
	--nc-rail-border: clamp(2rem, 2.3vw, 3rem);
	--nc-rail-left: max(1.2rem, calc(50% - 54rem - var(--nc-rail-w) - var(--nc-rail-gap)));
	--nc-rail-top: 36vh;
	--nc-rail-clear: 0px;
	--nc-rail-mark-size: 58%;
	--nc-rail-mark-y: 1.6rem;
	position: relative;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nc-mark-rail {
	position: absolute;
	top: var(--nc-rail-top);
	bottom: 0;
	left: var(--nc-rail-left);
	width: var(--nc-rail-w);
	height: auto;
	min-height: 0;
	border-style: solid;
	border-color: var(--accent-strong);
	border-width: var(--nc-rail-border);
	background-color: transparent;
	background-image: url("../img/nexcore/mark.webp");
	background-repeat: no-repeat;
	background-size: var(--nc-rail-mark-size) auto;
	background-position: center var(--nc-rail-mark-y);
	pointer-events: none;
	z-index: 8;
	box-sizing: border-box;
	box-shadow: 0 0 0 1px rgba(12, 10, 15, 0.35);
}

/* Content sections clear the rail when --nc-rail-clear is set (tablet/phone) */
.nc-main .nc-welcome,
.nc-main .nc-tour,
.nc-main .nc-services-band,
.nc-main .nc-hours,
.nc-main .nc-contact-strip,
.nc-main > .nc-cta {
	padding-left: max(0px, var(--nc-rail-clear)) !important;
}

.headline-element {
	position: relative;
}

/* Disable per-headline rails — one shared rail instead */
.headline-element::before {
	content: none !important;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.nc-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: flex-end;
	padding: 0 0 clamp(4rem, 8vh, 8rem);
	color: #fff;
	overflow: hidden;
	background: var(--ink) center / cover no-repeat;
	margin: 0 !important;
}

.nc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.nc-hero__media video,
.nc-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nc-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(12, 10, 15, 0.72) 0%, rgba(12, 10, 15, 0.35) 48%, rgba(12, 10, 15, 0.15) 100%),
		linear-gradient(180deg, rgba(12, 10, 15, 0.2) 0%, rgba(12, 10, 15, 0.45) 42%, #0c0a0f 78%, #0c0a0f 100%);
}

.nc-hero__content {
	position: relative;
	z-index: 2;
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	padding-left: clamp(4rem, 10vw, 12rem);
	padding-bottom: 0;
	/* Keep CTA buttons inside first viewport */
	max-height: none;
}

.nc-hero h1 {
	margin: 0 0 1.2rem;
	color: #fff;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(5.6rem, 8.5vw, 11rem);
	font-weight: 800;
	line-height: 0.92;
	text-transform: uppercase;
	max-width: 14ch;
}

.nc-hero h1 strong {
	font-weight: 800;
}

.nc-hero__links {
	margin: 0 0 2.2rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(2.8rem, 3.6vw, 4.2rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.nc-hero__links a {
	color: inherit;
}

.nc-hero__links a:hover {
	color: var(--accent);
}

.nc-sep {
	color: var(--accent-strong);
	margin: 0 0.55rem;
	font-weight: 400;
}

.nc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.2rem;
	margin-top: 0;
	margin-bottom: 0;
}

.nc-hero__actions .btn {
	margin-bottom: 0;
}

.nc-hero .btn.white {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

.nc-hero .btn.white:hover,
.nc-hero .btn.white:focus-visible {
	color: var(--brand-dark);
	background: #fff;
	border-color: #fff;
}

/* --------------------------------------------------------------------------
   Welcome (dark) â€” seamless from hero
   -------------------------------------------------------------------------- */
.nc-welcome {
	position: relative;
	z-index: 2;
	margin-top: -2px;
	background-color: var(--ink);
	background-image: url("../img/nexcore/hero-1.webp");
	background-size: 42% auto;
	background-position: right 2% center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 8rem 0 14rem;
	overflow: visible;
}

.nc-welcome::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, var(--ink) 0%, rgba(12, 10, 15, 0.88) 42%, rgba(12, 10, 15, 0.35) 68%, rgba(12, 10, 15, 0.15) 100%);
	pointer-events: none;
}

.nc-welcome__inner {
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.05fr);
	gap: 2rem;
	align-items: end;
	position: relative;
	z-index: 2;
	padding-left: clamp(4rem, 10vw, 12rem);
}

.nc-welcome__copy {
	position: relative;
	z-index: 3;
	max-width: 54rem;
	background: linear-gradient(90deg, rgba(12, 10, 15, 0.96) 0%, rgba(12, 10, 15, 0.88) 78%, rgba(12, 10, 15, 0) 100%);
	padding: 2rem 3rem 2rem 1rem;
}

.nc-welcome__visual {
	display: none;
}

.nc-welcome h2 {
	margin: 0 0 2rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4.5rem, 6vw, 7rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	max-width: 16ch;
	padding: 0;
	background: none;
}

.nc-welcome h2 strong {
	font-weight: 800;
	color: var(--accent);
}

.nc-welcome p {
	max-width: 42ch;
	font-size: 2rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.96);
	margin: 0 0 1.6rem;
	padding-left: 0;
}

.nc-welcome .btn.white {
	color: #fff;
	border-color: #fff;
	margin-top: 1rem;
	background: transparent;
}

.nc-welcome .btn.white:hover,
.nc-welcome .btn.white:focus-visible {
	color: var(--brand-dark);
	background: #fff;
	border-color: #fff;
}

/* --------------------------------------------------------------------------
   Matterport 3D tour
   -------------------------------------------------------------------------- */
.nc-tour {
	position: relative;
	z-index: 2;
	padding: 8rem 0 9rem;
	background: var(--soft);
}

.nc-tour__inner {
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	padding-left: clamp(2rem, 5vw, 8rem);
	box-sizing: border-box;
}

.nc-tour h2 {
	margin: 0 0 1.2rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4rem, 5.5vw, 6.4rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: var(--text);
}

.nc-tour h2 strong {
	color: var(--primary);
}

.nc-tour__lead {
	margin: 0 0 2.8rem;
	max-width: 48ch;
	font-size: 1.9rem;
	color: var(--text-muted);
}

.nc-tour__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	max-height: min(72vh, 64rem);
	overflow: hidden;
	background: var(--ink);
	box-shadow: 0 18px 50px rgba(12, 10, 15, 0.14);
	border: 1px solid rgba(75, 0, 113, 0.12);
}

.nc-tour__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* --------------------------------------------------------------------------
   Services band — one continuous soft surface
   -------------------------------------------------------------------------- */
.nc-services-band {
	position: relative;
	z-index: 2;
	background: var(--soft);
	padding-bottom: 8rem;
	overflow: visible;
}

.nc-services-intro {
	padding: 10rem 0 2rem;
	background: transparent;
	width: min(100% - 6rem, 1080px);
	margin: 0 auto;
	padding-left: clamp(4rem, 10vw, 12rem);
	box-sizing: border-box;
}

.nc-services-intro h2 {
	width: auto;
	margin: 0;
	padding-left: 0;
	box-sizing: border-box;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4.5rem, 6vw, 7rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: var(--text);
}

.nc-services-intro h2 strong {
	color: var(--primary);
}

.nc-service {
	position: relative;
	background: transparent;
	padding: 8rem 0;
	overflow: visible;
}

.nc-service__shade {
	position: absolute;
	top: 0;
	height: 48%;
	width: 28%;
	background: var(--soft-2);
	z-index: 0;
	pointer-events: none;
}

.nc-service__shade--right {
	right: 0;
}

.nc-service__shade--left {
	left: 0;
}

.nc-service__inner {
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 5rem;
	align-items: center;
	position: relative;
	z-index: 2;
	padding-left: clamp(2rem, 6vw, 8rem);
	box-sizing: border-box;
}

.nc-service--reverse .nc-service__inner {
	grid-template-columns: 1.05fr 0.95fr;
}

.nc-service--reverse .nc-service__inner .nc-service__panel {
	order: 2;
}

.nc-service--reverse .nc-service__inner .nc-service__media {
	order: 1;
}

.nc-service__panel {
	background: rgba(255, 255, 255, 0.97);
	padding: 4rem 3.5rem;
	box-shadow: 0 18px 50px rgba(12, 10, 15, 0.12);
	position: relative;
	z-index: 3;
	color: var(--text);
}

.nc-service__media {
	--frame-shift: clamp(1.2rem, 2.2vw, 2rem);
	--frame-thick: clamp(1.2rem, 2vw, 1.8rem);
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	/* Leave room so the L-frame can peek past the photo */
	margin-bottom: var(--frame-shift);
}

.nc-service--right-frame .nc-service__media {
	margin-right: var(--frame-shift);
}

.nc-service--left-frame .nc-service__media {
	margin-left: var(--frame-shift);
}

.nc-frame {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	box-sizing: border-box;
	border: 0 solid var(--primary);
	/* Exact same box as the image */
	width: 100%;
	height: 100%;
}

.nc-frame--br {
	border-right-width: var(--frame-thick);
	border-bottom-width: var(--frame-thick);
	transform: translate(var(--frame-shift), var(--frame-shift));
}

.nc-frame--bl {
	border-left-width: var(--frame-thick);
	border-bottom-width: var(--frame-thick);
	transform: translate(calc(var(--frame-shift) * -1), var(--frame-shift));
}

.nc-service__media img {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	display: block;
	object-fit: cover;
	object-position: center;
	background: var(--soft-2);
}

.nc-service h3 {
	margin: 0 0 1.7rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(3.6rem, 5vw, 6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
}

.nc-service h3 strong {
	font-weight: 700;
}

.nc-service p {
	margin: 0 0 1.6rem;
	font-size: 2rem;
	color: var(--text);
}

.nc-service p:last-of-type {
	margin-bottom: 2.8rem;
}

.nc-service__lead {
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.6rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--primary) !important;
	margin-bottom: 1.2rem !important;
}

.nc-service__note {
	padding: 1.4rem 1.6rem;
	background: var(--soft);
	border-left: 4px solid var(--accent-strong);
	font-size: 1.85rem !important;
}

.nc-service__list {
	margin: 0 0 2.8rem;
	padding: 0;
	max-width: 48rem;
	font-size: 1.85rem;
	line-height: 1.55;
	color: var(--text);
	list-style: none;
}

.nc-service__list li {
	position: relative;
	margin-bottom: 0.85rem;
	padding-left: 2rem;
}

.nc-service__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--accent-strong);
	transform: translateY(-50%);
}

.nc-kicker {
	margin: 0 0 1rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.nc-kicker--dark {
	color: var(--primary);
}

.nc-hero__eyebrow {
	margin: 0 0 1.2rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(1.8rem, 2.2vw, 2.4rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

.nc-hero h1 strong {
	font-weight: 800;
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hours + contact strip
   -------------------------------------------------------------------------- */
.nc-hours {
	position: relative;
	z-index: 2;
	padding: 10rem 0 6rem;
	background: #fff;
}

.nc-hours__inner {
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	padding-left: clamp(2rem, 5vw, 8rem);
	box-sizing: border-box;
}

.nc-hours__intro {
	margin-bottom: 4rem;
	max-width: 64rem;
}

.nc-hours h2 {
	margin: 0 0 1.6rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4.5rem, 6vw, 7rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: var(--text);
}

.nc-hours h2 strong {
	color: var(--primary);
}

.nc-hours__lead {
	margin: 0 0 2.4rem;
	font-size: 2rem;
	color: var(--text-muted);
	max-width: 48ch;
}

.nc-hours__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.nc-hours__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.nc-hours__card {
	background: var(--soft);
	padding: 3rem 2.4rem;
	border-top: 4px solid var(--primary);
}

.nc-hours__card h3 {
	margin: 0 0 1rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.8rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--primary);
}

.nc-hours__highlight {
	margin: 0 0 1.6rem;
	font-size: 1.7rem;
	color: var(--text-muted);
}

.nc-hours__card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-hours__card li {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(92, 10, 136, 0.12);
	font-size: 1.7rem;
	color: var(--text);
}

.nc-hours__card li span:last-child {
	font-weight: 700;
	text-align: right;
}

.nc-hours__note {
	margin: 0;
	font-size: 1.7rem;
	color: var(--text-muted);
	max-width: 70ch;
}

.nc-contact-strip {
	position: relative;
	z-index: 2;
	padding: 8rem 0;
	color: #fff;
	background: linear-gradient(135deg, #5c0a88 0%, #2a0040 100%);
}

.nc-contact-strip__inner {
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 3rem;
	padding-left: clamp(2rem, 5vw, 8rem);
	box-sizing: border-box;
}

.nc-contact-strip .nc-kicker {
	color: var(--accent);
}

.nc-contact-strip h2 {
	margin: 0 0 1rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(3.6rem, 5vw, 5.6rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

.nc-contact-strip h2 strong {
	color: var(--accent);
}

.nc-contact-strip p {
	color: rgba(255, 255, 255, 0.92);
}

.nc-contact-strip p:last-child {
	margin: 0;
	font-size: 1.8rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
}

.nc-contact-strip p a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.nc-contact-strip p a:hover,
.nc-contact-strip p a:focus-visible {
	color: var(--accent);
}

.nc-contact-strip__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
}

.nc-contact-strip .btn.white {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

.nc-contact-strip .btn.white:hover,
.nc-contact-strip .btn.white:focus-visible {
	color: var(--brand-dark);
	background: #fff;
	border-color: #fff;
}

/* Inner pages */
.nc-content {
	position: relative;
	z-index: 2;
	background: var(--soft);
	color: var(--text);
	padding: clamp(12rem, 18vh, 18rem) 0 clamp(6rem, 10vh, 10rem);
	min-height: 50vh;
}

.nc-content .wp-block-post-title,
.nc-content h1 {
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4rem, 6vw, 7rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: var(--text);
	margin: 0 0 2rem;
}

.nc-content a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

::selection {
	background: var(--accent-strong);
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--accent-strong);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   CTA + Footer
   -------------------------------------------------------------------------- */
.nc-cta {
	position: relative;
	padding: 14rem 0;
	color: #fff;
	background: var(--ink) center / cover no-repeat;
	overflow: hidden;
}

/* Front page CTA lives in main (under mark rail); hide duplicate in footer */
body.home .nc-cta--footer {
	display: none;
}

.nc-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(12, 10, 15, 0.72) 0%, rgba(75, 0, 113, 0.55) 55%, rgba(12, 10, 15, 0.78) 100%);
	backdrop-filter: blur(2px);
}

.nc-cta__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 6rem, 1080px);
	margin-inline: auto;
	padding-left: clamp(2rem, 5vw, 8rem);
	box-sizing: border-box;
}

.nc-cta h2 {
	margin: 0 0 1rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: clamp(4.5rem, 7vw, 9rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

.nc-cta h2 strong {
	color: var(--accent);
}

.nc-cta p {
	margin: 0 0 3rem;
	font-size: 2.4rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	text-transform: uppercase;
	color: #fff;
}

#footer {
	color: #fff;
	background-image: linear-gradient(to right, #5c0a88, #2a0040);
}

.footer-inner {
	padding: 8rem 2rem;
	max-width: 1400px;
	margin: 0 auto;
	width: 85%;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 4rem;
}

#footer .custom-logo-link {
	margin-bottom: 4rem;
	margin-right: 0;
	max-width: none;
	background: rgba(12, 10, 15, 0.35);
	box-shadow: none;
}

#footer .custom-logo-link--wordmark .custom-logo-icon {
	height: 5.6rem;
}

#footer .custom-logo-name,
#footer .custom-logo-tag {
	color: #fff;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer p,
#footer li,
#footer strong,
#footer a {
	color: #fff;
}

#footer h3 {
	margin: 0 0 1.5rem;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.4rem;
	text-transform: uppercase;
	color: #fff;
}

#footer a:hover {
	opacity: 0.9;
}

#footer .btn:hover,
#footer a.btn:hover {
	opacity: 1;
	border-bottom: 0;
}

.footer-hours {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.8rem;
	color: #fff;
}

.footer-hours li {
	margin-bottom: 1.5rem;
	color: #fff;
}

.footer-hours strong {
	display: block;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.2rem;
	margin-bottom: 0.2rem;
	color: #fff;
}

.footer-bottom {
	width: 85%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem 4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
	font-family: "Sofia Sans Extra Condensed", sans-serif;
	font-size: 2.4rem;
	text-transform: uppercase;
	color: #fff;
}

.footer-bottom a {
	margin-right: 2rem;
	color: #fff;
}

/* Dark surfaces: beat theme.json heading/text colors */
.wp-site-blocks .nc-hero h1,
.wp-site-blocks .nc-hero h2,
.wp-site-blocks .nc-welcome h2,
.wp-site-blocks .nc-cta h2,
.wp-site-blocks .nc-cta p,
.wp-site-blocks .nc-contact-strip h2,
.wp-site-blocks .nc-contact-strip p,
.wp-site-blocks .nc-contact-strip .nc-kicker,
.wp-site-blocks #footer h1,
.wp-site-blocks #footer h2,
.wp-site-blocks #footer h3,
.wp-site-blocks #footer h4,
.wp-site-blocks #footer p,
.wp-site-blocks #footer li,
.wp-site-blocks #footer strong,
.wp-site-blocks #footer a,
.wp-site-blocks .footer-bottom,
.wp-site-blocks .footer-bottom a,
.wp-site-blocks .offcanvas-inner,
.wp-site-blocks .offcanvas-inner a,
.wp-site-blocks .offcanvas-inner strong {
	color: #fff;
}

.wp-site-blocks #footer .btn.white,
.wp-site-blocks .nc-contact-strip .btn.white,
.wp-site-blocks .nc-cta .btn.white,
.wp-site-blocks .nc-hero .btn.white,
.wp-site-blocks .nc-welcome .btn.white {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

.wp-site-blocks #footer .btn.white:hover,
.wp-site-blocks #footer .btn.white:focus-visible,
.wp-site-blocks .nc-contact-strip .btn.white:hover,
.wp-site-blocks .nc-contact-strip .btn.white:focus-visible,
.wp-site-blocks .nc-cta .btn.white:hover,
.wp-site-blocks .nc-cta .btn.white:focus-visible,
.wp-site-blocks .nc-hero .btn.white:hover,
.wp-site-blocks .nc-hero .btn.white:focus-visible,
.wp-site-blocks .nc-welcome .btn.white:hover,
.wp-site-blocks .nc-welcome .btn.white:focus-visible {
	color: var(--brand-dark);
	background: #fff;
	border-color: #fff;
}

.wp-site-blocks #footer .btn.filled:hover,
.wp-site-blocks #footer .btn.filled:focus-visible,
.wp-site-blocks .nc-hours .btn.filled:hover,
.wp-site-blocks .nc-hours .btn.filled:focus-visible,
.wp-site-blocks .nc-service .btn.filled:hover,
.wp-site-blocks .nc-service .btn.filled:focus-visible {
	color: var(--ink);
	background: var(--accent-strong);
	border-color: var(--accent-strong);
}

.wp-site-blocks .nc-service .btn:hover,
.wp-site-blocks .nc-service .btn:focus-visible,
.wp-site-blocks .nc-hours .btn:not(.filled):hover,
.wp-site-blocks .nc-hours .btn:not(.filled):focus-visible {
	color: #fff;
	background: var(--primary);
	border-color: var(--primary);
}

.wp-site-blocks .nc-hero h1 strong,
.wp-site-blocks .nc-welcome h2 strong,
.wp-site-blocks .nc-cta h2 strong,
.wp-site-blocks .nc-contact-strip h2 strong {
	color: var(--accent);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Mid desktops: still beside content, slightly smaller — not flush left */
@media (max-width: 1500px) {
	.nc-main {
		--nc-rail-w-want: clamp(14rem, 14vw, 20rem);
		--nc-rail-gap: 2rem;
		--nc-rail-border: clamp(1.6rem, 1.8vw, 2.4rem);
		--nc-rail-space: max(0px, calc(50% - 54rem - var(--nc-rail-gap)));
		--nc-rail-w: min(var(--nc-rail-w-want), var(--nc-rail-space));
		--nc-rail-left: max(1.2rem, calc(50% - 54rem - var(--nc-rail-w) - var(--nc-rail-gap)));
		--nc-rail-top: 36vh;
		--nc-rail-clear: 0px;
		--nc-rail-mark-size: 58%;
		--nc-rail-mark-y: 1.2rem;
	}
}

/* Large tablets / small laptops — stack services; rail after hero on the left */
@media (max-width: 1200px) {
	.nc-main {
		--nc-rail-w: clamp(7rem, 11vw, 11rem);
		--nc-rail-border: clamp(1.1rem, 1.6vw, 1.6rem);
		--nc-rail-left: max(0.8rem, env(safe-area-inset-left, 0px));
		--nc-rail-top: 100vh;
		--nc-rail-clear: calc(var(--nc-rail-left) + var(--nc-rail-w) + 1.4rem);
		--nc-rail-mark-size: 64%;
		--nc-rail-mark-y: 1.1rem;
	}

	.nc-mark-rail {
		/* Explicit — never paint over the hero on mid/small screens */
		top: 100vh;
		top: 100svh;
		min-height: 0;
	}

	.nc-welcome,
	.nc-tour,
	.nc-services-band,
	.nc-hours,
	.nc-contact-strip,
	.nc-main > .nc-cta {
		padding-right: 1.6rem !important;
		box-sizing: border-box;
	}

	.nc-hero__content,
	.nc-welcome__inner,
	.nc-services-intro {
		padding-left: 0;
	}

	.nc-service__inner {
		padding-left: 0;
		gap: 3.6rem;
		grid-template-columns: 1fr;
	}

	.nc-service--reverse .nc-service__inner {
		grid-template-columns: 1fr;
	}

	.nc-service--reverse .nc-service__inner .nc-service__panel,
	.nc-service--reverse .nc-service__inner .nc-service__media {
		order: initial;
	}

	.nc-service__media {
		--frame-shift: 1.2rem;
		--frame-thick: 1.2rem;
		max-width: min(100%, 42rem);
		margin-inline: auto;
		width: 100%;
	}

	.nc-service--right-frame .nc-service__media,
	.nc-service--left-frame .nc-service__media {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: var(--frame-shift);
	}

	.nc-service__panel {
		padding: 3.2rem 2.8rem;
	}

	.news_wrapper {
		left: 3vw;
		right: 28rem;
		top: 4rem;
	}

	.news-container {
		width: auto;
		max-width: 42rem;
	}
}

/* Tablets */
@media (max-width: 979px) {
	body {
		font-size: 1.85rem;
	}

	#header {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		height: 8.8rem;
		line-height: 1;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 0 1rem max(1.6rem, env(safe-area-inset-left));
		background: linear-gradient(180deg, rgba(12, 10, 15, 0.78) 0%, rgba(12, 10, 15, 0.2) 70%, rgba(12, 10, 15, 0) 100%);
	}

	.custom-logo-link {
		max-width: none;
		margin-right: 1.2rem;
		padding: 0.45rem 1rem;
		flex-shrink: 1;
	}

	.custom-logo-link--wordmark .custom-logo-icon {
		height: 5.6rem;
	}

	.custom-logo-name {
		font-size: 3.1rem;
	}

	.custom-logo-tag {
		font-size: 1.05rem;
	}

	#offcanvas,
	#offcanvas-trigger,
	#offcanvas-bg {
		width: 8.8rem;
		height: 8.8rem;
		flex-shrink: 0;
	}

	.offcanvas-inner {
		width: min(100%, 48rem);
	}

	.offcanvas-top {
		font-size: 2.4rem;
		padding: 10rem 3.2rem 2.4rem;
	}

	.offcanvas-bot {
		padding: 2.4rem 3.2rem;
		font-size: 1.9rem;
	}

	.offcanvas-bot strong {
		font-size: 2.1rem;
	}

	.news_wrapper {
		left: 1.6rem;
		right: 10.5rem;
		top: 10rem;
		justify-content: flex-start;
	}

	.news-container {
		width: 100%;
		max-width: none;
		padding: 1.2rem 1.4rem;
		font-size: 1.4rem;
	}

	.news-container::after {
		display: none;
	}

	.nc-main {
		--nc-rail-w: clamp(5.6rem, 13vw, 7.2rem);
		--nc-rail-border: clamp(0.9rem, 2vw, 1.2rem);
		--nc-rail-left: max(0.5rem, env(safe-area-inset-left, 0px));
		--nc-rail-top: 100vh;
		--nc-rail-clear: calc(var(--nc-rail-left) + var(--nc-rail-w) + 1.2rem);
		--nc-rail-mark-size: 70%;
		--nc-rail-mark-y: 0.9rem;
	}

	.nc-mark-rail {
		display: block;
		top: 100vh;
		top: 100svh;
		min-height: 0;
		box-shadow: 0 0 0 1px rgba(12, 10, 15, 0.25);
	}

	.nc-hero {
		min-height: 100svh;
		padding-bottom: clamp(3rem, 6vh, 6rem);
	}

	.nc-hero__shade {
		background:
			linear-gradient(90deg, rgba(12, 10, 15, 0.82) 0%, rgba(12, 10, 15, 0.62) 55%, rgba(12, 10, 15, 0.48) 100%),
			linear-gradient(180deg, rgba(12, 10, 15, 0.55) 0%, rgba(12, 10, 15, 0.4) 28%, rgba(12, 10, 15, 0.72) 62%, #0c0a0f 100%);
	}

	.nc-hero__media img {
		opacity: 0.72;
		filter: brightness(0.78) saturate(0.85);
	}

	.nc-welcome,
	.nc-tour,
	.nc-services-band,
	.nc-hours,
	.nc-contact-strip,
	.nc-main > .nc-cta {
		padding-right: 1.6rem !important;
		box-sizing: border-box;
	}

	.nc-hero__content,
	.nc-welcome__inner,
	.nc-tour__inner,
	.nc-services-intro,
	.nc-service__inner,
	.nc-hours__inner,
	.nc-contact-strip__inner,
	.nc-cta__inner {
		width: 100%;
		max-width: 1080px;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		box-sizing: border-box;
	}

	.nc-hero__content {
		width: min(100% - 3.2rem, 1080px);
		margin-inline: auto;
	}

	.nc-hero h1 {
		font-size: clamp(6.4rem, 11vw, 9rem);
		max-width: 14ch;
		line-height: 0.9;
	}

	.nc-hero__links {
		font-size: clamp(2.4rem, 3.4vw, 3.2rem);
	}

	.nc-hero__actions {
		gap: 1rem;
	}

	.nc-hours__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nc-hours__grid .nc-hours__card:last-child {
		grid-column: 1 / -1;
	}

	.nc-contact-strip__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.4rem;
	}

	.nc-welcome__inner,
	.nc-service__inner,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.nc-service--reverse .nc-service__inner .nc-service__panel,
	.nc-service--reverse .nc-service__inner .nc-service__media {
		order: initial;
	}

	/* Content first, image below — better for long Leistungslisten */
	.nc-service__media {
		order: 2;
		--frame-shift: 0.7rem;
		--frame-thick: 0.9rem;
		max-width: min(100%, 36rem);
		margin-inline: auto;
		width: 100%;
	}

	.nc-service__panel {
		order: 1;
		width: 100%;
		position: relative;
		z-index: 2;
	}

	.nc-welcome {
		padding-top: 5.6rem;
		padding-bottom: 6.4rem;
		padding-right: 1.6rem;
		background-size: cover;
		background-position: center top;
	}

	.nc-welcome::before {
		background: linear-gradient(180deg, rgba(12, 10, 15, 0.5) 0%, rgba(12, 10, 15, 0.9) 50%, #0c0a0f 100%);
	}

	.nc-welcome__copy {
		max-width: none;
		padding: 0;
		background: none;
	}

	.nc-service {
		padding: 4.8rem 0;
	}

	.nc-services-intro {
		padding: 5.6rem 0 1rem;
		width: 100%;
	}

	.nc-service__inner {
		gap: 2.8rem;
	}

	.nc-service__panel {
		padding: 3rem 2.4rem;
	}

	.nc-service--right-frame .nc-service__media,
	.nc-service--left-frame .nc-service__media {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: var(--frame-shift);
	}

	.nc-service__shade {
		display: none;
	}

	.nc-content {
		padding-top: 12rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.footer-inner {
		gap: 3.2rem;
	}
}

/* Phones */
@media (max-width: 767px) {
	body {
		font-size: 1.7rem;
	}

	#header {
		height: 8.2rem;
		padding: 0.6rem 0 0.6rem max(1.2rem, env(safe-area-inset-left));
	}

	.custom-logo-link {
		max-width: none;
		margin-right: 0.5rem;
		padding: 0.25rem 0.7rem;
		gap: 0.85rem;
	}

	.custom-logo-link--wordmark .custom-logo-icon {
		height: 4.6rem;
	}

	.custom-logo-name {
		font-size: 2.5rem;
	}

	.custom-logo-tag {
		font-size: 0.92rem;
		letter-spacing: 0.08em;
	}

	#header > .custom-logo-link img {
		width: auto;
		height: 4.6rem;
		max-height: none;
		object-fit: contain;
		object-position: left center;
	}

	#offcanvas,
	#offcanvas-trigger,
	#offcanvas-bg {
		width: 7.6rem;
		height: 7.6rem;
	}

	#menu-icon {
		height: 2.2rem;
		width: 2.8rem;
	}

	.menu-line {
		height: 3px;
	}

	#line-1 { top: 0; }
	#line-2 { top: 9px; }
	#line-3 { top: 18px; }

	body.nc-menu-open #line-1,
	body.nc-menu-open #line-3 {
		top: 9px;
	}

	.trigger-text {
		display: none;
	}

	.offcanvas-inner {
		width: 100%;
	}

	.offcanvas-top {
		padding: 8rem 2rem 2rem;
		font-size: 2.1rem;
	}

	.offcanvas-bot {
		padding: 2rem;
		font-size: 1.7rem;
	}

	.offcanvas-inner .custom-logo-link {
		max-width: 32rem;
		margin: 0 0 2rem;
	}

	.offcanvas-inner .menu-item {
		padding-left: 2.6rem;
		padding-top: 0.25rem;
		padding-bottom: 0.25rem;
	}

	.offcanvas-person-wrapper {
		flex-direction: row;
		align-items: center;
		margin-bottom: 2rem;
		gap: 1.2rem;
	}

	.offcanvas-person-wrapper img {
		width: 6.4rem;
		height: 6.4rem;
		object-fit: cover;
		margin: 0;
		flex-shrink: 0;
	}

	.offcanvas-person-kontakt a {
		font-size: 1.5rem;
		word-break: break-word;
	}

	.offcanvas-infos.buchung p {
		margin: 1.6rem 0 1rem;
	}

	.offcanvas-infos.buchung a {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

	.offcanvas-hours {
		font-size: 1.5rem;
	}

	.news_wrapper {
		display: none;
	}

	.nc-hero {
		min-height: 100svh;
		padding: 0 0 max(2rem, env(safe-area-inset-bottom));
		align-items: flex-end;
	}

	.nc-hero__shade {
		background:
			linear-gradient(90deg, rgba(12, 10, 15, 0.88) 0%, rgba(12, 10, 15, 0.7) 50%, rgba(12, 10, 15, 0.55) 100%),
			linear-gradient(180deg, rgba(12, 10, 15, 0.62) 0%, rgba(12, 10, 15, 0.48) 26%, rgba(12, 10, 15, 0.78) 58%, #0c0a0f 100%);
	}

	.nc-hero__media img {
		opacity: 0.62;
		filter: brightness(0.7) saturate(0.8);
	}

	.nc-hero__content {
		width: min(100% - 2.4rem, 1080px);
		padding-left: 0;
		padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
	}

	.nc-hero__eyebrow {
		font-size: 1.9rem;
		letter-spacing: 0.14em;
		margin-bottom: 1rem;
	}

	.nc-hero h1 {
		font-size: clamp(6.8rem, 15.5vw, 8.8rem);
		max-width: none;
		line-height: 0.9;
		margin-bottom: 1.4rem;
	}

	.nc-hero__links {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 0.15rem;
		row-gap: 0.45rem;
		font-size: clamp(2rem, 5.2vw, 2.6rem);
		letter-spacing: 0.03em;
		margin-bottom: 2rem;
	}

	.nc-sep {
		margin: 0 0.35rem;
	}

	.nc-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.9rem;
		width: 100%;
	}

	.nc-hero__actions .btn {
		width: 100%;
		margin: 0;
	}

	.nc-welcome {
		padding-top: 4rem;
		padding-bottom: 4.8rem;
		padding-right: 1.2rem;
	}

	.nc-welcome h2,
	.nc-services-intro h2,
	.nc-tour h2,
	.nc-hours h2,
	.nc-cta h2,
	.nc-contact-strip h2 {
		font-size: clamp(3.2rem, 9.5vw, 4.4rem);
		max-width: none;
		line-height: 1.02;
	}

	.nc-welcome p {
		max-width: none;
		font-size: 1.65rem;
		line-height: 1.65;
	}

	.nc-kicker {
		font-size: 1.4rem;
		margin-bottom: 0.8rem;
	}

	.nc-main {
		--nc-rail-w: clamp(5rem, 14vw, 6.2rem);
		--nc-rail-border: clamp(0.8rem, 2.4vw, 1.05rem);
		--nc-rail-left: max(0.4rem, env(safe-area-inset-left, 0px));
		--nc-rail-top: 100vh;
		--nc-rail-clear: calc(var(--nc-rail-left) + var(--nc-rail-w) + 1rem);
		--nc-rail-mark-size: 68%;
		--nc-rail-mark-y: 0.75rem;
	}

	.nc-mark-rail {
		top: 100vh;
		top: 100svh;
		min-height: 0;
	}

	.nc-welcome,
	.nc-tour,
	.nc-services-band,
	.nc-hours,
	.nc-contact-strip,
	.nc-main > .nc-cta {
		padding-right: 1.2rem !important;
	}

	.nc-hero__content {
		width: min(100% - 2.4rem, 1080px);
		margin-inline: auto;
	}

	.nc-service {
		padding: 2.8rem 0;
	}

	.nc-services-band {
		padding-bottom: 2.4rem;
		overflow-x: clip;
	}

	.nc-tour {
		padding: 4rem 0 4.8rem;
	}

	.nc-tour__lead {
		font-size: 1.65rem;
		margin-bottom: 2rem;
	}

	.nc-tour__frame {
		aspect-ratio: 4 / 3;
		max-height: none;
	}

	.nc-services-intro {
		padding: 4rem 0 0.6rem;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.nc-service__inner {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		gap: 2.4rem;
		padding-left: 0;
		display: flex;
		flex-direction: column;
	}

	.nc-service__panel {
		padding: 2.4rem 2rem;
		box-shadow: 0 12px 32px rgba(12, 10, 15, 0.1);
	}

	.nc-service h3 {
		font-size: clamp(3rem, 9vw, 4rem);
		margin-bottom: 1.4rem;
	}

	.nc-service p,
	.nc-service__list {
		font-size: 1.65rem;
		line-height: 1.55;
		max-width: none;
	}

	.nc-service__list li {
		padding-left: 2.2rem;
		margin-bottom: 1rem;
	}

	.nc-service__list li::before {
		width: 0.75rem;
		height: 0.75rem;
		top: 0.85em;
	}

	.nc-service__note {
		font-size: 1.5rem !important;
		padding: 1.2rem 1.3rem;
	}

	.nc-service__media {
		--frame-shift: 0.75rem;
		--frame-thick: 0.85rem;
		max-width: min(100%, 28rem);
		order: 2;
	}

	.nc-service__panel {
		order: 1;
	}

	.nc-service__panel .btn {
		width: 100%;
	}

	.nc-hours {
		padding-top: 4.8rem;
		padding-bottom: 3.2rem;
		padding-right: 1.2rem;
	}

	.nc-hours__grid {
		grid-template-columns: 1fr;
		gap: 1.4rem;
	}

	.nc-hours__grid .nc-hours__card:last-child {
		grid-column: auto;
	}

	.nc-hours__inner,
	.nc-contact-strip__inner,
	.nc-cta__inner {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.nc-hours__lead {
		font-size: 1.65rem;
		margin-bottom: 1.8rem;
	}

	.nc-hours__card {
		padding: 2rem 1.6rem;
	}

	.nc-hours__card h3 {
		font-size: 2.3rem;
	}

	.nc-hours__card li {
		flex-direction: row;
		justify-content: space-between;
		gap: 1rem;
		font-size: 1.5rem;
	}

	.nc-hours__actions,
	.nc-contact-strip__links {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0.9rem;
	}

	.nc-contact-strip {
		padding-top: 4.8rem;
		padding-bottom: 4.8rem;
		padding-right: 1.2rem;
	}

	.nc-contact-strip p:last-child {
		font-size: 1.55rem;
	}

	.nc-cta {
		padding-top: 5.6rem;
		padding-bottom: 5.6rem;
		padding-right: 1.2rem;
	}

	.nc-cta p {
		font-size: 1.9rem;
		margin-bottom: 2rem;
	}

	.btn {
		width: 100%;
		text-align: center;
		margin: 0 0 1rem;
		padding: 1.15rem 1.4rem;
		font-size: 1.75rem;
		line-height: 1.25;
		min-height: 4.8rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.nc-hours__actions .btn,
	.nc-contact-strip__links .btn,
	.nc-hero__actions .btn,
	.nc-service__panel .btn {
		margin-bottom: 0;
	}

	.nc-service__panel .btn + .btn {
		margin-top: 0.9rem;
	}

	.nc-content {
		padding-top: 9.5rem;
		padding-bottom: 4rem;
		padding-left: max(1.6rem, env(safe-area-inset-left));
		padding-right: max(1.6rem, env(safe-area-inset-right));
	}

	.nc-content .wp-block-post-title,
	.nc-content h1 {
		font-size: clamp(3.2rem, 9vw, 4.4rem);
	}

	.footer-inner {
		width: min(100% - 2.4rem, 1400px);
		padding: 4rem 0 2rem;
		gap: 2.8rem;
	}

	.footer-hours {
		font-size: 1.55rem;
	}

	.footer-bottom {
		width: min(100% - 2.4rem, 1400px);
		padding: 0 0 max(2.8rem, env(safe-area-inset-bottom));
		font-size: 1.6rem;
		flex-direction: column;
		gap: 1rem;
	}

	#footer .custom-logo-link {
		max-width: 20rem;
		margin-bottom: 2.4rem;
	}

	.nc-posts {
		grid-template-columns: 1fr;
	}
}

/* Very small phones */
@media (max-width: 380px) {
	.custom-logo-link--wordmark .custom-logo-icon {
		height: 4rem;
	}

	.custom-logo-name {
		font-size: 2.2rem;
	}

	.custom-logo-tag {
		font-size: 0.8rem;
		letter-spacing: 0.06em;
	}

	.nc-main {
		--nc-rail-w: clamp(4.4rem, 13vw, 5.4rem);
		--nc-rail-border: 0.75rem;
		--nc-rail-clear: calc(var(--nc-rail-left) + var(--nc-rail-w) + 0.85rem);
	}

	.nc-mark-rail {
		top: 100vh;
		top: 100svh;
	}

	.nc-welcome,
	.nc-tour,
	.nc-services-band,
	.nc-hours,
	.nc-contact-strip,
	.nc-main > .nc-cta {
		padding-right: 1rem !important;
	}

	.nc-hero__content {
		margin-inline: auto;
		width: min(100% - 1.6rem, 1080px);
	}

	.nc-hero__eyebrow {
		font-size: 1.7rem;
	}

	.nc-hero h1 {
		font-size: clamp(5.8rem, 15vw, 7.2rem);
	}

	.nc-hero__links {
		font-size: 1.9rem;
	}

	.btn {
		font-size: 1.55rem;
		padding: 1rem 1.2rem;
	}
}

/* Short / landscape phones — keep CTAs reachable */
@media (max-height: 520px) and (orientation: landscape) {
	.nc-main {
		--nc-rail-top: 100vh;
		--nc-rail-w: clamp(3.6rem, 10vw, 5rem);
		--nc-rail-clear: calc(var(--nc-rail-left) + var(--nc-rail-w) + 0.8rem);
	}

	.nc-mark-rail {
		top: 100vh;
		top: 100svh;
	}

	#header {
		height: 5.6rem;
	}

	#offcanvas,
	#offcanvas-trigger,
	#offcanvas-bg {
		width: 5.6rem;
		height: 5.6rem;
	}

	.news_wrapper {
		display: none;
	}

	.nc-hero {
		min-height: auto;
		padding: 7rem 0 2rem;
	}

	.nc-hero h1 {
		font-size: 4rem;
	}

	.nc-hero__links {
		font-size: 1.8rem;
		margin-bottom: 1rem;
	}

	.nc-hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.nc-hero__actions .btn {
		width: auto;
		flex: 1 1 22rem;
		min-height: 4rem;
		font-size: 1.5rem;
		padding: 0.8rem 1.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
