/* ============================================================
   tbai.com.de — Styles
   Design-System: Deep Navy + Teal + Orange
   Fonts: Space Grotesk (Display), DM Sans (Body)
   ============================================================ */

/* ---------- Self-hosted Fonts (DSGVO-konform, kein Google CDN) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/dm-sans-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #0D1B2A;
  --bg-secondary: #1B2838;
  --bg-card: #152232;
  --accent-teal: #00C9C8;
  --accent-teal-green: #00C9B1;
  --accent-orange: #FF6B35;
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-muted: #718096;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --glow-teal: 0 0 40px rgba(0, 201, 200, 0.3);
  --glow-teal-strong: 0 0 60px rgba(0, 201, 200, 0.5);
  --glass-bg: rgba(21, 34, 50, 0.6);
  --glass-border: rgba(0, 201, 200, 0.15);

  --radius: 8px;
  --transition: 0.3s ease;
  --container-max: 1280px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-nav {
  position: fixed; top: -100px; left: 16px; z-index: 10000;
  padding: 12px 24px; background: var(--accent-teal); color: var(--bg-primary);
  font-weight: 600; border-radius: var(--radius); transition: top 0.2s;
}
.skip-nav:focus { top: 16px; }

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

/* ---------- Grain Texture Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  animation: loaderFadeIn 1s ease forwards;
}
.loader__logo span {
  color: var(--accent-teal);
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.navbar__logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 201, 200, 0.4));
}
.navbar__logo-text, .footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}
.navbar__logo-text em, .footer__logo-text em {
  font-style: normal;
  color: var(--accent-teal);
}
.navbar__links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.navbar__links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-teal);
  transition: width var(--transition);
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__links a:hover::after { width: 100%; }
.navbar__cta {
  padding: 8px 20px !important;
  border: 1px solid var(--accent-teal) !important;
  border-radius: var(--radius) !important;
  color: var(--accent-teal) !important;
  transition: all var(--transition) !important;
}
.navbar__cta:hover {
  background: var(--accent-teal) !important;
  color: var(--bg-primary) !important;
}
.navbar__cta::after { display: none !important; }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Section Base ---------- */
.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn--teal {
  background: var(--accent-teal);
  color: var(--bg-primary);
}
.btn--teal:hover {
  background: var(--accent-teal-green);
  box-shadow: var(--glow-teal);
}
.btn--outline {
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  background: transparent;
}
.btn--outline:hover {
  background: rgba(0, 201, 200, 0.1);
}

/* ============ 1. HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Fallback gradient — visible until video loads */
.hero__gradient-placeholder {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  width: 200%; height: 100%;
  background: linear-gradient(
    135deg,
    #0D1B2A 0%,
    #0a2540 20%,
    #003d4d 35%,
    #00C9C8 50%,
    #003d4d 65%,
    #0a2540 80%,
    #0D1B2A 100%
  );
  animation: heroGradient 20s linear infinite;
}
@keyframes heroGradient {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0.8) 0%,
    rgba(13, 27, 42, 0.5) 50%,
    rgba(13, 27, 42, 0.7) 100%
  );
  z-index: 1;
}

/* Concentric Circles Pattern */
.hero__pattern {
  position: absolute;
  top: 50%; left: 50%;
  width: 1200px; height: 1200px;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.04;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 58px,
    rgba(0, 201, 200, 0.5) 59px,
    rgba(0, 201, 200, 0.5) 60px,
    transparent 61px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}
