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

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --card: #141414;
  --text: #ffffff;
  --muted: #b3b3b3;
  --accent: #ffffff;
  --border: rgba(255, 255, 255, 0.2);
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
  opacity: 0.45;
  animation: scan 8s linear infinite;
}

body::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.15;
  animation: grain 1.8s steps(2) infinite;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}

#examen-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #0a0a0a;
}

#exam-sub-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #0a0a0a;
}

.exam-list {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(88vw, 960px);
  height: min(85vh, 720px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(8, 1fr);
  gap: clamp(8px, 1.8vh, 20px) clamp(24px, 4vw, 48px);
  align-content: center;
  justify-items: start;
  z-index: 2;
  text-align: left;
  padding: 2vh 2vw;
}

.exam-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  align-self: center;
}

.exam-list a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.mindmap {
  min-height: 100vh;
  position: relative;
  background: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

.mindmap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 0.4;
  z-index: 0;
}

.mindmap .node {
  position: absolute;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
  text-stroke: 1.5px #ffffff;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.85);
  z-index: 1;
}

.mindmap .center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  border-width: 2px;
}

.mindmap .n1 {
  top: 20%;
  left: 18%;
}

.mindmap .n2 {
  top: 18%;
  right: 16%;
}

.mindmap .n3 {
  bottom: 20%;
  left: 12%;
}

.mindmap .n4 {
  bottom: 22%;
  right: 14%;
}

.mindmap .n5 {
  top: 55%;
  right: 8%;
}

#klausur-field,
#beyond-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #0a0a0a;
}

.globe-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #0a0a0a;
}
.globe-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.globe-nav {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: flex;
  gap: 16px;
}
.globe-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}
.globe-nav a:hover { opacity: 1; }
.globe-legend {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.globe-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.countdown {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: row;
  place-content: center;
  gap: 28px;
  text-align: center;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.countdown-item {
  display: grid;
  gap: 8px;
}

.countdown-value {
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: transparent;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  -webkit-text-stroke: 1.8px #ffffff;
  text-stroke: 1.8px #ffffff;
}

.page-title {
  position: fixed;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: transparent;
  font-weight: 600;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  -webkit-text-stroke: 1.5px #ffffff;
  text-stroke: 1.5px #ffffff;
  z-index: 2;
  pointer-events: none;
}

.glitch {
  animation: dissolve 0.6s ease;
}

@keyframes dissolve {
  0% {
    opacity: 0.2;
    transform: scale(0.96);
    filter: blur(6px);
  }
  40% {
    opacity: 0.6;
    transform: scale(1.04);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.shell-center {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.nav-top {
  position: fixed;
  top: 20vh;
  left: 44px;
  right: auto;
  display: flex;
  gap: 16px;
  z-index: 2;
}

.nav-top a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.nav-top a:hover {
  opacity: 1;
}

.assistant-link {
  position: fixed;
  top: 12vh;
  right: 6vw;
  z-index: 2;
  text-align: right;
}

.assistant-link a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.assistant-link a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

#assistant-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #0a0a0a;
}

.assistant {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 12vh 10vw;
}

.assistant-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.85;
}

.assistant-subnav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.assistant-subnav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.assistant-subnav a:hover {
  opacity: 1;
  color: #ffffff;
}

.assistant-subnav-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  user-select: none;
  pointer-events: none;
}

.assistant-termine {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.9;
}

.assistant-list {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.assistant-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
}

.assistant-time {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.assistant-name {
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 90%;
  max-width: 320px;
}
.gate-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.gate-input {
  width: 100%;
  padding: 12px 18px;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  outline: none;
}
.gate-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.gate-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.gate-btn {
  padding: 12px 28px;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.gate-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}
.gate-error {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.page-content[hidden] {
  display: none !important;
}

.office {
  min-height: 100vh;
  background: #0a0a0a;
  color: #ffffff;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 10vh 10vw;
}

.office h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.office-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  opacity: 0.8;
}

.schedule {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.schedule-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
}

.schedule-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.schedule-title {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-meta {
  font-size: 0.95rem;
  opacity: 0.65;
}

.hero {
  display: grid;
  gap: 20px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  animation: flicker 6s ease-in-out infinite;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  position: relative;
}

h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 120px;
  height: 2px;
  background: var(--text);
  transform-origin: left;
  animation: lineGrow 3.5s ease-in-out infinite;
}

.subline {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: floatSoft 6s ease-in-out infinite;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 1px solid var(--border);
}

.btn.primary {
  background: var(--text);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: -150% 60% auto -40%;
  height: 300%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
  transform: rotate(20deg);
  animation: sweep 4s linear infinite;
}

.btn.ghost {
  color: var(--text);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  min-height: 160px;
  transition: transform 0.35s ease, border-color 0.35s ease;
  animation: floatSoft 7s ease-in-out infinite;
}

.card:nth-child(2) {
  animation-delay: 0.6s;
}

.card:nth-child(3) {
  animation-delay: 1.2s;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.45);
}

.card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
}

.cta {
  border-radius: 24px;
  padding: 32px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
  animation: pulse 6s ease-in-out infinite;
}

.cta p {
  color: var(--muted);
  margin: 0 0 8px;
}

@media (max-width: 600px) {
  .shell {
    padding-top: 48px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes scan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 40px;
  }
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, 1%);
  }
  100% {
    transform: translate(2%, -1%);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-120%) rotate(20deg);
  }
  100% {
    transform: translateX(220%) rotate(20deg);
  }
}

@keyframes lineGrow {
  0%,
  100% {
    transform: scaleX(0.35);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.7;
  }
  40% {
    opacity: 0.95;
  }
  60% {
    opacity: 0.6;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.18);
  }
}

