/* ==========================================================================
   DACHKONTUR – Dach & Zimmerei
   Statische Website ohne Build-Schritt. Aufbau dieser Datei:
   1. Schriften  2. Variablen  3. Basis  4. Bausteine (Buttons, Labels)
   5. Kopfbereich  6. Hero  7. Leiste  8. Leistungen  9. Über uns
   10. Einblicke  11. Beratung  12. Fragen  13. Kontakt  14. Fußbereich
   15. Mobile Anrufleiste  16. Rechtsseiten  17. Bewegung reduzieren
   ========================================================================== */

/* 1. Schriften (lokal, variable Fonts, SIL Open Font License) ------------- */
@font-face {
  font-family: "Mulish";
  src: url("assets/fonts/mulish-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Variablen ------------------------------------------------------------ */
:root {
  --red: #D60000;
  --red-dark: #AD0000;
  --charcoal: #202327;
  --charcoal-deep: #17191C;
  --text: #34383C;
  --muted: #5B6166;
  --grey: #F5F5F3;
  --line: #DCDCD7;
  --white: #FFFFFF;

  --font-head: "Mulish", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --section: clamp(64px, 8vw, 112px);
  --header-h: 68px;
  --callbar-h: 60px;
  --focus: var(--charcoal);
}
@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1180px) { :root { --header-h: 84px; } }

/* 3. Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  hyphens: manual;
}
h2 { font-size: clamp(1.875rem, 1.35rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.2; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
[id^="leistung-"] { scroll-margin-top: 12px; }
.section--grey { background: var(--grey); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-color: var(--white); }

/* 4. Bausteine ------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  flex: 0 0 36px;
  height: 2px;
  background: var(--charcoal);
}
.eyebrow--light { color: var(--white); }
.eyebrow--light::before { background: var(--red); }

.lead { font-size: 1.125rem; max-width: 62ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--lg { min-height: 58px; padding-inline: 32px; font-size: 1.125rem; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--white { background: var(--white); color: var(--charcoal); }
.btn--white:hover { background: var(--charcoal); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--charcoal); }
.btn__number {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.link-arrow--light { color: var(--white); }
.link-arrow:hover { text-decoration-thickness: 2px; }

.phone-inline {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}
.phone-inline:hover { text-decoration: underline; text-underline-offset: 5px; }
.phone-inline--red { color: var(--red); font-size: 1.625rem; }

/* dezentes Bildlabel, z. B. „Symbolbild“ */
.tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px 10px;
  background: rgba(32, 35, 39, 0.82);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.ticks { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9688rem;
  line-height: 1.5;
}
.ticks li + li { margin-top: 8px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--red);
}

