/* Wonder We Want – Layout und Typografie nach dem Website-Entwurf (Keynote 2026).
   Webfonts: WOFF2-Dateien aus der Web-Lizenz in assets/fonts/ ablegen (Dateinamen siehe unten). */

@font-face {
	font-family: "WWW Druk";
	/* Commercial Type Web-Lizenz 2610-DOBDAR (Druk Condensed Super/Super Italic, 15K Besucher/Monat, 1 Domain), Copyright Schwartzco Inc. */
	src: url("../fonts/DrukCondensed-Super-Web.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "WWW Druk";
	src: url("../fonts/DrukCondensed-SuperItalic-Web.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "WWW Radiant";
	/* MyFonts-Webfont RadiantRR-BoldCondensed, Build ID 3780710 – Lizenz: https://www.myfonts.com/viewlicense?type=web&buildid=3780710 */
	src: url("../fonts/RadiantRR-BoldCondensed.woff2") format("woff2"), url("../fonts/RadiantRR-BoldCondensed.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--www-druk: "WWW Druk", "Druk Cond", "Oswald", Impact, sans-serif;
	--www-radiant: "WWW Radiant", "Radiant Bold Condensed", "Bodoni Moda", serif;
	--www-black: #000;
	--www-white: #fff;
	--www-grey: #8a8a8a;
	--www-hover: #77a98a; /* Mouseover-Farbe: Salbeigrün aus dem Website-Entwurf (Keynote, Clients-Liste), seit 0.4.14 */

	--www-size-logo: clamp(1.75rem, 4.6vw, 5.75rem);
	--www-size-label: clamp(0.7rem, 0.85vw, 1rem);
	--www-size-menu: clamp(0.95rem, 1.15vw, 1.3rem); /* Menü am Desktop größer als die Labels, seit 0.4.47 */
	--www-size-list: clamp(1.1rem, 2.1vw, 2.6rem);
	--www-size-text: clamp(1.4rem, 3.3vw, 4rem);
	--www-size-hero: clamp(2.6rem, 4.8vw, 6rem);
	--www-size-display: clamp(3.2rem, 9.9vw, 12.5rem);

	--www-rail: 20vw;
	--www-gutter: 6vw;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-synthesis: none;
	background: var(--www-white);
	color: var(--www-black);
	font-family: var(--www-druk);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }

/* WordPress-eigene Abstände neutralisieren, das Layout steuern die Klassen unten. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.www-main :where(.wp-block-group, .wp-block-columns, .wp-block-heading, p, figure) { margin-block: 0; }

/* ---------- Header: WONDER · WE · WANT ---------- */

.www-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--www-white);
}

.www-logo {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding-top: 1.4vw;
	font-family: var(--www-druk);
	font-size: var(--www-size-logo);
	line-height: 0.86;
	text-transform: uppercase;
}

.www-logo p { margin: 0; }
.www-logo .www-logo-we { position: absolute; left: 74.8%; top: 1.4vw; }

/* ---------- Seitenleiste mit Menü ---------- */

.www-rail {
	position: fixed;
	z-index: 40;
	top: calc(var(--www-size-logo) + 4.2vw);
	left: 5.4vw;
	width: 12vw;
}

.www-menu-toggle {
	display: block;
	width: 26px;
	height: 18px;
	padding: 0;
	border: 0;
	background:
		linear-gradient(var(--www-grey), var(--www-grey)) top / 100% 2px no-repeat,
		linear-gradient(var(--www-grey), var(--www-grey)) center / 100% 2px no-repeat,
		linear-gradient(var(--www-grey), var(--www-grey)) bottom / 100% 2px no-repeat;
	cursor: pointer;
}

.www-menu {
	display: none;
	margin-top: 1.2vw;
	font-family: var(--www-radiant);
	font-size: var(--www-size-menu);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.www-menu-open .www-menu,
.www-menu-pinned .www-menu { display: block; }

.www-menu ul { list-style: none; margin: 0; padding: 0; }
.www-menu li { line-height: 2.15; }
.www-menu ul + ul { margin-top: 1.6em; }
.www-menu .current-menu-item a,
.www-menu a[aria-current="page"], .www-menu a[aria-current="location"] { text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- Inhalt ---------- */

.www-main {
	padding: 2vw var(--www-gutter) 7vw var(--www-rail);
	min-height: 70vh;
}

.www-section + .www-section { margin-top: 9vw; }

.www-label {
	margin-bottom: 2.2vw !important;
	font-family: var(--www-radiant);
	font-size: var(--www-size-label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.www-display {
	font-family: var(--www-radiant);
	font-size: var(--www-size-display);
	font-weight: 400;
	line-height: 0.82;
	text-transform: uppercase;
}

.www-text {
	font-family: var(--www-druk);
	font-size: var(--www-size-text);
	line-height: 1.2;
}

.www-text em { font-style: italic; }

/* Zweispaltiger Fließtext unter einer Display-Headline */
.www-lead.wp-block-columns {
	display: flex;
	flex-wrap: nowrap;
	gap: 2.4vw;
	margin-top: 3vw !important;
}
.www-lead > .wp-block-column { flex: 0 0 auto; width: 16.5vw; }

/* ---------- Startseite / Hero ---------- */

.www-hero {
	min-height: calc(100vh - var(--www-size-logo) - 6vw);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 4vw;
}

.www-hero .wp-block-columns { display: flex; flex-wrap: nowrap; gap: 0; }
.www-hero .wp-block-column { flex: 0 0 auto; }
.www-hero .wp-block-column:nth-child(1) { width: 22.2vw; }
.www-hero .wp-block-column:nth-child(2) { width: 15vw; }
/* Wie Keynote 220322 Folie 1 (seit 0.4.29): Block etwas unterhalb der Mitte, dritte Spalte („Are / you / in?“)
   mit kleinem Abstand direkt neben der mittleren, Zeile „Influencer Relations …“ etwas größer. */
@media (min-width: 801px) {
	.www-hero .www-hero-columns { margin-top: 20.5vh; }
	/* WordPress setzt bei Spalten flex-basis/flex-grow – daher !important. */
	.www-hero .wp-block-column:nth-child(1) { flex: 0 0 22vw !important; }
	.www-hero .wp-block-column:nth-child(2) { flex: 0 0 auto !important; width: max-content !important; min-width: 0 !important; margin-right: 3.3vw; }
	.www-hero .wp-block-column:nth-child(2) > p { width: auto !important; }
	.www-hero .wp-block-column:nth-child(3) { flex: 0 0 auto !important; }
	.www-hero .www-tag { font-size: 1.05vw; }
}

.www-hero p {
	font-family: var(--www-druk);
	font-size: var(--www-size-hero);
	line-height: 1.04;
}

.www-hero .www-tag {
	margin-top: 2.6vw;
	font-family: var(--www-radiant);
	font-size: var(--www-size-label);
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* ---------- Bild + Liste (Services) ---------- */

.www-split.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 6.8vw; align-items: flex-start; }
.www-split > .wp-block-column:first-child { flex: 0 0 30vw; }
.www-split .www-photo { margin-top: 0 !important; } /* 0.4.41: Bild bündig mit Text */

.www-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--www-druk);
	font-size: var(--www-size-list);
	line-height: 1.12;
	text-transform: uppercase;
}

/* ---------- Bildreihen ---------- */

.www-photo { margin-top: 3vw !important; }
.www-photo img { width: 100%; }
.www-photo--how { width: 35vw; margin-left: 20.5vw; }
.www-photo--philosophy { width: 38vw; margin-left: 21vw; }

.www-photos.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 0.8vw; align-items: flex-end; margin-top: 3vw !important; }
.www-photos > .wp-block-column:first-child { flex: 0 0 19vw; }
.www-photos > .wp-block-column:last-child { flex: 0 0 34vw; }
.www-photos--stack .www-photo + .www-photo { margin-top: 0.8vw !important; } /* 0.4.41: Bilder übereinander im Showroom */

.www-indent { padding-left: 10vw; }

/* ---------- Cases ---------- */

.www-case {
	position: relative;
	display: grid;
	grid-template-columns: 24vw 38.5vw;
	grid-template-rows: auto auto 1fr;
}

.www-case + .www-case { margin-top: 9vw; }

.www-case .www-case-title {
	grid-column: 1 / 3;
	grid-row: 1;
	position: relative;
	z-index: 2;
	font-family: var(--www-radiant);
	font-size: clamp(2.6rem, 7.3vw, 9.5rem);
	font-weight: 400;
	line-height: 0.82;
	text-transform: uppercase;
}

.www-case .www-case-text {
	grid-column: 1 / 3;
	grid-row: 2;
	position: relative;
	z-index: 2;
	margin-top: 2.2vw !important;
	font-family: var(--www-druk);
	font-size: clamp(1.15rem, 2.7vw, 3.4rem);
	line-height: 1.08;
}

.www-case .www-case-image {
	grid-column: 2;
	grid-row: 1 / 4;
	margin-top: 5.8vw !important;
	z-index: 1;
}
.www-case .www-case-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.www-case--portrait .www-case-image { width: 19vw; margin-left: 8vw; }
.www-case--portrait .www-case-image img { aspect-ratio: auto; }

/* ---------- Clients ---------- */

.www-clients.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 1.6vw; align-items: flex-start; }
.www-clients > .wp-block-column { flex: 0 0 auto; }

/* Größer und etwas gesperrt, damit Druk in der Liste lesbar bleibt (seit 0.4.15, Maße wie im Entwurf). */
.www-clients .www-list { font-size: clamp(1rem, 1.5vw, 1.95rem); line-height: 1.38; letter-spacing: 0.03em; }
.www-clients .www-display { font-size: clamp(2.4rem, 5.6vw, 7rem); line-height: 0.86; }
/* Liste nicht breiter als der Rest der Seite (rechter Rand ca. 85vw, seit 0.4.17). */
@media (min-width: 801px) {
	.www-clients.wp-block-columns { max-width: 70vw; } /* 0.4.44: 70vw statt 65vw, damit die größere Headline Platz hat */
	.www-clients > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
	.www-clients > .wp-block-column:has(.www-display) { flex: 0 0 auto !important; order: 4; } /* 0.4.58: Headline steht im HTML zuerst (fürs Handy), am Desktop an 4. Stelle */
	.www-clients > .wp-block-column:nth-child(1 of :not(:has(.www-display))) { order: 1; }
	.www-clients > .wp-block-column:nth-child(2 of :not(:has(.www-display))) { order: 2; }
	.www-clients > .wp-block-column:nth-child(3 of :not(:has(.www-display))) { order: 3; }
	.www-clients > .wp-block-column:nth-child(4 of :not(:has(.www-display))) { order: 5; }
	/* Headline oben bündig mit der ersten Kund:innen-Zeile, unten 3 Listenzeilen länger (seit 0.4.24):
	   5 Headline-Zeilen = 15 Listenzeilen. */
	/* 0.4.44: wie Webflow-Entwurf – größer und luftiger, 1 Headline-Zeile = 3,33 Listenzeilen (6 Zeilen = 20 Listenzeilen); vorher Faktor 2.5 bei Zeilenhöhe 0.86 */
	.www-clients .www-display { font-size: calc(clamp(1rem, 1.5vw, 1.95rem) * 1.38 * 3.33); line-height: 1; white-space: nowrap; }
}

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

.www-contact.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 3.5vw; align-items: flex-end; }
.www-contact > .wp-block-column { flex: 0 0 auto; }
.www-contact .www-display { font-size: clamp(3rem, 10vw, 12.5rem); line-height: 0.88; }
.www-contact .www-small,
.www-small { font-family: var(--www-druk); font-size: clamp(1rem, 1.9vw, 2.3rem); line-height: 1.25; }
.www-contact .www-photo { width: 15vw; margin-top: 0 !important; }
/* Wie im Entwurf (seit 0.4.16): Adresse unten bündig mit der Headline, „Founded by“ auf Höhe der ersten
   Adresszeile, Bild etwas höher. WordPress setzt bei Spalten align-items: normal !important – daher !important. */
