/* Barlog Bau – barlogbau.at */

:root {
  --anthrazit: #2b2e33;
  --anthrazit-dark: #1f2226;
  --orange: #f0941f;
  --orange-dark: #d97f10;
  --whatsapp: #25d366;
  --gray-bg: #f4f5f6;
  --text: #2b2e33;
  --text-light: #6a6f76;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .5rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
h4 { font-size: 1.02rem; margin-bottom: .4rem; }

.legal p { margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin: .6rem 0 1rem; }
.legal a { overflow-wrap: anywhere; }

.section { padding: 72px 0; }
.section-intro { color: var(--text-light); max-width: 620px; margin-bottom: 2.2rem; }
.section-dark { background: var(--anthrazit); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-gray { background: var(--gray-bg); }
.center { text-align: center; margin-top: 2.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-primary { background: var(--orange); color: var(--anthrazit-dark); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-whatsapp { background: transparent; color: var(--whatsapp); border: 2px solid var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp); color: var(--white); }
.hero .btn-whatsapp { color: var(--white); border-color: var(--whatsapp); background: rgba(37, 211, 102, .15); }
.hero .btn-whatsapp:hover { background: var(--whatsapp); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 46px; width: auto; }
.brand-name {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: .5px;
  color: var(--anthrazit);
  white-space: nowrap;
}
.brand-name span { color: var(--orange); }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.main-nav a:hover { color: var(--orange); }
.header-call { white-space: nowrap; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-abbruch.jpg") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(31, 34, 38, .78), rgba(31, 34, 38, .62));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 20px 90px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  text-transform: none;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  margin: 1rem auto 2rem;
  max-width: 560px;
  color: #e8e9ea;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-badges {
  list-style: none;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  font-weight: 600;
  color: var(--orange);
}

/* Cards (Leistungen) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { color: var(--text-light); font-size: .95rem; flex: 1; }
.card-link {
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* Ablauf */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 2.5rem;
}
.step { text-align: center; padding: 0 10px; }
.step p { color: #c6c9cc; font-size: .95rem; }
.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--anthrazit-dark);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.usp-list { list-style: none; margin-top: 1.2rem; }
.usp-list li { padding: 6px 0; font-weight: 600; }

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Leistungen im Detail */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.detail h3 {
  border-left: 4px solid var(--orange);
  padding-left: 12px;
}
.detail p { color: var(--text-light); font-size: .95rem; }

/* FAQ */
.faq-item {
  border: 1px solid #e3e5e7;
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--white);
}
.faq-item summary {
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 18px 16px; color: var(--text-light); }

/* Einsatzgebiet */
.area { margin-top: 2.2rem; }
.area p { color: var(--text-light); max-width: 820px; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.contact-card p { color: var(--text-light); margin-top: .5rem; }
.contact-big {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--anthrazit);
  text-decoration: none;
  margin: .3rem 0;
}
.contact-big:hover { color: var(--orange-dark); }

/* Footer */
.site-footer {
  background: var(--anthrazit-dark);
  color: #b8bcc0;
  padding: 28px 0;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: #b8bcc0; text-decoration: none; margin-left: 18px; }
.site-footer a:hover { color: var(--orange); }

/* Mobile Call Bar */
.mobile-callbar { display: none; }

/* Responsive */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  }
  .main-nav.open { display: flex; }

  .header-call { margin-left: auto; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--anthrazit);
    border-radius: 2px;
  }

  body { padding-bottom: 68px; }
  .mobile-callbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    gap: 10px;
    padding: 10px 14px;
    background: var(--white);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .mobile-callbar .btn { flex: 1; }
  .mobile-callbar .btn-whatsapp { background: var(--whatsapp); color: var(--white); }
}

@media (max-width: 520px) {
  .header-call { display: none; }
  .section { padding: 56px 0; }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
}
