/* contact.html — reading layout for the contact and legal page */

.legal-header {
  padding: 8rem 0 2rem;
  text-align: center;
}

.legal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  margin: 0.4rem 0 0.6rem;
}

.legal-sub {
  color: var(--text2);
  font-size: 0.95rem;
  max-width: 46ch;
  margin: 0 auto;
}

/* Shown to visitors reading anything but German — the pages themselves stay
   German, so say so instead of letting the switch look broken. */
.legal-lang-note {
  display: inline-block;
  margin: 1rem auto 0;
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: var(--r-full);
  padding: 6px 14px;
}

.legal-lang-note[hidden] { display: none; }

.legal-main { padding-bottom: 5rem; }

.legal-body {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
}

.legal-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

.legal-card p,
.legal-card li {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 0.7rem;
}

.legal-card p:last-child,
.legal-card li:last-child { margin-bottom: 0; }

.legal-card ul {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
}

.legal-card strong { color: var(--text); font-weight: 600; }

/* The contact address is excluded here rather than fought further down. This
   selector carries an element on top of a class, which outranks a plain
   .legal-mail, so the pill was being handed this rule's transparent bottom
   border and this rule's transition list instead of its own. */
.legal-card a:not(.legal-mail) {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color var(--t), color var(--t);
}

.legal-card a:not(.legal-mail):hover { border-bottom-color: currentColor; }

.legal-card code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.84em;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 1px 5px;
}

.legal-note {
  font-size: 0.83rem !important;
  color: var(--text3) !important;
  padding-top: 0.4rem;
}

/* The contact address is the point of the page — give it room */
.legal-contact { text-align: center; }

/* Everywhere else on this page a link is a green word with an underline that
   appears on hover. That is too quiet for the one address the whole page exists
   to hand over, so this one is a target you can see before you go looking for
   it, and it lights up when the pointer arrives. */
.legal-mail {
  display: inline-block;
  color: var(--green);
  text-decoration: none;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 600;
  word-break: break-all;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  background: rgba(0, 255, 135, 0.06);
  border: 1px solid var(--gborder);
  transition: background var(--t), border-color var(--t);
}

.legal-mail:hover {
  background: rgba(0, 255, 135, 0.13);
  border-color: rgba(0, 255, 135, 0.45);
}

.legal-todo { border-color: rgba(255, 190, 90, 0.35); }

.legal-warn {
  background: rgba(255, 190, 90, 0.08);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--text) !important;
}

@media (max-width: 600px) {
  .legal-header { padding-top: 6.5rem; }
  .legal-card { padding: 1.3rem 1.2rem; }
}
