:root {
  --ink: #25282a;
  --gold: #ac792a;
  --cream: #f1ece5;
  --paper: #faf8f4;
  --muted: #77736d;
  --line: #d8cec1;
  --dark: #202326;
  --hero-photo-right-gap: 5%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.monogram {
  font:
    700 4rem/1 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  color: var(--gold);
  letter-spacing: -0.08em;
}

.brandline {
  height: 48px;
  width: 1px;
  background: var(--gold);
}

.brandname {
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}

.brandname small {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.top {
  position: sticky;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  padding: 18px 0;
  background: rgba(250, 248, 244, 0.98);
  box-shadow: 0 1px 0 rgba(172, 121, 42, 0.18);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  padding: 9px 4px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav a {
  white-space: nowrap;
  text-decoration: none;
}

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

.languages {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.languages a {
  text-decoration: none;
  opacity: 0.65;
}

.languages a:hover,
.languages a.active {
  opacity: 1;
  color: var(--gold);
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 690px;
  background:
    linear-gradient(
      90deg,
      rgba(247, 243, 237, 0.98) 0%,
      rgba(247, 243, 237, 0.91) 44%,
      rgba(247, 243, 237, 0.16) 74%
    ),
    url("reinhard-wille-businessfoto.png") right var(--hero-photo-right-gap)
      center / auto 100% no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 0 72px;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  font:
    400 clamp(3rem, 6vw, 5.6rem)/1.03 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.045em;
  margin: 20px 0;
}

.hero h1 span {
  color: var(--gold);
}

.hero h1 .hero-impact {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink);
  font-size: inherit;
}

.lead {
  font-size: 1.18rem;
  max-width: 590px;
  color: #484744;
}

.hero-meta {
  display: flex;
  gap: 24px;
  margin: 34px 0;
  color: #4f4c47;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  transition: 0.2s;
}

.button:hover {
  background: var(--gold);
  color: white;
}

.floating-cta {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  background: var(--gold);
  color: white;
  box-shadow: 0 8px 24px rgba(32, 35, 38, 0.25);
}

section {
  padding: 100px 0;
}

section[id] {
  scroll-margin-top: 110px;
}

.ddim {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.ddim img {
  width: 95px;
  height: 68px;
  object-fit: contain;
  background: #fff;
}

.photo-strip {
  padding: 48px 0;
  background: var(--cream);
}

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

.photo-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}

.photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.photo-grid figure:first-child img {
  object-position: center 12%;
}

.photo-grid figure:last-child img {
  object-position: center 8%;
}

.photo-grid figure:hover img {
  transform: scale(1.04);
}

.photo-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 15px 13px;
  color: white;
  background: linear-gradient(transparent, rgba(20, 24, 28, 0.78));
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.offer-heading {
  max-width: none;
}

.industries .section-head {
  max-width: none;
}

.section-head h2 {
  font:
    400 clamp(2.2rem, 4vw, 3.6rem)/1.1 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  margin: 10px 0 16px;
  letter-spacing: -0.03em;
}

.offer-heading h2 {
  white-space: nowrap;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  background: #fff;
  border: 1px solid #e5ded5;
  min-height: 205px;
}

.card .num {
  font:
    2rem "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  color: var(--gold);
}

.card h3 {
  font-size: 1.06rem;
  font-weight: 500;
  margin: 10px 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.stats {
  background: var(--dark);
  color: white;
  padding: 50px 0;
}

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

.stat {
  border-right: 1px solid #79613e;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  color: #d5aa68;
  font:
    3rem "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
}

.stat span {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about {
  background: var(--cream);
}

.about-heading {
  font:
    400 clamp(2.4rem, 4vw, 3.6rem) / 1.1 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  margin: 12px 0 20px;
}

@media (min-width: 801px) {
  .about-heading {
    white-space: nowrap;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.quote {
  font:
    italic 1.5rem/1.5 "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  border-left: 2px solid var(--gold);
  padding-left: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.chips span {
  border: 1px solid var(--line);
  padding: 7px 11px;
  font-size: 0.78rem;
}

.mandates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mandate {
  padding: 24px;
  background: white;
  border-top: 2px solid var(--gold);
}

.mandate small {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.mandate h3 {
  font:
    1.35rem "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  margin: 8px 0;
}

.mandate p {
  color: var(--muted);
  margin: 0;
}

.mandate b {
  font-weight: 600;
  color: var(--ink);
}

.industries {
  background: var(--dark);
  color: white;
}

.industries .section-head p {
  color: #c6c1b9;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #55514a;
  border: 1px solid #55514a;
}

.industry-grid div {
  padding: 20px;
  background: var(--dark);
  font-size: 0.9rem;
}

.contact {
  background: var(--cream);
}

.contactbox {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 46px;
  background: white;
  border: 1px solid var(--line);
}

.contactbox h2 {
  font:
    400 2.7rem "Avenir Next",
    Avenir,
    "Segoe UI",
    sans-serif;
  margin: 7px 0;
}

.contactdetails {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contactdetails a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}

footer {
  background: var(--dark);
  color: #ddd;
  padding: 24px 0;
  font-size: 0.75rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer a {
  color: #ddd;
}

@media (max-width: 800px) {
  .nav {
    gap: 13px;
    font-size: 0.65rem;
  }
  .hero {
    min-height: 700px;
    background-position: right var(--hero-photo-right-gap) center;
    background-size: auto 100%;
    background-image:
      linear-gradient(
        90deg,
        rgba(247, 243, 237, 0.95),
        rgba(247, 243, 237, 0.76) 55%,
        rgba(247, 243, 237, 0.18)
      ),
      url("reinhard-wille-businessfoto.png") right var(--hero-photo-right-gap)
        center / auto 100% no-repeat;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contactbox {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .stat:nth-child(2) {
    border: 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top {
    padding: 17px 0;
  }
  .top .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand languages"
      "nav nav";
    align-items: center;
    gap: 12px;
  }
  .brand {
    grid-area: brand;
    min-width: 0;
    gap: 12px;
  }
  .monogram {
    font-size: 3rem;
  }
  .brandline {
    height: 38px;
  }
  .brandname {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  .brandname small {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }
  .nav {
    grid-area: nav;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .languages {
    grid-area: languages;
    margin-left: 0;
    padding-left: 10px;
    gap: 6px;
  }
  .hero {
    min-height: 740px;
    padding-top: 45px;
    background-position: right var(--hero-photo-right-gap) center;
    background-size: auto 100%;
  }
  .hero-copy {
    max-width: 470px;
    margin-left: 0;
    margin-right: auto;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.15rem);
  }
  .hero-meta {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.67rem;
  }
  section {
    padding: 70px 0;
  }
  .mandates {
    grid-template-columns: 1fr;
  }
  .mandate-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .contactbox {
    padding: 27px;
  }
  .contactbox h2 {
    font-size: 2rem;
  }
  .floating-cta {
    right: 16px;
    bottom: 16px;
  }
  footer .wrap {
    flex-direction: column;
  }
}

.legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(172, 121, 42, 0.6);
}

footer .wrap {
  align-items: center;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 23px 25px;
  background: #fff;
  border-top: 2px solid var(--gold);
}

.benefit-mark {
  display: flex;
  flex: 0 0 46px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card .number {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding-top: 0;
}

.benefit-card p {
  margin: 0;
}

.benefit-card:last-child {
  grid-column: 1/-1;
}

@media (max-width: 700px) {
  .offer-heading h2 {
    white-space: normal;
    text-wrap: balance;
  }
  .benefit-list {
    grid-template-columns: 1fr;
  }
  .benefit-card:last-child {
    grid-column: auto;
  }
}

.legal-page .top {
  position: fixed;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  padding: 26px 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.96),
    rgba(250, 248, 244, 0.7) 72%,
    transparent
  );
}

.legal-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 690px;
  background:
    linear-gradient(
      90deg,
      rgba(247, 243, 237, 0.98) 0%,
      rgba(247, 243, 237, 0.91) 44%,
      rgba(247, 243, 237, 0.16) 74%
    ),
    url("reinhard-wille-businessfoto.png") right var(--hero-photo-right-gap)
      center / auto 100% no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
}

@media (max-width: 560px) {
  .legal-page .hero {
    min-height: 740px;
    padding-top: 160px;
    background-position: right var(--hero-photo-right-gap) center;
    background-size: auto 100%;
  }
}

.legal-page .legal-main {
  padding: 150px 0 80px;
  min-height: 72vh;
}

.legal-page .legal-main h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 28px;
}

.legal-page .legal-main h2 {
  font-size: 1.25rem;
  margin: 34px 0 10px;
  color: var(--ink);
}

.legal-page .legal-main p {
  max-width: 850px;
  color: #514e49;
}

.legal-page .legal-main a {
  color: var(--gold);
}

.legal-page .legal-main .notice {
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: var(--cream);
}

.legal-page .legal-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-page {
  scroll-padding-top: 0;
}
