/* ==========================================================================
   Trimmwerk – Stylesheet
   Mobile first. Desktop ab 900 px. Alle Farben stammen aus dem CI.
   ========================================================================== */

/* ---- Schrift: Archivo (SIL Open Font License), lokal eingebunden ---- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---- Design-Tokens (CI-Sheet: Anthrazit, Stein, Papier, Graugrün) ---- */
:root {
  --ink: #1B1C1E;      /* Anthrazit */
  --paper: #F5F3EE;    /* Papierweiß */
  --stone: #E8E5DE;    /* Stein */
  --green: #5F6B57;    /* Graugrün (Akzent) */
  --pad: 20px;         /* seitlicher Rand */
  --maxw: 1440px;
  --cut-k: 0.3;        /* Schnitt: Steigung, entspricht 16,7 Grad */
  --cut-angle: 16.7deg;
  --header-h: 72px;
  /* Abstand vom Bildschirmrand bis zur Inhaltskante (wie .container) */
  --edge: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
}
main { container-type: inline-size; }
@supports (width: 1cqw) {
  main { --edge: max(var(--pad), calc((100cqw - var(--maxw)) / 2 + var(--pad))); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; overflow-wrap: break-word; hyphens: manual; }
.label { overflow-wrap: break-word; hyphens: manual; }
/* Trennen nur auf schmalen Handys und nur bei sehr langen Wörtern (z. B. Eigentümergemeinschaften) */
@media (max-width: 599px) {
  h1, h2, h3, .label { hyphens: auto; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; hyphenate-limit-chars: 14 6 6; }
}
html, body { overflow-x: clip; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---- Fokus (Tastatur) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--paper);
}

/* ---- Hilfsklassen ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.label { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.on-dark .label, .label--light { color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--paper); color: var(--ink); padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---- Buttons und Links ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--paper); color: var(--ink);
  font-size: 17px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--small { min-height: 48px; padding: 0 26px; font-size: 16px; }
.link-arrow { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ==========================================================================
   Kopf: Kontaktleiste, Kopfzeile, Navigation
   ========================================================================== */
.topbar { background: var(--ink); color: var(--paper); font-size: 16px; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27, 28, 30, 0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--paper);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; min-height: 48px; line-height: 0; }
.logo svg { width: 150px; height: auto; }

