@font-face {
  font-family: "CalconsaSoehne";
  src: url("./font/sohne-kraftig.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page-bg: #fff;
  --ink: #000;
  --muted: #999;
  --font: "CalconsaSoehne", Arial, Helvetica, sans-serif;
  --gutter-x: clamp(0.75rem, 1.04vw, 1.25rem);
  --gutter-top: clamp(0.65rem, 1.45vh, 0rem);
  --gutter-bottom: clamp(1.4rem, 2.7vh, 1.85rem);
  --headline-size: clamp(6rem, 9.5vw, 15rem);
  --footer-size: clamp(1rem, 1vw, 1.2rem);
}

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

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font);
  font-synthesis: none;
}

::selection {
  background-color: #f15523;
  color: #f15523;
}

::-moz-selection {
  background-color: #f15523;
  color: #f15523;
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  /*text-decoration-line: underline;*/
}

a:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.25rem;
}

.parking {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter-top) var(--gutter-x) var(--gutter-bottom);
}

.headline {
  max-width: 100%;
  margin: 0;
  font-size: var(--headline-size);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.headline__line {
  display: block;
}

.headline__line:nth-child(2) {
  white-space: nowrap;
}

.headline__line + .headline__line {
  /* margin-top: 0.06em; */
}

.footer {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto;
  align-items: start;
  gap: 3rem;
  margin-top: 6rem;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: flex-start;
  margin: 0;
  font-size: clamp(2.75rem, 3vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.84;
}

.brand__registered {
  margin-left: 0em;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(0.02em);
}

.details {
  display: grid;
  grid-template-columns: minmax(10rem, auto) minmax(10.5rem, auto);
  gap: clamp(4.5rem, 7vw, 5.5rem);
  font-size: var(--footer-size);
  font-weight: 700;
  line-height: 1.03;
}

.details__block {
  min-width: 0;
  font-style: normal;
}

.details__title {
  display: block;
  margin: 0 0 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.details__line {
  display: block;
}

@media (min-width: 48rem) and (max-width: 64rem) {
  :root {
    --headline-size: clamp(5rem, 10vw, 6.25rem);
    --footer-size: 0.9375rem;
    --gutter-x: clamp(1rem, 0vw, 1.5rem);
  }

  .details {
    gap: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 47.99rem) {
  :root {
    --gutter-x: clamp(1.05rem, 3vw, 2.5rem);
    --gutter-top: clamp(1.15rem, 0vh, 2.5rem);
    --gutter-bottom: clamp(1.25rem, 4vw, 2.5rem);
    --headline-size: clamp(3.25rem, 15.5vw, 7.5rem);
    --footer-size: clamp(0.875rem, 3.6vw, 1.5rem);
  }

  .headline {
    letter-spacing: -0.045em;
    line-height: 0.94;
  }

  .headline__line:nth-child(2) {
    white-space: normal;
  }

  .headline__line + .headline__line {
    /* margin-top: 0.12em; */
  }

  .footer {
    display: block;
    margin-top: clamp(6rem, 16vh, 10rem);
  }

  .brand {
    margin-bottom: clamp(2rem, 8.5vw, 4rem);
    font-size: clamp(2.45rem, 10.8vw, 5.25rem);
  }

  .details {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 8.3vw, 4rem);
    font-size: var(--footer-size);
    line-height: 1.08;
  }

  .details__block--contact {
    order: -1;
  }
}

@media (max-height: 34rem) and (orientation: landscape) {
  :root {
    --gutter-top: 0.75rem;
    --gutter-bottom: 0.75rem;
    --headline-size: clamp(3.25rem, 8.5vw, 5.5rem);
  }

  .footer {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) auto;
    margin-top: 3rem;
  }

  .brand {
    margin-bottom: 0;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
  }

  .details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    font-size: 0.875rem;
  }

  .details__block--contact {
    order: initial;
  }
}
