/* =========================================================================
   ausmalfotos.de — main.css
   Designs-System + Section-Styles für das Child-Theme.
   Strukturiert nach: Tokens → Base → Atoms → Header/Footer → Sections.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------------------- */
:root {
	/* Grüns (Brand) */
	--af-green:        #2e7d32;
	--af-green-dark:   #1b5e20;
	--af-green-tint:   #c8e6c9;
	--af-green-wash:   #f0faf0;

	/* Warme Neutrale */
	--af-cream:        #faf7f2;
	--af-cream-deep:   #f3ede0;
	--af-paper:        #ffffff;
	--af-ink:          #1a1a1a;
	--af-ink-soft:     #3a3a3a;
	--af-muted:        #5c5c5c;
	--af-hairline:     #e8e2d6;
	--af-hairline-2:   #efe9dd;

	/* Typo */
	--af-f-serif:      'Newsreader', 'Iowan Old Style', Georgia, serif;
	--af-f-sans:       'Figtree', ui-sans-serif, system-ui, -apple-system, sans-serif;

	/* Radien */
	--af-r-sm:  10px;
	--af-r-md:  16px;
	--af-r-lg:  24px;
	--af-r-pill: 999px;

	/* Layout */
	--af-wrap:   1240px;
	--af-gutter: 64px;
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
.af-page,
.af-page * { box-sizing: border-box; }

.af-page {
	font-family: var(--af-f-sans);
	font-size: 17px;
	line-height: 1.5;
	color: var(--af-ink);
	background: var(--af-cream);
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

.af-page img,
.af-page svg { display: block; max-width: 100%; }

.af-page a { color: inherit; }

.af-page ::selection { background: var(--af-green-tint); color: var(--af-green-dark); }

.af-skip-link {
	position: absolute; top: 0; left: 0;
	background: var(--af-ink); color: #fff;
	padding: 8px 14px; font-size: 14px;
	transform: translateY(-200%);
	transition: transform .2s;
	z-index: 999;
}
.af-skip-link:focus { transform: translateY(0); }

/* -------------------------------------------------------------------------
   3. Typography utilities
   ------------------------------------------------------------------------- */
.af-h-hero {
	font-family: var(--af-f-serif);
	font-weight: 400;
	font-size: clamp(44px, 6vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 18px 0 22px;
	color: var(--af-ink);
}

.af-h-1 {
	font-family: var(--af-f-serif);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 14px 0 0;
	color: var(--af-ink);
}

.af-h-3-serif {
	font-family: var(--af-f-serif);
	font-weight: 500;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
}

.af-lede {
	font-size: 19px;
	line-height: 1.55;
	color: var(--af-ink-soft);
	max-width: 480px;
	margin: 16px 0 0;
}

.af-body-muted {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--af-muted);
	margin: 0;
	max-width: 360px;
}

.af-accent {
	font-style: italic;
	font-weight: 400;
	color: var(--af-green);
}

.af-link-underline {
	font-size: 14px;
	color: var(--af-green);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--af-green);
	padding-bottom: 2px;
	display: inline-block;
}

/* -------------------------------------------------------------------------
   4. Atoms — Eyebrow, Stars, Tag, Tick, Buttons
   ------------------------------------------------------------------------- */
.af-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--af-green);
}
.af-eyebrow--light { color: rgba(255,255,255,0.7); }
.af-eyebrow__dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px rgba(46,125,50,0.18);
}
.af-eyebrow--light .af-eyebrow__dot { box-shadow: 0 0 0 3px rgba(255,255,255,0.18); }

.af-stars { display: inline-flex; align-items: center; gap: 8px; color: var(--af-muted); font-size: 13.5px; }
.af-stars__icons { color: var(--af-green); font-size: 15px; letter-spacing: 1px; }
.af-stars strong { color: var(--af-ink); }

.af-tag {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
}
.af-tag--frei,
.af-tag--beliebt { color: var(--af-green-dark); background: var(--af-green-wash); }
.af-tag--neu     { color: #a87528;            background: #fdf3df; }

.af-tick { color: var(--af-green); margin-top: 2px; }

/* Buttons */
.af-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 28px;
	font-family: var(--af-f-sans);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--af-r-pill);
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .15s, color .15s, transform .12s, box-shadow .15s;
	white-space: nowrap;
}
.af-btn:active { transform: translateY(1px); }

.af-btn--primary {
	background: var(--af-green) !important;
	color: #fff !important;
	box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px rgba(46,125,50,.25);
}
.af-btn--primary:hover { background: var(--af-green-dark); }

.af-btn--ghost {
	background: transparent;
	color: var(--af-ink);
	border-color: var(--af-hairline);
}
.af-btn--ghost:hover { background: var(--af-paper); border-color: var(--af-ink); }

.af-btn--inverted {
	background: var(--af-ink);
	color: #fff;
	padding: 14px 22px;
	font-size: 15px;
}
.af-btn--inverted:hover { background: var(--af-green); }

.af-btn--ghost-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.4);
}
.af-btn--ghost-light:hover { background: rgba(255,255,255,.08); }

/* -------------------------------------------------------------------------
   5. Placeholders + Coloring page mockup
   Wenn echte Bilder vorhanden sind, einfach <img> einsetzen — die
   af-placeholder-Klassen sind dafür da, dass die Seite vorher schon gut
   aussieht.
   ------------------------------------------------------------------------- */
