/* FirefighterVR design draft v2, 16.11.2026. Overlay only. */

/* CI-Schriften, selbst gehostet, font-display: swap.
   Teko: OFL, Google Fonts Variable 300-700, hier als woff2 mit latin/latin-ext.
   Open Sans: lizenzierte Drive-Kopie (Apache 2.0), Schnitte Regular/Semibold/Bold. */
@font-face {
  font-family: "Teko";
  src: url("/assets/fonts/teko-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "Open Sans", sans-serif;
  --font-accent: "Teko", sans-serif;
  --font: "Open Sans", sans-serif;
  --accent: "Teko", sans-serif;
  --primary-color: #ED7F00;
  --primary-hover: #E95409;
  --primary-glow: rgba(237, 127, 0, .18);
  --primary: #ED7F00;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
  --ease: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

html[dir="rtl"] body,
html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Open Sans", sans-serif;
}

/* Titel: Teko Bold. Navigation, Buttons und Fließtext: Open Sans. */
h1, h2, h3, h4, h5,
.section-title,
.section-subtitle,
.hero-content h1,
.product-top .koffer-text h1,
.trainingslist-hero h1,
.training-hero h1,
.package-content h4,
.basis-set-price-num,
.package-price-tag,
.price-row .price,
.pbox .price,
.product-kicker,
.sec-label {
  font-family: "Teko", sans-serif;
  font-weight: 700;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
nav ul li a,
#main-nav a,
.lang-switch,
.theme-toggle,
.footer-col h4,
.footer-col ul li a,
.footer-bottom-links a,
.package-more-link,
.faq-question,
.form-group label,
.fg label,
.contact-card-content,
.hero-btns .btn {
  font-family: "Open Sans", sans-serif;
}

/* Logo-Orange #ED7F00, Verlaufende #E95409 (Logo-Stop, Schwarz 5,74:1).
   Primärbutton: schwarze Schrift auf Orange, Kontrast 7,64:1 bzw. 5,74:1 am Verlaufende. */
.btn-primary,
.hero-btns .btn-primary,
a.btn-primary,
button.btn-primary {
  color: #000 !important;
  background: linear-gradient(135deg, #ED7F00, #E95409);
  box-shadow: 0 4px 20px rgba(237, 127, 0, .4), 0 0 30px rgba(237, 127, 0, .15);
}
.btn-primary:hover,
.hero-btns .btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  color: #000 !important;
  background: linear-gradient(135deg, #E95409, #ED7F00);
}

:where(a, button, .btn, .lang-switch, .theme-toggle, .burger-btn, .faq-question, .training-card, .package-more-link, summary, input, select, textarea, .swiper-button-next, .swiper-button-prev):focus-visible {
  outline-color: #ED7F00;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.fg input:focus,
.fg select:focus,
.fg textarea:focus,
#faq-search:focus {
  outline-color: #ED7F00;
  box-shadow: 0 0 0 3px rgba(237, 127, 0, 0.4);
}
.skip-link {
  background: #ED7F00;
  color: #000 !important;
}

/* Typografie: etwas engeres Tracking bei großen Titeln, Tabellenziffern bei Preisen */
h1,
.hero-content h1,
.product-top .koffer-text h1,
.trainingslist-hero h1,
.training-hero h1 {
  letter-spacing: -0.02em;
}



.section-intro,
.koffer-text > p,
.product-top .koffer-text > p,
.details-content p,
.faq-answer-inner p,
.hero-content p {
  max-width: 65ch;
}

.basis-set-price-num,
.package-price-tag,
.pricing-table td,
.pbox .price,
.price-row {
  font-variant-numeric: tabular-nums;
}

/* Scroll-Reveals entfernen: sonst bleiben Bloecke ohne JS unsichtbar, und jeder Abschnitt verzögert den Inhalt */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4,
.d1, .d2, .d3, .d4 {
  transition-delay: 0s;
}

/* Hero-Eingang: gleicher Zweck, kürzerer Weg und unter 500 ms */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.hero-content h1,
.hero-content p,
.hero-btns,
.hero-text-backdrop,
.hero-tagline,
.hero-badge,
.hero-backdrop,
.price-row {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content h1 { animation-delay: 0s; }
.hero-text-backdrop,
.hero-badge,
.hero-backdrop { animation-delay: 0.05s; }
.hero-content p,
.hero-tagline { animation-delay: 0.08s; }
.hero-btns,
.price-row { animation-delay: 0.12s; }

/* Header: keine Layout-Animation der Hoehe */
header,
#main-header {
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Buttons: konkrete Properties, Druck-Feedback, Hover nur auf echten Zeigern */
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
a.training-card:active,
.lang-switch:active,
.theme-toggle:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-secondary:hover,
  .btn-ghost:hover { transform: translateY(-2px); }
  .training-card:hover,
  a.training-card:hover { transform: translateY(-3px); }
  .training-card:hover img { transform: scale(1.04); }
  .koffer-image:hover img,
  .gallery-main:hover img { transform: scale(1.03); }
  .advantage-item:hover,
  .why-us-item:hover,
  .card:hover,
  .market-card:hover,
  .sc-card:hover { transform: translateY(-3px); }
  .advantage-item:hover .advantage-icon { transform: scale(1.08); }
  .contact-card:hover { transform: translateX(4px); }
  .meta-item:hover { transform: translateY(-2px); }
}

@media (hover: none), (pointer: coarse) {
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .training-card:hover,
  a.training-card:hover,
  .advantage-item:hover,
  .why-us-item:hover,
  .card:hover,
  .market-card:hover,
  .sc-card:hover,
  .contact-card:hover,
  .koffer-image:hover img,
  .training-card:hover img,
  .gallery-main:hover img,
  .advantage-item:hover .advantage-icon,
  .meta-item:hover {
    transform: none;
  }
}

.training-card img,
.koffer-image img,
.gallery-main img,
.advantage-icon {
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Fokus sichtbar, auch wenn outline zuvor entfernt wurde */
:where(a, button, .btn, .lang-switch, .theme-toggle, .burger-btn, .faq-question, .training-card, .package-more-link, summary, input, select, textarea, .swiper-button-next, .swiper-button-prev):focus-visible {
  outline: 3px solid var(--primary-color, #ED7F00);
  outline-offset: 3px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.fg input:focus,
.fg select:focus,
.fg textarea:focus,
#faq-search:focus {
  outline: 3px solid var(--primary-color, #ED7F00);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(235, 146, 85, 0.4);
}

/* Touch-Ziele mindestens 44 px */
.burger-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  box-sizing: border-box;
}

.lang-switch,
.theme-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.shop-cart-qty button {
  min-width: 44px;
  min-height: 44px;
}

#faq-search-clear {
  min-width: 44px;
  min-height: 44px;
}

/* Mobiles Menue: transform statt right (GPU), RTL gegenlaeufig */
@media (max-width: 768px) {
  #main-nav {
    right: 0;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #main-nav.open {
    right: 0;
    left: auto;
    transform: translateX(0);
  }
  html[dir="rtl"] #main-nav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }
  html[dir="rtl"] #main-nav.open {
    transform: translateX(0);
  }
}

/* Checkbox-Haken nicht aus scale(0) */
.checkbox-group input:before {
  transform: scale(0.95);
  opacity: 0;
  transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), opacity 120ms ease;
}
.checkbox-group input:checked:before {
  transform: scale(1);
  opacity: 1;
}

/* Footer-Kontrast: bisher oft unter 4,5:1 */
.footer-brand p,
.footer-col ul li a,
.footer-bottom p,
.footer-bottom-links a,
.footer-col h4,
.theme-toggle,
.theme-toggle .theme-label {
  color: #d1d5db;
}
.footer-col h4 {
  color: #e5e7eb;
}
.theme-toggle:hover,
.footer-col ul li a:hover,
.footer-bottom-links a:hover {
  color: #fff;
}

/* FAQ: Struktur unveraendert, nur Tempo und Fokus. max-height bleibt, weil das JS die Hoehe setzt. */
.faq-answer {
  transition: max-height 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-chevron {
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), background-color .2s ease, border-color .2s ease;
}
.faq-question {
  min-height: 44px;
}

.hero-slideshow img {
  transition: opacity 0.35s ease;
}

/* Skip-Link: im Ruhezustand vollständig außerhalb des Viewports, ohne sichtbaren Rest
   (auch iOS Safari / WebKit). Nur bei :focus-visible sichtbar. */
a.skip-link,
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  margin: 0;
  padding: 0;
  border: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  background: #ED7F00;
  color: #000 !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  clip-path: inset(50%);
  -webkit-clip-path: inset(50%);
  clip: rect(0, 0, 0, 0);
  transform: none;
  transition: none;
}
a.skip-link:focus-visible,
.skip-link:focus-visible {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  overflow: visible;
  clip-path: none;
  -webkit-clip-path: none;
  clip: auto;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .hero-content h1,
  .hero-content p,
  .hero-btns,
  .hero-text-backdrop,
  .hero-tagline,
  .hero-badge,
  .hero-backdrop,
  .price-row {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .training-card,
  a.training-card,
  .training-card img,
  .koffer-image img,
  .gallery-main img,
  .advantage-item,
  .advantage-icon,
  .why-us-item,
  .card,
  .market-card,
  .sc-card,
  .contact-card,
  .meta-item,
  .lang-switch,
  .theme-toggle,
  header,
  #main-header,
  #main-nav,
  .nav-backdrop,
  .burger-btn span,
  .faq-answer,
  .faq-chevron,
  .hero-slideshow img,
  .checkbox-group input:before {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .btn:active,
  .training-card:hover,
  a.training-card:hover,
  .training-card:hover img,
  .koffer-image:hover img,
  .advantage-item:hover,
  .card:hover,
  .market-card:hover,
  .sc-card:hover,
  .contact-card:hover,
  .meta-item:hover {
    transform: none !important;
  }

  @media (max-width: 768px) {
    #main-nav,
    #main-nav.open,
    html[dir="rtl"] #main-nav,
    html[dir="rtl"] #main-nav.open {
      transition: none !important;
    }
  }
}


/* Karussell der Trainingsmodule weitet die Seite um mehrere tausend Pixel. Clip auf den Container und html. */
html {
  overflow-x: hidden;
  max-width: 100%;
}
.trainings-carousel,
#swiper-trainings,
.swiper-container,
.swiper {
  overflow: hidden;
  max-width: 100%;
}


/* Vergleichstabelle auf den Landings ist bei 360 px breiter als der Viewport. Scrollport statt Seitenueberlauf. */
:has(> .cmp-table) {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  max-width: none;
}


/* Verbleibende kleine Trefferflaechen: Footer-Links, Mehr-Links, Slideshow-Punkte */
.package-more-link,
.footer-col ul li a,
.footer-bottom-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.slideshow-dot,
.hero-slideshow .slideshow-dots button,
.hero-slideshow .slideshow-dots a,
.slideshow-dots button {
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

/* Solide Orange-Flaechen: schwarze Schrift (auch Filter, Ghost-Hover, Landing-CTAs). */
.filter-tab.active,
.filter-tab.active:hover,
.btn-ghost:hover,
.lang-switch:hover,
.product-top .btn-secondary:hover,
.hdr-cta,
.video-hero .btn,
.c-btn,
.c-btn:hover {
  color: #000 !important;
}
.c-btn {
  background: linear-gradient(135deg, #ED7F00, #E95409);
}
