/* ==========================================================================
   KRYPTEX FILES (@kryptexfiles) - Official Stylesheet
   Design-DNA: Obsidian-Schwarz (#0A0A0C), Champagner-Gold (#C8A96E), Stahl (#2A2D32)
   DSGVO-konform: 100 % lokale System-Schriften, keine externen CDN-Requests
   ========================================================================== */

:root {
  --bg-obsidian: #0A0A0C;
  --bg-surface: #111216;
  --bg-card: #15171C;
  --bg-card-hover: #1B1E25;
  --steel-dark: #2A2D32;
  --steel-border: #363A42;
  --gold-primary: #C8A96E;
  --gold-light: #DFC48E;
  --gold-dim: rgba(200, 169, 110, 0.16);
  --gold-glow: rgba(200, 169, 110, 0.28);
  --text-main: #F2F2F5;
  --text-muted: #A4A8B3;
  --text-subtle: #6E7380;
  --status-live: #38B26E;
  --status-prep: #C8A96E;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max-width: 1140px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ==========================================================================
   Hintergrund-Wasserzeichen (TODO-004: 10 % Deckkraft + weicher Verlauf)
   ========================================================================== */
.watermark-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.watermark-layer::before {
  content: "";
  position: absolute;
  width: min(88vw, 760px);
  height: min(88vw, 760px);
  background-image: url("assets/kryptex-watermark-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.14;
  mix-blend-mode: screen;
  filter: contrast(1.15);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0) 74%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 42%, rgba(0, 0, 0, 0) 74%);
}

.watermark-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(10, 10, 12, 0.15) 0%, rgba(10, 10, 12, 0.88) 72%, var(--bg-obsidian) 100%);
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation & Sprachumschalter (DE / EN / ES)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(54, 58, 66, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.65rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 14px rgba(200, 169, 110, 0.25);
  background-color: #000;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--text-main);
}

.brand-title span {
  color: var(--gold-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-primary);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--gold-primary);
  color: #0A0A0C;
}

/* ==========================================================================
   Hero Section & Rundes Emblem-Siegel
   ========================================================================== */
.hero {
  padding: 4.5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(54, 58, 66, 0.45);
}

.emblem-showcase {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, var(--gold-primary), var(--steel-dark) 55%, var(--gold-primary));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85), 0 0 32px rgba(200, 169, 110, 0.2);
}

.emblem-showcase img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: #000;
}

.clearance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.35);
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.35rem;
}

.clearance-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin: 0 auto 1.25rem;
  color: var(--text-main);
}

.hero h1 .accent {
  color: var(--gold-primary);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), #B39255);
  color: #0A0A0C;
  border: 1px solid var(--gold-light);
  box-shadow: 0 6px 22px rgba(200, 169, 110, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(200, 169, 110, 0.34);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--steel-border);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--bg-card-hover);
}

/* ==========================================================================
   Allgemeine Sektions-Typografie
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(54, 58, 66, 0.45);
}

.section-header {
  max-width: 740px;
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.55rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   Methodik: Das Prinzip Doppelter Boden (3 Karten)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.method-card {
  background: linear-gradient(180deg, rgba(21, 23, 28, 0.94), rgba(15, 16, 20, 0.96));
  border: 1px solid var(--steel-border);
  border-top: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.method-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
}

.method-step {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  margin-bottom: 0.65rem;
  display: block;
}

.method-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.method-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Staffel-1-Dossier-Vorschau (5 Akten)
   ========================================================================== */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.dossier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(21, 23, 28, 0.92);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.dossier-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.dossier-card.featured {
  border-color: rgba(200, 169, 110, 0.6);
  background: linear-gradient(160deg, rgba(28, 26, 23, 0.95), rgba(18, 19, 24, 0.96));
}

.dossier-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.file-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid rgba(200, 169, 110, 0.3);
  padding: 0.22rem 0.6rem;
  border-radius: 3px;
}

.file-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.file-status.pilot {
  color: var(--gold-light);
  font-weight: 700;
}

.dossier-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.dossier-split {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(54, 58, 66, 0.6);
  font-size: 0.9rem;
}

.dossier-row strong {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-right: 0.4rem;
}

.dossier-row.myth strong {
  color: #C97A7A;
}

.dossier-row.fact strong {
  color: var(--gold-primary);
}

.dossier-row span {
  color: var(--text-muted);
}

/* ==========================================================================
   Studio & Marken-Identität (Hauptlogo + Kanäle)
   ========================================================================== */
.studio-split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(17, 18, 22, 0.92);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.studio-logo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 169, 110, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.75);
  background: #000;
}

.studio-logo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.studio-content h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.studio-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.channel-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.channel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-primary);
  background: rgba(200, 169, 110, 0.12);
  padding: 0.12rem 0.42rem;
  border-radius: 3px;
}

/* ==========================================================================
   Presse, Kooperationen & B2B-Sponsoren
   ========================================================================== */
.b2b-box {
  background: linear-gradient(135deg, rgba(24, 25, 31, 0.95), rgba(14, 15, 19, 0.98));
  border: 1px solid rgba(200, 169, 110, 0.38);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.b2b-text {
  max-width: 620px;
}

.b2b-text h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.b2b-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.b2b-contact-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  min-width: 270px;
}

.b2b-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.35rem;
}

.b2b-mail {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.b2b-mail:hover {
  text-decoration: underline;
  color: var(--gold-light);
}

.b2b-operator {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Rechtliche Unterseiten (Impressum & Datenschutz)
   ========================================================================== */
.legal-main {
  padding: 4rem 0 5rem;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-card {
  background: rgba(17, 18, 22, 0.94);
  border: 1px solid var(--steel-border);
  border-top: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.legal-card h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 2rem 0 0.65rem;
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.25rem 0 0.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 0.75rem;
}

.legal-card ul {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.legal-card a {
  color: var(--gold-primary);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-notice-box {
  background: rgba(200, 169, 110, 0.08);
  border-left: 3px solid var(--gold-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
}

.legal-notice-box p {
  margin-bottom: 0;
  color: var(--text-main);
  font-size: 0.92rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2.5rem 0;
  background: rgba(8, 8, 10, 0.95);
  border-top: 1px solid rgba(54, 58, 66, 0.55);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-copy strong {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 860px) {
  .studio-split {
    grid-template-columns: 1fr;
  }

  .studio-logo-frame {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .emblem-showcase {
    width: 122px;
    height: 122px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .b2b-box,
  .legal-card,
  .studio-split {
    padding: 1.5rem;
  }
}
