/* ============================================================
   Hausundtier 2 – Basis: Tokens, Darkmode, Typografie, Header,
   Footer, Layout, Kacheln, Teaser.
   Farbwerte kommen aus theme.json (Presets) und werden hier auf
   --ht-* gemappt. Der Darkmode überschreibt die --ht-*-Variablen
   unter [data-theme="dark"], die Presets bleiben unangetastet.
   ============================================================ */

:root {
	--ht-bg: var(--wp--preset--color--bg);
	--ht-surface: var(--wp--preset--color--surface);
	--ht-surface-2: var(--wp--preset--color--surface-2);
	--ht-fg: var(--wp--preset--color--fg);
	--ht-muted: var(--wp--preset--color--muted);
	--ht-line: var(--wp--preset--color--line);
	--ht-accent: var(--wp--preset--color--accent);
	--ht-accent-fg: #1B211C;
	--ht-accent-text: var(--wp--preset--color--accent-text);
	--ht-accent-2: var(--wp--preset--color--accent-2);
	--ht-accent-2-fg: #FFFFFF;
	--ht-accent-2-hover: #9E4C29;
	--ht-inv-bg: var(--wp--preset--color--inv-bg);
	--ht-inv-fg: var(--wp--preset--color--inv-fg);
	--ht-inv-muted: #B5BDB3;
	--ht-inv-line: #34423A;
	--ht-good: var(--wp--preset--color--good);
	--ht-bad: var(--wp--preset--color--bad);

	--ht-tint-sage: #DCE7D8;  --ht-tint-sage-fg: #3F6B3B;
	--ht-tint-clay: #F1DACD;  --ht-tint-clay-fg: #8F421F;
	--ht-tint-honey: #F5E7C3; --ht-tint-honey-fg: #8A5E0B;
	--ht-tint-teal: #D3E6E3;  --ht-tint-teal-fg: #2C6660;
	--ht-tint-sky: #D8E2EE;   --ht-tint-sky-fg: #2F5578;
	--ht-tint-plum: #E7DCE7;  --ht-tint-plum-fg: #6A3F6A;

	--ht-radius: 24px;
	--ht-radius-sm: 16px;
	--ht-radius-xs: 12px;
	--ht-border: 1px solid var(--ht-line);
	--ht-shadow: 0 1px 2px rgba(27, 33, 28, 0.04), 0 8px 24px -12px rgba(27, 33, 28, 0.18);
	--ht-shadow-hover: 0 2px 4px rgba(27, 33, 28, 0.05), 0 16px 32px -14px rgba(27, 33, 28, 0.25);

	--ht-font-sans: var(--wp--preset--font-family--sans);
	--ht-font-display: var(--wp--preset--font-family--display);
	--ht-font-mono: var(--wp--preset--font-family--mono);

	--ht-gutter: clamp(16px, 4vw, 80px);
	--ht-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	color-scheme: light;
}

