/*
Theme Name: Was DU tun kannst
Theme URI: https://wasdutunkannst.de
Author: wasdutunkannst.de
Description: Kinoreifes Theme für gute Ideen – Netflix-artige Reihen, große Titelbilder, ruhige Typografie. Schriften lokal eingebunden (DSGVO-freundlich).
Version: 1.5.2
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: wasdutunkannst
*/

/* ---------- Fonts (lokal, OFL) ---------- */
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--bg: #0b0b0c;
	--bg-2: #151517;
	--bg-3: #1e1e21;
	--text: #f4efe6;
	--muted: #a7a197;
	--line: rgba(244, 239, 230, .12);
	--accent: #ff6a3d;
	--accent-soft: rgba(255, 106, 61, .16);
	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 64px);
	--radius: 14px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--card-w: clamp(240px, 23vw, 380px);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: 999px; }
.icon { flex: none; }
body.is-locked { overflow: hidden; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	margin: 0 0 1.2rem;
	font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	color: var(--muted);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow--link:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.pill {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .7em 1.2em;
	border: 1px solid var(--line); border-radius: 999px;
	background: transparent; color: var(--text);
	font: 600 .92rem/1 var(--sans); cursor: pointer;
	transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s;
}
.pill:hover { border-color: rgba(244, 239, 230, .4); transform: translateY(-1px); }
.pill--ghost { border-color: transparent; }
.pill--ghost:hover { background: rgba(244, 239, 230, .08); border-color: transparent; }
.pill--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill--solid:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.pill--glass { background: rgba(20, 20, 22, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(244, 239, 230, .25); }
.pill--lg { padding: 1em 1.6em; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 18px var(--gutter);
	transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
	border-bottom: 1px solid transparent;
	background: linear-gradient(to bottom, rgba(11, 11, 12, .7), transparent);
}
.site-header.is-scrolled {
	padding-block: 12px;
	background: rgba(11, 11, 12, .72);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-color: var(--line);
}
.brand { font: 500 clamp(1.15rem, 2vw, 1.45rem)/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand em { color: var(--accent); font-weight: 700; }
.brand__dot { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .35rem; }

.menu-toggle {
	display: inline-flex; align-items: center; gap: .7rem;
	padding: .6em .7em .6em 1.1em;
	border: 1px solid var(--line); border-radius: 999px;
	background: rgba(244, 239, 230, .06); color: var(--text);
	font: 600 .92rem/1 var(--sans); cursor: pointer;
	transition: background .3s var(--ease);
}
.menu-toggle:hover { background: rgba(244, 239, 230, .14); }
.menu-toggle__bars { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--text); }
.menu-toggle__bars i { position: absolute; left: 7px; right: 7px; height: 1.6px; background: var(--bg); transition: transform .4s var(--ease); }
.menu-toggle__bars i:first-child { top: 10px; }
.menu-toggle__bars i:last-child { top: 14.5px; }
.menu-toggle.is-open .menu-toggle__bars i:first-child { transform: translateY(2.25px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bars i:last-child { transform: translateY(-2.25px) rotate(-45deg); }

/* ---------- Overlay / Mega-Menü ---------- */
.overlay {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(11, 11, 12, .96);
	overflow-y: auto; overscroll-behavior: contain;
	opacity: 0; transition: opacity .45s var(--ease);
}
.overlay.is-open { opacity: 1; }
.overlay__bg {
	position: fixed; inset: 0; z-index: -1;
	background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.06);
	transition: opacity .7s var(--ease), transform 1.4s var(--ease);
	filter: saturate(1.1);
}
.overlay__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(11, 11, 12, .55), rgba(11, 11, 12, .92) 70%); }
.overlay__bg.is-visible { opacity: .55; transform: scale(1); }
.overlay__inner { min-height: 100%; display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 4rem); padding: 18px var(--gutter) 40px; }
.overlay__top { display: flex; align-items: center; gap: 1rem; }
.search {
	flex: 1; display: flex; align-items: center; gap: .8rem;
	padding: 0 1.2rem; border: 1px solid var(--line); border-radius: 999px;
	background: rgba(244, 239, 230, .05); color: var(--muted);
}
.search:focus-within { border-color: rgba(244, 239, 230, .4); color: var(--text); }
.search input { flex: 1; min-width: 0; padding: .95rem 0; border: 0; background: none; color: var(--text); font: 400 1.05rem var(--sans); outline: none; }
.search input::placeholder { color: var(--muted); }

