/*
Theme Name:  Zhong Xin Dao Leipzig
Theme URI:   https://iliqchuan-leipzig.de
Description: Webvisitenkarte für I Liq Chuan / Zhong Xin Dao Leipzig
Author:      Daniel Lucke
Author URI:  https://iliqchuan-leipzig.de
Version:     2.5.5
License:     GNU General Public License v2 or later
Text Domain: zhongxindao
*/

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

:root {
  --bg:          #0d0d0d;
  --surface:     #191919;
  --border:      rgba(255,255,255,0.1);
  --red:         #CA1517;
  --red-dim:     rgba(202,21,23,0.15);
  --text:        #e0ddd8;
  --muted:       #8D8E91;
  --muted2:      #525254;
  --white:       #FFFFFF;
  --radius:      2px;
  --max:         1100px;
  --font-head:   'Arial', 'Helvetica Neue', Arial, sans-serif;
  --font-body:   'Noto Sans', system-ui, sans-serif;
  /* Header-Höhe: Logo 312px + 1cm oben/unten (~76px) + Nav (28px) + Gap (8px) ≈ 424px */
  --header-h:    200px;
  /* Diagonale Abschnittsübergänge */
  --skew:        70px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.6rem 2rem;
  background: #000000;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  gap: 2.5rem;
  height: var(--header-h);
}

/* Diagonales Dreieck unterhalb des Headers (passend zu Abschnittsübergängen) */
.site-header::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  height: var(--skew);
  background: #000000;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 1;
}

/* Logo-Bereich */
.site-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-main {
  height: calc(var(--header-h) - 1.2rem);
  width: auto;
  max-width: 280px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s;
}

.site-logo-main:hover { opacity: 1; }

/* Custom Logo WP */
.site-header .custom-logo-link img {
  height: calc(var(--header-h) - 1.2rem);
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

/* Navigation */
.main-navigation {
  flex: 1;
  text-align: center;
}

.main-navigation ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-navigation a {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}

.main-navigation a:hover {
  color: var(--white);
  border-bottom-color: var(--red);
  text-decoration: none;
}

/* Mobile Burger */
.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 2rem calc(100svh / 10);
  overflow: hidden;
}

/* Hintergrundbild – 2cm oberhalb des Header-Endes, deckt Diagonale ab */
.hero-bg-img {
  position: absolute;
  top: calc(var(--header-h) - 2cm);
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: calc(100% - var(--header-h) + 2cm);
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

/* Dunkler Layer über dem Bild (60% Transparenz = 40% Dunkel) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.37);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

/* Hero Textblock */
.hero-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.hero-message h1 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.hero-sub-text {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.3em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--red);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  margin-left: 1rem;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--red);
  color: var(--red);
}

.btn-outline:hover { background: var(--red); color: var(--white); }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section--alt       { background: var(--surface); }
.section--grey-dark { background: var(--surface); }

