@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus dem Logo */
  --blau: #0048a8;
  --blau-tief: #00378a;
  --anthrazit: #282828;
  --grau: #555c64;
  --stahl-hell: #f5f7fa;
  --stahl: #e3e8ee;
  --fuge: #c3ccd8;
  --weiss: #ffffff;

  --schrift: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --schrift-titel: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", Roboto, Arial, sans-serif;

  --lamelle: 1.75rem;
  --spalte: 44rem;
  --rand: clamp(1rem, 5vw, 2.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  color: var(--anthrazit);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.55;
}

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

a {
  color: var(--blau);
}

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
}

/* Rolltor: Lamellen, unten an der blauen Abschlussleiste ausgerichtet */
.tor {
  height: clamp(4.5rem, 20vh, 12.25rem);
  background:
    linear-gradient(to bottom, var(--stahl-hell) 0%, var(--stahl) 88%, var(--fuge) 88%, var(--fuge) 100%)
    0 100% / 100% var(--lamelle) repeat-y;
  border-bottom: 0.625rem solid var(--blau);
}

.tor-klein {
  height: calc(3 * var(--lamelle));
}

.spalte {
  width: 100%;
  max-width: calc(var(--spalte) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

main {
  flex: 1;
}

h1,
h2,
h3 {
  font-family: var(--schrift-titel);
  font-weight: 700;
  color: var(--anthrazit);
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1.1;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3125rem;
  line-height: 1.2;
}

address {
  font-style: normal;
}

/* Startseite */

.botschaft {
  padding-block: clamp(2rem, 6vw, 3.5rem) clamp(2.5rem, 7vw, 4.5rem);
}

.logo {
  width: min(20rem, 72vw);
  margin: 0 0 clamp(2rem, 5vw, 3rem) -0.25rem;
}

.einleitung {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  color: var(--grau);
  text-wrap: pretty;
}

.kontakt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kontakt a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 4rem;
  padding: 0.625rem 1.375rem 0.625rem 1.125rem;
  border: 2px solid var(--blau);
  border-radius: 0.25rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kontakt svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
}

.kontakt .art {
  display: block;
  font-size: 0.875rem;
}

.kontakt .wert {
  display: block;
  font-weight: 600;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

.kontakt .telefon a {
  background: var(--blau);
  color: var(--weiss);
}

.kontakt .telefon a:hover {
  background: var(--blau-tief);
  border-color: var(--blau-tief);
}

.kontakt .mail a {
  background: var(--weiss);
  color: var(--blau);
}

.kontakt .mail a:hover {
  background: var(--stahl-hell);
}

/* Abschnitte unter der Botschaft, getrennt durch eine Linie in Spaltenbreite */
.abschnitt {
  padding-block: clamp(2.5rem, 7vw, 4rem);
  background: linear-gradient(var(--stahl), var(--stahl)) var(--rand) 0 / calc(100% - 2 * var(--rand)) 1px no-repeat;
}

.abschnitt p {
  margin: 0 0 1rem;
  max-width: 38rem;
}

.orte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.ort {
  padding: 1.25rem 1.5rem;
  background: var(--stahl-hell);
  border-left: 0.3125rem solid var(--fuge);
}

.ort-showroom {
  border-left-color: var(--blau);
}

.ort address {
  margin-bottom: 0.75rem;
}

.ort p {
  margin: 0;
  font-size: 1rem;
  color: var(--grau);
}

.ort .route {
  font-weight: 600;
  font-size: 1.125rem;
}

.liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.25rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.liste li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--stahl);
  font-weight: 600;
}

.liste li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blau);
  transform: translateY(-0.1em);
}

/* Unterseiten: Impressum, Datenschutz, 404 */

.kopf {
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
}

.kopf a {
  display: inline-block;
}

.kopf img {
  width: min(12.5rem, 56vw);
}

.text {
  padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
}

.text h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.text h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.text p,
.text ul,
.text address,
.text dl {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.text ul {
  padding-left: 1.25rem;
}

.text li {
  margin-bottom: 0.375rem;
}

.text li::marker {
  color: var(--blau);
}

.text dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1.5rem;
}

.text dt {
  color: var(--grau);
}

.text dd {
  margin: 0;
}

.stand {
  margin-top: 2.5rem;
  color: var(--grau);
  font-size: 1rem;
}

/* Fußzeile */

footer {
  background: var(--anthrazit);
  color: #d9dde2;
  font-size: 1rem;
}

footer .spalte {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  padding-block: 2rem;
}

footer strong {
  color: var(--weiss);
  font-weight: 600;
}

footer a {
  color: var(--weiss);
}

footer a:focus-visible {
  outline-color: var(--weiss);
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

footer nav a {
  display: inline-block;
  padding-block: 0.25rem;
}

footer .copyright {
  margin: 0;
}

@media (max-width: 34rem) {
  .kontakt li {
    flex: 1 1 100%;
  }

  .text dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .text dd {
    margin-bottom: 0.5rem;
  }
}

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

@media print {
  .tor {
    display: none;
  }
  footer {
    background: none;
    color: inherit;
  }
  footer strong,
  footer a {
    color: inherit;
  }
}