/* 5. Kopfbereich ---------------------------------------------------------- */
.utility { display: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(32, 35, 39, 0.12);
}
.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  min-width: 0;
  color: var(--charcoal);
  text-decoration: none;
}
.brand__mark { flex: none; color: var(--red); width: 36px; height: auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__claim {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead__mobile { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.icon-btn--call { background: var(--red); color: var(--white); }
.icon-btn--menu {
  padding-inline: 14px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 800;
}
.icon-btn__bars { display: grid; gap: 4px; width: 20px; }
.icon-btn__bars span { display: block; height: 2px; background: currentColor; transition: transform 0.15s ease, opacity 0.15s ease; }
.icon-btn--menu[aria-expanded="true"] .icon-btn__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.icon-btn--menu[aria-expanded="true"] .icon-btn__bars span:nth-child(2) { opacity: 0; }
.icon-btn--menu[aria-expanded="true"] .icon-btn__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobil: rote Fläche als aufklappbares Menü */
.band {
  --focus: var(--white);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--red);
  color: var(--white);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.js .band { display: none; }
.js .band.is-open { display: block; }

/* Ohne JavaScript: Menü steht sichtbar unter dem Kopf, kein Menüknopf */
.no-js .masthead { position: static; }
.no-js .masthead__inner { flex-wrap: wrap; }
.no-js .band { position: static; flex: 1 0 100%; margin-inline: calc(-1 * var(--gutter)); }
.no-js .icon-btn--menu { display: none; }

.nav__list a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}
.nav__list a:hover { text-decoration: underline; text-underline-offset: 6px; }

.band__call { margin-top: 20px; display: grid; gap: 14px; }
.band__phone { margin: 0; display: grid; gap: 2px; }
.band__phone-label { font-size: 0.8125rem; font-weight: 500; }
.band__phone-number {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}
.band__phone-number:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 1180px) {
  .utility {
    display: block;
    background: var(--white);
    font-size: 0.875rem;
    color: var(--text);
  }
  .utility__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 42px;
    padding-left: calc(var(--gutter) + 316px);
  }
  .utility__item { margin: 0; white-space: nowrap; }
  .utility__item--push { display: none; margin-left: auto; font-weight: 600; color: var(--charcoal); }
  .utility__label { font-weight: 600; color: var(--charcoal); }
  .utility a { text-decoration: none; }
  .utility a:hover { text-decoration: underline; text-underline-offset: 4px; }

  .masthead { overflow-x: clip; box-shadow: none; }
  .masthead__inner {
    display: grid;
    grid-template-columns: 316px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
  }
  .masthead__mobile { display: none; }
  .brand { align-self: center; padding-right: 56px; }
  .brand__mark { width: 44px; }
  .brand__name { font-size: 1.25rem; }

  .band,
  .js .band,
  .no-js .band {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 0 0 0 20px;
    max-height: none;
    overflow: visible;
  }
  /* diagonale Kante zwischen weißem Logo-Bereich und rotem Band */
  .band::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 46px;
    margin-right: -1px;
    background: var(--red);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
  }
  /* Band läuft bis zum rechten Fensterrand */
  .band::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50vw;
    margin-left: -1px;
    background: var(--red);
  }

  .nav__list { display: flex; gap: clamp(18px, 2vw, 34px); }
  .nav__list a {
    min-height: var(--header-h);
    border: 0;
    font-size: 1.0625rem;
    white-space: nowrap;
  }

  .band__call { margin: 0; display: flex; align-items: center; gap: 24px; }
  .band__phone { text-align: right; }
  .band__phone-number { font-size: 1.5rem; }
  .band__btn { display: none; min-height: 48px; padding-inline: 22px; font-size: 1rem; }
}
@media (min-width: 1360px) {
  .utility__item--push { display: block; }
  .band__btn { display: inline-flex; }
}

