/* =========================================================
   MHG – Hausmeister- & Reinigungsservice
   Stylesheet (selbst gehostete Schrift, keine externen Requests)
   ========================================================= */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Heros"; font-weight: 400; font-display: swap; src: url("../fonts/heros-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Heros"; font-weight: 700; font-display: swap; src: url("../fonts/heros-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand-900: #013313;   /* Logo-Hintergrund */
  --brand-800: #03421b;
  --brand-700: #0a5a27;
  --lime: #5cc22a;        /* Blatt im Logo */
  --lime-600: #47a51b;
  --lime-50: #eef8e8;
  --ink: #18241c;
  --text: #3c4a41;
  --muted: #6b786f;
  --line: #e2e8e3;
  --bg: #ffffff;
  --bg-soft: #f4f7f3;
  --wa: #25d366;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(1, 51, 19, .10);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--lime-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; transition: all .2s;
  font-family: inherit; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--lime); color: #fff; }
.btn-primary:hover { background: var(--lime-600); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-900); }
.btn-dark { background: var(--brand-900); color: #fff; }
.btn-dark:hover { background: var(--brand-700); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb457; color: #fff; }
.link-more { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "»"; }

/* ---------- Header: weisse Leiste ---------- */
:root { --header-h: 78px; }

.site-header {
  position: sticky; z-index: 50; top: 0;
  height: var(--header-h);
  display: flex; align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 3vw, 44px);
  background: #fff;
  border-bottom: 1px solid rgba(13,52,24,.09);
}

/* Logo links */
.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { width: auto; height: clamp(34px, 3.2vw, 44px); object-fit: contain; }

/* Navigation mittig */
.nav {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: #11151a;
  font-size: clamp(13px, .95vw, 15.5px);
  font-weight: 500;
}
.nav__glass {
  position: absolute; z-index: 0;
  top: 0; left: 0; width: 0; height: 0;
  border-radius: 11px;
  background: rgba(13,52,24,.075);
  pointer-events: none;
  transition:
    width 520ms cubic-bezier(.16,1,.3,1),
    height 520ms cubic-bezier(.16,1,.3,1),
    transform 520ms cubic-bezier(.16,1,.3,1);
}
.nav a {
  position: relative; z-index: 1;
  padding: 10px 15px;
  color: #11151a; white-space: nowrap;
  letter-spacing: -.01em;
  transition: color 280ms ease;
}
.nav a:hover, .nav a:focus-visible { color: #000; }
.nav a.is-active { color: #000; font-weight: 600; }

/* Untermenü „Leistungen“ */
.nav__item { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.nav__item--sub > a::after {
  content: ""; display: inline-block; margin-left: 7px;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav__sub {
  position: absolute; z-index: 2;
  top: calc(100% + 16px); left: 50%;
  min-width: 272px; padding: 8px;
  display: flex; flex-direction: column;
  transform: translateX(-50%) translateY(8px);
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(13,52,24,.16);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateX(-50%);
}
.nav__sub a {
  padding: 10px 14px; border-radius: 10px;
  color: #2b3a31; font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
.nav__sub a:hover { background: var(--lime-50); color: var(--brand-700); }

/* Button rechts */
.header-cta {
  flex: none;
  min-height: 46px; padding: 0 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: #fff; background: var(--brand-900);
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  transition: background 200ms ease, transform 150ms ease;
}
.header-cta:hover, .header-cta:focus-visible {
  color: #fff; background: var(--brand-700); transform: translateY(-1px);
}
.header-cta__labels { height: 1em; overflow: hidden; line-height: 1; }
.header-cta__labels span {
  display: block; height: 1em;
  transition: transform 520ms cubic-bezier(.16,1,.3,1);
}
.header-cta:hover .header-cta__labels span,
.header-cta:focus-visible .header-cta__labels span { transform: translateY(-100%); }

/* ---------- Hero Slider ---------- */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--brand-900); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.is-active img { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1,30,11,.92) 0%, rgba(1,40,15,.72) 45%, rgba(1,40,15,.25) 100%); }
.slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.slide h1, .slide h2 { color: #fff; font-size: 48px; font-weight: 800; margin-bottom: 18px; }
.slide p { font-size: 18px; color: #e3efe6; margin-bottom: 28px; }
.slide .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { position: absolute; right: 6%; bottom: 70px; z-index: 3; width: 150px; height: 150px; border-radius: 50%; background: var(--lime); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); border: 4px solid rgba(255,255,255,.35); }
.hero-badge strong { display: block; font-size: 46px; font-weight: 800; line-height: 1; }
.hero-badge span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; display: block; margin-top: 4px; }
.slider-dots { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider-dots button.is-active { background: var(--lime); border-color: var(--lime); }
.slider-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; cursor: pointer; border-radius: 50%; }
.slider-arrow:hover { background: var(--lime); }
.slider-arrow.prev { left: 20px; } .slider-arrow.next { right: 20px; }

/* ---------- Feature-Boxen (unter dem Slider) ---------- */
.features { position: relative; z-index: 5; margin-top: -70px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; box-shadow: none; background: #fff; }
.feature { padding: 34px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.feature:last-child { border-right: 0; }
.feature-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--lime-50); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 28px; height: 28px; stroke: var(--lime-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h4 { font-size: 18px; margin-bottom: 10px; }
.feature p { font-size: 15px; flex: 1; }

/* ---------- Sektionen ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-900); color: #d7e8dc; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head h2 { font-size: 36px; font-weight: 800; position: relative; padding-bottom: 18px; margin-bottom: 18px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 70px; height: 4px; background: var(--lime); border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-dark .section-head p { color: #b9d9c3; }

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 2 / 1; overflow: hidden; position: relative; background: var(--brand-800); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .tag { position: absolute; left: 16px; top: 16px; background: var(--lime); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: .08em; text-transform: uppercase; }
.card-tile { width: 100%; height: 100%; display: grid; place-items: center; background:
  radial-gradient(circle at 80% 20%, rgba(92,194,42,.35), transparent 55%),
  linear-gradient(135deg, var(--brand-700), var(--brand-900)); }
.card-tile svg { width: 74px; height: 74px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .95; transition: transform .4s; }
.card:hover .card-tile svg { transform: scale(1.1) rotate(-4deg); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--lime-600); }
.card-body p { font-size: 15px; flex: 1; }

/* ---------- Mehrwert ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.benefit { text-align: center; padding: 20px 10px; }
.benefit-icon { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--lime); display: grid; place-items: center; margin: 0 auto 20px; transition: background .25s; }
.benefit:hover .benefit-icon { background: var(--lime); }
.benefit-icon svg { width: 36px; height: 36px; stroke: var(--lime); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit:hover .benefit-icon svg { stroke: #fff; }
.benefit h4 { font-size: 17px; margin-bottom: 8px; }
.benefit p { font-size: 14.5px; margin: 0; }

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 46px; font-weight: 800; color: var(--lime); line-height: 1.1; }
.stat span { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #d7e8dc; }

/* ---------- Split / Über uns ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split-media .float-card { position: absolute; right: -20px; bottom: 30px; background: var(--brand-900); color: #fff; padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--lime); }
.float-card strong { font-size: 34px; font-weight: 800; display: block; line-height: 1; color: var(--lime); }
.float-card span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.split h2 { font-size: 34px; font-weight: 800; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--brand-900); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.project:hover img { transform: scale(1.06); opacity: .85; }
.project figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(1,30,11,.92)); color: #fff; }
.project figcaption strong { display: block; font-size: 17px; }
.project figcaption span { font-size: 13px; color: #b9d9c3; }
.projects.wide { grid-template-columns: repeat(3, 1fr); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 4px; }
.lightbox button { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* ---------- Region ---------- */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.city { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 10px 20px; font-weight: 600; color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.city svg { width: 16px; height: 16px; stroke: var(--lime-600); fill: none; stroke-width: 2.2; }
.section-dark .city { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(90deg, var(--lime-600), var(--lime)); color: #fff; padding: 46px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #f1fbeb; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Jetzt informieren (Kontaktblock) ---------- */
.inform { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; align-items: start; }
.inform h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.inform ul { list-style: none; padding: 0; margin: 0; }
.inform li { margin-bottom: 12px; display: flex; gap: 12px; align-items: flex-start; }
.inform li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--lime-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.inform .lead strong { color: var(--ink); }

/* ---------- Seitentitel (Unterseiten) ---------- */
.page-hero { position: relative; padding: 90px 0 80px; color: #fff; background: var(--brand-900); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 44px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 18px; color: #d7e8dc; max-width: 680px; margin: 0; }
.breadcrumb { font-size: 13px; color: #b9d9c3; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { color: var(--lime); }

/* ---------- Leistungsdetails ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .service-media { order: 2; }
.service-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .card-tile svg { width: 120px; height: 120px; }
.service-block h2 { font-size: 30px; font-weight: 800; }
.service-num { font-size: 13px; font-weight: 700; color: var(--lime-600); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--ink); position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--lime-50); color: var(--lime-600); display: grid; place-items: center; font-size: 22px; font-weight: 600; line-height: 1; transition: all .2s; }
.faq details[open] summary::after { content: "–"; background: var(--lime); color: #fff; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 18px 24px 8px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid #cfd8d1; border-radius: var(--radius); background: #fbfcfb; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(92,194,42,.2); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; font-size: 14px; margin: 6px 0 22px; align-items: flex-start; }
.check input { margin-top: 5px; accent-color: var(--lime-600); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.contact-card { background: var(--brand-900); color: #d7e8dc; border-radius: var(--radius); padding: 34px; }
.contact-card h3 { color: #fff; }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card a:hover { color: var(--lime); }
.contact-card .inform li svg { stroke: var(--lime); }
.contact-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 24px 0; }
.quick { display: grid; gap: 12px; }
.quick .btn { justify-content: center; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h3 { font-size: 17px; margin-top: 24px; }
.placeholder { background: #fff6d6; border: 1px dashed #d9b300; padding: 1px 6px; border-radius: 3px; color: #6b5600; font-weight: 600; }
.notice { background: #fff6d6; border-left: 4px solid #d9b300; padding: 14px 18px; border-radius: 4px; color: #5d4c00; font-size: 14.5px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #011f0c; color: #9fbfa9; font-size: 15px; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 20px 50px; }
.site-footer h4 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfe3d5; }
.site-footer a:hover { color: var(--lime); }
.footer-logo { width: 190px; border-radius: 4px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }

/* ---------- Floating Kontakt ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); }
.fab a svg { width: 28px; height: 28px; fill: #fff; }
.fab .fab-wa { background: var(--wa); }
.fab .fab-phone { background: var(--brand-800); }
.fab .fab-wa::before { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); opacity: .5; animation: pulse 2.2s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 44px; height: 44px; border-radius: var(--radius); background: var(--brand-800); color: #fff; border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: all .25s; font-size: 18px; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .slide img, .fab .fab-wa::before { transition: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .projects { grid-template-columns: repeat(2, 1fr); }
  .benefits, .stats { grid-template-columns: repeat(2, 1fr); }
  .inform { grid-template-columns: 1fr 1fr; }
  .inform > :first-child { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* Header zweizeilig: Logo + Button oben, Navigation darunter – kein Burger nötig */
  :root { --header-h: 112px; }
  .site-header { height: auto; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px 6px; }
  .brand { order: 1; }
  .header-cta { order: 2; margin-left: auto; min-height: 40px; padding: 0 18px; font-size: 13px; }
  .nav { order: 3; flex: 1 0 100%; justify-content: space-between; font-size: 14px; }
  .nav a { padding: 9px 6px; }
  .nav a[href="index.html"] { display: none; }   /* Logo führt bereits zur Startseite */
  .nav__item--sub > a::after { display: none; }
  .nav__sub { display: none; }
  .hero { height: 560px; }
  .slide h1, .slide h2 { font-size: 34px; }
  .slide p { font-size: 16px; }
  .hero-badge { display: none; }
  .slider-arrow { display: none; }
  .features { margin-top: 0; }
  .features-grid { grid-template-columns: 1fr; box-shadow: none; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-block.reverse .service-media { order: 0; }
  .split-media .float-card { right: 12px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .split h2, .service-block h2 { font-size: 26px; }
  .page-hero { padding: 60px 0 54px; }
  .page-hero h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand img { height: 32px; }
  .nav { font-size: 13px; }
  .nav a { padding: 8px 4px; }
  .hotline-icon { width: 40px; height: 40px; }
  .hotline-icon svg { width: 20px; height: 20px; }
  .hotline-num { font-size: 16px; }
  .hotline-label { font-size: 10px; }
  .cards, .projects, .benefits, .inform, .footer-main, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 36px; }
  .form { padding: 24px 18px; }
  .footer-main { padding: 50px 16px 30px; }
  .fab { right: 14px; bottom: 14px; }
  .fab a { width: 52px; height: 52px; }
}

/* Grid-Kinder dürfen schrumpfen (verhindert horizontales Scrollen auf dem Handy) */
.contact-grid > *, .form-row > *, .split > *, .service-block > *, .inform > * { min-width: 0; }
.field select { text-overflow: ellipsis; }

/* ---------- Startseite: Hero im Split-Layout mit Anfragekarte ---------- */
.home { background: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Hero-Rahmen --- */
.home .hero {
  position: relative;
  width: 100%; margin: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 600px;
  border-radius: 0;
  overflow: hidden;
  background: var(--brand-900);
  display: block;
}
.hero-visual { position: absolute; inset: 0; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 50%;   /* Mitarbeiter + Maschine im Bild halten */
}
/* Abdunklung nur unten links, damit das Foto sichtbar bleibt */
.hero-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(2,18,8,.80) 0%, rgba(2,18,8,.34) 32%, rgba(2,18,8,0) 62%),
    linear-gradient(to right, rgba(2,18,8,.46) 0%, rgba(2,18,8,0) 55%);
}

/* --- Headline unten links --- */
.hero-copy {
  position: absolute; z-index: 2;
  left: clamp(18px, 3vw, 44px);              /* bündig mit dem Logo */
  bottom: clamp(36px, 6vh, 72px);
  max-width: min(56%, 760px);
  color: #fff;
}
.hero-copy .eyebrow {
  display: inline-block; margin-bottom: 18px;
  color: #cdf3b6;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .75rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(48px, 5.25vw, 82px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 3px 25px rgba(0,0,0,.6);
  text-wrap: balance;
}
.hero-copy p {
  max-width: 560px;
  margin: clamp(17px, 2.2vh, 24px) 0 0;
  color: rgba(255,255,255,.84);
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
}

/* --- Anfragekarte rechts --- */
.hero-request {
  position: absolute; z-index: 3;
  top: 50%; transform: translateY(-50%);
  right: clamp(18px, 3vw, 44px);
  width: clamp(330px, 31%, 436px);
  max-height: calc(100% - 56px);
  overflow-y: auto;
  padding: clamp(24px, 2.2vw, 34px);
  background: #fff;
  border-radius: 10px;
  box-shadow: none;
  color: var(--ink);
}
.hero-request h2 {
  margin: 0 0 18px;
  font-size: clamp(21px, 1.7vw, 27px);
  font-weight: 800; line-height: 1.18; letter-spacing: -.035em;
}
.hr-note { margin: 0 0 18px; color: var(--ink); font-size: 14px; font-weight: 600; }

.hr-field { margin-bottom: 14px; }
.hr-field > label {
  display: block; margin-bottom: 7px;
  color: var(--muted); font-size: 13px; font-weight: 500;
}

/* Eingabe-Zeile: Icon-Kreis + Select + Pfeil */
.hr-control {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px 0 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.hr-control:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(92,194,42,.16); }
.hr-control::after {
  content: ""; flex: none;
  width: 9px; height: 9px; margin-left: auto;
  border-right: 2px solid #4a5a50; border-bottom: 2px solid #4a5a50;
  transform: translateY(-2px) rotate(45deg);
}
.hr-control select {
  flex: 1 1 auto; min-width: 0;
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; outline: none;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Icon-Kreis */
.hr-ico {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px;
  background: none;
}
.hr-ico svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--brand-900); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Pill-Reihe */
.hr-pills { display: flex; gap: 8px; margin-bottom: 14px; }
.hr-pill {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 6px;
  height: 46px; padding: 0 10px 0 13px;
  border-radius: 999px; background: var(--bg-soft);
  cursor: pointer;
}
.hr-pill:focus-within { box-shadow: 0 0 0 3px rgba(92,194,42,.16); }
.hr-pill .hr-ico { width: 18px; height: 18px; }
.hr-pill .hr-ico svg { width: 17px; height: 17px; }
.hr-pill select {
  flex: 1 1 auto; min-width: 0;
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; outline: none;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; text-overflow: ellipsis;
}

/* Button */
.hr-submit {
  width: 100%; margin-top: 6px;
  height: 54px; border: 0; border-radius: 999px;
  background: var(--brand-900); color: #fff;
  font: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.hr-submit:hover { background: var(--brand-700); }
.hr-submit:active { transform: translateY(1px); }

.home .features { margin-top: 40px; }
.home .features-grid { border-radius: 16px; overflow: hidden; }

/* --- Responsive --- */
@media (max-width: 1150px) {
  .hero-copy { max-width: 48%; }
  .hero-copy h1 { font-size: clamp(40px, 4.6vw, 56px); }
}

/* Ab hier: Karte unter das Bild statt darüber */
@media (max-width: 920px) {
  .home .hero {
    width: 100%;
    height: auto; min-height: 0;
    border-radius: 0;
    display: flex; flex-direction: column;
  }
  .hero-visual { position: relative; inset: auto; flex: none; }
  .hero-img { position: relative; height: clamp(380px, 58vh, 520px); }
  .hero-copy { left: 24px; right: 24px; bottom: 24px; max-width: none; }
  .hero-copy p { display: block; max-width: none; }
  .hero-request {
    position: static; transform: none;
    width: auto; max-height: none;
    margin: 0; border-radius: 0;
    box-shadow: none;
    padding: 26px 24px 28px;
  }
}

@media (max-width: 520px) {
  .hero-copy { left: 18px; right: 18px; bottom: 22px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy p { font-size: 16px; }
  .hero-request { padding: 22px 18px 24px; }
  .hr-control { padding-right: 12px; }
  .hr-control select { font-size: 14px; }
  .hr-pills { flex-wrap: wrap; }
  .hr-pill { flex: 1 1 calc(50% - 4px); }
}

/* ==========================================================================
   Überschriften – Heros (freie Helvetica-Alternative, lokal eingebunden)
   Große Titel dünn und eng wie die Hero-Headline, kleine Titel fett.
   ========================================================================== */
:root { --ff-display: "Heros", "Helvetica Neue", Helvetica, Arial, sans-serif; }

h1, h2, h3, h4, h5 { font-family: var(--ff-display); }

/* Große Überschriften */
h1, h2,
.page-hero h1, .section-head h2, .split h2, .service-block h2,
.cta-band h3, .hero-request h2, .legal h2 {
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
  text-wrap: balance;
}
.page-hero h1       { font-size: clamp(38px, 5vw, 72px); margin-bottom: 16px; }
.section-head h2    { font-size: clamp(32px, 4vw, 54px); }
.split h2,
.service-block h2   { font-size: clamp(30px, 3.4vw, 48px); }
.cta-band h3        { font-size: clamp(28px, 2.6vw, 38px); }
.hero-request h2    { font-size: clamp(25px, 2vw, 31px); letter-spacing: -.045em; line-height: 1.05; }
.legal h2           { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.04em; }

/* Kleine Überschriften (Karten, Vorteile, Listen) */
h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; }
.site-footer h4 { letter-spacing: .08em; }   /* Versal-Spaltentitel behalten ihre Sperrung */


/* ==========================================================================
   Hero: wechselnde Überschriften – Wörter steigen aus dem „Boden“
   ========================================================================== */
/* Jedes Wort sitzt in einer Maske; unterhalb der Maske ist es unsichtbar */
.hw-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: .1em 0 .12em;          /* Platz für Umlautpunkte und Unterlängen */
  margin: -.1em 0 -.12em;
}
.hw-word {
  display: inline-block;
  transform: translateY(118%);
  opacity: 0;
  will-change: transform, opacity;
}

/* Aufbauen: Wörter steigen nacheinander hoch */
.hero-copy.is-in .hw-word {
  transform: none; opacity: 1;
  transition:
    transform 780ms cubic-bezier(.16,1,.3,1),
    opacity 780ms cubic-bezier(.16,1,.3,1);
}
/* Abbauen: Wörter sinken nacheinander zurück in den Boden */
.hero-copy.is-out .hw-word {
  transform: translateY(118%); opacity: 0;
  transition:
    transform 460ms cubic-bezier(.7,0,.84,0),
    opacity 460ms cubic-bezier(.7,0,.84,0);
}

/* Eyebrow und Text erscheinen, nachdem die Headline steht */
.hero-copy.rotating .eyebrow,
.hero-copy.rotating > p {
  opacity: 0; transform: translateY(14px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.hero-copy.rotating.meta-in .eyebrow,
.hero-copy.rotating.meta-in > p {
  opacity: 1; transform: none;
  transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1);
}
.hero-copy.rotating.meta-in > p { transition-delay: 90ms; }
/* Ohne JavaScript fehlt die Klasse .rotating – dann bleibt alles einfach sichtbar */

/* ==========================================================================
   Ladebildschirm (einmal pro Besuch)
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-900);
  transition: opacity .6s cubic-bezier(.22,1,.36,1), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.no-preloader .preloader { display: none; }
body:has(.preloader:not(.is-done)) { overflow: hidden; }   /* kein Scrollen dahinter */

.preloader__inner { text-align: center; }
.preloader__logo {
  display: block; margin: 0 auto;
  width: auto; height: clamp(64px, 11vw, 96px);
  opacity: 0; transform: translateY(10px);
  animation: preloader-logo .8s cubic-bezier(.22,1,.36,1) .1s forwards;
}
.preloader__bar {
  display: block; overflow: hidden;
  width: 160px; height: 2px; margin: 1.4rem auto 0;
  border-radius: 2px;
  background: rgba(255,255,255,.18);
}
.preloader__bar i {
  display: block; width: 0; height: 100%;
  background: var(--lime);
  animation: preloader-bar 1.3s cubic-bezier(.22,1,.36,1) forwards;
}
.preloader.is-done .preloader__inner { transform: translateY(-8px); transition: transform .6s cubic-bezier(.22,1,.36,1); }

@keyframes preloader-logo { to { opacity: 1; transform: none; } }
@keyframes preloader-bar  { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__bar i { animation-duration: .01s; animation-delay: 0s; }
}

/* Leistungsbilder: Bildausschnitt, wo das Motiv am Rand liegt */
img[src*="leistung-hausmeisterservice"] { object-position: 50% 12%; }   /* Lampe oben im Bild behalten */

/* ==========================================================================
   Startseite: „Über MHG“ – Label + Headline links, Text rechts, breites Bild
   ========================================================================== */
.about-intro { background: #f4f5f3; }
.about-intro__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "pill ." "title text";
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 20px;
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.about-intro__pill {
  grid-area: pill; justify-self: start;
  padding: 7px 16px;
  border: 1px solid rgba(24,36,28,.22);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px; font-weight: 500;
}
.about-intro__head h2 {
  grid-area: title;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.about-intro__text { grid-area: text; max-width: 470px; }
.about-intro__text p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px; line-height: 1.65;
}
.about-intro__link {
  color: var(--ink); font-size: 14px; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.about-intro__link:hover { color: var(--brand-700); }
.about-intro__link span { display: inline-block; transition: transform .2s; }
.about-intro__link:hover span { transform: translateX(3px); }

.about-intro__media {
  margin: 0;
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 2.1 / 1;
  background: var(--brand-900);
}
.about-intro__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

@media (max-width: 760px) {
  .about-intro__head {
    grid-template-columns: 1fr;
    grid-template-areas: "pill" "title" "text";
  }
  .about-intro__head h2 br { display: none; }
  .about-intro__media { aspect-ratio: 4 / 3; border-radius: 12px; }
}
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Startseite: „Unsere Arbeiten“ als Karussell
   ========================================================================== */
.work { overflow-x: clip; }                 /* Kartenreihe darf rechts auslaufen, ohne Querscrollen */
.work__head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(28px, 3.5vw, 44px); }
.work__head h2 {
  margin: 0; color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -.045em;
}

.work-track {
  --visible: 3.35;                          /* sichtbare Karten – die angeschnittene zeigt: es geht weiter */
  --gap: 16px;
  display: flex; gap: var(--gap);
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* links und rechts bis zum Bildschirmrand verlängern, Karten rasten an der Inhaltskante ein */
  --bleed: calc((100vw - 100%) / 2);
  margin-left: calc(var(--bleed) * -1);
  margin-right: calc(var(--bleed) * -1);
  padding-left: var(--bleed);
  padding-right: var(--bleed);
  scroll-padding-left: max(20px, (100vw - 1160px) / 2);   /* = Abstand Bildschirmrand → Inhaltskante */
  outline: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { box-shadow: 0 0 0 3px rgba(92,194,42,.35); border-radius: 18px; }

.work-card {
  position: relative; flex: 0 0 auto;
  width: calc((min(1160px, 100vw - 40px) - (var(--visible) - .35) * var(--gap)) / var(--visible));
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--brand-900);
  scroll-snap-align: start;
}
.work-card img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.work-card:hover img { transform: scale(1.05); }
.work-card::after {                         /* Verlauf für lesbaren Text */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,0) 62%);
}

/* Glas-Label oben rechts */
.work-card__tag {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 500;
}

/* Text unten – wird beim Hover zum Glas-Panel */
.work-card__caption {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px;
  padding: 12px 56px 12px 10px;
  border: 1px solid transparent; border-radius: 14px;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.work-card__caption p {
  margin: 0; color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.35vw, 20px); line-height: 1.12; letter-spacing: -.035em;
  text-wrap: balance;
}
.work-card__pill {
  display: inline-block; margin-bottom: 8px;
  padding: 3px 10px; border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.2);
  font-size: 11px; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.work-card__go {
  position: absolute; right: 10px; bottom: 12px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: #fff; background: rgba(1,51,19,.9);
  opacity: 0; transform: scale(.8);
  transition: opacity .3s ease, transform .3s ease, background .2s;
}
.work-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.work-card__go:hover { background: var(--brand-700); color: #fff; }

.work-card:hover .work-card__caption,
.work-card:focus-within .work-card__caption {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.32);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.work-card:hover .work-card__pill, .work-card:focus-within .work-card__pill,
.work-card:hover .work-card__go,   .work-card:focus-within .work-card__go { opacity: 1; transform: none; }

/* Touch-Geräte ohne Hover: Pfeil immer zeigen */
@media (hover: none) {
  .work-card__go { opacity: 1; transform: none; }
}

/* Fußzeile: Pfeile links, Text rechts */
.work__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(22px, 3vw, 34px);
}
.work__nav { display: flex; gap: 10px; flex: none; }
.work__btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(24,36,28,.2); background: #fff; color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.work__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.work__btn:hover:not(:disabled) { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.work__btn:disabled { opacity: .35; cursor: default; }
.work__note { margin: 0; max-width: 380px; color: var(--muted); font-size: 13.5px; line-height: 1.55; text-align: right; }
.work__note a { color: var(--ink); font-weight: 600; white-space: nowrap; }

@media (max-width: 1050px) { .work-track { --visible: 2.3; } }
@media (max-width: 640px) {
  .work-track { --visible: 1.25; --gap: 12px; scroll-padding-left: 16px; }
  .work-card { width: calc((100vw - 32px - .25 * 12px) / 1.25); }
  .work__foot { flex-direction: column; align-items: flex-start; }
  .work__note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .work-track { scroll-behavior: auto; } }
.work__head .about-intro__pill { grid-area: auto; }   /* Label hier normal über der Headline */

/* ==========================================================================
   Über uns: Bild-Banner + hellgraues Panel mit Werte-Karten
   ========================================================================== */
.about-hero {
  position: relative;
  height: clamp(300px, 52vh, 520px);
  display: grid; place-items: center;
  overflow: hidden;
  background: #0b0f0c;
}
.about-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  filter: grayscale(.25) brightness(.62);
}
.about-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.about-hero h1 {
  position: relative; z-index: 1; margin: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 400; line-height: .95; letter-spacing: -.055em;
  text-shadow: 0 3px 25px rgba(0,0,0,.45);
}

.about-panel {
  margin-top: 10px;
  background: #f5f5f4;
  border-radius: 20px 20px 0 0;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px);
}
.about-block + .about-block { margin-top: clamp(64px, 8vw, 112px); }

.about-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #e8e8e6;
  color: #5d625f;
  font-size: 12px; font-weight: 500;
}
.about-statement {
  max-width: 680px;
  margin: 22px 0 clamp(36px, 4vw, 52px);
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.16; letter-spacing: -.04em;
}
.about-statement span { color: var(--lime-600); }   /* Blattgrün aus dem Logo als Hervorhebung */

/* Werte-Karten */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.value-card {
  min-height: 236px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
  padding: 22px 22px 26px;
  border-radius: 16px;
  background: #fff;
}
.value-card__icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--brand-900);
}
.value-card__icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.value-card h3 {
  margin: 0 0 8px;
  font-size: 19px; font-weight: 400; letter-spacing: -.03em;
}
.value-card p { margin: 0; max-width: 240px; color: #7a7f7c; font-size: 13.5px; line-height: 1.5; }
.value-card > div { min-height: 94px; }   /* Titel fluchten, auch wenn Texte unterschiedlich lang sind */

/* Firmentext in zwei Spalten */
.story-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px);
  max-width: 960px; margin-bottom: clamp(36px, 4vw, 52px);
}
.story-cols p { margin: 0; color: #5f6561; font-size: 15px; line-height: 1.7; }

/* Kennzahlen als weiße Kacheln */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 150px; padding: 22px;
  border-radius: 16px; background: #fff;
}
.stat-card strong {
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: clamp(40px, 4vw, 58px); font-weight: 400; line-height: .9; letter-spacing: -.06em;
}
.stat-card span { color: #7a7f7c; font-size: 13.5px; }

@media (max-width: 1000px) {
  .value-grid, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; gap: 28px; }
  .value-card > div { min-height: 0; }
  .story-cols { grid-template-columns: 1fr; }
  .about-panel { border-radius: 16px 16px 0 0; }
}

/* „Über MHG“: Vorteile statt Bild – weiße Fläche im grauen Abschnitt */
.about-intro__features { border-radius: 14px; overflow: hidden; background: #fff; }
.about-intro__features .feature { padding: 34px 32px; }

/* ==========================================================================
   Farben umgedreht: weißer Hintergrund, hellgraue Karten
   (Startseite „Über MHG“ + Über-uns-Seite)
   ========================================================================== */
:root { --card-soft: #f4f4f2; }

.about-intro { background: #fff; }
.about-intro__features { background: var(--card-soft); }
.about-intro__features .feature-icon { background: #fff; }   /* Icon-Kreis hebt sich auf Grau ab */

.about-panel { background: #fff; }
.value-card, .stat-card { background: var(--card-soft); }
.about-tag { background: var(--card-soft); }

/* Über-uns-Banner ohne Rundung; „Unsere Arbeiten“ auf hellgrauem Grund */
.work { background: var(--card-soft); }
.work__btn { background: #fff; }

/* ==========================================================================
   „Unsere Arbeiten“: endlos laufendes Band (Steuerung in main.js)
   ========================================================================== */
.work-track {
  display: block;
  overflow: hidden;                 /* statt Scrollbalken: das Band bewegt sich per transform */
  scroll-snap-type: none;
  touch-action: pan-y;              /* senkrecht scrollen bleibt möglich, waagerecht ziehen wir selbst */
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.work-track.is-dragging { cursor: grabbing; }
.work-rail {
  display: flex; gap: var(--gap);
  width: max-content;
  margin: 0; padding: 0; list-style: none;
  will-change: transform;
}
.work-rail img { -webkit-user-drag: none; pointer-events: none; }

/* ==========================================================================
   Über uns: Typografie exakt wie auf der Startseite („Über MHG“ + Vorteile)
   ========================================================================== */
.about-tag {                                   /* = .about-intro__pill */
  padding: 7px 16px;
  border: 1px solid rgba(24,36,28,.22);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px; font-weight: 500;
}
.about-statement {                             /* = .about-intro__head h2 */
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.story-cols p {                                /* = .about-intro__text p */
  color: var(--muted);
  font-size: 14.5px; line-height: 1.65;
}
.value-card h3 {                               /* = .feature h4 */
  font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  margin-bottom: 10px;
}
.value-card p {                                /* = .feature p */
  color: var(--text);
  font-size: 15px; line-height: 1.7;
  max-width: none;
}
.value-card { justify-content: flex-start; gap: 64px; }   /* Titel mit festem Abstand zum Icon → fluchten immer */
.value-card > div { min-height: 0; }
@media (max-width: 600px) { .value-card { gap: 28px; } }

/* ==========================================================================
   Startseite: Einsatzgebiet mit Karte (SVG, 1 Einheit = 1 km)
   ========================================================================== */
.area__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.area__text h2 {
  margin: 20px 0 14px; color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -.045em;
}
.area__text > p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 440px; }
.area__text .cities { justify-content: flex-start; gap: 8px; margin: 0 0 24px; }
.area__text .city { padding: 7px 14px; font-size: 13.5px; }
.area__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 13.5px; }
.area__legend li { display: flex; align-items: center; gap: 10px; }
.area__key { width: 22px; height: 14px; border-radius: 999px; flex: none; }
.area__key--200 { background: rgba(71,165,27,.16); border: 1.5px solid var(--lime-600); }

.area__map {
  margin: 0; padding: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--card-soft);
}
.area__map figcaption { padding: 10px 16px 12px; color: #9aa09c; font-size: 11.5px; }
.area-map { display: block; width: 100%; height: auto; }

/* Kartenelemente */
.map-sea { fill: #e9ecea; }
.map-land--other { fill: #f1f1ef; stroke: #d3d7d4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-land--de { fill: #fff; stroke: #c3cac5; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.map-river { fill: none; stroke: #b9cfdc; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map-ring { fill: none; stroke: var(--lime-600); vector-effect: non-scaling-stroke; }
.map-ring--200 { stroke-width: 2; }
.map-ring-label rect { fill: #fff; stroke: var(--lime-600); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-ring-label text { fill: var(--brand-900); font-size: 11px; font-weight: 600; }

.map-dot--service { fill: var(--brand-900); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-dot--ref { fill: #a9afab; }
.map-center { fill: var(--lime-600); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.map-center-halo { fill: rgba(71,165,27,.22); }
.map-leader { stroke: #8d948f; stroke-width: 1; vector-effect: non-scaling-stroke; }

.map-label {
  paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round;
  font-family: var(--ff-body, "Inter", sans-serif);
}
.map-label--service { fill: var(--ink); font-size: 12.5px; font-weight: 600; }
.map-label--center  { fill: var(--brand-900); font-size: 14px; font-weight: 700; }
.map-label--ref     { fill: #8f9591; font-size: 11px; font-weight: 500; }

@media (max-width: 900px) {
  .area__grid { grid-template-columns: 1fr; }
  .area__map { margin-top: 8px; }                 /* Text zuerst, Karte darunter */
}
@media (max-width: 600px) {
  .map-label--ref { display: none; }              /* auf dem Handy nur eigene Einsatzorte */
  .map-cities--ref .map-dot--ref { display: none; }
}
.about-hero h1 { padding: 0 20px; text-align: center; text-wrap: balance; }

/* ==========================================================================
   Kontaktseite: Einleitung links, graue Formular-Karte rechts
   ========================================================================== */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.contact__eyebrow { display: block; margin-bottom: 18px; color: var(--ink); font-size: 13px; }
.contact__intro h2 {
  margin: 0 0 22px; color: var(--ink);
  font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -.05em;
  max-width: 560px;
}
.contact__lead { max-width: 440px; margin: 0 0 44px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; max-width: 520px; }
.contact__info h3 { margin: 0 0 10px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.contact__info p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact__info a { color: var(--ink); font-weight: 500; }
.contact__info a:hover { color: var(--lime-600); }
.contact__icons { display: flex; gap: 10px; }
.contact__icons a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--card-soft); color: var(--ink);
  transition: background .2s, color .2s;
}
.contact__icons a:hover { background: var(--brand-900); color: #fff; }
.contact__icons svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__area { max-width: 520px; margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* Formular-Karte */
.contact__form {
  padding: clamp(28px, 4vw, 56px);
  border-radius: 20px;
  background: var(--card-soft);
}
.contact__form h3 { margin: 0 0 10px; color: var(--ink); font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.04em; }
.contact__form-lead { margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 380px; }

.uf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.uf { display: flex; flex-direction: column; margin-bottom: 22px; }
.uf label { margin-bottom: 2px; color: #8b918d; font-size: 12.5px; }
.uf input, .uf select, .uf textarea {
  width: 100%; padding: 8px 0 10px;
  border: 0; border-bottom: 1px solid #c9cec9; border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 15px;
  transition: border-color .2s;
}
.uf select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background: no-repeat right 2px center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318241c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); padding-right: 22px; }
.uf textarea { min-height: 96px; resize: vertical; }
.uf input::placeholder, .uf textarea::placeholder { color: #b0b5b1; }
.uf input:focus, .uf select:focus, .uf textarea:focus { outline: none; border-bottom-color: var(--brand-900); box-shadow: 0 1px 0 0 var(--brand-900); }
.contact__form .check { margin: 4px 0 26px; font-size: 13px; color: var(--muted); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__send {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 22px 0 8px;
  border: 0; border-radius: 999px;
  background: var(--brand-900); color: #fff;
  font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .2s, transform .15s;
}
.contact__send:hover { background: var(--brand-700); }
.contact__send:active { transform: translateY(1px); }
.contact__send-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.14); }
.contact__send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__send--wa { padding: 0 20px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24,36,28,.25); }
.contact__send--wa:hover { background: #25d366; color: #fff; box-shadow: none; }
.contact__note { margin: 16px 0 0; color: #9aa09c; font-size: 12px; }

.contact__grid > *, .contact__info > * { min-width: 0; }
.contact__info a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .uf-row { grid-template-columns: minmax(0, 1fr); }
  .contact__info { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ==========================================================================
   Kontaktseite: FAQ – Einleitung links (mitlaufend), Fragen als graue Karten
   ========================================================================== */
#faq, #einsatzgebiet { scroll-margin-top: calc(var(--header-h) + 16px); }   /* Anker nicht unter dem Header */

.faq-section { padding-top: clamp(24px, 3vw, 40px); }
.faq-section__grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.faq-section__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-section__intro h2 {
  margin: 20px 0 14px; color: var(--ink);
  font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.05em;
}
.faq-section__intro p { max-width: 360px; margin: 0 0 26px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.faq-section__cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; background: var(--brand-900); color: #fff;
  font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.faq-section__cta:hover { background: #25d366; color: #fff; }
.faq-section__cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: var(--card-soft); transition: background .2s; }
.faq-item[open] { background: #eeefec; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px 20px 26px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.4; }
.faq-item__icon {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  transition: background .25s, transform .3s cubic-bezier(.22,1,.36,1);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.faq-item[open] .faq-item__icon { background: var(--brand-900); transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::before { background: #fff; }
.faq-item[open] .faq-item__icon::after { background: #fff; transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-item__q { color: var(--brand-700); }
.faq-item summary:focus-visible { outline: 2px solid var(--lime-600); outline-offset: 2px; border-radius: 16px; }

.faq-item__a { padding: 0 72px 22px 26px; }
.faq-item__a p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.7; }   /* dunkler: ausreichender Kontrast auf Grau */
.faq-item__a p + p { margin-top: 10px; }
.faq-item[open] .faq-item__a { animation: faq-open .35s cubic-bezier(.22,1,.36,1); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq-section__grid { grid-template-columns: minmax(0, 1fr); }
  .faq-section__intro { position: static; }
}
@media (max-width: 560px) {
  .faq-item summary { padding: 18px 16px 18px 18px; }
  .faq-item__q { font-size: 15px; }
  .faq-item__a { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) { .faq-item[open] .faq-item__a { animation: none; } }

/* FAQ: grauer Hintergrund, weiße Karten */
.faq-section { background: var(--card-soft); padding-top: clamp(64px, 7vw, 96px); }
.faq-item, .faq-item[open] { background: #fff; }
.faq-item__icon { background: var(--card-soft); }                 /* Plus-Kreis hebt sich von Weiß ab */

/* Hinweis nach „Per WhatsApp senden“ */
.wa-copy-note {
  margin: 14px 0 0; padding: 10px 14px;
  border-radius: 12px; background: var(--lime-50); color: var(--brand-700);
  font-size: 13px; line-height: 1.5;
}

/* ==========================================================================
   Startseite: „Jetzt informieren“ – Einleitung links, zwei weiße Karten rechts
   ========================================================================== */
.inform-section { background: var(--card-soft); }
.inform-section__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.inform-section__intro h2 {
  margin: 20px 0 16px; color: var(--ink);
  font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.05em;
  max-width: 520px;
}
.inform-section__intro > p { max-width: 470px; margin: 0 0 28px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.inform-section .contact__send { text-decoration: none; }
.inform-section .contact__send--wa { background: #fff; box-shadow: none; }
.inform-section .contact__send--wa svg { width: 16px; height: 16px; }

.inform-section__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inform-card { background: #fff; min-height: 0; gap: 44px; }
.inform-card .value-card__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inform-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.7; }
.inform-card .inform-card__note { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.inform-card__links { margin-top: 12px !important; }
.inform-card__links a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.inform-card__links a:hover { color: var(--lime-600); }

@media (max-width: 900px) {
  .inform-section__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .inform-section__cards { grid-template-columns: minmax(0, 1fr); }
}
.inform-card__links a { font-size: 14px; }
@media (min-width: 561px) {
  .inform-section__cards { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }   /* Kontaktkarte breiter: E-Mail in einer Zeile */
}

/* „Jetzt informieren“ auf hellem Salbeigrün (aus dem Logo-Grün abgeleitet) */
.inform-section { background: #e4efdc; }
.inform-section__intro > p { color: var(--text); }          /* Grün-Grau wäre auf Grün zu kontrastarm */
.inform-section .about-intro__pill { border-color: rgba(1,51,19,.28); }

/* Startseite: „Ihr Mehrwert“ – Salbeigrün wie „Jetzt informieren“, weiße Karten */
.benefits-section { background: #e4efdc; }
.benefits-section .about-intro__text p { color: var(--text); }
.benefits-section .about-intro__pill { border-color: rgba(1,51,19,.28); }
.benefits-section .value-card { background: #fff; }
.benefits-section .value-card__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* „Unsere Arbeiten“ ebenfalls auf Salbeigrün */
.work { background: #e4efdc; }
.work .work__note { color: var(--text); }
.work .about-intro__pill { border-color: rgba(1,51,19,.28); }

/* „Ihr Mehrwert“: Vorteile wieder im ursprünglichen Stil (großer Icon-Kreis, Text darunter) – angepasst an hellen Grund */
.benefits-section .benefits { margin-top: clamp(8px, 2vw, 24px); }
.benefits-section .benefit-icon { border-color: var(--lime-600); }
.benefits-section .benefit-icon svg { stroke: var(--lime-600); }
.benefits-section .benefit:hover .benefit-icon { background: var(--lime-600); }
.benefits-section .benefit:hover .benefit-icon svg { stroke: #fff; }
.benefits-section .benefit h4 { color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.benefits-section .benefit p { color: var(--text); font-size: 15px; line-height: 1.7; }

/* „Ihr Mehrwert“: Kopf zentriert, ohne Begleittext */
.benefits-section__head { display: grid; justify-items: center; text-align: center; gap: 20px; margin-bottom: clamp(36px, 4vw, 56px); }
.benefits-section__head h2 {
  margin: 0; color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -.045em;
}
.benefits-section__head .about-intro__pill { grid-area: auto; justify-self: center; border-color: rgba(1,51,19,.28); }

/* Referenzen: „Typische Einsätze“ – Salbeigrün, fünf weiße Karten, zentrierter Kopf */
.usecase-section { background: #e4efdc; }
.usecase-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.usecase-card { background: #fff; min-height: 0; gap: 40px; }
.usecase-card .value-card__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usecase-card h3 { font-size: 17px; }
.usecase-card p { font-size: 14.5px; line-height: 1.6; }
.usecase-section__cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.usecase-section__cta .contact__send { text-decoration: none; }

@media (max-width: 1100px) { .usecase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .usecase-grid { grid-template-columns: minmax(0, 1fr); } }

/* Über uns: „Für wen wir arbeiten“ auf Salbeigrün */
.audience-section { background: #e4efdc; }
.audience-section .section-head p { color: var(--text); }
.audience-section .city { border-color: rgba(1,51,19,.12); }

/* Startseite nach dem Tausch: „Über MHG“ grün, „Ihr Mehrwert“ weiß – Wechsel Weiß/Grün bleibt erhalten */
.about-intro { background: #e4efdc; }
.about-intro__text p { color: var(--text); }
.about-intro .about-intro__pill { border-color: rgba(1,51,19,.28); }
.about-intro__features { background: #fff; }
.about-intro__features .feature-icon { background: var(--lime-50); }
.benefits-section { background: #fff; }

/* Leistungen: runde Buttons wie auf Kontakt/Startseite */
.service-block .contact__send { text-decoration: none; }
.service-block .contact__send--wa svg { width: 16px; height: 16px; }

/* Über uns: Kopf „Für wen wir arbeiten“ im neuen Stil */
.audience-head p { max-width: 520px; margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.65; }
.audience-head + .cities { margin-top: 0; }

/* Kontakt: Anfrage-Karte und FAQ auf Salbeigrün */
.contact__form { background: #e4efdc; }
.contact__form-lead,
.contact__form .check { color: var(--text); }
.uf label { color: #5f6e64; }
.uf input, .uf select, .uf textarea { border-bottom-color: rgba(1,51,19,.28); }
.uf input::placeholder, .uf textarea::placeholder { color: #8c9a90; }
.contact__note { color: #5f6e64; }
.contact__form .contact__send--wa { background: #fff; box-shadow: none; }

.faq-section { background: #e4efdc; }
.faq-section__intro p { color: var(--text); }
.faq-section .about-intro__pill { border-color: rgba(1,51,19,.28); }

/* FAQ: Kopf mittig oben, Fragen darunter */
.faq-section__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); justify-items: center; }
.faq-section__intro {
  position: static;
  display: grid; justify-items: center; text-align: center;
  max-width: 620px;
}
.faq-section__intro h2 { margin: 18px 0 12px; }
.faq-section__intro p { margin-left: auto; margin-right: auto; max-width: 480px; }
.faq-list { width: 100%; max-width: 860px; }
.faq-section__intro { display: flex; flex-direction: column; align-items: center; }   /* Flex statt Grid: Pill-Grid-Zuweisung greift nicht */
.faq-section__intro .about-intro__pill { grid-area: auto; }

/* ==========================================================================
   Footer: heller Grund, Inhalte oben, grüne Aquarell-Landschaft unten
   (Hintergrund = Farbe der Bildfläche, dadurch nahtloser Übergang)
   ========================================================================== */
.site-footer { --ft-bg: #f7fdf4; background: var(--ft-bg); color: #4f5e54; font-size: 15px; }
.site-footer a { color: #4f5e54; }
.site-footer a:hover { color: var(--brand-700); }

.ft-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.35fr);
  gap: clamp(24px, 3vw, 48px);
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(8px, 2vw, 24px);
  position: relative; z-index: 1;
}
.ft-logo { width: auto; height: 56px; margin-bottom: 22px; }
.ft-brand p { max-width: 300px; margin: 0 0 22px; line-height: 1.65; }
.ft-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-contact li { display: flex; align-items: center; gap: 12px; }
.ft-contact svg, .ft-social svg, .ft-callback__form svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ft-contact svg { color: var(--brand-900); }
.ft-contact a { overflow-wrap: anywhere; }

.site-footer h4 {
  margin: 8px 0 26px;
  color: var(--brand-900);
  font-family: var(--ff-body, "Inter", sans-serif);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ft-col li { margin: 0; }

.ft-callback p { margin: 0 0 18px; line-height: 1.6; }
.ft-callback__form { display: flex; max-width: 360px; }
.ft-callback__form input {
  flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px;
  border: 1px solid rgba(1,51,19,.22); border-right: 0; border-radius: 12px 0 0 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 14.5px;
}
.ft-callback__form input:focus { outline: none; border-color: var(--brand-900); }
.ft-callback__form button {
  flex: none; width: 56px; height: 50px; border: 0; border-radius: 0 12px 12px 0;
  display: grid; place-items: center;
  background: var(--brand-900); color: #fff; cursor: pointer; transition: background .2s;
}
.ft-callback__form button:hover { background: var(--brand-700); }
.ft-callback__form button svg { width: 20px; height: 20px; }
.ft-callback .ft-callback__note { margin: 10px 0 0; color: #7d8a81; font-size: 12.5px; }

/* Illustration: läuft über die volle Breite, die helle Bildoberkante verschmilzt mit dem Footer */
.ft-art { margin-top: clamp(-120px, -7vw, -40px); line-height: 0; }
.ft-art img { display: block; width: 100%; height: auto; }

.ft-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 26px;
  font-size: 13.5px;
}
.ft-social { display: flex; gap: 10px; }
.ft-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(1,51,19,.18); color: var(--brand-900);
  transition: background .2s, color .2s, border-color .2s;
}
.ft-social a:hover { background: var(--brand-900); border-color: var(--brand-900); color: #fff; }
.ft-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: #6b786f; }

@media (max-width: 1100px) {
  .ft-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
  .ft-callback { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .ft-col[aria-label="Hilfe und Kontakt"] { grid-column: 1 / -1; }
  .ft-art { margin-top: 0; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1101px) {
  .ft-top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .78fr)) minmax(0, 1.3fr); gap: clamp(24px, 2.6vw, 40px); }
}
.ft-contact { font-size: 14px; }
.ft-contact a { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 400px) { .ft-contact a { white-space: normal; overflow-wrap: anywhere; } }

/* Footer: untere Leiste liegt unten auf dem Bild (Desktop/Tablet) */
@media (min-width: 601px) {
  .site-footer { position: relative; }
  .ft-art { position: relative; }
  .ft-art::after {                               /* Bildunterkante sanft ins Footer-Grün ausblenden */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: clamp(90px, 14vw, 170px);
    background: linear-gradient(to bottom, rgba(247,253,244,0) 0%, rgba(247,253,244,.82) 62%, var(--ft-bg) 100%);
    pointer-events: none;
  }
  .ft-bottom {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    margin: 0 auto;
    padding-bottom: clamp(18px, 2vw, 28px);
  }
  .ft-social a { background: #fff; }
  .ft-legal { color: #4f5e54; }
}

/* Footer auf dem Handy: Hochformat-Bild, Leiste liegt unten auf dem Bild */
.ft-art picture { display: block; }
@media (max-width: 600px) {
  .site-footer { position: relative; }
  .ft-art { position: relative; margin-top: -40px; }
  .ft-art::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 190px;
    background: linear-gradient(to bottom, rgba(247,253,244,0) 0%, rgba(247,253,244,.85) 60%, var(--ft-bg) 100%);
    pointer-events: none;
  }
  .ft-bottom {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    margin: 0 auto; padding-bottom: 20px;
  }
  .ft-social a { background: #fff; }
  .ft-legal { color: #4f5e54; }
}

/* Footer-Leiste nicht unter den festen Buttons (Nach-oben links, WhatsApp/Anruf rechts) verschwinden lassen */
@media (max-width: 1360px) {
  .ft-bottom { padding-bottom: 84px; }
  .ft-art::after { height: clamp(200px, 30vw, 260px); }
}
@media (min-width: 601px) and (max-width: 1360px) {
  .ft-bottom { padding-right: 96px; }   /* rechts Platz für die gestapelten WhatsApp/Anruf-Buttons */
}

/* ==========================================================================
   Referenzen-Galerie: Figure-Standardrand weg; Handy = großes Bild zum Wischen
   ========================================================================== */
.project { margin: 0; }                        /* <figure> hat sonst 40px Rand links/rechts */
.hint-mobile { display: none; }
.swipe-dots { display: none; }

@media (max-width: 1000px) {
  .projects.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
  .projects, .projects.wide {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -20px; padding: 0 20px;
    scroll-padding: 0 20px;
  }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 86%; scroll-snap-align: start; border-radius: 16px; }
  .project:hover img { transform: none; opacity: 1; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .swipe-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(1,51,19,.22); cursor: pointer;
    transition: width .25s ease, background .25s ease;
  }
  .swipe-dots button.is-active { width: 22px; background: var(--brand-900); }
}
@media (max-width: 640px) {
  .projects, .projects.wide { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
}

/* Referenzen-Banner: Collage aus den echten Fotos statt eines einzelnen Bildausschnitts */
.hero-collage {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px;
  background: #0b0f0c;
}
.about-hero .hero-collage img {
  position: static; inset: auto;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2) brightness(.6);
}
@media (max-width: 1000px) {
  .hero-collage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-collage img:nth-child(5) { display: none; }
}
@media (max-width: 600px) {
  .hero-collage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-collage img:nth-child(4) { display: none; }
}
.hero-collage { grid-template-rows: minmax(0, 1fr); }      /* Zeile = Bannerhöhe, Bilder wachsen nicht darüber hinaus */
.about-hero .hero-collage img { min-height: 0; min-width: 0; }

/* Kontakt: Anfrage-Karte wieder hellgrau */
.contact__form { background: var(--card-soft); }

/* ==========================================================================
   Handy/Tablet (≤ 900px): einzeilige Kopfzeile mit Hamburger-Menü
   ========================================================================== */
.nav-burger { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header {
    height: var(--header-h); flex-wrap: nowrap; gap: 10px;
    padding: 0 16px;
  }
  .brand { order: 1; }
  .brand img { height: 38px; }
  .header-cta { order: 2; margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 13px; }

  /* Menü-Symbol */
  .nav-burger {
    order: 3; display: grid; place-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; flex: none;
    border: 1px solid rgba(1,51,19,.16); border-radius: 12px;
    background: #fff; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s;
  }
  .site-header.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-burger span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Menü-Fläche */
  .nav {
    order: 4;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 12px 20px 40px;
    background: #fff; border-top: 1px solid var(--line);
    font-size: 19px; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__glass { display: none; }
  .nav a, .nav a[href="index.html"] {
    display: block; padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-weight: 500; letter-spacing: -.01em; white-space: normal;
  }
  .nav a.is-active { color: var(--brand-700); font-weight: 600; }
  .nav__item { display: block; }
  .nav__item--sub > a::after { display: none; }
  .nav__sub {
    position: static; display: flex; flex-direction: column;
    min-width: 0; padding: 4px 0 10px 4px; margin: 0;
    transform: none; opacity: 1;
    visibility: inherit;   /* nur sichtbar/klickbar, wenn das Menü offen ist */
    border: 0; box-shadow: none; background: transparent;
  }
  .nav__sub a { padding: 10px 12px; border-bottom: 0; font-size: 15.5px; color: var(--muted); }
  /* Hover-Verschiebung des Desktop-Dropdowns hier aufheben */
  .nav__item--sub:hover .nav__sub,
  .nav__item--sub:focus-within .nav__sub { transform: none; visibility: inherit; }
}
@media (max-width: 400px) {
  .header-cta { padding: 0 12px; font-size: 12.5px; }
  .brand img { height: 34px; }
}
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .fab, html.menu-open .to-top { opacity: 0; visibility: hidden; pointer-events: none; }   /* nicht über dem offenen Menü */
.nav-burger { border: 0; background: transparent; }   /* nur die drei Striche, kein Rahmen */

/* ==========================================================================
   Formulare: Versand per Web3Forms – Lade- und Statusanzeige
   ========================================================================== */
.contact__send:disabled, .ft-callback__form button:disabled { opacity: .6; cursor: progress; }
.form-status {
  margin: 14px 0 0; padding: 12px 16px;
  border-radius: 12px; background: var(--lime-50); color: var(--brand-700);
  font-size: 14px; line-height: 1.5;
}
.form-status.is-error { background: #fdecea; color: #a12a1f; }
.ft-callback .ft-callback__note.is-ok { color: var(--brand-700); font-weight: 600; }
.ft-callback .ft-callback__note.is-error { color: #a12a1f; font-weight: 600; }
