/* F&U Abriss und Bautechnik — Hero / Header
   Premium dunkle Optik, Orange-Gold Akzente */

:root {
  --bg-deep: #050505;
  --bg-mid: #0b0b0b;
  --bg-soft: #111111;
  --text: #ffffff;
  --text-muted: #b8b8b8;
  --gold: #f0a12b;
  --gold-a: #f6b44b;
  --gold-b: #d98214;
  --gold-grad: linear-gradient(135deg, var(--gold-a) 0%, var(--gold-b) 100%);
  --nav-h: 88px;
  --shell-pad: clamp(1.25rem, 4vw, 3rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: max(90vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  overflow: clip;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__picture {
  position: absolute;
  inset: -4%;
  background-image: url("images/hero.png");
  background-size: cover;
  background-position: 62% center;
  transform: scale(1.06);
  animation: heroKenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1.12);
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__scrim--left {
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.97) 0%,
      rgba(5, 5, 5, 0.85) 28%,
      rgba(11, 11, 11, 0.35) 58%,
      rgba(17, 17, 17, 0.08) 78%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.55) 0%,
      transparent 35%,
      rgba(5, 5, 5, 0.45) 100%
    );
}

.hero__scrim--vignette {
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.85),
    inset 0 -80px 120px rgba(0, 0, 0, 0.65);
}

/* ========== Navigation ========== */
.site-header {
  position: relative;
  z-index: 50;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
  padding-block: 0.75rem;
  padding-inline: var(--shell-pad);
  max-width: 1320px;
  margin-inline: auto;
  width: 100%;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  justify-self: start;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(240, 161, 43, 0.15));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.125rem;
}

.brand__tag {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.nav__burger {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.6);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.nav__burger-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav__burger:hover {
  border-color: rgba(240, 161, 43, 0.45);
  box-shadow: 0 0 0 1px rgba(240, 161, 43, 0.12);
}

.nav__drawer {
  grid-column: 2;
  display: contents;
}

.nav__links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__cta {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav__phone:hover,
.nav__phone:focus-visible {
  color: var(--gold);
}

.nav__phone-icon {
  display: flex;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s,
    background 0.35s,
    border-color 0.35s,
    color 0.35s;
}

.btn--nav {
  padding-inline: 1.35rem;
  background: var(--gold-grad);
  color: #111;
  box-shadow: 0 8px 28px rgba(217, 130, 20, 0.28);
}

.btn--nav:hover,
.btn--nav:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(246, 180, 75, 0.38);
}

/* ========== Hero body ========== */
.hero__body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 2rem;
}

.hero__main {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.headline {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.headline__line {
  display: block;
}

.headline__line--gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(240, 161, 43, 0.18));
}

.subline {
  margin: 0 0 2.25rem;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn--primary {
  background: var(--gold-grad);
  color: #141414;
  box-shadow:
    0 10px 40px rgba(217, 130, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 14px 48px rgba(246, 180, 75, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 161, 43, 0.65);
  color: var(--gold-a);
  box-shadow: 0 0 24px rgba(240, 161, 43, 0.12);
}

/* ========== Feature ribbon ========== */
.hero__ribbon {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.feature-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2vw, 2rem);
  list-style: none;
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.feature-bar__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.feature-bar__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

.feature-bar__title {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.feature-bar__desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ========== Badge ========== */
.hero__badge {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(6rem, 14vh, 9rem);
  z-index: 15;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--gold-grad) border-box;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.badge__text {
  position: relative;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text);
}

/* ========== Entrance animations ========== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__picture {
    animation: none;
    transform: scale(1.06);
  }

  .anim-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========== Tablet ========== */
@media (max-width: 1024px) {
  .feature-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__badge {
    bottom: clamp(10rem, 22vh, 13rem);
    width: 100px;
    height: 100px;
    right: var(--shell-pad);
  }

  .badge__text {
    font-size: 0.5rem;
  }
}

/* ========== Mobile navigation ========== */
@media (max-width: 900px) {
  :root {
    --nav-h: 76px;
  }

  .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .brand {
    grid-column: 1;
  }

  .nav__burger {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }

  .nav__drawer {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.75rem;
  }

  body.nav-open .nav__drawer {
    display: flex;
  }

  .nav__links {
    grid-column: unset;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav__cta {
    grid-column: unset;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nav__phone {
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }

  .btn--nav {
    text-align: center;
  }

  body.nav-open .nav__burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav__burger-line:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav__burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero__picture {
    background-position: 70% center;
  }

  .hero__scrim--left {
    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.94) 0%,
        rgba(5, 5, 5, 0.82) 45%,
        rgba(11, 11, 11, 0.55) 100%
      ),
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.92) 0%,
        rgba(5, 5, 5, 0.55) 100%
      );
  }
}