/* 6. Hero ----------------------------------------------------------------- */
/* Zwei Spalten: links Text und Anruf, rechts ein großes Foto mit drei kleineren darunter. */
.hero {
  --focus: var(--white);
  background: var(--charcoal);
  color: var(--white);
}
.hero__inner {
  display: grid;
  gap: 28px;
  padding-block: clamp(28px, 4vw, 48px);
}
.hero__content {
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 4px solid var(--red);
}
.hero__kicker {
  margin: 0 0 14px;
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__title {
  color: var(--white);
  font-size: clamp(2.0625rem, 1.3rem + 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero__text {
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.55;
}
.hero__free {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: clamp(18px, 2.2vw, 26px);
}
.hero__number {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.hero__number:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero__note { margin: 12px 0 0; font-size: 0.9688rem; font-weight: 600; }

.hero__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.hero__photo { position: relative; overflow: hidden; background: var(--charcoal-deep); }
.hero__photo img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero__photo--main { grid-column: 1 / -1; }
.hero__photo--main img { aspect-ratio: 16 / 9; object-position: 55% 40%; }
.hero__photo img[src*="ziegeldach"] { object-position: 62% 60%; }
.hero__photo img[src*="zimmerei"] { object-position: 50% 50%; }
.hero__photo img[src*="dachrinne"] { object-position: 58% 45%; }
.hero__photo .tag { top: auto; bottom: 0; }
.hero__photos-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 0.75rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.72);
}

.hero__form-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.hero__form-cta p { margin: 0; max-width: 30ch; font-size: 0.9375rem; line-height: 1.45; }

@media (max-width: 359px) {
  .brand__mark { display: none; }
  .hero__title { font-size: 1.9375rem; }
  .hero__photo .tag { font-size: 0.6875rem; padding: 4px 6px; }
  .hero__kicker { font-size: 0.75rem; letter-spacing: 0.06em; }
  .hero__actions .btn { padding-inline: 12px; white-space: nowrap; }
  .hero__text { font-size: 1rem; }
}
@media (max-width: 599px) {
  /* rechts Platz lassen, damit der schwebende WhatsApp-Knopf den Anrufknopf nicht verdeckt */
  .hero__actions .btn { flex: 0 0 calc(100% - 72px); }
  .hero__form-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .hero__photo img { aspect-ratio: 4 / 3; }
  .hero__photo--main img { aspect-ratio: 16 / 9; }
  .hero__photos { gap: 8px; }
}
@media (min-width: 1180px) {
  .hero__title { font-size: clamp(2.375rem, 3.3vw, 3rem); }
  .hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "content photos" "more photos";
    grid-template-rows: auto 1fr;
    column-gap: clamp(36px, 4vw, 64px);
    row-gap: 0;
    align-items: start;
  }
  .hero__content { grid-area: content; }
  .hero__photos { grid-area: photos; }
  .hero__more {
    grid-area: more;
    margin-top: 24px;
    padding: 22px 0 0 clamp(18px, 2.4vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 4px solid transparent;
  }
  .hero__photo--main img { aspect-ratio: 16 / 9.4; }
}

/* 7. Orientierungsleiste -------------------------------------------------- */
.strip { background: var(--charcoal); color: var(--white); }
.strip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: 0;
}
.strip__list li {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px var(--gutter);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.strip__list li:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.strip__list li:nth-child(-n + 2) { border-top: 0; }
.strip__accent { background: var(--red); }

@media (min-width: 900px) {
  .strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: var(--gutter); }
  .strip__list li {
    min-height: 76px;
    padding: 16px 24px;
    font-size: 1.0625rem;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
  .strip__list li:first-child { border-left: 0; padding-left: 0; }
  .strip__list .strip__accent { border-left: 0; }
}

/* 8. Leistungen ----------------------------------------------------------- */
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 18px; max-width: 26ch; }

.service { position: relative; }
.service__media { position: relative; }
.service__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service__panel {
  position: relative;
  margin: -28px 0 0 16px;
  padding: 26px 22px 28px;
  background: var(--white);
  border-top: 4px solid var(--red);
}
.service__panel h3 { margin-bottom: 12px; color: var(--red); }
.service__panel p { font-size: 1rem; line-height: 1.6; }
.service + .service,
.service-pair { margin-top: 28px; }
.service-pair { display: grid; gap: 28px; }

.invite {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 2px solid var(--charcoal);
}
.invite__text { margin: 0; max-width: 58ch; font-size: 1.125rem; }
.invite__text strong { display: block; font-family: var(--font-head); font-weight: 800; color: var(--charcoal); }

/* Weitere Leistungen: Bild-Text-Zeilen und kompakte Anfrage-Einträge */
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--red);
  hyphens: manual;
}
.group-title {
  margin: clamp(56px, 7vw, 96px) 0 28px;
  padding-top: 22px;
  border-top: 2px solid var(--charcoal);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}
.group-title--small { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }

.srow { display: grid; background: var(--white); }
.srow + .srow { margin-top: 28px; }
.srow__media { position: relative; min-width: 0; }
.srow__media figure { position: relative; height: 100%; }
.srow__media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.srow__media--duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--white); }
.srow__media--duo img { aspect-ratio: 1 / 1; }
.srow__panel { padding: 26px 22px 28px; border-top: 4px solid var(--red); }
.srow__panel p { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; }
.srow--stack .srow__panel > div + div { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.srow__media img[src*="trapezblech"] { object-position: 50% 100%; }
.srow__media img[src*="dachrinne"] { object-position: 62% 100%; }
.srow__media img[src*="bitumenbahn"] { object-position: 35% 100%; }

.extra-pair { display: grid; gap: 28px; }
.extra { display: grid; background: var(--white); border-left: 4px solid var(--charcoal); }
.extra__media { position: relative; min-width: 0; }
.extra__media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.extra__media img[src*="pavillon"] { object-position: 62% 60%; }
.extra__body { padding: 24px 22px 26px; }
.extra__body p { margin: 10px 0 0; font-size: 1rem; line-height: 1.6; }
.extra__body .extra__note { font-size: 0.875rem; color: var(--muted); }

@media (min-width: 600px) {
  .extra { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .extra__media img { aspect-ratio: auto; position: absolute; inset: 0; }
  .extra__media { min-height: 220px; }
}
@media (min-width: 1000px) {
  .srow { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 400px; }
  .srow + .srow { margin-top: 32px; }
  .srow__media img,
  .srow__media--duo img { aspect-ratio: auto; position: absolute; inset: 0; }
  .srow__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px clamp(32px, 3.4vw, 52px);
    border-top: 0;
    border-left: 4px solid var(--red);
  }
  .srow--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .srow--flip .srow__media { order: 2; }
  .srow--flip .srow__panel { border-left: 0; border-right: 4px solid var(--red); }
  .srow--stack { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .srow--stack .srow__media--duo img { position: static; aspect-ratio: 16 / 9; }
  .srow--stack .srow__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 0;
    border-left: 0;
    border-top: 4px solid var(--red);
  }
  .srow--stack .srow__panel > div { padding: 34px clamp(28px, 3vw, 44px) 38px; }
  .srow--stack .srow__panel > div + div { margin-top: 0; border-top: 0; border-left: 1px solid var(--line); }
  .extra-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 479px) {
  .invite .btn { flex-direction: column; gap: 4px; }
  .invite .btn__number { padding-left: 0; border-left: 0; }
}

@media (min-width: 760px) {
  .service-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .service-pair .service + .service { margin-top: 0; }
  .service__panel { margin: -64px 28px 0 0; padding: 30px 30px 32px; }
  .invite { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
}

@media (min-width: 1000px) {
  /* Erste Leistung: großes Bild, Textfeld überlappt die untere rechte Bildkante */
  .service--feature {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    margin-bottom: 96px;
  }
  .service--feature .service__media { grid-column: 1 / span 8; grid-row: 1; height: 520px; }
  .service--feature .service__media img { aspect-ratio: auto; }
  .service--feature .service__panel {
    grid-column: 7 / span 6;
    grid-row: 1;
    align-self: end;
    margin: 0 0 -56px;
    padding: 38px 40px 40px;
    box-shadow: 0 14px 34px rgba(32, 35, 39, 0.08);
  }
  .service-pair { gap: 40px; margin-top: 0; }
  .service-pair .service__media img { aspect-ratio: 16 / 10; }
  .service-pair .service__panel { margin: -72px 40px 0 0; padding: 32px 34px 36px; }
}

/* 9. Über uns ------------------------------------------------------------- */
.split { display: grid; gap: 40px; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; }
.split__badge {
  position: relative;
  margin: -32px 0 0 auto;
  width: min(78%, 300px);
  padding: 20px 22px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
}
.split__body h2 { margin-bottom: 22px; }
.split__subhead {
  margin: 30px 0 4px;
  font-size: 1.0625rem;
  letter-spacing: 0;
}
.rule-list li {
  margin-top: 10px;
  padding: 13px 16px 13px 18px;
  border-left: 3px solid var(--red);
  background: var(--grey);
  font-size: 1rem;
  line-height: 1.5;
}
.split__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 32px;
}

@media (min-width: 1000px) {
  .split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: center;
  }
  .split__media { padding-bottom: 40px; }
  .split__media img { aspect-ratio: 5 / 6; }
  .split__badge { position: absolute; right: -32px; bottom: 0; margin: 0; width: 290px; padding: 26px 28px; font-size: 1.3125rem; }
}

