/* ============================================================
   DS Pflasterbau — Grundgestaltung
   Eigenes CSS, kein Framework eines Drittanbieters (Bauregel 6).
   Farben und Schriftlogik aus dem Brand Kit.
   ============================================================ */

:root {
  --charcoal: #1C1C1C;
  --charcoal-hell: #2A2A2A;
  --orange: #F97316;
  --orange-dunkel: #D95F0C;
  --silber: #8A8A8A;
  --weiss: #FFFFFF;
  --hellgrau: #F5F5F5;
  --mittelgrau: #D1D1D1;
  --dunkelgrau: #5C5C5C;

  --breite: 1140px;
  --radius: 6px;
  --main-pt: 3.5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

/* Bauregel 2: nie waagerecht scrollen. WICHTIG: overflow-x:hidden darf nicht auf
   html oder body stehen – das macht sie zu einem eigenen Scroll-Container und
   bricht dadurch position:sticky im Header (#site-header). Stattdessen auf die
   einzelnen Bereiche unterhalb von body setzen (Header bleibt bewusst außen vor). */
html, body { max-width: 100%; }
#inhalt, #site-footer { max-width: 100%; overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dunkel); }

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

.container {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sprunglink für Tastatur- und Screenreader-Nutzung */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--orange);
  color: var(--charcoal);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   KOPFBEREICH
   ============================================================ */

#site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

/* Schmale Servicezeile über der Navigation */
.header-utility {
  background: #141414;
  font-size: 0.8rem;
}
.header-utility .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.header-utility p {
  margin: 0;
  color: var(--mittelgrau);
}
.header-utility p strong { color: var(--weiss); }
.header-utility nav { display: flex; gap: 1.25rem; }
.header-utility a {
  color: var(--mittelgrau);
  text-decoration: none;
}
.header-utility a:hover { color: var(--orange); text-decoration: underline; }
.header-utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-social a {
  display: flex;
  color: var(--mittelgrau);
}
.header-social a:hover { color: var(--orange); text-decoration: none; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo { display: block; flex-shrink: 0; }
.logo img {
  height: 54px;
  width: auto;
}

/* Hauptnavigation */
#site-header nav.hauptnav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
#site-header nav.hauptnav > a,
#site-header .nav-dropdown > button {
  display: inline-block;
  color: var(--weiss);
  background-color: transparent;
  border: 0;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}
#site-header nav.hauptnav > a:not(.btn-contact):hover,
#site-header .nav-dropdown > button:hover,
#site-header .nav-dropdown:hover > button {
  background-color: var(--charcoal-hell);
  color: var(--orange);
}

/* Hamburger-Schaltfläche (nur mobil sichtbar, siehe Media Query weiter unten) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--weiss);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
#site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Aufklappmenü */
.nav-dropdown { position: relative; }
.nav-dropdown > button::after {
  content: "";
  display: inline-block;
  margin-left: 0.45rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  padding: 0.5rem;
  flex-direction: column;
  border-top: 3px solid var(--orange);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}
.nav-dropdown-menu a:hover {
  background: var(--hellgrau);
  color: var(--orange-dunkel);
}

/* Kontakt-Schaltfläche: dunkler Text auf Orange, damit der Kontrast über 4,5:1 liegt */
#site-header nav.hauptnav > a.btn-contact {
  background-color: var(--orange);
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.62rem 1.4rem;
  border-radius: var(--radius);
  margin-left: 0.5rem;
}
#site-header nav.hauptnav > a.btn-contact:hover {
  background-color: var(--weiss);
  color: var(--charcoal);
}

/* ============================================================
   INHALTSBEREICH
   ============================================================ */

main {
  max-width: var(--breite);
  margin: 0 auto;
  padding: var(--main-pt) 1.5rem 4rem;
  min-height: 45vh;
}

/* Aufhänger mit Projektfoto: über die ganze Breite und direkt am Kopfbereich */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * var(--main-pt));
  margin-bottom: 0;
  background: var(--charcoal);
  isolation: isolate;
}
.hero img {
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  object-fit: cover;
  object-position: center 62%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              rgba(20,20,20,0.94) 0%,
              rgba(20,20,20,0.82) 42%,
              rgba(20,20,20,0.30) 100%);
}
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-text .container { width: 100%; }
.hero-inner { max-width: 38rem; }
.hero-text h1 {
  color: var(--weiss);
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
}
.hero-text h1::after {
  width: 74px;
  height: 4px;
  margin-top: 1rem;
}
.hero-sub {
  color: var(--hellgrau);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

/* Handlungsaufforderung im Inhalt */
.btn-cta {
  align-self: flex-start;
  display: inline-block;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius);
}
.btn-cta:hover { background: var(--weiss); }

