/* ==========================================================================
   Hausservicekiel – Stylesheet
   Mobile-first, keine externen Requests, keine Bibliotheken.
   ========================================================================== */

/* ---------- Lokale Schriften (SIL Open Font License, variable Fonts) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  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;
}

/* ---------- Designvariablen ---------- */
:root {
  --graphit: #282E32;
  --warmweiss: #F5F4F0;
  --weiss: #FFFFFF;
  --orange: #E88A38;
  --orange-hell: #F09A4E;
  --text: #282E32;
  --text-leise: #5B6368;
  --linie: #E2DFD8;
  --linie-dunkel: rgba(255, 255, 255, 0.16);
  --whatsapp: #147A43;
  --whatsapp-dunkel: #0F5E33;
  --fehler: #B3261E;

  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-titel: "Schibsted Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 20px;
  --breite: 1200px;
  --rand: 20px;
  --abschnitt: clamp(72px, 11vw, 144px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-titel);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--graphit);
  color: var(--weiss);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--orange);
  color: var(--graphit);
}
.btn--primary:hover {
  background: var(--orange-hell);
}
.btn--outline {
  border-color: rgba(40, 46, 50, 0.3);
  color: var(--graphit);
}
.btn--outline:hover {
  border-color: var(--graphit);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--weiss);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dunkel);
}
.btn--whatsapp svg,
.btn--whatsapp:hover svg {
  width: 20px;
  height: 20px;
  transform: none;
}
.btn--klein {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--warmweiss);
  border-bottom: 1px solid var(--linie);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.marke {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}