@media (max-width: 640px) {
  .headline {
    font-size: clamp(2rem, 10vw, 2.75rem);
    letter-spacing: -0.02em;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .feature-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero__badge {
    display: none;
  }

  .nav__phone-num {
    font-size: 0.8125rem;
  }
}

/* ========== Page sections (below hero) ========== */
.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  background: var(--bg-deep);
}

.section--surface {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section__inner {
  position: relative;
}

.section__head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.eyebrow--section {
  margin-bottom: 1rem;
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section__title--left {
  text-align: left;
}

.section__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  background: rgba(17, 17, 17, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.45s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 161, 43, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.service-card__icon {
  margin-bottom: 1.25rem;
}

.service-card__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Projects */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
}

.project-card__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(5, 5, 5, 0.92) 100%
  );
}

.project-card__media--a {
  background-image: url("images/hero.png");
  background-position: 22% center;
}

.project-card__media--b {
  background-image: url("images/hero.png");
  background-position: 55% center;
}

.project-card__media--c {
  background-image: url("images/hero.png");
  background-position: 82% center;
}

.project-card__body {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__meta {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about__lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 1rem;
}

.about__text {
  margin: 0 0 1.5rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__bullets li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.about__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-grad);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat {
  padding: 1.25rem 1rem;
  text-align: center;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.stat__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about__quote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--gold-b);
  background: rgba(5, 5, 5, 0.5);
  border-radius: 0 8px 8px 0;
}

.about__quote p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-muted);
}

.about__quote cite {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

/* Contact */
.section--contact {
  padding-bottom: clamp(5rem, 11vw, 8rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact__teaser {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact__address {
  font-style: normal;
  margin: 0 0 1.25rem;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact__address strong {
  color: var(--text);
  font-size: 1.05rem;
}

.contact__lines {
  margin: 0 0 1.25rem;
  line-height: 1.8;
  font-size: 0.975rem;
}

.contact__link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--gold-a);
  text-decoration: underline;
}

.contact__hours {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.contact__hours strong {
  color: var(--text);
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__input {
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form__input::placeholder {
  color: rgba(184, 184, 184, 0.45);
}

.form__input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.form__input:focus {
  outline: none;
  border-color: rgba(240, 161, 43, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 161, 43, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.form__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 1rem 0 1.25rem;
  cursor: pointer;
}

.form__check input {
  margin-top: 0.25rem;
  accent-color: var(--gold-b);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.link-modal {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-modal:hover {
  color: var(--gold-a);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn--wide {
  min-width: 220px;
}

.form__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gold-a);
}

/* Footer */
.footer {
  background: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
}

.footer__brand-name {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer__brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__tagline {
  margin: 0;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer__col-title {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer__contact a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-block: 1.25rem;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(184, 184, 184, 0.65);
}

.footer__legal {
  margin: 0;
  font-size: 0.8125rem;
}

.footer__legal a {
  color: rgba(184, 184, 184, 0.85);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--gold);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--bg-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.modal__body p {
  margin: 0 0 1rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.modal__close:hover {
  background: rgba(240, 161, 43, 0.2);
  color: var(--gold);
}

body.modal-open {
  overflow: hidden;
}

/* Scroll reveal (only when JS runs — avoids invisible content without JS) */
.has-js .js-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.has-js .js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .has-js .js-reveal:not(.is-visible),
  .has-js .js-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .modal__dialog {
    transition: none;
  }

  .modal.is-open .modal__dialog {
    transform: none;
  }
}

/* Sections responsive */
@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__quote {
    margin-top: 0.5rem;
  }
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .form__row--2 {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    justify-items: center;
  }

  .footer__contact p {
    margin-inline: auto;
  }

  .footer__bar-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer__logo-link {
    justify-content: center;
  }

  .footer__tagline {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .services {
    grid-template-columns: 1fr;
  }

  .section__title--left {
    text-align: left;
  }
}
