/*
Theme Name: Im Wald zuhause
Theme URI: https://imwaldzuhause.de
Author: Christoph Nieberg
Description: Schlankes, schnelles Blog-Theme rund um Wald und Forstwirtschaft. Naturtöne, gut lesbare Typografie, große Beitragsbilder, keine externen Schriften (DSGVO-freundlich).
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imwaldzuhause
Tags: blog, custom-logo, custom-menu, featured-images, one-column, two-columns
*/

/* ---------- Farben & Grundwerte ---------- */
:root {
	--wald: #1f3a2b;        /* dunkles Tannengrün */
	--wald-tief: #142a1e;
	--moos: #5c7c3b;        /* Moosgrün */
	--farn: #8fae5a;        /* helles Farngrün */
	--rinde: #6b4f3a;       /* Rindenbraun */
	--harz: #c48a2c;        /* Harz / Akzent */
	--papier: #f7f3ea;      /* warmes Papierweiß */
	--papier-dunkel: #ede6d6;
	--text: #26302a;
	--text-leise: #5e6a61;
	--linie: #dcd3bf;
	--weiss: #ffffff;

	--schrift-titel: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--schatten: 0 1px 2px rgba(20, 42, 30, .06), 0 8px 24px rgba(20, 42, 30, .08);
	--breite: 1320px;
	--lesebreite: 860px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--papier);
	color: var(--text);
	font-family: var(--schrift-text);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--moos); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wald); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--schrift-titel);
	color: var(--wald);
	line-height: 1.2;
	font-weight: 700;
	margin: 1.6em 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--weiss); color: var(--wald); padding: 10px 16px; border-radius: 8px;
}

.container { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.container--schmal { width: min(100% - 40px, var(--lesebreite)); margin-inline: auto; }

/* ---------- Topbar ---------- */
.topbar {
	background: var(--wald-tief);
	color: rgba(255,255,255,.75);
	font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--weiss); }
.topbar__links, .topbar__social { display: flex; gap: 18px; align-items: center; }
.topbar svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }

/* ---------- Header ---------- */
.site-header {
	background: var(--wald);
	color: var(--weiss);
	position: sticky; top: 0; z-index: 100;
	box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }

.branding { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--weiss); }
.branding:hover { color: var(--weiss); }
.branding .custom-logo { max-height: 48px; width: auto; }
.branding__mark { width: 38px; height: 38px; flex: none; }
.branding__text { display: flex; flex-direction: column; line-height: 1.1; }
.branding__name { font-family: var(--schrift-titel); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.branding__claim { white-space: nowrap; font-size: .72rem; opacity: .7; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; padding: 8px 10px; border-radius: 8px; white-space: nowrap;
	color: rgba(255,255,255,.88); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-category-ancestor > a,
.main-nav .current-menu-parent > a { background: rgba(255,255,255,.1); color: var(--weiss); }

.main-nav ul ul {
	position: absolute; top: 100%; left: 0; min-width: 220px; display: none;
	flex-direction: column; background: var(--wald-tief); padding: 8px; border-radius: 10px; box-shadow: var(--schatten);
}
.main-nav li:hover > ul, .main-nav li:focus-within > ul { display: flex; }

.nav-toggle {
	display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--weiss);
	border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer;
}

@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wald); padding: 10px 20px 20px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav ul ul { position: static; display: flex; box-shadow: none; background: transparent; padding-left: 16px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: var(--weiss);
	background: var(--wald) center/cover no-repeat;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(20,42,30,.35) 0%, rgba(20,42,30,.55) 55%, rgba(20,42,30,.92) 100%);
}
.hero--ohne-bild { background: linear-gradient(180deg, #2c5238 0%, #1f3a2b 60%, #142a1e 100%); }
.hero--ohne-bild::before { display: none; }
.hero__baeume { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; z-index: -1; }
.hero__inhalt { padding: clamp(80px, 14vw, 170px) 0 clamp(90px, 12vw, 150px); max-width: 860px; }
.hero__kicker {
	display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--farn); font-weight: 600; margin-bottom: 14px;
}
.hero h1 { color: var(--weiss); margin: 0 0 18px; font-size: clamp(2.3rem, 6vw, 4rem); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 600px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Buttons ---------- */
.button, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--harz); color: var(--weiss) !important; border: 0; border-radius: 999px;
	padding: 12px 24px; font: 600 1rem/1.2 var(--schrift-text); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.button:hover, .wp-block-button__link:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: #a9741f; transform: translateY(-1px); }
.button--hell { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); }
.button--hell:hover { background: rgba(255,255,255,.22); }
.button--wald { background: var(--wald); }
.button--wald:hover { background: var(--wald-tief); }