[data-theme="dark"] {
	--ht-bg: #121614;
	--ht-surface: #1A201C;
	--ht-surface-2: #232B26;
	--ht-fg: #EEF0E8;
	--ht-muted: #A6AFA6;
	--ht-line: #2C3530;
	--ht-accent: #7FA37A;
	--ht-accent-text: #A9C7A3;
	--ht-accent-2: #D9805A;
	--ht-accent-2-fg: #1B211C;
	--ht-accent-2-hover: #E39670;
	--ht-inv-bg: #232B26;
	--ht-inv-fg: #EEF0E8;
	--ht-inv-line: #3A453E;
	--ht-good: #6FCF97;
	--ht-bad: #FF8A7A;
	--ht-tint-sage: #26372A;  --ht-tint-sage-fg: #A9C7A3;
	--ht-tint-clay: #3E2A22;  --ht-tint-clay-fg: #E5A483;
	--ht-tint-honey: #3D3320; --ht-tint-honey-fg: #E4C071;
	--ht-tint-teal: #223835;  --ht-tint-teal-fg: #8FC6BF;
	--ht-tint-sky: #22303D;   --ht-tint-sky-fg: #9DBBD9;
	--ht-tint-plum: #35293A;  --ht-tint-plum-fg: #CBA9CB;
	--ht-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
	--ht-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 32px -14px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

/* Presets im Darkmode nachziehen, damit Core-Blöcke (Buttons, Quotes) mitgehen */
[data-theme="dark"] body {
	--wp--preset--color--bg: #121614;
	--wp--preset--color--surface: #1A201C;
	--wp--preset--color--surface-2: #232B26;
	--wp--preset--color--fg: #EEF0E8;
	--wp--preset--color--muted: #A6AFA6;
	--wp--preset--color--line: #2C3530;
	--wp--preset--color--accent-text: #A9C7A3;
	--wp--preset--color--accent-2: #D9805A;
	--wp--preset--color--inv-bg: #232B26;
	--wp--preset--color--inv-fg: #EEF0E8;
	--wp--preset--color--good: #6FCF97;
	--wp--preset--color--bad: #FF8A7A;
	--wp--preset--color--tint-sage: #26372A;
	--wp--preset--color--tint-clay: #3E2A22;
	--wp--preset--color--tint-honey: #3D3320;
	--wp--preset--color--tint-teal: #223835;
	--wp--preset--color--tint-sky: #22303D;
	--wp--preset--color--tint-plum: #35293A;
}
[data-theme="dark"] .wp-element-button,
[data-theme="dark"] .wp-block-button__link { color: var(--ht-accent-2-fg); }

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; }
body {
	background: var(--ht-bg);
	color: var(--ht-fg);
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.25s var(--ht-ease), color 0.25s var(--ht-ease);
}
a { transition: color 0.15s var(--ht-ease), opacity 0.15s var(--ht-ease); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ht-accent); outline-offset: 3px; border-radius: 4px; }

/* Mono-Label: kleine Versalzeile über Sektionen */
.ht-label,
.ht-eyebrow {
	font-family: var(--ht-font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ht-accent-text);
	margin: 0 0 10px;
}
.ht-label-muted { color: var(--ht-muted); }

/* Chips / Badges */
.ht-chip,
.ht-chip-row a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-family: var(--ht-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	background: var(--ht-accent);
	color: var(--ht-accent-fg);
	text-decoration: none;
	white-space: nowrap;
}
.ht-chip-plain, .ht-chip-row a { background: transparent; color: var(--ht-muted); border: 1px solid var(--ht-line); }
.ht-chip-blue { background: var(--ht-tint-sky); color: var(--ht-tint-sky-fg); }
.ht-chip-orange { background: var(--ht-tint-clay); color: var(--ht-tint-clay-fg); }
.ht-chip-green { background: var(--ht-tint-sage); color: var(--ht-tint-sage-fg); }
.ht-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.ht-chip-row .wp-block-post-terms__separator { display: none; }

/* Icons */
.ht-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ht-icon-tile {
	--ht-tile-size: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--ht-tile-size);
	height: var(--ht-tile-size);
	border-radius: calc(var(--ht-tile-size) * 0.3);
	flex-shrink: 0;
	background: var(--ht-tint-sage);
	color: var(--ht-tint-sage-fg);
}
.ht-tint-sage { background: var(--ht-tint-sage); color: var(--ht-tint-sage-fg); }
.ht-tint-clay { background: var(--ht-tint-clay); color: var(--ht-tint-clay-fg); }
.ht-tint-honey { background: var(--ht-tint-honey); color: var(--ht-tint-honey-fg); }
.ht-tint-teal { background: var(--ht-tint-teal); color: var(--ht-tint-teal-fg); }
.ht-tint-sky { background: var(--ht-tint-sky); color: var(--ht-tint-sky-fg); }
.ht-tint-plum { background: var(--ht-tint-plum); color: var(--ht-tint-plum-fg); }

/* ---------- Header ---------- */
.ht-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--ht-bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--ht-line);
}
.ht-topbar {
	min-height: 76px;
	align-items: center;
	gap: 28px;
	flex-wrap: nowrap;
}
.ht-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	text-decoration: none;
	color: var(--ht-fg);
}
.ht-logo-mark {
	--ht-mark: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--ht-mark);
	height: var(--ht-mark);
	border-radius: calc(var(--ht-mark) * 0.32);
	background: var(--ht-accent);
	color: var(--ht-accent-fg);
	transform: rotate(-12deg);
	transition: transform 0.3s var(--ht-ease);
}
.ht-logo-link:hover .ht-logo-mark { transform: rotate(0deg) scale(1.04); }
.ht-logo-word {
	font-family: var(--ht-font-display);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}