.af-placeholder {
	position: relative;
	width: 100%; height: 100%;
	border-radius: var(--af-r-sm);
	overflow: hidden;
	background-image: repeating-linear-gradient(
		135deg,
		var(--af-ph-a, #f0e9d8) 0 14px,
		var(--af-ph-b, #e6dcc4) 14px 28px
	);
}
.af-placeholder__label {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11.5px;
	letter-spacing: 0.04em;
	color: var(--af-ph-text, #86714a);
	text-align: center;
	padding: 16px;
}
.af-placeholder__label::before { content: '[ '; }
.af-placeholder__label::after  { content: ' ]'; }

.af-placeholder--warm  { --af-ph-a: #f0e9d8; --af-ph-b: #e6dcc4; --af-ph-text: #86714a; }
.af-placeholder--green { --af-ph-a: #d8e9d8; --af-ph-b: #c4dcc4; --af-ph-text: #3d6b3d; }
.af-placeholder--photo { --af-ph-a: #dfd6c2; --af-ph-b: #cfc3a8; --af-ph-text: #7a6643; }
.af-placeholder--paper { --af-ph-a: #ffffff; --af-ph-b: #f6f1e6; --af-ph-text: #9d8a63; }

/* Coloring page sheet mockup — papierige Karte mit Linien-Andeutung. */
.af-coloring-page {
	position: relative;
	background: #fff;
	border: 1px solid var(--af-hairline-2);
	border-radius: 6px;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px -18px rgba(0,0,0,.25);
	aspect-ratio: 3 / 4;
	overflow: hidden;
}
.af-coloring-page__inner {
	position: absolute;
	inset: 14px;
	border: 1px solid var(--af-hairline-2);
	border-radius: 3px;
	background:
		repeating-linear-gradient(135deg, var(--af-hairline-2) 0 1px, transparent 1px 16px),
		repeating-linear-gradient(45deg,  var(--af-hairline-2) 0 1px, transparent 1px 22px),
		radial-gradient(120% 80% at 30% 20%, var(--af-green-wash) 0%, transparent 60%);
}
.af-coloring-page__footer {
	position: absolute;
	left: 14px; right: 14px; bottom: 14px;
	display: flex; justify-content: space-between; align-items: center;
	font-family: 'JetBrains Mono', monospace;
	font-size: 9.5px;
	color: #a08c5d;
}

/* -------------------------------------------------------------------------
   6. Site Header
   ------------------------------------------------------------------------- */
.af-header { padding: 0; background: rgba(250,247,242,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--af-hairline); }
.af-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 20px var(--af-gutter);
	max-width: var(--af-wrap);
	margin: 0 auto;
}

.af-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--af-ink);
	font-family: var(--af-f-sans);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: -0.02em;
}
.af-logo--light { color: #fff; }

/* Header logo: cap at 50% of original 500px */
.af-header .custom-logo-link img.custom-logo,
.af-header .af-logo img {
	max-height: 59px;
	width: auto;
	height: auto;
}
.af-logo__mark { display: inline-flex; }
.af-logo__tld { color: var(--af-muted); font-weight: 500; }

.af-nav { display: flex; flex: 1; justify-content: center; }
.af-nav__list {
	display: flex; gap: 32px;
	list-style: none; padding: 0; margin: 0;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--af-ink-soft);
}
.af-nav__list a { text-decoration: none; }
.af-nav__list a:hover { color: var(--af-green); }

.af-header__actions { display: flex; align-items: center; gap: 18px; }
.af-header__actions .af-btn { padding: 11px 20px; font-size: 14.5px; }
.af-header__signin {
	font-size: 14px;
	color: var(--af-muted);
	text-decoration: none;
}
.af-header__signin:hover { color: var(--af-ink); }

.af-header__burger {
	display: none;
	background: transparent; border: 0;
	width: 38px; height: 38px;
	padding: 0; cursor: pointer;
}
.af-header__burger span {
	display: block; height: 2px; background: var(--af-ink); margin: 5px auto; width: 22px;
}

/* -------------------------------------------------------------------------
   7. Section system
   ------------------------------------------------------------------------- */
.af-section {
	padding: 0 var(--af-gutter) 112px;
	max-width: var(--af-wrap);
	margin: 0 auto;
}

.af-section__head--center { text-align: center; margin-bottom: 56px; }
.af-section__head--split {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 32px; margin-bottom: 48px;
}
.af-section__head-aside {
	font-size: 16px; color: var(--af-muted);
	max-width: 340px; margin: 0; line-height: 1.55;
}

/* -------------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------------- */
.af-hero { padding-top: 64px; padding-bottom: 96px; }
.af-hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}

.af-hero__cta {
	display: flex; gap: 14px; align-items: center;
	margin-top: 36px;
}
.af-hero__cta .af-btn--ghost { padding: 16px 24px; }

.af-hero__meta {
	display: flex; align-items: center; gap: 24px;
	margin-top: 36px;
	font-size: 13.5px; color: var(--af-muted);
}
.af-hero__meta-sep { width: 1px; height: 16px; background: var(--af-hairline); }

.af-hero__visual { position: relative; height: 540px; }
.af-hero__photo {
	position: absolute; top: 0; left: 0;
	width: 62%; aspect-ratio: 4/5;
	transform: rotate(-2deg);
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
	border-radius: 8px; height: auto;
}
.af-hero__drawing {
	position: absolute; bottom: 0; right: 0;
	width: 62%; aspect-ratio: 4/5;
	transform: rotate(3deg);
}
.af-hero__arrow {
	position: absolute; top: 38%; left: 42%;
	width: 65px; height: auto;
	z-index: 2;
	pointer-events: none;
	transform: rotate(130deg) scaleY(-1) scaleX(-1);
}
.af-hero__arrow svg {
	width: 100%; height: 100%;
	filter: drop-shadow(1px 2px 4px rgba(0,0,0,.12));
}

/* -------------------------------------------------------------------------
   9. Trust band
   ------------------------------------------------------------------------- */
.af-trust { padding-bottom: 64px; }
.af-trust__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px;
	padding: 28px 0;
	border-top: 1px solid var(--af-hairline);
	border-bottom: 1px solid var(--af-hairline);
}
.af-trust__label { font-size: 12.5px; color: var(--af-muted); font-weight: 500; white-space: nowrap; }
.af-trust__logo {
	font-family: var(--af-f-serif);
	font-style: italic;
	font-size: 18px;
	color: var(--af-muted);
	letter-spacing: 0.02em;
	opacity: 0.85;
}

/* -------------------------------------------------------------------------
   10. Process (V1 — Bildkarten mit Italic-Nummer-Badge)
   ------------------------------------------------------------------------- */
.af-process__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	list-style: none; padding: 0; margin: 0;
}
.af-process__image-wrap {
	position: relative;
	aspect-ratio: 4 / 3;
	margin-bottom: 24px;
}
.af-process__badge {
	position: absolute; top: 16px; left: 16px;
	background: #fff;
	font-family: var(--af-f-serif);
	font-style: italic;
	font-size: 22px;
	color: var(--af-green);
	padding: 6px 14px;
	border-radius: var(--af-r-pill);
}

/* -------------------------------------------------------------------------
   11. Feature Grid
   ------------------------------------------------------------------------- */
.af-features__panel {
	background: var(--af-green-wash);
	border-radius: var(--af-r-lg);
	padding: 72px var(--af-gutter);
}
.af-features__head { max-width: 760px; margin-bottom: 56px; text-align: left; }
.af-features__head .af-lede { max-width: 620px; }
.af-features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--af-hairline-2);
	border-radius: var(--af-r-md);
	overflow: hidden;
	list-style: none; padding: 0; margin: 0;
}
.af-feature {
	background: #fff;
	padding: 32px 26px;
	min-height: 220px;
	display: flex; flex-direction: column; justify-content: space-between;
}
.af-feature__icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: var(--af-green-wash);
	border: 1px solid var(--af-green-tint);
	display: grid; place-items: center;
	font-family: var(--af-f-serif);
	font-style: italic;
	font-size: 22px;
	color: var(--af-green);
	margin-bottom: 24px;
}
.af-feature__title-row {
	display: flex; align-items: baseline; gap: 10px;
	margin-bottom: 8px;
}
.af-feature__title {
	font-family: var(--af-f-serif);
	font-weight: 500;
	font-size: 19px;
	letter-spacing: -0.01em;
	margin: 0;
}
.af-feature__body-text {
	font-size: 14px; line-height: 1.5;
	color: var(--af-muted);
	margin: 0;
}

