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

:root {
  color-scheme: light;
  --graphite: #28373c;
  --ink: #233137;
  --muted: #4b5a5e;
  --orange: #ff913d;
  --orange-hover: #ffab6a;
  --page: #f5f6f5;
  --line: #dce2e0;
  --white: #fff;
  --radius: 1.125rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.55 Inter, system-ui, sans-serif;
}

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

address {
  font-style: normal;
}

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

a {
  color: inherit;
}

a:focus-visible,
.site-menu__toggle:focus-visible {
  outline: 3px solid #a94503;
  outline-offset: 4px;
}

.career a:focus-visible {
  outline-color: var(--white);
}

.shell {
  width: min(100% - clamp(2rem, 8vw, 7rem), 80rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  translate: 0 calc(-100% - 1.5rem);
  padding: .75rem 1rem;
  border-radius: .375rem;
  background: var(--white);
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  width: clamp(7.25rem, 13vw, 10.25rem);
  flex: 0 0 auto;
  border-radius: .25rem;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-menu {
  position: relative;
  z-index: 1;
}

.site-menu__toggle {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .625rem;
  padding: .5rem .875rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--white);
  list-style: none;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 700;
}

.site-menu__toggle::-webkit-details-marker {
  display: none;
}

.site-menu__toggle:hover,
.site-menu[open] .site-menu__toggle {
  border-color: #d3712e;
}

.site-menu__icon {
  display: grid;
  width: 1.125rem;
  place-items: center;
}

.site-menu__icon::before,
.site-menu__icon::after,
.site-menu__icon span {
  width: 100%;
  height: 2px;
  grid-area: 1 / 1;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.site-menu__icon::before {
  transform: translateY(-5px);
}

.site-menu__icon::after {
  transform: translateY(5px);
}

.site-menu[open] .site-menu__icon::before {
  transform: rotate(45deg);
}

.site-menu[open] .site-menu__icon::after {
  transform: rotate(-45deg);
}

.site-menu[open] .site-menu__icon span {
  visibility: hidden;
}

.site-nav {
  position: absolute;
  inset: calc(100% + .5rem) 0 auto auto;
  display: grid;
  width: 12rem;
  padding: .375rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--white);
  box-shadow: 0 .75rem 2rem rgb(40 55 60 / 16%);
}

.site-nav a {
  padding: .625rem .75rem;
  border-radius: .375rem;
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--page);
}

.site-footer a:hover {
  text-decoration-thickness: 2px;
  text-decoration-line: underline;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.hero__content {
  display: flex;
  min-height: clamp(21rem, 34vw, 29rem);
  width: 46%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3.5rem 0 3.5rem clamp(2.125rem, 5vw, 4.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: #e0e6e6;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: .875rem;
  height: .1875rem;
  flex: none;
  transform: skewX(-35deg);
  background: var(--orange);
  content: "";
}

.hero h1 {
  margin-top: 1.125rem;
  font-size: clamp(3.25rem, 6vw, 5.375rem);
  font-weight: 790;
  line-height: .98;
  letter-spacing: -.059em;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero__intro {
  max-width: min(34ch, calc(100% - .75rem));
  margin-top: 1.375rem;
  color: #e0e6e6;
  font-size: clamp(1rem, 1.45vw, 1.1875rem);
}

.hero__image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 43%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  background: #434340;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.button {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  padding: .625rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-weight: 700;
  font-size: .9375rem;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}

.button--primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.button--primary:hover {
  border-color: var(--orange-hover);
  background: var(--orange-hover);
}

.button--secondary {
  border-color: var(--line);
  background: var(--page);
}

.button--secondary:hover {
  border-color: #d3712e;
  background: #fff4eb;
}

.locations,
.career {
  scroll-margin-top: 1.5rem;
}

.locations {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.section-title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 760;
  letter-spacing: -.047em;
  line-height: 1.08;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.875rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
}

.location-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 .375rem 1.25rem rgb(40 55 60 / 5%);
}

.location-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.66;
  object-fit: cover;
  background: var(--line);
}

.location-card__photo--caravanland {
  object-position: 66% 50%;
}

.location-card__photo--carbotec {
  object-position: 50% 35%;
}

.location-card__photo--poessl {
  object-position: 50% 35%;
}

.location-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 clamp(1.125rem, 2.2vw, 1.625rem) 1.625rem;
}

.location-card__logo {
  display: grid;
  width: 7rem;
  height: 4.125rem;
  margin-top: -1.5rem;
  margin-bottom: .875rem;
  padding: .5rem .75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: var(--white);
  box-shadow: 0 .25rem .75rem rgb(40 55 60 / 7%);
}

.location-card__logo--wide {
  width: 8.375rem;
}

.location-card__logo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.location-card h3 {
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.location-card p {
  margin: .5rem 0 1.25rem;
  color: var(--muted);
}

.location-card address {
  margin-top: auto;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 550;
}

.career {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.career .section-title {
  margin-top: .625rem;
  font-size: clamp(1.75rem, 3.7vw, 2.875rem);
}

.career__name {
  white-space: nowrap;
}

.career .button {
  flex: 0 0 auto;
}

.imprint {
  padding: clamp(1.125rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.imprint__intro {
  margin-top: .75rem;
  color: var(--muted);
}

.imprint section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.imprint h2 {
  margin-bottom: .5rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.imprint address + p {
  margin-top: .75rem;
}

.imprint a {
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: 2.75rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1.25rem;
}

@media (max-width: 64rem) {
  .hero__content {
    padding-block: 2.5rem;
  }
}

@media (max-width: 58rem) {
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .site-header {
    min-height: 4.5rem;
  }

  .hero__content {
    min-height: 0;
    width: auto;
    padding: 2.25rem clamp(1.125rem, 6vw, 2.75rem);
  }

  .hero h1 {
    font-size: clamp(2.875rem, 10vw, 4.125rem);
  }

  .hero__intro {
    max-width: 34ch;
  }

  .hero__image {
    position: static;
    display: block;
    height: clamp(11rem, 53vw, 21rem);
    clip-path: none;
  }
}

@media (max-width: 38rem) {
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .career,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .career__name {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
