/* === Kontaktbereich Wrapper === */

.kontakt-split {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
}

.kontakt-links,
.kontakt-rechts {
  flex: 1 1 460px;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.kontakt-links h2,
.kontakt-rechts h3 {
  margin-bottom: 1rem;
  color: #2f4858;
}

.kontakt-rechts p {
  margin-bottom: 1rem;
  color: #444;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Formular wie zuvor */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f9fafb;
}

.kontakt-form button {
  background-color: #2f4858;
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.kontakt-form button:hover {
  background-color: #00a1d4;
}

.checkbox-dsgvo {
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.checkbox-dsgvo a {
  color: #00a1d4;
  text-decoration: underline;
}


.kontakt-wrapper {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.kontakt-wrapper h2 {
  text-align: center;
  color: #2f4858;
  margin-bottom: 2rem;
}

/* === Formularstruktur === */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #f9fafb;
}

.kontakt-form textarea {
  resize: vertical;
  min-height: 140px;
}

.kontakt-form button {
  background-color: #2f4858;
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.kontakt-form button:hover {
  background-color: #00a1d4;
}

/* === DSGVO Checkbox === */
.checkbox-dsgvo {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.checkbox-dsgvo input {
  margin-top: 0.1rem;
}

.checkbox-dsgvo a {
  color: #00a1d4;
  text-decoration: underline;
}

/* === Erfolgs-Overlay === */
.erfolg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.overlay-box h3 {
  color: #2f4858;
  margin-bottom: 1rem;
}

.overlay-box button {
  background-color: #00a1d4;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* === Kartenbereich === */
.kontakt-map {
  margin-top: 3rem;
  text-align: center;
  background: #f9fbfd;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.kontakt-map h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: #2f4858;
}

.kontakt-map p {
  margin-bottom: 1.5rem;
  color: #444;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}




/* === Referenz-Galerie === */
.referenzen-intro {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f4f7fa;
  color: #00374d;
}
.referenzen-intro img {
  height: 60px;
  margin-bottom: 1rem;
}
.referenzen-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.referenz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.referenz-grid a {
  display: block;
  aspect-ratio: 4 / 3; /* oder 1 / 1 für quadratisch */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.referenz-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.referenz-grid a:hover {
  transform: scale(1.03);
}

.referenz-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.parallax-section {
  background-image: url('img/parallax-hintergrund.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dunkle Überlagerung */
  z-index: -1;
}

.parallax-content {
  max-width: 800px;
  z-index: 2;
}
/* === Global === */
body {
  margin: 0;
  font-family: system-ui, Roboto, Segoe UI, sans-serif;
  scroll-behavior: smooth;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

h1, h2 {
  color: #004566;
  margin-top: 1.5rem;
}

/* === Header & Navigation === */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo {
  height: 80px;
  margin-bottom: 0.5rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #004566;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background-color: #00a1d4;
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #007ca1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* === Swiper Slider === */
.slider-section {
  position: relative;
  height: 70vh;
}

.swiper {
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 2rem;
  color: #fff;
  border-radius: 10px;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slide-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00a1d4;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: #007ca1;
}

/* === Inhaltssektionen === */
.content-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.content-section ul {
  list-style: disc;
  margin-left: 2rem;
  margin-top: 1rem;
}

/* === Moderner Footer === */
.modern-footer {
  background-color: #2F4858; /* sanftes Petrol */
  color: #F0F4F8;
  font-size: 0.95rem;
  padding: 3rem 1.5rem 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #F0F4F8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00A1D4;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.kontakt-info span {
  margin-right: 0.5rem;
  color: #00A1D4;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #dce3e8;
}

/* === Responsive Footer === */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .kontakt-info li {
    justify-content: center;
  }
}

/* === Vorteile (Icon-Raster) === */
.vorteile-section {
  background: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.vorteile-section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #004566;
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.vorteil-box {
  background: #f1f6f9;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.vorteil-box:hover {
  transform: translateY(-5px);
}

.vorteil-box img {
  height: 48px;
  margin-bottom: 1rem;
}

.vorteil-box h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #00374d;
}

.vorteil-box p {
  font-size: 0.95rem;
  color: #444;
}

/* === Responsive === */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    height: 60px;
  }

  .slide-content h1 {
    font-size: 1.6rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta {
    font-size: 0.95rem;
  }
  
    .content-section {
    padding: 2rem 1rem;
  }

  .kontakt-form {
    width: 100%;
  }

  .map-section iframe {
    height: 250px;
  }

    .form-group {
    flex-direction: column;
  }
  .kontakt-map {
    padding: 1.5rem 1rem;
  }

  .map-container iframe {
    height: 240px;
  }
  .kontakt-split {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }
  
}