.ht-logo-und { color: var(--ht-muted); font-weight: 700; }
.ht-logo-tier { color: var(--ht-accent); }
.ht-logo-invert .ht-logo-word { color: var(--ht-inv-fg); }
.ht-logo-invert .ht-logo-und { color: var(--ht-inv-muted); }

.ht-nav { flex: 1; }
.ht-nav .wp-block-navigation__container { gap: 4px; }
.ht-nav a,
.ht-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ht-muted);
	border-bottom: 2px solid transparent;
	text-decoration: none;
	transition: color 0.15s var(--ht-ease), border-color 0.15s var(--ht-ease);
}
.ht-nav a:hover,
.ht-nav .current-menu-item > a,
.ht-nav .current-menu-ancestor > a,
.ht-nav .current_page_item > a,
.ht-nav .current_page_ancestor > a { color: var(--ht-fg); border-bottom-color: var(--ht-accent); }
/* Menüpunkte ohne Inhalte: in der Navigation als Link mit Klasse "ht-bald" anlegen */
.ht-nav .ht-bald > a { opacity: 0.45; pointer-events: none; }
.ht-nav .wp-block-navigation__submenu-container { border-radius: var(--ht-radius-sm); border: var(--ht-border); box-shadow: var(--ht-shadow); background: var(--ht-surface); padding: 8px; }
.ht-nav .wp-block-navigation__submenu-container a { border-bottom: 0; border-radius: 10px; min-height: 40px; }
.ht-nav .wp-block-navigation__submenu-container a:hover { background: var(--ht-surface-2); }
.ht-nav .wp-block-navigation__responsive-container-open,
.ht-nav .wp-block-navigation__responsive-container-close { color: var(--ht-fg); }
.ht-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ht-bg); color: var(--ht-fg); padding: 24px var(--ht-gutter); }
.ht-nav .wp-block-navigation__responsive-container.is-menu-open a { font-size: 20px; min-height: 52px; }

.ht-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ht-icon-btn,
.ht-theme-toggle,
.ht-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: var(--ht-border);
	background: transparent;
	color: var(--ht-fg);
	cursor: pointer;
	padding: 0;
	transition: background 0.15s var(--ht-ease), border-color 0.15s var(--ht-ease);
}
.ht-icon-btn:hover, .ht-theme-toggle:hover, .ht-search-toggle:hover { background: var(--ht-surface-2); border-color: var(--ht-muted); }
.ht-theme-toggle-moon { display: none; }
[data-theme="dark"] .ht-theme-toggle-moon { display: inline-flex; }
[data-theme="dark"] .ht-theme-toggle-sun { display: none; }
.ht-btn-dark .wp-block-button__link,
.ht-header-cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--ht-fg);
	color: var(--ht-bg);
	font-size: 14px;
	font-weight: 600;
	border: 1px solid var(--ht-fg);
	text-decoration: none;
}
.ht-btn-dark .wp-block-button__link:hover, .ht-header-cta:hover { opacity: 0.85; }

/* Suche: schlicht, Pill */
.ht-search .wp-block-search__inside-wrapper {
	background: var(--ht-surface);
	border: var(--ht-border) !important;
	border-radius: 999px;
	padding: 4px 4px 4px 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ht-search input.wp-block-search__input { border: 0; background: none; outline: none; font-size: 15px; min-width: 0; flex: 1; padding: 10px 0; color: var(--ht-fg); font-family: inherit; }
.ht-search button.wp-block-search__button {
	background: var(--ht-fg); color: var(--ht-bg); border: 0; border-radius: 999px;
	font-weight: 600; font-size: 14px; cursor: pointer; margin: 0; padding: 10px 18px; flex-shrink: 0; font-family: inherit; line-height: 1.2;
}
.ht-search button.wp-block-search__button:hover { background: var(--ht-accent-2); color: var(--ht-accent-2-fg); }
.ht-header-search { display: none; padding: 0 0 16px; }
.ht-header.ht-search-open .ht-header-search { display: block; }

/* ---------- Layout ---------- */
.ht-main { min-height: 60vh; }
.ht-section { padding-top: clamp(48px, 8vw, 112px); }
.ht-section-tight { padding-top: clamp(32px, 5vw, 64px); }
.ht-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.ht-section-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; }
.ht-section-head p { margin: 0; color: var(--ht-muted); max-width: 360px; font-size: 15px; }
.ht-section-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	font-size: 15px; font-weight: 600; color: var(--ht-accent-text); text-decoration: none; white-space: nowrap;
}
.ht-section-link:hover { color: var(--ht-fg); }