/* 10. Einblicke ----------------------------------------------------------- */
.section-head--row { display: grid; gap: 16px; }
.section-head--row h2 { margin-bottom: 0; }
.section-head__note {
  margin: 0;
  max-width: 54ch;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  font-size: 0.9688rem;
  color: var(--text);
}

.gallery { display: grid; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__item .tag { top: auto; bottom: 0; }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery__item--a { grid-column: 1 / -1; }
  .gallery__item--a img { aspect-ratio: 2 / 1; }
  .gallery__item--e { grid-column: 1 / -1; }
  .gallery__item--e img { aspect-ratio: 2 / 1; }
}
@media (min-width: 1000px) {
  .section-head--row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .section-head__note { justify-self: end; }
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 250px 250px 330px;
    gap: 20px;
  }
  .gallery__item img,
  .gallery__item--a img,
  .gallery__item--e img { aspect-ratio: auto; }
  .gallery__item--a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .gallery__item--b { grid-column: 8 / span 5; grid-row: 1; }
  .gallery__item--c { grid-column: 8 / span 5; grid-row: 2; }
  .gallery__item--d { grid-column: 1 / span 5; grid-row: 3; }
  .gallery__item--e { grid-column: 6 / span 7; grid-row: 3; }
}

/* 11. Kostenlose Erstberatung --------------------------------------------- */
.consult {
  --focus: var(--white);
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  isolation: isolate;
}
.consult__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.consult::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 25, 0.8);
  z-index: -1;
}
.consult__inner { display: grid; gap: 44px; padding-block: var(--section); }
.consult h2 { color: var(--white); margin-bottom: 18px; }
.consult__lead > p { max-width: 46ch; font-size: 1.125rem; }
.consult__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 30px;
}
.steps { border-top: 1px solid rgba(255, 255, 255, 0.3); }
.steps li {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.steps h3 { color: var(--white); font-size: 1.3125rem; }
.steps p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 1rem; }

@media (max-width: 599px) {
  .consult__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 700px) {
  .steps li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline; }
}
@media (min-width: 1000px) {
  .consult__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 7vw, 104px); align-items: center; }
}

/* 12. Häufige Fragen ------------------------------------------------------ */
.faq { display: grid; gap: 36px; }
.faq__head h2 { margin-bottom: 18px; }
.faq__list { border-top: 2px solid var(--charcoal); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  display: block;
  padding: 20px 52px 20px 0;
  min-height: 64px;
  font-family: var(--font-head);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before,
.faq__list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 31px;
  width: 18px;
  height: 2px;
  background: var(--red);
  transition: transform 0.15s ease;
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list summary:hover { color: var(--red); }
.faq__answer { padding: 0 52px 24px 0; max-width: 68ch; }

@media (min-width: 1000px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 13. Kontakt ------------------------------------------------------------- */
.contact {
  --focus: var(--white);
  background: var(--charcoal);
  color: var(--white);
  border-top: 6px solid var(--red);
}
.contact__inner { display: grid; gap: 44px; padding-block: var(--section); }
.contact h2 { color: var(--white); margin-bottom: 18px; max-width: 22ch; }
.contact__text { max-width: 46ch; font-size: 1.125rem; }
.contact__number {
  display: inline-block;
  margin: 10px 0 26px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.2rem + 4vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.contact__number:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 599px) { .contact__main .btn { width: 100%; } }

.contact__facts { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.contact__facts > div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.contact__facts dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.contact__facts dd { margin: 0; font-size: 1.0625rem; }
.contact__facts a { text-underline-offset: 4px; }

@media (min-width: 1000px) {
  .contact__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(56px, 7vw, 104px); align-items: center; }
}

/* Fakten unter dem Anrufknopf, Formular daneben */
.contact__main .contact__facts { margin-top: 36px; }
@media (min-width: 1000px) {
  .contact__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
}

.inquiry {
  --focus: var(--charcoal);
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
  color: var(--text);
  border-top: 4px solid var(--red);
  scroll-margin-top: 8px;
}
.inquiry h3 { margin-bottom: 10px; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); }
.inquiry__intro { margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #8A9096;
  border-radius: 0;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--charcoal); }
