/* ==========================================================================
   Nophut – Theme-Stylesheet
   Aufbau: Tokens · Basis · Bausteine · Kopf · Slider · Abschnitte · Karten ·
           Unterseiten · Formular · Footer · Lightbox · Animation · Responsive
   ========================================================================== */

:root {
	--np-blue: #1d4db0;
	--np-blue-dark: #12347f;
	--np-blue-deep: #0b1f4d;
	--np-blue-light: #e9effb;
	--np-magenta: #e2007a;
	--np-magenta-dark: #b5005f;
	--np-ink: #151c2c;
	--np-text: #4b5563;
	--np-muted: #6b7280;
	--np-line: #e3e7ee;
	--np-bg-alt: #f3f5f8;
	--np-dark: #0d1424;
	--np-white: #fff;

	--np-font: Heebo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--np-radius: 8px;
	--np-shadow-sm: 0 2px 10px rgba(13, 20, 36, .06);
	--np-shadow: 0 14px 40px rgba(13, 20, 36, .10);
	--np-shadow-lg: 0 24px 60px rgba(13, 20, 36, .16);
	--np-ease: cubic-bezier(.22, .61, .36, 1);

	--topbar-h: 40px;
	--nav-h: 88px;
	--container: 1200px;
	--gutter: 24px;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--np-white);
	color: var(--np-text);
	font-family: var(--np-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--np-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--np-magenta); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--np-ink);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}

p { margin: 0 0 1.2em; }

:focus-visible { outline: 3px solid var(--np-magenta); outline-offset: 3px; border-radius: 2px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

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

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	padding: 12px 18px;
	background: var(--np-ink); color: #fff;
	border-radius: var(--np-radius);
	transform: translateY(-200%);
	transition: transform .2s;
}
.skip-link:focus { transform: none; color: #fff; }

.site-main:focus { outline: none; }

/* --------------------------------------------------------------------------
   Bausteine: Buttons, Dachzeile, Trenner, Abschnittskopf
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 .9375rem/1.2 var(--np-font);
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--np-ease), box-shadow .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--np-ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--small { padding: .6em 1.2em; font-size: .875rem; }
.btn--large { padding: 1em 1.9em; font-size: 1rem; }

.btn--primary { background: var(--np-magenta); color: #fff; box-shadow: 0 8px 22px rgba(226, 0, 122, .28); }
.btn--primary:hover { background: var(--np-magenta-dark); color: #fff; transform: translateY(-2px); }

.btn--outline { border-color: currentColor; color: var(--np-ink); background: transparent; }
.btn--outline:hover { background: var(--np-ink); border-color: var(--np-ink); color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--np-ink); }

.btn--light { background: #fff; color: var(--np-blue); }
.btn--light:hover { background: var(--np-magenta); color: #fff; }

.btn--text { padding-inline: .4em; color: var(--np-ink); border: 0; }
.btn--text:hover { color: var(--np-magenta); }

.btn--social { color: #fff; }
.btn--social:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.btn--facebook { background: #1877f2; }
.btn--instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.btn--linkedin { background: #0a66c2; }
.btn--youtube { background: #e00; }
.btn--external-link { background: var(--np-blue); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .45em;
	color: var(--np-magenta);
	font-size: .8125rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--np-ease); }
.link-arrow:hover .icon, .service-card:hover .link-arrow .icon, .vehicle-card:hover .link-arrow .icon { transform: translateX(4px); }

.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 12px;
	color: var(--np-magenta);
	font-size: .8125rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--light { color: #fff; }
.kicker--light::before { background: var(--np-magenta); }

/* Gepunkteter Pfeil – angelehnt an die Punktlinie im Nophut-Logo */
.divider {
	position: relative;
	display: inline-block;
	width: 70px; height: 10px;
	margin: 6px 14px 0 0;
	background: radial-gradient(circle, var(--np-magenta) 0 2.2px, transparent 2.8px) 0 50% / 11px 10px repeat-x;
}
.divider::after {
	content: "";
	position: absolute; top: 50%; right: -12px;
	border-left: 10px solid var(--np-magenta);
	border-block: 5px solid transparent;
	transform: translateY(-50%);
}
.divider--light { filter: brightness(1.3); }

.section-header { margin: 0 auto 56px; }
.section-header--center { max-width: 760px; text-align: center; }
.section-header--center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; }
.section-intro { margin: 18px 0 0; font-size: 1.125rem; }
.section-actions { margin: 48px 0 0; text-align: center; }