main h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 22em;
}
main h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  background: var(--orange);
  border-radius: 3px;
  margin-top: 1.25rem;
}

/* Kleines, groß geschriebenes Vorwort über einer H2, zur klareren Orientierung je Abschnitt */
.eyebrow {
  display: block;
  color: var(--orange-dunkel);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

main h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 26em;
}

main h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.35;
}

.brotkrumen {
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}
.brotkrumen a { color: var(--dunkelgrau); text-decoration: none; }
.brotkrumen a:hover { color: var(--orange-dunkel); text-decoration: underline; }
.brotkrumen a::before { content: "\2190\00a0"; }

main figure {
  margin: 1.75rem 0 2rem;
  max-width: 760px;
}
main figure img { border-radius: var(--radius); }
main figcaption {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--dunkelgrau);
  padding-top: 0.6rem;
}

/* ---------- Vertrauensleiste ---------- */

.trustbar {
  background: var(--hellgrau);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.trustbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem 2rem;
}
.trustbar li {
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  font-size: 0.94rem;
  color: var(--dunkelgrau);
  line-height: 1.45;
}
.trustbar strong {
  display: block;
  color: var(--charcoal);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

/* ---------- Nutzenpunkte ---------- */

.nutzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 2.25rem;
}
.nutzen-punkt h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-top: 1.1rem;
  border-top: 3px solid var(--orange);
  line-height: 1.35;
}
.nutzen-punkt p {
  margin: 0;
  color: var(--dunkelgrau);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42ch;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 2rem;
  margin-top: 2.25rem;
}
.team-karte {
  text-align: center;
}
.team-karte img {
  display: block;
  width: 180px;
  height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgb(28, 28, 28);
  border-radius: 50%;
  margin: 0 auto 1rem;
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-karte h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.team-karte p {
  margin: 0;
  color: var(--dunkelgrau);
  font-size: 0.94rem;
}

/* ---------- Abschnitts-Abstände ----------
   Großzügiger Abstand zwischen den Abschnitten, damit jeder Block
   für sich lesbar bleibt (Weißraum als Gliederung statt Trennlinien). */

section + section,
main > .ba-figur {
  margin-top: 6rem;
}

@media (max-width: 860px) {
  section + section,
  main > .ba-figur {
    margin-top: 4rem;
  }
}

.section-intro {
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dunkelgrau);
  margin: 0 0 2.25rem;
}

/* ---------- Vorher und nachher: Schieber ---------- */

.ba-figur { margin: 2rem 0 0; max-width: 900px; }

.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  touch-action: pan-y;
  user-select: none;
}
.ba-slider img {
  display: block;
  width: 100%;
  height: clamp(300px, 48vw, 520px);
  object-fit: cover;
  border-radius: 0;
}
/* Das Nachher-Bild liegt unten und ist ganz sichtbar.
   Das Vorher-Bild liegt darüber und wird von rechts weggeschnitten,
   damit links immer „vorher" und rechts immer „nachher" zu sehen ist. */
.ba-vorher {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 1rem;
  background: rgba(20,20,20,0.85);
  color: var(--weiss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  pointer-events: none;
}
.ba-label-vorher { left: 1rem; }
.ba-label-nachher { right: 1rem; }

/* Griff mit den zwei Pfeilen */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--weiss);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.45);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: var(--orange);
  border: 3px solid var(--weiss);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.ba-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-top: -7px;
}
.ba-arrow-l {
  right: 50%;
  margin-right: 7px;
  border-right: 9px solid var(--charcoal);
}
.ba-arrow-r {
  left: 50%;
  margin-left: 7px;
  border-left: 9px solid var(--charcoal);
}

/* Unsichtbarer Regler über der ganzen Fläche: bedient Maus, Finger und Tastatur */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: ew-resize;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 56px;
  height: 100%;
  background: none;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 56px;
  height: 260px;
  background: none;
  border: 0;
  cursor: ew-resize;
}
.ba-range::-moz-range-track { background: none; }
.ba-range:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- Bauprojekte: Kacheln ---------- */