.mega { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.mega__col { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.overlay.is-open .mega__col { opacity: 1; transform: none; }
.mega__head { display: block; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); letter-spacing: -.01em; }
.mega__head:hover { color: var(--accent); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mega li a { display: inline-block; padding: .28rem 0; color: var(--muted); font-size: .98rem; transition: color .25s, transform .35s var(--ease); }
.mega li a:hover, .mega li a:focus-visible { color: var(--text); transform: translateX(6px); }
.mega li a::before { content: "→"; display: inline-block; width: 0; opacity: 0; overflow: hidden; color: var(--accent); transition: width .35s var(--ease), opacity .25s; vertical-align: top; }
.mega li a:hover::before { width: 1.3em; opacity: 1; }
.overlay__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.overlay__pages, .site-footer__pages { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .92rem; }
.overlay__pages a:hover, .site-footer__pages a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px var(--gutter) clamp(90px, 12vh, 140px); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 28s ease-out both; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 12, .55) 38%, rgba(11, 11, 12, .1) 70%, rgba(11, 11, 12, .5) 100%),
		linear-gradient(to right, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .2) 60%, transparent 100%);
}
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero__content { max-width: 60rem; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }
.hero__content > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__claim { margin: 0 0 .4rem; font: italic 400 clamp(1.2rem, 2.2vw, 1.7rem)/1.2 var(--serif); color: var(--muted); }
.hero__claim em { color: var(--accent); font-weight: 700; }
.hero__title { margin: 0 0 1.4rem; font: 600 clamp(2.8rem, 7.4vw, 7.2rem)/.95 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.hero__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.hero__title a:hover { background-size: 100% 2px; }
.hero__excerpt { max-width: 38rem; margin: 0 0 2rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(244, 239, 230, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__meta { margin: 1.6rem 0 0; color: var(--muted); font-size: .88rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(244, 239, 230, .4); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scrollcue 2s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(1.2rem, 3vw, 2.2rem) 0; border-block: 1px solid var(--line); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 140s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { padding: 0 1.4rem; font: italic 400 clamp(1.8rem, 4.4vw, 3.8rem)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 230, .35); transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee span::after { content: "✦"; margin-left: 2.8rem; font-style: normal; font-size: .45em; vertical-align: middle; color: var(--accent); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Netflix-Reihen ---------- */
.rows { padding: clamp(2.5rem, 6vw, 5rem) 0 2rem; }
.rows--after { border-top: 1px solid var(--line); }
.row { margin-bottom: clamp(1.2rem, 3vw, 2.6rem); }
.row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter); }
.row__title { margin: 0; font: 500 clamp(1.45rem, 2.6vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.02em; }
.row__count { margin-left: .4rem; font: 600 .75rem/1 var(--sans); letter-spacing: .08em; color: var(--muted); vertical-align: middle; padding: .35em .6em; border: 1px solid var(--line); border-radius: 999px; }
.row__all { flex: none; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.row__all:hover { color: var(--accent); }
.row__viewport { position: relative; }
.row__track {
	display: flex; gap: clamp(10px, 1.2vw, 18px);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
	/* Platz, damit vergrößerte Karten nicht abgeschnitten werden */
	padding: clamp(28px, 3vw, 44px) var(--gutter) clamp(44px, 5vw, 70px);
	margin-bottom: calc(clamp(44px, 5vw, 70px) * -.6);
	scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }
.row__nav {
	position: absolute; z-index: 5; top: clamp(28px, 3vw, 44px); bottom: clamp(44px, 5vw, 70px);
	width: var(--gutter); min-width: 44px; border: 0; padding: 0;
	color: var(--text); font: 300 3rem/1 var(--sans); cursor: pointer;
	opacity: 0; transition: opacity .3s;
}
.row__nav--prev { left: 0; background: linear-gradient(to right, rgba(11, 11, 12, .9), transparent); }
.row__nav--next { right: 0; background: linear-gradient(to left, rgba(11, 11, 12, .9), transparent); }
.row__viewport:hover .row__nav, .row__nav:focus-visible { opacity: 1; }
.row__nav span { display: inline-block; transition: transform .3s var(--ease); }
.row__nav:hover span { transform: scale(1.35); }

/* ---------- Karten ---------- */
.card { position: relative; flex: 0 0 var(--card-w); scroll-snap-align: start; transition: transform .55s var(--ease), opacity .45s var(--ease); transform-origin: center; }
.card__link { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .55s var(--ease); }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 9, .92) 0%, rgba(8, 8, 9, .45) 45%, rgba(8, 8, 9, 0) 75%); transition: background .5s; }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font: italic 600 6rem/1 var(--serif); color: var(--accent); background: radial-gradient(circle at 30% 20%, var(--bg-3), var(--bg-2)); }
.card__body { position: absolute; inset: auto 0 0; padding: 1rem 1.1rem 1rem; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.card__kicker { display: block; margin-bottom: .3rem; font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card__title { margin: 0; font: 500 clamp(1.05rem, 1.35vw, 1.3rem)/1.18 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.card__more > div { overflow: hidden; }
.card__excerpt { margin: .45rem 0 .55rem; font-size: .8rem; line-height: 1.4; color: rgba(244, 239, 230, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; }
.card__cta .icon { width: 12px; height: 12px; color: var(--accent); }

@media (hover: hover) and (pointer: fine) {
	.row__track:hover .card:not(:hover) { opacity: .45; }
	.card:hover { transform: scale(1.14); z-index: 4; }
	.row__track .card:first-child { transform-origin: left center; }
	.row__track .card:last-child { transform-origin: right center; }
	.card:hover .card__link { box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 239, 230, .2); }
	.card:hover .card__media img { transform: scale(1.08); }
	.card:hover .card__media::after { background: linear-gradient(to top, rgba(8, 8, 9, .96) 0%, rgba(8, 8, 9, .6) 55%, rgba(8, 8, 9, .1) 100%); }
	.card:hover .card__more { grid-template-rows: 1fr; }
}
.card__link:focus-visible .card__more { grid-template-rows: 1fr; }

/* ---------- Manifest ---------- */
.manifesto { margin: clamp(2rem, 6vw, 5rem) var(--gutter); padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem); border-radius: calc(var(--radius) * 2); background: radial-gradient(120% 140% at 100% 0%, rgba(255, 106, 61, .22), transparent 55%), var(--bg-2); border: 1px solid var(--line); }
.manifesto__quote { margin: 0 0 1.8rem; max-width: 18ch; font: 500 clamp(2.2rem, 5.6vw, 5rem)/1.02 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.manifesto__quote em { color: var(--accent); }
.manifesto__text { max-width: 44rem; margin: 0 0 2rem; color: rgba(244, 239, 230, .78); font-size: 1.08rem; }

/* ---------- Artikel ---------- */
.entry__hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; padding: 140px var(--gutter) clamp(3rem, 7vw, 5.5rem); overflow: hidden; isolation: isolate; }
.entry__hero--plain { min-height: 60svh; }
.entry__media { position: absolute; inset: 0; z-index: -1; }
.entry__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; animation: kenburns 24s ease-out both; }
.entry__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, rgba(11, 11, 12, .55) 45%, rgba(11, 11, 12, .25) 75%, rgba(11, 11, 12, .55) 100%); }
.entry__head { max-width: 62rem; animation: rise 1s var(--ease) both; }
.entry__title { margin: 0 0 1.2rem; font: 600 clamp(2.4rem, 6.2vw, 6rem)/.98 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.entry__meta { margin: 0; color: var(--muted); font-size: .92rem; }
.entry__meta a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.entry__credit { position: absolute; right: var(--gutter); bottom: 1.2rem; margin: 0; font-size: .72rem; color: var(--muted); }
.entry__credit a { text-decoration: underline; text-underline-offset: 2px; }

.prose { max-width: 52rem; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) 2rem; font-size: clamp(1.04rem, 1.2vw, 1.15rem); line-height: 1.78; color: rgba(244, 239, 230, .9); overflow-wrap: break-word; }
.prose [data-lead] { font-size: 1.22em; line-height: 1.6; color: var(--text); }
.prose [data-lead]::first-letter { float: left; margin: .08em .12em 0 0; font: 600 3.6em/.82 var(--serif); color: var(--accent); }
.prose h2, .prose h3, .prose h4 { hyphens: auto; margin: 2.6em 0 .7em; font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.prose h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.prose h4 { font-size: 1.2rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3em; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s; }
.prose a:hover { color: var(--accent); }
.prose strong, .prose b { color: var(--text); font-weight: 650; }
/* Alte Beiträge: eingebettete Schriftgrößen und Editor-Wrapper neutralisieren. */
.prose [style*="font-size"] { font-size: inherit !important; }
.prose .content, .prose .ac-container, .prose .ac-textBlock { display: contents; }
.prose ul { padding-left: 1.2em; list-style: none; }
.prose ul li { position: relative; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: -1.1em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose .ad-note { margin: 1.6em 0; padding: .9em 1.1em; border: 1px solid var(--line); border-radius: var(--radius); font-size: .88em; line-height: 1.55; color: var(--muted); }
.prose blockquote { margin: 2.2em 0; padding: 0; font: italic 400 1.35em/1.45 var(--serif); color: var(--text); }
.prose blockquote::before { content: "„"; display: block; height: .55em; font: 600 2.6em/1 var(--serif); color: var(--accent); }
.prose img, .prose figure { margin: 2.2em auto; border-radius: var(--radius); }
.prose figcaption, .prose .wp-caption-text { margin-top: .6em; font-size: .8rem; color: var(--muted); text-align: center; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.prose hr { margin: 3em 0; border: 0; height: 1px; background: var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; }
.prose th, .prose td { padding: .7em .8em; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { max-width: 100%; }
.prose .wp-block-buttons a, .prose .wp-block-button__link { text-decoration: none; }

/* Formulare (z. B. Contact Form 7) */
.prose input:not([type=submit]):not([type=checkbox]):not([type=radio]), .prose textarea, .prose select {
	width: 100%; padding: .85em 1em; margin-top: .35em;
	border: 1px solid var(--line); border-radius: 10px;
	background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem;
	transition: border-color .25s, background .25s;
}
.prose input:focus, .prose textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.prose input[type=submit], .prose button[type=submit] { padding: .95em 1.8em; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 1rem var(--sans); cursor: pointer; transition: background .3s; }
.prose input[type=submit]:hover, .prose button[type=submit]:hover { background: var(--accent); color: #111; }

.entry__cta { max-width: 44rem; margin: 2rem auto clamp(3rem, 7vw, 6rem); padding: clamp(2rem, 5vw, 3rem) var(--gutter); text-align: center; }
.entry__cta-title { margin: 0 auto 1.8rem; max-width: 20ch; font: 500 clamp(1.8rem, 3.6vw, 2.8rem)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.entry__cta-title em { color: var(--accent); }

/* ---------- Archiv / Grid ---------- */
.archive-head { padding: clamp(130px, 18vw, 200px) var(--gutter) clamp(2rem, 4vw, 3rem); background: radial-gradient(90% 120% at 0% 0%, rgba(255, 106, 61, .14), transparent 60%); }
.archive-head__title { margin: 0; max-width: 18ch; font: 600 clamp(2.6rem, 7vw, 6.4rem)/.98 var(--serif); letter-spacing: -.035em; text-wrap: balance; animation: rise 1s var(--ease) both; }
.archive-head__desc { max-width: 42rem; margin-top: 1.4rem; color: rgba(244, 239, 230, .78); font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; transition: background .25s, border-color .25s; }
.chip span { color: var(--muted); font-size: .8em; }
.chip:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip:hover span { color: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 1.6vw, 24px); padding: clamp(1rem, 3vw, 2rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.grid .card { flex: none; }
@media (hover: hover) and (pointer: fine) {
	.grid .card:hover { transform: scale(1.05); }
	.grid:hover .card:not(:hover) { opacity: .55; }
}
.pager { display: flex; justify-content: center; gap: .4rem; padding: 0 var(--gutter) 4rem; }
.pager .page-numbers { min-width: 44px; padding: .6em .9em; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.pager .current, .pager a:hover { background: var(--text); color: var(--bg); }
.empty { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); text-align: center; color: var(--muted); }
.empty--404 { padding-top: clamp(140px, 20vw, 220px); }
.empty__code { margin: 0; font: italic 700 clamp(7rem, 26vw, 18rem)/.85 var(--serif); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.empty__big { margin: 0 0 1rem; font: 500 clamp(2rem, 4.5vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.02em; color: var(--text); }
.empty__big em { color: var(--accent); }
.empty .pill, .empty .hero__actions { margin-top: 1.5rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(4rem, 10vw, 8rem) var(--gutter) 2rem; background: radial-gradient(70% 90% at 50% 120%, rgba(255, 106, 61, .25), transparent 70%); }
.site-footer__claim { text-align: center; }
.site-footer__big { margin: 0 0 2.2rem; font: 600 clamp(3.4rem, 12vw, 11rem)/.9 var(--serif); letter-spacing: -.05em; }
.site-footer__big em { color: var(--accent); }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.site-footer__actions { justify-content: center; }
.site-footer__note { max-width: 30rem; margin: 1.4rem auto 0; color: var(--muted); font-size: .9rem; }

/* ---------- Unterstützen-Pop-up ---------- */
.support {
	position: fixed; z-index: 90; right: var(--gutter); bottom: 24px;
	width: min(400px, calc(100vw - 32px));
	padding: 1.6rem 1.6rem 1.4rem;
	border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4);
	background: radial-gradient(120% 120% at 100% 0%, rgba(255, 106, 61, .2), transparent 60%), var(--bg-2);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
	opacity: 0; transform: translateY(24px) scale(.98);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.support.is-open { opacity: 1; transform: none; }
.support .eyebrow { margin-bottom: .8rem; }
.support__title { margin: 0 0 .6rem; font: 500 1.7rem/1.1 var(--serif); letter-spacing: -.02em; }
.support__title em { color: var(--accent); }
.support__text { margin: 0 0 1.3rem; color: rgba(244, 239, 230, .8); font-size: .95rem; line-height: 1.55; }
.support__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.support__close { position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.support__close:hover { background: rgba(244, 239, 230, .08); color: var(--text); }
@media (max-width: 700px) { .support { right: 16px; bottom: 16px; } }

/* ---------- Ko-fi-Fenster ---------- */
.kofi { width: min(440px, calc(100vw - 32px)); height: min(720px, calc(100svh - 32px)); padding: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); background: var(--bg-2); color: var(--text); overflow: hidden; }
.kofi[open] { display: flex; flex-direction: column; animation: rise .5s var(--ease) both; }
.kofi::backdrop { background: rgba(8, 8, 9, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kofi__bar { display: flex; align-items: center; justify-content: space-between; padding: .6rem .6rem .6rem 1.2rem; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kofi__bar .support__close { position: static; }
.kofi__help { margin: 0; padding: 0 1.2rem .8rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.kofi__frame { flex: 1; background: #f9f9f9; }
.kofi__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.kofi__fallback { padding: .8rem 1.2rem; font-size: .85rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.kofi__fallback:hover { color: var(--text); }

/* ---------- Lesefortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
body:not(.single) .progress { display: none; }

/* ---------- Scroll-Reveal (nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
	:root { --card-w: 74vw; }
	.hide-sm { display: none; }
	.menu-toggle__label { display: none; }
	.menu-toggle { padding: .45em; }
	.hero { padding-bottom: 96px; }
	.hero__actions .pill { flex: 1 1 auto; justify-content: center; }
	.row__nav { display: none; }
	.entry__credit { position: static; padding: 0 var(--gutter); margin-top: -1.5rem; }
	.entry__hero { flex-wrap: wrap; }
	.prose [data-lead]::first-letter { font-size: 3em; }
}

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