:root {
  --black: #000000;
  --white: #ffffff;
  --red: #d50101;
  --line: #333333;
  --max: 900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  color: var(--white);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

.page-block {
  width: min(var(--max), 100%);
}

header {
  padding: 0 0 18px;
}

.wrap {
  width: 100%;
  margin: 0 auto;
}

.brand {
  margin: 0;
  font-size: clamp(60px, 4vw, 80px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

main {
  padding: 50px 0 50px;
}

.center-block {
  width: 100%;
}

.message {
  margin: 0;
}

.intro {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 700;
}

h1 {
  margin: 0 50 22px;
  font-size: 35px;
  font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  line-height: 1.2;
}

h2 {
  margin: 0 50 22px;
  font-size: 35px;
  font-weight: 300;
    letter-spacing: 0.02em;
  line-height: 1.2;
}

.strong {
  margin: 0 0 8px;
  font-weight: 700;
}

.contact {
  margin: 4px 0;
}

a {
  color: var(--red);
  text-underline-offset: 3px;
}

.red-line {
  height: 1px;
  margin: 50px 0 50px;
  background: var(--red);
}

.return {
  margin: 0;
}

.legal {
  margin-top: 50px;
}

details {
  border-top: 2px dotted var(--line);
}

details:last-child {
  border-bottom: 2px dotted var(--line);
}

summary {
  padding: 5px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4px 0 18px;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

.legal-content h2 {
  margin: 12px 0;
  font-size: 22px;
  font-weight: 400;
}

.legal-content h3 {
  margin: 16px 0 6px;
  font-size: 12px;
}

.legal-content p {
  margin: 6px 0;
}

footer {
  padding: 14px 0 0;
  font-size: 12px;
}

footer p {
  margin: 0;
}

@media (max-width: 700px) {
  body {
    padding: 20px 14px;
    font-size: 17px;
  }

  .brand {
    font-size: 30px;
  }

  h1 {
    font-size: 24px;
  }

  .legal-content,
  summary,
  footer {
    font-size: 12px;
  }
}

/* Impressum und Datenschutz zweispaltig */
.legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.legal details {
  border-top: 2px dotted var(--line);
  border-bottom: 2px dotted var(--line);
}

/* Rechtstexte in der Größe des Footers */
.legal summary,
.legal-content,
.legal-content p,
.legal-content h2,
.legal-content h3,
.legal-content strong,
.legal-content a {
  font-size: 12px !important;
}

.legal summary {
  padding: 5px 0;
  font-weight: 400;
}

.legal-content {
  max-width: 100%;
  padding: 8px 16px 18px;
  line-height: 1.4;
}

.legal-content h2,
.legal-content h3 {
  margin: 12px 0 6px;
  font-weight: 400;
}

@media (max-width: 700px) {
  .legal {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