.marke__bild {
  flex: none;
  width: 40px;
  height: 40px;
}
.marke__name {
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Kontaktknöpfe im Header: Telefon (orange) und WhatsApp (grün) */
.header-tel,
.header-wa {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.header-tel {
  background: var(--orange);
  color: var(--graphit);
}
.header-tel:hover {
  background: var(--orange-hell);
}
.header-wa {
  background: var(--whatsapp);
  border: 1.5px solid var(--whatsapp);
  color: var(--weiss);
}
.header-wa:hover {
  background: var(--whatsapp-dunkel);
}
.header-tel svg,
.header-wa svg {
  flex: none;
  width: 21px;
  height: 21px;
}
/* Nummer mobil nur für Screenreader, ab Desktop sichtbar */
.header-tel__nummer {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nav-toggle {
  order: 1;
  flex: none;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: transparent;
  border: 1.5px solid rgba(40, 46, 50, 0.25);
  border-radius: 999px;
  color: var(--graphit);
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.nav-toggle .icon-zu,
.nav-toggle[aria-expanded="true"] .icon-auf {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-zu {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  display: block;
  padding: 14px 2px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Smartphone und Tablet: Navigation als ausklappbarer Bereich unter dem Header */
@media (max-width: 1099px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .site-nav {
    order: 10;
    width: 100%;
    border-top: 1px solid var(--linie);
    padding: 6px 0 20px;
  }
  .site-nav li + li {
    border-top: 1px solid var(--linie);
  }
  .site-nav li.site-nav__cta {
    border-top: 0;
    padding-top: 14px;
  }
  .site-nav .btn {
    width: 100%;
    min-height: 54px;
  }
  /* Ohne JavaScript ist das Menü immer offen – dann den Header nicht anheften,
     damit er nicht dauerhaft einen großen Teil des Bildschirms verdeckt */
  html:not(.js) .site-header {
    position: static;
  }
  /* Nur mit aktivem JavaScript einklappen – ohne JS bleibt das Menü sichtbar */
  .js .nav-toggle {
    display: grid;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.ist-offen {
    display: block;
  }
}

/* Schmale Smartphones: Logo, Name, Telefon, WhatsApp und Menü in einer Zeile */
@media (max-width: 419px) {
  .site-header__inner {
    gap: 6px;
  }
  .marke {
    gap: 10px;
  }
  .marke__name {
    font-size: 1.0625rem;
  }
  .header-tel,
  .header-wa,
  .nav-toggle {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 389px) {
  .marke {
    gap: 8px;
  }
  .marke__bild {
    width: 34px;
    height: 34px;
  }
  .marke__name {
    font-size: 0.9375rem;
  }
  .header-tel,
  .header-wa,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}
/* Sehr schmale Geräte: nur das Logo zeigen, der Name bleibt für Screenreader erhalten */
@media (max-width: 339px) {
  .marke__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (min-width: 1100px) {
  .site-header__inner {
    min-height: 80px;
  }
  .site-nav {
    margin-right: 8px;
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .site-nav a:not(.btn) {
    font-size: 0.9375rem;
  }
  .site-nav__cta {
    display: none;
  }
  .header-tel {
    width: auto;
    height: 46px;
    padding: 0 18px 0 16px;
    font-size: 0.9375rem;
    font-weight: 600;
  }
  .header-tel__nummer {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
  .header-wa {
    width: 46px;
    height: 46px;
  }
}
@media (min-width: 1280px) {
  .site-nav ul {
    gap: 34px;
  }
}

/* ---------- Gemeinsame Bausteine ---------- */
.abschnitt {
  padding: var(--abschnitt) 0;
}
.abschnitt--weiss {
  background: var(--weiss);
}

.marke-zeile {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 20px;
}
.marke-zeile::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}

.bild {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: #E4E1DA;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
}
.hero__bild {
  order: -1;
}
.hero__bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 60%;
}
.hero__text {
  padding: 36px var(--rand) 56px;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 20px;
}
.hero__eyebrow strong {
  display: block;
  font-weight: 700;
  color: var(--graphit);
}
.hero h1 {
  font-size: clamp(2.5rem, 10.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 span {
  display: block;
}
.hero__subline {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-leise);
}
.hero__aktionen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.hero__telefon {
  margin-top: 18px;
  font-size: 0.9688rem;
  color: var(--text-leise);
}
.hero__telefon a {
  font-weight: 600;
  color: var(--graphit);
  text-decoration: none;
  white-space: nowrap;
}
.hero__telefon a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

/* Tablet: Startbild flacher, damit die Aktionen früher im Blick sind */
@media (min-width: 640px) and (max-width: 959px) {
  .hero__bild img {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 480px) {
  .hero__aktionen {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    /* Text bündig mit dem Seitenraster, Bild läuft bis zum rechten Rand */
    padding: 40px 0 72px max(var(--rand), calc((100% - var(--breite)) / 2));
  }
  .hero__bild {
    order: 0;
  }
  .hero__bild img {
    height: clamp(520px, 72vh, 720px);
    aspect-ratio: auto;
    object-position: center 60%;
    border-radius: 28px 0 0 28px;
  }
  .hero__text {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 5.2vw, 4.75rem);
  }
  .hero__aktionen {
    margin-top: 40px;
  }
}

/* ---------- Hinweisstreifen für Hausverwaltungen & Gewerbe (direkt unter dem Startbereich) ---------- */
.b2b-teaser {
  background: var(--graphit);
  color: var(--weiss);
  padding: 32px 0 36px;
}
.b2b-teaser__inner {
  display: grid;
  gap: 22px;
  align-items: center;
}
.b2b-teaser__label {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.b2b-teaser__titel {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  letter-spacing: -0.02em;
}
.b2b-teaser__text {
  margin-top: 8px;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.82);
}
.btn--hell {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--weiss);
}
.btn--hell:hover {
  border-color: var(--weiss);
}
@media (min-width: 860px) {
  .b2b-teaser {
    padding: 36px 0;
  }
  .b2b-teaser__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
  }
}

/* ---------- Leistungen ---------- */
.leistungen__kopf {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.leistungen__intro {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--text-leise);
  max-width: 52ch;
}

.leistungen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 44px 24px;
}
.leistung img {
  aspect-ratio: 4 / 3;
}
.leistung--schwerpunkt img {
  /* Das quadratische Original bleibt vollständig und höchstens 640 px breit. */
  max-width: 640px;
  aspect-ratio: 1 / 1;
}
.leistung__text {
  padding-top: 20px;
}
.leistung__nr {
  display: block;
  font-family: var(--font-titel);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-leise);
  margin-bottom: 8px;
}
.leistung h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-bottom: 10px;
}
.leistung p {
  color: var(--text-leise);
  max-width: 46ch;
}

/* Mobil: die drei ergänzenden Leistungen als kompakte Zeilen */
@media (max-width: 639px) {
  .leistung--klein {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-top: 28px;
    border-top: 1px solid var(--linie);
  }
  .leistung--klein + .leistung--klein {
    margin-top: -16px;
  }
  .leistung--klein img {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }
  .leistung--klein .leistung__text {
    padding-top: 0;
  }
  .leistung--klein .leistung__nr {
    margin-bottom: 4px;
  }
  .leistung--klein h3 {
    font-size: 1.1875rem;
    margin-bottom: 6px;
  }
  .leistung--klein p {
    font-size: 0.9688rem;
    line-height: 1.55;
  }
}

@media (min-width: 640px) {
  .leistungen {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 56px 24px;
  }
  .leistung--schwerpunkt {
    grid-column: span 7;
  }
  .leistung--objektservice {
    grid-column: span 5;
  }
  .leistung--klein {
    grid-column: span 4;
  }
  .leistung--klein h3 {
    font-size: 1.3125rem;
  }
  .leistung--klein p {
    font-size: 1rem;
  }
}

@media (min-width: 960px) {
  .leistungen {
    gap: 72px 28px;
  }
  .leistung--objektservice {
    margin-top: 88px;
  }
}

/* Anderes Anliegen */
.anliegen {
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--graphit);
  color: var(--weiss);
  border-radius: 24px;
  padding: clamp(32px, 5.5vw, 72px);
  display: grid;
  gap: 28px;
  align-items: center;
}
.anliegen h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}
.anliegen p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
}
.anliegen .btn {
  justify-self: start;
}
@media (min-width: 860px) {
  .anliegen {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 56px;
  }
}

/* ---------- Über uns ---------- */
.ueber__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.ueber__bild {
  aspect-ratio: 4 / 5;
  max-width: 520px;
  object-position: center top;
}
.ueber__zitat {
  margin: 28px 0 0;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  line-height: 1.6;
  max-width: 50ch;
}
.ueber__person {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--linie);
  max-width: 50ch;
}
.ueber__name {
  display: block;
  font-family: var(--font-titel);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ueber__rolle {
  color: var(--text-leise);
}

@media (min-width: 960px) {
  .ueber__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(56px, 8vw, 112px);
  }
  .ueber__bild {
    max-width: none;
  }
}

/* ---------- Für Hausverwaltungen & Gewerbe ---------- */
.gewerbe__kopf {
  display: grid;
  gap: 40px;
  align-items: start;
}
.gewerbe__intro {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 1.125rem;
  color: var(--text-leise);
}
.gewerbe__bild {
  margin: 0;
  max-width: 640px;
  align-self: center;
}
.gewerbe__bild figcaption {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-leise);
}
.gewerbe__bild img {
  aspect-ratio: 4 / 3;
}
.zielgruppen-liste {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--linie);
}
.zielgruppen-liste li {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--linie);
}
.zielgruppen-liste strong {
  font-family: var(--font-titel);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.zielgruppen-liste span {
  font-size: 0.9688rem;
  color: var(--text-leise);
}

.gewerbe__unten {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  gap: 32px;
}
.anlaesse h3 {
  margin-bottom: 16px;
  font-size: 1.3125rem;
}
.anlaesse ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.anlaesse li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--weiss);
  border-radius: 14px;
  line-height: 1.5;
}
.anlaesse li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.gewerbe-cta {
  align-self: start;
  padding: clamp(28px, 4vw, 44px);
  background: var(--graphit);
  color: var(--weiss);
  border-radius: 24px;
}
.gewerbe-cta h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}
.gewerbe-cta__text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.gewerbe-cta .btn {
  margin-top: 24px;
}