.projekt-block {
  padding-top: 3rem;
  border-top: 1px solid var(--hellgrau);
}
.projekt-block > h2 { margin-top: 0; }
.block-intro { color: var(--dunkelgrau); margin-bottom: 2.25rem; max-width: 60ch; font-size: 1.05rem; line-height: 1.6; }

.projekt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0;
}

.projekt-karte {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--weiss);
  border: 1px solid var(--hellgrau);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.projekt-karte:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border-color: var(--mittelgrau);
}
.projekt-karte img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.projekt-karte-text { padding: 1.25rem 1.35rem 1.5rem; }
.projekt-zahl {
  display: inline-block;
  background: var(--orange);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.7rem;
}
.projekt-karte-text h2,
.projekt-karte-text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  line-height: 1.3;
}
.projekt-karte-text p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--dunkelgrau);
  max-width: none;
}

/* Kacheln mit Vorher-Nachher-Schieber statt einzelnem Bild */
.projekt-karte-slider { padding: 0; cursor: default; }
.projekt-karte-slider .projekt-karte-text {
  display: block;
  color: inherit;
  text-decoration: none;
}
.projekt-karte-slider .projekt-karte-text:hover h3 { color: var(--orange-dunkel); }

.ba-slider-klein { border-radius: 0; }
.ba-slider-klein img { height: 210px; }
.ba-slider-klein .ba-label {
  top: 0.6rem;
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
}
.ba-slider-klein .ba-label-vorher { left: 0.6rem; }
.ba-slider-klein .ba-label-nachher { right: 0.6rem; }
.ba-slider-klein .ba-handle::after { width: 38px; height: 38px; margin: -19px 0 0 -19px; }

/* ---------- Leistungsumfang-Punkte ---------- */

.leistungsumfang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2.25rem;
}
.leistungsumfang-punkt h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}
.leistungsumfang-punkt p {
  margin: 0;
  color: var(--dunkelgrau);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 40ch;
}

/* ---------- Leistungsseite: kleinerer Hero ---------- */

.hero-leistung img { height: clamp(280px, 36vw, 420px); }

/* ---------- USP-Block mit Bild neben Text ---------- */

.usp-block {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 2.5rem;
  align-items: center;
}
.usp-bild img { border-radius: var(--radius); width: 100%; height: auto; }
.usp-text p { font-size: 1.02rem; line-height: 1.65; max-width: 52ch; }
@media (max-width: 720px) {
  .usp-block { grid-template-columns: 1fr; }
  .usp-bild { max-width: 320px; margin: 0 auto; }
}

/* ---------- Ablauf in Schritten ---------- */

.ablauf-liste {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}
.ablauf-liste li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}
.ablauf-nummer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.ablauf-liste h3 { margin: 0 0 0.4rem; }
.ablauf-liste p { margin: 0; color: var(--dunkelgrau); font-size: 0.98rem; line-height: 1.6; max-width: 56ch; }

/* ---------- FAQ ---------- */

.faq-liste { margin: 2.25rem 0 0; }
.faq-liste details {
  border-top: 1px solid var(--hellgrau);
  padding: 1.5rem 0;
}
.faq-liste details:last-child { border-bottom: 1px solid var(--hellgrau); }
.faq-liste summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste summary:hover { color: var(--orange-dunkel); }
.faq-liste details p {
  margin: 0.9rem 0 0;
  color: var(--dunkelgrau);
  line-height: 1.6;
  max-width: 62ch;
}

/* FAQ-Dropdowns innerhalb eines Ratgeber-Fließtexts (artikel-text) */
.artikel-text details {
  border-top: 1px solid var(--hellgrau);
  padding: 1.25rem 0;
  text-align: left;
}
.artikel-text details:last-of-type { border-bottom: 1px solid var(--hellgrau); }
.artikel-text summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.artikel-text summary::-webkit-details-marker { display: none; }
.artikel-text summary h3 {
  margin: 0;
  font-size: 1.05rem;
  text-align: left;
}
.artikel-text summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.artikel-text details[open] summary::after { transform: rotate(45deg); }
.artikel-text summary:hover h3 { color: var(--orange-dunkel); }
.artikel-text details p { margin: 0.9rem 0 0; }

/* ---------- Verwandte Leistungen ---------- */

