/* Mehlemer Gartenservice – gemeinsames Stylesheet aller Seiten */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #141a15;
  --body: #3a433c;
  --muted: #687068;
  --paper: #f6f3ec;
  --sand: #ece6d8;
  --white: #fff;
  --brand: #2a5022;
  --brand-d: #1c3817;
  --brand-l: #3f7432;
  --leaf: #a6c94a;
  --tint: #eef3ea;
  --forest: #14241a;
  --forest-2: #1b3022;
  --line: #ddd6c7;
  --line-d: rgba(255, 255, 255, .14);
  --wa: #1b8f4c;
  --r: 6px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --head-h: 80px;
  --shadow: 0 40px 80px -48px rgba(20, 36, 26, .45);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, .label { overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
h1, h2, h3 { color: var(--ink); font-stretch: 88%; font-weight: 750; letter-spacing: -0.018em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--brand-l); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--r); text-decoration: none; font-weight: 650; }
.skip:focus { top: 12px; }
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }

.ic { width: 1em; height: 1em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.label {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-l); margin-bottom: 22px;
}
.label::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex-shrink: 0; }
.on-dark .label { color: var(--leaf); }
.sub { font-size: clamp(17px, 1.4vw, 19.5px); max-width: 34em; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: var(--r); border: 1.5px solid transparent;
  font-size: 16.5px; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn .ic { font-size: 19px; }
.btn .ic-arrow { transition: transform .18s ease; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); }
.btn-outline { border-color: rgba(20, 26, 21, .28); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 650; text-decoration: none;
}
.link .ic { transition: transform .18s ease; }
.link:hover { color: var(--brand-d); }
.link:hover .ic { transform: translateX(3px); }
.on-dark .link { color: var(--leaf); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-note { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.on-dark .cta-note { color: rgba(255, 255, 255, .6); }

/* ── Topline ─────────────────────────────────────────── */
.topline { background: var(--forest); color: rgba(255, 255, 255, .82); font-size: 14px; }
.topline .container { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-block: 9px; text-align: center; }
.topline a { color: #fff; font-weight: 650; text-underline-offset: 3px; white-space: nowrap; }
.tl-short { display: none; }

/* ── Header ──────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 236, .97);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.scrolled, body.menu-open .header { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand svg { width: 51px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 23px; font-weight: 800; font-stretch: 112%; letter-spacing: .015em; color: var(--brand); }
.brand-sub { margin-top: 5px; font-size: 10.6px; font-weight: 650; letter-spacing: .3em; color: var(--muted); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 6px; list-style: none; height: 100%; }
.nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-a {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  background: none; border: 0; border-radius: var(--r);
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 550;
}
.nav-a:hover, .nav-dd.open .nav-a { color: var(--brand); }
.nav-a[aria-current="page"], .nav-a.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-a .chev { font-size: 15px; transition: transform .2s ease; }
.nav-dd.open .chev { transform: rotate(180deg); }

.dd {
  position: absolute; top: calc(100% - 8px); left: -24px; width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 30px 60px -30px rgba(20, 36, 26, .4);
  padding: 10px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav-dd.open .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd a { text-decoration: none; display: block; border-radius: 8px; }
.dd-feature { grid-row: span 3; background: var(--tint); padding: 18px; display: flex !important; flex-direction: column; }
.dd-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 14px; background: var(--sand); }
.dd-feature small { font-size: 11.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-l); }
.dd-feature strong { font-size: 19px; font-stretch: 92%; margin: 4px 0 4px; display: block; }
.dd-feature span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.dd-feature:hover { background: #e4ecdd; }
.dd-item { padding: 14px 16px; }
.dd-item strong { display: block; font-size: 16px; }
.dd-item span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dd-item:hover { background: var(--paper); }
.dd-item:hover strong, .dd-feature:hover strong { color: var(--brand); }
.dd a[aria-current="page"] strong { color: var(--brand); }

.h-contact { display: flex; align-items: center; gap: 12px; text-decoration: none; padding-left: 28px; border-left: 1px solid var(--line); line-height: 1.15; flex-shrink: 0; }
.h-contact .h-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; transition: background-color .18s ease; }
.h-contact .h-ic .ic { font-size: 18px; }
.h-contact small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.h-contact strong { display: block; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-contact:hover strong { color: var(--brand); }
.h-contact:hover .h-ic { background: var(--brand-d); }

.h-call, .burger { display: none; }
.burger {
  width: 46px; height: 46px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
}
.burger i, .burger i::before, .burger i::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; left: 0; right: 0; top: var(--mnav-top, var(--head-h)); bottom: 0; z-index: 99;
  background: var(--paper); overflow-y: auto; padding: 8px var(--pad) 40px;
}
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; }
.mnav > ul > li { border-bottom: 1px solid var(--line); }
.mnav > ul > li > a { display: block; padding: 18px 0; font-size: 21px; font-weight: 650; font-stretch: 92%; color: var(--ink); text-decoration: none; }
.mnav .m-sub { padding: 0 0 14px; }
.mnav .m-sub li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 10px 16px; border-left: 2px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; }
.mnav .m-sub li:first-child a { border-left-color: var(--brand); }
.mnav .m-sub small { color: var(--muted); font-weight: 450; font-size: 14px; }
.mnav .m-head { display: block; padding: 18px 0 8px; font-size: 21px; font-weight: 650; font-stretch: 92%; color: var(--ink); }
.mnav a[aria-current="page"] { color: var(--brand) !important; }
.mnav .m-cta { margin-top: 28px; display: grid; gap: 10px; }
.mnav .m-cta p { font-size: 14.5px; color: var(--muted); }

/* ── Hero (Startseite) ───────────────────────────────── */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -0.026em; font-stretch: 84%; font-weight: 800; }
.hero h1 span { color: var(--brand-l); }
.hero .sub { margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; font-stretch: 86%; color: var(--ink); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dd { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 8px; }

.hero-media { position: relative; }
.hero-frame { position: relative; }
.hero-frame .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--sand); }
.hero-frame .inset {
  position: absolute; left: -56px; bottom: -48px; width: 42%; aspect-ratio: 1;
  object-fit: cover; border-radius: 4px; border: 6px solid var(--paper); background: var(--sand);
}
.hero-media figcaption { font-size: 13.5px; color: var(--muted); margin: 14px 0 0 auto; max-width: 54%; text-align: right; line-height: 1.45; }

/* ── Seiten-Hero (Leistungsseiten) ───────────────────── */
.phero { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 112px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b3ab9b; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.phero h1 { font-size: clamp(34px, 3.7vw, 52px); line-height: 1.05; letter-spacing: -0.024em; font-stretch: 84%; font-weight: 800; }
.phero .sub { margin-top: 24px; }
.phero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--sand); }
.phero-media figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ── Panels (Leistungsverzeichnis, Protokoll, Festpreis) ─ */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.panel-head small { display: block; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.panel-head strong { display: block; font-size: 20px; font-stretch: 92%; line-height: 1.25; }
.tag { flex-shrink: 0; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--tint); border-radius: 4px; padding: 5px 9px; }
.panel-body { padding: 6px 26px 8px; }
.panel-group { padding: 16px 0; }
.panel-group + .panel-group { border-top: 1px dashed var(--line); }
.panel-group h4 { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-l); margin-bottom: 10px; }
.panel-foot { padding: 16px 26px; background: var(--paper); font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.ticks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--tint) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5022' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.on-dark .ticks li { color: rgba(255, 255, 255, .86); }
.on-dark .ticks li::before { background-color: rgba(166, 201, 74, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6c94a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ticks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

.proto { list-style: none; }
.proto li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.proto li:last-child { border-bottom: 0; }
.proto time { font-size: 14px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.35; }
.proto time span { display: block; font-weight: 450; color: var(--muted); }
.proto b { display: block; font-size: 15.5px; font-weight: 650; color: var(--ink); line-height: 1.35; }
.proto p { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.chip { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 650; letter-spacing: .04em; border-radius: 4px; padding: 3px 8px; }
.chip-on { background: var(--brand); color: #fff; }
.chip-off { background: var(--sand); color: var(--body); }

/* ── Sections ────────────────────────────────────────── */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec-white { background: var(--white); }
.sec-sand { background: var(--sand); }
.on-dark { background: var(--forest); color: rgba(255, 255, 255, .74); }
.on-dark h2, .on-dark h3, .on-dark strong { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head p { font-size: clamp(17px, 1.4vw, 19px); max-width: 32em; }
.sec-head .label { grid-column: 1 / -1; margin-bottom: -6px; }
.sec-head.stack { grid-template-columns: minmax(0, 1fr); max-width: 800px; align-items: start; }
.sec-head.stack .label { margin-bottom: 0; }

/* ── Leistungen (Startseite) ─────────────────────────── */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-media { position: relative; min-height: 520px; background: var(--forest-2); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media span { position: absolute; left: 18px; bottom: 16px; background: rgba(14, 26, 18, .72); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 4px; }
.feature-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.feature-body .tag { align-self: flex-start; margin-bottom: 20px; }
.feature-body h3 { font-size: clamp(30px, 3.2vw, 42px); font-stretch: 86%; font-weight: 800; }
.feature-body > p { font-size: 17.5px; margin-top: 16px; max-width: 30em; }
.feature-body .ticks { margin-top: 28px; }
.feature-body .cta-row { margin-top: auto; padding-top: 36px; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: clamp(24px, 2.6vw, 32px); text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
a.card:hover { border-color: var(--brand-l); transform: translateY(-2px); }
.num { font-size: 13.5px; font-weight: 650; color: var(--brand-l); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.card h3 { font-size: 24px; margin: 12px 0 10px; }
.card p { font-size: 16px; }
.card .meta { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.card .link { margin-top: auto; padding-top: 22px; font-size: 15.5px; }

/* ── Vertrauen ───────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.trust li { list-style: none; border-top: 1px solid var(--line-d); padding: 26px 0 8px; }
.trust h3 { font-size: 22px; margin: 12px 0 10px; }
.trust p { font-size: 16px; }
.on-dark .num { color: var(--leaf); }
.region { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-d); }
.region p { font-size: 18px; color: #fff; }
.region p span { color: rgba(255, 255, 255, .6); }

/* ── Ablauf ──────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); counter-reset: st; }
.steps li { position: relative; padding-top: 30px; border-top: 2px solid var(--line); }
.steps li::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; top: -15px; left: 0; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; width: 40px; height: 28px; border-radius: 4px; display: grid; place-items: center; }
.sec-white .steps li::before { box-shadow: 0 0 0 6px #fff; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { font-size: 16px; }

/* ── Referenzen ──────────────────────────────────────── */
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 22vw, 300px); gap: 14px; grid-auto-flow: dense; }
.ref { position: relative; overflow: hidden; border-radius: 4px; background: var(--forest-2); }
.ref.tall { grid-row: span 2; }
.ref.wide { grid-column: span 2; }
.ref img { width: 100%; height: 100%; object-fit: cover; }
.ref figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 18px 14px;
  background: linear-gradient(to top, rgba(10, 18, 12, .78), rgba(10, 18, 12, 0));
  color: #fff; font-size: 14.5px; font-weight: 500;
}

/* ── Detail-Leistungen ───────────────────────────────── */
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.details.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.detail h3 { font-size: 24px; margin: 12px 0 10px; }
.detail p { font-size: 16px; }
.detail .meta { font-size: 14.5px; color: var(--muted); margin-top: 12px; }

/* ── Split ───────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split.top { align-items: start; }
.split > div > p { font-size: clamp(17px, 1.4vw, 19px); margin-top: 22px; max-width: 32em; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--sand); }
.split-media.land img { aspect-ratio: 4 / 3; }
.split-media figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 3.4vw, 40px); }
.box h3 { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 20px; }
.on-dark .box { background: var(--forest-2); border-color: var(--line-d); }

.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillars li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 2.6vw, 32px); }
.pillars h3 { font-size: 22px; margin: 10px 0 8px; }
.pillars p { font-size: 16px; }
.on-dark .pillars li { background: var(--forest-2); border-color: var(--line-d); }

.note { margin-top: 28px; font-size: 14px; color: var(--muted); line-height: 1.55; border-left: 2px solid var(--line); padding-left: 14px; max-width: 46em; }
.on-dark .note { color: rgba(255, 255, 255, .55); border-left-color: var(--line-d); }
.note a { color: inherit; }

/* ── Jahres-Pflegeplan ───────────────────────────────── */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 36px); }
.plan-row { display: grid; grid-template-columns: 250px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; padding: 7px 0; }
.plan-row + .plan-row { border-top: 1px solid #efeadf; }
.plan-row.head { padding-top: 0; }
.plan-row.head span { font-size: 12.5px; font-weight: 650; color: var(--muted); text-align: center; letter-spacing: .04em; }
.plan-row.head .t { text-align: left; }
.plan-row .t { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; padding-right: 12px; }
.plan-row .t small { display: block; font-weight: 450; color: var(--muted); font-size: 13px; }
.plan-row i { display: block; height: 24px; border-radius: 3px; background: #f1ede4; }
.plan-row i.on { background: var(--brand); }
.plan-row i.opt { background: #b9d18a; }
.plan-row i.wd { background: #6f8f9e; }
.plan-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.plan-legend span { display: inline-flex; align-items: center; gap: 8px; }
.plan-legend i { width: 18px; height: 12px; border-radius: 2px; display: inline-block; }

/* ── Querverweise ────────────────────────────────────── */
.xlinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xlinks .card h3 { font-size: 21px; margin: 8px 0 6px; }
.xlinks .card p { font-size: 15.5px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--head-h) + 32px); }
.faq-aside > p { font-size: clamp(17px, 1.4vw, 19px); margin-top: 22px; }
.faq-aside .direct-row { margin-top: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 600; font-stretch: 94%; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.pm { position: relative; width: 16px; height: 16px; flex-shrink: 0; margin-top: 5px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .25s ease; }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 48px 26px 0; font-size: 16.5px; }
.faq .answer a { color: var(--brand); }

/* ── Direktkontakt ───────────────────────────────────── */
.direct { margin-top: 32px; font-size: 15.5px; color: var(--muted); }
.direct-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.direct-row a { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.direct-row a:hover { color: var(--brand); }
.direct-row .ic { font-size: 18px; color: var(--brand-l); }

/* ── Abschluss ───────────────────────────────────────── */
.final h2 { font-size: clamp(36px, 5vw, 66px); font-stretch: 84%; line-height: 1.02; max-width: 14em; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px clamp(40px, 7vw, 112px); align-items: end; }
.final-grid p { font-size: clamp(17px, 1.4vw, 19px); margin-top: 24px; max-width: 32em; }
.contacts { list-style: none; border-top: 1px solid var(--line-d); }
.contacts li { border-bottom: 1px solid var(--line-d); }
.contacts a, .contacts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; text-decoration: none; color: #fff; }
.contacts small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding-top: 3px; }
.contacts span { font-size: 17px; font-weight: 550; overflow-wrap: anywhere; }
.contacts a:hover span { color: var(--leaf); }

/* ── Über uns ────────────────────────────────────────── */
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 36px; }
.principles li { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.principles strong { display: block; font-size: 18px; font-stretch: 92%; margin-bottom: 4px; }
.principles span { font-size: 15.5px; color: var(--muted); }
.sign { margin-top: 12px; font-size: 15.5px; color: var(--muted); }
.sign strong { font-size: 17px; }
.districts { list-style: none; columns: 3; column-gap: 32px; margin-top: 32px; }
.districts li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 550; color: var(--ink); }
.districts li small { display: block; font-weight: 450; color: var(--muted); font-size: 13.5px; }

/* ── Anfrageformular ─────────────────────────────────── */
.req-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.next { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.next li { display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 18px 0; border-bottom: 1px solid var(--line); }
.next b { font-size: 13.5px; font-weight: 650; color: var(--brand-l); letter-spacing: .06em; padding-top: 3px; }
.next strong { display: block; font-size: 17px; }
.next span { font-size: 15.5px; color: var(--muted); }
.addr { margin-top: 32px; display: grid; gap: 4px; font-size: 15.5px; }
.addr small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.quote { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.q-top h2, .q-top h3 { font-size: 15px; font-stretch: 100%; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.q-count { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 30px; }
.q-bars i { height: 4px; border-radius: 4px; background: var(--sand); transition: background-color .3s ease; }
.q-bars i.on { background: var(--brand); }
.q-step { border: 0; min-width: 0; }
.q-step[hidden] { display: none; }
.q-step legend { font-size: clamp(24px, 2.4vw, 30px); font-weight: 750; font-stretch: 88%; color: var(--ink); letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 6px; }
.q-hint { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; height: 100%; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-size: 15.5px; font-weight: 550; color: var(--ink); line-height: 1.25;
  transition: border-color .15s, background-color .15s;
}
.choice > span::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; border-radius: 4px;
  border: 1.5px solid #b9b2a3; background: #fff center / 14px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.choice em { font-style: normal; display: block; }
.choice em small { display: block; font-size: 13px; font-weight: 450; color: var(--muted); margin-top: 2px; }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice:hover > span { border-color: #b9b2a3; }
.choice input:checked + span { border-color: var(--brand); background: #f3f6ef; }
.choice input:checked + span::before {
  background-color: var(--brand); border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.choice input:focus-visible + span { outline: 3px solid var(--brand-l); outline-offset: 2px; }
.choice.key span { border-color: #c9d7bd; }
.q-group { margin-bottom: 22px; }
.q-label { display: block; font-size: 15px; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.q-label small { font-weight: 450; color: var(--muted); font-size: 14px; }
.input {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1px solid #cfc8b8; border-radius: var(--r);
  font: inherit; font-size: 16.5px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #9a9a8f; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(63, 116, 50, .18); }
.input.bad { border-color: #b42318; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.q-err { color: #b42318; font-size: 15px; font-weight: 550; margin-top: 14px; }
.q-err a { color: inherit; }
.q-err:empty { display: none; }
.q-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.q-nav .btn { flex: 1; }
.q-back { background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 15.5px; display: inline-flex; align-items: center; gap: 6px; padding: 14px 8px 14px 0; }
.q-back:hover { color: var(--ink); }
.q-privacy { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.q-privacy a { color: var(--ink); }
.q-success { padding: 12px 0 4px; }
.q-success[hidden] { display: none; }
.q-success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.q-success .tick .ic { font-size: 28px; stroke-width: 2.6; }
.q-success h3 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 12px; }
.q-success p { margin-bottom: 24px; max-width: 30em; }

/* ── Rechtstexte ─────────────────────────────────────── */
.legal { max-width: 820px; padding-block: clamp(28px, 4vw, 48px) clamp(64px, 8vw, 112px); }
.legal h1 { font-size: clamp(36px, 4.5vw, 54px); font-stretch: 84%; font-weight: 800; margin-bottom: 10px; }
.legal .stand { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 750; margin: 44px 0 14px; }
.legal h3 { font-size: 18.5px; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 12px 22px; display: grid; gap: 6px; }
.legal a { color: var(--brand); overflow-wrap: anywhere; }
.legal .lbox { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; margin-top: 12px; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: #0e1a12; color: rgba(255, 255, 255, .6); font-size: 15px; padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255, 255, 255, .55); }
.footer-top p { margin-top: 20px; max-width: 26em; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer .fine { font-size: 12.5px; margin-top: 18px; max-width: 60em; }

/* ── Mobile Aktionsleiste ────────────────────────────── */
.mobbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1.15fr 1fr 1fr; gap: 8px;
}
.mobbar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 50px; border-radius: var(--r); font-weight: 650; font-size: 15px; text-decoration: none; }
.mobbar a .ic { font-size: 18px; }
.mb-call { background: var(--brand); color: #fff; }
.mb-wa { background: var(--wa); color: #fff; }
.mb-quote { background: var(--sand); color: var(--ink); }

/* ── Responsive ──────────────────────────────────────── */
@media (hover: hover) and (min-width: 1061px) {
  .nav-dd:hover .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-dd:hover .chev { transform: rotate(180deg); }
}
@media (max-width: 1180px) {
  .h-contact small { font-size: 11.5px; }
  .h-contact { padding-left: 20px; }
  .header-inner { gap: 22px; }
  .nav-a { padding: 0 9px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-inner { gap: 12px; }
  .h-contact { border-left: 0; padding-left: 0; }
  .hero-grid, .phero-grid, .req-grid, .split, .faq-grid, .final-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 560px; margin-left: 56px; }
  .phero-media, .split-media { max-width: 560px; }
  .phero-grid > .panel { max-width: 620px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plan-row { grid-template-columns: 190px repeat(12, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mobbar { display: grid; }
  .h-contact { display: none; }
  .h-call { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: var(--r); background: var(--brand); color: #fff; text-decoration: none; font-weight: 650; font-size: 15px; }
  .h-call .ic { font-size: 17px; }
  .brand svg { width: 45px; height: 30px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 9.4px; letter-spacing: .26em; }
  .topline { font-size: 13px; }
  .cards3, .pillars, .xlinks { grid-template-columns: minmax(0, 1fr); }
  .plan-row { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 6px; }
  .plan-row .t { grid-column: 1 / -1; }
  .plan-row.head .t { display: none; }
  .plan-row i { height: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
  .phero h1 { font-size: clamp(32px, 9vw, 44px); }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { flex: 1 1 100%; white-space: normal; }
  .hero-media { margin: 8px 0 0 28px; }
  .hero-frame .inset { left: -28px; bottom: -32px; width: 40%; border-width: 5px; }
  .hero-media figcaption { max-width: 54%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .ticks-2 { grid-template-columns: minmax(0, 1fr); }
  .trust, .steps, .details, .details.two { grid-template-columns: minmax(0, 1fr); }
  .detail { padding-bottom: 32px; }
  .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
  .ref figcaption { font-size: 13px; padding: 36px 12px 10px; }
  .panel-head, .panel-body, .panel-foot { padding-inline: 18px; }
  .proto li { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 12px; }
  .choices, .choices-3 { grid-template-columns: minmax(0, 1fr); }
  .q-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .q-row .q-group { margin-bottom: 22px; }
  .q-top h2, .q-top h3 { font-size: 13.5px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .districts { columns: 2; }
  .faq summary { font-size: 17.5px; padding: 20px 0; }
  .faq .answer { padding-right: 0; }
  .contacts a, .contacts div { grid-template-columns: 92px minmax(0, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .topline .container { padding-block: 8px; gap: 8px; }
  .tl-long { display: none; }
  .tl-short { display: inline; }
  .plan { padding: 16px 14px; }
  .plan-row { gap: 3px; }
  .plan-row.head span { font-size: 11px; }
}
@media (max-width: 400px) {
  .brand-sub { letter-spacing: .2em; }
  .h-call span { display: none; }
  .h-call { width: 46px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 640px) {
  .ref-grid .ref:last-child { display: none; }
}

/* Zwei Bilder nebeneinander, versetzt */
.split-media.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.split-media.duo img { aspect-ratio: 3 / 4; }
.split-media.duo img + img { margin-top: 56px; }
.split-media.duo figcaption { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .split-media.duo { gap: 10px; }
  .split-media.duo img + img { margin-top: 32px; }
}
