/*
Theme Name: New World Design
Theme URI: https://new-world-design.com
Author: Philipp Schindler
Description: Helles und dunkles Theme für die Designstudie eines MP3-Players: gebürstetes Metall, Glas, große Ausschnitte. Ohne externe Schriften, ohne Tracking.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nw
*/

/* ---------- Schrift (lokal) ---------- */
@font-face {
	font-family: "Geist";
	src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Geist";
	src: url("assets/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben: Schwarz, Weiß, ein Akzent ---------- */
:root {
	color-scheme: light;
	--bg: #f2f2f1;
	--surface: #ffffff;
	--surface-2: #e8e8e7;
	--ink: #0a0a0a;
	--ink-inv: #f6f6f5;
	--muted: #5f5f61;
	--line: #d9d9d8;
	--led: #ff4f1a;
	--dev-hi: #fbfbfa;
	--dev-lo: #d6d6d5;
	--dev-edge: #b9b9b8;
	--dev-bezel: #090909;
	--dev-slot: #232324;
	--rl-a: #f6f6f5;
	--rl-b: #8c8c8b;
	--key-hi: #ffffff;
	--key-lo: #e2e2e1;
	--dev-icon: #111111;
	--shadow: rgba(10, 10, 10, 0.32);
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--radius-l: 28px;
	--radius-m: 16px;
	--header-h: 68px;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #060606; --surface: #111112; --surface-2: #1a1a1b; --ink: #f2f2f1; --ink-inv: #060606;
		--muted: #98989b; --line: #262628; --led: #ff6a3d;
		--dev-hi: #323234; --dev-lo: #0f0f10; --dev-edge: #454547; --dev-bezel: #000000; --dev-slot: #000000; --rl-a: #5a5a5d; --rl-b: #121213;
		--key-hi: #3a3a3c; --key-lo: #161617; --dev-icon: #f0f0f0; --shadow: rgba(0, 0, 0, 0.8);
	}
}
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #060606; --surface: #111112; --surface-2: #1a1a1b; --ink: #f2f2f1; --ink-inv: #060606;
	--muted: #98989b; --line: #262628; --led: #ff6a3d;
	--dev-hi: #323234; --dev-lo: #0f0f10; --dev-edge: #454547; --dev-bezel: #000000; --dev-slot: #000000; --rl-a: #5a5a5d; --rl-b: #121213;
	--key-hi: #3a3a3c; --key-lo: #161617; --dev-icon: #f0f0f0; --shadow: rgba(0, 0, 0, 0.8);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-feature-settings: "ss01", "tnum";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--ink-inv); }

.wrap { width: min(100% - 2 * clamp(1.25rem, 4vw, 2.5rem), 1240px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--ink-inv); padding: 0.6rem 1rem; border-radius: 999px; z-index: 100; }
.skip-link:focus { top: 0.75rem; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.4rem); letter-spacing: -0.04em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); color: var(--muted); max-width: 36rem; line-height: 1.5; }