.section { padding: 112px 0; }
.section--alt { background: var(--np-bg-alt); }
.section--tight-bottom, .section--space-top { padding-bottom: 0; }
.section--space-compact { padding: 64px 0; }
.section--space-none { padding: 0; }
.section--blue { background: linear-gradient(135deg, var(--np-blue) 0%, var(--np-blue-dark) 100%); color: rgba(255, 255, 255, .9); }
.section--dark { background: var(--np-dark); color: rgba(255, 255, 255, .78); }
:is(.section--blue, .section--dark) :is(h1, h2, h3, h4, .section-title) { color: #fff; }
:is(.section--blue, .section--dark) .kicker { color: #fff; }
:is(.section--blue, .section--dark) .kicker::before, :is(.section--blue, .section--dark) .kicker::after { background: var(--np-magenta); }
:is(.section--blue, .section--dark) a:not(.btn):not(.wp-block-button__link) { color: #fff; }
.section-header--left { margin-left: 0; max-width: 760px; }

/* Soziale Symbole */
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	color: inherit;
	transition: background-color .2s, color .2s;
}
.social .icon { width: 16px; height: 16px; }
.social a:hover { background: var(--np-magenta); color: #fff; }
.social--footer a { width: 40px; height: 40px; background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	color: #fff;
	transition: background-color .35s, box-shadow .35s, color .35s;
}
.admin-bar .site-header { top: 32px; }

.topbar {
	height: var(--topbar-h);
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	background: rgba(6, 12, 28, .35);
	font-size: .875rem;
	transition: margin-top .35s var(--np-ease);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar__info { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.topbar__info li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__info .icon { width: 15px; height: 15px; color: var(--np-magenta); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.social--topbar a { width: 28px; height: 28px; }

.navbar {
	display: flex; align-items: center; gap: 28px;
	height: var(--nav-h);
	transition: height .35s var(--np-ease);
}

.brand { position: relative; z-index: 2; display: block; flex: none; }
.brand__logo { width: auto; height: 54px; transition: height .35s var(--np-ease); }
.brand__logo--dark { display: none; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: inherit;
	font-size: .875rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
	text-decoration: none;
}
.main-nav__list > li > a::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 2px;
	height: 2px;
	background: var(--np-magenta);
	transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--np-ease);
}
.main-nav__list > li > a:hover::after,
.main-nav__list > .current-menu-item > a::after,
.main-nav__list > .current-menu-ancestor > a::after,
.main-nav__list > .current_page_parent > a::after { transform: scaleX(1); }
.main-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 240px;
	margin: 0; padding: 10px 0;
	background: #fff;
	border-top: 3px solid var(--np-magenta);
	box-shadow: var(--np-shadow);
	list-style: none;
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav__list li:hover > .sub-menu, .main-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav__list .sub-menu a { display: block; padding: 8px 20px; color: var(--np-ink); font-size: .9375rem; text-decoration: none; }
.main-nav__list .sub-menu a:hover { color: var(--np-magenta); }
.main-nav__mobile-extra { display: none; }

.navbar__actions { display: flex; align-items: center; gap: 22px; }
.navbar__phone { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.navbar__phone > .icon {
	width: 42px; height: 42px; padding: 11px;
	overflow: visible;
	border-radius: 50%;
	background: var(--np-magenta); color: #fff;
}
.navbar__phone small { display: block; font-size: .75rem; font-weight: 400; opacity: .8; line-height: 1.2; }
.navbar__phone:hover { color: inherit; }
.navbar__cta { color: #fff; border-color: rgba(255, 255, 255, .7); padding: .65em 1.3em; }
.navbar__cta:hover { background: var(--np-magenta); border-color: var(--np-magenta); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 6px; width: 24px; margin: auto; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Zustand beim Scrollen: weißer Kopf */
.is-scrolled .site-header { background: #fff; color: var(--np-ink); box-shadow: 0 6px 24px rgba(13, 20, 36, .08); }
.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar-h)); }
.is-scrolled .navbar { height: 74px; }
.is-scrolled .brand__logo { height: 44px; }
.is-scrolled .brand__logo--light { display: none; }
.is-scrolled .brand__logo--dark { display: block; }
.is-scrolled .navbar__cta { color: var(--np-ink); border-color: var(--np-ink); }
.is-scrolled .navbar__cta:hover { color: #fff; border-color: var(--np-magenta); }

/* --------------------------------------------------------------------------
   Intro-Slider
   -------------------------------------------------------------------------- */

.hero-slider {
	position: relative;
	height: 100vh; height: 100svh;
	min-height: 640px; max-height: 980px;
	overflow: hidden;
	background: var(--np-blue-deep);
	color: #fff;
}
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide {
	position: absolute; inset: 0;
	display: flex; align-items: center;
	opacity: 0; visibility: hidden;
	transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.hero-slide__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.05);
	transition: transform 9s linear;
}
.hero-slide.is-active .hero-slide__bg { transform: scale(1); }
.hero-slide::before {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(90deg, rgba(8, 18, 44, .88) 0%, rgba(8, 18, 44, .62) 45%, rgba(8, 18, 44, .2) 100%),
		linear-gradient(0deg, rgba(8, 18, 44, .55) 0%, transparent 35%);
}
.hero-slide__content {
	position: relative; z-index: 2;
	padding-top: calc(var(--topbar-h) + var(--nav-h) - 20px);
	padding-bottom: 80px;
}
.hero-slide__content > * { max-width: 760px; }
.hero-slide__title {
	margin: 0 0 22px;
	color: #fff;
	font-size: clamp(2.5rem, 5.4vw, 4.6rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.025em;
	text-wrap: balance;
}
.hero-slide__text { max-width: 600px; margin-bottom: 36px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); opacity: .9; }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-slide__kicker, .hero-slide__title, .hero-slide__text, .hero-slide__actions {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s ease, transform .8s var(--np-ease);
}
.hero-slide.is-active .hero-slide__kicker { opacity: 1; transform: none; transition-delay: .35s; }
.hero-slide.is-active .hero-slide__title { opacity: 1; transform: none; transition-delay: .5s; }
.hero-slide.is-active .hero-slide__text { opacity: .9; transform: none; transition-delay: .65s; }
.hero-slide.is-active .hero-slide__actions { opacity: 1; transform: none; transition-delay: .8s; }

.hero-slider__controls {
	position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hero-slider__counter { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-slider__counter span:first-child { font-size: 1.5rem; }
.hero-slider__sep { width: 40px; height: 1px; background: rgba(255, 255, 255, .5); }
.hero-slider__dots { display: flex; gap: 10px; }
.hero-slider__dot { width: 46px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-slider__dot span { position: relative; display: block; height: 3px; overflow: hidden; background: rgba(255, 255, 255, .35); border-radius: 2px; }
.hero-slider__dot span::after { content: ""; position: absolute; inset: 0; background: var(--np-magenta); transform: scaleX(0); transform-origin: left; }
.hero-slider__dot.is-active span::after { animation: np-progress var(--interval, 6500ms) linear forwards; }
.hero-slider.is-paused .hero-slider__dot.is-active span::after { animation-play-state: paused; }
.hero-slider__dot:hover span { background: rgba(255, 255, 255, .7); }
@keyframes np-progress { to { transform: scaleX(1); } }

.hero-slider__arrows { display: flex; gap: 10px; }
.hero-slider__arrow {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: rgba(255, 255, 255, .04);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.hero-slider__arrow:hover { background: var(--np-magenta); border-color: var(--np-magenta); }
.pause-icon { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.hero-slider.is-paused .pause-icon { width: 0; height: 0; border-inline: 0; border-left: 12px solid currentColor; border-block: 7px solid transparent; margin-left: 4px; }

/* --------------------------------------------------------------------------
   Seitenkopf der Unterseiten
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding: calc(var(--topbar-h) + var(--nav-h) + 84px) 0 96px;
	overflow: hidden;
	background: linear-gradient(120deg, var(--np-blue-deep) 0%, var(--np-blue) 100%);
	color: #fff;
}
.page-hero::after {
	content: "";
	position: absolute; right: -40px; bottom: -40px;
	width: 380px; height: 260px;
	background: radial-gradient(circle, rgba(226, 0, 122, .55) 0 2px, transparent 2.6px) 0 0 / 18px 18px;
	opacity: .5;
	transform: rotate(-12deg);
	pointer-events: none;
}
.page-hero.has-image::after { display: none; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::before {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(8, 18, 44, .9) 0%, rgba(8, 18, 44, .65) 55%, rgba(8, 18, 44, .35) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title { max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.page-hero__lead { max-width: 680px; margin: 18px 0 0; font-size: 1.1875rem; opacity: .9; }
.page-hero--small { padding-bottom: 64px; }
.page-hero--small .page-hero__title { font-size: clamp(2rem, 4vw, 3rem); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font-size: .875rem; opacity: .85; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Startseite: Schnellzugriff
   -------------------------------------------------------------------------- */

.quicklinks { position: relative; z-index: 5; margin-top: -72px; }
.quicklinks__grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	overflow: hidden;
	background: #fff;
	border-radius: var(--np-radius);
	box-shadow: var(--np-shadow-lg);
}
.quicklink {
	position: relative;
	display: flex; align-items: center; gap: 18px;
	padding: 30px 30px 30px 28px;
	color: var(--np-ink);
	text-decoration: none;
	transition: background-color .3s, color .3s;
}
.quicklink + .quicklink { border-left: 1px solid var(--np-line); }
.quicklink::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--np-magenta); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--np-ease); }
.quicklink:hover { background: var(--np-blue); color: #fff; }
.quicklink:hover::before { transform: scaleX(1); }
.quicklink__icon {
	display: grid; place-items: center; flex: none;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: var(--np-blue-light); color: var(--np-blue);
	transition: background-color .3s, color .3s;
}
.quicklink__icon .icon { width: 26px; height: 26px; }
.quicklink:hover .quicklink__icon { background: var(--np-magenta); color: #fff; }
.quicklink__body { display: grid; gap: 2px; }
.quicklink__title { font-size: 1.1875rem; font-weight: 700; }
.quicklink__text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .9375rem; line-height: 1.45; color: var(--np-muted); transition: color .3s; }
.quicklink:hover .quicklink__text { color: rgba(255, 255, 255, .85); }
.quicklink__arrow { display: flex; flex: none; margin-left: auto; color: var(--np-magenta); transition: transform .3s var(--np-ease), color .3s; }
.quicklink__arrow .icon { width: 22px; height: 22px; }
.quicklink:hover .quicklink__arrow { color: #fff; transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Startseite: Unternehmen
   -------------------------------------------------------------------------- */

.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 32px; }
.about__media { position: relative; isolation: isolate; margin: 0 28px 28px 0; }
.about__media::before {
	content: "";
	position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
	border: 3px solid var(--np-blue);
	border-radius: 12px;
}
.about__media::after {
	content: "";
	position: absolute; top: -34px; left: -34px; z-index: -1;
	width: 140px; height: 140px;
	background: radial-gradient(circle, var(--np-magenta) 0 2px, transparent 2.6px) 0 0 / 16px 16px;
	opacity: .55;
}
.about__image { overflow: hidden; border-radius: 12px; box-shadow: var(--np-shadow); }
.about__image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about__badge {
	position: absolute; left: -26px; bottom: -26px;
	display: grid;
	padding: 22px 28px;
	background: var(--np-magenta); color: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 36px rgba(226, 0, 122, .35);
	line-height: 1.1;
}
.about__badge-label, .about__badge-text { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.about__badge-year { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; }

/* --------------------------------------------------------------------------
   Historie (Zeitstrahl)
   -------------------------------------------------------------------------- */

.timeline {
	position: relative;
	display: grid; grid-auto-columns: 1fr; grid-auto-flow: column;
	margin: 0; padding: 0;
	list-style: none;
}
.timeline::before {
	content: "";
	position: absolute; top: 59px; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--np-blue), var(--np-magenta));
}
.timeline__item { position: relative; padding: 0 12px; text-align: center; }
.timeline__year { display: block; height: 40px; color: var(--np-blue); font-size: 1.75rem; font-weight: 800; line-height: 40px; letter-spacing: -.02em; }
.timeline__dot {
	position: relative; z-index: 1;
	display: block;
	width: 20px; height: 20px;
	margin: 10px auto 20px;
	background: #fff;
	border: 4px solid var(--np-magenta);
	border-radius: 50%;
	box-shadow: 0 0 0 6px var(--np-bg-alt);
	transition: transform .3s;
}
.timeline__item:hover .timeline__dot { transform: scale(1.25); }
.timeline__text { margin: 0; font-size: .9375rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); justify-content: center; gap: 30px; }
.team-card { overflow: hidden; background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); transition: transform .3s var(--np-ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow); }
.team-card__photo { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, var(--np-blue-deep), var(--np-blue)); }
.team-card__photo::after {
	content: "";
	position: absolute; inset: auto -20px -20px auto;
	width: 140px; height: 140px;
	background: radial-gradient(circle, rgba(226, 0, 122, .7) 0 2px, transparent 2.6px) 0 0 / 15px 15px;
	opacity: .6;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 800; letter-spacing: .04em; }
.team-card__initials--icon .icon { width: 72px; height: 72px; stroke-width: 1.5; opacity: .9; }
.team-card__body { padding: 24px 26px 26px; }
.team-card__name { margin: 0 0 4px; font-size: 1.25rem; }
.team-card__position { margin: 0 0 14px; color: var(--np-magenta); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.team-card__contact { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.team-card__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--np-text); text-decoration: none; word-break: break-word; }
.team-card__contact a:hover { color: var(--np-blue); }
.team-card__contact .icon { width: 16px; height: 16px; color: var(--np-blue); }

/* --------------------------------------------------------------------------
   Kennzahlen-Band
   -------------------------------------------------------------------------- */

.stats {
	position: relative;
	padding: 88px 0;
	background: var(--np-blue) url("../img/stats-bg.jpg") center / cover;
	background-blend-mode: multiply;
	color: #fff;
}
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 52, 127, .55), rgba(29, 77, 176, .2)); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat__number { display: block; font-size: clamp(2.6rem, 5vw, 3.75rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__line { display: block; width: 44px; height: 3px; margin: 18px auto 14px; background: var(--np-magenta); }
.stat__label { display: block; max-width: 220px; margin-inline: auto; font-size: 1rem; line-height: 1.45; opacity: .92; }

/* --------------------------------------------------------------------------
   Karten-Raster
   -------------------------------------------------------------------------- */

.card-grid { display: grid; gap: 30px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Fahrzeuge */
.vehicle-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--np-radius); box-shadow: var(--np-shadow-sm); border: 1px solid var(--np-line); transition: transform .3s var(--np-ease), box-shadow .3s; }
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow); }
.vehicle-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--np-bg-alt); }
.vehicle-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.vehicle-card:hover .vehicle-card__media img { transform: scale(1.06); }
.vehicle-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.vehicle-card__title { margin: 0; font-size: 1.25rem; }
.vehicle-card__title a { color: inherit; text-decoration: none; }
.vehicle-card__title a:hover { color: var(--np-blue); }
.vehicle-card .link-arrow { margin-top: auto; }

