/* ==========================================================================
   LOKALE FONTS (DSGVO: kein Abruf von Google-Servern)
   ========================================================================== */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-variable-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}

/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Colors */
  --black: #0C0C0C;        /* Wandschwarz */
  --black-soft: #161616;   /* Weicheres Schwarz für Kacheln/Sektionen */
  --mat: #F4F4F2;          /* Mattenweiß */
  --mat-grey: #DCDCD9;     /* Mattengrau */
  --wood: #C09A6B;         /* Holzboden — einziger Farbakzent */
  --wood-dark: #A58055;    /* Dunklerer Holzton für Hover-Zustände */
  
  --line-dark: rgba(12, 12, 12, 0.12);
  --line-light: rgba(244, 244, 242, 0.16);
  
  /* Fonts */
  --font-sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  font-variation-settings: 'wdth' 100;
  background: var(--mat);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono {
  font-family: var(--font-mono);
}

a {
  color: inherit;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typografie */
.wall {
  font-weight: 900;
  font-variation-settings: 'wdth' 125;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.wall-sub {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.55em;
  font-size: 0.72rem;
}

/* ==========================================================================
   KOMPONENTEN
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-black {
  background: var(--black);
  color: var(--mat);
}

.btn-black:hover {
  background: var(--black-soft);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--mat);
  color: var(--black);
}

.btn-white:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--line-light);
  color: var(--mat);
}

.btn-outline:hover {
  border-color: var(--mat);
}

.btn-wood {
  background: var(--wood);
  color: var(--black);
}

.btn-wood:hover {
  background: var(--wood-dark);
  transform: translateY(-1px);
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-dark);
  opacity: 0.6;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--mat);
  border-bottom: 1px solid var(--line-light);
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Scroll-Effekt für den Header */
header.header-scrolled {
  background: var(--black);
  border-bottom-color: rgba(244, 244, 242, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.1;
}

/* Seit 2026-08-16 ist das Logo ein transparentes PNG (helle Schrift, aus dem
   Logo-Paket des Kunden). Das frueher noetige mix-blend-mode:screen ist damit
   weg — es war nur der Workaround dafuer, dass ein JPG keinen Alphakanal hat
   und der schwarze Kasten sonst im Header zu sehen war. */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.foot-logo {
  height: 52px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

nav ul a:hover {
  opacity: 1;
}

/* Aktuelle Seite im Menue (derzeit nur "Team" auf trainer.html) */
nav ul a[aria-current="page"] {
  opacity: 1;
  color: var(--wood);
}

.nav .btn {
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   SEKTIONEN (ALLGEMEIN)
   ========================================================================== */
section {
  padding: 100px 0;
}

.sec-head {
  margin-bottom: 60px;
}

.sec-head .wall-sub {
  color: var(--wood);
  display: block;
  margin-bottom: 18px;
}

/* h1 und h2 teilen sich die Groesse: pro Seite gibt es genau EIN h1
   (Trainerseite: "Wer bei uns auf der Matte steht."), optisch soll es sich
   aber nicht von den Sektions-Ueberschriften abheben. Der Hero setzt seine
   eigene, groessere Groesse weiter unten. */
h1,
h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
}

.sec-head p {
  max-width: 58ch;
  opacity: 0.75;
  margin-top: 18px;
  font-weight: 300;
}

/* ==========================================================================
   HERO SEKTION (DIE SCHWARZE WAND)
   ========================================================================== */
.hero {
  background: var(--black);
  color: var(--mat);
  padding: 120px 0 0;
  overflow: hidden;
  position: relative;
}

/* Hintergrundvideo-Container (Schritt 2 Vorbereitung) */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dunkles Overlay über dem Video für maximale Lesbarkeit des Textes */
.hero-video-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(12, 12, 12, 0.45) 0%,
    rgba(12, 12, 12, 0.95) 100%
  );
  z-index: 2;
}

/* Inhalt über dem Video */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Geometrisches Hintergrund-Muster (Fallback) */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 154, 107, 0.03) 0%, transparent 100%),
              radial-gradient(circle at 80% 20%, rgba(244, 244, 242, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.hero .wall-sub {
  color: var(--wood);
  margin-bottom: 28px;
  display: block;
}

.hero h1 {
  /* 8vw statt 10vw: "Philosopher" in wdth 125 lief sonst rechts aus dem Wrap */
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--mat);
  display: block;
}

.hero p.lead {
  max-width: 54ch;
  font-size: 1.02rem;
  opacity: 0.75;
  margin: 34px 0 44px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 80px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}

.hero-meta > div {
  padding: 26px 0;
  font-size: 0.85rem;
  border-right: 1px solid var(--line-light);
  padding-right: 24px;
}

.hero-meta > div:last-child {
  border-right: none;
}

.hero-meta span {
  opacity: 0.45;
  display: block;
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  margin-bottom: 6px;
}

/* Mattenkante unter dem Hero */
.mat-edge {
  height: 14px;
  background: repeating-linear-gradient(
    90deg, 
    var(--mat) 0 120px, 
    var(--mat-grey) 120px 240px
  );
}

/* ==========================================================================
   PHILOSOPHIE SEKTION (WEIẞE MATTE)
   ========================================================================== */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.principle {
  background: var(--mat);
  padding: 42px 34px;
  position: relative;
  transition: transform var(--transition-normal);
}

.principle:hover {
  transform: translateY(-2px);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: var(--wood);
}

.principle h3 {
  font-weight: 800;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.principle p {
  font-size: 0.92rem;
  opacity: 0.78;
  font-weight: 300;
}

.principle .maxim {
  display: block;
  margin-top: 22px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 600;
}

/* ==========================================================================
   PROGRAMME SEKTION (SCHWARZE WAND)
   ========================================================================== */
.programs {
  background: var(--black);
  color: var(--mat);
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.prog-card {
  background: var(--black-soft);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.prog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 244, 242, 0.4);
}

.prog-media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 244, 242, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* Design-Vektorgrafiken als SVG-Hintergründe für Platzhalter */
.prog-media svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  transition: opacity var(--transition-normal), scale var(--transition-normal);
}

.prog-card:hover .prog-media svg {
  opacity: 0.3;
  scale: 1.05;
}

/* Bild-Unterstützung für echte Fotos in den Containern */
.prog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* Zeigt den oberen Bereich des Porträt-Bildes (Kopf/Gesicht) */
  transition: transform var(--transition-normal);
  display: block;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* Verhindert, dass Phils Kopf abgeschnitten wird */
  transition: transform var(--transition-normal);
  display: block;
}

