/* ==========================================================================
   Lichthelfer – Theme-Styles
   Farben/Schriften kommen aus theme.json (CSS-Variablen --wp--preset--…).
   Waldgrün (#2D5A4C) + Sonnengelb (#F5B935) auf Weiß/Creme. Überschriften: Lora, Text: Plus Jakarta Sans.
   ========================================================================== */

:root {
	--hn-primary: var(--wp--preset--color--primary, #2D5A4C);
	--hn-primary-dark: var(--wp--preset--color--primary-dark, #1D3D33);
	--hn-accent: var(--wp--preset--color--accent, #F5B935);
	--hn-accent-text: var(--wp--preset--color--accent-text, #8A5A00);
	--hn-base: var(--wp--preset--color--base, #fff);
	--hn-surface: var(--wp--preset--color--surface, #fff);
	--hn-soft: var(--wp--preset--color--sand, #FAF7F2);
	--hn-tint: var(--wp--preset--color--sage, #EAF1EC);
	--hn-ink: var(--wp--preset--color--ink, #1B2A25);
	--hn-muted: var(--wp--preset--color--muted, #5A6661);
	--hn-line: var(--wp--preset--color--line, #E7E2D9);
	--hn-head: var(--wp--preset--font-family--serif, "Plus Jakarta Sans", system-ui, sans-serif);
	--hn-radius: 18px;
	--hn-radius-lg: 24px;
	--hn-shadow: 0 1px 2px rgba(27, 42, 37, .04), 0 16px 40px -22px rgba(27, 42, 37, .2);
	--hn-shadow-lg: 0 28px 60px -30px rgba(27, 42, 37, .34);
	--hn-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--hn-wide: 1240px;
	--hn-gutter: clamp(1rem, 4vw, 2rem);
}

html { font-size: 100%; scroll-behavior: smooth; }
html.hn-large-text { font-size: 118.75%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[id] { scroll-margin-top: 7rem; }
img { max-width: 100%; height: auto; }

:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--hn-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}

.hn-skip-link {
	position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
	background: var(--hn-primary-dark); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 12px;
	font-weight: 700; text-decoration: none;
}
.hn-skip-link:focus { top: 0; }

.hn-wrap { max-width: var(--hn-wide); margin-inline: auto; padding-inline: var(--hn-gutter); }

.wp-site-blocks > * { margin-block: 0; }
.hn-main .wp-block-post-content > * { margin-block-start: 0; }
.hn-main .wp-block-post-content > .alignfull { margin-block: 0; }

/* Arabisch/Persisch: Systemschriften mit guter arabischer Darstellung */
:is(:lang(ar), :lang(fa)) body, :is(:lang(ar), :lang(fa)) :where(h1, h2, h3, h4, .hn-brand__tag) {
	font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
	letter-spacing: 0 !important;
}

/* ---------------------------------------------------------------- Buttons */

.hn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.hn-btn .hn-icon { width: 1.2em; height: 1.2em; flex: none; }
.hn-btn--primary { background: var(--hn-primary); color: #fff; }
.hn-btn--primary:hover { background: var(--hn-primary-dark); color: #fff; box-shadow: 0 10px 22px -12px rgba(29, 61, 51, .6); }
.hn-btn--ghost { border-color: var(--hn-primary); color: var(--hn-primary); background: transparent; }
.hn-btn--ghost:hover { background: var(--hn-primary); color: #fff; }

.wp-block-button__link { transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.wp-block-button__link:hover { box-shadow: 0 10px 22px -12px rgba(29, 61, 51, .55); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--hn-primary); border: 2px solid currentColor;
	padding: calc(.85em - 2px) calc(1.6em - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--hn-primary); color: #fff; border-color: var(--hn-primary); }
.wp-block-button.is-style-light > .wp-block-button__link { background: var(--hn-accent); color: var(--hn-ink); }
.wp-block-buttons { gap: .75rem; }
.wp-block-buttons.hn-center { justify-content: center; margin-top: 2.5rem; }

/* ---------------------------------------------------------------- Header */

.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }

.hn-topbar { background: var(--hn-primary-dark); color: rgba(255, 255, 255, .85); font-size: .95rem; }
.hn-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; }
.hn-topbar__hint { margin: 0; display: flex; align-items: center; gap: .5rem; }
.hn-topbar__hint .hn-icon { width: 1.05em; height: 1.05em; color: var(--hn-accent); }
.hn-topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.hn-topbar a:hover { text-decoration: underline; }
.hn-topbar__tools { display: flex; align-items: center; gap: .5rem; }

.hn-fontsize {
	font: inherit; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 10px; padding: .15rem .75rem; cursor: pointer; line-height: 1.6;
}
.hn-fontsize:hover, .hn-fontsize[aria-pressed="true"] { background: var(--hn-accent); border-color: var(--hn-accent); color: var(--hn-ink); }
.hn-fontsize__plus { font-size: .8em; vertical-align: super; }

/* Sprachauswahl */
.hn-lang { position: relative; }
.hn-lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
	padding: .15rem .75rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
	color: #fff; line-height: 1.6; font-weight: 700;
}
.hn-lang summary::-webkit-details-marker { display: none; }
.hn-lang summary .hn-icon { width: 1.05em; height: 1.05em; }
.hn-lang[open] .hn-lang__chev { transform: rotate(180deg); }
.hn-lang__list {
	position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); z-index: 80; min-width: 15rem;
	list-style: none; margin: 0; padding: .5rem; background: #fff; border-radius: 16px; box-shadow: var(--hn-shadow-lg);
	border: 1px solid var(--hn-line); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.hn-lang__list a { display: block; padding: .5rem .75rem; border-radius: 10px; color: var(--hn-ink) !important; font-weight: 600 !important; }
.hn-lang__list a:hover, .hn-lang__list a[aria-current] { background: var(--hn-tint); text-decoration: none !important; }
.hn-lang__list a[aria-current] { font-weight: 800 !important; color: var(--hn-primary) !important; }

.hn-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hn-line); }
.hn-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 5rem; }

.hn-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--hn-ink); flex: none; }
.hn-logo { width: 46px; height: 46px; flex: none; }
.hn-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.hn-brand__name { font-family: var(--hn-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; color: var(--hn-primary-dark); }
.hn-brand__tld { color: var(--hn-accent-text, #8A5A00); font-weight: 600; }
.hn-brand__tag { font-size: .8rem; color: var(--hn-muted); margin-top: .25rem; font-weight: 500; }

.hn-nav { margin-inline-start: auto; }
.hn-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.hn-nav__list a {
	display: block; position: relative; padding: .6rem .85rem; border-radius: 999px; text-decoration: none; color: var(--hn-ink); font-weight: 500;
	transition: background .2s, color .2s;
}
.hn-nav__list a:hover { background: var(--hn-soft); color: var(--hn-primary); }
.hn-nav__list .current-menu-item > a, .hn-nav__list .current_page_item > a { color: var(--hn-primary); }
.hn-nav__list .current-menu-item > a::after, .hn-nav__list .current_page_item > a::after {
	content: ""; position: absolute; inset-inline: .85rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--hn-accent);
}
.hn-nav__list .sub-menu { display: none; }
.hn-nav__cta { display: none; }
.hn-header__cta { flex: none; }

.hn-burger {
	display: none; margin-inline-start: auto; background: var(--hn-soft); color: var(--hn-primary-dark); border: 0; border-radius: 14px;
	width: 3.25rem; height: 3.25rem; align-items: center; justify-content: center; cursor: pointer;
}
.hn-burger .hn-icon { width: 1.6rem; height: 1.6rem; }
.hn-burger__close { display: none; }
.hn-burger[aria-expanded="true"] .hn-burger__open { display: none; }
.hn-burger[aria-expanded="true"] .hn-burger__close { display: block; }

@media (max-width: 1359px) { .hn-header__cta { display: none; } }
@media (min-width: 1100px) { .hn-nav__list a { white-space: nowrap; } }
@media (max-width: 1099px) {
	.hn-burger { display: inline-flex; }
	.hn-nav {
		position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--hn-line);
		box-shadow: 0 24px 40px -20px rgba(16, 42, 51, .35); padding: 1rem var(--hn-gutter) 1.5rem;
		display: none; max-height: calc(100vh - 8rem); overflow: auto;
	}
	.hn-nav.is-open { display: block; }
	.hn-header { position: relative; }
	.hn-nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
	.hn-nav__list a { padding: .9rem 1rem; font-size: 1.15rem; border-radius: 14px; }
	.hn-nav__list .current-menu-item > a, .hn-nav__list .current_page_item > a { background: var(--hn-tint); }
	.hn-nav__list .current-menu-item > a::after, .hn-nav__list .current_page_item > a::after { display: none; }
	.hn-nav__cta { display: flex; margin-top: 1rem; }
}
@media (max-width: 640px) {
	.hn-topbar__hint span { display: none; }
	.hn-brand__tag { display: none; }
	.hn-brand__name { font-size: 1.4rem; }
	.hn-logo { width: 40px; height: 40px; }
	.hn-header__inner { min-height: 4.25rem; }
}

/* ---------------------------------------------------------------- Sektionen */

.hn-section { padding-block: var(--wp--preset--spacing--60, 5rem); position: relative; }
.hn-section > * + * { margin-block-start: 2.5rem; }
.hn-section > .hn-sechead + * { margin-block-start: 3rem; }
.hn-tone-sand { background: var(--hn-soft); }
.hn-tone-sage { background: var(--hn-tint); }
.hn-tone-dark { background: var(--hn-primary); color: rgba(255, 255, 255, .9); }
.hn-tone-dark :where(h1, h2, h3, h4) { color: #fff; }
.hn-tone-dark a:not(.hn-btn):not(.wp-block-button__link) { color: #fff; }

.hn-sechead > * { margin-block: 0; }
.hn-sechead > * + * { margin-block-start: 1rem; }
.hn-sechead.is-center { text-align: center; margin-inline: auto; max-width: 48rem !important; }
.hn-section > .hn-sechead:not(.is-center) { max-width: var(--hn-wide) !important; }
.hn-sechead:not(.is-center) > * { max-width: 46rem; }

.hn-eyebrow {
	font-size: .8125rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hn-primary);
	display: flex !important; align-items: center; gap: .75rem; margin-bottom: 0; width: fit-content;
}
.hn-eyebrow::before { content: ""; flex: none; width: 2rem; height: 2px; border-radius: 2px; background: var(--hn-accent); }
.hn-sechead.is-center .hn-eyebrow { margin-inline: auto; }
.hn-sechead.is-center .hn-eyebrow::after { content: ""; flex: none; width: 2rem; height: 2px; border-radius: 2px; background: var(--hn-accent); }
.hn-tone-dark .hn-eyebrow { color: var(--hn-accent); }
:is(:lang(ar), :lang(fa)) .hn-eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem !important; }
.hn-lead { font-size: var(--wp--preset--font-size--large); color: var(--hn-muted); line-height: 1.6; }
.hn-tone-dark .hn-lead { color: rgba(255, 255, 255, .85); }
.hn-small { font-size: 1rem; color: var(--hn-muted); }

/* Fotos allgemein */
.wp-block-image.hn-photo, .wp-block-image.hn-card__photo, .wp-block-image.hn-hero__photo { margin: 0; }
.hn-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--hn-radius-lg); box-shadow: var(--hn-shadow); }
.hn-section h2 { text-wrap: balance; }
.hn-photo--tall img { aspect-ratio: 4 / 5; }

/* Hero */
.hn-hero {
	background:
		radial-gradient(44rem 30rem at 95% 10%, rgba(45, 90, 76, .07), transparent 65%),
		linear-gradient(180deg, var(--hn-soft) 0%, #fff 100%);
	padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem);
	overflow: hidden;
}
.hn-hero__cols { align-items: center !important; gap: clamp(2rem, 5vw, 4.5rem) !important; }
@media (min-width: 782px) { .hn-hero__cols > .wp-block-column:first-child { flex: 0 0 52% !important; } }
.hn-hero__cols > .wp-block-column:first-child > * { margin-block: 0; }
.hn-hero__cols > .wp-block-column:first-child > * + * { margin-block-start: 1.5rem; }
.hn-hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); max-width: 15ch; text-wrap: balance; }
.hn-hero__provider { font-size: .975rem; color: var(--hn-muted); border-top: 1px solid var(--hn-line); padding-top: 1.25rem; margin-top: 2.25rem !important; max-width: 34rem; }
.hn-hero .hn-lead { max-width: 36rem; }
.hn-hero .wp-block-buttons { margin-top: 2rem !important; }

.hn-hero__media { position: relative; }
.hn-hero__media::before {
	content: ""; position: absolute; inset: 1.75rem -1.75rem -1.75rem 1.75rem; border-radius: 28px; background: var(--hn-tint); z-index: 0;
}
[dir="rtl"] .hn-hero__media::before { inset: 1.75rem 1.75rem -1.75rem -1.75rem; }
.hn-hero__photo { position: relative; z-index: 1; }
.hn-hero__photo img { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 35% 30%; border-radius: 28px; box-shadow: var(--hn-shadow-lg); }
.hn-hero__badge {
	position: absolute; z-index: 2; inset-inline-start: -1.5rem; bottom: 2rem; display: flex !important; align-items: center; gap: .9rem;
	background: #fff; padding: 1rem 1.25rem; border-radius: 18px; box-shadow: var(--hn-shadow-lg); max-width: 19rem; border: 1px solid var(--hn-line);
}
.hn-hero__badge > * { margin: 0 !important; }
.hn-hero__badge p { font-size: .975rem; line-height: 1.4; color: var(--hn-muted); }
.hn-hero__badge strong { color: var(--hn-ink); font-size: 1.05rem; }
.hn-hero__badge .hn-iconbadge { background: var(--hn-accent); color: var(--hn-ink); flex: none; width: 3.25rem; height: 3.25rem; }

.hn-trust { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 2rem !important; }
.hn-trust li { display: inline-flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 700; color: var(--hn-ink); }
.hn-trust li::before, .hn-checklist li::before {
	content: ""; flex: none; width: 1.45rem; height: 1.45rem; border-radius: 50%;
	background: var(--hn-tint) var(--hn-check) center / 58% no-repeat;
}
.hn-tone-sage :is(.hn-trust, .hn-checklist) li::before, .hn-card--muted .hn-checklist li::before { background-color: #fff; }

/* Vertrauensleiste */
.hn-trustband { background: #fff; border-block: 1px solid var(--hn-line); padding-block: clamp(1.5rem, 3vw, 2rem); }
.hn-trustband > .hn-trustband__list {
	max-width: var(--hn-wide) !important; margin-inline: auto !important; padding-inline: var(--hn-gutter); box-sizing: border-box;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem;
}
.hn-trustband__item { display: flex !important; align-items: center; gap: .9rem; }
.hn-trustband__item > * { margin: 0 !important; }
.hn-trustband .hn-iconbadge { width: 3rem; height: 3rem; flex: none; }
.hn-trustband .hn-iconbadge .hn-icon { width: 1.45rem; height: 1.45rem; }
.hn-trustband__label { font-weight: 600; color: var(--hn-ink); line-height: 1.3; font-size: 1.0625rem; }
@media (max-width: 960px) { .hn-trustband > .hn-trustband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hn-trustband__item { min-width: 0; }
.hn-trustband__label { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 560px) {
	.hn-trustband > .hn-trustband__list { grid-template-columns: 1fr; gap: .85rem; }
	.hn-trustband .hn-iconbadge { width: 2.5rem; height: 2.5rem; }
}

/* Hero-Grafik (optionaler Block „Begrüßungs-Grafik“) */
.hn-hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.hn-hero-visual__ring { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--hn-tint) 70%); }
.hn-hero-visual__disc { position: absolute; inset: 33%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--hn-shadow); }
.hn-hero-visual__logo { width: 62%; height: 62%; }
.hn-bubble { position: absolute; background: #fff; color: var(--hn-ink); font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.05rem); padding: .5em .95em; border-radius: 14px; box-shadow: var(--hn-shadow); white-space: nowrap; }
.hn-bubble:nth-of-type(even) { background: var(--hn-primary); color: #fff; }
.hn-bubble:nth-of-type(3n) { background: var(--hn-accent); color: var(--hn-ink); }
.hn-bubble--1 { top: 4%; left: 30%; } .hn-bubble--2 { top: 16%; right: 0; } .hn-bubble--3 { top: 36%; left: -2%; }
.hn-bubble--4 { top: 48%; right: -4%; } .hn-bubble--5 { bottom: 22%; left: 4%; } .hn-bubble--6 { bottom: 8%; right: 14%; }
.hn-bubble--7 { top: 20%; left: 6%; } .hn-bubble--8 { bottom: 0; left: 34%; } .hn-bubble--9 { display: none; }
[dir="rtl"] .hn-hero-visual { direction: ltr; }

/* Einleitung (Foto + Text) */
.hn-intro__cols { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }
.hn-intro__cols > .wp-block-column > * { margin-block: 0; }
.hn-intro__cols > .wp-block-column > * + * { margin-block-start: 1.25rem; }
@media (min-width: 782px) { .hn-intro__cols > .wp-block-column:first-child { flex: 0 0 42% !important; } }

/* Karten */
.hn-cards { gap: 1.5rem !important; }
.hn-card {
	background: var(--hn-surface); border: 1px solid var(--hn-line); border-radius: var(--hn-radius); padding: clamp(1.5rem, 3vw, 2rem);
	height: 100%; transition: transform .25s, box-shadow .25s; overflow: hidden; box-sizing: border-box;
}
.hn-card:hover { box-shadow: var(--hn-shadow); }
.hn-card > * { margin-block: 0; }
.hn-card > * + * { margin-block-start: 1rem; }
.hn-card h3 { font-size: 1.4rem; letter-spacing: -.01em; }
.hn-card p { color: var(--hn-muted); }
.hn-card--photo { padding-top: 0 !important; }
.hn-card--photo > .hn-card__photo { margin-inline: calc(-1 * clamp(1.5rem, 3vw, 2rem)) !important; margin-bottom: 1.5rem !important; overflow: hidden; }
.hn-card--feature.hn-card--photo > .hn-card__photo { margin-inline: calc(-1 * clamp(1.75rem, 4vw, 2.75rem)) !important; }
.hn-card__photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.hn-card:hover .hn-card__photo img { transform: scale(1.03); }
.hn-card--feature { padding: clamp(1.75rem, 4vw, 2.75rem); }
.hn-card--feature .wp-block-buttons { margin-top: 1.75rem; }
.hn-card--muted { background: var(--hn-soft); }
.hn-card--muted:hover, .hn-card--quote:hover { transform: none; box-shadow: none; }
.hn-card--quote { background: var(--hn-primary); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; position: relative; min-height: 18rem; }
.hn-card--quote::before { content: "\201C"; position: absolute; top: -.25rem; inset-inline-start: 1.5rem; font-size: 7rem; line-height: 1; color: var(--hn-accent); font-family: var(--hn-head); }
.hn-card--quote p { color: #fff; }
.hn-card--quote .hn-small { color: rgba(255, 255, 255, .75); }
.hn-quote { font-family: var(--hn-head); font-weight: 500; font-style: italic; font-size: var(--wp--preset--font-size--x-large); line-height: 1.35; letter-spacing: -.01em; }
.hn-tone-sand .hn-card, .hn-tone-sage .hn-card { border-color: transparent; }

.hn-iconbadge { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--hn-tint); color: var(--hn-primary); }
.hn-iconbadge .hn-icon { width: 1.75rem; height: 1.75rem; }
.hn-tone-sage .hn-iconbadge { background: #fff; }
.hn-card--muted .hn-iconbadge { background: #fff; }

.hn-checklist { list-style: none; padding-inline-start: 0 !important; }
.hn-checklist li { display: flex; gap: .75rem; align-items: flex-start; margin-block: .55rem; color: var(--hn-ink); }
.hn-checklist li::before { margin-top: .2rem; }

.hn-note {
	background: #FCF7EC; border: 1px solid #F1E3C2; border-inline-start: 3px solid var(--hn-accent); padding: 1rem 1.25rem; border-radius: 12px;
	font-size: 1.0625rem; color: var(--hn-ink);
}
.hn-section > .hn-note { max-width: var(--hn-wide) !important; }

/* Sprachen-Chips */
.hn-langchips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; max-width: 980px !important; }
.hn-langchips a {
	display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.2rem .5rem .5rem; border-radius: 999px; background: #fff;
	color: var(--hn-ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; border: 1.5px solid var(--hn-line);
	transition: border-color .2s, box-shadow .2s;
}
.hn-langchips a:hover { border-color: var(--hn-primary); box-shadow: var(--hn-shadow); }
.hn-langchips a[aria-current] { background: var(--hn-primary); color: #fff; }
.hn-langchips__code { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--hn-tint); color: var(--hn-primary); font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.hn-langchips a[aria-current] .hn-langchips__code { background: rgba(255, 255, 255, .18); color: #fff; }

/* Ablauf */
.hn-steps { gap: 1.5rem !important; }
.hn-step { position: relative; padding: 2rem; background: var(--hn-surface); border-radius: var(--hn-radius); border: 1px solid var(--hn-line); height: 100%; box-sizing: border-box; }
.hn-step > * { margin-block: 0; }
.hn-step > * + * { margin-block-start: .85rem; }
.hn-step__num {
	font-family: var(--hn-head); font-size: 1.5rem !important; font-weight: 600; width: 3.25rem; height: 3.25rem; border-radius: 50%;
	display: grid; place-items: center; background: var(--hn-primary); color: #fff; margin-bottom: .5rem !important;
}
.hn-step h3 { font-size: 1.35rem; }
.hn-step p:not(.hn-step__num) { color: var(--hn-muted); }
.hn-tone-sage .hn-step, .hn-tone-sand .hn-step { border-color: transparent; }

/* Preise */
.hn-pricing__cols { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }
.hn-pricing__cols > .wp-block-column > * { margin-block: 0; }
.hn-pricing__cols > .wp-block-column > * + * { margin-block-start: 1.25rem; }
.hn-pricecard { background: var(--hn-surface); border-radius: var(--hn-radius-lg); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--hn-shadow-lg); position: relative; overflow: hidden; }
.hn-pricecard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hn-accent); }
.hn-pricecard > * { margin-block: 0; }
.hn-price__label { font-size: .9rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hn-muted); }
.hn-price__amount { font-family: var(--hn-head); font-weight: 600; letter-spacing: -.02em; font-size: clamp(3.5rem, 8vw, 5rem) !important; line-height: 1 !important; color: var(--hn-primary); margin-top: .75rem !important; }
.hn-price__unit { color: var(--hn-muted); margin-top: .35rem !important; }
.hn-price__min { display: inline-block; margin-top: 1.25rem !important; background: var(--hn-tint); color: var(--hn-primary-dark); font-weight: 700; padding: .45rem 1rem; border-radius: 999px; font-size: 1rem; }
.hn-pricecard .hn-checklist { margin-top: 1.5rem !important; }
.hn-pricecard .wp-block-buttons { margin-top: 1.75rem !important; }
.hn-pricecard .wp-block-button, .hn-pricecard .wp-block-button__link { width: 100%; }

/* FAQ */
.hn-faq { max-width: 860px !important; background: var(--hn-surface); border-radius: var(--hn-radius); padding: .5rem clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--hn-line); }
.hn-faq > * { margin-block: 0 !important; }
.hn-faq .wp-block-details:last-child { border-bottom: 0; }
.wp-block-details summary {
	cursor: pointer; font-weight: 600; font-size: 1.15rem; color: var(--hn-ink); list-style: none;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .35rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
	background: var(--hn-tint); color: var(--hn-primary); font-size: 1.4rem; font-weight: 600; line-height: 1;
}
.wp-block-details[open] summary::after { content: "–"; background: var(--hn-primary); color: #fff; }
.wp-block-details > p { color: var(--hn-muted); margin-top: .75rem; }

/* Call to Action */
.hn-cta { overflow: hidden; }
.hn-cta::before { content: ""; position: absolute; width: 34rem; height: 34rem; inset-inline-end: -12rem; top: -16rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%); pointer-events: none; }
.hn-cta__cols { gap: clamp(2rem, 5vw, 4rem) !important; align-items: center !important; position: relative; z-index: 1; }
.hn-cta__box > * { margin-block: 0; }
.hn-cta__box > * + * { margin-block-start: 1.25rem; }
.hn-cta__box .hn-contact { margin-top: 2rem; }
.hn-cta__photo img { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }

/* Kontaktwege */
.hn-contact { display: flex; flex-wrap: wrap; gap: .75rem; }
.hn-contact--buttons-light .hn-btn--primary { background: var(--hn-accent); color: var(--hn-ink); }
.hn-contact--buttons-light .hn-btn--primary:hover { background: #ffc94f; }
.hn-contact--buttons-light .hn-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hn-contact--buttons-light .hn-btn--ghost:hover { background: #fff; color: var(--hn-primary-dark); border-color: #fff; }
.hn-contact--cards { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.hn-contact__card {
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
	padding: 1rem 1.25rem; background: var(--hn-surface); border: 1px solid var(--hn-line); border-radius: var(--hn-radius); text-decoration: none;
	color: var(--hn-ink); transition: border-color .2s, transform .2s, box-shadow .2s; box-sizing: border-box;
}
.hn-contact__card:hover { border-color: var(--hn-primary); box-shadow: var(--hn-shadow); }
.hn-contact__card .hn-iconbadge { grid-row: span 2; width: 3.25rem; height: 3.25rem; }
.hn-contact__card:first-child .hn-iconbadge { background: var(--hn-accent); color: var(--hn-ink); }
.hn-contact__label { font-size: .95rem; color: var(--hn-muted); }
.hn-contact__value { font-weight: 700; font-size: 1.2rem; color: var(--hn-ink); overflow-wrap: anywhere; }

/* Seitenkopf Unterseiten */
.hn-pagehero, .hn-pagehead { background: var(--hn-soft); border-bottom: 1px solid var(--hn-line); padding-block: clamp(3rem, 6vw, 5rem) !important; }
.hn-pagehero h1, .hn-pagehead h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }
.hn-pagehero__cols { align-items: center !important; gap: clamp(2rem, 5vw, 4rem) !important; }
.hn-pagehero__photo img { aspect-ratio: 16 / 11; }
.hn-pagehead .wp-block-post-date { color: var(--hn-muted); }

.hn-split { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }
.hn-split > .wp-block-column > * { margin-block: 0; }
.hn-split > .wp-block-column > * + * { margin-block-start: 1.25rem; }

.hn-page-content { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }

/* Kontakt-Bereich & Formular */
.hn-contact__cols { gap: clamp(2rem, 5vw, 4rem) !important; }
@media (min-width: 782px) { .hn-contact__cols > .wp-block-column:first-child { flex: 0 0 38% !important; } }
.hn-contact__cols > .wp-block-column > * { margin-block: 0; }
.hn-contact__cols > .wp-block-column > * + * { margin-block-start: 1.25rem; }
.hn-formcard { background: var(--hn-surface); border-radius: var(--hn-radius-lg); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--hn-shadow-lg); border: 1px solid var(--hn-line); box-sizing: border-box; }
.hn-formcard > * { margin-block: 0; }
.hn-formcard > * + * { margin-block-start: 1rem; }

.hn-form { display: grid; gap: 1.25rem; margin-top: 1.5rem !important; }
.hn-form, .hn-form *, .hn-form *::before, .hn-form *::after { box-sizing: border-box; }
.hn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hn-form__row > *, .hn-field { min-width: 0; }
@media (max-width: 640px) { .hn-form__row { grid-template-columns: 1fr; } }
.hn-field { display: grid; gap: .4rem; }
.hn-field label, .hn-field legend { font-weight: 600; color: var(--hn-ink); font-size: 1.0625rem; }
.hn-field .hn-req { color: #B3261E; }
.hn-field .hn-opt { color: var(--hn-muted); font-weight: 500; font-size: .9em; }
.hn-field input[type="text"], .hn-field input[type="tel"], .hn-field input[type="email"], .hn-field select, .hn-field textarea {
	width: 100%; font: inherit; font-size: 1.0625rem; color: var(--hn-ink); background: var(--hn-soft);
	border: 1.5px solid #D9D3C8; border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.hn-field textarea { min-height: 8rem; resize: vertical; }
.hn-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5A4C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.2rem; padding-inline-end: 2.75rem; }
[dir="rtl"] .hn-field select { background-position: left 1rem center; }
.hn-field :is(input, select, textarea):focus { outline: none; border-color: var(--hn-primary); background: #fff; box-shadow: 0 0 0 4px rgba(45, 90, 76, .15); }
.hn-field.has-error :is(input, select, textarea) { border-color: #B3261E; }
.hn-field__error { color: #B3261E; font-size: .95rem; font-weight: 700; }
.hn-consent { display: flex; gap: .85rem; align-items: flex-start; font-size: 1rem; color: var(--hn-muted); }
.hn-consent input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; accent-color: var(--hn-primary); flex: none; }
.hn-consent.has-error { color: #B3261E; }
.hn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hn-form button[type="submit"] { justify-self: start; font-size: 1.125rem; padding: 1rem 2.25rem; cursor: pointer; }
.hn-alert { padding: 1rem 1.25rem; border-radius: 14px; font-weight: 700; display: flex; gap: .75rem; align-items: flex-start; }
.hn-alert .hn-icon { width: 1.5rem; height: 1.5rem; flex: none; }
.hn-alert--success { background: var(--hn-tint); color: var(--hn-primary-dark); }
.hn-alert--error { background: #FBE9E7; color: #8C1D18; }

/* Rechtstexte */
.hn-legal { padding-top: var(--wp--preset--spacing--50) !important; }
.hn-legal > * { margin-block: 0; }
.hn-legal > * + * { margin-block-start: 1rem; }
.hn-legal h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.75rem !important; }
.hn-legal h3 { font-size: var(--wp--preset--font-size--large); margin-top: 2rem !important; }
.hn-legal p, .hn-legal li { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- Footer */

.hn-footer { background: var(--hn-primary-dark); color: rgba(255, 255, 255, .78); font-size: 1.0625rem; padding-top: clamp(3rem, 6vw, 5rem); }
.hn-footer a { color: #fff; text-decoration: none; }
.hn-footer a:hover { color: var(--hn-accent); }
.hn-footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 1023px) { .hn-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hn-footer__grid { grid-template-columns: 1fr; } }
.hn-footer .hn-brand__name { color: #fff; }
.hn-footer .hn-brand__tld { color: #F5B935; }
.hn-footer .hn-brand__tag { color: rgba(255, 255, 255, .65); }
.hn-footer .hn-logo__mate { fill: #F5B935; }
.hn-footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.hn-footer__title { font-family: inherit; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hn-accent); margin: 0 0 1.1rem; font-weight: 700; }
.hn-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hn-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.hn-footer__contact .hn-icon { width: 1.2rem; height: 1.2rem; margin-top: .3rem; color: var(--hn-accent); flex: none; }
.hn-footer__langs { grid-template-columns: 1fr 1fr; column-gap: 1rem !important; }
.hn-footer__langs a[aria-current] { color: var(--hn-accent); }
.hn-footer__bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.hn-footer__bottom p { margin: 0; }
.hn-footer__note { color: rgba(255, 255, 255, .6); }

/* Mobile Kontaktleiste */
.hn-mobilebar { display: none; }
@media (max-width: 782px) {
	.hn-mobilebar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
		background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
		box-shadow: 0 -10px 30px -12px rgba(16, 42, 51, .3); border-top: 1px solid var(--hn-line);
	}
	.hn-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem; border-radius: 14px; text-decoration: none; color: var(--hn-primary-dark); font-weight: 700; font-size: .95rem; background: var(--hn-tint); }
	.hn-mobilebar a:first-child { background: var(--hn-primary); color: #fff; }
	.hn-mobilebar a.is-primary { background: var(--hn-primary); color: #fff; }
	.hn-mobilebar .hn-icon { width: 1.5rem; height: 1.5rem; }
	body { padding-bottom: 5.5rem; }
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 781px) {
	.hn-section { padding-block: 3.5rem; }
	.hn-hero h1 { max-width: none; }
	.hn-hero__badge { inset-inline-start: .75rem; bottom: .75rem; }
	.hn-hero__media::before { inset: 6% -3% -3% 6%; }
	.hn-hero__photo img { aspect-ratio: 4 / 3; }
	.hn-photo--tall img { aspect-ratio: 4 / 3; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.hn-cards:not(.hn-cards--two) { flex-wrap: wrap !important; }
	.hn-cards:not(.hn-cards--two) > .wp-block-column { flex-basis: calc(50% - .75rem) !important; flex-grow: 1; }
	.hn-steps { flex-wrap: wrap !important; }
	.hn-steps > .wp-block-column { flex-basis: calc(50% - .75rem) !important; flex-grow: 1; }
}

/* Editor: Header/Footer-Vorschau ohne Sticky */
.editor-styles-wrapper .wp-block-template-part { position: static !important; }

/* Kontakt ohne Formular: Kontaktwege mittig */
.hn-contact__only { max-width: 46rem; margin-inline: auto; }