/* -------------------------------------------------------------------------
   12. Before / After
   ------------------------------------------------------------------------- */
.af-ba-section__inner {
	display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
	align-items: center;
}
.af-ba-section__points {
	list-style: none; padding: 0; margin: 0 0 32px;
	display: flex; flex-direction: column; gap: 12px;
}
.af-ba-section__points li {
	display: flex; gap: 12px;
	font-size: 15.5px; color: var(--af-ink-soft);
}

.af-ba {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--af-r-md);
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.3);
	--ba-pct: 50%;
	cursor: col-resize;
	user-select: none;
	-webkit-user-select: none;
}
.af-ba__layer { position: absolute; inset: 0; pointer-events: none; }
.af-ba__layer--photo { z-index: 1; }
.af-ba__layer--drawing {
	clip-path: polygon(var(--ba-pct) 0, 100% 0, 100% 100%, var(--ba-pct) 100%);
	background: #fff;
	z-index: 2;
}
.af-ba__drawing-art {
	position: absolute;
	inset: 12% 16% 14% 56%;
	background:
		repeating-linear-gradient(135deg, var(--af-hairline-2) 0 1px, transparent 1px 14px),
		repeating-linear-gradient(45deg,  var(--af-hairline-2) 0 1px, transparent 1px 20px);
	border-radius: 4px;
}
.af-ba__layer--drawing img,
.af-ba__layer--photo img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.af-ba__divider {
	position: absolute; top: 0; bottom: 0; left: var(--ba-pct);
	transform: translateX(-50%);
	width: 2px; background: #fff;
	z-index: 3;
	pointer-events: none;
}
.af-ba__handle {
	position: absolute; top: 50%; left: var(--ba-pct);
	transform: translate(-50%, -50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: #fff; color: var(--af-ink);
	display: grid; place-items: center; font-size: 16px;
	box-shadow: 0 4px 16px rgba(0,0,0,.2);
	z-index: 4;
	pointer-events: none;
	transition: transform .1s;
}
.af-ba__chip {
	position: absolute; top: 20px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
	padding: 6px 12px; border-radius: var(--af-r-pill);
}
.af-ba__chip--before { left: 24px;  color: #fff;             background: rgba(0,0,0,.4); }
.af-ba__chip--after  { right: 24px; color: var(--af-green);  background: rgba(255,255,255,.95); }

/* -------------------------------------------------------------------------
   13. Use cases (Geschenkideen)
   ------------------------------------------------------------------------- */
.af-cases__grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	list-style: none; padding: 0; margin: 0;
}
.af-case { display: block; text-decoration: none; color: inherit; }
.af-case__image {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 18px;
}
.af-case__pill {
	position: absolute; bottom: 16px; left: 16px;
	background: #fff;
	padding: 8px 14px;
	border-radius: var(--af-r-pill);
	font-family: var(--af-f-serif);
	font-style: italic;
	font-size: 16px;
}
.af-case__body { font-size: 15px; line-height: 1.5; color: var(--af-ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   14. FAQ
   ------------------------------------------------------------------------- */
.af-faq__inner {
	display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
}
.af-faq__intro .af-h-1 { margin-bottom: 22px; }
.af-faq__intro .af-body-muted { max-width: 320px; margin: 0 0 28px; }

.af-faq__list { display: flex; flex-direction: column; }

.af-faq__item {
	border-bottom: 1px solid var(--af-hairline);
	padding: 24px 0;
}
.af-faq__item:first-child { border-top: 1px solid var(--af-hairline); }

.af-faq__q {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	cursor: pointer;
	font-family: var(--af-f-serif);
	font-weight: 500;
	font-size: 21px;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--af-ink);
}
.af-faq__q::-webkit-details-marker { display: none; }
.af-faq__q::marker { display: none; }

.af-faq__icon {
	flex-shrink: 0;
	width: 16px; height: 16px;
	position: relative;
}
.af-faq__icon::before,
.af-faq__icon::after {
	content: ''; position: absolute;
	background: var(--af-muted);
	transition: transform .2s ease, opacity .2s ease;
}
.af-faq__icon::before { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.af-faq__icon::after  { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.af-faq__item[open] .af-faq__icon::after { transform: scaleY(0); opacity: 0; }

.af-faq__a {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--af-ink-soft);
	margin: 14px 0 0;
	max-width: 620px;
}

/* -------------------------------------------------------------------------
   15. Final CTA
   ------------------------------------------------------------------------- */
.af-final { padding-bottom: 112px; }
.af-final__panel {
	background: var(--af-green);
	border-radius: var(--af-r-lg);
	padding: 88px var(--af-gutter);
	color: #fff;
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 64px; align-items: center;
	position: relative; overflow: hidden;
}
.af-final__bg {
	position: absolute;
	top: -120px; right: -80px;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: rgba(255,255,255,0.07);
	pointer-events: none;
}
.af-final__copy { position: relative; }
.af-final__heading { color: #fff; font-size: clamp(36px, 5vw, 64px); margin: 14px 0 22px; }
.af-final__lede {
	font-size: 18px; line-height: 1.55;
	color: rgba(255,255,255,0.85);
	max-width: 460px; margin: 0 0 32px;
}
.af-final__cta { display: flex; gap: 14px; }
.af-final__cta .af-btn--inverted { background: #fff; color: var(--af-green); }
.af-final__cta .af-btn--inverted:hover { background: var(--af-cream); }

.af-final__visual { position: relative; }
.af-final__page { background: #fff; }
.af-final .af-coloring-page__inner {
	background:
		repeating-linear-gradient(135deg, var(--af-hairline-2) 0 1px, transparent 1px 16px),
		repeating-linear-gradient(45deg,  var(--af-hairline-2) 0 1px, transparent 1px 22px),
		radial-gradient(120% 80% at 30% 20%, var(--af-green-wash) 0%, transparent 60%);
}

/* -------------------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------------------- */
.af-footer {
	background: var(--af-cream);
	border-top: 1px solid var(--af-hairline);
	padding: 72px var(--af-gutter) 36px;
}
.af-footer__inner {
	max-width: var(--af-wrap);
	margin: 0 auto 56px;
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 48px;
}
.af-footer__brand .af-footer__tagline {
	margin-top: 18px;
	font-size: 14px; line-height: 1.6;
	color: var(--af-muted);
	max-width: 240px;
}
.af-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.af-footer__social-link {
	width: 34px; height: 34px; border-radius: 50%;
	background: #fff;
	border: 1px solid var(--af-hairline);
	display: grid; place-items: center;
	font-size: 11px; font-weight: 600;
	color: var(--af-muted);
	text-decoration: none;
}
.af-footer__heading {
	font-size: 11px; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--af-ink);
	margin: 0 0 18px;
}
.af-footer__list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: 11px;
}
.af-footer__list a { font-size: 14px; color: var(--af-muted); text-decoration: none; }
.af-footer__list a:hover { color: var(--af-ink); }

.af-footer__bottom {
	max-width: var(--af-wrap);
	margin: 0 auto;
	padding-top: 28px;
	border-top: 1px solid var(--af-hairline);
	display: flex; justify-content: space-between; align-items: center;
	font-size: 13px; color: var(--af-muted);
}
.af-footer__legal-list,
.af-footer__legal .menu {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 24px;
}
.af-footer__legal a { color: inherit; text-decoration: none; }
.af-footer__legal a:hover { color: var(--af-ink); }

/* -------------------------------------------------------------------------
   17. Responsive — Tablet + Mobile
   Vereinfacht, kann von Claude Code verfeinert werden.
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	:root { --af-gutter: 40px; }
	.af-features__grid { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------------------------
   18. Page Header (small hero for non-home pages)
   ------------------------------------------------------------------------- */
.af-page-header { padding: 56px var(--af-gutter) 64px; max-width: var(--af-wrap); margin: 0 auto; }
.af-page-header--center { text-align: center; }
.af-page-header--center .af-lede { margin-left: auto; margin-right: auto; }
.af-page-header__crumbs {
	display: flex; gap: 10px; font-size: 13px; color: var(--af-muted);
	margin-bottom: 18px; align-items: center;
}
.af-page-header__crumbs a { text-decoration: none; color: inherit; }
.af-page-header__crumbs a:hover { color: var(--af-green); }
.af-page-header__crumbs span[aria-hidden] { color: var(--af-hairline); }

/* -------------------------------------------------------------------------
   19. Occasion Landing
   ------------------------------------------------------------------------- */
.af-occasion-hero { padding-top: 48px; padding-bottom: 88px; }
.af-occasion-hero__inner {
	display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.af-occasion-hero__copy .af-h-hero { font-size: clamp(40px, 5.4vw, 72px); }
.af-occasion-hero__visual {
	position: relative; aspect-ratio: 4 / 5;
	border-radius: var(--af-r-md); overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.3);
}
.af-occasion-hero__pill {
	position: absolute; top: 24px; left: 24px;
	background: rgba(255,255,255,.95);
	padding: 8px 14px; border-radius: var(--af-r-pill);
	font-family: var(--af-f-serif); font-style: italic; font-size: 15px;
	color: var(--af-ink);
}

.af-benefits {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; background: var(--af-hairline-2);
	border-radius: var(--af-r-md); overflow: hidden;
	list-style: none; padding: 0; margin: 0;
}
.af-benefit { background: var(--af-paper); padding: 32px 28px; }
.af-benefit__num {
	font-family: var(--af-f-serif); font-style: italic; font-size: 28px;
	color: var(--af-green); margin-bottom: 12px;
}
.af-benefit__title { font-family: var(--af-f-serif); font-weight: 500; font-size: 21px; margin: 0 0 8px; letter-spacing: -0.01em; }
.af-benefit__body { font-size: 14.5px; line-height: 1.55; color: var(--af-muted); margin: 0; }

.af-price-teaser {
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; padding: 32px var(--af-gutter);
	background: var(--af-cream-deep);
	border-radius: var(--af-r-md);
	max-width: var(--af-wrap); margin: 0 auto 112px;
}
.af-price-teaser__copy { font-size: 15px; color: var(--af-muted); max-width: 460px; }
.af-price-teaser__price { font-family: var(--af-f-serif); font-size: 36px; letter-spacing: -0.01em; color: var(--af-ink); }
.af-price-teaser__price em { font-style: normal; color: var(--af-green); }

/* -------------------------------------------------------------------------
   20. Pricing
   ------------------------------------------------------------------------- */
.af-plans {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
	max-width: 960px; margin: 0 auto;
}
.af-plan {
	background: var(--af-paper); border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-md); padding: 40px 36px;
	display: flex; flex-direction: column; gap: 22px;
	position: relative;
}
.af-plan--featured {
	border-color: var(--af-green);
	box-shadow: 0 24px 60px -28px rgba(46,125,50,.4);
	background: linear-gradient(180deg, #fff, var(--af-green-wash));
}
.af-plan__pop {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--af-green); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	padding: 5px 12px; border-radius: var(--af-r-pill);
}
.af-plan__head { border-bottom: 1px solid var(--af-hairline); padding-bottom: 22px; }
.af-plan__name { font-family: var(--af-f-serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.af-plan__tag { font-size: 14px; color: var(--af-muted); margin: 0; }
.af-plan__price {
	font-family: var(--af-f-serif); font-weight: 400;
	font-size: 56px; line-height: 1; letter-spacing: -0.02em;
	color: var(--af-ink); margin: 12px 0 4px;
}
.af-plan__price-unit { font-size: 14px; color: var(--af-muted); }
.af-plan__price-strike { font-size: 18px; color: var(--af-muted); text-decoration: line-through; margin-right: 8px; }
.af-plan__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.af-plan__list li { display: flex; gap: 12px; font-size: 15px; color: var(--af-ink-soft); }
.af-plan__list .af-tick { color: var(--af-green); flex-shrink: 0; }
.af-plan__list li.af-plan__list-off { color: var(--af-muted); }
.af-plan__list li.af-plan__list-off .af-tick { color: var(--af-hairline); }
.af-plan .af-btn { width: 100%; justify-content: center; }

.af-guarantee {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 32px; padding: 48px var(--af-gutter);
	background: var(--af-paper);
	border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-md);
	max-width: var(--af-wrap); margin: 0 auto 112px;
}
.af-guarantee__item { display: flex; gap: 18px; align-items: flex-start; }
.af-guarantee__icon {
	width: 44px; height: 44px; flex-shrink: 0;
	border-radius: 50%; background: var(--af-green-wash);
	border: 1px solid var(--af-green-tint);
	display: grid; place-items: center; font-size: 18px; color: var(--af-green);
}
.af-guarantee__title { font-family: var(--af-f-serif); font-size: 18px; margin: 0 0 4px; }
.af-guarantee__body { font-size: 14px; line-height: 1.55; color: var(--af-muted); margin: 0; }

/* -------------------------------------------------------------------------
   21. Blog (home.php + single-post.php)
   ------------------------------------------------------------------------- */
.af-blog-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
	list-style: none; padding: 0; margin: 0;
}
.af-card { display: block; text-decoration: none; color: inherit; }
.af-card__thumb {
	aspect-ratio: 4 / 3; border-radius: var(--af-r-sm);
	overflow: hidden; margin-bottom: 18px;
}
.af-card__meta {
	display: flex; gap: 10px; align-items: center;
	font-size: 12px; color: var(--af-muted); margin-bottom: 8px;
	font-weight: 500;
}
.af-card__cat {
	color: var(--af-green); text-transform: uppercase;
	letter-spacing: 0.1em; font-weight: 600; font-size: 11px;
}
.af-card__meta-sep { color: var(--af-hairline); }
.af-card__title {
	font-family: var(--af-f-serif); font-weight: 500;
	font-size: 22px; line-height: 1.25; letter-spacing: -0.01em;
	margin: 0 0 8px; color: var(--af-ink);
}
.af-card__excerpt { font-size: 14.5px; line-height: 1.5; color: var(--af-muted); margin: 0; max-width: 340px; }

.af-blog-featured {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
	margin-bottom: 72px; align-items: center;
}
.af-blog-featured__thumb { aspect-ratio: 4 / 3; border-radius: var(--af-r-md); overflow: hidden; }
.af-blog-featured .af-card__title { font-size: 36px; line-height: 1.1; }
.af-blog-featured .af-card__excerpt { font-size: 16px; max-width: 460px; }

.af-pagination {
	display: flex; gap: 10px; justify-content: center;
	margin-top: 64px;
}
.af-pagination a, .af-pagination span {
	display: inline-grid; place-items: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border: 1px solid var(--af-hairline); border-radius: var(--af-r-sm);
	font-size: 14px; font-weight: 500;
	text-decoration: none; color: var(--af-ink-soft); background: #fff;
}
.af-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.af-pagination a:hover { border-color: var(--af-ink); }
.af-pagination .current { background: var(--af-ink); color: #fff; border-color: var(--af-ink); }

.af-article {
	max-width: 720px; margin: 0 auto;
	padding: 0 var(--af-gutter) 96px;
}
.af-article__head { text-align: center; padding: 24px 0 48px; }
.af-article__head .af-card__meta { justify-content: center; }
.af-article__title { font-family: var(--af-f-serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 18px; }
.af-article__excerpt { font-size: 19px; line-height: 1.55; color: var(--af-ink-soft); margin: 0 auto; max-width: 560px; }
.af-article__hero { aspect-ratio: 16/9; border-radius: var(--af-r-md); overflow: hidden; margin-bottom: 56px; }
.af-article__body { font-size: 17.5px; line-height: 1.75; color: var(--af-ink); }
.af-article__body > * { margin: 0 0 24px; }
.af-article__body h2 { font-family: var(--af-f-serif); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; margin-top: 48px; }
.af-article__body h3 { font-family: var(--af-f-serif); font-weight: 500; font-size: 22px; margin-top: 36px; }
.af-article__body p { color: var(--af-ink-soft); }
.af-article__body blockquote {
	border-left: 3px solid var(--af-green);
	padding-left: 24px; margin: 32px 0;
	font-family: var(--af-f-serif); font-style: italic;
	font-size: 22px; line-height: 1.4; color: var(--af-ink);
}
.af-article__body ul, .af-article__body ol { padding-left: 24px; }
.af-article__body li { margin-bottom: 8px; color: var(--af-ink-soft); }
.af-article__body a { color: var(--af-green); border-bottom: 1px solid var(--af-green-tint); text-decoration: none; }
.af-article__body img { border-radius: var(--af-r-sm); }

.af-author {
	display: flex; gap: 16px; align-items: center;
	margin-top: 56px; padding: 24px;
	border: 1px solid var(--af-hairline); border-radius: var(--af-r-md);
	background: var(--af-paper);
}
.af-author__avatar {
	width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
	background: var(--af-green-wash); flex-shrink: 0;
}
.af-author__name { font-weight: 600; margin: 0; font-size: 15px; }
.af-author__bio { font-size: 13.5px; color: var(--af-muted); margin: 4px 0 0; }

.af-related {
	max-width: var(--af-wrap); margin: 0 auto;
	padding: 0 var(--af-gutter) 96px;
}
.af-related__head { margin-bottom: 32px; }

/* -------------------------------------------------------------------------
   22. Library (page-ausmalbilder + single-ausmalbild)
   ------------------------------------------------------------------------- */
.af-library-toolbar {
	display: flex; gap: 24px; align-items: center; justify-content: space-between;
	max-width: var(--af-wrap); margin: 0 auto 32px;
	padding: 0 var(--af-gutter); flex-wrap: wrap;
}
.af-library-toolbar__count { font-size: 14px; color: var(--af-muted); }
.af-library-search {
	display: flex; align-items: center; gap: 10px;
	background: var(--af-paper); border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-pill); padding: 8px 18px;
	min-width: 280px;
}
.af-library-search input {
	border: 0; outline: 0; background: transparent;
	font-family: inherit; font-size: 14.5px; color: var(--af-ink);
	width: 100%;
}
.af-library-search input::placeholder { color: var(--af-muted); }

.af-chips {
	display: flex; gap: 8px; flex-wrap: wrap;
	max-width: var(--af-wrap); margin: 0 auto 40px;
	padding: 0 var(--af-gutter);
}
.af-chip {
	background: var(--af-paper); border: 1px solid var(--af-hairline);
	padding: 8px 16px; border-radius: var(--af-r-pill);
	font-size: 13.5px; font-weight: 500; color: var(--af-ink-soft);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.af-chip:hover { border-color: var(--af-ink); }
.af-chip.is-active { background: var(--af-ink); color: #fff; border-color: var(--af-ink); }
.af-chip__count { color: var(--af-muted); margin-left: 4px; font-weight: 400; }
.af-chip.is-active .af-chip__count { color: rgba(255,255,255,.7); }

.af-library-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	max-width: var(--af-wrap); margin: 0 auto;
	padding: 0 var(--af-gutter);
	list-style: none;
}
.af-library-item { background: transparent; }
.af-library-item__sheet {
	position: relative; display: block; text-decoration: none; color: inherit;
	margin-bottom: 14px;
}
.af-library-item__sheet:hover .af-library-item__hover { opacity: 1; }
.af-library-item__hover {
	position: absolute; inset: 0;
	background: rgba(26,26,26,.7); color: #fff;
	display: grid; place-items: center;
	font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
	opacity: 0; transition: opacity .2s;
	border-radius: 6px;
}
.af-library-item__title { font-family: var(--af-f-serif); font-size: 16px; margin: 0 0 2px; }
.af-library-item__cat { font-size: 12px; color: var(--af-muted); }
.af-library-item.is-hidden { display: none; }

.af-library-empty {
	max-width: 480px; margin: 64px auto;
	padding: 0 var(--af-gutter); text-align: center;
	color: var(--af-muted); font-size: 15px;
	display: none;
}
.af-library-grid.is-empty + .af-library-empty { display: block; }

/* Single ausmalbild */
.af-ausmalbild { max-width: var(--af-wrap); margin: 0 auto; padding: 24px var(--af-gutter) 96px; }
.af-ausmalbild__layout {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
	align-items: start;
}
.af-ausmalbild__preview { position: sticky; top: 24px; }
.af-ausmalbild__preview .af-coloring-page { aspect-ratio: 3/4; }
.af-ausmalbild__side h1 { font-family: var(--af-f-serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; margin: 12px 0 18px; line-height: 1.1; }
.af-ausmalbild__terms { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.af-ausmalbild__term {
	font-size: 12px; padding: 4px 12px;
	background: var(--af-paper); border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-pill); color: var(--af-ink-soft);
}
.af-ausmalbild__lede { font-size: 16px; line-height: 1.55; color: var(--af-muted); margin: 0 0 32px; max-width: 420px; }
.af-ausmalbild__actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.af-ausmalbild__specs {
	border-top: 1px solid var(--af-hairline); padding-top: 24px;
	display: flex; flex-direction: column; gap: 12px;
}
.af-ausmalbild__specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--af-muted); font-weight: 600; }
.af-ausmalbild__specs dd { font-size: 14.5px; color: var(--af-ink-soft); margin: 2px 0 0; }

.af-upsell {
	background: var(--af-cream-deep);
	border-radius: var(--af-r-md);
	padding: 40px 36px;
	margin-top: 32px;
}
.af-upsell .af-eyebrow { margin-bottom: 8px; }
.af-upsell h3 { font-family: var(--af-f-serif); font-weight: 500; font-size: 24px; margin: 4px 0 10px; letter-spacing: -0.01em; }
.af-upsell p { font-size: 15px; color: var(--af-muted); margin: 0 0 20px; }

/* -------------------------------------------------------------------------
   23. Features page (extended)
   ------------------------------------------------------------------------- */
.af-feature-group { margin-bottom: 72px; }
.af-feature-group__head {
	display: flex; gap: 32px; align-items: baseline; justify-content: space-between;
	margin-bottom: 32px; border-bottom: 1px solid var(--af-hairline); padding-bottom: 20px;
}
.af-feature-group__head h2 { font-family: var(--af-f-serif); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; margin: 0; }
.af-feature-group__head p { font-size: 14.5px; color: var(--af-muted); margin: 0; max-width: 320px; }
.af-feature-group .af-features__grid { border-radius: var(--af-r-md); }
.af-feature--large {
	min-height: 280px;
}
.af-feature--large .af-feature__title { font-size: 22px; }
.af-feature__cta {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 14px;
	font-size: 13.5px; font-weight: 600; color: var(--af-green); text-decoration: none;
}
.af-feature__cta:hover { color: var(--af-green-dark); }

/* -------------------------------------------------------------------------
   24. Geschenkideen hub (richer card grid)
   ------------------------------------------------------------------------- */
.af-hub-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
	list-style: none; padding: 0; margin: 0;
}
.af-hub-card {
	display: flex; flex-direction: column;
	background: var(--af-paper);
	border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-md);
	overflow: hidden;
	text-decoration: none; color: inherit;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.af-hub-card:hover { transform: translateY(-2px); border-color: var(--af-ink); box-shadow: 0 24px 40px -28px rgba(0,0,0,.18); }
.af-hub-card__image { aspect-ratio: 4/3; }
.af-hub-card__body { padding: 24px 24px 28px; }
.af-hub-card__title { font-family: var(--af-f-serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; letter-spacing: -0.01em; }
.af-hub-card__body p { font-size: 14.5px; color: var(--af-muted); margin: 0 0 14px; line-height: 1.55; }
.af-hub-card__cta {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; font-weight: 600; color: var(--af-green);
}

/* -------------------------------------------------------------------------
   25. Beispiele gallery (multiple before/after pairs)
   ------------------------------------------------------------------------- */
.af-style-switch {
	display: flex; gap: 10px; flex-wrap: wrap;
	margin-bottom: 40px; align-items: center;
}
.af-style-switch__label { font-size: 13.5px; color: var(--af-muted); margin-right: 8px; }
.af-gallery {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
	list-style: none; padding: 0; margin: 0;
}
.af-gallery > li { display: flex; flex-direction: column; }
.af-gallery__caption {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-top: 16px; font-size: 14px; color: var(--af-muted);
}
.af-gallery__caption strong { color: var(--af-ink); font-weight: 600; }

/* -------------------------------------------------------------------------
   26. FAQ grouped (page-faq.php)
   ------------------------------------------------------------------------- */
.af-faq-groups { max-width: 880px; margin: 0 auto; padding: 0 var(--af-gutter); }
.af-faq-group { margin-bottom: 56px; }
.af-faq-group__head {
	display: flex; gap: 16px; align-items: center;
	margin-bottom: 12px;
}
.af-faq-group__num {
	font-family: var(--af-f-serif); font-style: italic;
	font-size: 22px; color: var(--af-green);
}
.af-faq-group__head h2 { font-family: var(--af-f-serif); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; margin: 0; }
.af-faq-contact {
	max-width: 720px; margin: 64px auto 80px;
	padding: 40px var(--af-gutter); text-align: center;
	background: var(--af-cream-deep); border-radius: var(--af-r-md);
}
.af-faq-contact h3 { font-family: var(--af-f-serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.af-faq-contact p { font-size: 15px; color: var(--af-muted); margin: 0 0 20px; }

/* -------------------------------------------------------------------------
   27. Responsive overrides for new sections
   ------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.af-blog-grid, .af-hub-grid { grid-template-columns: repeat(2, 1fr); }
	.af-library-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
	:root { --af-gutter: 24px; }

	.af-nav, .af-header__actions .af-btn:not(.af-header__signin) { display: none; }
	.af-header__burger { display: block; }

	.af-section { padding-bottom: 80px; }

	.af-hero__inner,
	.af-ba-section__inner,
	.af-faq__inner,
	.af-final__panel { grid-template-columns: 1fr; gap: 40px; }

	.af-hero__visual { height: 380px; }
	.af-hero__photo, .af-hero__drawing { width: 70%; }

	.af-process__list,
	.af-cases__grid { grid-template-columns: 1fr; gap: 28px; }

	.af-features__grid { grid-template-columns: 1fr; }
	.af-features__panel { padding: 48px 24px; }

	.af-footer__inner { grid-template-columns: 1fr 1fr; }
	.af-footer__brand { grid-column: 1 / -1; }

	.af-footer__bottom { flex-direction: column; gap: 16px; }

	.af-section__head--split { flex-direction: column; align-items: flex-start; }
	.af-trust__inner { flex-wrap: wrap; }

	.af-occasion-hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.af-plans { grid-template-columns: 1fr; }
	.af-guarantee { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
	.af-price-teaser { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; }
	.af-benefits { grid-template-columns: 1fr; }
	.af-blog-grid, .af-hub-grid, .af-gallery { grid-template-columns: 1fr; }
	.af-library-grid { grid-template-columns: repeat(2, 1fr); }
	.af-blog-featured { grid-template-columns: 1fr; }
	.af-ausmalbild__layout { grid-template-columns: 1fr; }
	.af-ausmalbild__preview { position: static; }
	.af-library-toolbar { flex-direction: column; align-items: flex-start; }
	.af-library-search { width: 100%; }
}

/* ── Pagination (paginate_links type=list) ──────────────────────────────── */
.af-pagination {
	max-width: var(--af-wrap); margin: 48px auto 0;
	padding: 0 var(--af-gutter) 64px;
}
.af-pagination .page-numbers {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0; padding: 0; align-items: center;
}
.af-pagination .page-numbers li { display: block; }
.af-pagination .page-numbers li a,
.af-pagination .page-numbers li span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--af-hairline);
	border-radius: var(--af-r-sm);
	font-size: 14px; font-weight: 500;
	text-decoration: none;
	color: var(--af-ink-soft); background: #fff;
	transition: background .15s, border-color .15s;
}
.af-pagination .page-numbers li a:hover {
	border-color: var(--af-ink);
}
.af-pagination .page-numbers li span.current {
	background: var(--af-ink);
	border-color: var(--af-ink);
	color: #fff;
}
.af-pagination .page-numbers li span.dots {
	border: none; background: transparent;
}

/* ─── Tag filter bar ──────────────────────────────────────── */
.af-tag-filter {
	background: var(--af-surface, #f9f9f7);
	border-bottom: 1px solid var(--af-hairline);
	padding: 0 var(--af-gutter);
}
.af-tag-filter__inner {
	max-width: var(--af-wrap);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 0;
}
.af-tag-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--af-hairline);
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	color: var(--af-ink-soft);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s, background .15s, color .15s;
}
.af-tag-filter__chip:hover {
	border-color: var(--af-ink);
	color: var(--af-ink);
}
.af-tag-filter__chip--active {
	background: var(--af-green);
	border-color: var(--af-green);
	color: #fff;
}
.af-tag-filter__count {
	font-size: 11px;
	opacity: .6;
}

/* ─── Content page (Impressum, Datenschutz, AGB etc.) ─────── */
.af-content-page {
	padding: 64px var(--af-gutter) 96px;
}
.af-content-page__inner {
	max-width: 760px;
	margin: 0 auto;
}
.af-content-page__title {
	font-size: clamp(28px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	margin: 24px 0 40px;
}
.af-content-page__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--af-ink-soft);
}
.af-content-page__body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--af-ink); }
.af-content-page__body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; color: var(--af-ink); }
.af-content-page__body p  { margin: 0 0 16px; }
.af-content-page__body ul,
.af-content-page__body ol { margin: 0 0 16px; padding-left: 24px; }
.af-content-page__body li { margin-bottom: 6px; }
.af-content-page__body a  { color: var(--af-accent); text-decoration: underline; }
.af-content-page__body a:hover { opacity: .8; }