.verwandte-liste {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.verwandte-liste a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--orange);
}
.verwandte-liste a:hover { color: var(--orange-dunkel); }

/* ---------- Abschluss-CTA vor dem Fußbereich ---------- */

.abschluss-cta {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  text-align: center;
}
.abschluss-inner { max-width: 40rem; margin: 0 auto; }
.abschluss-cta h2 {
  color: var(--weiss);
  max-width: none;
}
.abschluss-cta p {
  color: var(--mittelgrau);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 46ch;
}

/* Zweitrangige Schaltfläche */
.btn-outline {
  display: inline-block;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
}
.btn-outline:hover { background: var(--charcoal); color: var(--weiss); }

main p { max-width: 68ch; }

/* Platzhalter im Gerüst sichtbar, aber ruhig.
   Gilt nur für direkte Absätze in main, also die Gerüst-Platzhalter.
   Sobald echte Texte eingesetzt werden, diese Regel entfernen. */
main > p {
  color: var(--dunkelgrau);
  background: var(--hellgrau);
  border-left: 4px solid var(--mittelgrau);
  padding: 1.1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   FUSSBEREICH
   ============================================================ */

#site-footer {
  background: var(--charcoal);
  color: var(--mittelgrau);
  padding: 3.5rem 0 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

#site-footer h2 {
  color: var(--weiss);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
#site-footer h3 {
  color: var(--silber);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.5rem;
}
#site-footer h3:first-of-type { margin-top: 0; }

#site-footer a {
  display: block;
  color: var(--mittelgrau);
  text-decoration: none;
  padding: 0.22rem 0;
  line-height: 1.45;
}
#site-footer a:hover { color: var(--orange); text-decoration: underline; }
#site-footer p { margin: 0 0 0.5rem; line-height: 1.6; }
#site-footer .footer-logo img { height: 46px; width: auto; margin-bottom: 1rem; }
#site-footer .claim {
  color: var(--orange);
  font-style: italic;
  margin-top: 1rem;
}
#site-footer .footer-social {
  margin-top: 0.75rem;
}
#site-footer .footer-social a {
  display: inline;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom nav { display: flex; gap: 1.25rem; }
.footer-bottom a { display: inline; padding: 0; }

/* ============================================================
   KLEINE BILDSCHIRME
   ============================================================ */

/* ---------- Kontaktseite ---------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.kontakt-info h2 { font-size: 1.3rem; margin: 0 0 1.25rem; }
.kontakt-liste {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.kontakt-liste li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}
.kontakt-liste .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--orange);
  flex-shrink: 0;
  font-size: 1.05rem;
}
.kontakt-liste strong { display: block; color: var(--charcoal); }
.kontakt-liste a { color: var(--charcoal); text-decoration: none; }
.kontakt-liste a:hover { color: var(--orange-dunkel); text-decoration: underline; }
.kontakt-liste span.sub { color: var(--dunkelgrau); font-size: 0.92rem; }

.kontakt-karte {
  border: none;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  filter: grayscale(8%);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  max-width: 640px;
  margin: 0 auto;
  background: var(--charcoal);
  color: var(--weiss);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cookie-banner p { margin: 0; flex: 1 1 240px; font-size: 0.88rem; color: var(--mittelgrau); }
.cookie-banner a { color: var(--orange); }
.cookie-banner button { flex-shrink: 0; padding: 0.6rem 1.4rem; }

.kontakt-form {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid var(--orange);
}
.kontakt-form h2 { font-size: 1.3rem; margin: 0 0 0.4rem; color: var(--weiss); }
.kontakt-form > p { margin: 0 0 1.5rem; color: var(--mittelgrau); font-size: 0.96rem; }
.kontakt-form .feld label { color: var(--weiss); }
.kontakt-form .einwilligung { color: var(--mittelgrau); }
.kontakt-form .einwilligung a { color: var(--orange); }
.kontakt-form .form-hinweis { color: var(--orange); }
.feld { margin-bottom: 1.15rem; }
.feld label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--mittelgrau);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--charcoal);
  background: var(--weiss);
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.feld textarea { resize: vertical; min-height: 110px; }
.feld-zeile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.einwilligung {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--dunkelgrau);
  margin-bottom: 1.5rem;
}
.einwilligung input { width: auto; margin-top: 0.2rem; }
.kontakt-form button.btn-cta {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}
.form-hinweis {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--dunkelgrau);
  display: none;
}
.form-hinweis.aktiv { display: block; }

@media (max-width: 860px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feld-zeile { grid-template-columns: 1fr; }
}

/* ---------- Blogbeitrag / Ratgeber-Template ---------- */