.spec-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 20px; padding: 16px 0; border-block: 1px solid var(--np-line); }
.spec-chip { display: grid; align-content: start; gap: 2px; font-size: .8125rem; line-height: 1.35; }
.spec-chip .icon { width: 20px; height: 20px; margin-bottom: 4px; color: var(--np-blue); }
.spec-chip dt { color: var(--np-muted); }
.spec-chip dd { margin: 0; color: var(--np-ink); font-weight: 700; }

/* Leistungen */
.service-card {
	position: relative;
	overflow: hidden;
	background: var(--np-bg-alt);
	border-radius: var(--np-radius);
	transition: background-color .3s, transform .3s var(--np-ease), box-shadow .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 3px; background: var(--np-magenta); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--np-ease); }
.service-card:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--np-shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__body { position: relative; padding: 34px 32px 32px; }
.service-card__icon {
	display: grid; place-items: center;
	width: 64px; height: 64px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: #fff; color: var(--np-blue);
	box-shadow: var(--np-shadow-sm);
	transition: background-color .3s, color .3s;
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--np-blue); color: #fff; }
.service-card__number { position: absolute; top: 14px; right: 22px; color: rgba(29, 77, 176, .08); font-size: 5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.service-card__title { margin: 0 0 10px; font-size: 1.25rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.service-card__text { margin-bottom: 18px; font-size: .96875rem; line-height: 1.6; }
.service-card--image { background: #fff; border: 1px solid var(--np-line); }
.service-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card--image .service-card__body { padding-top: 0; }
.service-card--image .service-card__icon { position: relative; z-index: 1; margin-top: -32px; border: 4px solid #fff; }

/* News */
.news-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--np-radius); box-shadow: var(--np-shadow-sm); transition: transform .3s var(--np-ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow); }
.news-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--np-blue); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__placeholder { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .6); }
.news-card__placeholder .icon { width: 56px; height: 56px; }
.news-card__date {
	position: absolute; top: 16px; left: 16px;
	display: grid; justify-items: center;
	padding: 8px 12px 9px;
	background: var(--np-magenta); color: #fff;
	border-radius: 6px;
	font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
.news-card__date span { font-size: 1.5rem; font-weight: 800; letter-spacing: 0; }
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 22px; }
.news-card__title { margin: 0 0 10px; font-size: 1.1875rem; line-height: 1.35; }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: var(--np-blue); }
.news-card__text { font-size: .96875rem; line-height: 1.6; }
.news-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--np-line); }
.news-card__social { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--np-blue-light); color: var(--np-blue); }
.news-card__social .icon { width: 16px; height: 16px; }
.news-card__social:hover { background: var(--np-blue); color: #fff; }

.news-follow {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
	margin-top: 44px; padding: 24px 30px;
	background: #fff;
	border-left: 4px solid var(--np-magenta);
	border-radius: var(--np-radius);
	box-shadow: var(--np-shadow-sm);
}
.news-follow__text { display: grid; }
.news-follow__text strong { color: var(--np-ink); font-size: 1.125rem; }
.news-follow__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Galerie-Mosaik auf der Startseite */
.gallery-teaser { margin-top: 80px; }
.gallery-teaser__title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 1.5rem; }
.gallery-teaser__title::after { content: ""; flex: 1; height: 1px; background: var(--np-line); }
.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; }
.photo-mosaic__item { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--np-bg-alt); }
.photo-mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.photo-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.photo-mosaic__item:hover img { transform: scale(1.08); }
.photo-mosaic__zoom {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	background: rgba(11, 31, 77, .55); color: #fff;
	opacity: 0;
	transition: opacity .3s;
}
.photo-mosaic__zoom .icon { width: 32px; height: 32px; }
.photo-mosaic__item:hover .photo-mosaic__zoom, .photo-mosaic__item:focus-visible .photo-mosaic__zoom { opacity: 1; }
.photo-mosaic__more { display: grid; place-content: center; gap: 4px; background: var(--np-blue); color: #fff; text-align: center; text-decoration: none; font-weight: 600; transition: background-color .3s; }
.photo-mosaic__more:hover { background: var(--np-magenta); color: #fff; }
.photo-mosaic__more-count { font-size: 2.2rem; font-weight: 800; line-height: 1; }

/* --------------------------------------------------------------------------
   Aktionsflächen
   -------------------------------------------------------------------------- */

.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split__panel { position: relative; display: flex; align-items: center; min-height: 440px; padding: 90px max(var(--gutter), calc((100vw - var(--container)) / 2)); color: #fff; overflow: hidden; }
.cta-split__panel:first-child { padding-right: 7%; }
.cta-split__panel:last-child:not(:first-child) { padding-left: 7%; }
.cta-split__panel--dark { background: var(--np-dark) url("../img/cta-bg.jpg") center / cover; }
.cta-split__panel--dark::before { content: ""; position: absolute; inset: 0; background: rgba(9, 15, 30, .78); }
.cta-split__panel--blue { background-color: var(--np-blue); background-image: linear-gradient(135deg, var(--np-blue) 0%, var(--np-blue-dark) 100%) !important; }
.cta-split__panel--blue::before {
	content: "";
	position: absolute; right: -30px; bottom: -30px;
	width: 220px; height: 180px;
	background: radial-gradient(circle, rgba(255, 255, 255, .22) 0 2px, transparent 2.6px) 0 0 / 18px 18px;
}
.cta-split__inner { position: relative; max-width: 520px; }
.cta-split__title { margin: 0; color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; }
.cta-split__inner p { margin: 22px 0 30px; opacity: .88; }

/* --------------------------------------------------------------------------
   Inhaltsbereich (Gutenberg)
   -------------------------------------------------------------------------- */

:where(.entry-content) > :first-child { margin-top: 0; }
:where(.entry-content) h2 { margin: 1.6em 0 .6em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
:where(.entry-content) h3 { margin: 1.5em 0 .5em; font-size: 1.3rem; }
:where(.entry-content) h4 { margin: 1.4em 0 .4em; font-size: 1.1rem; }
:where(.entry-content) :where(ul:not([class]), ol:not([class]), .wp-block-list) { margin: 0 0 1.4em; padding-left: 1.4em; }
:where(.entry-content) :where(ul:not([class]), ul.wp-block-list) > li { padding-left: .2em; margin-bottom: .35em; }
:where(.entry-content) :where(ul:not([class]), ul.wp-block-list) > li::marker { color: var(--np-magenta); }
:where(.entry-content) :where(blockquote) { margin: 2em 0; padding: 8px 0 8px 26px; border-left: 4px solid var(--np-magenta); color: var(--np-ink); font-size: 1.2rem; font-style: italic; }
:where(.entry-content) :where(.wp-block-image img, figure img) { border-radius: 6px; }
:where(.entry-content) :where(table) { width: 100%; border-collapse: collapse; margin-bottom: 1.6em; }
:where(.entry-content) :where(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--np-line); text-align: left; }
/* Hervorhebung: erster Absatz (direkt am Anfang oder nach der ersten Überschrift) */
.entry-content--lead > p:first-child:not(.kicker, .is-style-kicker),
.entry-content--lead > h2:first-of-type + p,
p.is-style-lead { color: var(--np-ink); font-size: 1.1875rem; }
.entry-content--lead > h2:first-child,
.entry-content--lead > :is(.kicker, .is-style-kicker):first-child + h2 { margin-top: 0; font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -.02em; }

/* Standardblöcke im Nophut-Design */
p.is-style-kicker {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 12px;
	color: var(--np-magenta);
	font-size: .8125rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase;
}
p.is-style-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.wp-block-buttons { gap: 12px; margin: 28px 0 0; }
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .85em 1.6em;
	border: 2px solid var(--np-magenta);
	border-radius: 999px;
	background: var(--np-magenta); color: #fff;
	font: 600 .9375rem/1.2 var(--np-font);
	letter-spacing: .02em;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(226, 0, 122, .28);
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--np-ease);
}
.wp-block-button__link:hover { background: var(--np-magenta-dark); border-color: var(--np-magenta-dark); color: #fff; transform: translateY(-2px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--np-ink); box-shadow: none; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--np-ink); border-color: var(--np-ink); color: #fff; }
:is(.section--blue, .section--dark) .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.wp-block-columns { gap: 48px 64px; margin-bottom: 0; }
.wp-block-group.is-style-info-grey, .wp-block-group.is-style-info-blue, .wp-block-group.is-style-hint { padding: 30px; border-radius: var(--np-radius); }
.wp-block-group:is(.is-style-info-grey, .is-style-info-blue, .is-style-hint) + .wp-block-group { margin-top: 24px; }
.wp-block-group.is-style-info-grey { background: var(--np-bg-alt); }
.wp-block-group.is-style-info-blue { background: linear-gradient(135deg, var(--np-blue), var(--np-blue-dark)); color: #fff; }
.wp-block-group.is-style-info-blue :is(h2, h3, h4, a) { color: #fff; }
.wp-block-group.is-style-hint { background: #fff; border: 1px solid var(--np-line); border-left: 4px solid var(--np-magenta); }
.wp-block-group:is(.is-style-info-grey, .is-style-info-blue, .is-style-hint) > :is(h2, h3) { margin: 0 0 10px; font-size: 1.25rem; }
.wp-block-group:is(.is-style-info-grey, .is-style-info-blue, .is-style-hint) > p { font-size: .96875rem; }
.wp-block-group:is(.is-style-info-grey, .is-style-info-blue, .is-style-hint) > :last-child { margin-bottom: 0; }
ul.is-style-check { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.5; }
ul.is-style-check > li { position: relative; margin: 0; padding-left: 28px; }
ul.is-style-check > li::before {
	content: "";
	position: absolute; left: 0; top: 4px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--np-magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Seiten aus dem Blockeditor: Standardblöcke außerhalb eines Abschnitts erhalten die normale Inhaltsbreite */
.page-builder > :where(:not(section, footer, .alignfull, .wp-block-nophut-section)) {
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Hinweisbox für offene Punkte vor dem Livegang */
.entry-content .np-todo {
	padding: 14px 18px;
	background: #fff7e6;
	border-left: 4px solid #f59e0b;
	border-radius: 4px;
	color: #7a4b00;
	font-size: .9375rem;
}

/* Galerie auf der Fuhrpark-Seite */
.entry-content .wp-block-gallery { gap: 12px; margin-top: 32px; }
.entry-content .wp-block-gallery .wp-block-image { overflow: hidden; border-radius: 6px; }
.entry-content .wp-block-gallery img { border-radius: 0; transition: transform .6s var(--np-ease); }
/* Einheitliches Seitenverhältnis, damit Hoch- und Querformate gleich hohe Reihen bilden */
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { align-self: flex-start; }
.entry-content .wp-block-gallery a:hover img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   Detailseiten (Leistung, Fahrzeug)
   -------------------------------------------------------------------------- */

.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 64px; align-items: start; }
.detail-image { display: block; margin-bottom: 36px; overflow: hidden; border-radius: 10px; box-shadow: var(--np-shadow); }
.detail-image img { width: 100%; max-height: 560px; object-fit: cover; }
.detail-subtitle { margin-top: 1.6em; font-size: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--np-radius); font-size: 1rem; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; }
.spec-table tr:nth-child(odd) { background: var(--np-bg-alt); }
.spec-table th { display: flex; align-items: center; gap: 12px; color: var(--np-muted); font-weight: 500; }
.spec-table th .icon { width: 20px; height: 20px; color: var(--np-blue); }
.spec-table td { color: var(--np-ink); font-weight: 700; }

.detail-layout__aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.side-nav { padding: 28px; background: var(--np-bg-alt); border-radius: var(--np-radius); }
.side-nav__title { margin-bottom: 14px; font-size: 1.125rem; }
.side-nav ul { margin: 0; padding: 0; list-style: none; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--np-line); color: var(--np-ink); text-decoration: none; font-weight: 500; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a .icon { width: 16px; height: 16px; color: var(--np-muted); transition: transform .2s; }
.side-nav a:hover { color: var(--np-blue); }
.side-nav a:hover .icon { transform: translateX(3px); color: var(--np-blue); }
.side-nav a[aria-current="page"] { color: var(--np-magenta); font-weight: 700; }
.side-nav a[aria-current="page"] .icon { color: var(--np-magenta); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 64px; align-items: start; }
.contact-layout__aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.contact-card { padding: 30px; background: var(--np-bg-alt); border-radius: var(--np-radius); }
.contact-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1.25rem; }
.contact-card__title .icon { color: var(--np-blue); }
.contact-card > p { font-size: .96875rem; }
.contact-card--blue { background: linear-gradient(135deg, var(--np-blue), var(--np-blue-dark)); color: #fff; }
.contact-card--blue .contact-card__title { color: #fff; }
.contact-card__phone { display: flex; align-items: center; gap: 10px; margin: 6px 0 20px; color: #fff; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.contact-card__phone:hover { color: #fff; text-decoration: underline; }
.contact-card--hint { background: #fff; border: 1px solid var(--np-line); border-left: 4px solid var(--np-magenta); }

.contact-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; line-height: 1.5; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--np-magenta); }
.contact-list a { color: inherit; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--np-blue); text-decoration: underline; }
.contact-list__label { display: block; color: var(--np-muted); font-size: .8125rem; }
.contact-list > li > span { color: var(--np-ink); font-weight: 500; }

.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.5; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
	content: "";
	position: absolute; left: 0; top: 4px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--np-magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.map-wrap { overflow: hidden; border-radius: 10px; box-shadow: var(--np-shadow); }

/* Kontaktformular (Contact Form 7) */
.np-form { display: grid; gap: 20px; margin-top: 28px; }
.np-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.np-field { display: grid; gap: 7px; }
.np-field--full { grid-column: 1 / -1; }
.np-field__label { color: var(--np-ink); font-size: .875rem; font-weight: 600; }
.np-field__label abbr { color: var(--np-magenta); text-decoration: none; }
.np-form input[type="text"], .np-form input[type="email"], .np-form input[type="tel"], .np-form select, .np-form textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #cfd6e2;
	border-radius: 6px;
	background: #fff;
	color: var(--np-ink);
	font: 400 1rem/1.4 var(--np-font);
	transition: border-color .2s, box-shadow .2s;
}
.np-form textarea { min-height: 160px; resize: vertical; }
.np-form select {
	appearance: none;
	padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4db0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.np-form input:focus, .np-form select:focus, .np-form textarea:focus { outline: none; border-color: var(--np-blue); box-shadow: 0 0 0 4px rgba(29, 77, 176, .14); }
.np-form .wpcf7-not-valid { border-color: #d92d20; }
.np-form .wpcf7-form-control-wrap { display: block; }
.np-form .wpcf7-not-valid-tip { margin-top: 6px; color: #b42318; font-size: .8125rem; }
.np-form__hint { display: flex; gap: 12px; margin: 0; padding: 14px 18px; background: var(--np-blue-light); border-radius: 6px; color: var(--np-ink); font-size: .9375rem; line-height: 1.5; }
.np-form__hint::before {
	content: "";
	flex: none;
	width: 20px; height: 20px;
	margin-top: 1px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4db0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.np-form__captcha .altcha {
	--altcha-max-width: 100%;
	--altcha-border-radius: 6px;
	--altcha-color-border: #cfd6e2;
	--altcha-color-border-focus: var(--np-blue);
	--altcha-color-text: var(--np-ink);
	--altcha-color-active: var(--np-blue);
	--altcha-color-error-text: #b42318;
	font-family: var(--np-font) !important;
}
.np-form__consent { font-size: .875rem; line-height: 1.55; }
.np-form__consent .wpcf7-list-item { margin: 0; }
.np-form__consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.np-form__consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--np-magenta); }
.np-form__footer { display: grid; justify-items: start; gap: 14px; }
.np-form__required { margin: 0; color: var(--np-muted); font-size: .8125rem; }
.np-form .wpcf7-submit { border: 0; }
.np-form .wpcf7-spinner { margin: 0 0 0 12px; }
.np-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-width: 2px; border-radius: 6px; font-size: .9375rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #12b76a; background: #ecfdf3; color: #05603a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #f79009; background: #fffaeb; color: #93370d; }
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #d92d20; background: #fef3f2; color: #912018; }

/* --------------------------------------------------------------------------
   Karte mit Zwei-Klick-Lösung
   -------------------------------------------------------------------------- */

.map-consent {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background-color: #1b2740;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
		radial-gradient(circle at 30% 40%, rgba(29, 77, 176, .55), transparent 60%);
	background-size: 28px 28px, 28px 28px, 100% 100%;
	color: rgba(255, 255, 255, .85);
}
.map-consent--large { aspect-ratio: 21 / 8; border-radius: 0; }
.map-consent__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center; }
.map-consent__pin { width: 36px; height: 36px; color: var(--np-magenta); }
.map-consent__address { margin: 0; font-size: .875rem; line-height: 1.45; }
.map-consent__address strong { color: #fff; }
.map-consent__note { max-width: 360px; margin: 4px 0 0; font-size: .75rem; line-height: 1.45; opacity: .75; }
.map-consent__note a { color: inherit; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent.is-loaded .map-consent__placeholder { display: none; }
.map-route { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; }
.map-route .icon { width: 18px; height: 18px; color: var(--np-magenta); }
.map-route:hover { color: var(--np-magenta); }
.map-wrap + .map-route, .section--map .map-route { color: var(--np-ink); }
.section--map .map-route:hover { color: var(--np-magenta); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--np-dark); color: rgba(255, 255, 255, .7); font-size: .96875rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr .9fr 1.25fr; gap: 48px; padding-block: 96px 64px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 190px; margin-bottom: 22px; }
.site-footer__grid > .wp-block-group > :first-child { margin-top: 0; }
.site-footer__grid :is(h2, h3).wp-block-heading { position: relative; margin: 0 0 30px; padding-bottom: 14px; color: #fff; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__grid :is(h2, h3).wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--np-magenta); }
.site-footer__grid p { margin-bottom: 22px; }
.site-footer__grid a:not(.btn) { color: inherit; }
.footer-col--about p { margin-bottom: 22px; }
.footer-title { position: relative; margin: 0 0 30px; padding-bottom: 14px; color: #fff; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--np-magenta); }
.contact-list--footer > li > span { color: rgba(255, 255, 255, .85); font-weight: 400; }
.contact-list--footer .contact-list__label { color: rgba(255, 255, 255, .5); }
.contact-list--footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; transition: color .2s, transform .2s; }
.footer-links .icon { width: 14px; height: 14px; color: var(--np-magenta); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.site-footer .map-route { color: rgba(255, 255, 255, .85); }
.site-footer .map-route:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.legal-nav a { color: inherit; text-decoration: none; }
.legal-nav a:hover { color: #fff; text-decoration: underline; }

.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--np-magenta); color: #fff;
	box-shadow: 0 10px 24px rgba(226, 0, 122, .35);
	opacity: 0; visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.to-top .icon { transform: rotate(180deg); }
.to-top:hover { background: var(--np-blue); color: #fff; }
.show-to-top .to-top { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   Sonstiges: Seitennavigation, Leerzustände
   -------------------------------------------------------------------------- */

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border: 1px solid var(--np-line); border-radius: 50px; color: var(--np-ink); font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--np-blue); border-color: var(--np-blue); color: #fff; }

.post-nav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--np-line); }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-nav a { display: grid; gap: 4px; color: var(--np-ink); text-decoration: none; }
.post-nav .nav-next { text-align: right; grid-column: 2; }
.post-nav__label { color: var(--np-magenta); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.post-nav__title { font-weight: 700; }
.post-nav a:hover .post-nav__title { color: var(--np-blue); }
.social-ref { margin-top: 32px; }

.empty-state { text-align: center; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: grid; place-items: center;
	padding: 60px 80px;
	background: rgba(5, 9, 20, .94);
	opacity: 0;
	transition: opacity .3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; margin: 0; }
.lightbox__img { max-width: min(1400px, 100%); max-height: calc(100vh - 160px); border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__caption { color: rgba(255, 255, 255, .8); font-size: .9375rem; text-align: center; }
.lightbox__counter { position: absolute; top: 22px; left: 26px; color: rgba(255, 255, 255, .7); font-size: .875rem; letter-spacing: .1em; }
.lightbox button {
	position: absolute;
	display: grid; place-items: center;
	width: 52px; height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.lightbox button:hover { background: var(--np-magenta); border-color: var(--np-magenta); }
.lightbox__close { top: 14px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__counter { display: none; }
.lightbox-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Einblend-Animation beim Scrollen
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--np-ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card-grid > .reveal:nth-child(3n+2) { --delay: 100ms; }
.js .card-grid > .reveal:nth-child(3n+3) { --delay: 200ms; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
	.navbar__phone span { display: none; }
	.main-nav__list > li > a { padding-inline: 11px; }
	.main-nav__list > li > a::after { left: 11px; right: 11px; }
}

@media (max-width: 1080px) {
	:root { --nav-h: 78px; }
	.topbar__info li:first-child { display: none; }

	.nav-toggle { display: block; }
	.navbar__actions { margin-left: auto; }
	.navbar__phone { display: none; }
	.main-nav {
		position: fixed; inset: 0; z-index: 1;
		display: flex; flex-direction: column; justify-content: center; gap: 36px;
		padding: 110px 32px 40px;
		background: linear-gradient(160deg, var(--np-blue-deep), var(--np-blue));
		color: #fff;
		opacity: 0; visibility: hidden;
		transform: translateY(-12px);
		transition: opacity .3s, transform .3s var(--np-ease), visibility .3s;
		overflow-y: auto;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.main-nav__list { flex-direction: column; gap: 4px; }
	.main-nav__list > li > a { padding: 10px 0; font-size: 1.6rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
	.main-nav__list > li > a::after { left: 0; right: auto; width: 40px; }
	.main-nav__list .sub-menu { position: static; padding: 0 0 8px 16px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.main-nav__list .sub-menu a { color: rgba(255, 255, 255, .8); }
	.main-nav__mobile-extra { display: flex; flex-wrap: wrap; gap: 12px; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: transparent; color: #fff; box-shadow: none; }
	.nav-open .brand__logo--light { display: block; }
	.nav-open .brand__logo--dark { display: none; }
	.nav-open .navbar__cta { display: none; }

	.about { grid-template-columns: 1fr; gap: 72px; }
	.about__media { max-width: 640px; }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.detail-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
	.detail-layout__aside, .contact-layout__aside { position: static; }
	.cta-split { grid-template-columns: 1fr; }
	.cta-split__panel { min-height: 0; padding: 80px var(--gutter); }
	.cta-split__panel:first-child, .cta-split__panel:last-child:not(:first-child) { padding-inline: max(var(--gutter), calc((100vw - 720px) / 2)); }

	.timeline { grid-auto-flow: row; gap: 26px; padding-left: 44px; }
	.timeline::before { top: 6px; bottom: 6px; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--np-blue), var(--np-magenta)); }
	.timeline__item { padding: 0; text-align: left; }
	.timeline__year { height: auto; line-height: 1.2; font-size: 1.4rem; }
	.timeline__dot { position: absolute; left: -44px; top: 4px; margin: 0; }
}

@media (max-width: 900px) {
	.quicklinks { margin-top: -48px; }
	.quicklinks__grid { grid-template-columns: 1fr; }
	.quicklink + .quicklink { border-left: 0; border-top: 1px solid var(--np-line); }
	.hero-slider__controls { bottom: 76px; }
	.hero-slider__counter { display: none; }
	.photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.map-consent--large { aspect-ratio: 4 / 3; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
	:root { --gutter: 18px; --topbar-h: 0px; }
	.topbar { display: none; }
	.section { padding: 76px 0; }
	.section-header { margin-bottom: 40px; }
	.brand__logo { height: 44px; }
	.navbar__cta { display: none; }
	.hero-slider { min-height: 580px; }
	.hero-slide__content { padding-bottom: 120px; }
	.hero-slider__controls { justify-content: center; }
	.hero-slider__arrows [data-slide-prev], .hero-slider__arrows [data-slide-next] { display: none; }
	.hero-slide__actions .btn--outline-light { display: none; }
	.card-grid--3 { grid-template-columns: 1fr; }
	.np-form__row { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 44px; padding-block: 72px 48px; }
	.spec-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about__badge { left: -10px; bottom: -20px; padding: 16px 20px; }
	.about__badge-year { font-size: 2rem; }
	.about__media { margin: 0 18px 18px 0; }
	.about__media::before { inset: 18px -18px -18px 18px; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.post-nav .nav-next { grid-column: 1; }
	.lightbox { padding: 60px 12px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
	.page-hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.hero-slide__bg { transform: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .hero-slider__controls, .to-top, .map-consent, .cta-split, .site-footer__grid .footer-col--map { display: none !important; }
	.page-hero { padding: 20px 0; background: none; color: #000; }
	.page-hero__title { color: #000; }
}

/* Hinweis in der Editor-Vorschau (z. B. wenn noch keine Inhalte vorhanden sind) */
.nophut-editor-hint { margin: 0; padding: 18px 20px; background: #fff7e6; border: 1px dashed #f59e0b; border-radius: 6px; color: #7a4b00; font-size: .9375rem; }