/* ---------- Sektionen ---------- */
.sektion { padding: clamp(56px, 8vw, 96px) 0; }
.sektion--hell { background: var(--weiss); }
.sektion--papier { background: var(--papier-dunkel); }
.sektion__kopf { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sektion__kopf h2 { margin: 0; }
.sektion__kicker { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moos); font-weight: 700; margin-bottom: 6px; }
.sektion__link { font-weight: 600; text-decoration: none; }
.sektion__link::after { content: " →"; }

/* Intro auf der Startseite */
.intro { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.intro__text > *:first-child { margin-top: 0; }
.intro__text { font-size: 1.12rem; }
.intro__box {
	background: var(--wald); color: rgba(255,255,255,.9); border-radius: var(--radius);
	padding: 32px; position: relative; overflow: hidden;
}
.intro__box h3 { color: var(--weiss); margin-top: 0; }
.intro__box ul { list-style: none; margin: 0 0 24px; padding: 0; }
.intro__box li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid rgba(255,255,255,.1); }
.intro__box li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: var(--farn); -webkit-mask: var(--blatt) center/contain no-repeat; mask: var(--blatt) center/contain no-repeat; }
:root { --blatt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 14h5l-3 5h12l-3-5h5z'/%3E%3C/svg%3E"); }

/* Kategorien-Kacheln */
.kategorien { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kategorie {
	display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius);
	background: var(--weiss); border: 1px solid var(--linie); text-decoration: none; color: var(--text);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kategorie:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--farn); color: var(--text); }
.kategorie__icon { width: 44px; height: 44px; border-radius: 12px; background: #e6eed9; display: grid; place-items: center; margin-bottom: 8px; }
.kategorie__icon svg { width: 24px; height: 24px; fill: var(--moos); }
.kategorie__name { font-family: var(--schrift-titel); font-size: 1.2rem; font-weight: 700; color: var(--wald); }
.kategorie__anzahl { font-size: .9rem; color: var(--text-leise); }

/* ---------- Beitragskarten ---------- */
.karten { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.karte {
	background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten);
	display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,42,30,.08), 0 16px 36px rgba(20,42,30,.14); }
