/* ===== Defence Lab Hamburg – One-Pager (Website-Baukasten) =====
   THEMING-REGEL: Markenspezifisches wird NUR im :root-Block geändert
   (Farben, Schriften, Radius). Alles darunter ist generisch und bleibt
   in allen Kundenprojekten identisch. */

:root {
  /* Markenfarben — Basis Theme-Preset "Sport — Dunkel & Neon", angeglichen an die
     aktuelle Andy-Norman-Palette (acjnorman.com, Stand 2026-07): reines Schwarz
     #000000 + Neon-Grün #06ff15 + Weiß. Passt zum realen Defencelab-Logo und zur
     Altseiten-Aussage "Unsere Farben sind schwarz und grün". */
  --color-primary: #06ff15;        /* Hauptfarbe (Buttons, Links, Akzente) — Neon-Grün wie acjnorman.com */
  --color-primary-dark: #eaffea;   /* hell: Überschriften auf dunklem Grund, section-dark-Bg */
  --color-primary-light: #6dff77;  /* helle Variante (Kicker) */
  --color-accent: #067d10;         /* Akzent (Icons auf Neon-Grund, Kicker auf hellen Sektionen) */
  --color-soft: #17201a;           /* Borders, section-accent */
  --color-alt: #0e130f;            /* Header, section-alt, Karten */
  --color-bg: #000000;             /* Grund-Hintergrund (reines Schwarz wie acjnorman.com) */
  --color-text: #f2f5f2;           /* Fließtext */
  --color-muted: #a9b6ab;          /* gedämpfter Text */
  --color-on-dark: #113013;        /* Text auf section-dark (hier: heller Grund) */

  /* Typografie & Form */
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* ===== Basis (generisch – nicht pro Kunde ändern) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4.2rem; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

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

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-primary-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; margin-bottom: 0.35em; }

a { color: var(--color-primary); }

/* Sichtbarer Fokus für Tastaturnutzung (WCAG 2.4.7) — generisch für alle interaktiven Elemente */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-primary); outline-offset: 2px;
}
/* (Footer ist hier dunkel — der Standard-Fokusring in --color-primary hat
   ausreichend Kontrast, keine eigene Ringfarbe nötig.) */

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-alt) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-soft);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.7rem;
}

.brand {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--color-primary);
}
.brand-mark { height: 34px; width: auto; }
.brand-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-text); }
.brand-name strong { color: var(--color-primary); }

.nav-list {
  display: flex; gap: 0.65rem; list-style: none; align-items: center;
  font-size: 0.88rem;
}
.nav-list a {
  text-decoration: none; color: var(--color-text); font-weight: 500;
  padding: 0.3rem 0.1rem; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--color-primary); border-color: var(--color-accent); }
