/* ============================================================
   Julius-k – Sound & Projekte
   Neugestaltung · Stylesheet
   Kompatibel mit SeaMonkey, Firefox, Safari und Chrome
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-hover: #1d1d1d;
  --text: #e8e8e8;
  --text-muted: #a0a0a0;
  --accent: #ffcc00;
  --accent-dim: #cc9900;
  --border: #2a2a2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* aeltere Gecko-Versionen ignorieren diese Zeile einfach */
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Tastaturfokus – :focus als Basis, :focus-visible als Verfeinerung */
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

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

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Fuer Suchmaschinen und Screenreader vorhanden, optisch ausgeblendet.
   Technik nach dem anerkannten Muster: bleibt fuer Vorleseprogramme
   lesbar, nimmt aber keinen Platz im Layout ein. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Sprungmarke für Tastatur und Screenreader */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ── Kopfbereich ─────────────────────────────────────────── */

.site-header {
  background: linear-gradient(180deg, #131313 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 1.75rem;
  text-align: center;
}

.brand-link {
  display: inline-block;
}

.brand-name {
  display: block;
  font-size: 2.25rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-link:hover .brand-name {
  color: var(--accent);
}

.brand-sub {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-size: clamp(0.7rem, 2.2vw, 0.85rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.tagline {
  margin: 1.15rem auto 0;
  max-width: 44rem;
  font-size: 0.85rem;
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.quicknav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
}

.quicknav a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.quicknav a:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--surface-hover);
}

/* ── Seitenlayout ────────────────────────────────────────── */

.page {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ── Titelbild ───────────────────────────────────────────── */

.hero {
  margin: 0 auto;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  max-width: 100%;
}

.hero img {
  display: block;
  margin: 0 auto;
  max-width: 312px;
  width: 100%;
  border-radius: 6px;
}

/* ── Karten ──────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
}

.card h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ── Linklisten ──────────────────────────────────────────── */

.link-list {
  list-style: none;
}

.link-list li + li {
  margin-top: 0.35rem;
}

.link-list a {
  display: block;
  padding: 0.6rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.link-list a:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  color: var(--accent);
}

.link-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: inherit;
}

.link-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.link-list a:hover .link-desc {
  color: var(--text-muted);
}

/* ── Label / Partner ─────────────────────────────────────── */

.partner-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
}

.partner-link:hover {
  background: var(--surface-hover);
  border-color: var(--border);
}

.partner-link img {
  display: block;
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.partner-link:hover img {
  transform: scale(1.05);
}

.partner-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}

.partner-link:hover .partner-text strong {
  color: var(--accent);
}

.partner-text em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Impressum & Kontakt ─────────────────────────────────── */

.contact {
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.85;
}

.contact-mail {
  margin-top: 0.85rem;
  font-size: 0.98rem;
}

.contact-mail a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-mail a:hover {
  color: #fff;
}

.legal-note {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Fußbereich ──────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}

.site-footer p {
  max-width: 46rem;
  margin: 0 auto;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-nav {
  margin-top: 0.85rem;
}

/* ── Große Bildschirme ───────────────────────────────────── */

@media (min-width: 860px) {
  .page {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-top: 3rem;
  }

  .hero {
    position: sticky;
    top: 1.5rem;
    margin: 0;
  }

  .content {
    gap: 2rem;
  }
}

/* ── Kleine Bildschirme ──────────────────────────────────── */

@media (max-width: 520px) {
  .card {
    padding: 1.15rem 1rem 1rem;
  }

  .partner-link {
    gap: 0.85rem;
  }

  .partner-link img {
    width: 110px;
    height: 110px;
  }
}

/* ── Druck ───────────────────────────────────────────────── */

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --text: #000;
    --text-muted: #444;
    --accent: #7a5c00;
    --border: #bbb;
  }

  body {
    background: #fff;
    color: #000;
  }

  .quicknav,
  .skip-link {
    display: none;
  }

  .site-header {
    background: none;
    padding-top: 0;
  }

  .card {
    border-color: #bbb;
    page-break-inside: avoid;
  }

  .hero {
    position: static;
  }

  .link-list a {
    padding-left: 0;
  }
}
