/* ==========================================================================
   Grema Haushaltsauflösung – Haupt-Stylesheet (mobile first)
   ========================================================================== */

:root {
	--c-primary: #14213d;
	--c-primary-2: #0d1830;
	--c-accent: #f4a91c;
	--c-accent-ink: #1a1405;
	--c-text: #2b3443;
	--c-muted: #5f6b7d;
	--c-line: #e3e7ee;
	--c-tint: #f4f6f9;
	--c-white: #fff;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px -12px rgba(20, 33, 61, .25);
	--shadow-lg: 0 24px 50px -20px rgba(20, 33, 61, .35);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--font-head: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--container: 1200px;
	--gutter: 20px;
	--section: clamp(56px, 8vw, 104px);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	:root { --c-primary-2: color-mix(in srgb, var(--c-primary) 80%, #000); }
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--c-text); background: var(--c-white); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--c-primary) 70%, var(--c-accent)); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.18; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-accent); color: var(--c-accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--tint { background: var(--c-tint); }
.section--dark { background: var(--c-primary); color: #d5dbe6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--c-accent); }
.eyebrow--light { color: #fff; }
.eyebrow a { color: inherit; text-decoration: none; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { margin-bottom: 0; color: var(--c-muted); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--split h2 { margin: 0; }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--c-accent); color: var(--c-accent-ink); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--c-accent) 80%, transparent); }
.btn--accent:hover { background: color-mix(in srgb, var(--c-accent) 88%, #fff); color: var(--c-accent-ink); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-2); color: #fff; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }

/* Topbar ----------------------------------------------------------------- */
.topbar { background: var(--c-primary-2); color: #c8d0dd; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__claim { display: none; margin: 0; align-items: center; gap: 8px; }
.topbar__claim .icon { width: 16px; height: 16px; color: var(--c-accent); }
.topbar__contact { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.topbar__contact .icon { width: 15px; height: 15px; color: var(--c-accent); }
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: list-item; } .topbar__claim { display: inline-flex; } }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--c-line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(20, 33, 61, .45); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.site-branding { flex: none; }
.custom-logo { max-height: 56px; width: auto; }
.text-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-primary); }
.text-logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--c-accent); color: var(--c-accent-ink); }
.text-logo__mark .icon { width: 22px; height: 22px; }
.text-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.text-logo__text strong { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .06em; }
.text-logo__text small { font-size: .78rem; font-weight: 600; color: var(--c-muted); letter-spacing: .02em; }
.text-logo--light { color: #fff; }
.text-logo--light small { color: #aab4c4; }

.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--c-tint); color: var(--c-primary); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.primary-nav { position: fixed; inset: var(--nav-top, 112px) 0 0 0; z-index: 99; height: auto; max-height: calc(100dvh - var(--nav-top, 112px)); background: #fff; padding: 12px var(--gutter) 120px; overflow-y: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s; }
.primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; border-bottom: 1px solid var(--c-line); display: flex; flex-wrap: wrap; align-items: center; }
.primary-nav .menu a { flex: 1; display: block; padding: 15px 4px; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--c-primary); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a { color: color-mix(in srgb, var(--c-accent) 70%, #000); }
.submenu-toggle { width: 48px; height: 48px; border: 0; background: none; color: var(--c-primary); cursor: pointer; display: grid; place-items: center; }
.submenu-toggle .icon { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 10px 12px; width: 100%; display: none; }
.primary-nav .sub-menu.is-open { display: block; }
.primary-nav .sub-menu a { padding: 10px 4px; font-size: 1rem; font-weight: 600; color: var(--c-text); }
.nav-cta { margin-top: 20px; width: 100%; }
html.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; overflow: visible; display: flex; align-items: center; gap: 22px; background: none; }
	.primary-nav .menu { display: flex; gap: 4px; }
	.primary-nav .menu > li { border: 0; flex-wrap: nowrap; }
	.primary-nav .menu > li > a { padding: 24px 12px; font-size: .98rem; }
	.primary-nav .menu > li > a:hover { color: color-mix(in srgb, var(--c-accent) 70%, #000); }
	.submenu-toggle { width: 22px; height: 22px; margin-left: -8px; pointer-events: none; }
	.submenu-toggle .icon { width: 16px; height: 16px; }
	.primary-nav .sub-menu { display: block; position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { border-radius: var(--radius-sm); padding: 10px 14px; }
	.primary-nav .sub-menu a:hover { background: var(--c-tint); }
	.nav-cta { margin: 0; width: auto; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #dfe5ee; background: var(--c-primary); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--c-accent) 28%, transparent) 0, transparent 40%),
	repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
	linear-gradient(120deg, var(--c-primary-2), var(--c-primary)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero--image::before { background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 94%, transparent) 0%, color-mix(in srgb, var(--c-primary) 78%, transparent) 55%, color-mix(in srgb, var(--c-primary) 35%, transparent) 100%); }
.hero__inner { padding-top: clamp(56px, 10vw, 130px); padding-bottom: clamp(110px, 14vw, 190px); }
.hero__content { max-width: 720px; }
.hero__title { color: #fff; }
.hero__text { font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 620px; }
.hero__badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: #fff; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { width: 18px; height: 18px; color: var(--c-accent); }

/* Kontakt-Kacheln -------------------------------------------------------- */
.section-contact--tiles { position: relative; z-index: 2; margin-top: -70px; }
.section-contact--prefooter { padding: var(--section) 0; background: var(--c-tint); }
.contact-tiles { display: grid; gap: 14px; }
@media (min-width: 760px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--c-text); border: 1px solid var(--c-line); transition: transform .2s, box-shadow .2s; }
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--c-text); }
.contact-tile__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--c-accent); color: var(--c-accent-ink); }
.contact-tile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-tile__body strong { font-family: var(--font-head); color: var(--c-primary); font-size: 1.12rem; }
.contact-tile__body span { overflow-wrap: anywhere; }
.contact-tile__body em { font-style: normal; font-weight: 700; color: var(--c-primary); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .92rem; }
.contact-tile__body em .icon { width: 16px; height: 16px; }

/* Split-Layout ----------------------------------------------------------- */
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; }
.rounded-img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.media-placeholder { aspect-ratio: 4 / 3.4; border-radius: var(--radius); display: grid; place-content: center; justify-items: center; gap: 12px; background: repeating-linear-gradient(135deg, var(--c-tint) 0 14px, #eaeef4 14px 28px); color: var(--c-muted); font-size: .9rem; text-align: center; padding: 20px; }
.media-placeholder .icon { width: 56px; height: 56px; color: var(--c-primary); opacity: .55; }
.experience-badge { position: absolute; right: 16px; bottom: -22px; background: var(--c-accent); color: var(--c-accent-ink); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.1; }
.experience-badge strong { font-family: var(--font-head); font-size: 2.2rem; }
.experience-badge span { font-weight: 700; font-size: .9rem; }
.owner { display: flex; flex-direction: column; border-left: 4px solid var(--c-accent); padding: 4px 0 4px 16px; margin: 24px 0; color: var(--c-muted); font-size: .92rem; }
.owner span { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }
.owner strong { color: var(--c-primary); font-size: 1.15rem; font-family: var(--font-head); }

.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--c-accent) 22%, #fff); color: var(--c-primary); margin-top: 1px; }

/* Karten ----------------------------------------------------------------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: 0 2px 0 rgba(20,33,61,.03); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--c-muted); }
.card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--c-primary); color: var(--c-accent); margin-bottom: 20px; }
.card__icon .icon { width: 28px; height: 28px; }
.card__title { margin-bottom: 10px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-primary); }
.card__more .icon { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__more .icon, .post-card:hover .card__more .icon { transform: translateX(4px); }

/* CTA-Band --------------------------------------------------------------- */
.cta-band { background: var(--c-accent); color: var(--c-accent-ink); padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 2px, transparent 2px 18px); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: var(--c-primary); margin-bottom: 8px; }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band .btn--accent { background: var(--c-primary); color: #fff; box-shadow: none; }
.cta-band .btn--ghost { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.cta-band .btn--ghost:hover { background: var(--c-primary); color: #fff; }

/* SEO-Text --------------------------------------------------------------- */
.section-seo { padding-bottom: 0; }
.section-seo + .section-why { margin-top: var(--section); }

/* Warum wir -------------------------------------------------------------- */
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); color: #fff; font-weight: 600; }
.why-grid__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
.why-grid__icon .icon { width: 18px; height: 18px; }

/* Einsatzgebiete --------------------------------------------------------- */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--c-tint); border: 1px solid var(--c-line); font-weight: 600; font-size: .95rem; }
.chip-list .icon { width: 16px; height: 16px; color: color-mix(in srgb, var(--c-accent) 75%, #000); }
.city-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.city-grid a, .city-grid span { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-line); font-weight: 700; color: var(--c-primary); text-decoration: none; height: 100%; }
.city-grid a { border-color: color-mix(in srgb, var(--c-accent) 60%, #fff); }
.city-grid a:hover { background: var(--c-primary); color: #fff; }
.city-grid .icon { width: 18px; height: 18px; flex: none; color: color-mix(in srgb, var(--c-accent) 75%, #000); }
.city-grid__arrow { margin-left: auto; }

/* Ablauf ----------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--c-line); }
.step__num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: var(--c-accent); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-accent) 25%, #fff); }
.step p { color: var(--c-muted); font-size: .97rem; margin: 0; }
@media (min-width: 1080px) {
	.step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -18px; width: 18px; border-top: 2px dashed color-mix(in srgb, var(--c-accent) 70%, #fff); }
}

/* Bewertungen ------------------------------------------------------------ */
.reviews { display: grid; gap: 20px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review__stars { display: flex; gap: 3px; color: var(--c-accent); margin-bottom: 14px; }
.review__stars .icon { width: 20px; height: 20px; }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; }
.review figcaption strong { color: var(--c-primary); }
.review figcaption span { color: var(--c-muted); font-size: .9rem; }

/* Blog ------------------------------------------------------------------- */
.post-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__link:hover { color: inherit; }
.post-card__media { aspect-ratio: 3 / 2; background: var(--c-primary); display: grid; place-items: center; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph .icon { width: 48px; height: 48px; color: var(--c-accent); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__body time { font-size: .85rem; color: var(--c-muted); font-weight: 600; margin-bottom: 6px; }
.post-card__title { font-size: 1.2rem; }
.post-card__body p { color: var(--c-muted); }

/* Trauerfall ------------------------------------------------------------- */
.grief-box { display: grid; gap: 22px; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) * 1.4); background: linear-gradient(135deg, #fff, var(--c-tint)); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
@media (min-width: 760px) { .grief-box { grid-template-columns: auto 1fr; gap: 36px; } }
.grief-box__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-primary); color: var(--c-accent); }
.grief-box__icon .icon { width: 34px; height: 34px; }
.grief-box p { max-width: 760px; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-tint); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--c-primary); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--c-accent); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 22px 18px; color: var(--c-muted); }
.faq__answer p { margin: 0; }

/* Seitenkopf (Unterseiten) ----------------------------------------------- */
.page-hero { position: relative; isolation: isolate; background: var(--c-primary); color: #d5dbe6; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--c-accent) 25%, transparent) 0, transparent 45%),
	repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.page-hero--image::before { background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 94%, transparent), color-mix(in srgb, var(--c-primary) 60%, transparent)); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero__title { color: #fff; max-width: 900px; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero__text { max-width: 720px; font-size: 1.12rem; }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: .95rem; }
.post-meta .icon { width: 16px; height: 16px; color: var(--c-accent); }

.breadcrumbs { margin-bottom: 22px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.breadcrumbs li:not(:last-child)::after { content: "›"; color: var(--c-accent); }
.breadcrumbs a { color: #b9c3d3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Kennzahlen & Werte (Über uns) ------------------------------------------ */
.stats-band { background: var(--c-accent); }
.stats { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--c-primary); line-height: 1.1; }
.stats span { font-weight: 700; color: var(--c-accent-ink); font-size: .95rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(5, 1fr); } }
.value { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--c-line); text-align: center; }
.value__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-primary); color: var(--c-accent); margin-bottom: 14px; }
.value p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* Inhalt + Sidebar ------------------------------------------------------- */
.layout-sidebar { display: grid; gap: 40px; }
@media (min-width: 1000px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } .sidebar { position: sticky; top: 100px; } }
.sidebar { display: grid; gap: 20px; }
.sidebar-box { border-radius: var(--radius); padding: 26px; background: var(--c-tint); border: 1px solid var(--c-line); }
.sidebar-box h2 { font-size: 1.25rem; }
.sidebar-box--dark { background: var(--c-primary); color: #d5dbe6; border: 0; }
.sidebar-box--dark h2 { color: #fff; }
.sidebar-box--dark .card__icon { background: var(--c-accent); color: var(--c-accent-ink); width: 50px; height: 50px; margin-bottom: 14px; }
.sidebar-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: none; }
.sidebar-phone:hover { color: var(--c-accent); }
.sidebar-phone .icon { width: 18px; height: 18px; color: var(--c-accent); }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-line); text-decoration: none; font-weight: 600; }
.sidebar-links a[aria-current] { color: color-mix(in srgb, var(--c-accent) 70%, #000); }
.sidebar-links .icon { width: 16px; height: 16px; }

/* Fließtext -------------------------------------------------------------- */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul { list-style: none; padding: 0; }
.entry-content ul li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--c-accent) 25%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.entry-content ol { padding-left: 1.3em; }
.entry-content ol li { margin-bottom: 10px; padding-left: 4px; }
.entry-content ol li::marker { color: var(--c-primary); font-weight: 800; }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--c-accent); background: var(--c-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.post-thumb { margin: 0 0 28px; }
.post-thumb img { border-radius: var(--radius); width: 100%; }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--c-tint); text-decoration: none; font-size: .88rem; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); font-weight: 600; }
.post-nav__next { margin-left: auto; text-align: right; }