.nav-cta {
  background: var(--color-primary); color: var(--color-bg) !important;
  padding: 0.45rem 1.1rem !important; border-radius: 999px;
  border: none !important; transition: background 0.2s;
}
.nav-cta:hover { background: var(--color-primary-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--color-primary); transition: transform 0.25s, opacity 0.25s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; font-family: var(--font-body);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-ghost { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-ghost:hover { background: var(--color-soft); }
/* Varianten für dunkle Hintergründe (section-dark) */
.btn-light { background: var(--color-bg); color: var(--color-primary-dark); }
.btn-light:hover { background: var(--color-alt); }
.btn-ghost-light { border-color: var(--color-on-dark); color: var(--color-on-dark); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== Hero ===== */
.hero { background: var(--color-alt); position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  grid-template-areas: "kicker art" "text art";
  align-items: center; padding-block: 4.5rem 5.5rem;
}
.hero-inner .hero-kicker { grid-area: kicker; }
.hero-inner .hero-art { grid-area: art; }
.hero-inner .hero-text { grid-area: text; }
.hero-kicker, .section-kicker {
  color: var(--color-primary-light); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.82rem; margin-bottom: 0.6rem;
}
.hero h1 em { color: var(--color-primary); font-style: italic; }
.hero-sub { margin: 1.2rem 0 1.8rem; color: var(--color-muted); font-size: 1.08rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-block; margin-top: 1.4rem;
  background: var(--color-bg); border: 1px solid var(--color-soft);
  border-radius: 999px; padding: 0.5rem 1.1rem;
  font-size: 0.92rem; font-weight: 600; color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}
.hero-badge .badge-dim { color: var(--color-muted); font-weight: 400; }
.hero-art .gallery-item { display: block; width: 100%; cursor: zoom-in; }
.hero-art .gallery-item img {
  width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block;
  background: var(--color-alt);
  border-radius: 24px; box-shadow: 0 16px 40px rgba(30, 40, 38, 0.25);
}

.divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.divider svg { width: 100%; height: 48px; display: block; }

/* ===== Sektions-Hintergründe (Konvention: nur diese vier verwenden) ===== */
.section { padding-block: 4.5rem; }
.section-white { background: var(--color-bg); }
.section-alt { background: var(--color-alt); }
.section-accent { background: var(--color-soft); }
.section-dark { background: var(--color-primary-dark); }
.section-dark h2, .section-dark h3 { color: var(--color-bg); }
.section-dark p, .section-dark li { color: var(--color-on-dark); }
.section-dark .section-kicker { color: var(--color-accent); }
.section-intro { color: var(--color-muted); max-width: 40rem; margin-bottom: 2.2rem; }

/* ===== Leistungen (Karten) ===== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.card {
  background: var(--color-alt); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--color-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(30,40,38,0.16); }
.card p { color: var(--color-muted); font-size: 0.97rem; }
.card-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--color-primary); color: var(--color-accent);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 32px; height: 32px; }

/* ===== Über uns ===== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center;
}
.about-grid.about-grid-solo { grid-template-columns: 1fr; max-width: 46rem; }
.about-text p + p { margin-top: 0.9rem; }
.stats { display: grid; gap: 1.1rem; }
.stat {
  background: var(--color-bg); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow); text-align: center;
}
.stat dt {
  font-family: var(--font-heading); font-size: 2.2rem;
  color: var(--color-primary); font-weight: 700;
}
.stat dd { color: var(--color-muted); }

/* ===== Galerie ===== */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.gallery-item {
  border: none; padding: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover { transform: scale(1.025); box-shadow: 0 12px 32px rgba(30,40,38,0.18); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.section-emblem { margin: 0 0 1.8rem; text-align: center; }
.section-emblem .gallery-item { display: block; width: clamp(260px, 34vw, 380px); max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.section-emblem .gallery-item img { width: 100%; height: auto; aspect-ratio: auto; display: block; }
@media (max-width: 620px) {
  .section-emblem .gallery-item { width: min(78%, 320px); }
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 30, 28, 0.88);
  display: grid; place-items: center; padding: 5vmin;
}
.lightbox figure { max-width: min(880px, 94vw); }
.lightbox img {
  width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--radius); background: var(--color-bg);
}
.lightbox figcaption { color: var(--color-alt); text-align: center; margin-top: 0.8rem; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.4rem;
  background: none; border: none; color: var(--color-alt);
  font-size: 2.6rem; line-height: 1; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--color-alt);
  font-size: 3rem; line-height: 1; cursor: pointer; padding: 0.5rem 0.8rem;
}
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { color: var(--color-primary); }

/* ===== Kundenstimmen (sections/stimmen.html) ===== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote {
  background: var(--color-bg); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--color-accent);
}
.quote blockquote { font-style: italic; color: var(--color-text); }
.quote figcaption { margin-top: 1rem; color: var(--color-muted); font-size: 0.92rem; font-weight: 600; }

/* ===== Tarife (sections/tarife.html) ===== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.price-card {
  background: var(--color-bg); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--color-soft);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.price-card.featured { border: 2px solid var(--color-primary); }
.price-label { font-weight: 700; color: var(--color-primary-dark); }
.price-value { font-family: var(--font-heading); font-size: 2rem; color: var(--color-primary); }
.price-value span { font-size: 1rem; color: var(--color-muted); font-family: var(--font-body); }
.price-note { color: var(--color-muted); font-size: 0.9rem; }
.price-card ul { list-style: none; margin-block: 0.4rem; }
.price-card li { padding-left: 1.3rem; position: relative; font-size: 0.95rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-extra { margin-top: 1.6rem; color: var(--color-muted); font-size: 0.95rem; }

/* ===== Jobs (sections/jobs.html) ===== */
.jobs-inner {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 2.5rem; align-items: center;
}
.jobs-text { max-width: 38rem; }
.jobs-actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }

/* ===== Team (sections/team.html) ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.team-card {
  background: var(--color-bg); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-align: center;
  padding-bottom: 1.4rem;
}
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 1rem; }
.team-role { color: var(--color-muted); font-size: 0.92rem; }

/* ===== Vorstellung / Text-Bild-Split (sections/vorstellung.html) ===== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.split-text p + p { margin-top: 0.9rem; }
.pull-quote {
  margin-top: 1.6rem; padding: 1rem 1.4rem;
  border-left: 4px solid var(--color-primary);
  font-size: 1.15rem; font-style: italic; color: var(--color-text);
}
.split-media { margin: 0; }
.split-media .gallery-item { display: block; width: 100%; cursor: zoom-in; }
.split-media .gallery-item img {
  width: 100%; height: auto; aspect-ratio: auto; object-fit: contain;
  background: var(--color-alt);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

.video-block { margin-top: 3rem; max-width: 46rem; }
.video-block + .split { margin-top: 3.5rem; }
.video-facade {
  position: relative; aspect-ratio: 16 / 9; margin-top: 1rem;
  background-size: cover; background-position: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%;
}
.video-facade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(0, 0, 0, 0.15); transition: background 0.2s;
}
.video-facade:hover::after { background: rgba(0, 0, 0, 0.3); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; border: 0; background: none; padding: 0;
  cursor: pointer; z-index: 1;
}
.video-play svg { width: 100%; height: 100%; }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-caption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--color-muted); }

/* ===== Ablauf-Schritte (sections/ablauf.html) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: var(--color-alt); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow);
  border: 1px solid var(--color-soft);
}
.step p { color: var(--color-muted); font-size: 0.97rem; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-bg);
  display: grid; place-items: center; margin-bottom: 1rem;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
}

/* ===== Trainer/Instructoren (sections/trainer.html) ===== */
.instructors { display: grid; gap: 1.6rem; }
.instructor {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.8rem; align-items: start;
  background: var(--color-alt); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--color-soft);
}
.instructor img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius);
}
.instructor-role { color: var(--color-primary); font-weight: 600; margin-bottom: 0.6rem; }
.instructor-body p { color: var(--color-muted); }
.instructor-facts { list-style: none; margin-top: 0.9rem; }
.instructor-facts li { padding-left: 1.3rem; position: relative; font-size: 0.95rem; }
.instructor-facts li::before { content: '✓'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }

.awards-label {
  margin-top: 1.1rem; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted);
}
.awards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem;
  max-width: 340px;
}
.awards .gallery-item img { aspect-ratio: 3 / 4; }

/* ===== Kontakt ===== */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; margin-top: 1.5rem;
}
.contact-grid.contact-grid-solo { grid-template-columns: 1fr; max-width: 46rem; }
.contact-info address { font-style: normal; margin-block: 1.1rem; }
.contact-info address p + p { margin-top: 0.7rem; }
.contact-info h3 { margin-top: 1.3rem; }

.contact-whatsapp {
  background: var(--color-bg); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
}
.contact-note { color: var(--color-muted); }

/* ===== Footer ===== */
/* Abweichung vom Template (Nutzerwunsch 2026-08-10): dunkler Footer statt
   --color-primary-dark — im Dark-Neon-Theme ist primary-dark hell (#eaffea)
   und stach als einziger heller Block von der schwarzen Seite ab. */
.site-footer {
  background: var(--color-alt); color: var(--color-text); padding-block: 2.2rem;
  border-top: 1px solid var(--color-soft);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.site-footer a { color: var(--color-primary); margin-left: 1.2rem; }
.site-footer small { color: var(--color-muted); }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.site-footer a.social-link { color: #fff; }
.social-link-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-link-facebook { background: #1877f2; }
.social-link:hover { transform: scale(1.12); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); }
.social-icon { width: 1.35rem; height: 1.35rem; }

/* ===== Unterseiten (Impressum/Datenschutz) ===== */
.legal-main { padding-block: 3.5rem; }
.legal-main h1 { margin-bottom: 1rem; }
.legal-main h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-main p { max-width: 46rem; margin-top: 0.7rem; }
.legal-note {
  background: var(--color-soft); border-left: 4px solid var(--color-accent);
  padding: 0.8rem 1.1rem; border-radius: 8px; margin-bottom: 1.5rem;
  max-width: 46rem;
}

/* ===== Scroll-Einblendungen ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .gallery-item:hover { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "kicker" "art" "text";
    padding-block: 3rem 4.5rem;
  }
  .cards, .quotes, .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .jobs-inner, .split { grid-template-columns: 1fr; gap: 2rem; }
  /* Mobil: WhatsApp-CTA zuerst, damit Anker-Klicks auf #kontakt direkt beim Button landen */
  .contact-whatsapp { order: -1; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .instructor { grid-template-columns: 160px 1fr; gap: 1.4rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--color-alt);
    border-bottom: 1px solid var(--color-soft); padding: 0.5rem 0 1rem;
    box-shadow: var(--shadow);
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list a { display: block; padding: 0.8rem; border: none; }
  .nav-list .nav-cta { display: inline-block; margin-top: 0.5rem; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 620px) {
  .cards, .quotes, .gallery, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .instructor { grid-template-columns: 1fr; }
  .instructor img { max-width: 220px; justify-self: center; }

  .footer-inner { flex-direction: column; text-align: center; }
  .site-footer a { margin: 0 0.6rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; font-size: 0.92rem; padding: 0.75rem 1.1rem; }
}