/* ─── Beispiele page ──────────────────────────────────────── */
.af-beispiele-hero {
	padding-top: 0;
}
.af-beispiele-hero .af-ba {
	max-width: 900px;
	margin: 0 auto;
	aspect-ratio: 4 / 3;
}
.af-beispiele-gallery {
	list-style: none;
	padding: 0; margin: 48px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
.af-ba--thumb {
	aspect-ratio: 4 / 3;
	margin: 0;
}
.af-beispiele-gallery__caption {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 24px 16px 12px;
	z-index: 5;
	pointer-events: none;
}

/* -------------------------------------------------------------------------
   Mobile nav overlay — shown when burger is clicked (JS toggles this class)
   ------------------------------------------------------------------------- */
@media (max-width: 880px) {
	.af-header--mobile-open {
		position: relative;
	}
	.af-header--mobile-open .af-nav {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid var(--af-border, #e8e8e8);
		box-shadow: 0 8px 24px rgba(0,0,0,.08);
		padding: 16px 24px 24px;
		z-index: 200;
	}
	.af-header--mobile-open .af-nav__list {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}
	.af-header--mobile-open .af-nav__list li {
		border-bottom: 1px solid var(--af-border, #e8e8e8);
	}
	.af-header--mobile-open .af-nav__list li:last-child {
		border-bottom: 0;
	}
	.af-header--mobile-open .af-nav__list a {
		display: block;
		padding: 14px 0;
		font-size: 17px;
		font-weight: 500;
	}
	/* Also show the CTA button in mobile menu */
	.af-header--mobile-open .af-header__actions {
		display: flex;
		margin-top: 16px;
	}
	/* X indicator on open burger */
	.af-header--mobile-open .af-header__burger span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.af-header--mobile-open .af-header__burger span:nth-child(2) {
		opacity: 0;
	}
	.af-header--mobile-open .af-header__burger span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
	.af-header__burger span {
		transition: transform .2s ease, opacity .15s ease;
		transform-origin: center;
	}
}

/* -------------------------------------------------------------------------
   Mobile CTA — visible only on mobile, sits between logo and burger
   ------------------------------------------------------------------------- */
.af-header__mobile-cta {
	display: none;
}
@media (max-width: 880px) {
	.af-header__mobile-cta {
		display: inline-flex;
		align-items: center;
		margin-left: auto;
		margin-right: 8px;
		font-size: 13px;
		padding: 7px 12px;
		white-space: nowrap;
		flex-shrink: 0;
	}
	.af-header__inner {
		gap: 0;
		padding-left: 16px;
		padding-right: 16px;
	}
	body {
		overflow-x: hidden;
	}
}

/* -------------------------------------------------------------------------
   Mobile logo size fix
   ------------------------------------------------------------------------- */
@media (max-width: 880px) {
	.af-header .custom-logo-link img.custom-logo,
	.af-header .af-logo img {
		max-height: 40px;
		height: 40px;
	}
	.af-header .custom-logo-link,
	.af-header .af-logo {
		flex-shrink: 0;
	}
}

/* -------------------------------------------------------------------------
   Mobile overflow fixes — hero, meta, CTA, BA
   ------------------------------------------------------------------------- */
@media (max-width: 880px) {

	/* Contain everything within viewport */
	.af-hero,
	.af-section,
	.af-ba-section {
		overflow-x: hidden;
	}

	/* Hero visual: shrink height, clip cards within bounds */
	.af-hero__visual {
		height: 280px;
		overflow: hidden;
	}

	/* Cards: smaller, no rotation bleed */
	.af-hero__photo,
	.af-hero__drawing {
		width: 58%;
	}

	/* Hero CTA buttons: stack vertically on very small screens */
	.af-hero__cta {
		flex-wrap: wrap;
		gap: 10px;
	}
	.af-hero__cta .af-btn {
		flex: 1 1 auto;
		justify-content: center;
		text-align: center;
		min-width: 140px;
	}

	/* Hero meta: wrap and reduce gap */
	.af-hero__meta {
		flex-wrap: wrap;
		gap: 8px 16px;
		font-size: 12.5px;
	}
	.af-hero__meta-sep {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   Mobile overflow fixes — final CTA panel
   ------------------------------------------------------------------------- */
@media (max-width: 880px) {
	.af-final__panel {
		padding: 48px 24px;
		overflow: hidden;
	}
	.af-final__heading {
		font-size: clamp(28px, 8vw, 40px);
		word-break: break-word;
	}
	.af-final__lede {
		font-size: 16px;
		max-width: 100%;
	}
	.af-final__cta {
		flex-wrap: wrap;
		gap: 10px;
	}
	.af-final__cta .af-btn {
		flex: 1 1 auto;
		justify-content: center;
		text-align: center;
		min-width: 140px;
	}
	.af-final__visual {
		overflow: hidden;
		max-width: 100%;
	}
	.af-final__visual img,
	.af-final__visual .af-coloring-page {
		max-width: 100%;
	}
	.af-final__bg {
		width: 280px;
		height: 280px;
		top: -60px;
		right: -40px;
	}
}
