/* ==========================================================
   Schreiner Raum- und Fassadengestaltung GmbH
   Website-Stylesheet

   Schriften (via Google Fonts, eingebunden im <head> von index.html):
     - Space Grotesk  → Überschriften / Display
     - Inter          → Fließtext
     - IBM Plex Mono  → Eyebrows, Labels, Zähler

   Leitfarben:
     --blue        #22428C  (CI-Blau, Hauptfarbe)
     --blue-deep   #132A5E  (Blau, dunkel – Hover-Zustände)
     --blue-ink    #0D1B3D  (Blau, sehr dunkel – Flächen/Footer-nah)
     --blue-mist   #4F6FB0  (Blau, hell – Text auf Dunkel)
     --blue-pale   #E7ECF7  (Blau, sehr hell – Flächen)
     --clay        #C4622C  (Warmer Akzent)
     --paper       #F5F6F8  (Seitenhintergrund)
     --charcoal    #191B20  (Fließtext)
   ========================================================== */
@import "fonts.css";

:root {
  --blue: #22428C;
  --blue-deep: #132A5E;
  --blue-ink: #0D1B3D;
  --blue-mist: #4F6FB0;
  --blue-pale: #E7ECF7;
  --clay: #C4622C;
  --paper: #F5F6F8;
  --red: #c0041a;
  --white: #FFFFFF;
  --charcoal: #191B20;
  --line: rgba(25, 27, 32, 0.12);
  --line-dark: rgba(245, 246, 248, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--clay);
  display: inline-block;
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.blue::before {
  background: var(--blue);
}

.eyebrow.on-dark {
  color: var(--white);
}

.eyebrow.on-dark::before {
  background: var(--blue-mist);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 246, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

header.on-hero {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.logo-blue {
  display: none;
}

.logo-white {
  display: block;
}

header:not(.on-hero) .logo-white {
  display: none;
}

header:not(.on-hero) .logo-blue {
  display: block;
}

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.links a {
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

nav.links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

nav.links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 6px 14px !important;
  font-weight: 700;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--blue-deep);
}

.nav-cta::after {
  display: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

/* ---------- Hero: full-bleed image ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 920px;
  overflow: hidden;
  color: var(--white);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 61, 0.55) 0%, rgba(13, 27, 61, 0.15) 32%, rgba(13, 27, 61, 0.25) 65%, rgba(13, 27, 61, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 76px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  padding: 8px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  font-weight: 700;
  max-width: 14ch;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-bottom-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 34px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: #fff;
  max-width: 42ch;
  filter: drop-shadow(0 0 4px #000);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  display: inline-block;
  margin-right: 10px;

}

.hero-actions.red a {
  background-color: var(--red);
}

.small {
  .hero {
    height: 100vh;
    min-height: 300px;
    max-height: 300px;
  }
  header.on-hero {
    background: rgba(0, 0, 0, 0.15);
  }
  .hero h1 {
    font-size: clamp(2.8rem, 4.4vw, 5.6rem);
    max-width: 100%;
  }

}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: 1em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  border-color: rgba(245, 246, 248, 0.5);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(245, 246, 248, 0.1);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.7);
}

.scroll-cue .line {
  width: 32px;
  height: 1px;
  background: rgba(245, 246, 248, 0.5);
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--blue-ink);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 36px 32px;
  border-right: 1px solid var(--line-dark);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat .label {
  font-size: 0.84rem;
  color: rgba(245, 246, 248, 0.6);
  margin-top: 8px;
}

/* ---------- Leistungen-Slider ---------- */
.field-slider {
  position: relative;
  height: 56vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
  background: var(--blue-ink);
}

.fs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}

.fs-slide::after {
  content: "MUSTERBILD — WIRD ERSETZT";
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 27, 61, 0.55);
  padding: 5px 16px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 1;
}

.fs-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.fs-slide.fs-real::after {
  content: none;
}

.fs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 27, 61, 0.88) 0%, rgba(13, 27, 61, 0.25) 55%, rgba(13, 27, 61, 0.15) 100%);
}

.fs-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 38px 32px 34px;
  color: var(--white);
}

.fs-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 35px;
}

.fs-text .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
}

.fs-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fs-text p {
  font-size: 0.96rem;
  color: #fff;
  max-width: 44ch;
  filter: drop-shadow(0 0 4px #000);
}

.fs-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.fs-dot {
  width: 34px;
  height: 3px;
  background: rgba(245, 246, 248, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.fs-dot.active {
  background: var(--white);
}

.fs-arrows {
  display: flex;
  gap: 8px;
  margin-left: 10px;
}

.fs-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 246, 248, 0.35);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fs-arrow:hover {
  border-color: var(--white);
  background: rgba(245, 246, 248, 0.08);
}

.fs-arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 700px) {
  .field-slider {
    height: 64vh;
  }

  .fs-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ---------- Section shell ---------- */
section {
  padding: 0;
}

.pad {
  padding: 110px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  margin-top: 14px;
  text-transform: uppercase;
  line-height: 1.02;
}

.section-head .desc {
  color: var(--charcoal);
  opacity: 0.68;
  font-size: 1.02rem;
  max-width: 44ch;
  hyphens: auto;
}

/* ---------- Leistungen ---------- */
.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 34px;
  transition: background 0.25s ease;
}

.service:hover {
  background: var(--blue-pale);
}

.service .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--blue);
  margin-bottom: 20px;
  display: block;
}