/* ---------- Kopfbereich ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 70%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(18px);
	backdrop-filter: saturate(1.6) blur(18px);
	border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { font-weight: 650; letter-spacing: -0.03em; font-size: 1.15rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px color-mix(in srgb, var(--led) 22%, transparent); }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 0.45rem 0.85rem; border-radius: 999px; font-size: 0.95rem; color: var(--muted); text-decoration: none; transition: color 0.15s, background 0.15s; }
.main-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.tools { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.1rem; font-size: 0.82rem; font-weight: 550; }
.lang-switch a { display: block; padding: 0.3rem 0.5rem; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 9%, transparent); }
.theme-toggle {
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0;
	transition: transform 0.2s;
}
.theme-toggle:hover { transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
#trp-floater-ls, .trp-floating-switcher { display: none !important; }

@media (max-width: 820px) {
	.nav-toggle { display: inline-flex; align-items: center; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.9rem; cursor: pointer; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { font-size: 1.15rem; padding: 0.7rem 0.25rem; border-radius: 8px; color: var(--ink); }
	.site-header .wrap { gap: 0.75rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 550; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s, background 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-solid { background: var(--ink); color: var(--ink-inv); }
.btn-quiet { border-color: var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Startseite: Hero mit Gerät ---------- */
.hero { position: relative; overflow: clip; isolation: isolate; }
.hero .wrap { position: relative; min-height: min(86svh, 820px); display: flex; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { position: relative; z-index: 2; max-width: 36rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-art { position: absolute; z-index: 1; right: 0; top: 50%; width: min(48vw, 44rem); aspect-ratio: 1; transform: translateY(-50%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); }
@media (max-width: 900px) {
	.hero .wrap { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 0; padding-bottom: 0; }
	.hero-art { position: relative; right: auto; top: auto; transform: none; width: 100%; margin: 2rem 0 0; }
}

/* Das Gerät: 70 × 70 mm, Maße in Prozent der Gehäusebreite */
.device { container-type: inline-size; width: 100%; aspect-ratio: 1; perspective: 1800px; }
.device-tilt { position: relative; width: 100%; height: 100%; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.3s ease-out; }
.dev-body { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; border-radius: 7%; background: linear-gradient(145deg, var(--dev-hi), var(--dev-lo)); box-shadow: 0 5cqw 8cqw -2cqw var(--shadow), 0 0 0 1px color-mix(in srgb, var(--dev-edge) 70%, transparent); }
.dev-body::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.7cqw; background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0.28) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; opacity: 0.8; }
.dev-bezel { position: absolute; left: 5.4%; top: 5.9%; width: 91.9%; height: 60.5%; border-radius: 2.4cqw; background: var(--dev-bezel); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.dev-screen { position: absolute; left: 7.8%; top: 10.2%; width: 84.4%; height: 50.8%; border-radius: 0.9cqw; overflow: hidden; }
.dev-key { position: absolute; top: 73.1%; width: 16.1%; height: 15.6%; border-radius: 22%; }
.dev-key.k1 { left: 9.4%; }
.dev-key.k2 { left: 74.5%; }
.dev-grille, .dev-grille.roller { position: absolute; display: block; left: 32.8%; top: 73.9%; width: 34.4%; height: 14.2%; }
.dev-sb { position: absolute; background: linear-gradient(90deg, var(--dev-edge), var(--dev-lo)); border-radius: 0.7cqw; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.dev-sb.l { left: -2%; width: 2.4%; }
.dev-sb.r { right: -2%; width: 2.4%; background: linear-gradient(270deg, var(--dev-edge), var(--dev-lo)); }
.dev-sb.c-y { background: linear-gradient(90deg, #b88700, #f2b705); }
.dev-sb.c-g { background: linear-gradient(90deg, #2a7a36, #3fa34d); }
.dev-sb.c-b { background: linear-gradient(90deg, #1f5fb4, #2f7bd9); }
.dev-sb.c-w { background: linear-gradient(90deg, #cfcfcd, #f4f4f2); }
.dev-sb.t { top: -2%; height: 2.4%; background: linear-gradient(0deg, var(--dev-edge), var(--dev-lo)); }
.dev-port { position: absolute; bottom: 0; height: 1.7%; background: var(--dev-bezel); border-radius: 0.5cqw 0.5cqw 0 0; }

/* Display (immer dunkel, auch im hellen Design) */
.screen { container-type: inline-size; width: 100%; height: 100%; background: #0b0b0c; color: #f4f4f4; }
.scr { display: grid; grid-template-columns: 14cqw minmax(0, 1fr); height: 100%; padding: 5cqw 5cqw 5cqw 4cqw; gap: 3cqw; align-items: center; }
.scr-apps { display: grid; gap: 2.2cqw; align-content: center; border-right: 1px solid #2b2b2e; padding-right: 2.6cqw; }
.scr-app { display: grid; place-items: center; aspect-ratio: 1; border-radius: 2cqw; background: #1f1f22; color: #f4f4f4; }
.scr-app svg { width: 58%; height: 58%; }
.scr-app.is-on { background: #f4f4f4; color: #0b0b0c; }
.scr-main { position: relative; display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 5cqw; align-items: center; padding-top: 2cqw; }
.scr-level { position: absolute; top: -2cqw; right: 0; font-size: 3.2cqw; color: #8e8e93; }
.scr-cover { aspect-ratio: 1; border-radius: 3cqw; background: radial-gradient(circle at 50% 50%, var(--led) 0 13%, #0b0b0c 13.5% 27%, #f4f4f4 27.5% 41%, #0b0b0c 41.5% 56%, transparent 56.5%), #f4f4f4; }
.scr-title { font-size: 7.4cqw; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.scr-artist { font-size: 4.6cqw; color: #8e8e93; margin-top: 1cqw; }
.scr-bar { position: relative; height: 1.3cqw; border-radius: 99px; background: #2b2b2e; margin-top: 6cqw; }
.scr-bar::before { content: ""; position: absolute; inset: 0 62% 0 0; border-radius: 99px; background: var(--led); }
.scr-time { display: flex; justify-content: space-between; font-size: 3.5cqw; color: #8e8e93; margin-top: 2cqw; }

/* Tasten */
.key { aspect-ratio: 1 / 1; border-radius: 22%; display: grid; place-items: center; color: var(--dev-icon); background: linear-gradient(var(--key-hi), var(--key-lo)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -0.5cqw 0.9cqw rgba(0, 0, 0, 0.14), 0 0.9cqw 1.6cqw rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(0, 0, 0, 0.1); transition: transform 0.12s, box-shadow 0.12s; }
.dev-key.key { aspect-ratio: auto; }
.key svg { width: 34%; height: auto; }
.key.is-accent { color: var(--led); }
.key:hover { transform: translateY(0.35cqw); }

/* Walze zum Drehen: gerändelt, mit Zylinder-Schatten */
.roller { --pitch: 0.62cqw; position: relative; border-radius: 1.3cqw; overflow: hidden; cursor: ns-resize; touch-action: none; user-select: none;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.08) 24%, rgba(255, 255, 255, 0.42) 46%, rgba(0, 0, 0, 0.05) 62%, rgba(0, 0, 0, 0.75) 100%),
		repeating-linear-gradient(180deg, var(--rl-a) 0 var(--pitch), var(--rl-b) var(--pitch) calc(var(--pitch) * 2));
	background-position: 0 0, 0 var(--roll, 0px);
	box-shadow: 0 0 0 0.45cqw rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.roller::before, .roller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.roller::before { left: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent); }
.roller::after { right: 0; background: linear-gradient(270deg, rgba(0, 0, 0, 0.45), transparent); }

/* ---------- Startseite: Details ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }

.details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(15rem, 25vw, 22rem); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); isolation: isolate; }
.tile-1 { grid-column: 1 / 8; grid-row: span 2; }
.tile-2 { grid-column: 8 / 13; }
.tile-3 { grid-column: 8 / 13; }
.tile-4 { grid-column: 1 / 7; }
.tile-5 { grid-column: 7 / 13; }
.tile-cap { position: absolute; z-index: 3; left: clamp(1.1rem, 2vw, 1.75rem); right: clamp(1.1rem, 2vw, 1.75rem); bottom: clamp(1rem, 1.8vw, 1.5rem); }
.tile-cap h3 { margin-bottom: 0.25rem; }
.tile-cap p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; max-width: 26rem; }
.tile.has-img { color: #fff; }
.tile.has-img .tile-cap p { color: rgba(255, 255, 255, 0.82); }
.tile.has-img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 52%); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding-bottom: 4.4rem; container-type: inline-size; }
.art-screen { padding: 0 0 4.6rem; align-items: center; justify-items: center; }
.art-screen .screen-wrap { width: 82%; margin-top: 0; aspect-ratio: 59 / 35.6; border-radius: 3.4cqw; background: var(--dev-bezel); padding: 2.6cqw; box-shadow: 0 6cqw 8cqw -3cqw var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.art-screen .screen-wrap .screen { border-radius: 1.6cqw; overflow: hidden; }
.keys2 { display: flex; gap: 8cqw; width: 62%; }
.keys2 .key { flex: 1; }
.art-roller .plate { width: 64%; aspect-ratio: 2.35; border-radius: 6cqw; background: linear-gradient(145deg, var(--dev-hi), var(--dev-lo)); box-shadow: 0 4cqw 6cqw -2cqw var(--shadow), 0 0 0 1px color-mix(in srgb, var(--dev-edge) 70%, transparent); display: grid; place-items: center; }
.art-roller .roller { --pitch: 1.7cqw; width: 78%; height: 66%; border-radius: 3.2cqw; box-shadow: 0 0 0 1.2cqw rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.pills { display: flex; gap: 4cqw; width: 70%; }
.art-pills { padding-bottom: 6.6rem; }
.pw { flex: 1; display: grid; gap: 2.4cqw; justify-items: center; }
.pw .pill { width: 100%; aspect-ratio: 0.82; display: grid; place-items: center; color: #111; }
.pill svg { width: 34%; height: auto; }
.pill.c-y { background: linear-gradient(90deg, #c99400, #f2b705 45%, #d9a300); }
.pill.c-g { background: linear-gradient(90deg, #2f8a3d, #4cb25a 45%, #3a9a48); }
.pill.c-b { background: linear-gradient(90deg, #2468c2, #4a92ee 45%, #2c75d3); }
.pill.c-w { background: linear-gradient(90deg, #d4d4d2, #ffffff 45%, #e2e2e0); }
.pill { border-radius: 999px; background: linear-gradient(90deg, var(--dev-edge), var(--dev-hi) 45%, var(--dev-lo)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 2cqw 3cqw -1cqw var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.1); transition: transform 0.15s; }
.pill:hover { transform: translateY(1.2cqw); }
.pill.is-accent { background: var(--led); }

/* Schnittstelle: Platte auf der Rückseite und Zubehör */
.mount { display: flex; align-items: flex-start; gap: 4cqw; width: 88%; }
.mount-plate { flex: 0 0 34%; aspect-ratio: 1; border-radius: 13%; position: relative; background: linear-gradient(145deg, var(--dev-hi), var(--dev-lo)); box-shadow: 0 4cqw 6cqw -2cqw var(--shadow), 0 0 0 1px color-mix(in srgb, var(--dev-edge) 70%, transparent); }
.mount-plate::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, var(--dev-bezel) 0 24%, transparent 25%), conic-gradient(var(--dev-edge) 0 25%, var(--dev-lo) 25% 50%, var(--dev-edge) 50% 75%, var(--dev-lo) 75%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0.8cqw 1.4cqw rgba(0, 0, 0, 0.25); }
.mount-plate::after { content: ""; position: absolute; left: 50%; top: 9%; width: 3.2%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: var(--led); }
.chip { flex: 1; display: grid; gap: 2cqw; justify-items: center; }
.chip .key { width: 100%; }
.chip .key svg { width: 46%; }
.chip-label { font-size: 3cqw; line-height: 1.2; text-align: center; color: var(--muted); }

/* ---------- Startseite: Materialien ---------- */
.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.material { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.material h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.material p { color: var(--muted); margin: 0; max-width: 24rem; }
@media (max-width: 760px) { .materials { grid-template-columns: 1fr; } }

/* ---------- Startseite: Kampagne ---------- */
.cta { background: var(--ink); color: var(--ink-inv); }
.cta .wrap { padding-block: clamp(3.5rem, 8vw, 7rem); display: grid; gap: 1.25rem; justify-items: start; }
.cta h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); letter-spacing: -0.04em; }
.cta p { max-width: 32rem; opacity: 0.75; font-size: 1.2rem; margin: 0; }
.cta .btn-solid { background: var(--ink-inv); color: var(--ink); margin-top: 0.75rem; }

/* ---------- Updates ---------- */
.update-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.update-list li { border-bottom: 1px solid var(--line); }
.update-item { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.6rem; text-decoration: none; }
.update-item:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.update-item time { color: var(--muted); font-size: 0.95rem; padding-top: 0.2rem; }
.update-item h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.update-item p { margin: 0; color: var(--muted); max-width: 40rem; }
.empty-note { color: var(--muted); }
@media (max-width: 640px) { .update-item { grid-template-columns: 1fr; } }
.more-link { font-weight: 550; }
.pagination, .nav-links { display: flex; gap: 1rem; margin-top: 2rem; }

/* ---------- Innenseiten ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.4rem); }
.page-head time { color: var(--muted); display: block; margin-bottom: 0.75rem; }
.prose { max-width: 42rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 0.7rem; letter-spacing: -0.025em; }
.prose h3 { margin: 1.8rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose img { border-radius: var(--radius-m); }
.prose figure { margin: 2rem 0; }
.prose figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.prose .wp-block-image img { height: auto; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--ink); color: var(--muted); }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; max-width: 36rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.form label { display: grid; gap: 0.4rem; font-weight: 550; font-size: 0.95rem; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; width: 100%; }
.form textarea { min-height: 10rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.form .hint { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { max-width: 36rem; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.notice.is-ok { border-color: var(--led); }
.notice.is-err { border-color: #c4402f; }

/* ---------- Fußbereich ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.site-footer p { margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 760px) {
	.details { grid-template-columns: 1fr; grid-auto-rows: 19rem; }
	.tile-1, .tile-2, .tile-3, .tile-4, .tile-5 { grid-column: 1; grid-row: auto; }
	.art-screen .screen-wrap { width: 78%; }
}
