/* Denzau Bau – schlicht und professionell
   Anthrazit für Struktur, Klinkerrot als Akzent, helles Grau als Fläche. */
:root {
  --anthrazit: #262a2e;
  --anthrazit-2: #353a40;
  --klinker: #b4432a;
  --klinker-dunkel: #933520;
  --grau: #f2f3f4;
  --linie: #dfe2e5;
  --text: #2a2e33;
  --text-hell: #5b636b;
  --weiss: #ffffff;

  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 74rem;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 6px;
  --kopf-hoehe: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 1.0625rem/1.65 var(--schrift);
  color: var(--text);
  background: var(--weiss);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; color: var(--anthrazit); margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.wrap { max-width: var(--breite); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--anthrazit); color: var(--weiss); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }

/* Platzhalter-Markierung */
.tbd { background: repeating-linear-gradient(-45deg, #fff1b8 0 6px, #ffe27a 6px 12px); color: #2a2e33; padding: 0 .25em; border-radius: 2px; }
.tbd-block { background: #fff6d1; border-left: 4px solid #e6b800; padding: .6rem .9rem; font-size: .95rem; color: #5a4a00; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.5rem;
  background: var(--klinker); color: var(--weiss);
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
  border: 2px solid var(--klinker);
  transition: background-color .15s, border-color .15s, color .15s;
}
.knopf:hover { background: var(--klinker-dunkel); border-color: var(--klinker-dunkel); }
.knopf-hell { background: transparent; border-color: var(--weiss); color: var(--weiss); }
.knopf-hell:hover { background: var(--weiss); color: var(--anthrazit); border-color: var(--weiss); }
.knopf-rand { background: transparent; color: var(--anthrazit); border-color: var(--anthrazit); }
.knopf-rand:hover { background: var(--anthrazit); color: var(--weiss); border-color: var(--anthrazit); }
.knopf-klein { min-height: 2.5rem; padding: .45rem 1.1rem; }

.text-link { color: var(--klinker); font-weight: 700; text-underline-offset: 4px; }

/* Topbar */
.topbar { background: var(--anthrazit); color: #c9ced3; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: var(--weiss); text-decoration: none; font-weight: 600; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--kopf-hoehe); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.logo-zeichen {
  width: 2.3rem; height: 2.3rem; flex: none; border-radius: 4px;
  background:
    linear-gradient(var(--weiss), var(--weiss)) 0 31% / 100% 2px no-repeat,
    linear-gradient(var(--weiss), var(--weiss)) 0 65% / 100% 2px no-repeat,
    linear-gradient(var(--weiss), var(--weiss)) 50% 0 / 2px 31% no-repeat,
    linear-gradient(var(--weiss), var(--weiss)) 25% 50% / 2px 34% no-repeat,
    linear-gradient(var(--weiss), var(--weiss)) 75% 50% / 2px 34% no-repeat,
    linear-gradient(var(--weiss), var(--weiss)) 50% 100% / 2px 35% no-repeat,
    var(--klinker);
}
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--anthrazit); line-height: 1.1; }
.logo-text small { display: block; font-size: .72rem; font-weight: 500; color: var(--text-hell); letter-spacing: .01em; }

.navigation ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.navigation a:not(.knopf) { text-decoration: none; font-weight: 600; color: var(--text); font-size: .98rem; }
.navigation a:not(.knopf):hover { color: var(--klinker); }