.www-contact.wp-block-columns { --www-contact-line: calc(clamp(1rem, 1.9vw, 2.3rem) * 1.25); align-items: flex-end !important; }
.www-contact > .wp-block-column:last-child .www-small { margin-bottom: calc(var(--www-contact-line) * 2) !important; }
.www-contact .www-photo { margin-bottom: calc(var(--www-contact-line) * 1.5) !important; }
/* Seit 0.4.24: Headline „Head office Vienna." ohne Worttrennung; Spalten Headline, Adresse und Bild so breit wie ihr
   Inhalt, sichtbarer Abstand Adresse–Bild halbiert (ca. 6,3vw statt 12,6vw). WordPress setzt flex-basis 0 – daher !important. */
@media (min-width: 801px) {
	.www-contact > .wp-block-column:nth-child(-n+3) { flex: 0 0 auto !important; }
	.www-contact .www-display { white-space: nowrap; }
	.www-contact > .wp-block-column:nth-child(3) { margin-left: 2.8vw; }
}

.www-mail {
	margin-top: 6vw !important;
	padding-left: 8vw;
	font-family: var(--www-druk);
	font-style: italic;
	font-size: clamp(1.6rem, 3.8vw, 4.8rem);
}

/* ---------- Newsletter ---------- */

.www-newsletter.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 6vw; }
.www-newsletter > .wp-block-column:first-child { flex: 0 0 auto; }
.www-newsletter .www-display { line-height: 0.95; }