.nav { display: none; align-items: center; gap: 8px 36px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.slash { display: inline-block; width: 0.5em; height: 1.3em; margin: 0 0.4em; vertical-align: -0.28em; background: var(--green); clip-path: polygon(0 0, 0.12em 0, 100% 100%, calc(100% - 0.12em) 100%); }
.nav__group { position: relative; display: flex; align-items: center; }
.nav__parent::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav__sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 170px; padding: 6px 18px; background: var(--ink); border-top: 2px solid var(--green); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: block; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { display: none !important; height: 40px; min-height: 40px !important; padding: 0 18px; background: var(--paper); color: var(--ink); font-weight: 700; }
body.is-scrolled .nav__cta { display: inline-flex !important; }
body.is-scrolled .nav__kontakt { display: none; }

.burger { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(245, 243, 238, 0.5); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: var(--paper); position: relative; content: ""; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.mobile-nav { display: none; background: var(--ink); color: var(--paper); border-top: 1px solid rgba(245, 243, 238, 0.2); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--pad); text-decoration: none; font-size: 18px; border-bottom: 1px solid rgba(245, 243, 238, 0.12); }

/* Leiste unten auf dem Handy, erscheint nach dem Hero */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(27, 28, 30, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.is-scrolled .mbar { display: flex; }
.mbar a { display: flex; align-items: center; justify-content: center; height: 52px; font-weight: 700; font-size: 17px; text-decoration: none; }
.mbar__main { flex: 2 1 0; background: var(--paper); color: var(--ink); }
.mbar__call { flex: 1 1 0; border: 2px solid var(--paper); color: var(--paper); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 620px; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__scrim { position: absolute; inset: 0; background: rgba(27, 28, 30, 0.34); }
/* Handy: Hochformat-Foto (Team mit Werkzeug), unten abgedunkelt für den Text */
@media (max-width: 899px) {
  .hero { min-height: 640px; }
  .hero__img { object-position: 50% 30%; }
  .hero__scrim { background: linear-gradient(to bottom, rgba(27, 28, 30, 0.15) 0%, rgba(27, 28, 30, 0.25) 35%, rgba(27, 28, 30, 0.82) 100%); }
}
.hero__content { position: relative; padding-top: 80px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(42px, 11vw, 104px); line-height: 0.98; letter-spacing: -0.035em; }
.hero__sub { font-size: clamp(17px, 2.4vw, 22px); max-width: 40ch; color: var(--paper); }
.hero__trust { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--paper); text-shadow: 0 1px 8px rgba(27, 28, 30, 0.5); }

/* ==========================================================================
   Privatkunden | Gewerbekunden: Trennung im Winkel des Schnitts
   ========================================================================== */
.split { position: relative; height: 650px; background: var(--paper); }
.split__panel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; }
.split__panel h2 { font-size: clamp(32px, 9vw, 48px); }
.split__panel p { font-size: 16px; line-height: 1.5; max-width: 440px; }
.split__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
@media (max-width: 359px) { .split { height: 740px; } }
.split__panel--privat { background: var(--stone); padding: 32px var(--pad) 0; clip-path: polygon(0 0, 100% 0, 100% calc(50% + 56px), 0 calc(50% - 60px)); }
.split__panel--gewerbe { background: var(--ink); color: var(--paper); padding: 0 var(--pad) 32px; justify-content: flex-end; clip-path: polygon(0 calc(50% - 56px), 100% calc(50% + 60px), 100% 100%, 0 100%); }

/* ==========================================================================
   Pflegeplan
   ========================================================================== */
.band { position: relative; background: var(--green); color: var(--paper); overflow: hidden; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; opacity: 0.14; }
.band .container { position: relative; }
.pflegeplan { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.pflegeplan__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 720px; }
.pflegeplan .label { color: rgba(245, 243, 238, 0.9); }
.pflegeplan h2 { font-size: clamp(56px, 9vw, 112px); line-height: 0.9; letter-spacing: -0.035em; }
.pflegeplan__text { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.45; }
.facts { display: grid; grid-template-columns: 1fr; gap: 24px; }
.facts > div { border-top: 1px solid rgba(245, 243, 238, 0.7); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.facts h3 { font-size: 18px; letter-spacing: -0.035em; }
.facts p { font-size: 16px; line-height: 1.45; }

/* ==========================================================================
   Wir
   ========================================================================== */
.wir { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.wir > * { min-width: 0; }
.wir__statement { font-size: clamp(28px, 5.2vw, 52px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 500; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portrait { display: flex; flex-direction: column; gap: 10px; }
.portrait__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.portrait__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.portrait__photo img.is-tim { object-position: 50% 0%; }
.portrait__photo img.is-wir2 { object-position: 50% 35%; }
.wir__story { display: grid; gap: 16px; max-width: 760px; }
.wir__story h2 { font-size: 24px; letter-spacing: -0.035em; }
.wir__story p { font-size: 17px; line-height: 1.55; }
.wir__story blockquote { max-width: 62ch; }
.wir__kontakt { display: grid; gap: 18px; align-content: start; padding-top: 18px; border-top: 1px solid rgba(27, 28, 30, 0.2); }
.wir__person h3 { font-size: 22px; letter-spacing: -0.035em; }
.wir__person h3 a { text-decoration: none; }
.wir__person .portrait__contact { margin-top: 4px; }
.wir__person .portrait__last { display: inline; }
@media (max-width: 899px) { .wir__person .portrait__contact { font-size: 15px; } }
.contacts .portrait__photo img { transform: scale(1.6); transform-origin: 50% 0%; }
.portrait h3 { font-size: 22px; letter-spacing: -0.035em; }
.portrait h3 a, .contacts figcaption a { text-decoration: none; }
.portrait h3 a:hover, .contacts figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 899px) { .portrait__last { display: block; } }
.portrait__contact { display: grid; gap: 2px; margin-top: 8px; font-size: 15px; line-height: 1.45; }
.portrait__contact a { text-decoration: none; overflow-wrap: break-word; }
.nowrap { white-space: nowrap; }
.portrait__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .portrait__contact { font-size: 13px; } }
.portrait__role { font-size: 15px; color: var(--ink); margin-top: 2px; }

/* ==========================================================================
   Leistungen
   ========================================================================== */
.leistungen-head { background: var(--green); color: var(--paper); }
.leistungen-foot .container { padding-top: 28px; padding-bottom: 28px; font-size: 18px; }
.leistungen-intro { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 14px; }
.leistungen-intro h2 { font-size: clamp(36px, 7vw, 64px); }
@media (max-width: 899px) { .leistungen-intro { padding-top: 56px; padding-bottom: 48px; } .leistungen-intro h2 { font-size: 48px; line-height: 1; } }
.leistungen-intro p { font-size: 18px; max-width: 60ch; }
.panel { display: grid; grid-template-columns: 1fr; }
.panel__media { position: relative; height: 300px; overflow: hidden; background: var(--ink); }
.panel__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__text { padding: 40px var(--pad) 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; }
.panel__text h3 { font-size: clamp(32px, 6vw, 56px); }
.panel__text p { font-size: 18px; line-height: 1.5; max-width: 40ch; }
.panel--light .panel__text { background: var(--stone); color: var(--ink); }
.panel--dark .panel__text { background: var(--ink); color: var(--paper); }

/* ---- Vorher-Nachher-Regler (schräg im Winkel des Schnitts) ---- */
.ba { position: absolute; inset: 0; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--ink); }
.ba__after, .ba__before { position: absolute; inset: 0; }
.ba__after img, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.ba__before { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba__line { position: absolute; top: -25%; height: 150%; left: 50%; width: 3px; margin-left: -1.5px; background: var(--paper); transform: rotate(calc(-1 * var(--cut-angle))); pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; line-height: 1; box-shadow: 0 2px 10px rgba(27, 28, 30, 0.35); pointer-events: none; }
.ba__tag { position: absolute; top: 10px; padding: 6px 12px; background: rgba(27, 28, 30, 0.72); color: var(--paper); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 10px; } .ba__tag--r { right: 10px; }
@media (max-width: 899px) { .ba__tag { top: 8px; padding: 4px 8px; font-size: 11px; letter-spacing: 0.1em; } .ba__tag--l { left: 8px; } .ba__tag--r { right: 8px; } }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; touch-action: pan-y; }
.ba__range:focus-visible + .ba__focus { outline: 3px solid var(--paper); outline-offset: -6px; }
.ba__focus { position: absolute; inset: 0; pointer-events: none; }

/* ==========================================================================
   Referenzen
   ========================================================================== */
.referenzen { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 40px; }
.referenzen h2 { font-size: clamp(36px, 7vw, 64px); }
.referenzen__head { display: grid; gap: 12px; max-width: 760px; }
.referenzen__head p { font-size: 18px; }
.kunden { display: grid; gap: 14px; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.logos li { min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(27, 28, 30, 0.2); background: var(--stone); font-size: 14px; color: var(--ink); text-align: center; padding: 12px; }
.logos img { max-width: 80%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; }
.panel-facts { display: grid; gap: 18px; }
.panel-facts li { display: grid; gap: 2px; border-top: 1px solid currentColor; padding-top: 12px; }
.panel-facts strong { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; }
.panel-facts span { font-size: 16px; }
.stimmen { display: grid; gap: 24px; }
.stimmen__count { display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--green); padding-top: 14px; }
.stimmen__count strong { font-size: clamp(64px, 10vw, 96px); line-height: 0.9; letter-spacing: -0.05em; }
.stimmen__count span { font-size: 18px; }
.stimmen__count small { font-size: 14px; color: var(--ink); }
.bewertung-cta { margin-top: 8px; padding: 20px 0; border-top: 1px solid rgba(27, 28, 30, 0.2); border-bottom: 1px solid rgba(27, 28, 30, 0.2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.bewertung-cta p { margin: 0; font-size: 17px; line-height: 1.5; }
.bewertung-cta p strong { display: block; }
.stimmen__links { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; font-size: 15px; }
blockquote { margin: 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(27, 28, 30, 0.2); padding-top: 14px; }
blockquote p { font-size: 18px; line-height: 1.45; }
blockquote footer { font-weight: 700; font-size: 15px; }
.ref-photos { display: grid; gap: 20px; }
.ref-photos figure { margin: 0; display: grid; gap: 8px; }
.ref-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ref-photos figcaption { font-size: 14px; color: var(--ink); }

/* ==========================================================================
   Einsatzgebiet (dunkel, mit Karte)
   ========================================================================== */
.einsatz { background: var(--ink); color: var(--paper); }
.einsatz .container { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 32px; align-items: center; }
.einsatz h2 { font-size: clamp(34px, 6vw, 56px); }
.einsatz__text { display: grid; gap: 16px; max-width: 520px; }
.einsatz__text p { font-size: 18px; line-height: 1.5; color: var(--paper); }
.einsatz__map { width: 100%; max-width: 520px; }
.einsatz__map small { display: block; padding-top: 10px; font-size: 14px; color: var(--paper); }
.einsatz--compact .einsatz__text { max-width: 760px; }
.map { width: 100%; height: auto; display: block; }
.map-label { font-family: "Archivo", sans-serif; font-weight: 500; font-size: 46px; fill: var(--paper); paint-order: stroke; stroke: var(--ink); stroke-width: 8px; stroke-linejoin: round; }
.map-label--main { font-weight: 500; }
.map-label--extra, .map-label--kreis { display: none; }
.map-label--standort { font-weight: 700; font-size: 48px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 28px; }
.faq > * { max-width: 980px; }
.faq h2 { font-size: clamp(34px, 6vw, 56px); }
.faq details { border-top: 1px solid rgba(27, 28, 30, 0.2); }
.faq details:last-child { border-bottom: 1px solid rgba(27, 28, 30, 0.2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 14px 0; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 18px; line-height: 1.55; max-width: 70ch; color: var(--ink); }

/* ==========================================================================
   Ablauf
   ========================================================================== */
.ablauf { background: var(--green); color: var(--paper); }
.ablauf .container { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 32px; }
.ablauf h2 { font-size: clamp(34px, 6vw, 56px); }
.ablauf .label { color: rgba(245, 243, 238, 0.9); }
.steps { display: grid; gap: 24px; counter-reset: step; }
.steps li { display: grid; gap: 8px; }
.steps .n { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--paper); padding-bottom: 12px; border-bottom: 2px solid var(--paper); margin-bottom: 6px; }
.steps h3 { font-size: 24px; letter-spacing: -0.035em; }
.steps p { font-size: 16px; line-height: 1.45; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt { background: var(--ink); color: var(--paper); }
.kontakt .container { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 48px; }
.kontakt h2 { font-size: clamp(40px, 8vw, 72px); }
.kontakt__info { display: grid; gap: 28px; align-content: start; }
.kontakt__info dl { margin: 0; display: grid; gap: 18px; }
.kontakt__info dt { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); }
.kontakt__info dd { margin: 4px 0 0; font-size: 18px; line-height: 1.5; }
.kontakt__info a { text-decoration: underline; text-underline-offset: 3px; }
.contacts { display: flex; gap: 16px; }
.contacts figure { margin: 0; width: 120px; display: grid; gap: 6px; }
.contacts .portrait__photo { aspect-ratio: 4 / 5; }
.contacts figcaption { font-weight: 600; }

.form { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; color: var(--paper); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 0 16px; background: transparent; border: 1px solid rgba(245, 243, 238, 0.5); color: var(--paper); font-size: 18px; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 12px 16px; min-height: 140px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%); background-position: calc(100% - 22px) 26px, calc(100% - 16px) 26px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: var(--ink); background: var(--paper); }
.field .hint { font-size: 14px; line-height: 1.5; color: var(--paper); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--paper); border-width: 2px; }
.field .error { font-size: 14px; font-weight: 600; color: var(--paper); background: rgba(245, 243, 238, 0.12); padding: 6px 10px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--paper); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.form .btn { align-self: flex-start; min-height: 52px; padding: 0 32px; }
.form__note { font-size: 14px; line-height: 1.5; color: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; font-size: 17px; line-height: 1.45; border-left: 6px solid var(--green); background: var(--paper); color: var(--ink); }
.alert--error { border-left-color: var(--ink); background: var(--paper); }
.alert ul { margin: 8px 0 0 18px; list-style: disc; }

/* ---- Fotoband über die volle Breite (Karriere, Baumschnitt) ---- */
.photo-band { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band--team img { object-position: 50% 24%; }
.panel__text--list h4 { font-size: 20px; letter-spacing: -0.02em; margin: 12px 0 -6px; }
.panel__text--list ul { margin: 0; }
.panel__text--list ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; max-width: 60ch; }
.panel__text--list li { font-size: 16px; line-height: 1.5; }
.panel__text--list a:not(.link-arrow) { color: inherit; }
.panel--full.panel--dark { background: var(--ink); }
/* Bild komplett zeigen (nicht beschneiden) */
.panel--full .panel__media { height: auto; aspect-ratio: 2576 / 2464; }
@media (min-width: 900px) { .photo-band { aspect-ratio: auto; height: min(80vh, 760px); } }

/* ---- Schnellbewerbung (Karriere) ---- */
.quick { background: var(--green); color: var(--paper); }
.quick .container { padding-top: 64px; padding-bottom: 64px; display: grid; gap: 28px; }
.quick__head { display: grid; gap: 12px; max-width: 720px; }
.quick__head h2 { font-size: clamp(36px, 7vw, 64px); }
.quick__head p { font-size: 18px; line-height: 1.5; }
.quick__form { max-width: 820px; gap: 20px; }
.quick__progress { height: 4px; background: rgba(245, 243, 238, 0.25); }
.quick__progress span { display: block; height: 100%; width: 20%; background: var(--paper); transition: width 0.25s ease; }
.quick__count { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); margin-top: -8px; }
.quick__step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.quick__step legend { padding: 0; margin-bottom: 16px; font-size: clamp(24px, 4vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; display: flex; gap: 14px; align-items: baseline; }
.quick__step legend:focus { outline: none; }
.quick__nr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; font-size: 0.7em; border: 2px solid var(--paper); color: var(--paper); }
.quick__hint { font-size: 15px; color: var(--paper); margin-top: -8px; }
.quick__options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; min-height: 60px; padding: 12px 18px 12px 52px; border: 1px solid rgba(245, 243, 238, 0.6); font-size: 18px; line-height: 1.3; position: relative; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.choice span::before { content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid currentColor; border-radius: 50%; }
.choice input[type="checkbox"] + span::before { border-radius: 0; }
.choice:hover span { border-color: var(--paper); }
.choice input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); font-weight: 600; }
.choice input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 3px; }
.quick__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.quick__options:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quick__options:has(> :nth-child(5)) > :last-child { grid-column: 1 / -1; }
.quick__step .error, .quick__missing { font-size: 14px; font-weight: 600; color: var(--paper); background: rgba(245, 243, 238, 0.12); padding: 6px 10px; }
.quick__nav { display: none; align-items: center; gap: 20px; margin-top: 8px; }
.quick__nav [hidden] { display: none !important; }
.quick .field input[type="text"], .quick .field input[type="email"], .quick .field input[type="tel"], .quick .field textarea { border-color: rgba(245, 243, 238, 0.7); }
.quick .field input::placeholder, .quick .field textarea::placeholder { color: rgba(245, 243, 238, 0.7); }
.quick .consent input { accent-color: var(--ink); }
.quick__back { background: none; border: 0; color: var(--paper); font-size: 16px; font-weight: 600; cursor: pointer; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; }
.quick__done { max-width: 720px; padding: 28px; border-left: 6px solid var(--paper); background: rgba(27, 28, 30, 0.18); display: grid; gap: 10px; }
.quick__done h3 { font-size: 26px; letter-spacing: -0.03em; }
.quick__alt { font-size: 15px; line-height: 1.6; color: var(--paper); max-width: 980px; }
.quick__alt a { white-space: nowrap; }
.quick__alt a { color: var(--paper); }
/* ohne JavaScript: alle Fragen untereinander, normaler Absende-Button */
.quick__form:not(.is-wizard) .quick__nav { display: flex; }
.quick__form:not(.is-wizard) [data-back], .quick__form:not(.is-wizard) [data-next], .quick__form:not(.is-wizard) .quick__progress, .quick__form:not(.is-wizard) .quick__count { display: none; }
.quick__form:not(.is-wizard) .quick__step + .quick__step { margin-top: 24px; }
/* mit JavaScript: eine Frage nach der anderen */
.quick__form.is-wizard .quick__step { display: none; }
.quick__form.is-wizard .quick__step.is-active { display: grid; animation: quickIn 0.25s ease; }
.quick__form.is-wizard .quick__nav { display: flex; }
@keyframes quickIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) {
  .quick__options { grid-template-columns: 1fr 1fr; }
  .quick__options:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quick__options:has(> :nth-child(5)) > :last-child { grid-column: auto; }
  .quick__fields { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) { .quick .container { padding-top: 112px; padding-bottom: 112px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid rgba(245, 243, 238, 0.18); }
.site-footer .container { padding-top: 40px; padding-bottom: 48px; display: grid; gap: 20px; }
.site-footer .logo svg { width: 150px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer small { font-size: 14px; color: var(--paper); line-height: 1.5; }

/* ---- Rechtstexte ---- */
.legal { padding-top: 56px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.legal > * { max-width: 820px; min-width: 0; }
.legal hr { border: 0; border-top: 1px solid rgba(27, 28, 30, 0.2); margin: 24px 0 8px; width: 100%; }
.legal h1 { font-size: clamp(36px, 7vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin-top: 16px; letter-spacing: -0.035em; }
.legal p, .legal li { font-size: 17px; line-height: 1.55; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.legal .fazit { background: var(--green); color: var(--paper); padding: 28px clamp(20px, 4vw, 40px); margin-top: 16px; display: grid; gap: 14px; }
.legal .fazit h3 { font-size: 24px; letter-spacing: -0.035em; }
.legal .fazit a { color: inherit; }
.legal .todo { background: var(--stone); border-left: 6px solid var(--green); padding: 12px 16px; font-size: 15px; }

/* ==========================================================================
   Desktop ab 900 px
   ========================================================================== */
@media (min-width: 900px) {
  :root { --pad: 56px; --header-h: 84px; }
  .mbar, body.is-scrolled .mbar { display: none !important; }
  .logo svg { width: 210px; }

  .hero { min-height: 820px; }
  .hero__content { padding-bottom: 72px; gap: 28px; }
  .btn { min-height: 52px; padding: 0 28px; }

  /* Trennung im Winkel des Schnitts: Versatz = 0,3 x Höhe */
  .split { height: 320px; --dx: 48px; }
  .split__panel { gap: 12px; }
  .split__panel h2 { font-size: 48px; }
  .split__panel--privat { padding: 40px calc(50% - 40px) 40px var(--edge); justify-content: space-between; clip-path: polygon(0 0, calc(50% - var(--dx) - 2px) 0, calc(50% + var(--dx) - 2px) 100%, 0 100%); }
  .split__panel--gewerbe { padding: 40px var(--edge) 40px calc(50% + 90px); justify-content: space-between; clip-path: polygon(calc(50% - var(--dx) + 2px) 0, 100% 0, 100% 100%, calc(50% + var(--dx) + 2px) 100%); }
  .split__panel p { font-size: 18px; }

  .pflegeplan { padding-top: 104px; padding-bottom: 104px; gap: 64px; }
  .facts { grid-template-columns: repeat(4, 1fr); gap: 32px; }

  .wir { padding-top: 112px; padding-bottom: 112px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
  .wir--page { grid-template-areas: "text photos" "story kontakt"; row-gap: 56px; }
  .wir--page .wir__text { grid-area: text; } .wir--page .portraits { grid-area: photos; } .wir--page .wir__story { grid-area: story; } .wir--page .wir__kontakt { grid-area: kontakt; }
  .portraits { gap: 24px; }

  .einsatz--compact .container { grid-template-columns: 1fr; }

  .panel { grid-template-columns: 1fr 1fr; min-height: 480px; }
  .panel__media { height: auto; min-height: 480px; }
  .panel--rev .panel__media { order: 2; }
  .panel--full, .panel--full .panel__media { min-height: 0; }
  .panel--full { align-items: start; }
  .panel--full .panel__text { align-self: center; }
  .panel__text { padding: 64px var(--edge) 64px 64px; }
  .panel--rev .panel__text { padding: 64px 64px 64px var(--edge); }
  .panel:not(.panel--rev) .panel__text { padding: 64px var(--edge) 64px 64px; }

  .referenzen { padding-top: 112px; padding-bottom: 112px; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .stimmen { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
  .ref-photos { grid-template-columns: 1fr 1fr; gap: 24px; }

  .einsatz .container { grid-template-columns: 1fr 520px; gap: 72px; padding-top: 80px; padding-bottom: 80px; }
  .map-label { font-size: 34px; stroke-width: 7px; }
  .map-label--extra, .map-label--kreis { display: inline; }
  .map-label--standort { font-size: 36px; }

  .faq { padding-top: 112px; padding-bottom: 112px; }
  .ablauf .container { padding-top: 96px; padding-bottom: 96px; }
  .steps { grid-template-columns: repeat(5, 1fr); grid-template-rows: auto auto auto; gap: 0 32px; }
  .steps li { grid-row: span 3; grid-template-rows: subgrid; gap: 10px; }

  .kontakt .container { grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 112px; padding-bottom: 112px; }
  .site-footer .container { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
}
@media (max-width: 899px) { body { padding-bottom: 0; } body.is-scrolled { padding-bottom: 0; } }
@media (min-width: 1150px) {
  .nav { display: flex; }
  .burger, .mobile-nav { display: none !important; }
}

/* ---- Bildausschnitte einzelner Fotos ---- */
.panel__media img.is-rasen { object-position: 50% 100%; transform: scale(1.55); transform-origin: 50% 97%; }
.panel__media img.is-bagger { object-position: 50% 60%; }
.panel__media img.is-beet { object-position: 50% 50%; }
.contacts--spaced { margin-top: 14px; }

/* ---- Unterseiten: Einleitung, Vertrauenszeile, Zitate ---- */
.trust { font-size: 15px; font-weight: 600; color: var(--green); letter-spacing: 0.01em; }
.intro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.panel-quote { border-top: 0; padding-top: 0; gap: 16px; }
.panel-quote p { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.panel-quote footer { font-size: 15px; }
.legal blockquote { margin: 8px 0; max-width: 62ch; }
.legal blockquote p { font-size: 18px; }
.kontakt__lead { font-size: 17px; line-height: 1.5; max-width: 46ch; }

/* ---- Hinweis auf den früheren Namen ---- */
.wir__text { display: grid; gap: 14px; align-content: start; }
.wir__note { font-size: 16px; line-height: 1.5; color: var(--ink); max-width: 52ch; }