.prog-card:hover .prog-media img {
  transform: scale(1.05);
}

.prog-media span {
  position: absolute;
  z-index: 2;
  background: rgba(12, 12, 12, 0.75);
  padding: 6px 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(244, 244, 242, 0.1);
  font-weight: 600;
}

.prog-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.prog-tag {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 600;
}

.prog-body h3 {
  font-weight: 900;
  font-variation-settings: 'wdth' 122;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
}

.prog-body p {
  font-size: 0.9rem;
  opacity: 0.72;
  font-weight: 300;
}

.prog-link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mat);
  transition: color var(--transition-fast);
}

.prog-link:hover {
  color: var(--wood);
}

/* ==========================================================================
   COACH SEKTION (SPLIT)
   ========================================================================== */
.coach {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.coach-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 12, 12, 0.45);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-color: var(--mat-grey);
}

.coach-photo svg {
  width: 100%;
  height: 100%;
  opacity: 0.08;
}

.coach-photo span {
  position: absolute;
  z-index: 2;
  background: rgba(244, 244, 242, 0.85);
  padding: 8px 16px;
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-dark);
  font-weight: 600;
}

.coach-text {
  background: var(--black);
  color: var(--mat);
  padding: 100px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coach-text .wall-sub {
  color: var(--wood);
  display: block;
  margin-bottom: 18px;
}

.coach-text h2 {
  margin-bottom: 24px;
}

.coach-text p {
  opacity: 0.75;
  margin-bottom: 16px;
  font-weight: 300;
  max-width: 48ch;
}

.coach-stats {
  display: flex;
  gap: 48px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.coach-stats b {
  font-weight: 900;
  font-variation-settings: 'wdth' 125;
  font-size: 2rem;
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.coach-stats span {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ==========================================================================
   TRAININGSZEITEN (STUNDENPLAN MIT FILTER)
   ========================================================================== */
.schedule-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.schedule-filter .filter-btn {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--black);
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.schedule-filter .filter-btn:hover {
  border-color: var(--black);
}

.schedule-filter .filter-btn.active {
  background: var(--black);
  color: var(--mat);
  border-color: var(--black);
}

/* Scroll-Container: haelt breite Tabellen auf sehr schmalen Screens im Zaum,
   ohne dass die ganze Seite horizontal scrollt (weisser Balken rechts) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.schedule th, .schedule td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}

.schedule th {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
}

.schedule td:first-child {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Animation für Zeilen-Filterung */
.schedule tbody tr {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.schedule tbody tr.hidden-row {
  display: none;
}

/* Interaktive Stundenplan-Klassen-Kärtchen */
/* Ein Tag hat mehrere Klassen untereinander (seit dem echten Stundenplan
   2026-08-16). Vorher standen sie nebeneinander, durch "·" getrennt —
   mit Uhrzeit davor wird das zu lang und bricht unschoen um. */
.class-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.class-item {
  display: inline-block;
  padding: 4px 8px;
  margin: 0;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 400;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

/* Uhrzeit vor dem Klassennamen — bewusst zurueckgenommen, damit beim
   Ueberfliegen der Klassenname traegt und nicht die Zahl. */
.class-time {
  opacity: 0.55;
  margin-right: 6px;
  white-space: nowrap;
}

/* ~= statt = : data-type kann mehrere Kategorien tragen ("bjj nogi").
   Mit dem exakten Vergleich haetten EarlyBird, Fundamental, Freies Training
   und Open Mat gar keinen Farbstreifen bekommen. */
.class-item[data-type~="bjj"] {
  border-left: 3px solid #1a365d; /* Dunkelblau für Gi */
}
.class-item[data-type~="nogi"] {
  border-left: 3px solid #744210; /* Braun/Holz für No-Gi */
}
.class-item[data-type~="mma"] {
  border-left: 3px solid #742a2a; /* Dunkelrot für MMA */
}
.class-item[data-type~="kids"] {
  border-left: 3px solid #22543d; /* Dunkelgrün für Kids */
}
.class-item[data-type~="weitere"] {
  border-left: 3px solid #4a4a4a; /* Neutral für Fitness / Woman ONLY */
}

/* Klassen, die zu mehreren Bereichen gehoeren (EarlyBird, Fundamental,
   Freies Training, Open Mat), bekommen den neutralen Ton statt der Farbe
   eines einzelnen Bereichs. Zwei Attribut-Selektoren = hoehere Spezifitaet,
   die Regel gewinnt also unabhaengig von der Reihenfolge oben. */
.class-item[data-type~="bjj"][data-type~="nogi"] {
  border-left-color: #4a4a4a;
}

.class-item.dimmed-class {
  opacity: 0.25;
}

.schedule-note {
  margin-top: 22px;
  font-size: 0.8rem;
  opacity: 0.55;
}

/* ==========================================================================
   CTA-BAND
   ========================================================================== */
.cta-band {
  background: var(--black);
  color: var(--mat);
  text-align: left;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.cta-band .wall-sub {
  color: var(--wood);
  display: block;
  margin-bottom: 22px;
}

.cta-band h2 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  max-width: 16ch;
  margin-bottom: 26px;
}

.cta-band h2 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--mat);
}

.cta-band p {
  opacity: 0.7;
  max-width: 52ch;
  margin-bottom: 42px;
  font-weight: 300;
}

/* ==========================================================================
   KONTAKT & FORMULAR
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}

.contact h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact h3 svg {
  width: 16px;
  height: 16px;
  stroke: var(--wood);
}

.contact p {
  font-size: 0.92rem;
  opacity: 0.8;
  margin-bottom: 8px;
  font-weight: 300;
}

.contact .block {
  margin-bottom: 32px;
}

/* Kontaktformular Styles */
.contact-form-container {
  position: relative;
}

.contact-form {
  background: var(--mat-grey);
  border: 1px solid var(--line-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--black);
}

.form-control {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid rgba(12, 12, 12, 0.15);
  background: #ffffff;
  color: var(--black);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 2px rgba(12, 12, 12, 0.05);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0C0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Validierungshinweise */
.form-control:invalid:not(:placeholder-shown) {
  border-color: #9b2c2c;
}

/* Success Message */
.form-success {
  display: none;
  background: var(--black);
  color: var(--mat);
  border: 1px solid var(--line-light);
  padding: 40px;
  text-align: center;
  min-height: 400px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 0.4s ease forwards;
}

.form-success svg {
  width: 48px;
  height: 48px;
  stroke: var(--wood);
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  max-width: 32ch;
  opacity: 0.7;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Social-Media-Links (Kontakt + Footer) */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.social-links a:hover {
  opacity: 1;
  color: var(--wood);
}

.social-links svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.foot-social {
  margin-top: 18px;
}

/* Kopf ueber dem Formular (Interessentenliste) */
.form-head {
  margin-bottom: 24px;
}

.form-head .wall-sub {
  color: var(--wood);
  display: block;
  margin-bottom: 14px;
}

.form-head h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.form-head p {
  font-size: 0.88rem;
  font-weight: 300;
  opacity: 0.75;
  line-height: 1.6;
  max-width: 46ch;
}

/* Hansefit-Partnerbanner ueber dem Formular.
   Weisser Grund wie im Hansefit-Auftritt: das Logo braucht Weiss, auf dem
   Mattenweiss der Seite verschwimmt das Markenzeichen. Das Logo selbst ist
   die offizielle SVG-Datei und bleibt unveraendert — nur die beiden Woerter
   drumherum stehen in der Hausschrift der Seite. */
.hansefit {
  background: #FFFFFF;
  border: 1px solid var(--line-dark);
  padding: 34px 32px;
  margin-bottom: 24px;
}

.hansefit .hansefit-claim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
  opacity: 1;
  color: #0C0C0C;
  font-weight: 900;
  font-variation-settings: 'wdth' 125;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
}

.hansefit .hansefit-claim img {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
}

/* Einwilligungs-Checkbox (Pflichtfeld der Interessentenliste) */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-consent input[type="checkbox"] {
  /* flex-shrink:0 verhindert, dass die Box vom langen Label plattgedrueckt wird */
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--black);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
  cursor: pointer;
  /* bewusst NICHT die Grossbuchstaben-Optik der uebrigen Feld-Labels:
     das hier ist Fliesstext, den man lesen soll, keine Feldbezeichnung */
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  opacity: 0.85;
}

.form-consent a {
  color: inherit;
}

/* Datenschutz-Hinweis im Formular */
.form-privacy {
  font-size: 0.72rem;
  opacity: 0.6;
  font-weight: 300;
  line-height: 1.5;
}

.form-privacy a {
  color: inherit;
}

/* Fehlermeldung beim Formular-Versand (ersetzt das frueher blockierende alert()) */
.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 2px solid #C0564B;
  background: rgba(192, 86, 75, 0.1);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.5;
}

.form-error[hidden] {
  display: none;
}

/* Link unter der Karte */
.map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--wood);
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

.map-link:hover {
  color: var(--wood-dark);
}

/* ==========================================================================
   PREISE — schwarze Wand
   Das Markup ist NICHT in index.html, sondern in der Projektdoku geparkt
   (Obsidian: philosopher-bjj-geparkte-bausteine). Das CSS bleibt aktiv,
   damit beim Reaktivieren nur der Block eingesetzt werden muss.
   ========================================================================== */
.pricing {
  background: var(--black);
  color: var(--mat);
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--black-soft);
  border: 1px solid var(--line-light);
  padding: 36px 28px;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--wood);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  background: var(--wood);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
}