.menue-knopf { display: none; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 44rem); display: flex; align-items: flex-end; color: var(--weiss); overflow: hidden; }
.hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,25,.86) 0%, rgba(20,22,25,.62) 50%, rgba(20,22,25,.25) 100%), linear-gradient(0deg, rgba(20,22,25,.55), transparent 50%); }
.hero-inhalt { position: relative; padding-top: 5rem; padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.hero-marke { display: inline-block; font-weight: 700; font-size: .95rem; padding: .3rem .75rem; background: var(--klinker); border-radius: 3px; margin-bottom: 1.25rem; }
.hero h1 { color: var(--weiss); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 20ch; margin-bottom: 1rem; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 38rem; color: #e6e8ea; margin-bottom: 2rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Vorteile */
.vorteile { background: var(--anthrazit); color: #d3d7db; }
.vorteile-liste { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.vorteile-liste li { padding: .25rem 1.25rem; border-left: 3px solid var(--klinker); }
.vorteile-liste strong { display: block; color: var(--weiss); font-size: 1.05rem; }
.vorteile-liste span { font-size: .93rem; line-height: 1.5; }

/* Abschnitte */
.abschnitt { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abschnitt-grau { background: var(--grau); }
.abschnitt-dunkel { background: var(--anthrazit); color: #d3d7db; }
.abschnitt-dunkel h2 { color: var(--weiss); }
.abschnitt-kopf { max-width: 44rem; margin-bottom: 2.5rem; }
.abschnitt-kopf p { color: var(--text-hell); font-size: 1.1rem; }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.leistung { background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--anthrazit); border-radius: var(--radius); padding: 1.4rem 1.3rem; }
.leistung p { color: var(--text-hell); font-size: .98rem; margin: 0; }
.leistung-hervor { background: var(--anthrazit); border-color: var(--anthrazit); border-top-color: var(--klinker); }
.leistung-hervor h3 { color: var(--weiss); }
.leistung-hervor p { color: #c9ced3; margin-bottom: 1rem; }
.leistung-hervor .text-link { color: #f08a6f; }

/* Vorher / Nachher */
.vn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.vn-text p { color: var(--text-hell); }
.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.vergleich figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #ccc; }
.vergleich img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
.vergleich-label { position: absolute; top: .75rem; left: .75rem; padding: .25rem .7rem; background: rgba(20,22,25,.8); color: var(--weiss); font-weight: 700; font-size: .9rem; border-radius: 3px; }
.vergleich-label-nachher { background: var(--klinker); }

.sanierung { margin-top: clamp(3rem, 7vw, 5rem); }
.sanierung > p { color: var(--text-hell); max-width: 44rem; }
.sanierung-bilder { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sanierung-bilder li { position: relative; border-radius: var(--radius); overflow: hidden; }
.sanierung-bilder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sanierung-bilder span, .galerie span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem;
  background: linear-gradient(transparent, rgba(20,22,25,.85)); color: var(--weiss); font-weight: 600; font-size: .95rem;
}

/* Galerie */
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 15rem; gap: 1rem; }
.galerie li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--grau); }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie-gross { grid-column: span 2; grid-row: span 2; }

/* Über uns */
.ueber { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ueber-bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ueber-text p { font-size: 1.08rem; }
.haken-liste { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.haken-liste li { position: relative; padding-left: 2rem; margin-bottom: .6rem; color: var(--weiss); font-weight: 600; }
.haken-liste li::before {
  content: ""; position: absolute; left: .2rem; top: .35em; width: .55rem; height: 1rem;
  border: solid var(--klinker); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Kundenstimmen */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.stimme { margin: 0; background: var(--grau); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.stimme::before { content: "★★★★★"; color: #d8a21b; letter-spacing: .15em; margin-bottom: .75rem; }
.stimme blockquote { margin: 0 0 1.25rem; flex: 1; }
.stimme blockquote p { font-size: 1.05rem; margin: 0; }
.stimme figcaption strong { display: inline-block; color: var(--anthrazit); }
.stimme figcaption span { display: block; color: var(--text-hell); font-size: .92rem; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kontakt-text > p { font-size: 1.1rem; color: var(--text-hell); }
.kontakt-text h3 { margin-top: 2rem; }
.gebiet { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gebiet li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .95rem; }
.kontakt-karte { background: var(--weiss); border-radius: var(--radius); border-top: 4px solid var(--klinker); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06); }
.kontakt-daten { margin: 0 0 1.75rem; }
.kontakt-daten div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--linie); }
.kontakt-daten dt { color: var(--text-hell); }
.kontakt-daten dd { margin: 0; font-weight: 600; }
.kontakt-daten a { text-underline-offset: 3px; }
.kontakt-aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Fuß */
.fuss { background: var(--anthrazit); color: #aab1b8; font-size: .95rem; }
.fuss-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; padding-top: 2.25rem; padding-bottom: 2.25rem; }
.fuss p { margin: 0; }
.fuss-logo { color: var(--weiss); font-weight: 800; font-size: 1.15rem; }
.fuss ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--weiss); text-underline-offset: 3px; }

.mobil-leiste { display: none; }

/* Rechtstexte */
.rechtstext { max-width: 46rem; margin: 0 auto; padding: 3rem var(--rand) 5rem; }
.rechtstext h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.rechtstext h2 { font-size: 1.25rem; margin-top: 2rem; }

/* Tablet */
@media (max-width: 64rem) {
  .leistungen { grid-template-columns: repeat(2, 1fr); }
  .vorteile-liste { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 13rem; }
  .stimmen { grid-template-columns: 1fr; }
}

/* Navigation einklappen */
@media (max-width: 62rem) {
  .menue-knopf {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 2px solid var(--linie); border-radius: var(--radius);
    padding: .5rem .8rem; font: inherit; font-weight: 700; color: var(--anthrazit); cursor: pointer;
  }
  .menue-linien, .menue-linien::before, .menue-linien::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
  .menue-linien::before, .menue-linien::after { content: ""; position: absolute; left: 0; }
  .menue-linien::before { top: -6px; }
  .menue-linien::after { top: 6px; }
  .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .navigation.offen { display: block; }
  .navigation ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--rand) 1.25rem; }
  .navigation li a:not(.knopf) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .nav-cta { margin-top: 1rem; }
  .nav-cta .knopf { width: 100%; min-height: 3rem; }
}

/* Handy */
@media (max-width: 40rem) {
  body { font-size: 1rem; padding-bottom: 3.75rem; }
  :root { --kopf-hoehe: 4rem; }
  .topbar { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .hero-marke { font-size: .85rem; }
  .logo-text { font-size: 1.15rem; }
  .logo-text small { font-size: .68rem; }
  .menue-label { display: none; }
  .hero { min-height: 34rem; }
  .hero-schleier { background: linear-gradient(0deg, rgba(20,22,25,.92) 0%, rgba(20,22,25,.7) 55%, rgba(20,22,25,.35) 100%); }
  .hero-aktionen .knopf { width: 100%; }
  .vorteile-liste { grid-template-columns: 1fr; }
  .leistungen { grid-template-columns: 1fr; }
  .vn, .ueber, .kontakt { grid-template-columns: 1fr; }
  .ueber-bild { aspect-ratio: 4 / 3; }
  .sanierung-bilder { grid-template-columns: 1fr 1fr; }
  .sanierung-bilder li:last-child { grid-column: span 2; }
  .sanierung-bilder li:last-child img { aspect-ratio: 16 / 10; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; gap: .6rem; }
  .galerie-gross { grid-column: span 2; grid-row: span 2; }
  .galerie span { font-size: .82rem; padding: 1.5rem .6rem .5rem; }
  .kontakt-daten div { grid-template-columns: 1fr; gap: .1rem; }
  .kontakt-aktionen .knopf { width: 100%; }
  .fuss-inner { flex-direction: column; align-items: flex-start; }

  .mobil-leiste {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .mobil-leiste a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; font-weight: 700; text-decoration: none; }
  .mobil-leiste a:first-child { background: var(--anthrazit); color: var(--weiss); }
  .mobil-leiste a:last-child { background: var(--klinker); color: var(--weiss); }
}
