/* Grundlegende Reset und Schrift */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
    list-style: disc;
    padding-left: 1.5rem; /* Einzug f&Atilde;&frac14;r den Text */

    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Stellt sicher, dass der Header &Atilde;&frac14;ber dem Inhalt liegt */
    background-color: #fff;
    transition: background-color 0.3s ease; /* Sanfter &Atilde;œbergang f&Atilde;&frac14;r Hintergrundfarbe */

}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

}

/* Navigation */
.navbar {
  height: 9rem;
  display: flex;
  justify-content: space-between; /* &Auml;ndere diese Zeile */
  align-items: center; /* F&uuml;ge diese Zeile hinzu */
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  font-size: 1rem;
  border-bottom: 10px solid #000080;
}



/* Neue Stile f&Atilde;&frac14;r das Logo-Bild */
.logo-img {
  height: 70px; /* Beispielh&Atilde;&para;he: Passt gut zur Navigationsleiste. Passe dies nach Bedarf an. */
  width: auto; /* Beh&Atilde;&curren;lt das Seitenverh&Atilde;&curren;ltnis des Bildes bei */
  display: block; /* Entfernt eventuellen zus&Atilde;&curren;tzlichen Leerraum unter dem Bild */
  margin-left: 20px;


}

/* Optional: Wenn du den Link-Container (.logo-link) noch stylen m&Atilde;&para;chtest, z.B. f&Atilde;&frac14;r Padding */
.logo-link {
  display: block; /* Um das Bild bei Bedarf zu zentrieren oder auszurichten */
  align-items: center;
  text-decoration: none; /* Entfernt die Unterstreichung, falls sie vom Browser hinzugef&Atilde;&frac14;gt wird */
}

.nav-links {
  list-style: none;
  display: flex; /* F&uuml;ge diese Zeile hinzu */
  gap: 2rem; /* F&uuml;ge diese Zeile hinzu */

}

.nav-links a {
  text-decoration: none;
  color: #333; /* Standardfarbe f&Atilde;&frac14;r Links */
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r Hover-Effekt */
}

.hamburger {
    display: none; /* Versteckt das Hamburger-Men&Atilde;&frac14; standardm&Atilde;&curren;&Atilde;Ÿig */
    cursor: pointer;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #000080;
}

/* Hero */
.hero {
  background: url('images/kas02.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  width: 90%;
  max-width: 1200px;

  padding: 0 1rem;
   margin: 0 auto;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-primary {
  background-color: #000080; /* Dunkelblau f&Atilde;&frac14;r Buttons */
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #000066; /* Dunkleres Blau f&Atilde;&frac14;r Hover-Effekt */
}

/* Leistungen */
.leistungen {

  text-decoration: none;
  padding: 4rem 0;
  background-color: #fff;
  text-align: center;
}

.leistungen h2 {
  text-decoration: none;

  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r &Atilde;œberschriften */
}

.leistungen-grid {
  text-decoration: none;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.leistung-item {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;

  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontale Zentrierung */
  text-align: center;
}
.leistung-item img {
  width: 200px;          /* feste, einheitliche Breite */
  height: 200px;         /* feste, einheitliche H&ouml;he */
  object-fit: contain;   /* kein Verzerren */
  margin: 0 auto 1rem;   /* horizontal zentriert */
  display: block;
}


.leistung-item:hover {
  transform: translateY(-8px);
}

.leistung-item h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.leistung-item p {
  margin-top: auto;
}


/* Projekte */
.projekte {
  padding: 4rem 0;
  text-align: center;
}

.projekte h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r &Atilde;œberschriften */
}

.projekte-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem; /* F&Atilde;&frac14;gt etwas Abstand zu den Seiten hinzu */
}

.projekte-gallery img {
  width: 100%; /* Bilder nehmen die volle Breite der Spalte ein */
  height: auto; /* Beh&Atilde;&curren;lt das Seitenverh&Atilde;&curren;ltnis bei */
  border-radius: 8px; /* Abgerundete Ecken f&Atilde;&frac14;r die Bilder */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sanfter Schatten f&Atilde;&frac14;r die Bilder */
  transition: transform 0.3s ease;
}

.projekte-gallery img:hover {
  transform: scale(1.03); /* Leichte Vergr&Atilde;&para;&Atilde;Ÿerung beim Hovern */
}

/* Unternehmen */
.unternehmen {
  padding: 4rem 0;
  background-color: #fff;
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r &Atilde;œberschriften */
  text-decoration: none;
}

.unternehmen h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r &Atilde;œberschriften */
  text-align: center;
}

