@font-face {
  font-family: "Roboto Local";
  src: url("assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Local";
  src: url("assets/fonts/Roboto-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand-orange: #d94e28;
  --text: #666666;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #8f2208;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background-color: #8f2208;
  background-image: url("assets/rnetz-visual-soft.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "Roboto Local", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
}

.card {
  width: min(100%, 800px);
  background: var(--surface);
}

.brand,
.intro,
.contact {
  padding-right: 30px;
  padding-left: 30px;
}

.brand {
  padding-top: 30px;
  padding-bottom: 30px;
}

.brand__logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
}

.intro {
  padding-top: 0;
  padding-bottom: 30px;
}

h1 {
  margin: 0 0 10px;
  color: var(--brand-orange);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

p {
  margin: 0 0 8px;
}

.notice {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.contact {
  padding-top: 0;
  padding-bottom: 30px;
}

.contact h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(205px, 1fr) minmax(180px, 0.9fr);
  gap: 50px;
  align-items: start;
}

.contact__group {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  font-style: normal;
}

.contact__item {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

a.contact__item:hover,
a.contact__item:focus-visible {
  color: var(--brand-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.contact__item:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.contact__item img {
  width: 15px;
  height: 21px;
  object-fit: contain;
}

.contact__item--address img {
  margin-top: 1px;
}

@media (max-width: 860px) {
  .card {
    width: 100%;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    align-items: start;
  }

  .brand {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .brand__logo {
    width: min(100%, 300px);
  }

  h1 {
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  .notice br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