.www-form { font-family: var(--www-druk); }
.www-form label.www-check { display: flex; align-items: center; gap: 0.8vw; font-size: clamp(1.1rem, 2vw, 2.5rem); line-height: 1.25; cursor: pointer; }
.www-form input[type="checkbox"] { width: 1.2em; height: 1.2em; accent-color: #000; }
.www-form .www-email { display: block; margin-top: 4vw; font-size: clamp(1.1rem, 2vw, 2.5rem); }
.www-form .www-email + .www-email { margin-top: 2vw; } /* 0.4.44: Vor-/Nachname + E-Mail näher beisammen */
.www-form input[type="email"], .www-form input[type="text"] { display: block; width: 100%; margin-top: 0.4vw; border: 0; border-bottom: 2px solid var(--www-grey); font: inherit; font-size: 1.2rem; padding: 0.4rem 0; background: transparent; }
.www-form .www-legal { margin-top: 1.4vw; font-family: var(--www-radiant); font-size: clamp(0.65rem, 0.75vw, 0.9rem); line-height: 1.4; }
.www-form button { margin-top: 1.4vw; float: right; border: 0; background: #000; color: #fff; font-family: var(--www-radiant); font-size: var(--www-size-label); letter-spacing: 0.05em; text-transform: uppercase; padding: 0.7em 1.4em; cursor: pointer; }

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

.www-footer {
	display: flex;
	justify-content: space-between;
	padding: 0 7vw 2.4vw 5.4vw;
	font-family: var(--www-radiant);
	font-size: var(--www-size-label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ---------- Mobil ---------- */

@media (max-width: 800px) {
	:root {
		--www-rail: 6vw;
		--www-size-logo: 10vw;
		--www-size-label: 0.8rem;
		--www-size-text: 1.9rem;
		--www-size-hero: 13vw;
		--www-size-display: 12.5vw;
		--www-size-list: 1.5rem;
	}

	.www-rail { position: sticky; top: calc(var(--www-size-logo) + 3vw); left: auto; width: auto; padding: 4vw 6vw 0; background: var(--www-white); }
	.www-menu-pinned .www-menu { display: none; }
	.www-menu-open .www-menu { display: block; min-height: 80vh; font-size: 1.4rem; }

	.www-main { padding-top: 6vw; }
	.www-hero { min-height: 70vh; padding-left: 0; }

	.www-hero .wp-block-columns,
	.www-lead.wp-block-columns,
	.www-split.wp-block-columns,
	.www-photos.wp-block-columns,
	.www-clients.wp-block-columns,
	.www-contact.wp-block-columns,
	.www-newsletter.wp-block-columns { flex-direction: column; flex-wrap: wrap; gap: 6vw; align-items: stretch; }
	.www-contact.wp-block-columns { align-items: stretch !important; }
	.www-contact > .wp-block-column:last-child .www-small, .www-contact .www-photo { margin-bottom: 0 !important; }

	.www-hero .wp-block-columns { gap: 4vw; }
	.www-hero .wp-block-column,
	.www-lead > .wp-block-column,
	.www-split > .wp-block-column:first-child,
	.www-photos > .wp-block-column:first-child,
	.www-photos > .wp-block-column:last-child { width: auto !important; flex: 1 1 auto; }

	.www-photo--how, .www-photo--philosophy, .www-contact .www-photo { width: 100%; margin-left: 0; }
	.www-indent { padding-left: 0; }

	.www-case { display: block; }
	.www-case .www-case-title { font-size: 12.5vw; }
	.www-case .www-case-text { font-size: 1.35rem; margin-top: 4vw !important; }
	.www-case .www-case-image, .www-case--portrait .www-case-image { width: 100%; margin: 5vw 0 0 !important; }

	.www-clients .www-list { font-size: 1.15rem; }
	.www-clients .www-display { font-size: 12.5vw; }
	.www-mail { padding-left: 0; font-size: 7.5vw; }
	.www-form label.www-check, .www-form .www-email { font-size: 1.4rem; }
	.www-form .www-legal { font-size: 0.75rem; }
	.www-footer { padding: 6vw; }
}

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

/* Ergänzungen */
.admin-bar .www-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .www-header { top: 46px; } }
.www-display .www-indent { display: inline-block; padding-left: 10vw; }
.www-section > p.www-text { max-width: 58vw; }
.www-section > p.www-text + .www-display { margin-top: 3vw; }
.www-section > p.www-text + p.www-text { margin-top: 1.2em; }
.www-section > .www-photo + p.www-text { margin-top: 4vw; }
@media (max-width: 800px) {
	.www-section > .www-photo + p.www-text { margin-top: 2.5rem; }
}
.www-section > .www-photos + p.www-text { margin-top: 4vw; }
@media (max-width: 800px) {
	.www-display .www-indent { padding-left: 0; }
	.www-section > p.www-text { max-width: none; }
}

/* ---------- Textseiten (Fakten, Impressum, Datenschutz, AGB, Pressroom) ---------- */

.www-display--small { font-size: clamp(2.8rem, 6.4vw, 8rem); margin-bottom: 3.5vw !important; }

.www-prose {
	max-width: 46rem;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
}
.www-prose > * + * { margin-top: 1em !important; }
.www-prose h2 {
	margin-top: 2.6em !important;
	font-family: var(--www-radiant);
	font-size: clamp(1.6rem, 2.4vw, 2.6rem);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}
.www-prose h3 { margin-top: 1.8em !important; font-size: 1.05rem; font-weight: 700; }
.www-prose ul { padding-left: 1.2em; }
.www-prose li + li { margin-top: 0.3em; }
.www-prose a { text-decoration: underline; text-underline-offset: 0.2em; }
.www-prose .www-note { padding: 1em 1.2em; background: #f2f2f2; }
.www-prose .www-meta { color: var(--www-grey); font-size: 0.9rem; }

/* Tabellen (z. B. Preise WWW Space): nur waagrechte Linien, Kopf als Label */
.www-prose .wp-block-table { margin-top: 0 !important; }
.www-prose .wp-block-table table { width: 100%; border-collapse: collapse; border-top: 2px solid #000; }
.www-prose .wp-block-table th,
.www-prose .wp-block-table td { padding: 0.7em 0; border: 0; border-bottom: 1px solid #d6d6d6; text-align: left; }
.www-prose .wp-block-table thead { border: 0; }
.www-prose .wp-block-table th {
	font-family: var(--www-radiant);
	font-size: 1.05rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 2px solid #000;
}
.www-prose .wp-block-table th:last-child,
.www-prose .wp-block-table td:last-child { text-align: right; }
.www-prose .wp-block-table + p { margin-top: 3em !important; font-weight: 700; }

/* WWW Space: Abstand vor Ausstattungsliste und Galerie */
.www-section > p.www-text + .www-clients { margin-top: 4vw; }
.www-section > .www-clients + .www-gallery { margin-top: 5vw; }
@media (max-width: 800px) {
	.www-section > p.www-text + .www-clients { margin-top: 2.5rem; }
	.www-section > .www-clients + .www-gallery { margin-top: 2.5rem; }
}

/* Nur für Screenreader und Suchmaschinen sichtbar (z. B. H1 der Startseite) */
.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;
}

/* ---------- Startseite als Onepager ---------- */

.www-onepager-section { margin-top: 8vw; scroll-margin-top: calc(var(--www-size-logo) + 4vw); }
.admin-bar .www-onepager-section { scroll-margin-top: calc(var(--www-size-logo) + 4vw + 32px); }
@media (max-width: 800px) {
	.www-onepager-section { margin-top: 14vw; } /* 0.4.38: vorher 22vw */
}

/* ---------- Projekte (Übersicht /projects/ und Einzelseiten /project/…) ---------- */

.www-project-list { margin-top: 5vw; }
.www-project-list .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4vw 1.6vw;
	margin: 0;
	padding: 0;
	list-style: none;
}
.www-project-list .wp-block-post-featured-image { margin: 0; }
.www-project-list .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.www-project-title {
	margin-top: 0.8vw !important;
	font-family: var(--www-radiant);
	font-size: clamp(1rem, 1.35vw, 1.7rem);
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}
.www-project-title a { color: inherit; text-decoration: none; }
.www-project-title a:hover, .www-project-title a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

.www-section > p.www-text + .www-gallery,
.www-section > .www-display + .www-gallery { margin-top: 4vw; }
.www-back { margin-top: 6vw !important; }
.www-back a { color: inherit; }
.www-back a + a { margin-left: 2.5em; }
.www-back a:hover, .www-back a:focus-visible { color: var(--www-hover); text-decoration: none; }

@media (max-width: 800px) {
	.www-project-list .wp-block-post-template { grid-template-columns: minmax(0, 1fr); gap: 10vw; }
	.www-project-title { margin-top: 2.5vw !important; font-size: 1.15rem; }
	.www-section > p.www-text + .www-gallery,
	.www-section > .www-display + .www-gallery { margin-top: 2.5rem; }
}

/* ---------- Cases mit Karussell (Clients) ---------- */
/* Titel über die volle Breite, darunter Text links und Karussell rechts – nichts überlappt. */

/* Titel über die volle Breite; das Karussell beginnt auf Höhe der zweiten Titelzeile (seit 0.4.8). */
.www-case { --www-case-title-size: clamp(2.6rem, 7.3vw, 9.5rem); grid-template-columns: 24vw 38.5vw; column-gap: 2vw; grid-template-rows: auto auto auto; }
.www-case .www-case-text { grid-column: 1; grid-row: 2; margin-top: 2vw !important; font-size: clamp(1.05rem, 1.8vw, 2.4rem); }

.www-case-carousel.wp-block-gallery {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: start;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin: calc(var(--www-case-title-size) * 0.82) 0 0 !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.www-case-carousel::-webkit-scrollbar { display: none; }
.www-case-carousel.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex: 0 0 100% !important;
	width: 100% !important;
	margin: 0 !important;
	scroll-snap-align: start;
}
.www-case-carousel.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Rahmen um das Karussell (von carousel.js angelegt): übernimmt die Position im Raster,
   enthält die Klickflächen links/rechts mit Pfeilen bei Mouseover. */
.www-carousel-frame {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: start;
	position: relative;
	/* Bild beginnt in der ersten Titelzeile und wird vom Titel leicht überschnitten (seit 0.4.15, wie im Entwurf). */
	margin-top: calc(var(--www-case-title-size) * 0.5);
}
/* Hochformat-Cases schmaler (24vw), linksbündig wie die Querformat-Bilder (wieder wie vor 0.4.17). */
.www-case--portrait .www-carousel-frame { width: 24vw; }
.www-carousel-frame .www-case-carousel.wp-block-gallery { width: 100%; margin: 0 !important; }
.www-carousel-zone {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 3;
	width: 40%;
	display: flex;
	align-items: center;
	padding: 0 1.2vw;
	border: 0;
	background: none;
	cursor: pointer;
}
.www-carousel-zone--prev { left: 0; justify-content: flex-start; }
.www-carousel-zone--next { right: 0; justify-content: flex-end; }
.www-carousel-zone span {
	display: block;
	padding: 0.35em 0.5em 0.3em;
	background: #fff;
	color: #000;
	font-family: var(--www-radiant);
	font-size: clamp(1.1rem, 1.6vw, 2rem);
	line-height: 1;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.www-carousel-zone:hover span { opacity: 1; }
@media (hover: none) {
	.www-carousel-zone span { display: none; }
}
.www-case--portrait .www-case-carousel.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 5; }

.www-carousel-nav {
	grid-column: 2;
	grid-row: 3;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-top: 0.8vw;
	font-family: var(--www-radiant);
	font-size: var(--www-size-label);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.www-carousel-nav button {
	padding: 0.2em 0.4em;
	border: 0;
	background: none;
	font: inherit;
	font-size: 1.4em;
	line-height: 1;
	color: inherit;
	cursor: pointer;
}
.www-carousel-nav button:hover, .www-carousel-nav button:focus-visible { opacity: 0.55; }

/* Link zur Projektübersicht unter den Cases */
.www-more {
	margin-top: 8vw !important;
	font-family: var(--www-radiant);
	font-size: clamp(2rem, 4.6vw, 6rem);
	line-height: 0.9;
	text-transform: uppercase;
}
.www-more a { color: inherit; text-decoration: none; border-bottom: 0.08em solid currentColor; }
.www-more a:hover, .www-more a:focus-visible { opacity: 0.6; }

@media (max-width: 800px) {
	.www-case { display: block; }
	.www-case .www-case-text { font-size: 1.35rem; }
	.www-case-carousel.wp-block-gallery, .www-case--portrait .www-case-carousel.wp-block-gallery { width: 100%; margin-top: 5vw !important; }
	.www-carousel-frame, .www-case--portrait .www-carousel-frame { width: 100%; margin-top: 5vw; }
	.www-carousel-frame .www-case-carousel.wp-block-gallery { margin-top: 0 !important; }
	.www-carousel-nav { margin-top: 2.5vw; }
	.www-more { margin-top: 16vw !important; font-size: 11vw; }
}

/* ---------- Cookie-Banner (consent.js, seit 0.4.9) ---------- */

.www-consent {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 1000;
	box-sizing: border-box;
	width: min(28rem, calc(100vw - 3rem));
	max-height: calc(100vh - 3rem);
	overflow-y: auto;
	padding: 1.4rem 1.5rem 1.5rem;
	background: #fff;
	color: #000;
	border: 1px solid #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.9rem;
	line-height: 1.45;
}
.www-consent[hidden] { display: none; }
@media (max-width: 800px) {
	.www-consent { right: 1rem; bottom: 1rem; width: calc(100vw - 2rem); max-height: calc(100vh - 2rem); padding: 1.1rem 1.1rem 1.2rem; }
}
.www-consent p { margin: 0; }
.www-consent .www-consent-title {
	margin-bottom: 0.6rem;
	font-family: var(--www-radiant);
	font-size: 1.1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.www-consent a { color: inherit; }
.www-consent-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.www-consent-buttons [hidden] { display: none; }
.www-consent-buttons button {
	flex: 1;
	padding: 0.75em 1em;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-family: var(--www-radiant);
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
.www-consent-buttons button:hover, .www-consent-buttons button:focus-visible { background: #fff; color: #000; }
.www-consent-buttons .www-consent-secondary { background: #fff; color: #000; }
.www-consent-buttons .www-consent-secondary:hover, .www-consent-buttons .www-consent-secondary:focus-visible { background: #000; color: #fff; }

/* Einstellungen: Kategorien mit Schaltern (seit 0.4.11) */
.www-consent-settings { margin-top: 1rem; border-top: 1px solid #000; }
.www-consent-settings[hidden] { display: none; }
.www-consent-option {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding: 0.8rem 0;
	border-bottom: 1px solid #000;
	cursor: pointer;
}
.www-consent-option input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: 0.15rem 0 0; accent-color: #000; cursor: pointer; }
.www-consent-option input:disabled { cursor: default; }
.www-consent-option strong {
	display: block;
	font-family: var(--www-radiant);
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Link „Cookies“ in der Fußzeile nur zeigen, wenn Google Analytics eingerichtet ist. */
.www-cookie-link { display: none; }
.www-has-consent .www-cookie-link { display: inline; }

/* ---------- Leistungen zum Aufklappen (seit 0.4.14) ---------- */
/* Jede Leistung ist ein Details-Block: Klick auf den Namen zeigt die Liste, was alles dazu zählt. */

.www-services { font-family: var(--www-druk); font-size: var(--www-size-list); line-height: 1.12; text-transform: uppercase; }
.www-services .wp-block-details { margin: 0; }
.www-services summary {
	display: block; /* kein Dreieck */
	cursor: pointer;
	list-style: none;
}
.www-services summary::-webkit-details-marker { display: none; }
.www-services summary:hover,
.www-services summary:focus-visible,
.www-services details[open] > summary { color: var(--www-hover); outline: none; }
/* Unterpunkte in Helvetica, normale Schreibweise: Druk ist in kleiner Größe schwer lesbar (seit 0.4.15). */
.www-services details > ul {
	margin: 0.5em 0 1em;
	padding: 0;
	list-style: none;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(0.95rem, 1.15vw, 1.4rem);
	line-height: 1.5;
	letter-spacing: 0.01em;
	text-transform: none;
}
.www-services details > ul a { border-bottom: 0.08em solid currentColor; }
.www-services details > ul a:hover { color: var(--www-hover); text-decoration: none; }

/* ---------- Kund:innen mit Cases verlinkt (seit 0.4.14) ---------- */
/* Nur Kund:innen mit eigener Case-Seite sind Links; sie werden bei Mouseover farbig. */

.www-clients .www-list a { color: inherit; text-decoration: none; transition: color 0.15s; }
.www-clients .www-list a:hover,
.www-clients .www-list a:focus-visible { color: var(--www-hover); text-decoration: none; }

/* ---------- Bilderschutz (seit 0.4.14) ---------- */
/* Bilder nicht ziehen oder lange antippen (iOS-Menü „Bild sichern“). Nur Abschreckung. */

.www-main img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* ---------- Passwortformular (Pressroom, seit 0.4.21) ---------- */
.www-pw { max-width: 46rem; }
.www-pw__form > * + * { margin-top: 0; }
.www-pw__text {
	margin: 0 0 2rem !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	line-height: 1.55;
}
.www-pw__text a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.www-pw__error {
	margin: 0 0 1.4rem !important;
	padding: 0.8rem 1rem;
	border: 2px solid #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.05rem;
}
.www-pw__label {
	display: block;
	margin-bottom: 0.6rem;
	font-family: var(--www-radiant);
	font-size: 1.3rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.www-pw__row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.www-pw__input {
	flex: 1 1 16rem;
	min-width: 0;
	height: 3.4rem;
	padding: 0 1rem;
	border: 2px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
}
.www-pw__input:focus { outline: 3px solid #000; outline-offset: 2px; }
.www-pw__button {
	height: 3.4rem;
	padding: 0 2.2rem;
	border: 2px solid #000;
	border-radius: 0;
	background: #000;
	color: #fff;
	font-family: var(--www-radiant);
	font-size: 1.4rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
.www-pw__button:hover, .www-pw__button:focus-visible { background: #fff; color: #000; }

/* ---------- Mobil (seit 0.4.25): Kopfzeile bleibt sichtbar, Texte nutzen die volle Breite ---------- */
@media (max-width: 800px) {
	/* Logo und Menü-Icon kleben oben. Sticky muss am Template-Part-Wrapper sitzen, sonst endet es mit dem Header. */
	.wp-site-blocks > header.wp-block-template-part {
		position: sticky;
		top: 0;
		z-index: 60;
		background: var(--www-white);
		padding-bottom: 3vw;
	}
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
	.www-header { position: static; }
	.www-rail { position: static; padding: 3vw 6vw 0; }

	/* Offenes Menü als Fläche unter der Kopfzeile, scrollbar. */
	.www-menu-open .www-menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: calc(100dvh - var(--www-size-logo) - 12vw);
		min-height: 0;
		margin: 0;
		padding: 4vw 6vw 10vw;
		overflow-y: auto;
		background: var(--www-white);
		font-size: 1.4rem;
	}

	/* Sprungmarken nicht unter der Kopfzeile verstecken. */
	.www-onepager-section { scroll-margin-top: calc(var(--www-size-logo) + 16vw); }
	.admin-bar .www-onepager-section { scroll-margin-top: calc(var(--www-size-logo) + 16vw + 46px); }

	/* Zeilenumbrüche aus dem Desktop-Layout aufheben (Philosophy, How we work, Clients-Headline …):
	   Der Text läuft über die ganze Breite. Trennstriche an solchen Umbrüchen entfallen (siehe functions.php). */
	.www-text br, .www-display br, .www-hero p:not(.www-tag) br { display: none; }
	.www-text .www-br-hy, .www-display .www-br-hy, .www-hero .www-br-hy { display: none; }

	/* Clients: Headline zuerst, Namen als durchlaufende Liste in zwei Spalten (0.4.58: ohne Lücke,
	   vorher Raster mit gemeinsamen Zeilen). Voraussetzung: Headline-Spalte steht im HTML zuerst. */
	.www-clients.wp-block-columns { display: block !important; column-count: 2; column-gap: 6vw; }
	.www-clients > .wp-block-column { display: contents; }
	.www-clients > .wp-block-column:has(.www-display) { display: block; column-span: all; margin-bottom: 6vw; }
	.www-clients .www-list { margin: 0; padding: 0; }
	.www-clients .www-list { font-size: 1.05rem; line-height: 1.45; overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
	/* Unter 600 px scrollt die WordPress-Leiste mit, daher kein Abstand. */
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}

/* ---------- Handy: Hero und Showroom (seit 0.4.30) ---------- */
@media (max-width: 800px) {
	/* Hero als ein geschlossener Block („Making brands worth / showing up for. / Are you in?“),
	   die Zeile „Influencer Relations + PR + Events“ darunter. */
	.www-hero .wp-block-columns { display: flex; flex-direction: column; gap: 0 !important; }
	.www-hero .wp-block-column { display: contents; }
	.www-hero .wp-block-column > p:not(.www-tag) { margin: 0 !important; }
	.www-hero .www-tag { order: 1; margin-top: 5vw !important; }

	/* Showroom: Headline („The stage for your products.“) direkt unter das Label statt nach dem Text. */
	.www-section:has(> p.www-text + .www-display) { display: flex; flex-direction: column; }
	.www-section:has(> p.www-text + .www-display) > .www-label { order: -2; }
	.www-section:has(> p.www-text + .www-display) > .www-display { order: -1; margin-top: 0 !important; margin-bottom: 6vw; }
	.www-section:has(> p.www-text + .www-display) > .www-photos { margin-top: 8vw !important; }
}

/* ---------- Zweispaltiger Lead: 2. Spalte bündig mit Hero-Spalte 2 („showing / up / for“), seit 0.4.32 ---------- */
/* Hero-Spalte 2 beginnt bei 20vw (Inhalt) + 4vw (Hero-Einzug) + 22vw (Spalte 1) = 46vw.
   Lead beginnt bei 20vw, Abstand 2.4vw → Spalte 1 = 46 − 20 − 2.4 = 23.6vw. */
@media (min-width: 801px) {
	.www-lead > .wp-block-column:first-child { flex: 0 0 23.6vw !important; width: 23.6vw !important; }
}

/* ---------- Abstand Display-Headline → Fließtext (seit 0.4.34), z. B. /space, /jobs ---------- */
.www-section > .www-display + p.www-text { margin-top: max(3vw, 1.5rem) !important; }

/* ---------- Bildpaare nach Keynote „website_wonderwewant_bilderauswahl“ (seit 0.4.35) ---------- */
/* Zwei Bilder versetzt nebeneinander. Positionen in vw ab dem linken Inhaltsrand (20vw);
   die 2. Textspalte beginnt bei 26vw (siehe .www-lead). */
.www-duo { display: flex; align-items: flex-start; gap: 0.3vw; margin-top: 3vw !important; }
.www-duo > figure.wp-block-image { margin: 0 !important; flex: 0 0 auto; }
.www-duo img { display: block; width: 100%; height: auto; }
/* Philosophy: Hochformat (Blumen) etwas tiefer, Querformat (Tafel) beginnt knapp rechts der 2. Textspalte */
.www-duo--philosophy { margin-left: 17.6vw; }
.www-duo--philosophy > figure:nth-child(1) { width: 11.1vw; margin-top: 6vw !important; }
.www-duo--philosophy > figure:nth-child(2) { width: 28.2vw; }
/* How we work: Jacke unter der 2. Textspalte, Gast rechts daneben, ragt neben dem Text nach oben
   (2. Textspalte endet bei ca. 37,6vw; Text skaliert mit 3,3vw, daher keine Überlappung) */
.www-duo--how { margin-left: 27.2vw; margin-top: -6.1vw !important; }
.www-duo--how > figure:nth-child(1) { width: 13.5vw; margin-top: 7.1vw !important; }
.www-duo--how > figure:nth-child(2) { width: 16.8vw; }
/* WWW Space: ein Querformat linksbündig unter dem Text */
.www-photo--space { width: 41.6vw; }
@media (max-width: 800px) {
	.www-duo { margin-left: 0 !important; margin-top: 6vw !important; gap: 2vw; align-items: flex-start; }
	.www-duo--philosophy > figure:nth-child(1) { width: 30%; margin-top: 12vw !important; }
	.www-duo--philosophy > figure:nth-child(2) { width: 70%; }
	.www-duo--how { align-items: flex-end; }
	.www-duo--how > figure:nth-child(1) { width: 45%; margin-top: 0 !important; } /* 0.4.38: unten bündig */
	.www-duo--how > figure:nth-child(2) { width: 55%; }
	.www-photo--space { width: 100%; }
}

/* ---------- Philosophy: nur Querformat, obere linke Ecke unter „pioneer“ (seit 0.4.37, Keynote Folie 7) ---------- */
/* „pioneer“ beginnt 4,2vw rechts der 2. Textspalte (26vw) → 30,2vw; Bildoberkante auf Höhe der Großbuchstaben
   der letzten Zeile (3,75vw über dem Textende). Text liegt über dem Bild. */
.www-section:has(> .www-photo--philosophy-wide) > .www-lead { position: relative; z-index: 1; }
.www-photo--philosophy-wide { position: relative; z-index: 0; width: 46.3vw; margin-left: 30.2vw; margin-top: -3.75vw !important; } /* 0.4.44: um ein Drittel größer (vorher 34.7vw) */
@media (max-width: 800px) {
	.www-photo--philosophy-wide { width: 100%; margin-left: 0; margin-top: 6vw !important; }
}

/* ---------- Projektseiten im Case-Format (seit 0.4.39): Ort/Jahr + Leistungen, „What we delivered“ ---------- */
.www-section > .www-display--small + .www-project-meta { margin-top: -1.5vw !important; margin-bottom: 3vw; }
.www-section > .www-label.www-delivered-label { margin-top: 3.5vw !important; }
.www-section > ul.www-delivered { max-width: 58vw; margin: 1vw 0 0; padding-left: 0; list-style: none; } /* 0.4.40: ohne Aufzählungspunkte */
.www-section > ul.www-delivered li + li { margin-top: 0.15em; }
.www-section > ul.www-delivered + .www-gallery { margin-top: 3.5vw !important; } /* 0.4.44: gleicher Abstand wie Text → „What we delivered“ */
.www-section > .www-gallery + .www-credits { margin-top: 1.2vw !important; } /* 0.4.45: Fotocredits unter der Galerie */
@media (max-width: 800px) {
	.www-section > .www-display--small + .www-project-meta { margin-top: 0 !important; margin-bottom: 1.5rem; }
	.www-section > .www-label.www-delivered-label { margin-top: 2.5rem !important; }
	.www-section > ul.www-delivered { max-width: none; margin-top: 0.8rem; }
	.www-section > ul.www-delivered + .www-gallery { margin-top: 2.5rem !important; }
	.www-section > .www-gallery + .www-credits { margin-top: 0.8rem !important; }
}

/* Abstand Bildpaar → Fließtext wie bei Einzelbildern (seit 0.4.40) */
.www-section > .www-duo + p.www-text { margin-top: 4vw !important; }
@media (max-width: 800px) { .www-section > .www-duo + p.www-text { margin-top: 2.5rem !important; } }

/* 0.4.46: WWW Space – Bild so breit wie der Text, gleicher Abstand oben (Text) und unten (nächster Abschnitt) */
@media (min-width: 801px) {
	.www-photo--space { width: 58vw !important; max-width: none !important; }
	.www-photo--space img { width: 100%; height: auto; }
	.www-section:has(> .www-photo--space) + .www-section { margin-top: 3vw !important; }
}

/* Seitenvorlage „Formular“ (seit 0.4.49): eingebettetes Formular über die volle Inhaltsbreite. */
.www-form-page iframe { display: block; width: 100%; max-width: 760px; border: 0; }
