/* T-Nerd Production – statisches Stylesheet, keine Abhängigkeiten */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #1a1a1d;
  --line: rgba(255, 255, 255, .1);
  --text: #f3f0ea;
  --muted: #a7a29a;
  --accent: #ff6b1a;
  --accent-2: #ffb36b;
  --tile: #f3f0ea;
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #000; padding: .6em 1em; border-radius: 8px; }
.skip:focus { left: 8px; }

.kicker { font: 600 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2em; }
.eyebrow { font: 600 .82rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.4em; }
.big { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--text); }
.section p:not(.big):not(.kicker) { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px;
  background: var(--accent); color: #140802; border: 1px solid var(--accent);
  font: 600 .98rem/1 var(--body); text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-sm { padding: .65em 1.2em; font-size: .9rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 12, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .1rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; filter: invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: .9; }
.brand-text b { font: 800 1.35rem/1 var(--head); letter-spacing: .02em; }
.brand-text small { font: 600 .58rem/1.4 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(243, 240, 234, .82); position: relative; padding: .3em 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .25s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem; background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .95em 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.2rem; justify-content: center; }
  .site-header:has(.nav.open) { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: #000 url("../img/hero-poster.webp") center/cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .15) 35%, rgba(11, 11, 12, .55) 70%, var(--bg) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(11, 11, 12, .85), transparent 60%);
}
.hero-content { padding-top: 140px; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero h1 { font-size: clamp(2.7rem, 8.2vw, 6.6rem); max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 40ch; color: rgba(243, 240, 234, .85); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-social { list-style: none; display: flex; gap: 1.6rem; padding-block: 0 2rem; margin-block: 0; }
.hero-social a { text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.hero-social a:hover { color: var(--text); }
@media (max-width: 560px) { .hero-social { gap: 1rem; flex-wrap: wrap; } .hero-social a { font-size: .7rem; } }

/* Sections */
.section { padding-block: clamp(5rem, 12vw, 9rem); position: relative; }
.section-dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.services { list-style: none; padding: 0; margin: clamp(3rem, 7vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; }
.services li { padding: 1.8rem 1.5rem 0 0; counter-increment: s; }
.services li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.services span { display: block; font: 700 1.3rem/1.2 var(--head); margin-bottom: .6rem; }
.services span::before { content: "0" counter(s); display: block; font: 500 .75rem/1 var(--body); color: var(--accent); letter-spacing: .1em; margin-bottom: 1rem; }
.services p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 1rem; }
  .services { grid-template-columns: 1fr 1fr; }
  .services li:nth-child(3) { border-left: 0; padding-left: 0; }
  .services li:nth-child(n+3) { padding-top: 2rem; }
}
@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { border-left: 0; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
}

/* Showreel */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player-play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 6px;
  border: 0; cursor: pointer; color: #140802; background: var(--accent);
  box-shadow: 0 0 0 12px rgba(255, 107, 26, .22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.player-play:hover { transform: scale(1.07); box-shadow: 0 0 0 18px rgba(255, 107, 26, .18); }
.player.playing .player-play { opacity: 0; pointer-events: none; }
.more-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.more-links p { margin: 0 1rem 0 0; }
@media (max-width: 560px) { .player-play { width: 72px; height: 72px; } }

/* Trainer */
.trainer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.trainer-photo { margin: 0; position: relative; }
.trainer-photo::before {
  content: ""; position: absolute; inset: 12% 4% 0; z-index: -1; border-radius: var(--radius);
  background: radial-gradient(70% 60% at 50% 35%, rgba(255, 107, 26, .45), transparent 70%), var(--surface);
}
.trainer-photo img { width: 100%; max-width: 480px; margin-inline: auto; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.tags { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .85rem; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.bmd { display: block; max-width: 300px; margin: 2.5rem 0 1.5rem; opacity: .9; }
.bmd img { filter: brightness(0) invert(1); }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.certs a { text-decoration: none; display: block; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.certs a:hover { transform: translateY(-4px); border-color: var(--accent); }
.certs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.certs span { display: block; padding: .6rem .75rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) {
  .trainer { grid-template-columns: 1fr; }
  .trainer-photo img { max-width: 340px; }
}

/* Logos */
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1rem); }
.logos li { aspect-ratio: 1; border-radius: 16px; background: var(--tile); display: grid; place-items: center; padding: 18%; transition: transform .25s ease, box-shadow .25s ease; }
.logos li.on-dark { background: var(--surface); border: 1px solid var(--line); }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos li { min-width: 0; overflow: hidden; }
.logos img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; filter: grayscale(1) brightness(.6) contrast(1.4); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.logos li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.logos li.on-dark img { filter: grayscale(1); opacity: .8; }
.logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: none) { .logos img { filter: none; opacity: 1; } }

/* Contact */
.contact { background: radial-gradient(90% 70% at 100% 0%, rgba(255, 107, 26, .18), transparent 60%), var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.card { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); }
.card-title { font: 700 1.4rem/1.2 var(--head); margin-bottom: 1.4rem; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.4rem; }
.card dt { color: var(--muted); font-size: .85rem; padding-top: .15em; }
.card dd { margin: 0; }
.card a { text-decoration: none; border-bottom: 1px solid rgba(255, 107, 26, .5); }
.card a:hover { color: var(--accent-2); }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .card dl { grid-template-columns: 1fr; gap: .2rem; } .card dd { margin-bottom: .8rem; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: .88rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); }

/* Legal page */
.legal { padding-top: 140px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 2.4em 0 .7em; letter-spacing: -.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; }
.legal-body a { color: var(--accent-2); }
.back { display: inline-block; margin-bottom: 2rem; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--text); }

/* Reveal animation (nur mit JS aktiv) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