/* Formulare -------------------------------------------------------------- */
.form-card { background: #fff; border-radius: calc(var(--radius) * 1.2); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); }
.form-grid { display: grid; gap: 14px 16px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--c-primary); }
.field input, .field select, .field textarea, .search-form input { width: 100%; font: inherit; font-size: 1rem; color: var(--c-text); padding: 13px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 30%, transparent); background: #fff; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--c-primary); }
.field--check label { font-weight: 400; color: var(--c-muted); font-size: .88rem; }
.grema-form .btn { margin-top: 18px; }
.form-hint { font-size: .82rem; color: var(--c-muted); margin: 10px 0 0; text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.form-notice p { margin: 0; }
.form-notice.is-success { background: #e8f6ee; color: #145a32; }
.form-notice.is-success .icon { flex: none; color: #1e8449; }
.form-notice.is-error { background: #fdecea; color: #922b21; }
.callback-phone { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 18px; border-radius: var(--radius); background: var(--c-tint); }
.callback-phone > .icon { flex: none; width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
.callback-phone a { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.search-form { display: flex; gap: 10px; margin-bottom: 24px; }
.empty-state { text-align: center; }

/* Pagination ------------------------------------------------------------- */
.pagination { margin-top: 48px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line); text-decoration: none; font-weight: 700; }
.page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-primary-2); color: #aab4c4; padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-col--brand p { margin: 18px 0; max-width: 320px; }
.site-footer .custom-logo { max-height: 60px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-menu, .footer-contact, .legal-menu, .social { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.site-footer a { color: #d5dbe6; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; overflow-wrap: anywhere; }
.footer-contact .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--c-accent); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 calc(20px + 72px); font-size: .88rem; }
@media (min-width: 900px) { .site-footer__bottom { padding-bottom: 20px; } }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 20px; }

/* Mobile-Aktionsleiste --------------------------------------------------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px -12px rgba(20,33,61,.3); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--c-primary); }
.mobile-bar a .icon { width: 22px; height: 22px; }
.mobile-bar a.is-accent { background: var(--c-accent); color: var(--c-accent-ink); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Kommentare ------------------------------------------------------------- */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); font: inherit; }
.comment-form .submit { background: var(--c-primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; cursor: pointer; }

/* Widgets ---------------------------------------------------------------- */
.widget + .widget { margin-top: 24px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.widget-title { font-size: 1.1rem; }

/* WordPress-Kernklassen -------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--c-muted); }
.sticky, .bypostauthor, .gallery-caption { }

@media print {
	.topbar, .site-header, .mobile-bar, .site-footer, .section-contact, .cta-band { display: none !important; }
}
.field [aria-invalid="true"] { border-color: #c0392b; background: #fff7f6; }
.site-main > .section-contact--tiles:first-child { margin-top: 0; padding-top: var(--section); }
