body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
}

/* ----------------- NAVBAR ----------------- */
.navbar {
  background: #1e3a8a; /* dunkles Blau */
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2em;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #e0e7ff;
  text-decoration: none;
  font-weight: 500;
}

/* ----------------- HERO ----------------- */
header.hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
  z-index: 1;
}

/* Slideshow Layer */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
}

.hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-background.active {
  opacity: 1;
}

/* Overlay über Bildern */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(30,58,138,0.75), rgba(59,130,246,0.75));
  z-index: -1;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------- BUTTONS ----------------- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  border: none;
  transition: background 0.3s;
  width: auto;
}

.btn:hover {
  background: #2563eb;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff !important;
}

.btn.full {
  width: 100%;
}

/* ----------------- FEATURES ----------------- */
.features {
  padding: 50px 20px;
  text-align: center;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.feature {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  flex: 1 1 250px;
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* ----------------- CTA ----------------- */
.cta {
  background: linear-gradient(rgba(37,99,235,0.9), rgba(37,99,235,0.9)),
              url("assets/cta-bg.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta .btn {
  background: white;
  color: #2563eb;
}

.cta .btn:hover {
  background: #e0e7ff;
}
.cta2 {
  background: linear-gradient(135deg, rgba(30,58,138,0.95), rgba(59,130,246,0.85)),
              url("assets/cta-bg2.jpg") center/cover no-repeat;
  color: #f9fafb;
  text-align: center;
  padding: 60px 20px;
}

.cta2 .btn {
  background: white;
  color: #2563eb;
}

.cta2 .btn:hover {
  background: #e0e7ff;
}
/* ----------------- FOOTER ----------------- */
footer {
  background: #1e3a8a;
  color: #e0e7ff;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}
footer a {
  color: #cbd5e1;
  text-decoration: none;
}

/* ----------------- FORMULARE ----------------- */
.form-section {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #1e3a8a;
  font-weight: 600;
}

/* Inputs + Buttons im Formular */
.card input,
.form-section button,
.btn.full {
  width: 100%;
  padding: 11px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.form-section button {
  background: #3b82f6;
  color: white;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

.form-section button:hover {
  background: #2563eb;
}

/* ----------------- DASHBOARD ----------------- */
.dashboard {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.dashboard ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.dashboard ul li {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

/* === FOOTER === */
.site-footer {
  background: linear-gradient(180deg, #1c1f24, #0f1114);
  color: #ccc;
  padding: 60px 20px 20px;
  font-size: 15px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #aaa;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
  border-bottom: 2px solid #00b4d8;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #00b4d8;
  text-shadow: 0 0 5px #00b4d8;
}

.footer-bottom {
  border-top: 1px solid #333;
  text-align: center;
  padding-top: 15px;
  margin-top: 40px;
  color: #777;
  font-size: 14px;
}

.footer-bottom strong {
  color: #fff;
}

/* --- Instagram Icon im Footer --- */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb; /* dein Markenblau */
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background-color: #3b82f6; /* etwas helleres Blau beim Hover */
}

.footer-social svg {
  stroke: #fff;
}

/* Für kleinere Bildschirme */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* Responsive */
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
  }
}


.badge {
  display: none;
  background: #ef4444;
  color: #fff;
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.sidebar .badge {
  font-size: 11px;
  padding: 1px 6px;
}

.sidebar a:hover .badge {
  background: #dc2626;
  transform: scale(1.05);
}

.tab-btn.active .badge {
  background: #fee2e2;
  color: #b91c1c;
}

/* --- Navigationslinks allgemein --- */
.sidebar ul li a {
  display: block;
  padding: 10px 14px;
  color: #1e3a8a;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.sidebar ul li a:hover {
  background: #e0e7ff;
  color: #1e40af;
}

/* --- Aktive Seite --- */
.sidebar ul li a.active {
  background: #2563eb;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(37,99,235,0.4);
}

.stats {
  text-align: center;
  padding: 60px 20px;
  background: #f5f7fa;
}
.stats h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-content: center;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #0066cc;
}
.stat-card p {
  margin-top: 8px;
  color: #333;
  font-size: 1rem;
}