.pricing-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 24px;
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.7;
}

.pricing-value {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 800;
  font-variation-settings: 'wdth' 110;
  line-height: 1;
}

.pricing-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-left: 4px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  width: 100%;
}

.pricing-features li {
  font-size: 0.86rem;
  font-weight: 300;
  opacity: 0.82;
  padding: 10px 0 10px 20px;
  border-top: 1px solid var(--line-light);
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--wood);
}

/* Button an den Kartenfuss schieben, damit alle Karten buendig enden */
.pricing-card .btn {
  margin-top: auto;
}

.pricing-note {
  margin-top: 40px;
  font-size: 0.82rem;
  font-weight: 300;
  opacity: 0.6;
  max-width: 62ch;
}

@media (max-width: 600px) {
  .pricing {
    padding: 72px 0;
  }
  .pricing-card {
    padding: 30px 22px;
  }
}

/* ==========================================================================
   RECHTSSEITEN (IMPRESSUM / DATENSCHUTZ)
   ========================================================================== */
.legal .wrap {
  max-width: 800px;
}

.legal h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin: 36px 0 10px;
}

.legal p {
  font-size: 0.92rem;
  opacity: 0.8;
  font-weight: 300;
  margin-bottom: 12px;
}

/* :not(.btn) — sonst ueberschreibt diese Regel die Schriftfarbe von Buttons
   in Rechtsseiten/404 (schwarze Schrift auf schwarzem Button = unsichtbar). */
