/*
Theme Name: NIMMERGRAU
Theme URI: https://nimmergrau.de
Author: NIMMERGRAU Werbeagentur
Description: Modernes Block-Theme für die NIMMERGRAU Werbeagentur aus Duisburg. Vollflächige Markenfarben, große Versal-Typografie, Cinematic-Scroll-Effekt (Graustufen → Farbe), lokal eingebundene Schriften (DSGVO-freundlich) und fertige Startseiten-Sektionen als Block-Vorlagen.
Version: 2.6.5
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nimmergrau
Tags: block-theme, full-site-editing, one-column, custom-colors, custom-logo, editor-style
*/

/* ==========================================================================
   Grundlagen
   ========================================================================== */
:root {
	--ng-petrol: var(--wp--preset--color--petrol, #34494f);
	--ng-black: var(--wp--preset--color--petrol-dark, #152125);
	--ng-orange: var(--wp--preset--color--orange, #f18700);
	--ng-pink: var(--wp--preset--color--pink, #e6007e);
	--ng-coral: var(--wp--preset--color--coral, #ff5b5f);
	--ng-soft: var(--wp--preset--color--light, #f5f3ef);
	--ng-muted: var(--wp--preset--color--muted, #5d6f75);
	--ng-line: rgba(21, 33, 37, .14);
	--ng-bunt: linear-gradient(100deg, var(--ng-orange), var(--ng-coral) 45%, var(--ng-pink));
	--ng-display: var(--wp--preset--font-family--display);
	--ng-radius: 22px;
	--ng-ease: cubic-bezier(.2, .7, .2, 1);
	--ng-gray: 0;
	--ng-bright: 1;
	--ng-contrast: 1;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ng-pink); color: #fff; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--ng-orange); outline-offset: 3px; border-radius: 4px; }
img { height: auto; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(h1, h2, h3) { font-stretch: 108%; }

.ng-section {
	padding-top: clamp(4rem, 10vw, 9rem);
	padding-bottom: clamp(4rem, 10vw, 9rem);
	position: relative;
}

/* kleine Rubrik-Zeile */
.ng-label {
	display: flex !important;
	align-items: center;
	gap: .8rem;
	margin: 0 0 1.6rem !important;
	font-size: .82rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: inherit;
	opacity: .75;
}
.ng-label::before {
	content: "";
	width: 40px;
	height: 2px;
	background: currentColor;
	flex: none;
}

/* Markierung im Text */
mark.ng-mark,
.ng-mark {
	background: none;
	color: inherit;
	background-image: var(--ng-bunt);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wp-block-button__link {
	border: 2px solid transparent;
	transition: transform .25s var(--ng-ease), background-color .25s, color .25s, border-color .25s;
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link::after {
	content: "↗";
	display: inline-block;
	margin-left: .5em;
	transition: transform .25s var(--ng-ease);
}
.wp-block-button__link:hover::after { transform: translate(2px, -2px); }
.ng-header .wp-block-button__link::after { content: none; }

.is-style-ng-ghost .wp-block-button__link {
	background: transparent !important;
	color: inherit !important;
	border-color: currentColor;
}
.is-style-ng-ghost .wp-block-button__link:hover { background: var(--ng-black) !important; color: #fff !important; border-color: var(--ng-black); }
.ng-hero .is-style-ng-ghost .wp-block-button__link { color: #fff !important; }
.ng-hero .is-style-ng-ghost .wp-block-button__link:hover,
.ng-dark .is-style-ng-ghost .wp-block-button__link:hover { background: #fff !important; color: var(--ng-black) !important; border-color: #fff; }
.is-style-ng-light .wp-block-button__link { background: #fff !important; color: var(--ng-black) !important; }
.is-style-ng-light .wp-block-button__link:hover { background: var(--ng-black) !important; color: #fff !important; }
.ng-contact .is-style-ng-light .wp-block-button__link:hover { background: var(--ng-pink) !important; }

/* ==========================================================================
   Header
   ========================================================================== */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1002;
}
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.ng-header {
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
.ng-scrolled .ng-header { border-bottom-color: var(--ng-line); }
.ng-header__inner { min-height: 72px; }
.ng-header .wp-block-site-logo img { max-height: 48px; width: auto; }
.ng-header .wp-block-navigation {
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	gap: 2rem;
}
.ng-header .wp-block-navigation a { text-decoration: none; }
.ng-header .wp-block-navigation-item__content { position: relative; }
.ng-header .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px;
	background: var(--ng-pink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ng-ease);
}
.ng-header .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.ng-header .wp-block-button__link {
	padding: .65rem 1.15rem;
	font-size: .78rem;
	background: var(--ng-black);
}
.ng-header .wp-block-button__link:hover { background: var(--ng-pink); }
.ng-header__right { gap: 2rem; }

/* Logo */
.ng-header .ng-logo img, .ng-header .wp-block-site-logo img { height: 58px; width: auto; display: block; }
@media (max-width: 781px) { .ng-header .ng-logo img, .ng-header .wp-block-site-logo img { height: 40px; } }

/* Wortmarke (Reserve) */
.ng-wordmark {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--ng-display);
	font-weight: 850;
	font-stretch: 112%;
	font-size: 1.4rem;
	letter-spacing: -.03em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1;
	color: var(--ng-black);
}
.ng-wordmark__grau { color: var(--ng-pink); }

/* Mobiles Menü: vollflächig, große Typo */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--ng-pink) !important;
	color: #fff !important;
	padding: 1.5rem clamp(1.2rem, 5vw, 3rem) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: .3rem !important;
	font-family: var(--ng-display);
	font-size: clamp(2.4rem, 11vw, 4.5rem);
	font-weight: 850;
	font-stretch: 110%;
	letter-spacing: -.02em;
	line-height: 1;
}
@media (max-width: 781px) {
	.ng-header .ng-header__cta { display: none; }
	.ng-header__inner { min-height: 62px; }
	.ng-wordmark { font-size: 1.2rem; }
}

/* ==========================================================================
   Hero – vollflächig Pink, riesige Versalien mit Farb-Pills
   ========================================================================== */
.ng-hero {
	background: var(--ng-pink);
	color: #fff;
	min-height: calc(100svh - 72px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: clamp(3rem, 7vw, 6rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
	position: relative;
}
.ng-hero > * { width: 100%; }
.ng-hero__title {
	color: #fff !important;
	font-size: clamp(2.7rem, 8.6vw, 9rem) !important;
	line-height: .88 !important;
	font-weight: 850 !important;
	font-stretch: 112%;
	letter-spacing: -.035em !important;
	margin-top: 0 !important;
	margin-bottom: clamp(2rem, 4.5vw, 4rem) !important;
	hyphens: manual;
}
.ng-pill {
	display: inline-block;
	width: 1.75em;
	height: .74em;
	border-radius: 999px;
	vertical-align: .04em;
	position: relative;
	overflow: hidden;
	background-size: 240% 100%;
	animation: ng-pill 7s ease-in-out infinite alternate;
	box-shadow: inset 0 0 0 .05em rgba(255, 255, 255, .28);
}
.ng-pill::after {
	content: "";
	position: absolute;
	border-radius: .12em;
	animation: ng-spin 9s linear infinite;
}
.ng-pill--a { background-image: linear-gradient(100deg, var(--ng-orange), #ffb347, var(--ng-orange)); }
.ng-pill--a::after { width: .4em; height: .4em; left: .3em; top: .17em; border: .07em solid #fff; }
.ng-pill--b { width: 1.3em; background-image: linear-gradient(100deg, #ff3fa4, var(--ng-pink), #ff3fa4); animation-delay: -2s; box-shadow: inset 0 0 0 .07em #fff !important; }
.ng-pill--b::after { width: .32em; height: .32em; right: .22em; top: .21em; background: #fff; border-radius: 50%; animation: ng-bob 3s ease-in-out infinite; }
.ng-pill--c { width: 1.1em; background-image: linear-gradient(100deg, var(--ng-coral), var(--ng-orange), var(--ng-coral)); animation-delay: -4s; }
.ng-pill--c::after { width: .3em; height: .3em; left: .4em; top: .22em; border: .06em solid var(--ng-black); }
@keyframes ng-pill { to { background-position: 100% 0; } }
@keyframes ng-pan { from { background-size: 110%; } to { background-size: 150%; } }
@keyframes ng-spin { to { transform: rotate(360deg); } }
@keyframes ng-bob { 50% { transform: translateX(-.3em); } }

.ng-hero__foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: end;
	border-top: 2px solid rgba(255, 255, 255, .4);
	padding-top: 1.6rem;
}
.ng-hero__foot > * { margin: 0 !important; }
/* Hinweis-Popup (Phishing-Warnung). Ohne JavaScript erscheint es als Hinweisbox oben auf der Seite. */
.ng-notice { padding: 1rem; background: var(--ng-black, #1d1d1b); }
.ng-notice__box {
	max-width: 34rem;
	margin: 0 auto;
	background: #fff;
	color: var(--ng-black, #1d1d1b);
	border-radius: 1.4rem;
	padding: clamp(1.5rem, 4vw, 2.4rem);
	background: linear-gradient(var(--ng-pink), var(--ng-pink)) top / 100% .45rem no-repeat, #fff;
	overflow: hidden;
	box-shadow: 0 2rem 5rem rgba(0, 0, 0, .35);
	font-size: 1rem;
	line-height: 1.55;
	outline: none;
}
.ng-notice__box > * { margin: 0 0 .8rem !important; }
.ng-notice__label {
	display: inline-block;
	background: var(--ng-pink);
	color: #fff;
	border-radius: 999px;
	padding: .35rem .9rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ng-notice__subject {
	background: #f5f3ef;
	border-left: .3rem solid var(--ng-orange);
	border-radius: .5rem;
	padding: .7rem 1rem;
	font-weight: 800;
}
.ng-notice__sign { font-weight: 700; }
.ng-notice__actions { margin: 1.2rem 0 0 !important; }
.ng-notice__close .wp-block-button__link { background: var(--ng-black, #1d1d1b) !important; color: #fff !important; }
.ng-notice__close .wp-block-button__link:hover { background: var(--ng-pink) !important; }
.ng-notice__close .wp-block-button__link::after { content: none !important; display: none !important; }
.ng-js .ng-notice { display: none; }
.ng-js.ng-notice-open .ng-notice {
	display: grid;
	place-items: center;
	position: fixed;
	inset: 0;
	z-index: 3000;
	padding: 1rem;
	background: rgba(21, 33, 37, .72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	overflow-y: auto;
	animation: ng-fade .35s ease both;
}
.ng-js.ng-notice-open .ng-notice__box { animation: ng-pop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.ng-notice-closed .ng-notice { display: none !important; }
.ng-notice-open .ng-scroll-hint { display: none !important; }
html.ng-notice-open { overflow: hidden; }
@keyframes ng-fade { from { opacity: 0; } }
@keyframes ng-pop { from { opacity: 0; transform: translateY(1.5rem) scale(.96); } }
@media (prefers-reduced-motion: reduce) {
	.ng-js.ng-notice-open .ng-notice, .ng-js.ng-notice-open .ng-notice__box { animation: none; }
}

/* Sticker „Wir suchen Auszubildende (m/w/d)“ */
.ng-hero p.ng-azubi {
	position: absolute;
	top: clamp(1.5rem, 4vw, 3.5rem);
	right: clamp(1.2rem, 4vw, 4rem);
	width: auto;
	margin: 0 !important;
	z-index: 1001;
	transform: rotate(-12deg);
	animation: ng-wobble 4s ease-in-out infinite;
}
.ng-azubi a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: clamp(10rem, 13.5vw, 12.5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ng-orange);
	color: var(--ng-black) !important;
	text-decoration: none !important;
	text-align: center;
	text-transform: uppercase;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: .02em;
	font-size: clamp(.78rem, 1vw, .95rem);
	box-shadow: 0 0 0 .35rem #fff, 0 1rem 2.5rem rgba(0, 0, 0, .25);
	transition: transform .3s ease, background .3s ease;
}
.ng-azubi a strong { font-size: 1.02em; font-weight: 900; margin: .25em 0; }
.ng-azubi a:hover, .ng-azubi a:focus-visible { background: var(--ng-coral); transform: scale(1.06); }
@keyframes ng-wobble { 50% { transform: rotate(-4deg) translateY(-.4rem); } }
@media (max-width: 900px) {
	.ng-hero p.ng-azubi { position: static; transform: none; animation: none; margin: 0 0 1.6rem !important; }
	.ng-azubi a { flex-direction: row; gap: .35em; width: auto; aspect-ratio: auto; border-radius: 999px; padding: .65rem 1.1rem; font-size: .78rem; flex-wrap: wrap; }
	.ng-azubi a strong { margin: 0; font-size: 1em; }
}
@media (prefers-reduced-motion: reduce) { .ng-hero p.ng-azubi { animation: none; } }

.ng-hero__lead { max-width: 36rem; font-size: var(--wp--preset--font-size--large); line-height: 1.45; }
.ng-hero__actions { gap: .7rem !important; }

/* ==========================================================================
   Haltung – große Aussagen
   ========================================================================== */
.ng-statements__list { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem) !important; }
.ng-statements__list > * { margin: 0 !important; }
.ng-statement {
	font-family: var(--ng-display);
	font-size: clamp(1.6rem, 3.6vw, 3.3rem) !important;
	font-weight: 600;
	line-height: 1.08 !important;
	letter-spacing: -.025em;
	max-width: 22em;
	padding-left: 1.2em;
	position: relative;
	text-wrap: balance;
}
.ng-statement::before {
	content: "";
	position: absolute;
	left: 0; top: .22em;
	width: .55em; height: .55em;
	border-radius: .14em;
	background: var(--ng-orange);
}
.ng-statement:nth-child(2)::before { background: var(--ng-pink); border-radius: 50%; }
.ng-statement:nth-child(3)::before { background: var(--ng-coral); transform: rotate(45deg) scale(.85); }
.ng-statements__cta {
	margin-top: clamp(2.5rem, 5vw, 4rem) !important;
	font-family: var(--ng-display);
	font-weight: 800;
	font-stretch: 110%;
	text-transform: uppercase;
	font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
	letter-spacing: -.01em;
}
.ng-statements__cta a {
	color: var(--ng-pink);
	text-decoration: none;
	border-bottom: 3px solid currentColor;
	margin-left: .3em;
}
.ng-statements__cta a::after { content: " ↗"; }
.ng-statements__cta a:hover { color: var(--ng-black); }

/* ==========================================================================
   Leistungen – dunkel, große Kacheln
   ========================================================================== */
.ng-dark { background: var(--ng-black); color: #fff; }
.ng-dark h2, .ng-dark h3 { color: #fff; }
.ng-work__inner {
	display: grid;
	grid-template-columns: clamp(70px, 9vw, 150px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}
.ng-work__inner > * { margin: 0 !important; }
.ng-work__label {
	position: sticky;
	top: 100px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: clamp(3.6rem, 9vw, 9rem) !important;
	line-height: .8 !important;
	color: var(--ng-orange) !important;
	font-weight: 850 !important;
	font-stretch: 112%;
	letter-spacing: -.03em !important;
	justify-self: start;
}
.ng-work__intro {
	font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
	line-height: 1.35;
	max-width: 34em;
	color: #d6e0e2;
	margin: 0 0 clamp(2rem, 4vw, 3rem) !important;
}
.ng-cases {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.6rem) !important;
}
.ng-cases > * { margin: 0 !important; }
.ng-case { display: grid; gap: .9rem !important; align-content: start; }
.ng-case > * { margin: 0 !important; }
.ng-tile {
	aspect-ratio: 16 / 10.5;
	border-radius: var(--ng-radius);
	display: grid;
	place-items: center;
	overflow: hidden;
	position: relative;
	transition: transform .5s var(--ng-ease);
}
.ng-tile::before {
	content: "";
	position: absolute;
	width: 55%; aspect-ratio: 1;
	right: -12%; bottom: -30%;
	border-radius: 28%;
	border: clamp(14px, 2vw, 26px) solid rgba(255, 255, 255, .22);
	transition: transform .8s var(--ng-ease);
}
.ng-case:hover .ng-tile { transform: scale(.985); }
.ng-case:hover .ng-tile::before { transform: rotate(-18deg) scale(1.08); }
.ng-tile__art {
	margin: 0 !important;
	font-family: var(--ng-display);
	font-weight: 850;
	font-stretch: 115%;
	font-size: clamp(2.6rem, 6.4vw, 6rem) !important;
	letter-spacing: -.04em;
	line-height: 1 !important;
	color: #fff;
	position: relative;
	transition: transform .6s var(--ng-ease);
}
.ng-case:hover .ng-tile__art { transform: scale(1.06) rotate(-2deg); }
.ng-tile--orange { background: var(--ng-orange); }
.ng-tile--pink { background: var(--ng-pink); }
.ng-tile--petrol { background: var(--ng-petrol); }
.ng-tile--petrol .ng-tile__art { color: var(--ng-orange); }
.ng-tile--coral { background: var(--ng-coral); }
.ng-tile--light { background: var(--ng-soft); }
.ng-tile--light::before { border-color: rgba(230, 0, 126, .2); }
.ng-tile--light .ng-tile__art { color: var(--ng-black); }
.ng-tile--bunt { background: var(--ng-bunt); }
.ng-case__caption {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .2rem .9rem;
	font-size: .95rem !important;
	color: #b9c7ca;
	line-height: 1.35;
}
.ng-case__caption strong {
	font-family: var(--ng-display);
	font-weight: 800;
	font-stretch: 110%;
	text-transform: uppercase;
	font-size: 1.25rem;
	color: #fff;
	letter-spacing: -.01em;
	display: inline-flex;
	align-items: center;
	gap: .9rem;
}
.ng-case__caption strong::after {
	content: "";
	width: 36px;
	height: 2px;
	background: currentColor;
	opacity: .6;
}

/* ==========================================================================
   Laufband
   ========================================================================== */
.ng-marquee {
	overflow: hidden;
	padding: clamp(1.4rem, 3vw, 2.4rem) 0 !important;
	background: #fff;
	border-bottom: 1px solid var(--ng-line);
}
.ng-marquee__track {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	width: max-content;
	animation: ng-marquee 30s linear infinite;
}
.ng-marquee__track > p {
	margin: 0 !important;
	white-space: nowrap;
	font-family: var(--ng-display);
	font-weight: 850;
	font-stretch: 115%;
	text-transform: uppercase;
	font-size: clamp(3rem, 9vw, 8.5rem);
	line-height: 1;
	letter-spacing: -.03em;
	color: #4a4a4a;
	-webkit-text-stroke: 0 transparent;
	padding-right: .3em;
}
.ng-marquee__track em {
	font-style: normal;
	color: var(--ng-pink);
	-webkit-text-stroke: 0;
}
.ng-marquee__track .ng-star { color: var(--ng-orange); -webkit-text-stroke: 0; font-size: .5em; vertical-align: .35em; padding: 0 .2em; }
@keyframes ng-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Über
   ========================================================================== */
.ng-quote {
	font-size: clamp(2.3rem, 6vw, 6.2rem) !important;
	line-height: .95 !important;
	font-weight: 850 !important;
	font-stretch: 110%;
	letter-spacing: -.035em !important;
	max-width: 13em;
	margin-top: 0 !important;
	margin-bottom: 1.6rem !important;
	text-wrap: balance;
}
.ng-byline {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem 1rem;
	margin: 0 0 clamp(3rem, 6vw, 5rem) !important;
	color: var(--ng-muted);
}
.ng-byline strong {
	text-transform: uppercase;
	font-family: var(--ng-display);
	font-stretch: 110%;
	font-weight: 800;
	color: var(--ng-black);
	display: inline-flex;
	align-items: center;
	gap: 1rem;
}
.ng-byline strong::after { content: ""; width: 40px; height: 2px; background: var(--ng-pink); }
.ng-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
	border-top: 2px solid var(--ng-black);
	padding-top: clamp(1.8rem, 3vw, 2.6rem);
}
.ng-about__grid > * { margin: 0 !important; }
.ng-about__text { font-size: var(--wp--preset--font-size--large); line-height: 1.5; margin: 0 0 1.8rem !important; }
.ng-values { list-style: none; padding: 0 !important; margin: 0 !important; }
.ng-values li {
	display: grid;
	grid-template-columns: minmax(8.5rem, .5fr) 1fr;
	gap: 1rem;
	padding: 1.05rem 0;
	border-bottom: 1px solid var(--ng-line);
	color: var(--ng-muted);
}
.ng-values li:first-child { padding-top: 0; }
.ng-values strong {
	font-family: var(--ng-display);
	text-transform: uppercase;
	font-weight: 800;
	font-stretch: 110%;
	color: var(--ng-black);
	font-size: 1.1rem;
}

/* ==========================================================================
   Methode & FAQ – editoriale Zeilen
   ========================================================================== */
.ng-soft { background: var(--ng-soft); }
.ng-soft--tight { padding-top: 0; }
.ng-soft--tight .ng-split { border-top: 2px solid var(--ng-black); padding-top: clamp(3rem, 6vw, 5rem); }
.ng-split {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}
.ng-split > * { margin: 0 !important; }
.ng-split__head { position: sticky; top: 110px; }
.ng-split__head h2 { font-size: clamp(2.4rem, 5vw, 5rem) !important; text-wrap: balance; }
.ng-rows { counter-reset: ng-row; border-top: 2px solid var(--ng-black); }
.ng-rows > * { margin: 0 !important; }
.ng-row {
	display: grid;
	grid-template-columns: 4.2rem minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 1rem 1.6rem;
	padding: 1.7rem 0 !important;
	border-bottom: 1px solid var(--ng-line);
	align-items: baseline;
	transition: padding-left .4s var(--ng-ease);
}
.ng-row > * { margin: 0 !important; }
.ng-row::before {
	counter-increment: ng-row;
	content: counter(ng-row, decimal-leading-zero);
	font-family: var(--ng-display);
	font-weight: 800;
	font-size: 1rem;
	color: var(--ng-pink);
}
.ng-row:hover { padding-left: .6rem !important; }
.ng-row h3 { font-size: clamp(1.3rem, 2vw, 1.7rem) !important; }
.ng-row p { color: var(--ng-muted); }

.ng-faq { border-top: 2px solid var(--ng-black); }
.ng-faq > * { margin: 0 !important; }
.ng-faq .wp-block-details { border-bottom: 1px solid var(--ng-line); padding: 1.4rem 0; }
.ng-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	font-family: var(--ng-display);
	font-weight: 750;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.2;
}
.ng-faq summary::-webkit-details-marker { display: none; }
.ng-faq summary::after {
	content: "+";
	flex: none;
	font-size: 1.6em;
	line-height: .7;
	color: var(--ng-pink);
	transition: transform .3s var(--ng-ease);
}
.ng-faq details[open] summary::after { transform: rotate(45deg); }
.ng-faq details p { color: var(--ng-muted); margin: .9rem 0 0; max-width: 38em; }

/* ==========================================================================
   Kontakt – vollflächig dunkel
   ========================================================================== */
.ng-contact {
	background: var(--ng-black);
	color: #fff;
	padding-top: clamp(4rem, 10vw, 9rem) !important;
	padding-bottom: clamp(4rem, 9vw, 8rem) !important;
	position: relative;
	overflow: hidden;
}
.ng-contact::after {
	content: "";
	position: absolute;
	width: clamp(240px, 32vw, 520px);
	aspect-ratio: 1;
	right: -8%;
	top: -30%;
	border: clamp(12px, 1.6vw, 24px) solid var(--ng-pink);
	border-radius: 30%;
	animation: ng-spin 40s linear infinite;
	pointer-events: none;
}
.ng-contact > * { position: relative; z-index: 1; }
.ng-contact__title {
	color: #fff !important;
	font-size: clamp(3.2rem, 11vw, 11rem) !important;
	line-height: .86 !important;
	font-weight: 850 !important;
	font-stretch: 115%;
	letter-spacing: -.04em !important;
	margin-top: 0 !important;
	margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
.ng-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	border-top: 2px solid rgba(255, 255, 255, .3);
	padding-top: 2rem;
}
.ng-contact__grid > * { margin: 0 !important; }
.ng-contact__big {
	font-family: var(--ng-display);
	font-weight: 750;
	font-size: clamp(1.6rem, 3.6vw, 3.2rem) !important;
	line-height: 1.15 !important;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
}
.ng-contact__big a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ng-ease), color .3s; }
.ng-contact__big a:hover { color: var(--ng-orange); background-size: 100% 3px; }
.ng-contact__side { color: #d3dfe1; display: grid; gap: 1.2rem !important; }
.ng-contact__side > * { margin: 0 !important; }
.ng-contact__addr strong { color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ng-footer {
	background: var(--ng-black);
	color: #aebdc0;
	padding-top: 3rem;
	padding-bottom: 1.6rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	overflow: hidden;
}
.ng-footer a { color: #fff; text-decoration: none; }
.ng-footer a:hover { color: var(--ng-orange); }
.ng-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	font-size: .95rem;
}
.ng-footer__grid > * { margin: 0 !important; }
.ng-footer ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.ng-footer__claim {
	font-family: var(--ng-display);
	font-weight: 800;
	font-stretch: 110%;
	text-transform: uppercase;
	font-size: 1.3rem !important;
	line-height: 1.05 !important;
	color: #fff;
	max-width: 12em;
}
.ng-footer__giant {
	margin: clamp(2.5rem, 6vw, 5rem) 0 0 !important;
	font-family: var(--ng-display);
	font-weight: 900;
	font-stretch: 118%;
	text-transform: uppercase;
	font-size: clamp(2.2rem, 11vw, 12.5rem) !important;
	line-height: .78 !important;
	letter-spacing: -.05em;
	color: #fff;
	white-space: nowrap;
	text-align: center;
}
.ng-footer__giant span {
	background: var(--ng-bunt);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ng-footer__copy { margin: 1.6rem 0 0 !important; font-size: .82rem !important; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */
.ng-page-hero { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: 2.5rem; }
.ng-page-hero h1 { font-size: var(--wp--preset--font-size--xx-large); }
.ng-page-content { padding-bottom: clamp(4rem, 8vw, 7rem); }
.ng-post-card { border-top: 2px solid var(--ng-black); padding-top: 1.2rem !important; height: 100%; }
.ng-404 { min-height: 64vh; display: grid; place-content: center; text-align: center; }
.ng-404 .ng-label { justify-content: center; }

/* ==========================================================================
   Cinematic Scroll: Graustufen → Farbe
   ========================================================================== */
.ng-overlay,
.ng-scroll-hint { display: none; }

.ng-js .ng-cinematic .ng-overlay {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 999;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .1) 75%, rgba(0, 0, 0, 0) 100%);
	mix-blend-mode: multiply;
	opacity: 1;
	will-change: opacity;
}

/* Hero: Hintergrund wird über die Farbe gemischt (nicht gefiltert), damit die Pills farbig bleiben. */
.ng-js .ng-cinematic .ng-hero {
	background: color-mix(in srgb, var(--ng-pink) calc((1 - var(--ng-gray)) * 100%), #2e2e2e);
}
.ng-js .ng-cinematic .ng-pill { filter: none; position: relative; z-index: 1001; }
.ng-js .ng-cinematic:not(.ng-full-color) .ng-pill { box-shadow: inset 0 0 0 .05em rgba(255, 255, 255, .28), 0 0 .5em rgba(241, 135, 0, .35); }

/* Startwerte, bevor das Skript übernimmt (verhindert kurzes Aufblitzen in Farbe). */
.ng-js .ng-cinematic { --ng-gray: 1; --ng-bright: .86; --ng-contrast: 1.08; }

/* Filter auf Inhalt, Footer und die farbigen Header-Elemente –
   bewusst nicht auf den ganzen Header, damit das mobile Menü korrekt positioniert bleibt. */
.ng-js .ng-cinematic :is(main > :not(.ng-hero), .ng-hero__foot, footer.wp-block-template-part, .ng-header .wp-block-site-logo, .ng-header .ng-wordmark, .ng-header .wp-block-buttons) {
	filter: grayscale(var(--ng-gray)) contrast(var(--ng-contrast)) brightness(var(--ng-bright));
}
.ng-js .ng-cinematic.ng-full-color :is(main > :not(.ng-hero), .ng-hero__foot, footer.wp-block-template-part, .ng-header .wp-block-site-logo, .ng-header .ng-wordmark, .ng-header .wp-block-buttons) {
	filter: none;
}

.ng-js .ng-cinematic .ng-scroll-hint {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 1000;
	background: #fff;
	border-radius: 999px;
	padding: .7rem 1.1rem;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--ng-black);
	box-shadow: 0 15px 35px rgba(0, 0, 0, .22);
	cursor: pointer;
	transition: opacity .45s, transform .45s var(--ng-ease);
	animation: ng-bounce 1.9s ease-in-out infinite;
}
.ng-scroll-hint i {
	width: 16px; height: 26px;
	border: 2px solid currentColor;
	border-radius: 10px;
	position: relative;
}
.ng-scroll-hint i::after {
	content: "";
	position: absolute;
	left: 50%; top: 4px;
	width: 3px; height: 6px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--ng-pink);
	animation: ng-wheel 1.6s ease-in-out infinite;
}
@keyframes ng-wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
@keyframes ng-bounce { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 6px; } }
.ng-js .ng-cinematic.ng-colorized .ng-scroll-hint {
	opacity: 0;
	transform: translateX(-50%) translateY(18px);
	pointer-events: none;
}

/* Reveal-Animationen */
.ng-will-reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity .9s var(--ng-ease), transform .9s var(--ng-ease);
	transition-delay: var(--ng-delay, 0ms);
}
.ng-will-reveal:where(.is-visible) { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.ng-footer__grid { grid-template-columns: 1fr 1fr; }
	.ng-row { grid-template-columns: 3rem minmax(0, 1fr); }
	.ng-row p { grid-column: 2; }
}
@media (max-width: 900px) {
	.ng-split,
	.ng-about__grid,
	.ng-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.ng-split__head { position: static; }
	.ng-hero__foot { grid-template-columns: minmax(0, 1fr); }
	.ng-work__inner { grid-template-columns: minmax(0, 1fr); }
	.ng-work__label {
		position: static;
		writing-mode: horizontal-tb;
		transform: none;
		font-size: clamp(2.4rem, 11vw, 6rem) !important;
	}
}
@media (max-width: 640px) {
	.ng-cases { grid-template-columns: minmax(0, 1fr); }
	.ng-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.ng-values li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
	.ng-hero { min-height: calc(100svh - 62px); }

	.ng-js .ng-cinematic .ng-scroll-hint { bottom: 16px; }
}


/* ==========================================================================
   Arbeiten – Projekt-Galerie
   ========================================================================== */
.ng-work .ng-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ng-case__img { margin: 0 !important; overflow: hidden; border-radius: var(--ng-radius); background: #22343a; }
.ng-case__img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
	transition: transform .8s var(--ng-ease);
}
.ng-case:hover .ng-case__img img { transform: scale(1.05); }
.ng-case__caption { flex-direction: column; align-items: flex-start; gap: .25rem; }
.ng-case__caption strong { font-size: .8rem; letter-spacing: .08em; color: var(--ng-orange); font-family: var(--wp--preset--font-family--body); }
.ng-case__caption strong::after { content: none; }
.ng-case__caption { font-family: var(--ng-display); font-weight: 750; font-stretch: 105%; font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important; color: #fff; line-height: 1.15; }
.ng-work__more { margin-top: clamp(2rem, 4vw, 3rem) !important; }

/* ==========================================================================
   Leistungen – große Liste
   ========================================================================== */
.ng-service-list { border-top: 2px solid var(--ng-black); }
.ng-service-list > * { margin: 0 !important; }
.ng-service {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: .4rem 2rem;
	align-items: baseline;
	padding: 1.3rem 0 !important;
	border-bottom: 1px solid var(--ng-line);
	transition: padding-left .4s var(--ng-ease);
}
.ng-service > * { margin: 0 !important; }
.ng-service h3 { font-size: clamp(1.4rem, 2.15vw, 2.1rem) !important; hyphens: auto; line-height: .95 !important; transition: color .3s; }
.ng-service p { color: var(--ng-muted); }
.ng-service:hover { padding-left: .8rem !important; }
.ng-service:hover h3 { color: var(--ng-pink); }
.ng-split__head > p:not(.ng-label) { color: var(--ng-muted); margin-top: 1.4rem; max-width: 26em; }

/* ==========================================================================
   Über – Fotos
   ========================================================================== */
.ng-about__photo { margin: 0 !important; border-radius: var(--ng-radius); overflow: hidden; }
.ng-about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.ng-about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ng-about__team { margin-top: clamp(2.5rem, 5vw, 4rem) !important; border-radius: var(--ng-radius); overflow: hidden; }
.ng-about__team img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; display: block; }

/* ==========================================================================
   Kundenstimmen
   ========================================================================== */
.ng-voices { background: var(--ng-soft); }
.ng-voices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.ng-voices__grid > * { margin: 0 !important; }
.ng-voice {
	background: #fff;
	border-radius: var(--ng-radius);
	padding: clamp(1.8rem, 4vw, 3rem) !important;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}
.ng-voice > * { margin: 0 !important; }
.ng-voice--alt { background: var(--ng-pink); color: #fff; }
.ng-voice__text {
	font-family: var(--ng-display);
	font-weight: 650;
	font-size: clamp(1.3rem, 2.4vw, 2rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -.015em;
}
.ng-voice__who { display: flex; align-items: center; gap: .9rem; font-size: .92rem; opacity: .85; }
.ng-voice__who strong { text-transform: uppercase; font-family: var(--ng-display); font-stretch: 110%; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .9rem; }
.ng-voice__who strong::after { content: ""; width: 32px; height: 2px; background: currentColor; }

/* ==========================================================================
   Instagram-Leiste
   ========================================================================== */
.ng-insta { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.ng-insta__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem !important; }
.ng-insta__head > * { margin: 0 !important; }
.ng-insta__head h2 { font-size: clamp(1.8rem, 4vw, 3.4rem) !important; }
.ng-insta__link a { font-weight: 700; color: var(--ng-pink); text-decoration: none; border-bottom: 2px solid currentColor; }
.ng-insta__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; }
.ng-insta__grid > * { margin: 0 !important; }
.ng-insta__item { border-radius: 14px; overflow: hidden; }
.ng-insta__item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .6s var(--ng-ease), filter .4s; }
.ng-insta__item a:hover img { transform: scale(1.06); }

/* Footer-Logo */
.ng-footer__logo { margin: 0 0 1.2rem !important; }
.ng-footer__logo img { width: 170px; height: auto; }

@media (max-width: 1080px) {
	.ng-work .ng-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ng-voices__grid { grid-template-columns: minmax(0, 1fr); }
	.ng-service { grid-template-columns: minmax(0, 1fr); }
	.ng-insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ng-about__photo img { aspect-ratio: 1; object-position: 50% 25%; }
}
@media (max-width: 640px) {
	.ng-work .ng-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .7rem !important; }
	.ng-work .ng-case__caption { font-size: .98rem !important; }
	.ng-work .ng-case__caption strong { font-size: .68rem; }
	.ng-about__team img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Editor: keine Animationen/Filter, alles sichtbar */
.editor-styles-wrapper .ng-will-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .ng-marquee__track { animation: none; }
.editor-styles-wrapper .ng-work__label { position: static; }

/* Kunden & Partner */
.ng-clients {
	margin-top: clamp(2.2rem, 4vw, 3rem) !important;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, .18);
	color: #b9c7ca;
	font-size: 1rem !important;
	line-height: 1.9;
}
.ng-clients strong {
	display: block;
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ng-orange);
	margin-bottom: .3rem;
}
.ng-clients a,
.ng-case__caption a { color: #fff; text-decoration: none; border-bottom: 2px solid var(--ng-pink); transition: color .25s; }
.ng-clients a:hover,
.ng-case__caption a:hover { color: var(--ng-orange); }
.ng-case__caption strong a { color: inherit; border-bottom-width: 1px; }

/* Leistungen mit Mockups aus der Präsentation */
.ng-services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.ng-services__head > * { margin: 0 !important; }
.ng-services__head .ng-label { grid-column: 1 / -1; }
.ng-services__head h2 { font-size: clamp(2.4rem, 5.4vw, 5.4rem) !important; line-height: .92 !important; text-wrap: balance; }
.ng-services__head p:not(.ng-label) { color: var(--ng-muted); font-size: var(--wp--preset--font-size--large); line-height: 1.5; max-width: 30em; }
.ng-service-list.ng-offers { border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.ng-offer { display: flex; flex-direction: column; gap: .6rem; }
.ng-offer > * { margin: 0 !important; }
.ng-offer__img { background: #f1efeb; border-radius: var(--ng-radius); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1.2rem; margin-bottom: .6rem !important; transition: background .35s ease; }
.ng-offer__img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.ng-offer:hover .ng-offer__img { background: #fde7f2; }
.ng-offer:hover .ng-offer__img img { transform: scale(1.04); }
.ng-offer h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem) !important; line-height: 1 !important; hyphens: auto; transition: color .3s; }
.ng-offer:hover h3 { color: var(--ng-pink); }
.ng-offer p { color: var(--ng-muted); line-height: 1.5; }
.ng-portfolio { margin-top: clamp(3rem, 6vw, 5rem) !important; border-top: 2px solid var(--ng-black); padding-top: 1.6rem; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 1.2rem 2rem; align-items: start; }
.ng-portfolio > * { margin: 0 !important; }
.ng-portfolio__title { font-size: clamp(1.4rem, 2vw, 1.9rem) !important; }
.ng-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.ng-chips li { border: 1.5px solid var(--ng-black); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .92rem; transition: background .25s, color .25s, border-color .25s; }
.ng-chips li:hover { background: var(--ng-pink); border-color: var(--ng-pink); color: #fff; }
.ng-chips li:last-child { border-style: dashed; }
@media (max-width: 1000px) { .ng-service-list.ng-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.ng-services__head, .ng-portfolio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .ng-service-list.ng-offers { grid-template-columns: minmax(0, 1fr); } }
.ng-offer__img:has(img[src*="leistung-social-media"]) { padding: 0; }
.ng-offer__img img[src*="leistung-social-media"] { object-fit: cover; }

/* Oranger Ring oben rechts im Hero (Pendant zum pinken Ring im Kontaktbereich) */
.ng-hero::after {
	content: "";
	position: absolute;
	width: clamp(240px, 32vw, 520px);
	aspect-ratio: 1;
	right: -8%;
	top: -16%;
	border: clamp(12px, 1.6vw, 24px) solid var(--ng-orange);
	border-radius: 30%;
	animation: ng-spin 40s linear infinite;
	pointer-events: none;
	z-index: 1001;
}
@media (prefers-reduced-motion: reduce) { .ng-hero::after { animation: none; transform: rotate(-8deg); } }
