/* Breu's Bodenleger-Hausmeisterservice – Stylesheet
   Schriften liegen lokal im Ordner /fonts (kein Google-Server, DSGVO-freundlich) */

@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --kalk: #F4F5F2;          /* Hintergrund */
  --weiss: #FFFFFF;
  --nacht: #2F3238;         /* Anthrazit aus dem Logo */
  --nacht-tief: #24272C;
  --tinte: #1B2531;         /* Text */
  --grau: #5A6572;
  --linie: #D9DDD8;
  --eiche: #B98652;
  --eiche-hell: #E4CDA8;
  --eiche-dunkel: #74502F;
  --zollstock: #F5C400;     /* Akzent: Zollstock-Gelb */
  --zollstock-dunkel: #D9A900;

  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--kalk);
  color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--nacht); }
:focus-visible { outline: 3px solid var(--zollstock); outline-offset: 3px; border-radius: 2px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--nacht); color: #fff;
}
.kopf .huelle { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marke { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.marke b { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.marke span { font-size: 0.8rem; color: #BFC3C8; }
.marke img { height: 60px; width: auto; }
.navi { display: flex; gap: 22px; margin-left: auto; }
.navi a { color: #E2E4E7; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.navi a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.kopf-tel {
  background: var(--zollstock); color: var(--tinte); text-decoration: none;
  font-weight: 600; padding: 10px 16px; border-radius: 6px; white-space: nowrap;
}
.kopf-tel:hover { background: #FFD31F; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1.05rem/1 var(--text); text-decoration: none;
  padding: 16px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
}
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf-gelb { background: var(--zollstock); color: var(--tinte); }
.knopf-gelb:hover { background: #FFD31F; }
.knopf-rand { border-color: currentColor; color: #fff; background: transparent; }
.knopf-rand:hover { background: rgba(255,255,255,0.08); }
.knopf-blau { background: var(--nacht); color: #fff; }
.knopf-blau:hover { background: var(--nacht-tief); }

/* ---------- Startbereich ---------- */
.start { background: var(--nacht); color: #fff; overflow: hidden; }
.start .huelle {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px;
}
.start h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); letter-spacing: -0.035em; line-height: 0.98; }
.start .unterzeile { font-size: 1.2rem; color: #DADDE1; margin: 24px 0 32px; max-width: 34em; }
.start .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.start .hinweis { margin-top: 26px; font-size: 0.95rem; color: #B3B7BD; display: flex; align-items: center; gap: 14px; max-width: none; }
.start .hinweis img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--eiche-hell); flex: none; }

.parkett {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.parkett img { width: 100%; height: 100%; object-fit: cover; }
.parkett figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 14px 18px; font-size: 0.9rem; color: #fff;
  background: linear-gradient(transparent, rgba(36,39,44,0.88));
}

/* ---------- Zollstock-Leiste unter dem Start ---------- */
.zollstock-band {
  height: 26px; background-color: var(--zollstock);
  background-image:
    repeating-linear-gradient(90deg, var(--tinte) 0 2px, transparent 2px 100px),
    repeating-linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 9px;
  background-repeat: no-repeat, repeat-x;
  background-position: 0 0, 0 0;
  border-top: 1px solid var(--zollstock-dunkel);
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 96px 0; }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.abschnitt-kopf p { color: var(--grau); margin: 0; font-size: 1.1rem; }

/* Böden */
.boeden { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--tinte); }
.boeden li {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--linie);
}
.boeden .muster { width: 120px; height: 72px; border-radius: 3px; overflow: hidden; }
.boeden .muster svg { width: 100%; height: 100%; display: block; }
.boeden p { margin: 0; color: var(--grau); }
.boeden-zusatz { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--tinte); font-weight: 600; }
.boeden-zusatz span::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--eiche); margin-right: 10px; border-radius: 2px; }

/* Referenzen */
.referenzen { background: var(--weiss); }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 10px; }
.galerie figure { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: var(--eiche-hell); }
.galerie figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galerie figure:nth-child(5) { grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie figcaption, .paar figcaption { font-size: 0.92rem; }
.galerie figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(36,39,44,0.8));
}
.galerie-titel { margin: 56px 0 18px; }

