/*
Theme Name: Future-Hoster Hell
Theme URI: https://future-hoster.de/
Author: Future-Hoster – Sebastian Festerling
Author URI: https://future-hoster.de/
Description: Helles, modernes Block-Theme für Future-Hoster aus Wanne-Eickel: Webhosting, Homepage-Service und PC-Werkstatt. Mit neuer Startseite, Logo auf weißem Hintergrund und vollständig im Website-Editor anpassbar.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: future-hoster-hell
Tags: block-patterns, full-site-editing, light, one-column, custom-colors, wide-blocks
*/

/* ---------- Grundlagen ---------- */
:root {
	--fh-radius: 18px;
	--fh-radius-sm: 12px;
	--fh-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px -8px rgba(15, 27, 45, .10);
	--fh-shadow-lg: 0 2px 4px rgba(15, 27, 45, .04), 0 24px 48px -16px rgba(15, 27, 45, .18);
	--fh-green: var(--wp--preset--color--brand, #1DCC1D);
	--fh-green-dark: var(--wp--preset--color--brand-dark, #0B7A23);
	--fh-ink: var(--wp--preset--color--contrast, #0F1B2D);
	--fh-muted: var(--wp--preset--color--muted, #536173);
	--fh-line: var(--wp--preset--color--border, #E2E8EF);
	--fh-surface: var(--wp--preset--color--surface, #F4F7FA);
	--fh-tint: var(--wp--preset--color--tint, #EDFBEE);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #C9F5C9; color: var(--fh-ink); }
:where(a) { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
main.wp-block-group > * { margin-block-start: 0; margin-block-end: 0; }

.fh-eyebrow {
	display: inline-flex; align-items: center; gap: .55rem;
	font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--fh-green-dark); margin-bottom: .25rem !important;
}
.fh-eyebrow::before {
	content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--fh-green);
}
.fh-lead { font-size: var(--wp--preset--font-size--large); color: var(--fh-muted); max-width: 46rem; }
.fh-center { text-align: center; }
.fh-center .fh-lead { margin-inline: auto; }
.fh-center.fh-eyebrow, .fh-center .fh-eyebrow { justify-content: center; }
.fh-muted { color: var(--fh-muted); }
.fh-small { font-size: var(--wp--preset--font-size--small); }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; box-shadow: 0 6px 18px -6px rgba(29, 204, 29, .55); }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(15, 27, 45, .45); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--fh-ink); border: 1.5px solid var(--fh-ink) !important; box-shadow: none;
	padding: calc(.85rem - 1.5px) calc(1.6rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--fh-ink); color: #fff; }
.fh-link-arrow a, a.fh-link-arrow {
	font-weight: 700; color: var(--fh-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.fh-link-arrow a::after, a.fh-link-arrow::after { content: "→"; color: var(--fh-green-dark); transition: transform .2s; }
.fh-link-arrow a:hover::after, a.fh-link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Kopfbereich ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 0; } }

.fh-topbar {
	background: var(--fh-surface); border-bottom: 1px solid var(--fh-line);
	font-size: .875rem; padding-block: .45rem;
}
.fh-topbar p { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; color: var(--fh-muted); }
.fh-topbar a { color: var(--fh-ink); text-decoration: none; font-weight: 600; }
.fh-topbar a:hover { color: var(--fh-green-dark); }
.fh-topbar__loc { margin-left: auto; }
@media (max-width: 640px) { .fh-topbar__loc { display: none; } .fh-topbar p { justify-content: center; } }

.fh-header {
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--fh-line); padding-block: .8rem;
}
.fh-header__inner { gap: 1.5rem; }
.fh-logo { margin: 0 !important; flex-shrink: 0; }
.fh-logo img { display: block; height: 52px; width: auto; max-width: none; }
@media (max-width: 600px) { .fh-logo img { height: 44px; } }
.fh-header .wp-block-navigation { gap: 1.75rem; }
.fh-header .wp-block-navigation-item__content { padding-block: .35rem; position: relative; }
.fh-header .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--fh-green);
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.fh-header .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.fh-header__cta { margin: 0 !important; }
.fh-header__cta .wp-block-button__link { padding: .7rem 1.25rem; font-size: .95rem; }
@media (max-width: 900px) { .fh-header__cta { display: none; } }
.wp-block-navigation__responsive-container.is-menu-open { background: #fff; padding: 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; }

/* ---------- Sektionen ---------- */
.fh-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.fh-section--alt { background: var(--fh-surface); }
.fh-section__head { margin-bottom: clamp(2rem, 4vw, 3.5rem) !important; }
.fh-section__head > * { margin-block: 0; }
.fh-section__head > * + * { margin-top: 1rem; }

/* Hero */
.fh-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem);
	background:
		radial-gradient(700px 420px at 88% 8%, rgba(29, 204, 29, .16), transparent 65%),
		radial-gradient(600px 400px at 0% 100%, rgba(29, 204, 29, .08), transparent 60%),
		linear-gradient(180deg, #FFFFFF 0%, #F7FAF8 100%);
}
.fh-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(15, 27, 45, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 27, 45, .045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.fh-hero > * { position: relative; }
.fh-hero__cols { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center !important; }
.fh-hero h1 { margin-top: .75rem; position: relative; z-index: 0; }
.fh-hero h1 mark { background: none; color: inherit; position: relative; white-space: nowrap; }
.fh-hero h1 mark::after {
	content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .06em; height: .26em; z-index: -1;
	background: var(--fh-green); opacity: .45; border-radius: 4px;
}
.fh-hero .fh-lead { margin-top: 1.25rem; }
.fh-hero .wp-block-buttons { margin-top: 2rem; }

.fh-trust { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.fh-trust li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--fh-ink); }
.fh-trust li::before {
	content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
	background: var(--fh-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
	box-shadow: inset 0 0 0 1px rgba(11, 122, 35, .18);
}

/* Hero-Panel */
.fh-panel {
	background: #fff; border: 1px solid var(--fh-line); border-radius: 22px; box-shadow: var(--fh-shadow-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem); position: relative;
}
.fh-panel::before {
	content: ""; position: absolute; top: -1px; left: 2rem; right: 2rem; height: 3px; border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, var(--fh-green), #7BEA7B);
}
.fh-panel > * { margin-block: 0; }
.fh-panel > * + * { margin-top: 1rem; }
.fh-panel__title { font-size: 1.25rem !important; }
.fh-panel__badge {
	position: absolute; top: -18px; right: 1.5rem; margin: 0 !important;
	background: var(--fh-ink); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
	padding: .45rem .85rem; border-radius: 999px; box-shadow: var(--fh-shadow);
}
.fh-panel-list { list-style: none; padding: 0; margin: 1.25rem 0 0 !important; display: grid; gap: .75rem; }
.fh-panel-list li {
	display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: start;
	padding: .9rem; border-radius: var(--fh-radius-sm); background: var(--fh-surface); border: 1px solid transparent;
	transition: border-color .2s, background-color .2s; line-height: 1.45; color: var(--fh-muted); font-size: .95rem;
}
.fh-panel-list li:hover { background: #fff; border-color: var(--fh-line); }
.fh-panel-list li strong { display: block; color: var(--fh-ink); font-size: 1rem; }
.fh-panel-list li::before {
	content: ""; width: 42px; height: 42px; border-radius: 11px; background-color: #fff;
	background-position: center; background-repeat: no-repeat; background-size: 22px;
	box-shadow: inset 0 0 0 1px var(--fh-line);
}
.fh-panel-list li:nth-child(1)::before { background-image: var(--fh-i-server); }
.fh-panel-list li:nth-child(2)::before { background-image: var(--fh-i-globe); }
.fh-panel-list li:nth-child(3)::before { background-image: var(--fh-i-shield); }
.fh-panel-list li:nth-child(4)::before { background-image: var(--fh-i-wrench); }
.fh-panel__note { font-size: .875rem; color: var(--fh-muted); display: flex; gap: .5rem; align-items: center; }
.fh-panel__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fh-green); box-shadow: 0 0 0 4px rgba(29, 204, 29, .2); flex-shrink: 0; }

/* ---------- Icons (SVG, Linienstil) ---------- */
:root {
	--fh-i-server: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.5' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13.5' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7h.01M7 17h.01M11 7h6M11 17h6'/%3E%3C/svg%3E");
	--fh-i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E");
	--fh-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.1 8.2-7.5 9.5-4.4-1.3-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.8 12.2l2.3 2.3 4.3-4.6'/%3E%3C/svg%3E");
	--fh-i-wrench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L21 12.6l-1.1 1.1a5.5 5.5 0 0 1-7.3.4L6 20.7a2 2 0 0 1-2.8-2.8l6.6-6.6a5.5 5.5 0 0 1 .4-7.3L11.4 3l1.3 1.3a4 4 0 0 0 2 2z'/%3E%3C/svg%3E");
	--fh-i-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.5 3.2-5.5 6.5-5.5s5.9 2 6.5 5.5'/%3E%3Cpath d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.8c2 .7 3.2 2.5 3.5 5.2'/%3E%3C/svg%3E");
	--fh-i-layout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M9 9v11'/%3E%3C/svg%3E");
	--fh-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E");
	--fh-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.3-4.3'/%3E%3C/svg%3E");
	--fh-i-database: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5.5' rx='7.5' ry='2.8'/%3E%3Cpath d='M4.5 5.5v13c0 1.5 3.4 2.8 7.5 2.8s7.5-1.3 7.5-2.8v-13M4.5 12c0 1.5 3.4 2.8 7.5 2.8s7.5-1.3 7.5-2.8'/%3E%3C/svg%3E");
	--fh-i-refresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.3-4.9L4 8M4 4v4h4M4 13a8 8 0 0 0 14.3 4.9L20 16M20 20v-4h-4'/%3E%3C/svg%3E");
	--fh-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 1.1 4.2 2 2 0 0 1 3.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L7.1 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.8 2z'/%3E%3C/svg%3E");
	--fh-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E");
	--fh-i-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3h-2.5A4.5 4.5 0 0 0 10 7.5V10H7v4h3v7h4v-7h3l1-4h-4V7.5a.5.5 0 0 1 .5-.5H17z'/%3E%3C/svg%3E");
	--fh-i-game: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12a4 4 0 0 1 4 4v1.5a3.5 3.5 0 0 1-6.3 2.1L14.5 14h-5l-1.2 1.6A3.5 3.5 0 0 1 2 13.5V12a4 4 0 0 1 4-4zM7.5 10.5v3M6 12h3M16 11h.01M18 13h.01'/%3E%3C/svg%3E");
	--fh-i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5zM4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5'/%3E%3C/svg%3E");
	--fh-i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B7A23' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21c0-9 5-15 16-16-1 11-7 16-16 16zM5 21l8-8'/%3E%3C/svg%3E");
}

/* ---------- Karten ---------- */
.fh-cards { gap: 1.25rem !important; }
.fh-card {
	background: #fff; border: 1px solid var(--fh-line); border-radius: var(--fh-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem); box-shadow: var(--fh-shadow);
	transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%;
	display: flex; flex-direction: column;
}
.fh-card:hover { transform: translateY(-4px); box-shadow: var(--fh-shadow-lg); border-color: #CDEFD0; }
.fh-card > * { margin-block: 0; }
.fh-card > * + * { margin-top: .75rem; }
.fh-card h3 { margin-top: 1.25rem; }
.fh-card p { color: var(--fh-muted); }
.fh-card .fh-link-arrow { margin-top: auto !important; padding-top: 1rem; }
.fh-card::before {
	content: ""; width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
	background: var(--fh-tint) var(--fh-icon, var(--fh-i-server)) center / 26px no-repeat;
	box-shadow: inset 0 0 0 1px rgba(11, 122, 35, .14);
}
.fh-section--alt .fh-card { border-color: #E6ECF2; }
.fh-icon-server { --fh-icon: var(--fh-i-server); }
.fh-icon-globe { --fh-icon: var(--fh-i-globe); }
.fh-icon-shield { --fh-icon: var(--fh-i-shield); }
.fh-icon-wrench { --fh-icon: var(--fh-i-wrench); }
.fh-icon-users { --fh-icon: var(--fh-i-users); }
.fh-icon-layout { --fh-icon: var(--fh-i-layout); }
.fh-icon-heart { --fh-icon: var(--fh-i-heart); }
.fh-icon-search { --fh-icon: var(--fh-i-search); }
.fh-icon-database { --fh-icon: var(--fh-i-database); }
.fh-icon-refresh { --fh-icon: var(--fh-i-refresh); }
.fh-icon-phone { --fh-icon: var(--fh-i-phone); }
.fh-icon-mail { --fh-icon: var(--fh-i-mail); }
.fh-icon-facebook { --fh-icon: var(--fh-i-facebook); }
.fh-icon-game { --fh-icon: var(--fh-i-game); }
.fh-icon-book { --fh-icon: var(--fh-i-book); }
.fh-icon-leaf { --fh-icon: var(--fh-i-leaf); }

/* kompakte Karte (Werkstatt) */
.fh-card--flat { box-shadow: none; background: var(--fh-surface); border-color: transparent; }
.fh-card--flat:hover { background: #fff; border-color: var(--fh-line); }
.fh-card--flat::before { background-color: #fff; }

/* ---------- Ansprechpartner / Ablauf ---------- */
.fh-person { background: var(--fh-surface); position: relative; overflow: hidden; }
.fh-person::after {
	content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px; border-radius: 50%;
	background: radial-gradient(circle, rgba(29, 204, 29, .14), transparent 65%); pointer-events: none;
}
.fh-person > * { position: relative; z-index: 1; }
.fh-person__cols { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }

.fh-steps { list-style: none; padding: 0; margin: 0; counter-reset: fh; display: grid; gap: 1rem; }
.fh-steps li {
	counter-increment: fh; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.75rem; border-radius: 16px;
	background: #fff; border: 1px solid var(--fh-line); color: var(--fh-muted); line-height: 1.5; box-shadow: var(--fh-shadow);
}
.fh-steps li strong { display: block; color: var(--fh-ink); font-size: 1.0625rem; margin-bottom: .15rem; }
.fh-steps li::before {
	content: counter(fh, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1.2rem;
	width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center;
	background: var(--fh-tint); color: var(--fh-green-dark); box-shadow: inset 0 0 0 1px rgba(11, 122, 35, .2); font-weight: 800; font-size: .9rem;
}

/* ---------- Werkstatt ---------- */
.fh-note {
	display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem !important;
	border-radius: var(--fh-radius); background: var(--fh-tint); border: 1px solid #C8EFCB; color: var(--fh-ink);
	margin-top: 1.5rem !important;
}
.fh-note::before {
	content: ""; width: 28px; height: 28px; flex-shrink: 0; margin-top: .05rem;
	background: var(--fh-i-shield) center / 28px no-repeat;
}

/* ---------- Geschichte / Zeitstrahl ---------- */
.fh-timeline { position: relative; display: grid; gap: 0 !important; }
.fh-timeline::before {
	content: ""; position: absolute; left: 7.5rem; top: .75rem; bottom: .75rem; width: 2px;
	background: linear-gradient(var(--fh-green), rgba(29, 204, 29, .15));
}
.fh-tl-item { display: grid !important; grid-template-columns: 6rem 1fr; gap: 3rem !important; padding-block: 1.1rem; position: relative; }
.fh-tl-item > * { margin: 0 !important; }
.fh-tl-item::before {
	content: ""; position: absolute; left: calc(7.5rem - 6px); top: 1.55rem; width: 14px; height: 14px; border-radius: 50%;
	background: #fff; border: 3px solid var(--fh-green);
}
.fh-tl-year { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.35rem; color: var(--fh-green-dark); text-align: right; line-height: 1.4; }
.fh-tl-body h3 { margin: 0 0 .25rem; }
.fh-tl-body p { margin: 0; color: var(--fh-muted); }
@media (max-width: 600px) {
	.fh-timeline::before { left: .45rem; }
	.fh-tl-item { grid-template-columns: 1fr; gap: .25rem !important; padding-left: 2rem; }
	.fh-tl-item::before { left: 0; top: 1.35rem; }
	.fh-tl-year { text-align: left; font-size: 1.1rem; }
}
.fh-history__cols { gap: clamp(2rem, 6vw, 5rem) !important; }
.fh-quote {
	border-radius: var(--fh-radius); background: #fff; border: 1px solid var(--fh-line); box-shadow: var(--fh-shadow);
	padding: clamp(1.5rem, 3vw, 2.25rem) !important; position: sticky; top: 120px;
}
.fh-quote > * { margin-block: 0; }
.fh-quote > * + * { margin-top: 1rem; }
.fh-quote__name { font-weight: 700; color: var(--fh-ink); }
.fh-quote__role { color: var(--fh-muted); font-size: .95rem; margin-top: .1rem !important; }
.fh-quote__text { font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.fh-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.fh-tags li { font-size: .85rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--fh-surface); border: 1px solid var(--fh-line); }

/* ---------- Kontakt ---------- */
.fh-contact {
	background:
		radial-gradient(800px 380px at 50% 0%, rgba(29, 204, 29, .18), transparent 70%),
		var(--fh-tint);
	border-top: 1px solid #D3F2D5;
}
.fh-contact .fh-card { text-align: left; }
.fh-contact .fh-card a { font-weight: 700; color: var(--fh-ink); text-decoration: none; font-size: 1.125rem; word-break: break-word; }
.fh-contact .fh-card a:hover { color: var(--fh-green-dark); }

/* ---------- Fußbereich ---------- */
.fh-footer { background: #fff; border-top: 1px solid var(--fh-line); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .95rem; }
.fh-footer__cols { gap: 2.5rem !important; }
.fh-footer h4 { font-family: var(--wp--preset--font-family--body); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fh-muted); font-weight: 700; margin: 0 0 1rem; }
.fh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fh-footer a { color: var(--fh-ink); text-decoration: none; }
.fh-footer a:hover { color: var(--fh-green-dark); text-decoration: underline; }
.fh-footer__logo img { height: 46px; width: auto; display: block; }
.fh-footer__logo { margin: 0 0 1rem !important; }
.fh-footer__claim { color: var(--fh-muted); max-width: 22rem; }
.fh-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-top: 1.5rem; border-top: 1px solid var(--fh-line);
	color: var(--fh-muted); font-size: .875rem; gap: .5rem 1.5rem !important;
}
.fh-footer__bottom p { margin: 0; }

/* ---------- Inhaltsseiten ---------- */
.fh-page-head {
	background: linear-gradient(180deg, var(--fh-surface), #fff); border-bottom: 1px solid var(--fh-line);
	padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.fh-page-head .wp-block-post-title { margin: .5rem 0 0; }
.fh-content { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.fh-content .wp-block-post-content > :first-child { margin-top: 0; }
.fh-content img { border-radius: var(--fh-radius-sm); }
.fh-post-card { border: 1px solid var(--fh-line); border-radius: var(--fh-radius); padding: 1.5rem; height: 100%; }
.fh-post-card .wp-block-post-featured-image img { border-radius: var(--fh-radius-sm); }

/* Ältere Inhalte (Accordion-Plugin, Tabellen) im hellen Stil */
.fh-content .sp-easy-accordion .ea-card { border-radius: var(--fh-radius-sm) !important; border-color: var(--fh-line) !important; overflow: hidden; }
.fh-content table { border-collapse: collapse; width: 100%; }
.fh-content th, .fh-content td { border: 1px solid var(--fh-line); padding: .6rem .8rem; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
