@charset "utf-8";

/* Grundlayout */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/* HEADER */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5% 60px;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden; /* verhindert horizontales Verschieben auf Mobile */
}


.logo {
  display: block;
  max-width: 90%;  /* lässt etwas Rand auf kleinen Geräten */
  width: 600px;    /* bleibt auf großen Bildschirmen schön groß */
  height: auto;
  margin: 0 auto 40px;
}


.subtitle {
  color: #004c91;
  font-weight: 600;
}

.intro {
  max-width: 940px;
  margin: 20px auto 0;
  color: #555;
  font-size: 1.3rem;
}

/* REFERENZEN */
.references {
  text-align: center;
  padding: 60px 5%;
  background-color: #fff;
  margin-bottom: 100px; /* zusätzlicher Abstand zum Footer */
}

.references h3 {
  font-size: 1.8rem;
  margin-bottom: 50px;
  color: #003f7d;
}

/* --- Bild-Grid --- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 75px;
  row-gap: 30px;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.image-box {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 385px;
  aspect-ratio: 1.2 / 1;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Blaue Overlay bei Hover */
.image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 76, 145, 0);
  transition: background 0.4s ease;
}

.image-box:hover::after {
  background: rgba(0, 76, 145, 0.45);
}

/* DIENSTLEISTUNG & VORTEILE */
.info-section {
  position: relative;
  width: 100vw; /* voller Bildschirmbereich */
  left: 50%;
  margin-left: -50vw;
  background-color: #f1f5f9; /* gemeinsamer Abschnittshintergrund */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 80px 10%;
  box-sizing: border-box;
}

.dienstleistung {
  background-color: #e8f1fa; /* hellblau */
}

.vorteile {
  background-color: #cfe0f5; /* etwas dunkleres Blau */
}



.info-box {
  
  border-radius: 0;
  box-shadow: none;
  padding: 40px 30px;
  max-width: 900px;
  width: 100%;
  text-align: left;
}


.info-box h4 {
  color: #004C91;
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(0, 76, 145, 0.3);
  padding-bottom: 10px;
}

.info-box h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #004C91;
  border-radius: 1px;
  opacity: 0.8;
  animation: underlineGrow 0.6s ease forwards;
}

.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
  font-size: 1.3rem;
}

.info-box li::before {
  content: "•";
  color: #004c91;
  position: absolute;
  left: 0;
}

/* FOOTER */
footer {
  background-color: #62696f;
  color: #fff;
  padding: 60px 10% 30px;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  width: 100%;
  max-width: 1100px;
}

.footer-logo {
  width: 340px;
  height: auto;
  padding: 6px;
  border-radius: 8px;
}

.footer-info {
  flex: 1;
  min-width: 220px;
  line-height: 1.6;
}

.footer-info p {
  margin: 5px 0;
}



.footer-links p strong {
  font-size: 1.3rem ;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #4da6ff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 130px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #4da6ff;
}

	 .footer-info p {
    font-size: 1.3rem; /* etwas größer, aber nicht zu fett */
    font-weight: 400; /* gleiche Strichstärke */
  }


.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .logo {
    width: 450px;
  }

  .footer-logo {
    width: 340px;
  }
}

@media (max-width: 900px) {
  .image-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 25px;
  }

  .image-box {
    width: 340px;
    max-width: 90%;
  }
}

@media (max-width: 650px) {
  .logo {
    width: 410px;
    max-width: 700px;
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .header {
    padding: 60px 0 40px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .image-box {
    width: 270px;
    max-width: 90%;
  }

.intro{
    font-size: 1.1rem;
    max-width: 85%;
}

  .info-section {
    padding: 50px 6%;
    gap: 40px;
  }

  .references h3 {
    font-size: 1.5rem;
  }

  .info-box {
    padding: 25px 20px;
  }

  .info-box h4 {
    font-size: 1.5rem;
  }

  .info-box li {
    font-size: 1.1rem;
  }

 

  footer {
    padding: 40px 6% 25px;
  }
	
  .footer-top {
    justify-content: flex-start; 
  }

  .footer-logo {
    width: 320px;
	align-self: flex-start;
  margin-left: 0;
	  
  }

	 .footer-info p {
    font-size: 1.3rem; /* etwas größer, aber nicht zu fett */
    font-weight: 400; /* gleiche Strichstärke */
  }

  /* Impressum & Datenschutz gleiche optische Breite */
  .footer-links a:nth-child(1) {
    letter-spacing: 1.1px; /* minimal breiter machen */
  }

  .footer-links a:nth-child(2) {
    letter-spacing: 0.px; /* leicht anpassen für Gleichgewicht */
  }
	

  .footer-bottom {
    font-size: 0.8rem;
  }
}