/* Weißer Abschnitt (Einblicke/Galerie) */
.section--white { background: #ffffff; color: #2b2b2b; }
.section--white .section-label { color: var(--red); }
.section--white .section-title { color: #0d0d0d; }
.section--white .section-title em { color: var(--red); }
.section--white p,
.section--white li,
.section--white blockquote,
.section--white cite { color: #2b2b2b; }

/* Hellgrauer Abschnitt (Instruktor) */
.section--light { background: #ececec; }
.section--light .section-label { color: var(--red); }
.section--light .section-title { color: #0d0d0d; }
.section--light .section-title em { color: var(--red); }
.section--light p { color: #333333; }
.section--light strong { color: #0d0d0d; }
.section--light .trainer-timeline { border-top-color: rgba(0,0,0,0.15); }
.section--light .tl-content strong { color: #0d0d0d; }
.section--light .tl-content p { color: #444444; }
.section--light .instruktor-photo img { border-color: rgba(0,0,0,0.15); }
.container { max-width: var(--max); margin: 0 auto; }

/* ── Diagonale Übergänge (links tief → rechts hoch) ─────── */
.hero + section,
.section + section {
  position: relative;
  z-index: 2;  /* über hero-overlay (z-index:1) */
  clip-path: polygon(0 var(--skew), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--skew));
  padding-top: calc(6rem + var(--skew));
}
/* Quote-Section hat eigenes kompakteres Padding */
.hero + .quote-section,
.section + .quote-section {
  padding-top: calc(3rem + var(--skew));
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

/* Abstand in Schriftgröße über dem ersten Textblock auf Unterseiten */
.ueber-text,
.ilc-text,
.instruktor-text {
  padding-top: 1em;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: normal; color: var(--red); }

.divider {
  width: 40px; height: 2px;
  background: var(--red);
  margin: 0 0 2.5rem;
  opacity: 0.6;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* ── Über das Training ────────────────────────────────────── */
.training-text-block {
  max-width: 740px;
}

.training-text-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.3rem;
}

.training-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Zitat ───────────────────────────────────────────────── */
.quote-section {
  background: var(--red);
  text-align: center;
  padding: 4rem 2rem;
}

.zitat { max-width: 720px; margin: 0 auto; }

.zitat p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.zitat cite {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── Instruktor ───────────────────────────────────────────── */
.instruktor-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

/* Reverse-Variante: Text links, Foto rechts */
.instruktor-grid--reverse {
  grid-template-columns: 2fr 1fr;
}

.instruktor-photo { position: sticky; top: calc(var(--header-h) + 1rem); }

.instruktor-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.photo-placeholder svg { width: 60px; height: 60px; opacity: 0.2; }
.photo-placeholder p { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }

.trainer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.badge {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 1px;
  color: var(--muted);
}

.badge--red { border-color: var(--red); color: var(--red); }

.instruktor-text > p { color: var(--muted); margin-bottom: 1.2rem; font-size: 0.97rem; line-height: 1.8; }
.placeholder-text { border-left: 2px solid var(--red); padding-left: 1rem; color: var(--muted2) !important; font-style: italic; margin-bottom: 2rem !important; }

.trainer-timeline { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 2rem; }

.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; margin-bottom: 1.75rem; align-items: start; }

.tl-year {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.2rem;
}

.tl-content strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tl-content p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Wann & Wo ────────────────────────────────────────────── */
.wannwo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.wannwo-block h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.wannwo-block p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.wannwo-highlight {
  font-family: var(--font-head);
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1.25rem 0 !important;
}

.wannwo-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 1px;
  margin-bottom: 1.5rem;
}

/* ── Kontakt ─────────────────────────────────────────────── */
.kontakt-page {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 6rem;
  background: #ffffff !important;
}
.kontakt-inner { max-width: 620px; margin: 0 auto; text-align: center; padding-top: 1em; }
.kontakt-page .section-label { color: var(--red); }
.kontakt-page .section-title { color: #0d0d0d; }
.kontakt-inner > p { color: #444444; margin-bottom: 2rem; font-size: 0.95rem; }
.kontakt-buttons { margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.kontakt-or { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #888; margin-bottom: 1.5rem; opacity: 0.7; }
.kontakt-page label { color: #555555; }
.kontakt-page input[type="text"],
.kontakt-page input[type="email"],
.kontakt-page textarea {
  background: #f5f5f5;
  border-color: #cccccc;
  color: #0d0d0d;
}

/* Pflichtfeld-Stern */
.req-star { color: var(--red); font-weight: 900; }

/* Hinweiszeile "* kennzeichnet erforderliche Felder" */
.form-required-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: left;
}
.kontakt-page .form-required-note { color: #999; }

/* Einverständnis-Checkbox (DSGVO) */
.cf7-acceptance { margin-top: 0.5rem; }

/* CF7 rendert: .wpcf7-acceptance > label > input + span.wpcf7-list-item-label */
.cf7-acceptance .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #222222;
}
.cf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.cf7-acceptance .wpcf7-list-item-label {
  line-height: 1.55;
  color: #222222;
}

.wpcf7 form, form.contact-form { display: grid; gap: 1rem; text-align: left; }

label { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.4rem; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s;
  outline: none;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus { border-color: var(--red); }
textarea { min-height: 130px; resize: vertical; }

input[type="submit"], button[type="submit"] {
  width: 100%;
  padding: 0.85rem 2.2rem;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

input[type="submit"]:hover, button[type="submit"]:hover { background: transparent; color: var(--red); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 2rem;
  padding-top: calc(3rem + var(--skew));
  border-top: none;
  text-align: center;
  background: #000000;
  clip-path: polygon(0 var(--skew), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--skew));
  position: relative;
  z-index: 2; /* gleicher z-index wie sections, DOM-Reihenfolge entscheidet → Footer gewinnt */
}

.footer-logo { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.5; }
.footer-logo-text { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.site-footer p { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--red); }

.footer-nav { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.footer-nav ul { display: flex; justify-content: center; gap: 2rem; list-style: none; padding: 0; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.footer-nav a:hover { color: var(--red); text-decoration: none; }

.footer-copy { margin-top: 1.5rem !important; font-size: 0.72rem !important; opacity: 0.4; }

/* ── Unterseiten ─────────────────────────────────────────── */
.page-wrapper-white {
  background: #ffffff;
  min-height: calc(100vh - var(--header-h) - 6rem);
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding-top: calc(var(--header-h) + 3rem + 1em);
  padding-bottom: 6rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.page-content .section-label { color: var(--red); }
.page-content h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; text-transform: uppercase; color: #0d0d0d; margin-bottom: 2.5rem; letter-spacing: -0.01em; }
.page-content h2 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0d0d0d; margin: 2.5rem 0 0.75rem; }
.page-content h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: #333333; margin: 1.5rem 0 0.5rem; }
.page-content p, .page-content li { color: #444444; font-size: 0.95rem; margin-bottom: 0.75rem; line-height: 1.8; }
.page-content ul { padding-left: 1.5rem; }
.page-content li { margin-bottom: 0.3rem; }
.page-content a { color: var(--red); }

/* Adressblock */
.page-content address { font-style: normal; color: var(--muted); font-size: 0.95rem; line-height: 2; border-left: 2px solid var(--red); padding-left: 1.25rem; margin: 1rem 0 2rem; }

/* ── Hero CTA ────────────────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── Erster Abschnitt unter dem Header (Header-Höhe ausgleichen) ── */
.section--first {
  padding-top: calc(var(--header-h) + 3rem);
}

/* ── Was ist Zhong Xin Dao – Grid mit Foto links ────────── */
.zxd-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.zxd-photo {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding-top: 1em; /* bündig mit ueber-text padding-top */
}

.zxd-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ── Über das Training – Grid ────────────────────────────── */
.ueber-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

.ueber-text > p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.zxd-ideogram {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  text-align: center;
  padding: 1rem 0;
  margin: 0.5rem 0 1.2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.zxd-subheading {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.04em;
}

/* ── Duo-Grid: Sticky-Foto gleitet über ZXD + ILC ───────── */
.duo-section {
  padding-bottom: 0;   /* unterer Abstand kommt vom letzten Block */
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.duo-photo {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.duo-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.duo-content {
  display: flex;
  flex-direction: column;
}

/* Dunkler Block (ZXD – erbt Hintergrund der Section) */
.duo-block--dark {
  padding: 4rem 0;
}

/* Weißer Block (ILC) */
.duo-block--white {
  background: #ffffff;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 4rem 3rem;
  margin: 0 -3rem;   /* bündig mit dem Container-Rand */
}

/* ILC Abschnitt */
.ilc-text {
  /* im zxd-grid eingebettet – kein eigenes max-width */
}

.duo-block--white p,
.ilc-text > p {
  color: #2b2b2b;
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.ilc-principles {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.ilc-principles li {
  color: #2b2b2b;
  font-size: 0.97rem;
  line-height: 1.85;
  padding: 0.2rem 0 0.2rem 1.4rem;
  position: relative;
  text-indent: 0;
}

.ilc-principles li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.duo-block--white .section-title,
.duo-block--white .section-title em {
  color: #111111;
}

/* ILC auf weissem Hintergrund: Überschriften dunkel */
#ilc .section-title,
#ilc .section-title em {
  color: #111111;
}

.ilc-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--red);
  background: #f7f7f7;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.ilc-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: #111111;
  margin: 0 0 0.5rem;
  line-height: 1.7;
}

.ilc-quote cite {
  font-style: normal;
  font-size: 0.88rem;
  color: #555555;
  letter-spacing: 0.04em;
}

.links {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
}

.links a { color: var(--red); }
.links a:hover { text-decoration: underline; }

/* Principles grid */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.principle {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.principle .icon {
  display: block;
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 0.6rem;
  font-family: serif;
  line-height: 1;
}

.principle h3 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.principle p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Gallery ─────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ── Training: Label über Fotos ──────────────────────────── */
.training-section-label {
  display: block;
  margin-bottom: 0.6rem;
}

/* ── Training: 3-Spalten Foto + Text ────────────────────── */
.training-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.4fr;
  gap: 0.6rem;
  align-items: start;
}

/* Linke Spalte: 2 Fotos, oben bündig mit Mittelbild und Textblock */
.training-col-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.training-col-left img:first-child {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}

.training-col-left img:last-child {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}

/* Mittlere Spalte: 1 hohes Foto – gleich hoch wie linke Spalte gesamt */
.training-col-mid {
  display: block;
}

.training-col-mid img {
  width: 100%;
  height: 435px; /* 170 + 255 + ~10px gap = gleiche Höhe wie linke Spalte */
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Rechte Spalte: Text */
.training-col-text {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.training-col-text > p {
  color: #1a1a1a;
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.training-col-text .section-title {
  color: #111111;
}

/* ── Training Cards (alt) ────────────────────────────────── */
.training-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.card-day {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.5rem; }

.card .time {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 1rem;
}

/* ── Wann & Wo – Cards ───────────────────────────────────── */
.wannwo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.wannwo-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.wannwo-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--red);
  opacity: 0.8;
}

.wannwo-icon svg { width: 100%; height: 100%; }

.wannwo-card .wannwo-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.wannwo-card .wannwo-highlight {
  font-family: var(--font-head);
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: block;
  margin: 0.3rem 0 !important;
  line-height: 1.1;
}

.wannwo-card .wannwo-time {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1rem;
}

.wannwo-card .wannwo-note {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --header-h: 200px; }
  .wannwo-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ueber-grid { grid-template-columns: 1fr; gap: 3rem; }
  .training-layout { grid-template-columns: 1fr; min-height: unset; gap: 1rem; }
  .training-col-left { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 0.6rem; }
  .training-col-left img { height: 200px; }
  .training-col-mid img { height: 200px; }
  .training-col-text { padding-left: 0; margin-top: 1rem; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .wannwo-cards { grid-template-columns: 1fr 1fr; }
  .training-cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .instruktor-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .instruktor-photo { position: static; }
  .instruktor-photo img, .photo-placeholder { aspect-ratio: 16/9; }
  .zxd-grid { grid-template-columns: 1fr; gap: 2rem; }
  .zxd-photo { position: static; }
  .zxd-photo img { aspect-ratio: 3/4; object-position: top center; }
  .duo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .duo-photo { position: static; }
  .duo-photo img { aspect-ratio: 16/9; }
  .duo-block--white { margin: 0; padding: 3rem 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 140px; --skew: 40px; }

  .site-header { padding: 0.5rem 1rem; flex-direction: row; height: var(--header-h); }
  .site-logo-main { height: calc(var(--header-h) - 1rem); width: auto; }

  .main-navigation { display: none; }
  .main-navigation.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(0,0,0,0.98);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
  }
  .main-navigation.is-open ul { flex-direction: column; gap: 0; }
  .main-navigation.is-open li a { display: block; padding: 0.85rem 2rem; text-align: center; }

  .nav-toggle { display: flex; }

  .section { padding: 4rem 1.25rem; }
  /* Header (140px) + Diagonale (40px) + Luft – NACH .section damit kein Überschreiben */
  .section--first  { padding-top: 230px !important; }
  .page-content    { padding-top: 280px; }
  .kontakt-page    { padding-top: 230px !important; }
  .btn-ghost { margin-left: 0; margin-top: 0.5rem; }
  .kontakt-buttons { flex-direction: column; align-items: stretch; }
  .hero-zxd-logo { max-width: 160px; }
  .hero-ilc-logo { max-width: 120px; }
  .training-cta { flex-direction: column; }
  .wannwo-cards { grid-template-columns: 1fr; }
  .training-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .main-navigation.is-open ul { gap: 0; }
}
