/* === VARIABLES — aligned with gametstudios.media design system === */
:root {
  /* Backgrounds (GS palette) */
  --bg-0: #0d0d0d;
  --bg-1: #111111;
  --bg-2: #1a1a1a;
  --bg-3: #2d2d2d;

  /* Glass / card layer (GS card system) */
  --card-bg:          rgba(255, 255, 255, 0.03);
  --card-bg-hover:    rgba(255, 255, 255, 0.05);
  --card-border:      rgba(255, 255, 255, 0.1);
  --card-border-hover:rgba(255, 255, 255, 0.2);

  /* TJC News accent — News-Blau */
  --accent:       #031944;
  --accent-light: #4f71b4;
  --accent-dim:   rgba(65, 105, 225, 0.13);
  --accent-hover: #0c275c;

  /* Text (GS palette) */
  --text-1: #ffffff;
  --text-2: #999999;
  --text-3: #666666;

  /* Nav (GS nav) */
  --nav-bg:     rgba(24, 24, 24, 0.5);
  --nav-border: rgba(255, 255, 255, 0.08);

  /* GS / RBU org colors */
  --gs-color:  #ffffff;
  --rbu-color: #4169e1;
}

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

/* === BASE === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}
/* === HEADER — matches GS nav === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 2.2rem;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-1);
}

.accent {
  color: var(--accent-light);
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #0d1a40 0%, #0d0d0d 60%);
  margin-top: -5.2rem;
  padding-top: 5.2rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.2) 0%,
    rgba(13, 13, 13, 0.5) 55%,
    rgba(13, 13, 13, 1) 85%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-2);
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(65, 105, 225, 0.35);
}

.btn-large {
  padding: 1.1rem 3rem;
  font-size: 0.85rem;
}

/* === SECTIONS === */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--bg-1);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-1);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.8;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.9;
  max-width: 680px;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

/* === STORY GRID === */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.story-card {
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease;
}

.story-card:hover {
  background: var(--card-bg-hover);
}

.story-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--accent-light);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.story-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.story-card p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.8;
  font-weight: 400;
}

/* === PROJEKT / SPLIT === */
.projekt-header {
  margin-bottom: 2.75rem;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
}

.split-divider {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.5rem;
}

.split-card {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.25rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.split-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.split-card-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.split-card-badge.gs  { color: var(--gs-color); }
.split-card-badge.rbu { color: var(--rbu-color); }

.split-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-1);
  letter-spacing: 0.02em;
}

.split-card p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.8;
}

/* === ROLES GRID === */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.role-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.role-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
  transform: scale(1.02);
}

.role-card--open {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.08);
}

.role-card--open:hover {
  border-color: rgba(65, 105, 225, 0.35);
  border-style: dashed;
}

.role-icon {
  font-size: 1rem;
  color: var(--accent-light);
  line-height: 1;
}

.role-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-1);
}

.role-card p {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.8;
  flex: 1;
  font-weight: 400;
}

.role-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--accent-dim);
  color: var(--accent-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* === ORGS === */
.orgs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.org-card {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.org-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
}

.org-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.org-badge.gs  { color: var(--gs-color); }
.org-badge.rbu { color: var(--rbu-color); }

.org-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-1);
}

.gs-logo-badge {
  height: 1.8rem;
  margin-bottom: 1.5rem;
}

.rbu-logo-badge {
  height: 1.6rem;
    margin-bottom: 1.5rem;
}

.org-card p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.org-link {
  font-size: 0.825rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.org-link:hover {
  opacity: 0.65;
}

/* === APPLY === */
.apply-inner {
  max-width: 680px;
}

.apply-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.apply-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid rgba(65, 105, 225, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-light);
  margin-top: 2px;
}

.apply-step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-1);
}

.apply-step p {
  color: var(--text-2);
  font-size: 0.875rem;
  line-height: 1.75;
  font-weight: 400;
}

/* === FOOTER — matches GS footer === */
footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  height: 2.8rem;
  border-radius: 4px;
  object-fit: contain;
}

.footer-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-orgs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.footer-orgs a {
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-divider {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 2rem;
}

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

.footer-copy,
.footer-note {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 400;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .orgs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {

    .logo-img {
    height: 1.9rem;
  }

  .section {
    padding: 80px 0;
  }

  .split-cards {
    grid-template-columns: 1fr;
  }

  .split-divider {
    display: none;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