.referenzen-leiste {
  margin-top: clamp(44px, 7vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--linie);
}
.referenzen-leiste h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.referenzen-leiste ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}
.referenzen-leiste li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--linie);
  border-radius: 12px;
  background: var(--weiss);
  text-align: center;
  line-height: 1.35;
}
.referenzen-leiste li span {
  color: var(--text-leise);
  font-size: 0.8125rem;
  font-weight: 400;
}
.referenzen-leiste img {
  width: auto;
  height: auto;
  max-width: min(100%, 200px);
  max-height: 80px;
  object-fit: contain;
}
/* Trennlinie am unteren Rand des Graf-Screenshot-Ausschnitts ausblenden. */
.referenzen-leiste .referenzen-logo--graf {
  clip-path: inset(0 0 2%);
}
@media (min-width: 760px) {
  .referenzen-leiste ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .gewerbe__kopf {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(48px, 6vw, 88px);
  }
  .gewerbe__unten {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }
}

/* ---------- So läuft eine Zusammenarbeit ab ---------- */
.ablauf__kopf {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.ablauf {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: schritt;
}
.ablauf li {
  position: relative;
  padding: 0 0 32px 58px;
}
.ablauf li::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--graphit);
  color: var(--weiss);
  font-family: var(--font-titel);
  font-weight: 700;
}
.ablauf li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 8px;
  width: 2px;
  background: var(--linie);
}
.ablauf li:last-child {
  padding-bottom: 0;
}
.ablauf li:last-child::after {
  display: none;
}
.ablauf h3 {
  margin: 7px 0 6px;
  font-size: 1.25rem;
}
.ablauf p {
  color: var(--text-leise);
}
@media (min-width: 900px) {
  .ablauf {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
  .ablauf li {
    padding: 62px 0 0;
  }
  .ablauf li::after {
    left: 52px;
    right: -20px;
    top: 19px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* ---------- Einsatzgebiet ---------- */
.gebiet__grid {
  display: grid;
  gap: 24px;
}
.gebiet__text {
  font-size: 1.125rem;
  color: var(--text-leise);
  max-width: 52ch;
}
.gebiet__orte {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 36px;
  font-family: var(--font-titel);
  font-size: clamp(1.5rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #A9AEB1;
}
.gebiet__orte .ist-schwerpunkt {
  color: var(--graphit);
}
.gebiet__orte .ist-schwerpunkt::after {
  content: "";
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.18em;
  border-radius: 50%;
  background: var(--orange);
}

@media (min-width: 960px) {
  .gebiet__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px;
    align-items: end;
  }
}

/* ---------- Kontakt + Footer (dunkler Abschluss) ---------- */
.kontakt {
  background: var(--graphit);
  color: var(--weiss);
  padding: var(--abschnitt) 0 clamp(56px, 8vw, 96px);
}
.kontakt .marke-zeile {
  color: rgba(255, 255, 255, 0.7);
}
.kontakt h2 {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.kontakt h2 span,
.gebiet__grid h2 span {
  display: block;
}
.kontakt__text {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
}
.kontakt__pfade {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.pfad {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1.5px solid var(--linie-dunkel);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pfad:hover {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.04);
}
.pfad--gewerbe {
  border-color: var(--orange);
}
.pfad__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.pfad__titel {
  font-family: var(--font-titel);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
@media (min-width: 760px) {
  .kontakt__pfade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.kontakt__grid {
  display: grid;
  gap: 48px;
  margin-top: clamp(40px, 6vw, 72px);
}
.kontakt__wege {
  min-width: 0;
  border-top: 1px solid var(--linie-dunkel);
}
.kontaktweg {
  display: grid;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--linie-dunkel);
}
.kontaktweg__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.kontaktweg__wert {
  overflow-wrap: anywhere;
  font-family: var(--font-titel);
  font-size: clamp(1.25rem, 5.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.kontaktweg__wert--email {
  container-type: inline-size;
  overflow-wrap: break-word;
}
.kontaktweg__wert--email span {
  font-size: min(1em, max(1.25rem, 7.2cqi));
}
a.kontaktweg__wert,
.kontaktweg__wert a {
  text-decoration: none;
}
a.kontaktweg__wert:hover,
.kontaktweg__wert a:hover {
  color: var(--orange);
}
.kontakt__hinweis {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 760px) and (max-width: 1023px) {
  .kontaktweg {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: baseline;
    gap: 24px;
    padding: 32px 0;
  }
}
@media (min-width: 1024px) {
  .kontakt__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }
  .kontaktweg {
    padding: 28px 0;
  }
  .kontaktweg__wert {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  }
}

/* Anfragehelfer */
.anfrage {
  background: var(--weiss);
  color: var(--text);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
}
.anfrage h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}
.anfrage__intro {
  margin-top: 8px;
  color: var(--text-leise);
}
.anfrage form {
  margin-top: 26px;
}
.feld-raster {
  display: grid;
  gap: 18px;
}
.feld label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}
.feld label span {
  font-weight: 400;
  color: var(--text-leise);
}
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--warmweiss);
  border: 1.5px solid var(--linie);
  border-radius: 12px;
}
.feld textarea {
  min-height: 116px;
  resize: vertical;
}
.feld select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23282E32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.feld input::placeholder,
.feld textarea::placeholder {
  color: #8A9195;
}
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--graphit);
  border-radius: 12px;
}
.feld [aria-invalid="true"] {
  border-color: var(--fehler);
}
.anfrage__fehler {
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fehler);
}
.anfrage__knoepfe {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.anfrage__erneut {
  margin-top: 12px;
  font-size: 0.9375rem;
}
.anfrage__hinweis {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-leise);
}