.legal a:not(.btn) {
  color: inherit;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--black);
  color: var(--mat);
  padding: 60px 0 40px;
  font-size: 0.82rem;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-links a {
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
}

.foot-links a:hover {
  opacity: 1;
}

.foot-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  opacity: 0.45;
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   TESTIMONIALS (SOCIAL PROOF)
   ========================================================================== */
.testimonials {
  background: var(--mat);
  padding: 100px 0;
  border-bottom: 1px solid var(--line-dark);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--line-dark);
  padding: 40px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 5rem;
  font-family: var(--font-sans);
  color: var(--wood);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.testimonial-author {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--black);
}

.testimonial-role {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   ERSTES TRAINING & ETIKETTE
   ========================================================================== */
.etiquette {
  background: var(--black);
  color: var(--mat);
  padding: 100px 0;
}

.etiquette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.etiquette-column h3 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  color: var(--mat);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
}

/* Checkliste */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.checklist-icon {
  width: 20px;
  height: 20px;
  stroke: var(--wood);
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.checklist-text p {
  font-size: 0.88rem;
  opacity: 0.7;
  font-weight: 300;
}

/* Etikette Cards */
.rule-card {
  background: var(--black-soft);
  border: 1px solid var(--line-light);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color var(--transition-fast);
}

.rule-card:hover {
  border-color: rgba(244, 244, 242, 0.3);
}

.rule-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood);
  margin-bottom: 8px;
}

