/* ==========================================================================
   Holzbau Lepski GmbH – Website
   Farben, Typografie und Bausteine aus dem Design-Entwurf
   ========================================================================== */

/* --- Schrift: Cabin, lokal ausgeliefert (kein externer Font-Request) ------ */
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/cabin-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/cabin-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Design-Token -------------------------------------------------------- */
:root {
  --gruen: #6ea826;
  --braun: #4f2c1d;
  --dunkel: #3f363b;
  --gelb: #ffcc00;
  --sand: #f3f3ed;
  --linie: #e6e6dd;
  --linie-2: #dcdcd0;
  --weiss: #ffffff;

  --wrap: 1280px;
  --pad-x: 40px;
  --abschnitt: 104px;
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Cabin', system-ui, -apple-system, sans-serif;
  color: var(--dunkel);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; }

a {
  color: var(--gruen);
  text-decoration: none;
  transition: color .15s, background-color .15s, border-color .15s, opacity .15s;
}
a:hover { color: var(--braun); }

p { text-wrap: pretty; margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--gruen);
  color: var(--weiss);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 2px;
}
.skip-link:focus { top: 12px; color: var(--weiss); }

/* --- Layout -------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding-top: var(--abschnitt); }
.section--gruppe { background: var(--sand); padding: 88px 0; margin-top: var(--abschnitt); }
.section--braun { background: var(--braun); padding: 96px 0; margin-top: var(--abschnitt); }
.section--sand { background: var(--sand); padding: 96px 0; }

/* --- Typografie-Bausteine ------------------------------------------------ */
.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gruen);
}
.eyebrow--gelb { color: var(--gelb); }
.eyebrow--eng { letter-spacing: .12em; }

.h1 {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--braun);
  letter-spacing: -.01em;
  max-width: 820px;
}
.h2 {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--braun);
}
.h2--weiss { color: var(--weiss); }
.h3 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.28;
  font-weight: 700;
  color: var(--braun);
}

.lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
}
.lede--weiss { color: var(--weiss); opacity: .9; }

.text { font-size: 16.5px; line-height: 1.65; }
.text--klein { font-size: 15.5px; line-height: 1.55; }
.text--gedimmt { opacity: .85; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn--gruen { background: var(--gruen); color: var(--weiss); }
.btn--gruen:hover { background: var(--braun); color: var(--weiss); }

.btn--braun-outline { border-color: var(--braun); color: var(--braun); }
.btn--braun-outline:hover { background: var(--braun); color: var(--weiss); }

.btn--hell-outline { border-color: rgba(255, 255, 255, .58); color: var(--weiss); }
.btn--hell-outline:hover { background: var(--weiss); color: var(--braun); border-color: var(--weiss); }

/* Auf dunklem Grund wird der grüne Button beim Hover hell statt braun. */
.auf-dunkel .btn--gruen:hover { background: var(--weiss); color: var(--braun); }

.btn-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.link-unterstrich {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--gruen);
  white-space: nowrap;
}

/* --- Entwurfshinweis (entfällt bei der echten Website) ------------------- */
.entwurfshinweis {
  margin: 0;
  background: var(--dunkel);
  color: var(--weiss);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  padding: 8px 20px;
  opacity: .85;
}

/* --- Kopfbereich --------------------------------------------------------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 32px;
}
.kopf__logo { display: flex; align-items: center; flex: 0 0 auto; }
.kopf__logo img { height: 52px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a { color: var(--dunkel); }
/* Telefon und CTA stehen auf Desktop im Kopfbereich – in der Navigation
   erscheinen sie erst, wenn diese zum Mobilpanel wird. */
.nav .nav__tel,
.nav .nav__cta { display: none; }
.nav a:hover { color: var(--gruen); }
.nav a[aria-current='page'] {
  padding-bottom: 3px;
  border-bottom: 2px solid var(--gruen);
}

