/*
Theme Name: nette30
Theme URI: https://www.nette30.de/
Author: Michaela Heinze
Author URI: https://www.nette30.de/
Description: Frisches Block-Theme für Michaela Heinze: Journalistin, Reportage-Fotografin und Moderatorin in Bielefeld. Ohne Page Builder, mit lokal eingebundenen Schriften (Bricolage Grotesque, Inter) und ohne externe Anfragen. Alle Texte, Bilder und Abschnitte lassen sich im Website-Editor bearbeiten.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nette30
Tags: block-patterns, full-site-editing, one-column, custom-colors, editor-style, accessibility-ready, german
*/

:root {
	--n-ink: var(--wp--preset--color--ink, #0E1330);
	--n-turq: var(--wp--preset--color--turquoise, #2ED8C3);
	--n-yellow: var(--wp--preset--color--yellow, #FFD93D);
	--n-coral: var(--wp--preset--color--coral, #FF6B57);
	--n-violet: var(--wp--preset--color--violet, #5A45F0);
	--n-green: var(--wp--preset--color--green, #8FE388);
	--n-sky: var(--wp--preset--color--sky, #D5DBF0);
	--n-muted: var(--wp--preset--color--muted, #3A4260);
	--n-white: var(--wp--preset--color--white, #FFFFFF);
	--n-display: var(--wp--preset--font-family--bricolage, 'Bricolage Grotesque', sans-serif);
	--n-accent: var(--n-yellow);
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
.wp-site-blocks { position: relative; overflow-x: clip; }
.wp-site-blocks p,
.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3, .wp-site-blocks h4,
.wp-site-blocks figure, .wp-site-blocks blockquote { margin: 0; }
.wp-block-post-content > p,
.wp-block-post-content > h2,
.wp-block-post-content > h3,
.wp-block-post-content > ul,
.wp-block-post-content > ol {
	max-width: 1440px; margin: 24px auto 0; padding: 0 4.5vw; box-sizing: border-box;
}
.wp-site-blocks a:focus-visible { outline: 3px solid var(--n-violet); outline-offset: 3px; border-radius: 4px; }

/* ---------- Kopfzeile und Navigation ---------- */
.n30-header-part { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.n30-header {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding: 24px 4.5vw; max-width: 1440px; margin: 0 auto; box-sizing: border-box; width: 100%;
}
.n30-logo { font-family: var(--n-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1.2; }
.n30-logo a { text-decoration: none; }
.n30-logo mark { padding: 0 8px; margin-left: 3px; border-radius: 8px; }
.n30-nav { font-size: 16px; font-weight: 600; gap: 8px 28px; }
.n30-nav .wp-block-navigation__container { gap: 8px 28px; }
.n30-nav a { text-decoration: none; }
.n30-nav .wp-block-navigation-item a { padding: 8px 16px; border-radius: 999px; }
.n30-nav .wp-block-navigation-item.current-menu-item > a { background: var(--n-white); }
.n30-nav .wp-block-navigation-item:last-child > a { background: var(--n-ink); color: var(--n-white); padding: 12px 24px; }
.n30-nav .wp-block-navigation-item:last-child > a:hover { background: var(--n-violet); }
.n30-nav .wp-block-navigation__responsive-container-open { color: var(--n-ink); }
.n30-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px 4.5vw; }
.n30-nav .is-menu-open .wp-block-navigation-item > a { font-size: 22px; padding: 10px 0; background: none; }
.n30-nav .is-menu-open .wp-block-navigation-item:last-child > a { background: var(--n-ink); padding: 14px 28px; }

/* ---------- Hero ---------- */
.n30-hero { position: relative; overflow: hidden; background: var(--n-turq); }
.n30-hero::before {
	content: ''; position: absolute; top: -160px; left: -160px; width: 480px; height: 480px;
	border-radius: 50%; background: var(--n-yellow); opacity: .9;
}
.n30-hero::after {
	content: ''; position: absolute; bottom: -200px; right: -100px; width: 520px; height: 520px;
	border-radius: 50%; background: var(--n-coral); opacity: .85;
}
.n30-hero__inner {
	position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 44px;
	padding: 108px 4.5vw 72px; max-width: 1440px; margin: 0 auto; box-sizing: border-box; width: 100%;
}
.n30-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.n30-hero--sub .n30-hero__inner { gap: 36px 48px; padding: 104px 4.5vw 64px; }
.n30-hero--sub .n30-hero__text { flex-basis: 440px; gap: 20px; }
.n30-h1 { font-size: clamp(46px, 6.4vw, 96px); line-height: .98; letter-spacing: -0.035em; font-weight: 800; }
.n30-h1--sub { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.n30-h1 mark { padding: 0 12px; border-radius: 14px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.n30-lead { font-size: 21px; line-height: 1.55; max-width: 560px; }

/* Chips und Etiketten */
.n30-chip {
	align-self: flex-start; width: fit-content; max-width: 100%; font-size: 12px; line-height: 1.3; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.n30-chip--hero { font-size: 14px; letter-spacing: .08em; background: var(--n-white); color: var(--n-ink); padding: 9px 18px; }
.n30-chip--yellow { background: var(--n-yellow); color: var(--n-ink); font-size: 13px; padding: 7px 14px; }
.n30-chip--dark { background: var(--n-ink); color: var(--n-accent); }
.n30-chip--sm { font-size: 11px; padding: 4px 10px; }

/* Buttons */
.n30-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.n30-btns .wp-block-button__link {
	display: inline-block; font-size: 17px; font-weight: 600; padding: 17px 32px; border-radius: 999px; line-height: 1.3; text-decoration: none;
}
.n30-btn-dark .wp-block-button__link { background: var(--n-ink); color: var(--n-white); }
.n30-btn-white .wp-block-button__link { background: var(--n-white); color: var(--n-ink); }
.n30-btn-yellow .wp-block-button__link { background: var(--n-yellow); color: var(--n-ink); font-weight: 700; }
.n30-btn-big .wp-block-button__link { font-size: 18px; padding: 18px 34px; }
.n30-btns .wp-block-button__link:hover { background: var(--n-violet); color: var(--n-white); }
.n30-btn-yellow .wp-block-button__link:hover { background: var(--n-white); color: var(--n-ink); }

/* ---------- Fotos mit Quellenangabe ---------- */
.n30-photo { position: relative; overflow: hidden; }
.n30-photo > .wp-block-image { position: absolute; inset: 0; margin: 0; }
.n30-photo > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n30-credit {
	position: absolute; left: 14px; bottom: 12px; z-index: 3; margin: 0; font-size: 11px; line-height: 1; font-weight: 500;
	color: #fff; background: rgba(14, 19, 48, .72); padding: 5px 8px; border-radius: 6px; width: fit-content; max-width: calc(100% - 28px);
}
.n30-credit a, .n30-credit a:hover { color: #fff; text-underline-offset: 2px; }
.n30-credit--tr { left: auto; right: 12px; bottom: auto; top: 12px; }
.n30-credit--tl { left: 14px; bottom: auto; top: 12px; }
.n30-credit--sm { font-size: 10px; padding: 4px 6px; border-radius: 5px; left: 8px; top: 8px; }
.n30-credit--arch { left: 50%; transform: translateX(-50%); bottom: 14px; white-space: nowrap; }
.n30-bg-yellow { background: var(--n-yellow); }
.n30-bg-coral { background: var(--n-coral); }
.n30-bg-violet { background: var(--n-violet); }
.n30-bg-turq { background: var(--n-turq); }
.n30-bg-white { background: var(--n-white); }
.n30-r24 { border-radius: 24px; }
.n30-ratio-169 { aspect-ratio: 16 / 9; }

/* Collage im Hero */
.n30-collage { flex: 1 1 440px; position: relative; min-height: 560px; min-width: 0; }
.n30-arch {
	position: absolute; top: 0; right: 4%; width: 66%; aspect-ratio: 4 / 5; background: var(--n-white);
	border: 6px solid var(--n-ink); border-radius: 240px 240px 32px 32px; box-sizing: border-box;
}
.n30-tilt {
	position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1 / 1; background: var(--n-white);
	border: 6px solid var(--n-ink); border-radius: 32px; rotate: -4deg; transform: translateZ(70px); box-sizing: border-box; z-index: 2;
}
.n30-tilt .n30-credit { left: 10px; bottom: 10px; }
.n30-award {
	position: absolute; right: 0; bottom: -64px; z-index: 3; background: var(--n-ink); color: var(--n-white);
	border-radius: 18px; padding: 16px 20px; max-width: 230px; rotate: 3deg; transform: translateZ(120px);
}
.n30-award__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n-yellow); }
.n30-award__text { font-size: 16px; font-weight: 600; line-height: 1.35; margin-top: 4px !important; }
.n30-subphoto {
	flex: 0 1 240px; width: 100%; max-width: 240px; margin-left: auto; margin-right: 15%; align-self: flex-end;
	aspect-ratio: 1 / 1; background: var(--n-white); border: 6px solid var(--n-ink); border-radius: 32px;
	transform: rotate(-4deg); box-sizing: border-box;
}

/* ---------- Leitsatz ---------- */
.n30-leitsatz { background: var(--n-yellow); }
.n30-leitsatz__inner {
	padding: 56px 4.5vw; max-width: 1100px; box-sizing: border-box; margin: 0 auto; text-align: center;
	display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.n30-leitsatz__label { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.n30-leitsatz__text { font-family: var(--n-display); font-weight: 800; font-size: clamp(24px, 2.9vw, 42px); line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Abschnitte und Überschriften ---------- */
.n30-section { padding: 72px 4.5vw 20px; max-width: 1440px; margin: 0 auto; box-sizing: border-box; width: 100%; }
.n30-section--refs { padding-top: 72px; }
.n30-section--legal { padding-top: 72px; padding-bottom: 40px; }
.n30-section--contact { padding: 72px 4.5vw 0; }
.n30-section__head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px;
}
.n30-h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.n30-h2--md { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; }
.n30-h2--feature { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; }
.n30-h2--contact { font-size: clamp(38px, 5vw, 76px); line-height: 1; }
.n30-h2--legal { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.n30-h3 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
.n30-h3--lg { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.n30-h3--sm { font-size: 27px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
.n30-h4 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px !important; }
.n30-body { font-size: 18px; line-height: 1.6; }
.n30-body--lg { line-height: 1.65; }
.n30-more { font-weight: 700; font-size: 17px; }
.n30-more a { text-underline-offset: 6px; }

/* ---------- Karten (Themen) ---------- */
.n30-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.n30-card { flex: 1 1 320px; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; }
.n30-card--coral { background: var(--n-coral); }
.n30-card--violet { background: var(--n-violet); color: var(--n-white); }
.n30-card--turq { background: var(--n-turq); }
.n30-card a { color: inherit; text-underline-offset: 3px; }
.n30-card__img { aspect-ratio: 4 / 3; margin: 12px 12px 0; border-radius: 18px; background: var(--n-white); }
.n30-card__cap { margin: 10px 28px 0 !important; font-size: 13px; line-height: 1.4; font-weight: 500; }
.n30-card__body { padding: 16px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.n30-card__text { font-size: 17px; line-height: 1.6; }
.n30-card--coral .n30-chip--dark, .n30-card--turq .n30-chip--dark { --n-accent: var(--n-yellow); }

/* ---------- Fotostreifen ---------- */
.n30-stripsection { padding: 72px 0 20px; }
.n30-strip__head { padding: 0 4.5vw; max-width: 1440px; box-sizing: border-box; margin: 0 auto 24px; width: 100%; }
.n30-strip { display: flex; flex-wrap: wrap; gap: 20px; padding: 0 4.5vw; max-width: 1440px; box-sizing: border-box; margin: 0 auto; align-items: flex-start; }
.n30-strip__item { flex: 1 1 220px; aspect-ratio: 3 / 4; border-radius: 28px; }
.n30-strip__item--offset { margin-top: 32px; }

/* ---------- Grosse Bloecke ---------- */
.n30-block { border-radius: 36px; box-sizing: border-box; }
.n30-block--ink { background: var(--n-ink); color: var(--n-white); padding: 44px 44px; display: flex; flex-direction: column; gap: 32px; }
.n30-block--ink a { color: var(--n-white); text-underline-offset: 4px; }
.n30-block--ink a:hover { color: var(--n-yellow); }
.n30-block--ink .wp-block-button__link { color: var(--n-ink); }
.n30-block--ink .wp-block-button__link:hover { color: var(--n-white); }
.n30-modhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.n30-modhead__left { display: flex; flex-direction: column; gap: 14px; }
.n30-modhead__sub { font-family: var(--n-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; max-width: 420px; color: var(--n-sky); }
.n30-split { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.n30-split__col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.n30-split__col > .n30-photo { flex: none; }
.n30-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.n30-pill { font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 999px; color: var(--n-ink); line-height: 1.3; }
.n30-ref { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid #3A4170; }
.n30-ref--last { border-bottom: 1px solid #3A4170; }
.n30-ref__year { flex: 0 0 72px; font-family: var(--n-display); font-weight: 800; font-size: 22px; color: var(--n-yellow); }
.n30-ref__info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; }
.n30-ref__title { font-family: var(--n-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: 1.2; }
.n30-ref__sub { font-size: 16px; color: var(--n-sky); }

.n30-block--yellow { background: var(--n-yellow); color: var(--n-ink); }
.n30-block--teaser { margin-top: 28px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.n30-teaser__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.n30-teaser__img { flex: 1 1 380px; min-width: 0; aspect-ratio: 3 / 2; }

.n30-block--turq { background: var(--n-turq); }
.n30-block--video { padding: 40px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.n30-video__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.n30-video__media { flex: 1.5 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.n30-video__main { position: relative; aspect-ratio: 16 / 9; background: var(--n-ink); border-radius: 28px; overflow: hidden; }
.n30-video__main > .wp-block-image, .n30-tile > .wp-block-image, .n30-reel > .wp-block-image { position: absolute; inset: 0; margin: 0; }
.n30-video__main img, .n30-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n30-playbtn {
	position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 72px; height: 72px; border-radius: 50%; background: var(--n-yellow);
	margin: 0; display: flex; align-items: center; justify-content: center;
}
.n30-playbtn a { position: absolute; inset: 0; font-size: 0; display: block; border-radius: 50%; }
.n30-playbtn::before {
	content: ''; width: 28px; height: 32px; background: var(--n-ink); margin-left: 6px;
	clip-path: polygon(15% 0, 100% 50%, 15% 100%);
}
.n30-vlabel {
	position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 13px; font-weight: 600; line-height: 1.25;
	background: var(--n-white); color: var(--n-ink); padding: 6px 10px; border-radius: 8px; width: fit-content; max-width: 60%;
}
.n30-tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.n30-tile { position: relative; flex: 1 1 200px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; padding: 12px; box-sizing: border-box; }
.n30-tile--broken { background: var(--n-yellow); }
.n30-tile--reel { background: var(--n-coral); justify-content: flex-start; }
.n30-vlabel--link { position: relative; left: 0; bottom: 0; z-index: 2; max-width: 80%; }
.n30-vlabel--link a { color: var(--n-ink); text-decoration: none; }
.n30-vlabel--link a::after { content: ''; position: absolute; inset: -400px; z-index: 4; }
.n30-tile { isolation: isolate; }
.n30-reel { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; height: 100%; overflow: hidden; }
.n30-tile--reel .n30-vlabel--reel { align-self: flex-end; max-width: 28%; }
.n30-playdot {
	position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--n-yellow);
	font-size: 0; display: flex; align-items: center; justify-content: center; margin: 0;
}
.n30-playdot::before { content: ''; width: 14px; height: 16px; background: var(--n-ink); margin-left: 3px; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }

/* ---------- Artikel ---------- */
.n30-articles { display: flex; flex-wrap: wrap; gap: 20px; }
.n30-article { position: relative; flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.n30-article__img { aspect-ratio: 4 / 3; border-radius: 28px; display: flex; align-items: flex-end; padding: 18px; box-sizing: border-box; }
.n30-tag { position: relative; z-index: 2; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; width: fit-content; line-height: 1.3; }
.n30-tag--dark { background: var(--n-ink); color: var(--n-white); }
.n30-tag--yellow { background: var(--n-yellow); color: var(--n-ink); }
.n30-article .n30-h3 a { text-decoration: none; }
.n30-article .n30-h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.n30-article:hover .n30-h3 a { text-decoration: underline; text-underline-offset: 4px; }
.n30-article__text { font-size: 16px; line-height: 1.55; color: var(--n-muted); }

/* ---------- Ueber mich ---------- */
.n30-block--about { padding: 36px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.n30-about__photo { flex: 1 1 360px; min-width: 0; aspect-ratio: 4 / 5; max-height: 640px; background: var(--n-white); border: 6px solid var(--n-ink); border-radius: 28px; box-sizing: border-box; }
.n30-about__text { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.n30-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 17px; font-weight: 500; }
.n30-bullets li { display: flex; gap: 12px; align-items: baseline; margin: 0; padding: 0; }
.n30-bullets li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--n-ink); flex: none; }

/* ---------- Stimme ---------- */
.n30-voice { padding: 72px 4.5vw 24px; max-width: 1100px; box-sizing: border-box; margin: 0 auto; width: 100%; }
.n30-quote { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; border: 0; padding: 0; margin: 0; }
.n30-quote::before {
	content: '\201C'; width: 96px; height: 96px; border-radius: 50%; background: var(--n-coral); border: 5px solid var(--n-ink);
	display: flex; align-items: center; justify-content: center; font-family: var(--n-display); font-weight: 800; font-size: 56px;
	line-height: 1; padding-top: 14px; box-sizing: border-box;
}
.n30-quote p { font-family: var(--n-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.02em; }
.n30-quote cite { font-style: normal; font-size: 16px; font-weight: 600; }

/* ---------- Kontakt ---------- */
.n30-block--violet { background: var(--n-violet); color: var(--n-white); }
.n30-block--contact { padding: 44px 44px; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.n30-block--contact::before { content: ''; position: absolute; right: -80px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: var(--n-coral); opacity: .9; }
.n30-contact__text, .n30-contact__action { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.n30-contact__text { flex: 1 1 420px; }
.n30-contact__action { gap: 14px; align-items: flex-start; }
.n30-h2--contact mark { background: none; }
.n30-body--contact { font-size: 19px; line-height: 1.55; max-width: 520px; }
.n30-contact__note { font-size: 15px; }
.n30-block--violet a { color: inherit; }

/* ---------- Referenzbloecke (Unterseite) ---------- */
.n30-refs { display: flex; flex-direction: column; }
.n30-refs > .n30-h2 { margin-bottom: 28px !important; }
.n30-block--ref { padding: 40px; display: flex; flex-direction: column; gap: 26px; color: var(--n-ink); }
.n30-refs > .n30-block--ref { margin-top: 28px; }
.n30-refs > .n30-block--ref:first-of-type { margin-top: 0; }
.n30-block--turq.n30-block--ref { background: var(--n-turq); }
.n30-block--green { background: var(--n-green); }
.n30-block--turq .n30-chip--dark { --n-accent: var(--n-turq); }
.n30-block--green .n30-chip--dark { --n-accent: var(--n-green); }
.n30-block--yellow .n30-chip--dark { --n-accent: var(--n-yellow); }
.n30-ref__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.n30-ref__head a { text-underline-offset: 6px; }
.n30-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.n30-grid__wide { flex: 1 1 100%; aspect-ratio: 16 / 7; }
.n30-grid__tile { flex: 1 1 200px; aspect-ratio: 4 / 3; }
.n30-block--yellow .n30-grid__tile { flex-basis: 260px; }
.n30-infos { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.n30-infocard { flex: 1 1 380px; min-width: 0; background: var(--n-white); border-radius: 24px; padding: 26px; box-sizing: border-box; }
.n30-infolist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; }
.n30-infolist li { margin: 0; padding: 0; }
.n30-winner { background: var(--n-yellow); border-radius: 14px; padding: 12px 14px; margin: 0 -6px 14px !important; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.45; }
.n30-winner .n30-chip { align-self: flex-start; }

/* ---------- Rechtliches ---------- */
.n30-legal { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.n30-legal__section { display: flex; flex-direction: column; gap: 12px; }
.n30-legal__text { font-size: 17px; line-height: 1.65; }

/* ---------- Fusszeile ---------- */
.n30-footer {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
	padding: 32px 4.5vw 36px; max-width: 1440px; margin: 0 auto; box-sizing: border-box; width: 100%; font-size: 15px; color: var(--n-muted);
}
.n30-footer a { text-decoration: none; color: inherit; }
.n30-footer a:hover { color: var(--n-violet); text-decoration: underline; }
.n30-footer .wp-block-navigation { font-size: 15px; gap: 8px 24px; }
.n30-footer .wp-block-navigation__container { gap: 8px 24px; }

/* ---------- 404 ---------- */
.n30-hero--error .n30-hero__inner { padding-bottom: 120px; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 782px) {
	.n30-hero__inner { padding-top: 104px; padding-bottom: 72px; gap: 40px; }
	.n30-collage { min-height: 540px; transform: none; transition: none; }
	.n30-tilt { bottom: 130px; width: 46%; }
	.n30-award { bottom: 0; right: 0; max-width: 240px; rotate: 2deg; transform: translateZ(60px); }
	.n30-subphoto { margin-right: auto; }
	.n30-block--ink, .n30-block--ref, .n30-block--video { padding: 32px 22px; }
	.n30-block--contact { padding: 40px 24px; }
	.n30-block--about, .n30-block--teaser { padding: 24px; gap: 28px; }
	.n30-infocard { padding: 24px; }
	.n30-strip__item--offset { margin-top: 0; }
	.n30-vlabel { max-width: 75%; }
	.n30-credit--arch { left: 60%; bottom: 12px; }
}

/* ---------- Parallaxe: dekorative Kreise im Hero (nur CSS, dezent) ----------
   Greift nur, wenn der Browser scrollgesteuerte Animationen kann und die Besucherin
   keine reduzierte Bewegung eingestellt hat. Sonst bleibt alles ruhig stehen. */
@keyframes n30-par-slow { from { translate: 0 0; scale: 1; } to { translate: 120px 480px; scale: 1.6; } }
@keyframes n30-par-fast { from { translate: 0 0; scale: 1; } to { translate: -90px -380px; scale: 1.45; } }
@keyframes n30-par-photo-up { from { translate: 0 0; } to { translate: 0 -90px; } }
@keyframes n30-par-photo-down { from { translate: 0 0; } to { translate: 0 110px; } }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.n30-hero::before {
			animation: n30-par-slow linear both; animation-timeline: scroll(root block); animation-range: 0 100vh;
		}
		.n30-hero .n30-arch {
			animation: n30-par-photo-up linear both; animation-timeline: scroll(root block); animation-range: 0 100vh;
		}
		.n30-hero .n30-tilt {
			animation: n30-par-photo-down linear both; animation-timeline: scroll(root block); animation-range: 0 100vh;
		}
		.n30-hero::after {
			animation: n30-par-fast linear both; animation-timeline: scroll(root block); animation-range: 0 100vh;
		}
	}
}

/* Parallaxe-Fallback (JavaScript setzt --n30-p von 0 bis 1), z. B. für Firefox */
html.n30-js-par .n30-hero::before { translate: calc(var(--n30-p, 0) * 120px) calc(var(--n30-p, 0) * 480px); scale: calc(1 + var(--n30-p, 0) * .6); will-change: translate, scale; }
html.n30-js-par .n30-hero::after { translate: calc(var(--n30-p, 0) * -90px) calc(var(--n30-p, 0) * -380px); scale: calc(1 + var(--n30-p, 0) * .45); will-change: translate, scale; }
html.n30-js-par .n30-hero .n30-arch { translate: 0 calc(var(--n30-p, 0) * -90px); will-change: translate; }
html.n30-js-par .n30-hero .n30-tilt { translate: 0 calc(var(--n30-p, 0) * 110px); will-change: translate; }

/* ---------- Fließender Farbverlauf im Hero ---------- */
@property --n30-x1 { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@property --n30-y1 { syntax: '<percentage>'; inherits: false; initial-value: 25%; }
@property --n30-x2 { syntax: '<percentage>'; inherits: false; initial-value: 88%; }
@property --n30-y2 { syntax: '<percentage>'; inherits: false; initial-value: 20%; }
@property --n30-x3 { syntax: '<percentage>'; inherits: false; initial-value: 55%; }
@property --n30-y3 { syntax: '<percentage>'; inherits: false; initial-value: 95%; }
.n30-hero {
	background-color: var(--n-turq);
	background-image:
		radial-gradient(52% 60% at var(--n30-x1) var(--n30-y1), rgba(143, 227, 136, .95), rgba(143, 227, 136, 0) 70%),
		radial-gradient(44% 55% at var(--n30-x2) var(--n30-y2), rgba(213, 219, 240, .85), rgba(213, 219, 240, 0) 70%),
		radial-gradient(40% 50% at var(--n30-x3) var(--n30-y3), rgba(90, 69, 240, .35), rgba(90, 69, 240, 0) 70%);
}
@keyframes n30-flow {
	0%   { --n30-x1: 12%; --n30-y1: 25%; --n30-x2: 88%; --n30-y2: 20%; --n30-x3: 55%; --n30-y3: 95%; }
	33%  { --n30-x1: 40%; --n30-y1: 70%; --n30-x2: 60%; --n30-y2: 15%; --n30-x3: 15%; --n30-y3: 60%; }
	66%  { --n30-x1: 75%; --n30-y1: 35%; --n30-x2: 25%; --n30-y2: 80%; --n30-x3: 85%; --n30-y3: 70%; }
	100% { --n30-x1: 25%; --n30-y1: 10%; --n30-x2: 70%; --n30-y2: 75%; --n30-x3: 40%; --n30-y3: 30%; }
}
@media (prefers-reduced-motion: no-preference) {
	.n30-hero { animation: n30-flow 22s ease-in-out infinite alternate; }
}

/* ---------- Leichtes 3D im Hero: Collage neigt sich der Maus entgegen (tilt.js setzt --n30-rx / --n30-ry) ---------- */
.n30-collage {
	transform-style: preserve-3d;
	transform: perspective(1100px) rotateX(var(--n30-ry, 0deg)) rotateY(var(--n30-rx, 0deg));
	transition: transform .25s ease-out;
}
.n30-arch { transform: translateZ(10px); }

/* ---------- Auftritt beim Laden (Hero): scharf einblenden, Zeile für Zeile ---------- */
@keyframes n30-blurin {
	from { opacity: 0; scale: .95; filter: blur(8px); translate: 0 22px; }
	to { opacity: 1; scale: 1; filter: none; translate: 0 0; }
}
@keyframes n30-pop { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes n30-appear { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
	/* Überschrift bleibt unsichtbar, bis motion.js sie in Zeilen geteilt hat. Ohne Skript erscheint sie nach 0,6 s von selbst. */
	.n30-hero__text > .n30-h1:not(.is-split) { opacity: 0; animation: n30-appear .01s linear .6s forwards; }
	.n30-hero__text > .n30-h1 .n30-line { display: block; animation: n30-blurin 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.15s + var(--n30-i, 0) * .3s); }
	.n30-hero__text > *:not(.n30-h1) { animation: n30-blurin 1s cubic-bezier(.2, .8, .2, 1) both; }
	.n30-hero__text > *:nth-child(1) { animation-delay: 0s; }
	.n30-hero__text > .n30-lead { animation-delay: 1.15s; }
	.n30-hero__text > .n30-btns { animation-delay: 1.4s; }
	.n30-collage { animation: n30-pop 1.1s cubic-bezier(.2, .8, .2, 1) .5s both; }
}

/* ---------- Einblenden beim Scrollen (motion.js setzt .n30-fx am <html> und .n30-reveal an den Elementen) ---------- */
.n30-fx .n30-reveal:not(.is-in) { opacity: 0; translate: 0 56px; }
.n30-fx .n30-reveal.n30-reveal--tilt:not(.is-in) { translate: 0 70px; rotate: 3deg; }
.n30-fx .n30-reveal {
	transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1), rotate .9s cubic-bezier(.2, .8, .2, 1);
	transition-delay: var(--n30-d, 0ms);
}

/* ---------- Farbwechsel des Seitenhintergrunds beim Scrollen ---------- */
.n30-fx body { transition: background-color 1s ease; }
.n30-fx body[data-n30-tint="sky"]    { background-color: #DDE4FB; }
.n30-fx body[data-n30-tint="mint"]   { background-color: #C8F3EA; }
.n30-fx body[data-n30-tint="peach"]  { background-color: #FFD9D0; }
.n30-fx body[data-n30-tint="butter"] { background-color: #FFEFA6; }

/* ---------- Hover-Effekte (nur mit Maus, nicht bei "Bewegung reduzieren") ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.n30-btns .wp-block-button__link { transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s, box-shadow .25s; }
	.n30-btns .wp-block-button__link:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 28px rgba(14, 19, 48, .22); }

	.n30-nav .wp-block-navigation-item > a { transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s; }
	.n30-nav .wp-block-navigation-item:not(:last-child) > a:hover { background: var(--n-white); transform: translateY(-2px) rotate(-1.5deg); }
	.n30-nav .wp-block-navigation-item:last-child > a:hover { transform: translateY(-2px) scale(1.05); }
	.n30-logo { transition: transform .3s cubic-bezier(.2, .8, .2, 1); transform-origin: left center; }
	.n30-logo:hover { transform: rotate(-2deg) scale(1.04); }

	.n30-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
	.n30-card:hover { transform: translateY(-10px); box-shadow: 0 28px 48px rgba(14, 19, 48, .24); }
	.n30-photo > .wp-block-image img { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
	.n30-card:hover .n30-photo > .wp-block-image img,
	.n30-strip__item:hover > .wp-block-image img,
	.n30-article:hover .n30-photo > .wp-block-image img,
	.n30-tile:hover .n30-photo > .wp-block-image img,
	.n30-grid__tile:hover > .wp-block-image img { transform: scale(1.08); }

	.n30-strip__item { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
	.n30-strip__item:hover { transform: translateY(-10px) rotate(-2deg) scale(1.03); box-shadow: 0 28px 48px rgba(14, 19, 48, .24); z-index: 2; }

	.n30-article__img { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
	.n30-article:hover .n30-article__img { transform: translateY(-8px); box-shadow: 0 24px 40px rgba(14, 19, 48, .22); }
	.n30-article:hover .n30-h3 a { color: var(--n-violet); }

	.n30-pill { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
	.n30-pill:hover { transform: translateY(-3px) rotate(-3deg) scale(1.08); }
	.n30-chip { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
	.n30-chip:hover { transform: rotate(-2deg) scale(1.05); }

	.n30-infocard, .n30-tile, .n30-grid__tile { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
	.n30-infocard:hover, .n30-tile:hover, .n30-grid__tile:hover { transform: translateY(-6px); box-shadow: 0 20px 36px rgba(14, 19, 48, .2); }

	.n30-ref { transition: background-color .3s, padding-left .3s cubic-bezier(.2, .8, .2, 1); }
	.n30-ref:hover { background: rgba(255, 255, 255, .06); padding-left: 14px; }

	.n30-playbtn, .n30-playdot { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
	.n30-video__main:hover .n30-playbtn, .n30-tile:hover .n30-playdot { transform: scale(1.15); }

	.n30-award { transition: rotate .3s cubic-bezier(.2, .8, .2, 1), scale .3s cubic-bezier(.2, .8, .2, 1); }
	.n30-award:hover { rotate: 0deg; scale: 1.06; }
	.n30-tilt { transition: rotate .35s cubic-bezier(.2, .8, .2, 1), scale .35s cubic-bezier(.2, .8, .2, 1); }
	.n30-tilt:hover { rotate: 0deg; scale: 1.05; }
	.n30-arch { transition: scale .35s cubic-bezier(.2, .8, .2, 1); }
	.n30-arch:hover { scale: 1.03; }
}

/* ---------- Scrollytelling "Ich will's genau wissen!" ----------
   Grundzustand (Editor, ohne JavaScript, bei "Bewegung reduzieren"): alles untereinander, alles sichtbar und bearbeitbar.
   Mit motion.js (html.n30-fx): Der Bildrahmen bleibt stehen, die Kapitel scrollen vorbei, das Bild wechselt mit. */
.n30-story { padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.n30-story__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.n30-story__inner { display: flex; flex-wrap: wrap; gap: 32px 44px; align-items: flex-start; }
.n30-story__stage { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.n30-story__layer {
	position: relative; box-sizing: border-box; overflow: hidden; border: 6px solid var(--n-ink); border-radius: 28px;
	aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px;
}
.n30-story__layer.n30-photo { padding: 0; }
.n30-story__layer--light { color: var(--n-white); }
.n30-story__big { font-size: clamp(48px, 6vw, 96px); line-height: .95; letter-spacing: -0.035em; font-weight: 800; }
.n30-story__sub { font-size: 18px; font-weight: 600; line-height: 1.35; max-width: 340px; }
.n30-story__steps { flex: 1.1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.n30-story__step { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.n30-fx .n30-story__stage {
	display: block; position: sticky; top: max(20px, calc(50vh - 320px)); height: min(72vh, 640px); flex: 0 0 42%;
}
.n30-fx .n30-story__layer {
	position: absolute; inset: 0; aspect-ratio: auto; opacity: 0; scale: .93; rotate: 2.5deg; pointer-events: none;
	transition: opacity .6s ease, scale .8s cubic-bezier(.2, .8, .2, 1), rotate .8s cubic-bezier(.2, .8, .2, 1);
}
.n30-fx .n30-story__layer.is-active { opacity: 1; scale: 1; rotate: 0deg; pointer-events: auto; }
.n30-fx .n30-story__steps { gap: 0; }
.n30-fx .n30-story__step { min-height: 64vh; justify-content: center; opacity: .25; transition: opacity .5s ease; }
.n30-fx .n30-story__step.is-active { opacity: 1; }
.n30-fx .n30-story__step:last-child { min-height: 54vh; }

@media (max-width: 899px) {
	.n30-story { padding: 28px 22px; }
	.n30-fx .n30-story__inner { flex-wrap: wrap; }
	.n30-fx .n30-story__stage { flex: 1 1 100%; top: 10px; z-index: 3; height: 34vh; }
	.n30-fx .n30-story__step { min-height: 62vh; }
	.n30-fx .n30-story__steps { flex: 1 1 100%; }
}

/* ---------- Lichtstreifen über Karten- und Artikelbildern (links nach rechts) ---------- */
@keyframes n30-shine { from { translate: -130% 0; } to { translate: 130% 0; } }
.n30-card__img::after, .n30-article__img::after {
	content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; translate: -130% 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 62%);
}
@media (prefers-reduced-motion: no-preference) {
	.n30-reveal.is-in .n30-card__img::after, .n30-reveal.is-in .n30-article__img::after {
		animation: n30-shine 3s ease-in-out calc(.45s + var(--n30-d, 0ms)) 1 both;
	}
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.n30-card:hover .n30-card__img::after, .n30-article:hover .n30-article__img::after { animation: n30-shine 3s ease-in-out 1; }
}

/* ---------- "Ich will's genau wissen!": Buchstaben steigen scharf herein, Bildfenster wächst beim Scrollen ---------- */
.n30-letters .n30-word { display: inline-block; white-space: nowrap; }
.n30-letters .n30-ch {
	display: inline-block; opacity: 0; translate: 0 .55em; filter: blur(4px);
	transition: opacity .7s ease, translate .95s cubic-bezier(.2, .8, .2, 1), filter .7s ease;
	transition-delay: calc(var(--n30-c, 0) * 40ms);
}
.n30-letters.is-in .n30-ch { opacity: 1; translate: 0 0; filter: blur(0); }
.n30-fx .n30-story__stage { scale: calc(.78 + .22 * var(--n30-grow, 1)); transform-origin: 50% 0; }
.n30-fx .n30-story__layer { border-radius: calc(28px + (1 - var(--n30-grow, 1)) * 56px); }

/* Foto-Ausschnitt-Hilfen: im Editor unter "Zusätzliche CSS-Klasse(n)" eintragen */
.n30-focus-top img { object-position: 50% 0% !important; }
.n30-focus-center img { object-position: 50% 50% !important; }
.n30-focus-bottom img { object-position: 50% 100% !important; }
.n30-focus-left img { object-position: 0% 50% !important; }
.n30-focus-right img { object-position: 100% 50% !important; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Automatisch erzeugte Bildausschnitte der Startvorlagen ---------- */
.n30-pos-35-50 img{object-position:35% 50%}
.n30-pos-38-40 img{object-position:38% 40%}
.n30-pos-40-50 img{object-position:40% 50%}
.n30-pos-45-35 img{object-position:45% 35%}
.n30-pos-45-40 img{object-position:45% 40%}
.n30-pos-50-3 img{object-position:50% 3%}
.n30-pos-50-10 img{object-position:50% 10%}
.n30-pos-50-12 img{object-position:50% 12%}
.n30-pos-50-20 img{object-position:50% 20%}
.n30-pos-50-25 img{object-position:50% 25%}
.n30-pos-50-30 img{object-position:50% 30%}
.n30-pos-50-35 img{object-position:50% 35%}
.n30-pos-50-40 img{object-position:50% 40%}
.n30-pos-50-45 img{object-position:50% 45%}
.n30-pos-50-50 img{object-position:50% 50%}
.n30-pos-60-40 img{object-position:60% 40%}
.n30-pos-62-50 img{object-position:62% 50%}
.n30-pos-65-50 img{object-position:65% 50%}
.n30-pos-66-50 img{object-position:66% 50%}
.n30-pos-78-40 img{object-position:78% 40%}
