/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #061424;
  --black-rgb: 6, 20, 36;
  --white:     #f5f5f5;
  --lime:      #c8ff00;
  --grey:      #061424;
  --muted:     #aaa;
  --border:    rgba(255,255,255,0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--black); }
a { color: inherit; text-decoration: none; }
strong { color: var(--lime); }

/* ─── Loading state ─── */
body.loading { visibility: hidden; }

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(var(--black-rgb),0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

nav.scrolled {
  padding: 1rem 3rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  display: block;
  height: 41px;
  aspect-ratio: 1167 / 391;
  background-color: var(--lime);
  -webkit-mask: url('images/logo.svg') no-repeat center / contain;
  mask: url('images/logo.svg') no-repeat center / contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--black-rgb), 0.97);
  backdrop-filter: blur(12px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--lime); }

/* ─── Hero ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--black-rgb),1) 0%,
    rgba(var(--black-rgb),0.5) 40%,
    rgba(var(--black-rgb),0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 5rem;
  max-width: 900px;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.hero-quote {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-quote span { color: var(--lime); }

.hero-sub {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1);   }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ─── Sections shared ─── */
section { padding: 8rem 3rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 4rem;
}

/* ─── Über mich ─── */
#ueber-mich { background: var(--black); }

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ueber-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.ueber-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ueber-image-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.ueber-image-wrap::before {
  content: '';
  position: absolute;
  top: -1rem; left: -1rem;
  width: 60%; height: 60%;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  z-index: 1;
  pointer-events: none;
}

.ueber-text p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,245,245,0.75);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 0.3rem; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--lime);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Philosophie ─── */
#philosophie { background: var(--grey); }

.phil-intro {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.9);
  max-width: 750px;
  margin-bottom: 5rem;
}

.phil-intro strong { color: var(--lime); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.pillar {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(200,255,0,0.04); }

.pillar-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── Training ─── */
#training { background: var(--black); }

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.training-item {
  background: var(--black);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.training-item:hover { background: #111; }

.training-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--lime);
  transition: width 0.4s ease;
}

.training-item:hover::after { width: 100%; }

.training-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  background-color: var(--lime);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.training-item h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.training-item p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.training-cta {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: #deff44; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--white); }

.btn-arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── Kurse ─── */
.kurse-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kurs-card {
  display: flex;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.kurs-card-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.kurs-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(var(--black-rgb),0) 60%, rgba(var(--black-rgb),0.5) 100%);
}

.kurs-card-body {
  flex: 1;
  background: var(--grey);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.kurs-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  align-self: flex-start;
}

.kurs-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.03em;
}

.kurs-meta {
  display: flex;
  gap: 2.5rem;
}

.kurs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kurs-meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.kurs-meta-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

@media (max-width: 900px) {
  .kurs-card { flex-direction: column; min-height: unset; }
  .kurs-card-image { min-height: 220px; }
  .kurs-card-body { padding: 2rem 1.5rem; }
  .kurs-title { font-size: 2rem; }
}

/* ─── Kontakt ─── */
#kontakt { background: var(--grey); }

.kontakt-text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,245,245,0.65);
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 3rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}

.contact-item:last-child,
.contact-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.contact-item:hover { opacity: 0.75; }

.contact-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--lime);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-item-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--lime); }

/* ─── Footer ─── */
footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  display: block;
  height: 32px;
  aspect-ratio: 1167 / 391;
  background-color: var(--lime);
  -webkit-mask: url('images/logo.svg') no-repeat center / contain;
  mask: url('images/logo.svg') no-repeat center / contain;
  opacity: 0.8;
}

.footer-copy { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); }

.footer-links { display: flex; gap: 2rem; }

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-slide { background-position: 70% center; }
  nav { padding: 1.25rem 1.5rem; }
  nav.scrolled { padding: 0.875rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 0 1.5rem 4rem; }
  .scroll-hint { right: 1.5rem; }
  .ueber-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ueber-image-wrap { aspect-ratio: 4/3; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .training-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--border); }
  .contact-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
}