.unternehmen p {
  text-align: left;
  padding: 0 1rem; /* F&Atilde;&frac14;gt etwas Abstand zu den Seiten hinzu */
}

/* Kontakt */
.kontakt {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.kontakt h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000080; /* Dunkelblau f&Atilde;&frac14;r &Atilde;œberschriften */
  text-align: center;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

.kontakt-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.kontakt-form button {
  background-color: #000080; /* Dunkelblau f&Atilde;&frac14;r Buttons */
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.kontakt-form button:hover {
  background-color: #000066; /* Dunkleres Blau f&Atilde;&frac14;r Hover-Effekt */
}

.kontakt-info {
  margin-top: 2rem;
  text-align: center;
}

.kontakt-info p {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: #000080;
  color: white;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Responsive Design (ab 768px - Tablet/Desktop) */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Versteckt die Navigationslinks */
        flex-direction: column; /* Stellt sicher, dass die Links untereinander angezeigt werden */
        position: absolute; /* Position f&Atilde;&frac14;r das Hamburger-Men&Atilde;&frac14; */
        top: 9rem; /* Unterhalb des Headers */
        left: 0;
        width: 100%;
        background-color: #fff; /* Hintergrundfarbe f&Atilde;&frac14;r das Hamburger-Men&Atilde;&frac14; */
        gap: 0; /* Abstand zwischen Links */
    }

    .nav-links.active {
        display: flex; /* Zeigt die Links an, wenn das Hamburger-Men&Atilde;&frac14; aktiv ist */
    }

    .hamburger {
        display: block; /* Zeigt das Hamburger-Men&Atilde;&frac14; an */
    }

    .logo-img {
        height: 60px; /* Verkleinert das Logo auf kleineren Bildschirmen */
    }
}

/* Klasse f&Atilde;&frac14;r den geschrumpften Header */
.header.shrink {

    background-color: rgba(255, 255, 255, 0.9); /* Leicht transparentes Wei&Atilde;Ÿ */
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  Schatten hinzuf&Atilde;&frac14;gen */
    height: 6rem;

}

.header.shrink .logo-img {
    margin-left:50px;
}


.header.shrink .navbar {
    padding: 0.5rem 0; /* Reduziere das Padding der Navbar */
    height: 6rem;
}

.header.shrink .nav-links {
    /* Passe die Position der Links an, um sie horizontal auszurichten */
    margin-left: 0; /* Korrigiere die Verschiebung */
}
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center; /* Zentriert die Links im Footer */
    gap: 1rem; /* Abstand zwischen den Links */
    padding: 1rem 0; /* Vertikaler Abstand */
}

.footer-links a {
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: white; /* Farbe der Links */
    transition: color 0.3s ease; /* Sanfter &Atilde;œbergang f&Atilde;&frac14;r Hover-Effekte */
}

.footer-links a:hover {
    color: #000080; /* Farbe beim Hover */
}

.leistungen
{
    text-decoration: none;

}


.leistungen-links {
  display: block;      /* Flex raus */
  width: 100%;         /* volle Grid-Zelle */
  padding: 0;
  text-decoration: none;
}


.leistungen-links a {
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: white; /* Farbe der Links */
    transition: color 0.3s ease; /* Sanfter &Atilde;œbergang f&Atilde;&frac14;r Hover-Effekte */
}

.leistungen-links a:hover {
     text-decoration: none;
     color: #000080; /* Farbe beim Hover */
}


main {
    padding: 12rem 0; /* Abstand oben und unten */
    /* Optional: F&Atilde;&frac14;ge hier weitere Layout-Eigenschaften hinzu, z.B. max-width, margin: 0 auto; */
}

/* CSS f&Atilde;&frac14;r das Stellenangebot mit Ein- und Ausblenden */

