@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f3eee6;
  --text: #1d2429;
  --muted: #667077;
  --dark: #162027;
  --dark-soft: #25313a;
  --card: #ffffff;
  --line: rgba(29, 36, 41, 0.12);
  --accent: #b86f39;
  --accent-dark: #82471f;
  --sand: #e8dfd4;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(23, 32, 39, 0.1);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(243, 238, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--dark);
  color: white;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 720;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover {
  background: rgba(184, 111, 57, 0.1);
  color: var(--text);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 84px clamp(18px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(22, 32, 39, 0.93), rgba(22, 32, 39, 0.58), rgba(22, 32, 39, 0.16)),
    url("../images/dach-hero.jpg") center/cover;
  color: #fff;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #f0b27d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p,
.page-hero p {
  max-width: 700px;
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  cursor: pointer;
}

.btn.primary,
button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 35px rgba(184, 111, 57, 0.22);
}

.btn.secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.86);
  font-weight: 720;
}

.roof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 6vw, 90px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-40px);
}

.roof-strip a {
  min-height: 150px;
  padding: 24px;
  background: rgba(255,255,255,.94);
}

.roof-strip span,
.service-grid span,
.reference-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.roof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.roof-strip small {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 80px clamp(18px, 6vw, 90px);
}

.section.wide {
  max-width: 1560px;
  margin: -26px auto 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-head p {
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-grid article,
.steps article,
.contact-card,
.info-card,
.reference-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 250px;
  padding: 28px;
}

.service-grid article:nth-child(2),
.service-grid article:nth-child(4) {
  background: linear-gradient(180deg, #fff, #f7f2eb);
}

.split-section {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  min-height: 620px;
  background: var(--dark);
  color: #fff;
}

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

.split-text {
  align-self: center;
  padding: clamp(42px, 6vw, 90px);
}

.split-text p {
  color: rgba(255,255,255,0.72);
}

.check-list,
.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.contact-list li {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.88);
  font-weight: 720;
}

.contact-list li {
  background: #f6f1ea;
  color: var(--text);
}

.muted {
  background: var(--sand);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps article {
  min-height: 220px;
  padding: 28px;
}

.steps strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.9rem;
}

.page-hero {
  padding: 110px clamp(18px, 6vw, 90px) 72px;
  background:
    linear-gradient(135deg, rgba(22,32,39,.97), rgba(37,49,58,.95));
  color: #fff;
}

.page-hero.small {
  padding-bottom: 54px;
}

.contact-layout {
  padding: 72px clamp(18px, 6vw, 90px) 100px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.contact-card,
.info-card {
  padding: 30px;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: #faf8f4;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(184,111,57,.66);
  box-shadow: 0 0 0 4px rgba(184,111,57,.12);
}

textarea {
  resize: vertical;
}

.hours {
  display: grid;
  gap: 10px;
  margin: 18px 0 30px;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.hours span {
  color: var(--muted);
}

.reference-grid {
  padding: 72px clamp(18px, 6vw, 90px) 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reference-card {
  overflow: hidden;
  padding: 0;
}

.reference-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.reference-card div {
  padding: 26px;
}

.reference-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.reference-card.large {
  grid-column: span 2;
}

.reference-card.large img {
  height: 430px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 6vw, 90px) 90px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.cta-band h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 90px);
  background: #0f171d;
  color: white;
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

.site-footer a {
  color: rgba(255,255,255,.78);
}

@media (max-width: 1080px) {
  .service-grid,
  .steps,
  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .reference-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 660px;
  }

  h1 {
    max-width: none;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  button {
    width: 100%;
  }

  .roof-strip,
  .service-grid,
  .steps,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-card.large {
    grid-column: span 1;
  }

  .reference-card.large img,
  .reference-card img {
    height: 260px;
  }

  .hours div,
  .site-footer {
    flex-direction: column;
  }
}
