@charset "utf-8";

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

/* --- HEADER --- */
.legal-header {
  background-color: #f5f8fb;
  color: #fff;
  text-align: center;
  padding: 100px 20px 70px;
}

.legal-header h1 {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 600;
    color: #004C91;
}

/* --- MAIN CONTENT --- */
.legal-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 6%;
}

.legal-content section {
  margin-bottom: 40px;
  background-color: #f5f8fb;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
  color: #004C91;
  border-bottom: 2px solid rgba(0, 76, 145, 0.2);
  padding-bottom: 6px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.legal-content p,
.legal-content a {
  font-size: 1.05rem;
  color: #333;
}

.legal-content a {
  color: #004C91;
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* --- FOOTER --- */
.legal-footer {
  background-color: #62696f;
  color: #fff;
  text-align: center;
  padding: 40px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

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

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

/* --- LOGO IM HEADER --- */
.legal-logo {
    width: 340px;
    height: auto;
    display: block;
    margin: 0 auto 25px;
  }
  
  /* --- FOOTER (identisch zur Hauptseite) --- */
  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: 230px;
    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-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 p strong {
  font-size: 1.3rem ;
}

  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  
  .footer-links a:hover {
    color: #4da6ff;
  }
  
  .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;
  }

  .back-btn-container {
    text-align: center;
    margin: 60px 0 20px;
  }
  
  .back-btn {
    display: inline-block;
    background-color: #62696f;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .back-btn:hover {
    background-color: #4C4C4C;
    transform: translateY(-2px);
  }
  
  /* --- RESPONSIVE FOOTER --- */
  @media (max-width: 900px) {
    .footer-logo {
      width: 340px;
    }
  }
  
  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;
  }

  

/* --- RESPONSIVE --- */
@media (max-width: 650px) {
  .legal-header {
    padding: 70px 15px 50px;
  }

  .legal-header h1 {
    font-size: 1.8rem;
  }

  .legal-content {
    padding: 0 5%;
    margin: 40px auto;
  }

  .legal-content section {
    padding: 20px;
  }

  .legal-content h2 {
    font-size: 1.2rem;
  }
}