.kopf__aktionen {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.kopf__tel { color: var(--braun); font-weight: 600; font-size: 15.5px; }
.kopf__tel:hover { color: var(--gruen); }
.kopf__cta {
  background: var(--gruen);
  color: var(--weiss);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 2px;
}
.kopf__cta:hover { background: var(--braun); color: var(--weiss); }

/* Menü-Schalter, nur mobil sichtbar */
.menue-schalter {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  padding: 0;
  background: none;
  border: 1px solid var(--linie);
  border-radius: 2px;
  cursor: pointer;
  color: var(--braun);
  align-items: center;
  justify-content: center;
}
.menue-schalter span {
  display: block;
  position: relative;
  width: 20px; height: 2px;
  background: currentColor;
}
.menue-schalter span::before,
.menue-schalter span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .18s;
}
.menue-schalter span::before { top: -6px; }
.menue-schalter span::after { top: 6px; }
.menue-schalter[aria-expanded='true'] span { background: transparent; }
.menue-schalter[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.menue-schalter[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero (Startseite) --------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 560px;
  height: 66vh;
  max-height: 660px;
  background: var(--dunkel);
  display: flex;
  align-items: center;
}
.hero__bild {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-width: 178vh; /* 16:9 – deckt hohe Viewports ab */
  aspect-ratio: 16 / 9;
  border: 0;
  pointer-events: none;
  display: block;
  /* Erst sichtbar, wenn YouTube geliefert hat – sonst bleibt das Standbild
     stehen statt einer schwarzen Fläche (blockiertes Autoplay, kein Netz). */
  opacity: 0;
  transition: opacity .6s ease;
}
.hero__video.ist-bereit { opacity: 1; }

/* Wer Bewegung reduziert, bekommt nur das Standbild. */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero__schleier {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(63, 54, 59, .88) 0%,
    rgba(63, 54, 59, .68) 42%,
    rgba(63, 54, 59, .28) 78%);
}
.hero__inhalt { position: relative; width: 100%; }
.hero__text { max-width: 660px; }
.hero__marke {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__strich { width: 26px; height: 3px; background: var(--gelb); display: block; flex: 0 0 auto; }
.hero__label {
  color: var(--weiss);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .92;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.06;
  font-weight: 700;
  color: var(--weiss);
  letter-spacing: -.01em;
}
.hero p {
  margin-top: 22px;
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--weiss);
  opacity: .92;
  max-width: 560px;
}

/* --- Bildfelder ---------------------------------------------------------- */
.medienfeld {
  margin: 0;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--linie);
}
.medienfeld img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.medienfeld--h260 { height: 260px; }
.medienfeld--h280 { height: 280px; }
.medienfeld--h300 { height: 300px; }
.medienfeld--h520 { height: 520px; }

/* --- Bildplatzhalter (noch kein Foto geliefert) -------------------------- */
.bildplatz {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg,
      #e9e9df 0 12px,
      #f1f1e8 12px 24px);
  color: var(--braun);
  text-align: center;
  overflow: hidden;
}
.bildplatz::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--linie-2);
}
.bildplatz span {
  position: relative;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  opacity: .62;
  max-width: 260px;
}
.bildplatz--h260 { height: 260px; }
.bildplatz--h280 { height: 280px; }
.bildplatz--h300 { height: 300px; }
.bildplatz--h520 { height: 520px; }
.bildplatz--portrait { width: 128px; height: 160px; flex: 0 0 128px; padding: 12px; }
.bildplatz--portrait span { font-size: 12px; }

/* --- Einstiegskarten (Startseite) ---------------------------------------- */
.raster-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.raster-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.einstieg {
  display: flex;
  flex-direction: column;
  background: var(--sand);
}
.einstieg--dunkel { background: var(--braun); }
.einstieg__body {
  padding: 38px 40px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.einstieg h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--braun);
}
.einstieg--dunkel h2 { color: var(--weiss); }
.einstieg p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
}
.einstieg--dunkel p { color: var(--weiss); opacity: .9; }
.einstieg .btn { margin-top: 34px; align-self: flex-start; }

.punkte {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.punkte li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.5;
}
.punkte li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gruen);
  flex: 0 0 auto;
  transform: translateY(-2px);
}
.einstieg--dunkel .punkte li { color: var(--weiss); opacity: .9; }

/* --- Kennzahlen ---------------------------------------------------------- */
.kennzahlen {
  background: var(--sand);
  padding: 56px 56px 52px;
}
.kennzahlen__raster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.kennzahl__wert {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  font-weight: 700;
  color: var(--gruen);
}
.kennzahl__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}
.trennlinie { height: 1px; background: var(--linie-2); margin: 44px 0 36px; }

.siegel {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.siegel__label {
  flex: 0 0 200px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--braun);
  padding-top: 4px;
}
.siegel__raster {
  flex: 1 1 460px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.siegel__item { border-left: 2px solid var(--gruen); padding-left: 14px; }
.siegel__titel { font-size: 16px; font-weight: 700; color: var(--braun); line-height: 1.3; }
.siegel__text { margin-top: 5px; font-size: 14.5px; line-height: 1.45; }

/* --- Abschnittskopf mit Seitenlink ---------------------------------------- */
.abschnittskopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.abschnittskopf > div { max-width: 640px; }
.abschnittskopf .link-unterstrich { flex: 0 0 auto; }

/* --- Referenzkarten ------------------------------------------------------ */
.referenz__meta { padding-top: 20px; }
.referenz__kat {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gruen);
}
.referenz h3 { margin-top: 10px; }
.referenz p { margin-top: 9px; }

