/* Exo-Schriftart */
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Exo', sans-serif;
  line-height: 1.6;
/*  padding-top: calc(1em + 45px); Platz für Header */
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #b0b0b0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
footer {
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
}

p {
    font-weight: 400;
    font-size: 1.2rem
}

/* Logo */
.logo {
  font-size: 1.1em;
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 25px;
  background-color: #0055A4; /* elegantes Blau */
  color: #ffffff;
  text-decoration: none;
  font-size: 1.0em;
  font-weight: 500;
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #003f7d;
  transform: translateY(-2px);
}

/* Navigation */
nav {
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: black;
  border: 1px solid transparent;
  padding: 5px 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #C41E3A;                   /* Cardinalsrot */
  border: 1px solid #ADD8E6;        /* Hellblau */
}

/*   Hamburger Menü  ***********   */
/*  Hamburger-Icon */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  padding: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    display: none;
    width: 100%;
    padding: 10px;
    background-color: #efefef;
    border-bottom: 1px solid #ccc;
  }

  nav.active a {
    display: block;
  }
}



/* Hero-Bereich */
.hero {
  background-color: #e0e0e0;
  color: #333333;
  text-align: center;
   padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
}

/* Sections */
section {
  scroll-margin-top: 60px; /* Abstand beim Anspringen */
  padding: 40px 20px;
}
section p {
    padding-left: 60px;
}

section[id] {
    padding-left: 60px;
}

section h2 {
  margin-top: 0;
  font-size: 1.4em;
  font-weight: 600;
}

:is(#wir-ueber-uns, #leistungen, #partner, #kontakt, #stellenangebote, #datenschutz)::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(to right, #ccc, transparent);
    margin-top: 2em;
}


/*   Kontakt zweispaltig  */

.contact-container {
    background-color: #ff0000;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-container h1 {
    text-align: center;
   color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2.4em;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #555;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Formular breiter, Info-Bereich schmaler */
    gap: 40px;
    align-items: flex-start; /* Elemente am oberen Rand ausrichten */
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Auf kleinen Bildschirmen untereinander */
    }
}

/* Formular-Bereich */
.contact-form-section {
    background-color: #ffffff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.contact-form-section h2 {
     color: #333;
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.contact-form textarea {
    resize: vertical; /* Nur vertikales Resizing erlauben */
    min-height: 120px;
}

.contact-form .captcha-group label {
    display: inline-block; /* Für Captcha, damit die Frage neben dem Feld ist */
    margin-right: 15px;
}
.contact-form .captcha-group input {
    width: auto; /* Automatische Breite für das Captcha-Feld */
    max-width: 100px; /* Begrenzte Breite für das Captcha-Feld */
    display: inline-block;
}
.contact-form .captcha-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.85em;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Kontakt-Info-Bereich */
.contact-info-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.contact-info-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.contact-info-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.contact-info-section p.phone-number {
    font-size: 1.2em;
    font-weight: 400rem;
    color: #333;
}

.contact-info-section p.phone-number i,
.contact-info-section p i {
    margin-right: 10px;
    color: #333;
    font-size: 1.1em;
}

.contact-info-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-section a:hover {
    text-decoration: underline;
    color: #2980b9;
}

.opening-hours-title {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Nachrichten für Formularstatus */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #e6ffe6; /* Light green */
    color: #28a745; /* Dark green */
    border: 1px solid #28a745;
}

.form-message.error {
    background-color: #ffe6e6; /* Light red */
    color: #dc3545; /* Dark red */
    border: 1px solid #dc3545;
}

/*    Partner - Section  */

.partner-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  text-align: center;
}

.partner-section h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.partner-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #666;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.logo-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 120px;
  align-items: center;
  justify-content: center;
 }

.logo-item:hover {
  transform: scale(1.05);
}

.logo-item img {
    aspect-ratio: 3 / 2;
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Responsive Design  ******************************************+*/

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 0.5em 1em
  }
  
  p {
      font-size: 0.9rem;
  }
  
  .card-row {
      flex-wrap: wrap;
      justify-content:center;
  }
  
.contact-grid {
        grid-template-columns: 1fr; /* Auf kleinen Bildschirmen untereinander */
    }

nav {
/*  display: block !important;  */
  flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    display: none;  
    padding: 8px 0;    
  }
    
nav.active a {
    display: block;
}

  .hero {
    max-width: 90%;
    padding: 5px 15px;
  }
  .hero h1 {
      font-size: 1.6rem;
      text-align: center;
  }

 section {
  scroll-margin-top: 60px; /* Abstand beim Anspringen */
  padding: 40px 20px;
}
section p {
    padding-left: 30px;
}

section[id] {
    padding-left: 30px;
}

section h2 {
  margin-top: 0;
  font-size: 1.1em;
  font-weight: 600;
}
 h2  {
    font-size:  1.2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #0055A4; /* elegantes Blau */
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #003f7d;
  transform: translateY(-2px);
}

  }
