/* ===== BASE ===== */
body {
  background: #080e1c;
  margin: 0;
  padding: 20px 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px 50px;
}
.hero h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,245,255,0.4);
  margin-bottom: 14px;
}
.hero h1 span {
  background: linear-gradient(90deg, #00f5ff, #b060ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 0.9rem;
  color: #4a6080;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-line {
  width: 200px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, #00f5ff, transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

/* ===== FONTS ===== */
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 400; font-display: swap; src: url("global-media/fonts/orbitron-v35-latin/orbitron-v35-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 700; font-display: swap; src: url("global-media/fonts/orbitron-v35-latin/orbitron-v35-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-style: normal; font-weight: 900; font-display: swap; src: url("global-media/fonts/orbitron-v35-latin/orbitron-v35-latin-900.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 300; font-display: swap; src: url("global-media/fonts/exo-2-v26/exo-2-v26-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 400; font-display: swap; src: url("global-media/fonts/exo-2-v26/exo-2-v26-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url("global-media/fonts/exo-2-v26/exo-2-v26-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("global-media/fonts/exo-2-v26/exo-2-v26-latin-700.woff2") format("woff2"); }


/* ===== KACHELBEREICH ===== */

.vhc-grid-section {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background: transparent;
  padding: 0 20px 60px;
  box-sizing: border-box;
  color: #c8d8f0;
}

/* Sektionsüberschrift */
.vhc-section-title {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #00e5cc;
  text-align: center;
  margin: 8px 0 24px;
  scroll-margin-top: 100px;
  position: relative;
}

.vhc-grid + .vhc-section-title {
  margin-top: 48px;
  position: relative;
}
.vhc-section-title::before,
.vhc-section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: linear-gradient(to var(--dir, right), #00e5cc44, transparent);
}
.vhc-section-title::before { right: calc(50% + 80px); --dir: left; }
.vhc-section-title::after  { left:  calc(50% + 80px); }

/* Grid */
.vhc-grid {
  display: grid;
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
}
.vhc-grid-games { grid-template-columns: repeat(6, 140px); }
.vhc-grid-tools  { grid-template-columns: repeat(4, 230px); }

/* Kachel */
.vhc-tile {
  background: #0f1829;
  border: 1px solid #1a2a4a;
  border-radius: 12px;
  padding: 14px 10px 12px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
  cursor: pointer;
  overflow: hidden;
  width: 140px;
  height: 170px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.vhc-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-top: 2px solid #00f5ff;
  border-left: 2px solid #00f5ff;
  opacity: 0;
  transition: opacity 0.25s;
}
.vhc-tile::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 20px; height: 20px;
  border-bottom: 2px solid #ff006e;
  border-right: 2px solid #ff006e;
  opacity: 0;
  transition: opacity 0.25s;
}
.vhc-tile:hover {
  border-color: #00f5ff;
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0,245,255,0.15), 0 12px 40px rgba(0,0,0,0.4);
  background: #111e35;
}
.vhc-tile:hover::before,
.vhc-tile:hover::after { opacity: 1; }

/* Icon */
.vhc-tile-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.4));
  transition: transform 0.25s;
}
.vhc-tile:hover .vhc-tile-icon { transform: translateX(-50%) scale(1.15); }

/* Tool-Kacheln breiter */
.vhc-grid-tools .vhc-tile {
  width: 230px;
}
.vhc-grid-tools .vhc-tile-icon {
  width: 90px;
  height: 90px;
  top: 12px;
}