.artikel-kopf { max-width: 62rem; }
.artikel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.88rem;
  color: var(--dunkelgrau);
  margin: -0.5rem 0 1.75rem;
}
.artikel-meta time { color: var(--dunkelgrau); }

.artikel-thumbnail {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.artikel-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3.5rem;
  align-items: start;
}

.artikel-text {
  text-align: justify;
  text-justify: inter-word;
  max-width: 68ch;
}
.artikel-text h2 {
  text-align: left;
  margin-top: 2.5rem;
  scroll-margin-top: 6.5rem;
}
.artikel-text h3 {
  text-align: left;
  margin-top: 1.75rem;
  scroll-margin-top: 6.5rem;
}
.artikel-text p { margin: 0 0 1.25rem; }
.artikel-text ul,
.artikel-text ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.artikel-text li { margin-bottom: 0.5rem; }
.artikel-text img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0.5rem 0 1.75rem;
}

.artikel-bildpaar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0.5rem 0 1.75rem;
}
.artikel-bildpaar figure { margin: 0; max-width: none; }
.artikel-bildpaar img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0;
  display: block;
}
.artikel-bildpaar figcaption {
  text-align: center;
  padding-top: 0.5rem;
}
@media (max-width: 640px) {
  .artikel-bildpaar { grid-template-columns: 1fr; }
}

/* Gliederung: bleibt beim Scrollen im Blickfeld stehen */
.artikel-gliederung {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  background: var(--hellgrau);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.92rem;
}
.artikel-gliederung h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dunkel);
  margin: 0 0 1rem;
}
.artikel-gliederung ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: gliederung;
}
.artikel-gliederung li { counter-increment: gliederung; }
.artikel-gliederung a {
  display: flex;
  gap: 0.5rem;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.35;
}
.artikel-gliederung a::before {
  content: counter(gliederung);
  flex-shrink: 0;
  font-weight: 700;
  color: var(--orange);
}
.artikel-gliederung a:hover { color: var(--orange-dunkel); }

/* Autorenprofil */
.autor-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--hellgrau);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 3rem 0 0;
  max-width: 68ch;
}
.autor-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
}
.autor-box h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dunkel);
  margin: 0 0 0.3rem;
}
.autor-box strong { display: block; font-size: 1.05rem; }
.autor-box p { margin: 0.2rem 0 0; color: var(--dunkelgrau); font-size: 0.92rem; }

/* Das könnte Sie auch interessieren */
.artikel-empfehlungen { margin-top: 4rem; }
.artikel-empfehlungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.artikel-karte {
  display: block;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--hellgrau);
  border-radius: var(--radius);
  overflow: hidden;
}
.artikel-karte img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.artikel-karte h3 {
  margin: 0;
  padding: 1rem 1.1rem 1.25rem;
  font-size: 1rem;
  line-height: 1.4;
}
.artikel-karte:hover h3 { color: var(--orange-dunkel); }

@media (max-width: 860px) {
  .artikel-layout { grid-template-columns: 1fr; }
  .artikel-gliederung { position: static; margin-bottom: 2rem; }
  .artikel-text { max-width: none; }
  .autor-box { flex-direction: column; align-items: flex-start; text-align: left; }
  .artikel-empfehlungen-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .nav-toggle { display: flex; }
  #site-header nav.hauptnav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-top: 1rem;
  }
  #site-header.nav-open nav.hauptnav { display: flex; }
  #site-header nav.hauptnav > a,
  .nav-dropdown > button { padding: 0.5rem 0.5rem; font-size: 0.9rem; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--charcoal-hell);
    min-width: 0;
    margin: 0.25rem 0 0.5rem;
  }
  .nav-dropdown-menu a { color: var(--hellgrau); }
  .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--orange); }
  #site-header nav.hauptnav > a.btn-contact { margin-left: 0; margin-top: 0.4rem; }
  :root { --main-pt: 2.5rem; }
  .hero img { height: clamp(320px, 70vw, 420px); }
  .hero-text .container { padding: 0 1.5rem; }
}