.service h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.service p {
  font-size: 0.92rem;
  color: var(--charcoal);
  opacity: 0.66;
}

/* ---------- Full-bleed image band ---------- */
.band {
  position: relative;
  height: 74vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
}

.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 61, 0.82) 0%, rgba(13, 27, 61, 0.35) 48%, rgba(13, 27, 61, 0.05) 75%);
  display: flex;
  align-items: center;
}

.band-content {
  color: var(--white);
  max-width: 560px;
  padding-left: 0;
}

.band-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  margin-top: 30px;
  border: 1px solid var(--line-dark);
  max-width: 420px;
}

.tf {
  background: rgba(13, 27, 61, 0.55);
  padding: 20px 22px;
}

.tf .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}

.tf .label {
  font-size: 0.8rem;
  color: rgba(245, 246, 248, 0.65);
  margin-top: 4px;
}

.band h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 14px 0 20px;
  text-transform: uppercase;
}

.band p {
  color: #fff;
  font-size: 1.02rem;
  max-width: 48ch;
  filter: drop-shadow(0 0 4px #000);
}

/* ---------- Watermark demo images ---------- */
.demo-img {
  position: relative;
  overflow: hidden;
  background: #c8ccd6;
}

.demo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-img::after {
  content: "MUSTERBILD — WIRD ERSETZT";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(13, 27, 61, 0.6);
  padding: 6px 18px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.demo-img.stock-img::after {
  content: none;
}

.stock-credit {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(245, 246, 248, 0.55);
}

/* ---------- Galerie: House & Living style masonry ---------- */
.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 8px;
}

.gallery-grid>div:nth-child(1) {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-grid>div:nth-child(2) {
  grid-column: span 2;
  grid-row: span 3;
}

.gallery-grid>div:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid>div:nth-child(4) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid>div:nth-child(5) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid>div:nth-child(6) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid>div:nth-child(7) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid>div:nth-child(8) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(13, 27, 61, 0.75), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* ---------- Karriere ---------- */
.career {
  background: var(--blue-pale);
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.career-text {
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.career h2 {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  margin: 14px 0 20px;
  text-transform: uppercase;
}

.career p.lead {
  color: var(--charcoal);
  opacity: 0.72;
  font-size: 1.02rem;
  margin-bottom: 26px;
  max-width: 46ch;
}

.perks {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.perk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.perk .n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--blue);
  padding-top: 3px;
}

.perk .t {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 3px;
}

.perk .d {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.66;
}

.career-photo {
  position: relative;
  min-height: 520px;
}

.career-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ---------- Kontakt ---------- */
.contact {
  background: var(--blue-ink);
  color: var(--white);
}

.contact-inner {
  padding: 110px 35px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact h2 {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  margin: 14px 0 26px;
  text-transform: uppercase;
}

.contact-card {
  border: 1px solid var(--line-dark);
  padding: 36px;
}

.contact-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .icon {
  width: 20px;
  height: 20px;
  color: var(--blue-mist);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.5);
  margin-bottom: 4px;
}

.contact-row .value {
  font-size: 1rem;
  color: var(--white);
}

.contact-row a.value:hover {
  color: var(--blue-mist);
}

.hours {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.hours .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.5);
  margin-bottom: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 4px 0;
  color: rgba(245, 246, 248, 0.85);
}

form.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.55);
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(245, 246, 248, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--white);
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.field input::placeholder, .field textarea::placeholder {
  color: rgba(245, 246, 248, 0.35);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-mist);
  background: rgba(245, 246, 248, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: var(--blue-deep);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(245, 246, 248, 0.5);
  margin-top: 10px;
}

/* ---------- Footer ---------- */
footer {
  background: #081128;
  color: rgba(245, 246, 248, 0.72);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 32ch;
  color: rgba(245, 246, 248, 0.5);
}

.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 246, 248, 0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(245, 246, 248, 0.82);
}

.footer-col a:hover {
  color: var(--blue-mist);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(245, 246, 248, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.links {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero-bottom-row {
    grid-template-columns: 1fr;
  }

  .scroll-cue {
    display: none;
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat {
    border-bottom: 1px solid var(--line-dark);
  }

  .section-head {
    grid-template-columns: 1fr;
  }

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

  .band-content {
    max-width: 100%;
  }

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

  .career-text {
    padding: 70px 32px;
  }

  .career-photo {
    min-height: 360px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-grid>div {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery-grid>div:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }

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

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }

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

  .pad {
    padding: 76px 0;
  }

  .contact-inner {
    padding: 76px 30px;
  }

  .brand-logo {
    height: 50px;
  }

  .small {
    .hero-content {
      padding-bottom: 30px;
    }

    .hero {
      height: 100vh;
      min-height: 200px;
      max-height: 200px;
    }
  }


}