/* --- Unternehmen (Vater und Sohn) ---------------------------------------- */
.zwei-spalten {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.zwei-spalten p + p { margin-top: 18px; }
.zwei-spalten .lede { font-size: 18px; }

.merkmale {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--linie);
}
.merkmal__titel { font-size: 16px; font-weight: 700; color: var(--braun); }
.merkmal__text { margin-top: 5px; font-size: 15.5px; line-height: 1.5; opacity: .85; }

/* --- Teamfoto ------------------------------------------------------------ */
.teamfoto { margin: 0; }
.teamfoto img {
  display: block;
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: center 55%;
}
.teamfoto figcaption {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad-x) 0;
  font-size: 14.5px;
  opacity: .7;
}

/* --- Videos -------------------------------------------------------------- */
.videorahmen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--dunkel);
}
.videorahmen iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.video__meta { padding-top: 18px; }
.video__meta h3 { font-size: 21px; line-height: 1.25; }
.video__meta p { margin-top: 9px; }

/* --- Holz macht Sinn (brauner Block) ------------------------------------- */
.holz-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
}
.holz-zahlen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
}
.holz-zahl { border-top: 2px solid var(--gruen); padding-top: 18px; }
.holz-zahl__wert {
  font-size: clamp(30px, 3.4vw, 38px);
  line-height: 1;
  font-weight: 700;
  color: var(--weiss);
}
.holz-zahl__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--weiss);
  opacity: .85;
}

/* --- Kontakt ------------------------------------------------------------- */
.kontakt-karte { background: var(--weiss); padding: 40px; }
.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.kontakt__label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gruen);
}
.kontakt__wert {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.6;
}
.kontakt__wert a { color: var(--dunkel); }
.kontakt__wert a:hover { color: var(--gruen); }
.kontakt__hinweis {
  font-size: 15.5px;
  line-height: 1.6;
  opacity: .85;
}
.kontakt-trenner { height: 1px; background: var(--linie); margin: 32px 0; }

/* --- Fußbereich ---------------------------------------------------------- */
.fuss { background: var(--dunkel); padding: 52px 0; }
.fuss__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.fuss__copy { font-size: 15px; color: var(--weiss); opacity: .75; }
.fuss__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; }
.fuss__links a { color: var(--weiss); opacity: .75; }
.fuss__links a:hover { color: var(--weiss); opacity: 1; }

/* ==========================================================================
   Planerseite
   ========================================================================== */
.planer-hero { background: var(--sand); padding: 26px 0 88px; }
.brotkrume { font-size: 14.5px; opacity: .7; }
.brotkrume a { color: var(--dunkel); }
.brotkrume a:hover { color: var(--gruen); }

.planer-hero__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 72px;
  align-items: end;
  margin-top: 56px;
}
.planer-hero p { max-width: 700px; }

.steckbrief { background: var(--weiss); padding: 36px 36px 30px; }
.steckbrief__label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gruen);
  margin-bottom: 22px;
}
.steckbrief dl { margin: 0; }
.steckbrief__zeile {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--linie);
}
.steckbrief__zeile dt { font-size: 16px; }
.steckbrief__zeile dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--braun);
  text-align: right;
}

.leistungen-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
  margin-top: 52px;
}
.leistung { border-top: 2px solid var(--braun); padding-top: 22px; }
.leistung h3 { font-size: 21px; line-height: 1.3; }
.leistung p { margin-top: 12px; }

.fertigung-raster {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.rundgang {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
}
.rundgang span { font-size: 15px; opacity: .7; }

.schritte { display: flex; flex-direction: column; gap: 2px; }
.schritt {
  background: var(--weiss);
  padding: 30px 34px;
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.schritt__nr {
  font-size: 15px;
  font-weight: 700;
  color: var(--gruen);
  flex: 0 0 34px;
  padding-top: 3px;
}
.schritt h3 { font-size: 20px; }
.schritt p { margin-top: 9px; font-size: 16.5px; line-height: 1.6; }

.nachweise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: var(--linie);
}
.nachweis { background: var(--sand); padding: 34px 36px; }
.nachweis h3 { margin-top: 12px; font-size: 22px; }
.nachweis p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; }

/* --- Projektfilter ------------------------------------------------------- */
.filter-leiste {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--linie);
}
.filter {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 2px;
  cursor: pointer;
  background: var(--weiss);
  color: var(--dunkel);
  border: 1.5px solid var(--linie-2);
  transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--gruen); color: var(--braun); }
.filter[aria-pressed='true'] {
  background: var(--gruen);
  color: var(--weiss);
  border-color: var(--gruen);
}
.projekt-zahl {
  font-size: 15.5px;
  opacity: .75;
  flex: 0 0 auto;
  padding-bottom: 6px;
}
.projekte-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.projekt__meta { padding-top: 18px; }
.projekt h3 { margin-top: 10px; font-size: 21px; }
.projekt p { margin-top: 9px; }