.ht-breadcrumb-slot { padding-top: 20px; }
.ht-breadcrumb-nav {
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
	font-size: 13px; color: var(--ht-muted);
}
.ht-breadcrumb-nav a { color: var(--ht-muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.ht-breadcrumb-nav a:hover { color: var(--ht-fg); }
.ht-breadcrumb-home { display: inline-flex; }
.ht-breadcrumb-sep { color: var(--ht-line); }
.ht-breadcrumb-aktuell { font-weight: 600; color: var(--ht-fg); }

.ht-layout { gap: 56px; padding: 32px 0 72px; align-items: flex-start; }
.ht-content-col { min-width: 0; }
.ht-sidebar-col { position: sticky; top: 96px; align-self: flex-start; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: none; }
.ht-sidebar-col::-webkit-scrollbar { display: none; }
.ht-sidebar > * + * { margin-top: 20px; }
.ht-meta { align-items: center; gap: 12px; font-size: 14px; color: var(--ht-muted); margin: 16px 0 28px; }
.ht-meta a { color: var(--ht-fg); font-weight: 600; text-decoration: none; }
.ht-avatar img { border-radius: 50%; }
.ht-meta-date::before { content: "·"; margin-right: 12px; color: var(--ht-line); }
.ht-featured { margin: 0 0 40px; }
.ht-featured img { border-radius: var(--ht-radius); border: var(--ht-border); }
.ht-featured figcaption { font-size: 13px; color: var(--ht-muted); margin-top: 8px; }

/* Artikel-Typo */
.ht-content-col .wp-block-post-content > * + * { margin-top: 1.25em; }
.ht-content-col .wp-block-post-content > h2 { margin-top: 2.2em; font-size: clamp(26px, 2.6vw, 34px); }
.ht-content-col .wp-block-post-content > h3 { margin-top: 1.8em; }
.ht-content-col .wp-block-post-content p { font-size: 18px; line-height: 1.7; }
.ht-content-col .wp-block-post-content a:not(.wp-element-button):not(.ht-kachel):not(.ht-teaser) {
	color: var(--ht-accent-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--ht-accent) 60%, transparent);
	text-underline-offset: 3px;
}
.ht-content-col .wp-block-post-content a:not(.wp-element-button):hover { text-decoration-color: currentColor; }
.wp-block-post-title { letter-spacing: -0.03em; }
h1.wp-block-post-title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; margin: 12px 0 0; }