/* Name */
.vhc-tile-name {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e0eaff;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Beschreibung */
.vhc-tile-desc {
  font-size: 0.78rem;
  color: #7a9abf;
  line-height: 1.4;
}

/* ===== BADGES ===== */

/* Mobile */
.badge-mobile {
  position: absolute;
  top: 10px; left: 10px;
  width: 22px;
  height: 22px;
  display: block;
}

/* MULTI */
.badge-multi {
  position: absolute;
  top: 10px; right: 10px;
  display: block;
  z-index: 2;
}

/* NEW / UPDATE / SOON – gemeinsame Basis */
.badge-new, .badge-update, .badge-soon {
  position: absolute;
  top: 0; right: 0;
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 0 12px 0 8px;
  z-index: 3;
}
.badge-new    { background: #e5003a; color: #fff; }
.badge-update { background: #00cc66; color: #001a0a; animation: badge-update-pulse 1.4s ease-in-out infinite; }
.badge-soon   { background: #1a3a5a; color: #7ab8ff; }

/* SOON-Kacheln: Icon und Text gedimmt, Badge bleibt voll sichtbar */
.vhc-tile:has(.badge-soon) { filter: saturate(0.25); }
.vhc-tile:has(.badge-soon) .vhc-tile-icon,
.vhc-tile:has(.badge-soon) .vhc-tile-name,
.vhc-tile:has(.badge-soon) .vhc-tile-desc { opacity: 0.2; }
.vhc-tile:has(.badge-soon):hover { filter: saturate(0.4); }
.vhc-tile:has(.badge-soon):hover .vhc-tile-icon,
.vhc-tile:has(.badge-soon):hover .vhc-tile-name,
.vhc-tile:has(.badge-soon):hover .vhc-tile-desc { opacity: 0.4; }

@keyframes badge-update-pulse {
  0%, 100% { color: #001a0a; text-shadow: none; }
  50%      { color: #ff1530; text-shadow: 0 0 8px rgba(255,40,60,0.9); }
}


/* ===================================================================
   TOOLS 2 — neuer Tool-Kachelbereich (Testblock, ersetzt später
   den bisherigen DIGITAL TOOLS Block)
   =================================================================== */

.t2-section {
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  padding: 0 20px 80px;
  box-sizing: border-box;
  color: #c8d8f0;
}

.t2-title {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #00e5cc;
  text-align: center;
  margin: 48px 0 24px;
  position: relative;
  scroll-margin-top: 100px;
}
.t2-title::before,
.t2-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: linear-gradient(to var(--dir, right), #00e5cc44, transparent);
}
.t2-title::before { right: calc(50% + 80px); --dir: left; }
.t2-title::after  { left:  calc(50% + 80px); }

/* Grid */
.t2-grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  justify-content: center;
}

/* Kachel */
.t2-tile {
  background: #0a1220;
  border: 1px solid #2a4070;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 260px;
  box-sizing: border-box;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
  cursor: pointer;
}
.t2-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-top: 2px solid #00f5ff;
  border-left: 2px solid #00f5ff;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}
.t2-tile::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 16px; height: 16px;
  border-bottom: 2px solid #ff006e;
  border-right: 2px solid #ff006e;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}
.t2-tile:hover {
  border-color: #00f5ff;
  transform: translateY(-5px);
  box-shadow: 0 0 28px rgba(0,245,255,0.12), 0 10px 36px rgba(0,0,0,0.4);
  background: #0d1828;
}
.t2-tile:hover::before,
.t2-tile:hover::after { opacity: 1; }

/* Icon-Zone */
/* Name oben */
.t2-name {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e0eaff;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 11px 14px 10px;
  border-bottom: 1px solid #151f38;
}

/* Icon-Zone Mitte */
.t2-icon-zone {
  width: 100%;
  height: 122px;
  background: #060c18;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.t2-icon-zone::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,0.2), transparent);
}
.t2-icon-zone::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,255,0.2), transparent);
}

.t2-icon {
  max-width: 90%;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0,245,255,0.25));
  transition: transform 0.25s, filter 0.25s;
}
.t2-tile:hover .t2-icon {
  transform: scale(1.07);
  filter: drop-shadow(0 0 14px rgba(0,245,255,0.45));
}

/* Beschreibung unten */
.t2-desc {
  font-size: 0.83rem;
  color: #8aabcf;
  line-height: 1.45;
  padding: 10px 14px 13px;
}

/* SOON */
.t2-tile:has(.badge-soon) { filter: saturate(0.25); }
.t2-tile:has(.badge-soon) .t2-icon,
.t2-tile:has(.badge-soon) .t2-name,
.t2-tile:has(.badge-soon) .t2-desc { opacity: 0.2; }
.t2-tile:has(.badge-soon):hover { filter: saturate(0.4); }
.t2-tile:has(.badge-soon):hover .t2-icon,
.t2-tile:has(.badge-soon):hover .t2-name,
.t2-tile:has(.badge-soon):hover .t2-desc { opacity: 0.4; }

/* Responsive */
@media (max-width: 1140px) { .t2-grid { grid-template-columns: repeat(3, 260px); } }
@media (max-width: 860px)  { .t2-grid { grid-template-columns: repeat(2, 260px); } }
@media (max-width: 580px)  {
  .t2-grid { grid-template-columns: repeat(1, 1fr); }
  .t2-tile { width: 100%; }
}

/* =================================================================== */

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .vhc-grid-games { grid-template-columns: repeat(4, 140px); }
  .vhc-grid-tools  { grid-template-columns: repeat(3, 230px); }
}
@media (max-width: 720px) {
  .vhc-grid-games { grid-template-columns: repeat(3, 140px); }
  .vhc-grid-tools  { grid-template-columns: repeat(2, 230px); }
}
@media (max-width: 480px) {
  .vhc-grid-games { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .vhc-grid-tools  { grid-template-columns: repeat(1, 1fr); }
  .vhc-tile { width: 100%; }
  .vhc-grid-tools .vhc-tile { width: 100%; }
}

/* ===== INDEX HEADER: NAV + LOGIN ===== */

/* Border hier definiert (in main-vhc.css auskommentiert) */
nav a {
  border: 1px solid rgba(0, 245, 255, 0.22);
}

/* Nav + Login-Button als Zeile rechts im Header */
.header-nav-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.header-login-btn {
  display: block;
  margin-left: 14px;
}
.header-login-btn img {
  height: 50px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.header-login-btn:hover img {
  opacity: 1;
}

/* Nav-Links mit Bild-Grafiken: Reset der Text-Styles */
nav a {
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
}
nav a img {
  height: 50px;
  width: auto;
  display: block;
  opacity: 0.88;
  transition: opacity 0.2s, transform 0.2s;
}
nav a:hover {
  border: none;
  box-shadow: none;
  color: inherit;
}
nav a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}


/* ── Hero: zweiter Hinweistext ── */
.hero p:nth-child(3) {
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-top: 4px;
}