.hero__logo-wrap {
  margin-bottom: 24px;
}
.hero__logo {
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(0, 201, 200, 0.6));
}
.hero__logo-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 201, 200, 0.6);
}
.hero__logo-text span {
  color: var(--accent-teal);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent-teal);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.hero__cta:hover {
  background: var(--accent-teal-green);
  box-shadow: var(--glow-teal-strong);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero__chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent-teal);
  border-bottom: 2px solid var(--accent-teal);
  transform: rotate(45deg);
  animation: bounceChevron 2s infinite;
  opacity: 0.6;
}
.hero__chevron:nth-child(2) {
  margin-top: -12px;
  animation-delay: 0.15s;
  opacity: 0.3;
}
@keyframes bounceChevron {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ============ 2. LEISTUNGEN ============ */
.leistungen { background: var(--bg-primary); }
.leistungen__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

/* ---------- Cards (shared) ---------- */
.card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card__video-wrap { flex-shrink: 0; }
.card__body { flex: 1; }
.card:hover {
  border-color: rgba(0, 201, 200, 0.5);
  box-shadow: 0 0 30px rgba(0, 201, 200, 0.15);
}

.card__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.card__video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Fallback gradients — visible until video loads */
.card__gradient-placeholder {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  width: 200%; height: 100%;
  animation: cardGradient 20s linear infinite;
}
@keyframes cardGradient {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.card__gradient--musik {
  background: linear-gradient(135deg, #0D1B2A 0%, #1a1040 25%, #FF6B35 50%, #1a1040 75%, #0D1B2A 100%);
}
.card__gradient--video {
  background: linear-gradient(135deg, #0D1B2A 0%, #003d4d 25%, #00C9C8 50%, #003d4d 75%, #0D1B2A 100%);
}
.card__gradient--avatar {
  background: linear-gradient(135deg, #0D1B2A 0%, #0a2540 25%, #00C9B1 50%, #0a2540 75%, #0D1B2A 100%);
}
.card__gradient--visuals {
  background: linear-gradient(135deg, #0D1B2A 0%, #1a2040 25%, #00C9C8 40%, #FF6B35 60%, #1a2040 75%, #0D1B2A 100%);
}

.card__body {
  padding: 24px;
}
.card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Scroll-reveal animation (for sections after pinned areas) */
.card--projekt,
.newsletter__content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card--projekt.revealed,
.newsletter__content.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Projekt Cards */
.card--projekt {
  display: block;
  padding: 32px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.card--projekt:hover { transform: translateY(-4px); }
.card--projekt .card__title { margin-bottom: 12px; }
.card__arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-teal);
  font-size: 1.5rem;
  transition: transform var(--transition);
}
.card--projekt:hover .card__arrow { transform: translateX(8px); }
.card__glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(0, 201, 200, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card--projekt:hover .card__glow { opacity: 1; }

/* ============ 3. PORTFOLIO ============ */
.portfolio { background: var(--bg-secondary); }
.portfolio__filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.portfolio__filter {
  padding: 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.portfolio__filter.active,
.portfolio__filter:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0, 201, 200, 0.08);
}
.portfolio__scroll-wrap {
  overflow: hidden;
  padding: 0 24px;
}
.portfolio__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}
.portfolio__item {
  flex: 0 0 300px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition);
}
.portfolio__item:hover {
  border-color: rgba(0, 201, 200, 0.4);
}
.portfolio__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.portfolio__thumb-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.portfolio__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 201, 200, 0.1) 100%);
}
.portfolio__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-teal);
  border: 1px solid rgba(0, 201, 200, 0.3);
  border-radius: 4px;
  margin-bottom: 8px;
}
.portfolio__item-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.portfolio__platforms {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.portfolio__platform {
  font-size: 1.1rem;
  opacity: 0.6;
}

/* ============ 4. MUSIK ============ */
.musik {
  position: relative;
  padding: 140px 0;
}
.musik__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.musik__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.musik__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13, 27, 42, 0.85);
  z-index: 1;
}
.musik__content {
  position: relative;
  z-index: 2;
}
.musik__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.musik__col-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent-teal);
}
.musik__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.musik__card-placeholder {
  width: 100%; height: 80px;
  background: linear-gradient(90deg, var(--bg-card) 0%, rgba(0, 201, 200, 0.05) 50%, var(--bg-card) 100%);
  border-radius: 4px;
  margin-bottom: 12px;
}
.musik__card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.musik__platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.platform-badge {
  padding: 8px 20px;
  background: rgba(0, 201, 200, 0.08);
  border: 1px solid rgba(0, 201, 200, 0.2);
  border-radius: var(--radius);
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============ 5. VIDEO SHOWCASE ============ */
.video-showcase { background: var(--bg-primary); }
.video-showcase__categories {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.video-showcase__cat {
  padding: 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.video-showcase__cat.active,
.video-showcase__cat:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background: rgba(0, 201, 200, 0.08);
}
.video-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.video-showcase__item {
  cursor: pointer;
}
.video-showcase__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.video-showcase__thumb-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-showcase__thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 201, 200, 0.08) 50%, var(--bg-card) 100%);
}
.video-showcase__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(0, 201, 200, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bg-primary);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.video-showcase__item:hover .video-showcase__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}
.video-showcase__duration {
  position: absolute;
  bottom: 8px; right: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-primary);
}
.video-showcase__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

