/* ==============================================
   SHARED STYLES FOR LEGAL PAGES
   Sportstudio 2000 — Impressum, Datenschutz
   ============================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 110px; }

:root {
  --bg: #161210;
  --bg-2: #0C0908;
  --bg-soft: #221B16;
  --paper: #ECE3D2;
  --paper-2: #DDD0B5;
  --paper-3: rgba(236, 227, 210, 0.72);
  --ink-2: rgba(236, 227, 210, 0.72);
  --ink-3: rgba(236, 227, 210, 0.6);
  --red: #A52220;
  --red-bright: #BD2A22;
  --line: rgba(236, 227, 210, 0.16);
  --line-strong: rgba(236, 227, 210, 0.4);

  --display: 'Big Shoulders Display', 'Impact', sans-serif;
  --stencil: 'Big Shoulders Stencil Display', 'Impact', sans-serif;
  --type: 'Special Elite', 'Courier New', monospace;
  --body: 'Newsreader', Georgia, serif;

  --container: 1320px;
  --read: 760px;
  --gutter: clamp(20px, 4vw, 48px);
}

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(22, 18, 16, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1;
}
.brand .name {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.brand .num {
  font-family: var(--stencil);
  font-weight: 900;
  font-size: 22px;
  color: var(--red-bright);
}
.brand .est {
  font-family: var(--type);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin-left: 4px;
  align-self: end;
  text-transform: uppercase;
}
.back-link {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  position: relative;
}
.back-link::before {
  content: "←";
  content: "←" / "";
  display: inline-block;
  transition: transform .25s ease;
}
.back-link:hover::before { transform: translateX(-4px); }
.back-link::after {
  content: "";
  position: absolute;
  left: 22px; right: 100%; bottom: 0;
  height: 2px; background: var(--red);
  transition: right .35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.back-link:hover::after { right: 0; }

/* ---------- Page Header ---------- */
.page-head {
  padding: clamp(120px, 14vw, 180px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.page-head .wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.page-head .label {
  font-family: var(--type);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-head .label::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--red);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 24px;
}
.page-head h1 .red { color: var(--red-bright); font-family: var(--stencil); }
.page-head .meta {
  font-family: var(--type);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Reading Layout ---------- */
.content {
  padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 110px);
}
.content .wrap {
  max-width: var(--read);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.content h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--paper);
  margin-top: 56px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.content h2:first-child { margin-top: 0; }
.content h2 .index {
  font-family: var(--stencil);
  color: var(--red-bright);
  font-size: 0.7em;
  min-width: 1.5em;
}

.content h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--paper);
  margin-top: 32px;
  margin-bottom: 12px;
}

.content p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper-3);
  margin-bottom: 16px;
}
.content p strong, .content strong {
  color: var(--paper);
  font-weight: 500;
}
.content p em, .content em {
  color: var(--paper);
  font-style: italic;
}

.content a {
  color: var(--paper);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.content a:hover { color: var(--red-bright); border-bottom-color: var(--red-bright); }

.content ul, .content ol {
  margin: 14px 0 22px;
  padding-left: 26px;
  color: var(--paper-3);
}
.content ul li, .content ol li {
  margin-bottom: 8px;
  line-height: 1.55;
}
.content ul li::marker { color: var(--red); }

.content blockquote {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 22px;
  margin: 22px 0;
  font-style: italic;
  color: var(--paper);
}

.content .address-block {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  padding: 18px 22px;
  border-left: 3px solid var(--paper);
  background: var(--bg-soft);
  margin: 18px 0 22px;
  color: var(--paper);
}
.content .address-block strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.content .small {
  font-family: var(--type);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  line-height: 1.5;
  display: block;
  margin-top: 8px;
}

.content hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.toc {
  background: var(--bg-soft);
  border-left: 3px solid var(--red);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.toc-label {
  font-family: var(--type);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  counter-reset: toc-counter;
}
.toc ol li {
  counter-increment: toc-counter;
  font-family: var(--body);
  font-size: 16px;
  color: var(--paper-3);
  position: relative;
  padding-left: 28px;
}
.toc ol li::before {
  content: "§ " counter(toc-counter);
  position: absolute;
  left: 0;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.toc ol li a {
  border: 0;
  color: var(--paper-3);
  transition: color .2s;
}
.toc ol li a:hover { color: var(--paper); }

/* ---------- Footer ---------- */
footer {
  background: var(--bg);
  color: var(--paper-3);
  padding: clamp(48px, 7vw, 80px) 0 22px;
  border-top: 1px solid var(--line);
}
footer .wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.foot-mega {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 14vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.foot-mega span { color: var(--red); font-family: var(--stencil); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-blurb p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  max-width: 32ch;
  color: var(--paper-3);
}
.foot-blurb p:first-of-type {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--paper);
}
.foot-col h2 {
  font-family: var(--type);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--paper);
  font-weight: 400;
}
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a {
  font-family: var(--body);
  font-size: 15px;
  transition: color .2s;
}
.foot-col li { font-size: 15px; }
.foot-col a:hover { color: var(--red-bright); }
.foot-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--type);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.foot-bottom strong { color: var(--paper-3); font-weight: 400; }

:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 385px) { .brand .est { display: none; } }
@media (max-width: 360px) { .content h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; } }

/* FEINSCHLIFF */
:root { color-scheme: dark; }
.foot-col h2 { font-size: 11px; }
@media (max-width: 780px) { .foot-col a { display: inline-block; padding-block: 5px; } }

/* Kopfzeile am Handy einzeilig */
@media (max-width: 480px) {
  .nav-inner { gap: 12px; padding-block: 10px; }
  .back-link { white-space: nowrap; }
}

/* Touch ab 781 px (Handy quer, Tablet) */
@media (pointer: coarse) and (min-width: 781px) { .foot-col a { display: inline-block; padding-block: 5px; } }

/* Handy quer: Text nicht hinter Notch und Dynamic Island */
.nav-inner, .page-head .wrap, footer .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }

/* Druck: Kopfzeile nur oben auf Seite 1 */
@media print {
  .nav { position: absolute; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .back-link { display: none; }
}

/* E-Mail-Adresse und Telefonnummer nicht mitten im Link umbrechen */
.content a[href^="mailto:"], .content a[href^="tel:"] { white-space: nowrap; }