/* Vorher / Nachher */
.vorher-nachher { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.schritte-drei { grid-column: 1 / -1; }
.schritte-drei .paar-bilder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.schritte-drei .paar-bilder > div { aspect-ratio: 4 / 3; }
.paar { margin: 0; display: flex; flex-direction: column; }
.paar-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.paar-bilder > div { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--eiche-hell); }
.paar-bilder img { width: 100%; height: 100%; object-fit: cover; }
.etikett { position: absolute; top: 12px; left: 12px; background: var(--weiss); color: var(--tinte); font-weight: 600; font-size: 0.85rem; padding: 4px 10px; border-radius: 4px; }
.etikett-nachher { background: var(--zollstock); }
.paar figcaption { margin-top: 12px; color: var(--grau); max-width: 52ch; }
.insta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* Über mich */
.ueber .huelle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.ueber h2 { margin-bottom: 24px; }
.portrait { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; margin-bottom: 28px; border: 4px solid var(--weiss); box-shadow: 0 0 0 2px var(--eiche); }
.werte { list-style: none; margin: 0; padding: 0; }
.werte li { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.werte li:first-child { border-top: 2px solid var(--tinte); }
.werte b { display: block; font-size: 1.1rem; }
.werte span { color: var(--grau); }

/* Ablauf */
.ablauf { background: var(--nacht); color: #fff; }
.ablauf .abschnitt-kopf p { color: #BFC3C8; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: schritt; }
.schritte li { counter-increment: schritt; padding: 0 22px 0 0; position: relative; }
.schritte li::before {
  content: counter(schritt); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--zollstock); color: var(--tinte);
  font: 800 1.2rem/1 var(--display); margin-bottom: 18px; position: relative; z-index: 1;
}
.schritte li::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: rgba(255,255,255,0.18); }
.schritte li:last-child::after { display: none; }
.schritte h3 { margin-bottom: 8px; }
.schritte p { color: #C9CDD2; font-size: 0.98rem; }

/* Hausmeisterservice */
.hausmeister .huelle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.hausmeister h2 { margin-bottom: 20px; }
.dienste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.dienste div { padding: 22px 0; border-top: 2px solid var(--tinte); }
.dienste h3 { margin-bottom: 10px; }
.dienste ul { margin: 0; padding-left: 1.1em; color: var(--grau); }
.dienste li { margin: 4px 0; }

/* Einsatzgebiet */
.gebiet { background: var(--weiss); }
.zollstock {
  position: relative; display: flex; margin-top: 8px; padding-top: 64px;
}
.zollstock ol { list-style: none; margin: 0; padding: 0; display: flex; width: 100%; }
.zollstock li {
  flex: 1; position: relative; height: 58px;
  background-color: var(--zollstock);
  background-image: repeating-linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px 8px);
  background-size: 100% 12px; background-repeat: repeat-x;
  border-right: 2px solid var(--zollstock-dunkel);
}
.zollstock li:first-child { border-radius: 4px 0 0 4px; }
.zollstock li:last-child { border-radius: 0 4px 4px 0; border-right: 0; }
.zollstock li::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 26px; background: var(--tinte); }
.zollstock li span {
  position: absolute; left: 0; bottom: calc(100% + 10px);
  font-weight: 600; font-size: 0.92rem; white-space: nowrap; transform-origin: left bottom; transform: rotate(-35deg);
}
.zollstock li.heim span { color: var(--nacht); font-size: 1.05rem; }
.gebiet-text { margin-top: 36px; color: var(--grau); }

