/* Gemeinsamer Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & Grundlayout */
body {
  font-family: sans-serif;
  background: #f4f4f4;
  color: #333;
}

/* Navbar */
.navbar {
  background: #222;
  padding: 10px 0;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: normal;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #f06c00;
}

/* Hero / Header Section */
.hero {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

/* Standard-Hero-Content (Basis) */
.hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #f06c00;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #d85f00;
}

/* Sections / Container */
.section {
  padding: 40px 20px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.bg-light {
  background-color: #fff;
}

h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

p {
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.feature-box h3 {
  margin-bottom: 10px;
}

/* Sekundär-Button */
.btn-secondary {
  display: inline-block;
  background-color: #555;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background-color: #333;
}

/* FAQ-Items */
.faq-item {
  background: #fff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.faq-item h3 {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container p {
  margin-bottom: 5px;
}

/* Responsiv (Navbar) */
@media (max-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav-menu li a {
    padding: 5px;
  }
}

/* ================================
   HERO: Zweispalter + Videos (9:16)
   ================================ */

/* Grid-Layout im Hero (links Video, rechts Text/Buttons) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;        /* mobil: untereinander */
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: auto 1fr; /* desktop: links Video, rechts Text */
    gap: 40px;
  }
}

/* Text rechts: auf Desktop linksbündig, mobil mittig */
.hero .hero-content {
  max-width: 680px;  /* angenehme Zeilenlänge */
  text-align: left;
  margin: 0;         /* überschreibt margin:auto aus der Basis */
}
@media (max-width: 899px) {
  .hero .hero-content { text-align: center; }
}

/* Videokarten */
.video-card { display: grid; place-items: center; }

/* Gemeinsamer Video-Rahmen – PORTRAIT 9:16 */
.video-frame {
  position: relative;                    /* für Overlay-Button */
  width: clamp(240px, 32vw, 420px);      /* gleiche Breite links & rechts */
  aspect-ratio: 9 / 16;                  /* ideal für 1080x1920 */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

/* Video füllt den Rahmen */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;                     /* keine Balken */
  display: block;
}

/* Rechte Videokarte bekommt EXAKT den gleichen Rahmen wie links */
.video-card.right-video .video-frame {
  width: clamp(240px, 32vw, 420px);
  aspect-ratio: 9 / 16;
}

/* Button-Gruppe im Hero */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
@media (max-width: 480px) {
  .btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Utilities */
.hidden { display: none !important; }

/* Fallback-Play-Overlay (falls Autoplay blockiert) */
.play-overlay{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  line-height: 72px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
