/* Basis-Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  /* Moderner, animierter Hintergrund */
  background: linear-gradient(135deg, #1e3c72, #2a5298, #6dd5ed);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: #2d2d2d;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Navbar */
.navbar{ width:100%; height:70px; background:#fff; position:fixed; top:0; left:0; z-index:1000; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition: padding .3s ease; }
.navbar.shrink{ padding:.5rem 2rem; }
.nav-left{ position:absolute; left:20px; top:50%; transform:translateY(-50%); }
.nav-left .logo img{ height:50px; transition: height .3s; }
.navbar.shrink .logo img{ height:35px; }
.nav-right{ position:absolute; right:20px; top:50%; transform:translateY(-50%); display:flex; align-items:center; gap:2rem; }
.nav-links{ display:flex; list-style:none; gap:2rem; align-items:center; }
.nav-links li a{ text-decoration:none; color:#2d2d2d; font-weight:500; transition: color .3s; }
.nav-links li a:hover{ color:#1e90ff; }

/* Hamburger */
.hamburger{ display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span{ width:25px; height:3px; background:#2d2d2d; border-radius:5px; transition: all .3s; }
.hamburger.active span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

/* Mobile Navbar */
@media (max-width: 768px){
  .nav-links{ position:absolute; top:70px; right:20px; flex-direction:column; background:#fff; width:200px; max-height:0; overflow:hidden; padding:0; box-shadow:0 4px 20px rgba(0,0,0,.1); transition:max-height .5s; }
  .nav-links li{ opacity:0; transform:translateX(20px); margin:1rem 0; transition: opacity .4s, transform .4s; }
  .nav-links.active{ max-height:500px; }
  .nav-links.active li{ opacity:1; transform:none; }
  .hamburger{ display:flex; }
}

/* Hero mit Video-Hintergrund */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

/* Video-Hintergrund */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* passt Video an den Bildschirm an */
  z-index: -2; /* hinter Overlay und Inhalt */
  filter: brightness(0.6); /* leicht abdunkeln für bessere Lesbarkeit */
}

/* Dunkles Overlay über dem Video */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* halbtransparentes Schwarz */
  z-index: -1;
}

/* Hero Content */
.hero-content {
  max-width: 1000px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25),
              0 0 20px rgba(30,144,255,0.3);
  animation: fadeInUp 1s ease forwards;
  will-change: transform, opacity;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

/* Animation fürs sanfte Auftauchen */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 🌐 Responsive Anpassungen */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 1.5rem;
  }

  .hero-content {
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 90%;
    background: rgba(255,255,255,0.12);
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* 📱 Kleinere Smartphones */
@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}


/* Tabs */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.tab-btn {
  padding: .6rem 1.5rem;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #1e90ff;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s;
}
.tab-btn.active {
  background: #003f6b;
  color: #fff;
}
.tab-btn:hover {
  transform: translateY(-2px);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Führerschein Cards */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.license-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-align: center;
}

/* Bilder etwas größer, leicht gestretcht, ohne grob zu verzerren */
.license-card img {
  width: 100%;
  height: 240px;
  object-fit: cover; /* füllt besser aus */
  object-position: center; /* zentriert das Motiv */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.license-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.license-card h3 {
  margin: 1rem 0 0.5rem;
  color: #fff;
}

.license-card p {
  color: #f1f1f1;
  font-size: 0.95rem;
  padding: 0 1rem 1rem;
}

/* Hover-Effekt */
.license-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.22);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .license-card img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .license-card img {
    height: 170px;
  }
}
/* Mobile Fix für License-Cards */
@media (max-width: 768px) {
  .license-grid {
    grid-template-columns: 1fr; /* eine Spalte, mittig */
    gap: 1.5rem;
    justify-items: center;
  }

  .license-card {
    width: 90%; /* schön mittig mit Rand */
    max-width: 400px;
  }

  .license-card img {
    height: 220px; /* etwas höher, damit Bild nicht abgeschnitten wird */
    object-fit: contain; /* zeigt das komplette Bild */
    object-position: center center; /* garantiert Zentrierung */
    background-color: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 480px) {
  .license-card {
    width: 95%;
  }

  .license-card img {
    height: 200px;
  }
}

/* --- Modal (Pop-up) für vergrößerte Karte --- */
.license-modal {
  display: none; /* unsichtbar bis geöffnet */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease forwards;
  padding: 1rem;
  box-sizing: border-box;
}

.license-modal-content {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.3s ease forwards;
  position: relative;
}

.license-modal-content img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s ease;
}
.close-modal:hover {
  color: #ff5722;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 📱 Mobile Anpassung */
@media (max-width: 768px) {
  .license-modal-content {
    width: 95%;
    padding: 1.2rem;
    border-radius: 16px;
  }

  .license-modal-content img {
    max-height: 260px;
  }

  .license-modal-content h3 {
    font-size: 1.3rem;
  }

  .license-modal-content p {
    font-size: 0.9rem;
  }

  .close-modal {
    font-size: 1.5rem;
    top: 8px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .license-modal-content {
    padding: 1rem;
  }

  .license-modal-content img {
    max-height: 220px;
  }

  .license-modal-content h3 {
    font-size: 1.1rem;
  }

  .license-modal-content p {
    font-size: 0.85rem;
  }
}



.info-note {
  font-size: .9rem;
  color: #eee;
  margin-top: 1rem;
}

/* Kurse & Seminare */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #fff;
}
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
}
.btn-cta {
  background: #ff5722;
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all .3s;
  cursor: pointer;
}
.btn-cta:hover {
  background: #ff784e;
  transform: translateY(-3px);
}

/* Sub-Tabs */
.subtab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.subtab-btn {
  padding: .6rem 1.5rem;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #1e90ff;
  font-weight: bold;
  cursor: pointer;
  transition: all .3s;
}
.subtab-btn.active {
  background: #003f6b;
  color: #fff;
}
.subtab-btn:hover {
  transform: translateY(-2px);
}
.subtab-pane { display: none; }
.subtab-pane.active { display: block; }

/* Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Statistik-Sektion */
.stats-section {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  margin-top: 3rem;
  padding: 60px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
  text-align: center;
}
.stat-card {
  background: rgba(255,255,255,.12);
  padding: 2rem;
  border-radius: 18px;
  transition: transform .3s ease, background .3s ease;
}
.stat-card h3 {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: #fff;
}
.stat-card p {
  color: #ddd;
}
.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.2);
}
/* Sub-Tabs */
.subtab-buttons{ display:flex; justify-content:center; gap:1rem; margin-bottom:1.5rem; }
.subtab-btn{ padding:.6rem 1.5rem; border:none; border-radius:30px; background:#fff; color:#1e90ff; font-weight:bold; cursor:pointer; transition:all .3s; }
.subtab-btn.active{ background:#003f6b; color:#fff; }
.subtab-btn:hover{ transform:translateY(-2px); }
.subtab-pane{ display:none; }
.subtab-pane.active{ display:block; }

/* Sektion unter dem Tab-Content */
.section-pad{ padding: 60px 20px; }
.container{ max-width:1200px; margin:0 auto; }
.section-title{ text-align:center; color:#fff; font-size:2rem; margin-bottom:2rem; }

/* Vorteile */
.features-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:1.2rem; }
.feature-card{ background:rgba(255,255,255,.12); border-radius:16px; padding:1.2rem; text-align:center; color:#fff; backdrop-filter:blur(6px); transition:transform .3s, background .3s, box-shadow .3s; }
.feature-card:hover{ transform:translateY(-6px); box-shadow:0 10px 22px rgba(0,0,0,.18); background:rgba(255,255,255,.18); }
.feature-ico{ font-size:1.8rem; margin-bottom:.4rem; }

/* Steps / Timeline */
.stepper{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:1.2rem; counter-reset: step; }
.step{ position:relative; background:rgba(255,255,255,.12); border-radius:14px; padding:1rem 1rem 1.2rem; color:#fff; backdrop-filter:blur(6px); transition:transform .3s, background .3s; }
.step:hover{ transform:translateY(-5px); background:rgba(255,255,255,.18); }
.badge{ width:36px; height:36px; border-radius:50%; background:#ff784e; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:.6rem; }

/* Reveal Animations (in/out) */
.reveal, .reveal-item{ opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view, .reveal-item.in-view{ opacity:1; transform: translateY(0); }

/* Animation Basis */
@keyframes fadeInUp{ 0%{opacity:0; transform:translateY(40px);} 100%{opacity:1; transform:translateY(0);} }

/* === Footer (identisch zur Startseite) === */
.footer {
  background: linear-gradient(to top, #ffffff, #f0f8ff);
  color: #2d2d2d;
  padding: 50px 20px;
  font-family: "Segoe UI", sans-serif;
  border-top: 3px solid;
  border-image: linear-gradient(to right, #7ec8ff, #ffffff, #7ec8ff);
  border-image-slice: 1;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
  text-align: center;
}
.footer-left {
  font-style: italic;
  font-size: 1.1rem;
  color: #7ec8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-center h4, .footer-right h4 {
  margin-bottom: 10px;
  color: #7ec8ff;
}
.footer-right .footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  padding: 0;
}
.footer-right .footer-nav li a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  transition: all 0.3s;
  padding: 5px 10px;
  border-radius: 8px;
}
.footer-right .footer-nav li a:hover {
  background: #7ec8ff;
  color: #fff;
  transform: translateY(-3px);
}
.footer-right p {
  font-size: 0.9rem;
  color: #555;
}
.footer .credit {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7ec8ff;
  font-style: italic;
}
.footer .credit strong {
  color: #1e90ff;
}


/* Responsive Hero */
@media (max-width: 768px){
  .hero{ min-height:auto; padding:4rem 1rem 2rem; }
  .hero-content{ padding:1.4rem; border-radius:14px; }
  .hero-content h2{ font-size:1.9rem; }
  .hero-subtitle{ font-size:1rem; margin-bottom:1.2rem; }
  .license-grid{ grid-template-columns:1fr; gap:1rem; }
  .license-card img{ height:150px; }
}


/* Future Section */
.future {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.future-bg {
  background: url('https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.1);
  will-change: transform;
}

.future-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
  backdrop-filter: blur(4px);
}

.future-container {
  position: relative;
  z-index: 1;
}

.future-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.future-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.future-card h4 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.future-card p {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.future-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.18);
}

/* Responsive Future Section */
@media (max-width: 768px) {
  .future-subtitle {
    font-size: 1rem;
  }
  .future-card {
    padding: 1.2rem;
  }
}
/* Socials Section */
.socials {
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(30,144,255,0.15), rgba(0,0,0,0.25));
  border-top: 2px solid rgba(255,255,255,0.15);
}

.social-subtitle {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-btn img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover-Effekt: Bild leicht größer + Glow */
.social-btn:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}


.social-btn.tiktok:hover img {
  filter: none; /* Originalfarben beim Hover zeigen */
}

.social-btn.instagram:hover img {
  filter: none;
}
/* Pulsierender Glow beim Hover */
.social-btn:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.8))
          drop-shadow(0 0 20px rgba(30,144,255,0.6));
  animation: pulseGlow 1.5s infinite;
}

/* Keyframes für den Glow */
@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5))
            drop-shadow(0 0 12px rgba(30,144,255,0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255,255,255,0.9))
            drop-shadow(0 0 28px rgba(30,144,255,0.8));
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5))
            drop-shadow(0 0 12px rgba(30,144,255,0.4));
  }
}



/* Responsive */
@media (max-width: 768px) {
  .social-btn {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }
}


