/* IDA BRENNER · Rechtstexte und 404 */

.recht { padding: clamp(46px, 7vw, 110px) var(--rand) clamp(60px, 9vw, 140px); }
.recht-innen { width: min(760px, 100%); margin-inline: auto; }

.recht h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 400;
  line-height: .96; letter-spacing: -.025em; text-transform: uppercase;
  margin: 0 0 clamp(22px, 3vw, 38px);
}
.recht h2 {
  font-size: clamp(1rem, 1.2vw, 1.2rem); font-weight: 400;
  text-transform: uppercase; letter-spacing: .05em;
  margin: clamp(28px, 3.4vw, 46px) 0 12px;
}
.recht p, .recht li { font-size: 15px; line-height: 1.72; margin: 0 0 14px; }
.recht ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.recht li { margin-bottom: 6px; }
.recht a { color: inherit; }

.recht-hinweis {
  border: 1px solid var(--schwarz);
  padding: 18px 20px; margin: 0 0 clamp(26px, 3vw, 42px);
  font-size: 14px;
}
.recht-hinweis p:last-child { margin-bottom: 0; }

.recht-zurueck {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(34px, 4vw, 56px);
  font-size: 13px; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

.fehler {
  min-height: 58vh; display: grid; place-items: center; text-align: center;
  padding: clamp(50px, 9vw, 130px) var(--rand);
}
.fehler-nr {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(4.5rem, 16vw, 11rem); line-height: 1; margin: 0 0 18px;
}
.fehler h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 400;
  text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 16px;
}
.fehler p { color: var(--grau-text); margin: 0 0 30px; }
.fehler .knopf { display: inline-block; width: auto; padding-inline: 40px; }

/* Die Rechtsseiten haben keinen Menue-Knopf. Ohne diese Regel bliebe die
   Navigation dort auf schmalen Schirmen unerreichbar (position:fixed,
   visibility:hidden aus styles.css). Bewusst gleich spezifisch geschrieben. */
@media (max-width: 860px) {
  .kopf .nav-einfach {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; flex-direction: row; flex-wrap: wrap;
    gap: 8px 16px; padding: 0; border: 0; max-height: none;
  }
  .kopf .nav-einfach a { font-size: 12px; padding: 0; border: 0; }
}
@media (max-width: 560px) {
  .kopf .nav-einfach a:nth-child(n+3) { display: none; }
}