.rule-card p {
  font-size: 0.88rem;
  opacity: 0.72;
  font-weight: 300;
}

/* ==========================================================================
   FAQ (AKKORDEONS)
   ========================================================================== */
.faq {
  background: var(--mat);
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line-dark);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-item summary {
  padding: 24px 30px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  list-style: none; /* Blendet Standard-Dreieck aus */
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Eigener Dreieck-Ersatz */
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--wood);
  transition: transform var(--transition-normal);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none; /* Safari Dreieck ausblenden */
}

.faq-content {
  padding: 0 30px 24px 30px;
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  animation: slideDown 0.3s ease forwards;
}

.faq-content p {
  font-size: 0.92rem;
  opacity: 0.8;
  font-weight: 300;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BACK-TO-TOP BUTTON
   ========================================================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--mat);
  border: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

#backToTop.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--black-soft);
  border-color: var(--wood);
  color: var(--wood);
}

#backToTop svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

#backToTop:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE STYLING)
   ========================================================================== */
@media (max-width: 900px) {
  /* Layouts auf einspaltig umstellen */
  .principles {
    grid-template-columns: 1fr;
  }
  
  .prog-grid {
    grid-template-columns: 1fr;
  }
  
  .coach {
    grid-template-columns: 1fr;
  }
  
  .coach-photo {
    min-height: 320px;
  }
  
  .coach-text {
    padding: 64px 28px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-meta {
    grid-template-columns: 1fr;
  }
  
  .hero-meta > div {
    border-right: none;
    border-bottom: 1px solid var(--line-light);
    padding-right: 0;
  }
  
  .hero-meta > div:last-child {
    border-bottom: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Navigations-Toggle & Mobil-Menü */
  nav ul {
    display: none;
  }
  
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line-light);
    padding: 8px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--mat);
    font-weight: 700;
    transition: background var(--transition-fast), border-color var(--transition-fast);
  }
  
  .nav-toggle:hover {
    border-color: var(--mat);
  }

  nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line-light);
    padding: 20px 24px;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  section {
    padding: 72px 0;
  }
  
  .hero {
    padding: 80px 0 0;
  }
  
  .contact-form {
    padding: 30px 20px;
  }

  /* Mobile-Stile für neue Abschnitte */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .etiquette-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  #backToTop svg {
    width: 16px;
    height: 16px;
  }
}

/* --------------------------------------------------------------------------
   PHONE-BREAKPOINT (<= 600px) — Feinschliff fuer echte Handybreiten
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Hero-Headline: "PHILOSOPHER" (wdth 125) lief auf schmalen Screens rechts
     aus dem Wrap und wurde von overflow:hidden abgeschnitten. Kleiner + etwas
     schmalere Glyphen, damit das Wort komplett sichtbar bleibt. */
  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 3.4rem);
    font-variation-settings: 'wdth' 100;
    letter-spacing: 0.01em;
  }

  /* Stundenplan kompakter, damit er auf dem Handy ohne Scroll passt;
     .table-scroll faengt noch schmalere Geraete zusaetzlich ab. */
  .schedule table {
    font-size: 0.76rem;
  }

  .schedule th,
  .schedule td {
    padding: 12px 10px;
  }

  .class-item {
    margin: 2px 2px;
    padding: 3px 6px;
    font-size: 0.74rem;
  }

  /* Sektions-Innenabstand auf kleinen Screens etwas reduzieren */
  .wrap {
    padding: 0 18px;
  }
}

