/*
 * pr0mart – Geschlossen-Seite (statisch, ohne externe Ressourcen).
 * Farben und Schrift aus dem Shop-Theme (theme/.../css/all.css):
 *   body #161618 / #f2f5f4, Primaerfarbe #ee4d2e, Sekundaerfarbe #fc8833,
 *   Navigationsleiste #020306, Schrift "Cascadia Mono" mit Monospace-Fallback.
 * "Cascadia Mono" wird im Theme nicht ausgeliefert, daher nur als Systemschrift.
 */
:root {
  --bg: #161618;
  --bg-deep: #020306;
  --text: #f2f5f4;
  --muted: #bcc1c7;
  --accent: #ee4d2e;
  --accent-2: #fc8833;
  --line: #2e2e33;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Cascadia Mono", SFMono-Regular, ui-monospace, Menlo, Monaco,
    Consolas, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Kopfzeile */
.site-header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--bg-deep);
}

.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo {
  display: block;
  width: 12rem;
  max-width: 100%;
  height: auto;
}

/* Startseite */
.closed {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding: 3rem 1.25rem;
  text-align: center;
}

.closed h1 {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: clamp(2rem, 1.35rem + 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.notice {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Rechtstexte */
.legal {
  flex: 1 0 auto;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal h2 {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.legal h3 {
  margin: 2rem 0 0.75rem;
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.legal hr {
  margin: 1rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.75rem;
}

/* Fusszeile */
.site-footer {
  flex: 0 0 auto;
  padding: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .legal {
    font-size: 1rem;
    padding-top: 3rem;
  }
}