.inquiry__submit { width: 100%; margin-top: 6px; }
.inquiry__hint { margin: 14px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.inquiry__hint a { color: var(--charcoal); text-underline-offset: 3px; }
.inquiry__status { margin: 12px 0 0; font-weight: 600; color: var(--charcoal); }
.inquiry__status:empty { display: none; }

/* 14. Fußbereich ---------------------------------------------------------- */
.footer {
  --focus: var(--white);
  background: var(--charcoal-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9688rem;
}
.footer__inner { display: grid; gap: 32px; padding-block: 56px 40px; }
.footer__name {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
}
.footer__brand p { max-width: 34ch; }
.footer__title {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.footer li { padding: 2px 0; }
.footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem;
}
.footer__bottom p { margin: 0; }

@media (min-width: 640px) { .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__inner { grid-template-columns: 3fr 4fr 3fr 3fr 2fr; gap: 36px; } }

/* 15. Feste Anrufleiste (nur Mobil) --------------------------------------- */
.callbar {
  --focus: var(--white);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--callbar-h);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.callbar:focus-visible { outline-offset: -5px; }
.callbar__number {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
@media (max-width: 359px) { .callbar__number { display: none; } }

/* Schwebender WhatsApp-Knopf, unten rechts (mobil oberhalb der Anrufleiste) */
.wa-float {
  --focus: var(--charcoal);
  position: fixed;
  right: 16px;
  bottom: calc(var(--callbar-h) + 14px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 56px;
  height: 56px;
  padding: 0 14px;
  background: #1A8F45;
  color: var(--white);
  border: 2px solid var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: background-color 0.15s ease;
}
.wa-float:hover { background: #147538; }
.wa-float__label { display: none; }
/* am Seitenende freien Platz lassen, damit der Knopf keine Fußzeilen-Links verdeckt */
.footer { padding-bottom: 76px; }
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; padding: 0 18px; }
  .wa-float__label { display: inline; }
}

/* Platz für die Leiste reservieren, damit sie nichts verdeckt */
body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

/* 16. Rechtsseiten (Impressum, Datenschutz) ------------------------------- */
.legal-head { background: var(--charcoal); color: var(--white); border-bottom: 6px solid var(--red); }
.legal-head .container { padding-block: clamp(40px, 6vw, 72px); }
.legal-head h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal .container { max-width: calc(820px + 2 * var(--gutter)); }
.legal h2 { margin: 2em 0 0.6em; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.legal h3 { margin: 1.6em 0 0.5em; font-size: 1.125rem; }
.legal ul { list-style: square; padding-left: 1.2em; margin-bottom: 1em; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--red); text-underline-offset: 3px; }
.legal address { font-style: normal; margin-bottom: 1em; }
.draft-note {
  margin-bottom: 2em;
  padding: 18px 20px;
  background: var(--grey);
  border-left: 4px solid var(--red);
  font-size: 0.9688rem;
}
.draft-note strong { color: var(--charcoal); }
.masthead--simple .masthead__inner { display: flex; }
.masthead__cta { display: none; }
@media (min-width: 768px) { .masthead__cta { display: inline-flex; } }
.back-link { font-weight: 600; text-underline-offset: 5px; min-height: 48px; display: inline-flex; align-items: center; }

/* 17. Bewegung reduzieren -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .masthead, .utility, .callbar, .wa-float, .skip-link { display: none !important; }
  body { padding-bottom: 0; }
}
