/* Reset + Grundlayout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9fb;
  color: #222;
  line-height: 1.6;
}

/* Header */
.main-header {
  padding: 1.5rem 5vw;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #222;
}

/* Hero-Video Sektion */
.hero-video {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.5);
  z-index: 2;
}
.hero-text {
  position: relative;
  z-index: 3;
  max-width: 90%;
  padding: 1rem;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 1rem;
}

/* Bullet Liste */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  color: white;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-bullets li::before {
  content: "●";
  font-size: 1.3rem;
  vertical-align: middle;
  margin-top: 0.1rem;
}
.bullet-orange::before { color: #ff6600; }
.bullet-blue::before   { color: #3399ff; }
.bullet-green::before  { color: #33cc66; }
.bullet-teal::before   { color: #00cccc; }
.bullet-purple::before { color: #9966ff; }

/* Claim */
.hero-claim {
  margin-top: 1.5rem;
}
.hero-claim strong {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  color: white;
}

/* Desktop: Bullet Horizontal & Zentrierung */
@media (min-width: 769px) {
  .hero-bullets {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .hero-bullets li {
    font-size: 1.15rem;
  }
  .hero-bullets li::before {
    margin-right: 0.6rem;
  }
}

/* Mobile: Bullet Vertikal & Zentriert */
@media (max-width: 768px) {
  .hero-bullets {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem auto;
  }
}

/* Service Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 5vw;
}
.service-box {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}
.service-box.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-box img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
.service-box h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #153342;
}
.service-box p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #153342;
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #1e4b60;
}

/* Footer */
.main-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background: #f0f0f0;
  color: #333;
  margin-top: 3rem;
}
.footer-links {
  margin-top: 0.5rem;
}
.footer-links a {
  color: #153342;
  margin: 0 0.75rem;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* Navigation */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 11;
  color: #222;

}
#menu-toggle {
  display: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 2rem;
    background: #fff;
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: none;
  }
  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }
}



/* ===========================
   Header-Flex-Layout für Desktop
   =========================== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 769px) {
  .main-nav {
    position: static;
    top: auto;
    right: auto;
  }
  .menu-icon {
    display: none;
  }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2rem;
    background: none;
    padding: 0;
    box-shadow: none;
  }
}

/* Blog-Vorschau */
.blog-preview {
  padding: 4rem 5vw;
  background: #fff;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}

.blog-preview h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #153342;
  text-align: center;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Kacheln */
.blog-preview-item {
  background: #f9f9fb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.blog-preview-item:hover {
  transform: translateY(-6px);
}

/* Einheitliche Thumbnail-Größe */
.blog-preview-thumb {
  width: 100%;
  height: 190px;          /* feste Höhe für einheitlichen Look */
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.blog-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Bild wird zugeschnitten, nicht verzerrt */
}

.blog-preview-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.blog-preview-link {
  text-decoration: none;
  color: inherit;
}

/* Button unter der Vorschau zentrieren */
.blog-preview-more {
  margin-top: 2.5rem;
  text-align: center;
}

.footer-social {
  margin: 1rem 0;
}

.footer-social a {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-social img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social img:hover {
  opacity: 1;
  transform: scale(1.1);
}