/* --- Ansprechpartner ----------------------------------------------------- */
.ansprech-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 80px;
  align-items: center;
}
.visitenkarte {
  background: var(--weiss);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.visitenkarte__name {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--braun);
  line-height: 1.2;
}
.visitenkarte__rolle { margin-top: 4px; font-size: 16px; opacity: .8; }
.visitenkarte__kontakt { font-size: 16.5px; line-height: 1.7; }
.visitenkarte__kontakt a { color: var(--dunkel); }
.visitenkarte__kontakt a:hover { color: var(--gruen); }
.visitenkarte__adresse { margin-top: 16px; font-size: 15.5px; line-height: 1.6; opacity: .75; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --abschnitt: 80px; }

  .nav { gap: 22px; font-size: 15px; }
  .kopf__tel { display: none; }

  .zwei-spalten,
  .holz-raster,
  .fertigung-raster,
  .planer-hero__raster,
  .ansprech-raster { gap: 48px; }

  .kennzahlen { padding: 44px 36px 40px; }
  .kennzahlen__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .siegel { gap: 28px; }
  .siegel__label { flex: 0 0 100%; }
  .siegel__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .leistungen-raster,
  .projekte-raster,
  .raster-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; --abschnitt: 64px; }

  /* Navigation klappt in ein Panel */
  .menue-schalter { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    padding: 8px var(--pad-x) 20px;
    font-size: 17px;
    box-shadow: 0 18px 30px -22px rgba(63, 54, 59, .5);
  }
  .nav.ist-offen { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--linie);
  }
  .nav a[aria-current='page'] {
    color: var(--gruen);
    border-bottom: 1px solid var(--linie);
  }
  .kopf__inner { position: relative; gap: 16px; }
  .kopf__aktionen { display: none; }
  .nav .nav__tel,
  .nav .nav__cta { display: block; }
  .nav .nav__cta {
    margin-top: 16px;
    background: var(--gruen);
    color: var(--weiss);
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 2px;
    border-bottom: 0;
    text-align: center;
  }
  .nav .nav__cta:hover { background: var(--braun); color: var(--weiss); }
  .nav .nav__tel {
    border-bottom: 0;
    color: var(--braun);
    font-weight: 600;
  }

  .hero { min-height: 480px; height: auto; padding: 72px 0; }
  .hero__video { display: none; } /* mobil nur das Standbild – spart Daten */
  /* Schmale Displays: senkrechter Verlauf, sonst liegt der Text rechts
     auf dem hellen Teil des Fotos. */
  .hero__schleier {
    background: linear-gradient(180deg,
      rgba(63, 54, 59, .88) 0%,
      rgba(63, 54, 59, .74) 50%,
      rgba(63, 54, 59, .84) 100%);
  }

  .raster-2,
  .raster-3,
  .zwei-spalten,
  .holz-raster,
  .fertigung-raster,
  .planer-hero__raster,
  .ansprech-raster,
  .leistungen-raster,
  .projekte-raster,
  .nachweise { grid-template-columns: minmax(0, 1fr); }

  .holz-raster, .fertigung-raster, .planer-hero__raster, .ansprech-raster { gap: 44px; }
  .zwei-spalten { gap: 36px; }
  .nachweise { gap: 2px; }

  .abschnittskopf {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .abschnittskopf .projekt-zahl { padding-bottom: 0; }

  .einstieg__body { padding: 32px 28px 34px; }
  .kennzahlen { padding: 36px 28px 32px; }
  .kontakt-karte { padding: 28px; }
  .steckbrief { padding: 28px 26px 24px; }
  .schritt { padding: 26px 24px; gap: 18px; }
  .nachweis { padding: 28px 26px; }
  .visitenkarte { padding: 28px; }

  .bildplatz--h520 { height: 340px; }
  .medienfeld--h520 { height: 340px; }
}

@media (max-width: 560px) {
  :root { --pad-x: 20px; }

  .kopf__logo img { height: 42px; }
  .kennzahlen__raster,
  .siegel__raster,
  .holz-zahlen,
  .kontakt-raster { grid-template-columns: minmax(0, 1fr); }
  .kennzahlen__raster { gap: 26px; }
  .holz-zahlen { gap: 26px; }

  .merkmale { gap: 24px; }
  .btn { padding: 14px 22px; font-size: 15.5px; }
  .btn-reihe .btn { flex: 1 1 100%; }

  .steckbrief__zeile { flex-direction: column; gap: 4px; }
  .steckbrief__zeile dd { text-align: left; }

  .bildplatz--h300, .bildplatz--h280, .bildplatz--h260,
  .medienfeld--h300, .medienfeld--h280, .medienfeld--h260 { height: 220px; }
  .teamfoto figcaption { padding-top: 14px; }
}