.stellenangebot-content {
    margin-top: 10px; /* F&Atilde;&frac14;gt etwas Abstand zwischen &Atilde;œberschrift und Inhalt hinzu */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.toggle-heading {
    cursor: pointer; /* &Atilde;„ndert den Cursor in eine Hand beim Hovern */
    position: relative; /* F&Atilde;&frac14;r die Positionierung des Dreiecks */
    padding-left: 30px; /* Platz f&Atilde;&frac14;r das Dreieck */
}

.toggle-heading::before {
    content: "\25BC"; /* Unicode-Zeichen f&Atilde;&frac14;r ein Dreieck nach rechts */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #000080; /* Dunkelblau */
    font-size: 1em; /* Kleinere Gr&Atilde;&para;&Atilde;Ÿe des Dreiecks */
    transition: transform 0.3s ease; /* Sanfte &Atilde;œbergang f&Atilde;&frac14;r die Drehung */
}

.toggle-heading.active::before {
    content: "\25B6"; /* Unicode-Zeichen f&Atilde;&frac14;r ein Dreieck nach unten */
    transform: translateY(-50%) rotate(0deg); /* Dreht das Dreieck */
    font-size: 0.8em; /* Kleinere Gr&Atilde;&para;&Atilde;Ÿe des Dreiecks */
}
.nav-links {
    list-style-type: none; /* Entfernt Aufz&Atilde;&curren;hlungszeichen */
    padding: 0;
    margin: 0;
}

.nav-links > li {
    float: left; /* Nebeneinander anordnen */
    position: relative; /* F&Atilde;&frac14;r das Drop-Down-Men&Atilde;&frac14; */
}

.nav-links a {
    display: block;
    color: #000000; /* Textfarbe */
    padding: 14px 20px; /* Innenabstand */
    text-decoration: none; /* Unterstreichung entfernen */
}

.nav-links a:hover {
    color: #000080;
}

.dropdown-content {
    display: none; /* Versteckt das Drop-Down-Men&Atilde;&frac14; standardm&Atilde;&curren;&Atilde;Ÿig */
    position: absolute; /* Positioniert das Men&Atilde;&frac14; relativ zum &Atilde;&frac14;bergeordneten Element */
    background-color: #f9f9f9; /* Hintergrundfarbe des Drop-Down-Men&Atilde;&frac14;s */
    min-width: 160px; /* Minimale Breite des Men&Atilde;&frac14;s */
    z-index: 1; /* Stellt sicher, dass das Men&Atilde;&frac14; &Atilde;&frac14;ber anderen Inhalten liegt */
}

.dropdown-content a {
    color: black; /* Textfarbe im Drop-Down-Men&Atilde;&frac14; */
    padding: 12px 16px; /* Innenabstand */
    text-decoration: none; /* Unterstreichung entfernen */
    display: block; /* Blockelement f&Atilde;&frac14;r die Links */
}

.dropdown-content a:hover {
    background-color: #ddd; /* Hintergrundfarbe beim Hover im Drop-Down-Men&Atilde;&frac14; */
}

/* Zeigt das Drop-Down-Men&Atilde;&frac14; an, wenn der Benutzer &Atilde;&frac14;ber das &Atilde;&frac14;bergeordnete Element f&Atilde;&curren;hrt */
.nav-links li:hover .dropdown-content {
    display: block; /* Zeigt das Men&Atilde;&frac14; an */
}

#map {
  width: 100%;
  height: 400px;
  max-width: 100%;
}
.map-placeholder {
  width: 100%;
  height: 400px;
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 30px 0;
  padding: 20px;
}

.map-consent-content {
  max-width: 600px;
  text-align: center;
}

.map-consent-content p {
  margin-bottom: 20px;
}

#map {
  width: 100%;
  height: 400px;
}

/* ===============================
   Leistungsdetail – 2 Spalten
   =============================== */

.leistung-detail h1 {
  color: #000080;
  margin-bottom: 2rem;
  text-align: center;
}

.leistung-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.leistung-text .intro {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.leistung-text h2 {
  color: #000080;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.leistung-text ul {
  padding-left: 1.5rem;
}

.leistung-text ul li {
  margin-bottom: 0.5rem;
}

/* Rechte Spalte */
.leistung-aside img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.info-box {
  background-color: #f1f5f9;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.info-box h3 {
  color: #000080;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .leistung-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Historie – Timeline
   =============================== */

.historie {
  padding: 4rem 0;
}

.historie h2 {
  text-align: center;
  color: #000080;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

/* Vertikale Linie */
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #000080;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 40px;
}

/* Punkt auf der Linie */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: #fff;
  border: 4px solid #000080;
  border-radius: 50%;
}

/* Jahreszahl */
.timeline-year {
  font-weight: 700;
  font-size: 1.1rem;
  color: #000080;
  margin-bottom: 0.5rem;
}

/* Inhalt */
.timeline-content {
  background-color: #f1f5f9;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.timeline-content p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 30px;
  }
}