/* Sicherheitsnetz: verhindert, dass ein einzelnes zu breites Element je wieder
   die gesamte Seite horizontal scrollen laesst (weisser Balken rechts).
   overflow-x:clip statt hidden, weil hidden einen neuen Scroll-Container
   erzeugt und damit position:sticky im Header bricht. */
html,
body {
  overflow-x: clip;
}

/* ==========================================================================
   TRAINER-SEITE (trainer.html)
   Nutzt bewusst dieselben Bausteine wie die Startseite: Wand/Matte-Wechsel,
   --wood als einziger Akzent, Archivo + IBM Plex Mono.
   Porträts sind absichtlich kleiner als Phils Coach-Foto (max. 220px breit,
   3:4) — Phil bleibt als Head Coach der visuelle Anker.
   ========================================================================== */

/* Entwurfs-Hinweis oben — vor Livegang aus dem HTML loeschen */
.draft-note {
  background: var(--wood);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 12px 0;
}

.trainer-intro {
  background: var(--black);
  color: var(--mat);
  padding: 90px 0 80px;
}

.trainer-intro .sec-head {
  margin-bottom: 36px;
}

/* Text links, Teamfoto rechts — ab 980 px zweispaltig, darunter gestapelt */
.intro-split {
  display: grid;
  gap: 48px;
}

.intro-photo {
  margin: 0;
  overflow: hidden;
  background-color: var(--mat-grey);
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 980px) {
  .intro-split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }

  .trainer-intro .sec-head p {
    max-width: 46ch;
  }
}

.trainer-intro .sec-head p {
  opacity: 0.72;
}

/* Sprungmarken zu den vier Programmen */
.trainer-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trainer-jump a {
  text-decoration: none;
  border: 1px solid var(--line-light);
  padding: 10px 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.trainer-jump a:hover {
  border-color: var(--wood);
  color: var(--wood);
}

/* Ein Block pro Programm; Wand/Matte wechseln sich ab */
.trainer-block {
  padding: 90px 0;
  /* Sticky-Header ueberdeckt sonst die Ueberschrift beim Ankersprung */
  scroll-margin-top: 84px;
}

.trainer-block.block-wall {
  background: var(--black);
  color: var(--mat);
}

.block-head {
  margin-bottom: 48px;
}

.block-head .prog-tag {
  display: block;
  margin-bottom: 14px;
}

.block-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}

.block-head p {
  font-weight: 300;
  opacity: 0.7;
  max-width: 56ch;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

/* Steht in einem Programm nur ein Trainer, wuerde die Karte halbbreit links
   haengen. Dann eine Spalte, in der Breite gedeckelt. */
.trainer-grid:has(> .trainer-card:only-child) {
  grid-template-columns: minmax(0, 640px);
}

.trainer-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.45);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.block-wall .trainer-card {
  border-color: var(--line-light);
  background: var(--black-soft);
}

.trainer-card:hover {
  transform: translateY(-3px);
  border-color: var(--wood);
}

.trainer-photo {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: var(--mat-grey);
  color: rgba(12, 12, 12, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-wall .trainer-photo {
  background: #1a1a1a;
  color: rgba(244, 244, 242, 0.5);
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform var(--transition-normal);
}

.trainer-card:hover .trainer-photo img {
  transform: scale(1.04);
}

/* Platzhalter-Silhouette, solange kein Foto vorliegt */
.trainer-photo svg {
  width: 62%;
  height: 62%;
  opacity: 0.35;
  stroke: currentColor;
}

.trainer-photo span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.trainer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trainer-role {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 600;
}

.trainer-body h3 {
  font-weight: 900;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  line-height: 1.05;
}

.trainer-body p {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.75;
}

.trainer-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.trainer-facts li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid var(--line-dark);
  opacity: 0.75;
}

.block-wall .trainer-facts li {
  border-color: var(--line-light);
}

.trainer-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.trainer-link:hover {
  color: var(--wood);
}

@media (max-width: 1000px) {
  .trainer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .trainer-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .trainer-photo {
    max-width: 180px;
  }

  .trainer-block {
    padding: 64px 0;
  }
}

/* Sprungziel aller Probetraining-Buttons: das Formular selbst.
   Ohne scroll-margin-top schiebt der Sticky-Header die ersten Felder unter sich. */
#probetraining {
  scroll-margin-top: 92px;
}
