/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:          #1a1a1a;
  --paper:        #fafaf7;
  --surface-dark: #2a2a2a;
  --gold:         #b89a6a;
  --gold-hover:   #a08456;
  --logo-blue:    #2f3a8c;
  --muted:        #6b6b6b;
  --border:       #e0ddd8;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1200px;
  --pad-h: 24px;
  --section-v: 96px;
  --gap: 32px;
  --radius: 2px;
  --transition: 150ms ease;

  --header-h: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

ul[role="list"] { list-style: none; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: 14px;
}
.skip-link:focus-visible { top: 8px; }

.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;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-h);
}

.section-pad {
  padding-block: var(--section-v);
}

.section-dark {
  background: var(--surface-dark);
  color: #fff;
}

.section-dark .section-label,
.section-dark .section-sub { color: rgba(255,255,255,0.65); }

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

/* Scroll-reveal: hidden until JS fires */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Staggered delay for sibling reveals */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 247, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: height var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  height: 64px;
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 40px;
  width: auto;
  transition: height var(--transition);
}
.site-header.scrolled .logo img { height: 32px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a:not(.btn) {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--transition);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
}
.nav-list a:not(.btn):hover,
.nav-list a:not(.btn):focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.38);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-inline: var(--pad-h);
  max-width: 860px;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.section-ueber {
  background: var(--paper);
}

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

.ueber-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

.ueber-text p + p { margin-top: 20px; }

/* ============================================================
   WAS WIR BIETEN
   ============================================================ */
.section-bieten {
  background: var(--surface-dark);
  color: #fff;
}

.bieten-grid {
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  gap: 0;
  align-items: stretch;
}

.bieten-col {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.bieten-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.bieten-col p { color: rgba(255,255,255,0.72); line-height: 1.7; }

.bieten-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  filter: grayscale(1);
  display: block;
}

/* ============================================================
   FÜR WEN
   ============================================================ */
.section-fuerwen {
  background: var(--paper);
}

.fuerwen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.fuerwen-card {
  position: relative;
  overflow: hidden;
}

.fuerwen-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72) contrast(1.1);
  transition: transform 0.5s ease;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .fuerwen-card:hover .fuerwen-card-img { transform: scale(1.03); }
}

.fuerwen-card-body {
  padding: 32px 32px 40px;
  background: var(--paper);
}

.fuerwen-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
}

.fuerwen-card-body p { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ============================================================
   TRAINER
   ============================================================ */
.section-trainer {
  background: var(--surface-dark);
  color: #fff;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  max-width: 800px;
  margin-inline: auto;
}

.trainer-card {
  text-align: center;
}

.trainer-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  margin-bottom: 24px;
}

.trainer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 4px;
}

.trainer-dan {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.trainer-bio {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.section-faq {
  background: var(--paper);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 22px;
}

/* ============================================================
   KURSE & TERMINE
   ============================================================ */
.section-kurse {
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.section-kurse .section-title { color: #fff; }
.section-kurse .section-sub { color: rgba(255,255,255,0.65); margin-inline: auto; }

/* ============================================================
   KONTAKT
   ============================================================ */
.section-kontakt {
  background: var(--paper);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.kontakt-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
}

.kontakt-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.kontakt-item a:hover,
.kontakt-item a:focus-visible { color: var(--gold); }

.kontakt-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-dark);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding-block: 64px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-brand p { line-height: 1.7; margin-bottom: 4px; }

.footer-nav li + li { margin-top: 8px; }
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-v: 64px; }

  .ueber-grid { grid-template-columns: 1fr; gap: 40px; }
  .ueber-img { aspect-ratio: 16 / 9; }

  .bieten-grid { grid-template-columns: 1fr; }
  .bieten-img { aspect-ratio: 16 / 7; min-height: auto; order: -1; }
  .bieten-col { padding: 40px 24px; }

  .fuerwen-grid { grid-template-columns: 1fr; }

  .trainer-grid { grid-template-columns: 1fr; max-width: 400px; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; align-items: center; }

  .nav-list {
    display: none;
    position: fixed;
    inset-block: var(--header-h) 0;
    inset-inline: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-inline: var(--pad-h);
  }
  .nav-list.open { display: flex; }

  .nav-list a:not(.btn) {
    font-size: 20px;
    padding-block: 16px;
    border-bottom: none;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
  }
  .nav-list li:first-child a:not(.btn) { border-top: none; }
  .nav-list li:last-child { margin-top: 24px; }
  .nav-list .btn { width: 100%; text-align: center; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