/* ---------- Kacheln (Tiere, Themen) ---------- */
.ht-kachel-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.ht-kachel-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-kachel-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-kachel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 24px 28px;
	border-radius: 28px;
	background: var(--ht-surface);
	border: var(--ht-border);
	color: var(--ht-fg);
	text-decoration: none;
	transition: transform 0.25s var(--ht-ease), box-shadow 0.25s var(--ht-ease), border-color 0.25s var(--ht-ease);
}
a.ht-kachel:hover { transform: translateY(-3px); box-shadow: var(--ht-shadow-hover); border-color: var(--ht-accent); }
.ht-kachel-bald { opacity: 0.6; }
.ht-kachel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ht-kachel-meta { display: inline-flex; align-items: center; gap: 10px; }
.ht-kachel-badge {
	display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
	border: var(--ht-border); color: var(--ht-muted);
	font-family: var(--ht-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.ht-kachel-badge-count { background: var(--ht-accent); color: var(--ht-accent-fg); border-color: var(--ht-accent); font-weight: 500; }
.ht-kachel-arrow { display: inline-flex; color: var(--ht-muted); transition: transform 0.25s var(--ht-ease), color 0.25s var(--ht-ease); }
a.ht-kachel:hover .ht-kachel-arrow { transform: translateX(4px); color: var(--ht-accent-text); }
.ht-kachel-titel { margin: 10px 0 0 !important; font-size: 26px !important; font-weight: 700; letter-spacing: -0.01em; }
.ht-kachel-text { margin: 0 !important; font-size: 15px !important; line-height: 1.5; color: var(--ht-muted); }

/* ---------- Teaser-Grid ---------- */
.ht-teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ht-teaser-grid-1 { grid-template-columns: minmax(0, 1fr); }
.ht-teaser-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-teaser-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ht-teaser {
	display: flex; flex-direction: column; gap: 14px;
	color: var(--ht-fg); text-decoration: none;
}
.ht-teaser-media {
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	background: var(--ht-surface-2);
	border: var(--ht-border);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	color: var(--ht-muted);
}
.ht-teaser-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ht-ease); }
.ht-teaser:hover .ht-teaser-media img { transform: scale(1.03); }
.ht-teaser-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ht-teaser-titel { margin: 0 !important; font-size: 20px !important; line-height: 1.25; letter-spacing: -0.01em; }
.ht-teaser:hover .ht-teaser-titel { color: var(--ht-accent-text); }
.ht-teaser-text { margin: 0 !important; font-size: 15px !important; line-height: 1.5; color: var(--ht-muted); }
.ht-teaser-meta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ht-font-mono); font-size: 12px; color: var(--ht-muted); margin-top: 4px; }
/* Testkarten: Produktbild quadratisch, Note */
.ht-teaser-test { padding: 16px; border-radius: 24px; background: var(--ht-surface); border: var(--ht-border); transition: border-color 0.25s var(--ht-ease), box-shadow 0.25s var(--ht-ease); }
.ht-teaser-test:hover { border-color: var(--ht-accent); box-shadow: var(--ht-shadow-hover); }
.ht-teaser-test .ht-teaser-media { aspect-ratio: 1; border-radius: 16px; background: var(--ht-surface-2); }
.ht-teaser-test .ht-teaser-media img { object-fit: contain; padding: 12px; }
.ht-teaser-test .ht-teaser-titel { font-size: 17px !important; }
.ht-note-mini { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 8px; border-radius: 8px; background: var(--ht-accent); color: var(--ht-accent-fg); font-family: var(--ht-font-display); }
.ht-note-mini b { font-size: 15px; font-weight: 800; }