.karte__bild { aspect-ratio: 3 / 2; background: var(--papier-dunkel); overflow: hidden; display: block; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild img { transform: scale(1.04); }
.karte__bild--leer { display: grid; place-items: center; background: linear-gradient(160deg, #2c5238, #1f3a2b); }
.karte__bild--leer svg { width: 64px; height: 64px; fill: rgba(255,255,255,.25); }
.karte__inhalt { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.karte__titel { font-size: 1.28rem; margin: 0; }
.karte__titel a { color: var(--wald); text-decoration: none; }
.karte__titel a:hover { color: var(--moos); }
.karte__auszug { color: var(--text-leise); font-size: .98rem; margin: 0; }
.karte__auszug p { margin: 0; }
.karte__mehr { margin-top: auto; font-weight: 600; font-size: .95rem; text-decoration: none; }
.karte__mehr::after { content: " →"; }

/* Kategorie-Badge & Meta */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
	display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--moos); background: #e9f0dd; padding: 4px 10px; border-radius: 999px; text-decoration: none;
}
.badge:hover { background: var(--moos); color: var(--weiss); }
.meta { font-size: .88rem; color: var(--text-leise); display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* Hervorgehobener erster Beitrag */
.karte--gross { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.karte--gross { flex-direction: row; }
	.karte--gross .karte__bild { flex: 1.3; aspect-ratio: auto; min-height: 380px; }
	.karte--gross .karte__inhalt { flex: 1; padding: 40px; justify-content: center; }
	.karte--gross .karte__titel { font-size: 2rem; }
}

/* ---------- Holzrechner-Teaser ---------- */
.cta {
	background: var(--rinde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2'%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Ccircle cx='60' cy='60' r='24'/%3E%3Ccircle cx='60' cy='60' r='36'/%3E%3Ccircle cx='60' cy='60' r='48'/%3E%3C/g%3E%3C/svg%3E");
	color: var(--weiss); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 56px);
	display: grid; gap: 24px; align-items: center;
}
@media (min-width: 800px) { .cta { grid-template-columns: 1.5fr auto; } }
.cta h2 { color: var(--weiss); margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- Seitenkopf (Archiv, Seite) ---------- */
.seitenkopf { background: var(--wald); color: var(--weiss); padding: 64px 0 56px; position: relative; overflow: hidden; }
.seitenkopf h1 { color: var(--weiss); margin: 0; }
.seitenkopf p, .seitenkopf .archiv-beschreibung { color: rgba(255,255,255,.8); margin: 12px 0 0; max-width: 680px; }
.seitenkopf .sektion__kicker { color: var(--farn); }
.seitenkopf__baeume { position: absolute; right: -40px; bottom: -4px; width: 420px; opacity: .12; pointer-events: none; }

/* ---------- Einzelbeitrag ---------- */
.beitrag-kopf { padding: 56px 0 32px; text-align: center; }
.beitrag-kopf .badges { justify-content: center; margin-bottom: 16px; }
.beitrag-kopf h1 { margin: 0 0 16px; }
.beitrag-kopf .meta { justify-content: center; }
.beitrag-bild { width: min(100% - 40px, 1200px); margin: 0 auto 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.beitrag-bild img { width: 100%; max-height: 620px; object-fit: cover; }

.inhalt { font-size: 1.1rem; }
.inhalt > *:first-child { margin-top: 0; }
.inhalt h2 { border-left: 4px solid var(--farn); padding-left: 14px; margin-left: -18px; }
@media (max-width: 760px) { .inhalt h2 { margin-left: 0; } }
.inhalt ul, .inhalt ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.inhalt li { margin-bottom: .4em; }
.inhalt li::marker { color: var(--moos); }
.inhalt blockquote, .wp-block-quote {
	margin: 2em 0; padding: 20px 28px; background: var(--weiss); border-left: 4px solid var(--harz);
	border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--schrift-titel); font-size: 1.2rem; color: var(--wald);
}
.inhalt blockquote p:last-child { margin-bottom: 0; }
.inhalt figure { margin: 2em 0; }
.inhalt figure img, .inhalt > p img { border-radius: 10px; }
.inhalt figcaption, .wp-element-caption { font-size: .88rem; color: var(--text-leise); text-align: center; margin-top: 8px; }
.inhalt hr { border: 0; height: 1px; background: var(--linie); margin: 3em 0; }
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; background: var(--weiss); border-radius: 10px; overflow: hidden; }
.inhalt th, .inhalt td { padding: 12px 14px; border-bottom: 1px solid var(--linie); text-align: left; }
.inhalt th { background: var(--wald); color: var(--weiss); font-weight: 600; }
.inhalt .alignwide { width: min(100vw - 40px, 1200px); margin-left: 50%; transform: translateX(-50%); }
.inhalt .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

/* TablePress */
.tablepress thead th, .tablepress tfoot th { background: var(--wald) !important; color: var(--weiss) !important; }
.tablepress .odd td { background: #f3f6ee !important; }

/* Holzrechner – überschreibt die Inline-Styles der Seite */
#holzrechner {
	max-width: 520px !important; margin: 0 auto 3em; padding: 32px !important;
	background: var(--weiss); border: 1px solid var(--linie) !important; border-radius: var(--radius) !important; box-shadow: var(--schatten);
}
#holzrechner h3 { margin-top: 0; }
#holzrechner label { font-weight: 600; font-size: .95rem; color: var(--wald); }
#holzrechner input, #holzrechner select {
	margin-top: 6px; padding: 12px 14px; font: inherit; border: 1px solid var(--linie); border-radius: 10px; background: var(--papier);
}
#holzrechner input:focus, #holzrechner select:focus { outline: 2px solid var(--farn); outline-offset: 1px; }
#holzrechner-btn { background: var(--harz) !important; border-radius: 999px !important; padding: 13px !important; font-weight: 600; font-size: 1rem; cursor: pointer; }
#holzrechner-btn:hover { background: #a9741f !important; }
#holzrechner-ergebniszeile { background: #eef3e6 !important; border: 0 !important; border-left: 4px solid var(--moos) !important; border-radius: 10px !important; color: var(--wald); }
.inhalt div[style*="font-family: sans-serif"] { font-family: inherit !important; }

/* Beitragsende */
.beitrag-fuss { margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--linie); }
.autor-box {
	display: flex; gap: 20px; align-items: center; background: var(--weiss); border-radius: var(--radius);
	padding: 24px; margin-top: 28px; box-shadow: var(--schatten);
}
.autor-box img { border-radius: 50%; flex: none; }
.autor-box h3 { margin: 0 0 4px; font-size: 1.1rem; }
.autor-box p { margin: 0; color: var(--text-leise); font-size: .95rem; }

.beitrag-navigation { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.beitrag-navigation a {
	display: block; padding: 18px 20px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
	text-decoration: none; color: var(--wald); font-family: var(--schrift-titel); font-weight: 700; line-height: 1.3;
}
.beitrag-navigation a:hover { border-color: var(--farn); }
.beitrag-navigation small { display: block; font-family: var(--schrift-text); font-weight: 500; color: var(--text-leise); font-size: .8rem; margin-bottom: 4px; }
.beitrag-navigation .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .beitrag-navigation { grid-template-columns: 1fr; } .beitrag-navigation .next { grid-column: 1; } }

/* ---------- Paginierung ---------- */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px;
	background: var(--weiss); border: 1px solid var(--linie); text-decoration: none; color: var(--wald); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--wald); color: var(--weiss); border-color: var(--wald); }