/* Kontakt */
.kontakt .huelle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
.kontakt h2 { margin-bottom: 20px; }
.wege { list-style: none; margin: 28px 0 0; padding: 0; }
.wege li { padding: 16px 0; border-top: 1px solid var(--linie); }
.wege small { display: block; color: var(--grau); font-size: 0.88rem; }
.wege a, .wege strong { font-size: 1.25rem; font-weight: 600; color: var(--tinte); text-decoration: none; }
.wege a:hover { text-decoration: underline; }

.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; padding: 32px; }
.formular h3 { margin-bottom: 6px; }
.formular > p { color: var(--grau); font-size: 0.95rem; }
.feld { margin-bottom: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--kalk);
  border: 1px solid #C5CBC4; border-radius: 6px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--zollstock); outline-offset: 0; border-color: var(--tinte); }
textarea { min-height: 120px; resize: vertical; }
.formular .knopf { width: 100%; justify-content: center; margin-top: 4px; }
.meldung { margin-top: 16px; padding: 14px 16px; border-radius: 6px; background: #EAF2E6; border: 1px solid #B9D3AE; font-size: 0.95rem; display: none; }
.meldung.zeigen { display: block; }
.klein { font-size: 0.85rem; color: var(--grau); margin-top: 12px; }

/* Fußzeile */
.fuss { background: var(--nacht-tief); color: #BFC3C8; padding: 40px 0 110px; font-size: 0.95rem; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.fuss a { color: #fff; }
.fuss nav { display: flex; gap: 24px; }

/* Anrufleiste unten (nur Handy) */
.anrufleiste { display: none; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.recht { padding: 64px 0 96px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 32px; }
.recht h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.recht h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.recht .huelle > * { max-width: 72ch; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .navi { display: none; }
  .kopf-tel { margin-left: auto; }
  .start .huelle, .abschnitt-kopf, .ueber .huelle, .hausmeister .huelle, .kontakt .huelle { grid-template-columns: 1fr; gap: 32px; }
  .parkett { aspect-ratio: 16 / 10; }
  .schritte { grid-template-columns: 1fr; gap: 28px; }
  .schritte li { padding: 0 0 0 64px; }
  .schritte li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .schritte li::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .galerie figure:nth-child(5) { grid-row: span 1; }
  .galerie figure:nth-child(12) { grid-column: span 2; }
  .vorher-nachher { grid-template-columns: 1fr; }
  .schritte-drei .paar-bilder { grid-template-columns: 1fr; }
  .schritte-drei .paar-bilder > div { aspect-ratio: 3 / 2; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .abschnitt { padding: 64px 0; }
  .kopf-tel { display: none; }
  .boeden li { grid-template-columns: 84px minmax(0, 1fr); gap: 8px 18px; }
  .boeden .muster { width: 84px; height: 56px; grid-row: span 2; }
  .dienste { grid-template-columns: 1fr; }
  .feld-paar { grid-template-columns: 1fr; gap: 0; }
  .formular { padding: 22px; }

  /* Zollstock senkrecht */
  .zollstock { padding-top: 0; }
  .zollstock ol { flex-direction: column; }
  .zollstock li { flex: none; height: 46px; width: 58px; background-size: 12px 100%;
    background-image: repeating-linear-gradient(180deg, var(--tinte) 0 1px, transparent 1px 8px); background-repeat: repeat-y;
    border-right: 0; border-bottom: 2px solid var(--zollstock-dunkel); }
  .zollstock li:first-child { border-radius: 4px 4px 0 0; }
  .zollstock li:last-child { border-radius: 0 0 4px 4px; border-bottom: 0; }
  .zollstock li::before { width: 26px; height: 2px; }
  .zollstock li span { transform: none; left: calc(100% + 14px); bottom: auto; top: -10px; }

  .anrufleiste {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--nacht-tief);
  }
  .anrufleiste .knopf { justify-content: center; padding: 14px 10px; font-size: 1rem; }
}