/* ============ 6. KURSE ============ */
.kurse {
  position: relative;
  padding: 0;
  min-height: 100vh;
}
.kurse__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.kurse__video {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Fallback gradient — visible until video loads */
.kurse__gradient-placeholder {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  width: 200%; height: 100%;
  background: linear-gradient(
    135deg,
    #0D1B2A 0%, #003d4d 25%, #00C9C8 45%,
    #0D1B2A 55%, #0a2540 75%, #00C9B1 90%, #0D1B2A 100%
  );
  animation: kurseGradient 22s linear infinite;
}
@keyframes kurseGradient {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.kurse__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(13, 27, 42, 0.88);
  z-index: 1;
}
.kurse__content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}
.kurse__steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.kurse__step {
  opacity: 0;
  transform: translateX(40px);
}
.kurse__step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s ease;
}
.kurse__step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(0, 201, 200, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.kurse__step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.kurse__step-text {
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ============ 7. PROJEKTE ============ */
.projekte { background: var(--bg-secondary); }
.projekte__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

/* ============ 8. NEWSLETTER ============ */
.newsletter {
  background: var(--bg-primary);
  text-align: center;
}
.newsletter__content {
  max-width: 560px;
}
.newsletter__form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 20px;
}
.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter__input::placeholder { color: var(--text-muted); }
.newsletter__input:focus { border-color: var(--accent-teal); }
.newsletter__btn { white-space: nowrap; }
.newsletter__feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}
.newsletter__feedback--success { color: var(--accent-teal); }
.newsletter__feedback--error { color: var(--accent-orange); }
.newsletter__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.newsletter__alt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.newsletter__alt a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.newsletter__hashtag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 201, 200, 0.08);
  border: 1px solid rgba(0, 201, 200, 0.2);
  border-radius: 4px;
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============ 9. FOOTER ============ */
.footer {
  background: #060e18;
  padding: 60px 0 32px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__logo-img {
  height: 36px;
  width: auto;
  opacity: 0.7;
}
.footer__platforms {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__platform-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__platform-link:hover { color: var(--accent-teal); }
.footer__social {
  display: flex;
  gap: 20px;
}
.footer__social a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--accent-teal); }
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text-secondary); }
.footer__copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 8px;
}

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

/* Tablet */
@media (min-width: 768px) {
  .leistungen__grid { grid-template-columns: 1fr 1fr; }
  .musik__grid { grid-template-columns: 1fr 1fr 1fr; }
  .video-showcase__grid { grid-template-columns: 1fr 1fr; }
  .projekte__grid { grid-template-columns: 1fr 1fr; }
  .portfolio__item { flex: 0 0 340px; }
  .newsletter__form { max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Desktop */
@media (min-width: 1200px) {
  .leistungen__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .video-showcase__grid { grid-template-columns: 1fr 1fr 1fr; }
  .projekte__grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .portfolio__item { flex: 0 0 380px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --nav-height: 60px; }

  .navbar__toggle { display: flex; }
  .navbar__links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    flex-direction: column;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.3s ease;
  }
  .navbar__links.open { right: 0; }
  .navbar__links a { font-size: 1.1rem; }

  .hero__headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero__subline { font-size: 1rem; }

  .section { padding: 80px 0; }
  .section__title { font-size: clamp(1.6rem, 5vw, 2.5rem); }

  .portfolio__scroll-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .portfolio__item { flex: 0 0 260px; }

  .newsletter__form { flex-direction: column; }
  .newsletter__btn { width: 100%; }

  .kurse__step-number { font-size: 3rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero__gradient-placeholder,
  .card__gradient-placeholder,
  .musik__gradient-placeholder,
  .kurse__gradient-placeholder { animation: none !important; }
}