/* ---------- Suche ---------- */
.suchformular { display: flex; gap: 8px; max-width: 520px; }
.suchformular input[type="search"] {
	flex: 1; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--linie); font: inherit; background: var(--weiss);
}

/* ---------- Kommentare ---------- */
.kommentare { margin-top: 56px; }
.kommentare ol { list-style: none; padding: 0; }
.kommentare .comment-body { background: var(--weiss); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; }
.kommentare .children { list-style: none; padding-left: 28px; }
.kommentare .comment-meta { font-size: .9rem; color: var(--text-leise); margin-bottom: 8px; }
.kommentare .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 10px; font: inherit; background: var(--weiss);
}
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wald-tief); color: rgba(255,255,255,.75); margin-top: 0; position: relative; }
.footer__baeume { display: block; width: 100%; height: auto; background: var(--papier); }
.site-footer .container { padding: 56px 0 24px; }
.footer__spalten { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__spalten { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h4 { color: var(--weiss); margin: 0 0 14px; font-size: 1.1rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--farn); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer__unten { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
.footer__unten ul { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .widget { margin-bottom: 24px; }

/* ---------- 404 ---------- */
.nicht-gefunden { text-align: center; padding: 100px 0; }
.nicht-gefunden .suchformular { margin: 24px auto 0; }

/* ---------- Kleinkram ---------- */
.leer { text-align: center; color: var(--text-leise); padding: 40px 0; }
.sticky .karte__titel::before { content: "★ "; color: var(--harz); }
.bypostauthor {}
.gallery-caption {}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.footer__baeume { color: var(--wald-tief); margin-bottom: -1px; }
.nav-toggle { white-space: nowrap; }
.hero__baeume, .footer__baeume { height: clamp(70px, 11vw, 160px); }

/* Autor-Box ohne Gravatar */
.autor-box__icon { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--wald); display: grid; place-items: center; }
.autor-box__icon svg { width: 32px; height: 32px; fill: var(--farn); }
/* Rechtliche Seiten */
.inhalt h2 + h3 { margin-top: 1em; }

/* Kontaktformular */
.kontaktformular { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(22px, 4vw, 36px); margin: 1.5em 0 2em; }
.kontaktformular p { margin: 0 0 18px; }
.kontaktformular label { display: block; font-weight: 600; font-size: .95rem; color: var(--wald); margin-bottom: 6px; }
.kontaktformular input[type="text"], .kontaktformular input[type="email"], .kontaktformular textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--text); background: var(--papier); border: 1px solid var(--linie); border-radius: 10px;
}
.kontaktformular input:focus, .kontaktformular textarea:focus { outline: 2px solid var(--farn); outline-offset: 1px; border-color: var(--farn); }
.kontakt-reihe { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kontakt-reihe { grid-template-columns: 1fr 1fr; } }
.kontakt-check { display: flex; gap: 10px; align-items: flex-start; }
.kontakt-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--moos); flex: none; }
.kontakt-check label { font-weight: 400; font-size: .92rem; color: var(--text-leise); margin: 0; }
.kontakt-hinweis { font-size: .85rem; color: var(--text-leise); margin: 0 !important; }
.kontakt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-meldung { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.kontakt-meldung--ok { background: #eef3e6; border-left: 4px solid var(--moos); color: var(--wald); }
.kontakt-meldung--fehler { background: #fbeee6; border-left: 4px solid #b5562a; color: #6b2a10; }