/* ---------- Dunkle Bänder (Newsletter, Vergleich) ---------- */
.ht-band {
	border-radius: 32px;
	background: var(--ht-inv-bg);
	color: var(--ht-inv-fg);
	padding: clamp(32px, 5vw, 64px);
}
.ht-band h2, .ht-band h3 { color: inherit; }
.ht-band p { color: var(--ht-inv-muted); }
.ht-band .ht-label { color: var(--ht-accent); }
.ht-band a:not(.wp-element-button) { color: inherit; }
.ht-newsletter-band { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ht-newsletter-band > * { flex: 1 1 320px; }
.ht-newsletter-titel { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; letter-spacing: -0.02em; }
.ht-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.ht-newsletter-form input[type="email"] {
	flex: 1 1 220px; min-height: 52px; padding: 0 20px; border-radius: 999px;
	border: 1px solid var(--ht-inv-line); background: transparent; color: var(--ht-inv-fg); font-size: 15px; font-family: inherit;
}
.ht-newsletter-form input::placeholder { color: var(--ht-inv-muted); }
.ht-newsletter-form button, .ht-newsletter-form .wp-block-button__link {
	min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ht-accent-2);
	background: var(--ht-accent-2); color: var(--ht-accent-2-fg); font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit;
}
.ht-newsletter-form button:hover { background: var(--ht-accent-2-hover); border-color: var(--ht-accent-2-hover); }
.ht-newsletter-fine { font-size: 13px; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.ht-footer { margin-top: clamp(64px, 8vw, 96px); }
.ht-footer-inner { border-top: var(--ht-border); padding: 56px 0 28px; }
.ht-footer-cols { gap: 48px; }
.ht-footer a { color: inherit; text-decoration: none; }
.ht-footer-claim { color: var(--ht-muted); font-size: 15px; line-height: 1.55; max-width: 340px; margin: 14px 0 0; }
.ht-footer-head { font-family: var(--ht-font-mono) !important; font-size: 12px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ht-muted); margin: 0 0 14px !important; font-weight: 500 !important; }
.ht-footer-nav .wp-block-navigation__container { gap: 0; }
.ht-footer-nav a { font-size: 15px; min-height: 32px; display: inline-flex; align-items: center; color: var(--ht-fg); }
.ht-footer-nav a:hover { color: var(--ht-accent-text); }
.ht-footer-nav .ht-bald > a { color: var(--ht-muted); pointer-events: none; }
.ht-footer-nav .ht-bald > a::after { content: "bald"; margin-left: 6px; font-family: var(--ht-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.ht-footer-bottom {
	border-top: var(--ht-border); margin-top: 40px; padding: 20px 0 32px;
	display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	font-size: 13px; color: var(--ht-muted);
}
.ht-footer-fine { font-size: 13px; color: var(--ht-muted); margin: 0; }

/* ---------- Mobile UX (aus v1 übernommen) ---------- */
.ht-sticky-cta {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	background: var(--ht-surface); border-top: var(--ht-border); padding: 10px 16px; align-items: center; gap: 12px;
	box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.2);
}
body.ht-show-sticky-cta .ht-sticky-cta { display: flex; }
.ht-sticky-cta-label { font-size: 14px; margin: 0; flex: 1; }
.ht-toc-fab {
	position: fixed; right: 16px; bottom: 16px; z-index: 70;
	background: var(--ht-fg); color: var(--ht-bg); border: 0; border-radius: 999px; box-shadow: var(--ht-shadow-hover);
	font-weight: 600; font-size: 14px; padding: 12px 18px; cursor: pointer; display: none; font-family: inherit;
}
body.ht-show-sticky-cta .ht-toc-fab { bottom: 76px; }
.ht-toc-fab-panel {
	position: fixed; right: 16px; bottom: 72px; z-index: 71;
	background: var(--ht-surface); border: var(--ht-border); border-radius: var(--ht-radius-sm); box-shadow: var(--ht-shadow-hover);
	padding: 18px 22px; max-width: min(320px, calc(100vw - 32px)); max-height: 50vh; overflow: auto; display: none;
}
body.ht-show-sticky-cta .ht-toc-fab-panel { bottom: 132px; }
.ht-toc-fab-panel.open { display: block; }

@media (max-width: 1024px) {
	.ht-kachel-grid, .ht-kachel-grid-4, .ht-teaser-grid, .ht-teaser-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ht-nav a { padding: 0 8px; font-size: 14px; }
}
@media (max-width: 960px) {
	.ht-layout { display: block; }
	.ht-sidebar-col { position: static; margin-top: 40px; }
	.ht-toc-fab { display: block; }
	.ht-sidebar .ht-toc { display: none; }
	.ht-topbar { min-height: 64px; gap: 12px; }
	.ht-header-cta { display: none; }
}
@media (max-width: 640px) {
	.ht-kachel-grid, .ht-kachel-grid-2, .ht-kachel-grid-4, .ht-teaser-grid, .ht-teaser-grid-2, .ht-teaser-grid-4 { grid-template-columns: minmax(0, 1fr); }
	.ht-kachel { padding: 20px; border-radius: 22px; }
	.ht-band { border-radius: 24px; }
	.ht-logo-word { font-size: 22px; }
	.ht-content-col .wp-block-post-content p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Shortcode-Blöcke liefern ein <p> um Logo/Toggle – neutralisieren */
.ht-topbar > p, .ht-header-actions > p, .ht-footer .wp-block-column > p:has(.ht-logo-link) { margin: 0; display: contents; }
.ht-topbar > p:empty { display: none; }
.ht-breadcrumb-home { color: var(--ht-accent-text); }
.ht-breadcrumb-home:hover { color: var(--ht-fg); }
.ht-breadcrumb-paw { display: block; }
