:root {
  --orange: #f06a00;
  --orange-2: #ff7a12;
  --dark: #111315;
  --dark-2: #191c1f;
  --text: #202326;
  --muted: #6b7075;
  --line: #e5e5e5;
  --white: #ffffff;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 17, 19, .98);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.nav-wrap { min-height: 88px; display: flex; align-items: center; gap: 34px; }
.brand { width: 210px; flex: 0 0 auto; }
.brand img { width: 100%; height: 66px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a {
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 34px 0 28px;
  border-bottom: 3px solid transparent;
  transition: .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--orange-2); border-color: var(--orange); }
.header-contact { display: flex; align-items: center; gap: 18px; margin-left: 4px; }
.contact-link { color: var(--orange-2); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.round-icon { width: 32px; height: 32px; border: 1px solid rgba(240,106,0,.45); border-radius: 50%; display: grid; place-items: center; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 28px; height: 2px; background: #fff; display: block; margin: 6px 0; transition: .25s; }

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #111315;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 35%;
  background: #111315;
  filter: saturate(1.01) contrast(1.02) brightness(.98);
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 80px 0 95px rgba(15,17,19,.34);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10,12,14,.99) 0%,
      rgba(10,12,14,.97) 24%,
      rgba(10,12,14,.88) 39%,
      rgba(10,12,14,.58) 51%,
      rgba(10,12,14,.18) 63%,
      rgba(10,12,14,.02) 76%,
      rgba(10,12,14,0) 100%),
    linear-gradient(0deg, rgba(10,12,14,.18), rgba(10,12,14,0) 42%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding: 58px 0 62px;
}
.contact-card {
  background: rgba(255,255,255,.985);
  border: 2px solid var(--orange);
  border-radius: 12px;
  padding: 28px 28px 26px;
  box-shadow: 0 22px 58px rgba(0,0,0,.25);
}
.card-logo { width: 230px; margin: 0 auto 26px; }
.contact-card-row { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; font-size: 15px; color: #202326; }
.mini-icon { color: var(--orange); font-size: 18px; width: 24px; flex: 0 0 24px; text-align: center; }
.hero-copy { max-width: 600px; padding-top: 4px; }
.eyebrow { color: var(--orange-2); font-weight: 800; letter-spacing: .04em; margin: 0 0 10px; }
h1, h2, .page-hero h1 { font-family: Oswald, Inter, sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.hero h1 { color: #fff; font-size: clamp(48px, 5.45vw, 72px); line-height: .98; margin: 0 0 20px; letter-spacing: -.018em; text-shadow: 0 4px 18px rgba(0,0,0,.18); }
.hero h1 span { color: var(--orange-2); }
.hero-text { color: #f4f4f4; font-size: 18px; line-height: 1.65; max-width: 500px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(240,106,0,.2); }
.btn-primary:hover { background: var(--orange-2); }
.btn-outline { border: 1px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-2); }
.dark-outline { border-color: #333; color: #222; }

.services { background: #fff; border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-item { position: relative; text-align: center; padding: 36px 28px 34px; }
.service-item + .service-item::before { content: ''; position: absolute; left: 0; top: 32px; bottom: 32px; width: 1px; background: #ddd; }
.service-icon { width: 58px; height: 58px; margin: 0 auto 10px; }
.service-icon svg { width: 100%; height: 100%; fill: var(--orange); }
.service-item h3 { margin: 8px 0 7px; text-transform: uppercase; font-size: 15px; }
.service-item p { margin: 0; font-size: 13px; color: #4f5458; }

.section-dark { background: radial-gradient(circle at 10% 10%, #1d2023 0, #111315 55%, #0c0e10 100%); color: #fff; }
.about { padding: 72px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 52px; align-items: center; }
.about-media img { width: 100%; height: auto; aspect-ratio: 1.45; max-height: 420px; object-fit: cover; border-radius: 10px; border: 2px solid var(--orange); }
.about-copy h2, .contact h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.05; margin: 0 0 18px; }
.about-copy > p:not(.eyebrow) { color: #d8dadc; font-size: 16px; max-width: 700px; }
.benefits { display: flex; flex-wrap: wrap; gap: 24px; margin: 28px 0 28px; }
.benefits span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.benefits b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #111; }

.why { padding: 78px 0; background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-heading.centered { justify-content: center; text-align: center; }
.section-heading h2 { font-size: clamp(34px, 4vw, 50px); margin: 0; line-height: 1; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin: 10px 0 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { position: relative; padding: 28px; border: 1px solid #ececec; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(15,15,15,.05); }
.why-card span { color: var(--orange); font-weight: 900; font-size: 13px; letter-spacing: .08em; }
.why-card h3 { margin: 12px 0 8px; font-size: 18px; }
.why-card p { margin: 0; color: #5b6065; font-size: 14px; }

.projects { padding: 78px 0 86px; background: #f7f7f7; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  appearance: none;
  border: 0;
  padding: 0;
  text-align: left;
  margin: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 7px 28px rgba(15,15,15,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(15,15,15,.13); }
.project-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-caption { display: block; padding: 16px 18px 18px; font-weight: 700; }

.contact { padding: 74px 0; }
.contact-heading { max-width: 780px; margin-bottom: 34px; }
.contact-heading h2 { margin-bottom: 12px; }
.contact-heading > p:not(.eyebrow) { color: #d8dadc; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: start; }
.contact-copy { padding: 28px 0; }
.contact-copy h3 { font-size: 24px; margin: 0 0 20px; }
.contact-list { display: grid; gap: 14px; margin: 22px 0 28px; }
.contact-list a, .contact-list div { display: flex; align-items: flex-start; gap: 14px; color: #fff; }
.contact-list span { color: var(--orange-2); width: 24px; font-size: 20px; }
.contact-list small { color: #fff; font-size: inherit; font-weight: inherit; }
.whatsapp { background: #fff; color: #111; }
.whatsapp:hover { background: #f5f5f5; }

.contact-form { background: #fff; color: #222; border-radius: 14px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.form-heading h3 { margin: 0 0 22px; font-size: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid #d7d9dc;
  border-radius: 8px;
  padding: 13px 14px;
  outline: none;
  background: #fff;
  color: #222;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,106,0,.12); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.privacy-check { grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; font-weight: 400 !important; line-height: 1.45; }
.privacy-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); }
.privacy-check a { color: var(--orange); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.form-submit { min-width: 190px; }
.form-note { color: #6a6e72; font-size: 12px; margin: 12px 0 0; }
.form-status { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; font-weight: 700; }
.form-status.success { background: #ecf8ef; color: #19652a; }
.form-status.error { background: #fff0f0; color: #a12727; }

.map-consent { margin-top: 54px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 42px; align-items: center; }
.map-copy h3 { font-size: 26px; margin: 0 0 10px; }
.map-copy p:not(.eyebrow) { color: #cfd2d4; }
.map-card { border: 2px solid var(--orange); border-radius: 11px; overflow: hidden; min-height: 360px; background: #f5f5f5; }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-placeholder { position: relative; isolation: isolate; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; color: #222; background: #f5f3ef; }
.map-placeholder::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.74)), url("assets/rohbau-v5-small.webp") center 58% / cover; }
.map-pin { color: var(--orange); font-size: 34px; }
.map-direct { color: #555; text-decoration: underline; font-size: 13px; }

.cta-band { position: relative; overflow: hidden; background: linear-gradient(90deg,#191c1f,#111315); border-top: 1px solid rgba(240,106,0,.55); border-bottom: 1px solid rgba(240,106,0,.55); }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 30%, rgba(240,106,0,.16), transparent 35%); pointer-events: none; }
.cta-band-inner { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.cta-band p { color: #fff; margin: 0 0 2px; font-weight: 700; letter-spacing: .04em; }
.cta-band h2 { color: var(--orange-2); margin: 0; font-size: clamp(34px, 4vw, 52px); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: #0e1012; color: #c8cbce; padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr .8fr; gap: 50px; padding-bottom: 42px; }
.footer-brand img { width: 230px; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; font-size: 14px; }
.footer h4 { color: #fff; margin: 0 0 16px; }
.footer a { display: block; font-size: 14px; margin: 8px 0; }
.footer a:hover { color: var(--orange-2); }
.footer p { font-size: 14px; }
.footer-bottom { border-top: 1px solid #303337; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer-slogan { color: #fff; }
.footer-slogan::before { content: ''; display: inline-block; width: 56px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 12px; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 990; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 28px rgba(0,0,0,.25); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); padding: 30px; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-inner { max-width: 1100px; width: min(100%, 1100px); text-align: center; color: #fff; }
.lightbox-inner img { max-height: 78vh; width: 100%; object-fit: contain; border-radius: 10px; }
.lightbox-inner p { margin: 14px 0 0; font-weight: 700; }
.lightbox-close { position: absolute; right: 24px; top: 18px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 30px; }

.page-hero { padding: 84px 0 72px; background: radial-gradient(circle at 80% 20%, rgba(240,106,0,.18), transparent 28%), #111315; color: #fff; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); margin: 0 0 16px; }
.page-hero p { max-width: 720px; color: #d5d7d9; font-size: 17px; }
.breadcrumbs { margin-bottom: 18px; font-size: 13px; color: var(--orange-2); font-weight: 700; text-transform: uppercase; }
.content-page { padding: 70px 0 90px; }
.content-narrow { max-width: 900px; }
.content-page h2 { margin-top: 38px; font-size: 28px; }
.content-page h3 { margin-top: 28px; }
.content-page p, .content-page li { color: #4c5155; }
.content-page a { color: var(--orange); text-decoration: underline; }
.legal-warning { border: 1px solid #f0c39f; background: #fff8f2; padding: 18px 20px; border-radius: 9px; color: #6d3a10; margin-bottom: 30px; }
.legal-data { display: grid; gap: 4px; padding: 22px; background: #f7f7f7; border-radius: 10px; }

.gallery-page { padding: 70px 0 90px; background: #f7f7f7; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { border: 1px solid #d7d7d7; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13px; }
.filter-btn.active, .filter-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.gallery-card.hidden { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .14s; }
.delay-3 { transition-delay: .2s; }
.delay-4 { transition-delay: .26s; }

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

@media (max-width: 1120px) {
  .header-contact .mail-link { display: none; }
  .main-nav { gap: 20px; }
  .hero-image { inset: 0 0 0 32%; background-position: 53% center; }
  .hero-grid { grid-template-columns: 300px 1fr; gap: 34px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-item:nth-child(4)::before { display: none; }
  .service-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .nav-wrap { min-height: 76px; }
  .brand { width: 180px; }
  .brand img { height: 55px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 76px; background: #111315; flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 15px 22px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .header-contact { margin-left: 0; }
  .header-contact .contact-link span:last-child { display: none; }
  .hero { min-height: auto; }
  .hero-image { inset: 0; opacity: .62; background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10,12,14,.97), rgba(10,12,14,.72)); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 54px 0 62px; }
  .contact-card { max-width: 390px; order: 2; }
  .hero-copy { order: 1; }
  .about-grid, .contact-layout, .map-consent { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-contact { display: none; }
  .hero h1 { font-size: 45px; }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-card { max-width: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item + .service-item::before { display: none; }
  .service-item { border-top: 1px solid var(--line); }
  .service-item:first-child { border-top: 0; }
  .about, .projects, .contact, .why { padding: 56px 0; }
  .benefits { flex-direction: column; gap: 12px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .why-grid, .projects-grid, .form-grid { grid-template-columns: 1fr; }
  .project-card img { height: auto; aspect-ratio: 8 / 5; }
  .contact-form { padding: 22px; }
  .map-card, .map-placeholder, .map-card iframe { min-height: 300px; height: 300px; }
  .cta-band-inner { padding: 38px 0; flex-direction: column; align-items: flex-start; }
  .cta-band-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .lightbox { padding: 16px; }
  .lightbox-close { right: 14px; top: 12px; }
}

/* =========================================================
   Responsive polish, tablet, iPad and mobile
   Keeps the approved desktop design and branding unchanged.
   ========================================================= */

@media (max-width: 1080px) {
  html { scroll-padding-top: 80px; }

  .nav-wrap {
    min-height: 80px;
    gap: 16px;
  }

  .brand { width: 188px; }
  .brand img { height: 58px; }

  .menu-toggle {
    display: block;
    order: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px 9px;
    position: relative;
    z-index: 1002;
  }

  .menu-toggle span {
    width: 25px;
    margin: 5px auto;
    transform-origin: center;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(17,19,21,.995);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 38px rgba(0,0,0,.24);
    transition: max-height .3s ease;
    z-index: 1001;
  }
  .main-nav.open { max-height: 460px; }
  .main-nav a {
    padding: 16px max(22px, calc((100vw - var(--container)) / 2));
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 14px;
  }
  .main-nav a:hover,
  .main-nav a.active {
    border-bottom-color: rgba(255,255,255,.07);
    background: rgba(240,106,0,.08);
  }

  .header-contact {
    margin-left: auto;
    gap: 10px;
    order: 2;
  }
  .header-contact .mail-link { display: none; }

  .hero-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
  }
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: clamp(48px, 6.3vw, 66px); }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-item:nth-child(4)::before { display: none; }
  .service-item:nth-child(n+4) { border-top: 1px solid var(--line); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 36px)); }

  .hero {
    min-height: auto;
    background: #111315;
  }
  .hero-image {
    inset: 0;
    opacity: .78;
    background-position: 62% center;
  }
  .hero-image::after {
    box-shadow: inset 0 -80px 110px rgba(15,17,19,.35);
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10,12,14,.93) 0%, rgba(10,12,14,.76) 46%, rgba(10,12,14,.36) 100%),
      linear-gradient(0deg, rgba(10,12,14,.42), rgba(10,12,14,.06) 55%);
  }
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 50px 0 54px;
  }
  .hero-copy {
    order: 1;
    max-width: 610px;
  }
  .hero h1 {
    font-size: clamp(46px, 8vw, 64px);
    max-width: 650px;
  }
  .hero-text { max-width: 560px; }
  .contact-card {
    order: 2;
    width: min(100%, 430px);
    padding: 25px 26px 23px;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(3)::before,
  .service-item:nth-child(5)::before { display: none; }
  .service-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-item:nth-child(4)::before { display: block; }

  .about-grid,
  .contact-layout,
  .map-consent {
    grid-template-columns: 1fr;
  }
  .about-grid { gap: 34px; }
  .about-media { order: 2; }
  .about-copy { order: 1; }
  .about-media img { max-height: 380px; }

  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card img { height: auto; aspect-ratio: 8 / 5; }

  .contact-layout { gap: 26px; }
  .contact-copy { padding: 8px 0 4px; }
  .contact-form { padding: 28px; }

  .map-consent { gap: 24px; }
  .map-card,
  .map-placeholder,
  .map-card iframe { min-height: 340px; height: 340px; }

  .cta-band-inner {
    min-height: auto;
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px 40px;
  }
  .footer-grid > div:last-child { grid-column: auto; }

  .page-hero { padding: 64px 0 58px; }
  .gallery-page,
  .content-page { padding: 56px 0 72px; }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 72px; }
  .brand { width: 164px; }
  .brand img { height: 52px; }
  .main-nav { top: 72px; }

  .header-contact .contact-link span:last-child { display: none; }
  .round-icon { width: 38px; height: 38px; }

  .hero-grid { padding: 42px 0 46px; }
  .hero-image { background-position: 66% center; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10,12,14,.94) 0%, rgba(10,12,14,.79) 58%, rgba(10,12,14,.46) 100%),
      linear-gradient(0deg, rgba(10,12,14,.46), rgba(10,12,14,.08) 55%);
  }
  .hero h1 {
    font-size: clamp(39px, 10.7vw, 52px);
    line-height: 1.02;
  }
  .hero-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 52px; }

  .contact-card {
    width: 100%;
    max-width: none;
    border-radius: 11px;
  }
  .card-logo { width: min(220px, 78%); }

  .services-grid { grid-template-columns: 1fr; }
  .service-item,
  .service-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-item:first-child { border-top: 0; }
  .service-item + .service-item::before,
  .service-item:nth-child(4)::before { display: none; }
  .service-item { padding: 30px 24px; }

  .about,
  .projects,
  .contact,
  .why { padding: 52px 0; }

  .about-copy h2,
  .contact h2,
  .section-heading h2 { font-size: clamp(31px, 8.5vw, 42px); }
  .benefits { gap: 12px 18px; }

  .why-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .why-card { padding: 24px; }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading .btn { align-self: flex-start; }

  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 23px 20px; border-radius: 12px; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;
    min-height: 48px;
  }
  .contact-form textarea { min-height: 130px; }
  .form-heading h3 { font-size: 24px; }
  .privacy-check { font-size: 12px !important; }
  .form-submit { width: 100%; min-height: 52px; }

  .map-card,
  .map-placeholder,
  .map-card iframe { min-height: 300px; height: 300px; }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 36px 0;
  }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { width: 100%; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-hero { padding: 52px 0 48px; }
  .page-hero h1 { font-size: clamp(38px, 10vw, 50px); }
  .page-hero p { font-size: 16px; }
  .filter-bar { gap: 8px; }
  .filter-btn { min-height: 44px; padding: 9px 14px; }

  .lightbox { padding: 14px; }
  .lightbox-inner { width: min(100%, 96vw); }
  .lightbox-inner img { max-height: 72vh; }
  .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .header-contact { display: none; }
  .brand { width: 158px; }

  .hero-image { background-position: 70% center; }
  .hero-grid { padding: 38px 0 42px; gap: 24px; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .eyebrow { font-size: 13px; }

  .btn { width: 100%; min-height: 50px; padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .contact-card { padding: 22px 20px 20px; }
  .contact-card-row { font-size: 14px; }

  .about-media img { min-height: 230px; object-fit: cover; }
  .benefits { flex-direction: column; }

  .project-caption { padding: 14px 16px 16px; }
  .contact-heading { margin-bottom: 26px; }

  .map-placeholder { padding: 22px 16px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .brand { width: 146px; }
  .menu-toggle { width: 43px; height: 43px; }
  .hero h1 { font-size: 35px; }
  .contact-card { padding-inline: 18px; }
  .section-heading h2,
  .about-copy h2,
  .contact h2 { font-size: 30px; }
}

/* Better touch behavior on devices that do not hover */
@media (hover: none) {
  .btn:hover,
  .project-card:hover { transform: none; }
  .project-card:hover img { transform: none; }
}

/* Keyboard focus without changing the original layout. */
:focus-visible{outline:3px solid var(--orange-2);outline-offset:4px}
.form-status{padding:14px;border:1px solid var(--orange);border-radius:8px}

/* Explanations for the original building examples. */
.service-item p { font-size: 14px; line-height: 1.65; }
.project-detail-link { display: flex; justify-content: space-between; gap: 14px; margin-top: 7px; color: #a84100; font-size: 14px; font-weight: 500; }
.project-detail-link span { font-size: 18px; line-height: 1.2; }
.lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  height: fit-content;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #41464a;
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 24px 90px rgba(0,0,0,.45);
}
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: block; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; width: 100%; max-width: none; text-align: left; }
.lightbox-toolbar { position: sticky; top: 0; height: 0; z-index: 2; grid-column: 1 / -1; }
.lightbox-close { z-index: 1; top: 12px; right: 12px; border-color: #62696f; background: var(--dark); cursor: pointer; }
.lightbox-close:hover { background: #34393d; }
.lightbox-media { position: relative; align-self: center; margin-top: 0; background: #090b0c; }
.lightbox-inner .lightbox-media img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 0; }
.lightbox-image-label { display: block; padding: 12px 20px; font-size: 14px; color: #d0d4d7; }
.lightbox-copy { padding: 38px 34px 34px; min-width: 0; }
.lightbox-copy .eyebrow { padding-right: 48px; }
.lightbox-copy h2 { margin: 12px 0 18px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.lightbox-copy h3 { margin: 24px 0 8px; font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.lightbox-inner p { margin: 0 0 14px; font-weight: 400; font-size: 16px; line-height: 1.65; color: #d0d4d7; }
.lightbox-inner p.eyebrow { color: var(--orange-2); font-size: 14px; font-weight: 700; }
.lightbox-planning { border-left: 3px solid var(--orange); padding-left: 18px; }
.lightbox-planning ul { padding-left: 18px; margin: 0; color: #d0d4d7; font-size: 15px; line-height: 1.65; }
.lightbox-planning li + li { margin-top: 5px; }
.lightbox-contact { margin-top: 26px; }
@media (max-width: 900px) {
  .lightbox { width: min(680px, calc(100% - 28px)); max-height: calc(100dvh - 28px); }
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-media { margin-top: 0; }
  .lightbox-copy { padding: 24px 26px 28px; }
  .lightbox-copy .eyebrow { padding-right: 0; }
  .lightbox-close { top: 10px; right: 10px; }
}
@media (max-width: 520px) {
  .lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 10px; }
  .lightbox-copy { padding: 22px 20px 24px; }
  .lightbox-copy h2 { font-size: 29px; }
  .lightbox-contact { width: 100%; }
}

/* Operator photographs: original proportions in details, responsive card framing. */
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 48%; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-overlay { background: linear-gradient(90deg,rgba(10,12,14,.99) 0%,rgba(10,12,14,.95) 27%,rgba(10,12,14,.7) 46%,rgba(10,12,14,.52) 68%,rgba(10,12,14,.2) 100%); }
.hero-slideshow-controls { margin-top: 30px; }
.hero-slideshow-controls[hidden] { display: none; }
.hero-photo-label { display: block; margin-bottom: 10px; font-size: 13px; color: #f0f1f2; }
.hero-slideshow-buttons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-slideshow-buttons button { min-height: 44px; min-width: 44px; border: 1px solid #8f969b; border-radius: 6px; background: rgba(12,15,17,.82); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.hero-photo-choice[aria-pressed="true"] { border-color: var(--orange-2); background: var(--orange); color: #111315; font-weight: 800; }
.hero-slideshow-buttons .hero-photo-pause { padding: 0 12px; }
.hero-slideshow-buttons button:hover { border-color: var(--orange-2); }
.project-card[data-category="aussen"] img { object-position: center 56%; }
.project-card[data-lightbox*="mauerwerk"] img { object-position: center 42%; }
.project-card[data-lightbox*="gartenwege"] img { object-position: center 25%; }
.project-card[data-lightbox*="treppenmontage"] img { object-position: center 43%; }
.about-media img { object-position: center 40%; }
.lightbox-inner .lightbox-media img { max-height: 76dvh; }
@media (max-width: 900px) {
  .hero-overlay { background: linear-gradient(90deg,rgba(10,12,14,.91),rgba(10,12,14,.63)),linear-gradient(0deg,rgba(10,12,14,.6),transparent 70%); }
  .hero-slide { object-position: 58% center; }
  .hero-slideshow-controls { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.site-video { padding: 64px 0; }
.site-video-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.site-video h2 { font-size: clamp(30px, 4vw, 42px); }
.site-video p { color: #d0d4d7; line-height: 1.7; }
.site-video p.eyebrow { color: var(--orange-2); }
.site-video video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #090b0c; border-radius: 10px; }
#video-description { font-size: 14px; }
@media (max-width: 900px) { .site-video-grid { grid-template-columns: 1fr; gap: 22px; } }