@media (min-width: 600px) {
  .feld-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feld--breit {
    grid-column: 1 / -1;
  }
  .anfrage__knoepfe {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.site-footer {
  background: var(--graphit);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--linie-dunkel);
  padding: 36px 0 44px;
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer__marke {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer__marke img {
  flex: none;
  width: 44px;
  height: 44px;
}
.site-footer__name {
  display: block;
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--weiss);
  line-height: 1.3;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}
.site-footer a {
  display: inline-block;
  padding: 8px 0;
  color: var(--weiss);
}
.site-footer a:hover {
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}
.site-footer__hinweis {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 760px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .site-footer__rechts {
    text-align: right;
  }
  .site-footer__rechts ul {
    justify-content: flex-end;
  }
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.rechtstext {
  background: var(--weiss);
  padding: clamp(40px, 7vw, 88px) 0 var(--abschnitt);
}
.rechtstext__inhalt {
  max-width: 760px;
}
.rechtstext h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 28px;
}
.rechtstext h2 {
  font-size: 1.4375rem;
  margin: 48px 0 12px;
}
.rechtstext p,
.rechtstext ul {
  margin: 0 0 14px;
}
.rechtstext ul {
  padding-left: 22px;
}
.rechtstext li {
  margin-bottom: 6px;
}
.rechtstext address {
  font-style: normal;
  margin-bottom: 14px;
}
.zurueck {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 500;
}

/* ---------- Dezentes Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js .reveal.ist-sichtbar {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header {
    position: static;
  }
  .nav-toggle {
    display: none;
  }
}
