:root {
  --yellow: #f5c400;
  --ink: #17191c;
  --paper: #f6f5f1;
  --muted: #697078;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 82px;
  padding: 0 clamp(22px, 5vw, 80px);
  background: #fff;
}

.brand, .wordmark {
  display: block;
  font: 700 28px/.85 "Barlow Condensed", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.brand small, .wordmark small {
  display: block;
  margin-top: 8px;
  font: 600 9px "DM Sans", sans-serif;
  letter-spacing: .17em;
}

nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
nav a:hover, nav .current { color: #9c7d00; }
.header-phone { padding-left: 28px; border-left: 1px solid #ddd; line-height: 1.1; }
.header-phone span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.header-phone strong { font: 700 25px "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.menu-button { display: none; border: 0; background: none; font-size: 25px; }

.reference-header {
  height: 104px;
  background: var(--yellow);
}

.reference-header .brand {
  display: none;
}

.reference-header nav {
  gap: clamp(28px, 4vw, 70px);
  margin-left: 0;
  font: 600 clamp(24px, 2.3vw, 34px) "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.reference-header nav a:hover,
.reference-header nav .current {
  color: #fff;
}

.reference-header .header-phone {
  margin-left: auto;
  border: 0;
}

.reference-header .header-phone span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.reference-header .header-phone strong {
  font-size: 30px;
}

.hero { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; color: #fff; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { background-position: center; background-size: cover; filter: brightness(.55); opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 1; width: min(650px, 90%); margin-left: clamp(24px, 12vw, 190px); }

.reference-hero {
  width: 100%;
  margin: 0;
  text-align: center;
}

.reference-hero h1 {
  font-size: clamp(74px, 8vw, 124px);
  font-weight: 500;
  letter-spacing: .03em;
}

.reference-hero p {
  margin: 23px 0 136px;
  font-size: clamp(14px, 1.7vw, 23px);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reference-hero .button {
  padding: 25px 34px;
  border-radius: 999px;
  font-size: 18px;
}
.eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { margin: 0; font: 700 clamp(48px, 7vw, 92px)/.88 "Barlow Condensed", sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: clamp(40px, 5vw, 66px); line-height: .94; }
em { color: var(--yellow); font-style: normal; }
.hero-copy { width: min(460px, 100%); margin: 27px 0 32px; color: #eee; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 27px; padding: 16px 22px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 20px; line-height: 0; }
.button-yellow { color: var(--ink); background: var(--yellow); }
.button-dark { color: #fff; background: var(--ink); }
.button-ghost { color: #fff; border: 1px solid #ffffff88; }
.hero-dots { position: absolute; right: 5vw; bottom: 87px; z-index: 1; display: flex; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #ffffff75; cursor: pointer; }
.hero-dots button.active { background: var(--yellow); transform: scale(1.3); }
.hero-ribbon { position: absolute; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 18px; width: 100%; padding: 17px 12vw; color: var(--ink); background: #ffffffec; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-ribbon i { width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }

.section { padding: clamp(70px, 10vw, 130px) clamp(24px, 12vw, 190px); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; background: #fff; }
.intro h2 em, .tariff-copy h2 em { color: #9c7d00; }
.intro-text { max-width: 600px; padding-left: 26px; border-left: 2px solid var(--yellow); color: #4f555b; line-height: 1.75; }
.section-dark { color: #fff; background: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; gap: 1px; background: #3c3f42; }
.service-grid article { position: relative; min-height: 300px; padding: 33px 25px; background: var(--ink); }
.service-number { position: absolute; top: 20px; right: 20px; color: #6b6e71; font: 600 15px "Barlow Condensed", sans-serif; }
.service-icon { display: grid; width: 51px; height: 51px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: 25px; font-weight: bold; }
.service-grid h3 { margin: 36px 0 12px; font: 600 25px "Barlow Condensed", sans-serif; text-transform: uppercase; }
.service-grid p { margin: 0; color: #c6c8ca; font-size: 13px; line-height: 1.6; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(50px, 7vw, 90px) clamp(24px, 12vw, 190px); background: var(--yellow); }
.offer h2 em { color: #fff; }
.offer p { max-width: 360px; line-height: 1.6; }
.about { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(45px, 10vw, 155px); background: #fff; }
.about-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; padding: clamp(36px, 5vw, 70px); color: #fff; background: var(--ink); }
.about-stat strong { color: var(--yellow); font: 600 68px/.8 "Barlow Condensed", sans-serif; }
.about-copy { color: #4e555b; line-height: 1.8; }
.about-copy p:first-child { margin-top: 0; color: var(--ink); font-size: 19px; line-height: 1.65; }
.tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; background: #e9e8e4; }
.tariff-copy > p:not(.eyebrow) { max-width: 465px; line-height: 1.75; }
.tariff-table { padding: 15px 35px; background: #fff; }
.tariff-table > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e7e7e7; }
.tariff-table span { color: #626a71; font-size: 13px; }
.tariff-table strong { font: 600 25px "Barlow Condensed", sans-serif; white-space: nowrap; }
.tariff-table small { display: block; padding: 18px 0 5px; color: #787e83; font-size: 11px; line-height: 1.5; }
.text-link { display: inline-block; margin-top: 14px; padding-bottom: 5px; border-bottom: 2px solid var(--yellow); font-size: 13px; font-weight: 700; }
.contact { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; padding: clamp(65px, 9vw, 120px) clamp(24px, 12vw, 190px); color: #fff; background: var(--ink); }
.contact-phone { display: block; margin: 25px 0 8px; color: var(--yellow); font: 700 clamp(48px, 7vw, 90px)/.9 "Barlow Condensed", sans-serif; }
.wertingen { margin: 0 0 30px; color: #c7c7c7; }
address { display: flex; align-self: end; flex-direction: column; gap: 14px; padding-left: 32px; border-left: 1px solid #4a4b4e; color: #c6c8ca; font-style: normal; line-height: 1.5; }
address strong { color: #fff; font: 600 26px "Barlow Condensed", sans-serif; text-transform: uppercase; }
address a { color: var(--yellow); }
footer { display: flex; justify-content: flex-end; gap: 25px; padding: 23px clamp(24px, 12vw, 190px); color: #93969b; background: #111214; font-size: 11px; }
footer span:first-child { margin-right: auto; }
footer a { color: #fff; }

@media (max-width: 850px) {
  .site-header { height: 70px; }
  .site-header nav { display: none; }
  .header-phone { margin-left: auto; padding-left: 0; border: 0; }
  .header-phone span { display: none; }
  .menu-button { display: block; }
  .reference-header { height: 78px; }
  .reference-header nav { display: flex; gap: 16px; font-size: 20px; }
  .reference-header nav a:nth-child(n+4) { display: none; }
  .reference-header .header-phone strong { font-size: 25px; }
  .reference-header .header-phone span { display: none; }
  .reference-hero p { margin-bottom: 70px; padding: 0 18px; line-height: 1.7; }
  .section, .tariffs { padding-right: 6vw; padding-left: 6vw; }
  .intro, .about, .tariffs, .contact { grid-template-columns: 1fr; gap: 45px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .offer { flex-direction: column; align-items: flex-start; }
  address { align-self: auto; }
}

@media (max-width: 520px) {
  .hero-content { margin-left: 7vw; }
  .hero-ribbon { gap: 10px; padding: 14px 7vw; font-size: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .tariff-table > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  footer { flex-wrap: wrap; justify-content: start; }
  footer span:first-child { width: 100%; margin: 0; }
}
