/* OpenSans - Alle benötigten Varianten */
@font-face {
  font-family: 'OpenSans';
  src: url('/fonts/OpenSans.ttf') format('truetype');
  font-weight: 400; /* oder 'normal' */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: url('/fonts/OpenSans.ttf') format('truetype');
  font-weight: 700; /* oder 'bold' */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSans';
  src: url('/fonts/OpenSans.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Montserrat - Alle benötigten Varianten */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat.ttf') format('truetype');
  font-weight: 400; /* oder 'normal' */
  font-style: ExtraBold;
  font-display: swap;
}


/* Grundlayout */
* {
  box-sizing: border-box;
}




/* ========== START: Cookie Consent Styles ========== */

/* Banner Styling */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #29abe2; /* GEÄNDERT */
    color: #002b49; /* GEÄNDERT für Kontrast */
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-family: sans-serif;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner-content p {
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-consent-banner button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

#cookie-accept-all {
    background-color: #29abe2; /* GEÄNDERT */
    color: white;
}
#cookie-accept-all:hover {
    background-color: #1f98d4; /* GEÄNDERT (dunklerer Ton) */
}

#cookie-customize, #cookie-decline {
    background-color: #bdc3c7; /* Grau */
    color: #2c3e50;
}
#cookie-customize:hover, #cookie-decline:hover {
    background-color: #ecf0f1;
}

/* Modal für Einstellungen */
#cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.cookie-modal-content h2 {
    margin-top: 0;
    color: #333;
}

.cookie-option {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.cookie-option input[type="checkbox"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.cookie-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cookie-option label small {
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
}

#cookie-save-settings {
    width: 100%;
    padding: 12px;
    background-color: #29abe2; /* GEÄNDERT */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#cookie-save-settings:hover {
    background-color: #1f98d4; /* GEÄNDERT (dunklerer Ton) */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-buttons {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
}

/* ========== END: Cookie Consent Styles ========== */















body {
  margin: 0;
  font-family: 'OpenSans', 'Helvetica Neue', Arial, sans-serif; /* OpenSans für Body */
  color: #002b49; /* GEÄNDERT */
  background: #fff;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

a {
  color: #29abe2; /* GEÄNDERT */
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

/* Alle Headlines bekommen Montserrat */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: bold;
}

/* Header */
header {
  display: flex;
  justify-content: space-between; /* Hält Logo links und Navigation rechts */
  align-items: center;          
  padding: 10px 40px;
  background: white;
  /* color: white; /* Unnötig, da Kindelemente ihre Farben definieren */
  width: 100%;
  position: relative; 
  z-index: 1001; 
}

.logo img {
  /* Ihre bestehenden .logo img Stile... */
  font-family: 'Courier New', monospace;
  font-size: 20px;
  color: #29abe2; /* GEÄNDERT */
  padding: 5px 10px; /* Ggf. Padding zum .logo a verschieben */
  border-radius: 5px;
  width: 400px;
  max-width: 90vw; 
  height: auto;
  display: block;
}

.logo a {
  display: flex;       
  align-items: center; 
  text-decoration: none;
}

.logo a:hover img {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Navigation Stile */
.main-nav { 
  display: flex;
  align-items: center;
}

.main-nav .nav-menu { 
  display: flex;
  align-items: center; 
  gap: 20px; /* Abstand zwischen den Text-Links "Start", "Leistungen", "Über uns", "Kontakt". Anpassen nach Bedarf. */
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav .nav-menu li {
  list-style: none;
}

/* Spezifische Regel für das Listenelement des CTA-Buttons */
.main-nav .nav-menu .nav-item-cta { /* Oder verwenden Sie li:last-child, falls der CTA immer das letzte Element ist */
  margin-left: auto; /* WICHTIG: Schiebt dieses Element (und den Button darin) nach rechts */
}

.main-nav .nav-menu a { 
  color: black; /* Farbe für Standard-Textlinks */
  font-size: 14px;
  font-family: 'OpenSans', Arial, sans-serif;
  padding: 5px 0; 
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap; /* Verhindert Zeilenumbrüche bei Links wie "Über uns" */
}

.main-nav .nav-menu a:not(.cta):hover { /* Hover-Effekt nur für Textlinks, nicht für den CTA */
  color: #29abe2; /* GEÄNDERT */
}

.main-nav .nav-menu a.cta {
  display: inline-block;
  vertical-align: middle;
  background: #29abe2; /* GEÄNDERT */
  padding: 10px 25px; /* Etwas mehr horizontales Padding für den Button */
  border-radius: 40px;
  color: white; 
  font-family: 'OpenSans', Arial, sans-serif;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.3s ease;
}

.main-nav .nav-menu a.cta:hover {
  background: #002b49; 
  color: white;
}

/* Hamburger Icon Stile (bleiben für mobile Ansicht relevant) */
.nav-toggle { 
  display: none; 
}

.nav-toggle-label { 
  display: none; 
  width: 28px;   
  height: 22px;  
  position: relative;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 100%;
  height: 3px; 
  background-color: #29abe2; /* GEÄNDERT */
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.nav-toggle-label span:nth-child(1) { top: 0; }
.nav-toggle-label span:nth-child(2) { top: 9px; }
.nav-toggle-label span:nth-child(3) { bottom: 0; }


/* Mobile Ansichten */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }

  .logo img {
    height: auto; 
    width: 350px; 
    max-width: 60vw; 
    padding: 0; 
  }

  /* .main-nav bleibt für das Icon-Handling */

  .nav-toggle-label {
    display: block; 
    z-index: 1001; 
  }

  .main-nav .nav-menu {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; 
    right: 0;  
    background-color: white;
    width: 250px; 
    padding: 10px 0;
    margin:0;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000; 
    gap: 0; 
  }
  
  /* Wichtig: Die margin-left: auto Regel für das CTA-Item im mobilen Menü zurücksetzen */
  .main-nav .nav-menu .nav-item-cta {
    margin-left: 0; /* Auto-Margin im mobilen Menü zurücksetzen */
  }

  .main-nav .nav-menu li {
    width: 100%;
    text-align: left; 
  }

  .main-nav .nav-menu li a { 
    display: block; 
    padding: 15px 20px; 
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px; 
    white-space: normal; /* Im mobilen Menü dürfen längere Texte umbrechen */
  }
  
  .main-nav .nav-menu li:last-child > a { 
    border-bottom: none;
  }
  
  .main-nav .nav-menu li a.cta { 
    padding: 12px 20px; 
    margin: 10px 20px;  
    width: calc(100% - 40px); 
    text-align: center; 
    border-bottom: none; 
    font-size: 15px; 
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex; 
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 300px; 
  }

  .main-nav .nav-menu {
    width: 200px; 
  }

  .main-nav .nav-menu li a {
    padding: 12px 15px;
    font-size: 15px;
  }

  .main-nav .nav-menu li a.cta {
    margin: 10px 15px;
    width: calc(100% - 30px);
    font-size: 14px;
  }
}














/* Hero */
.hero {
  background: url('bilder/hero.webp') no-repeat center center/cover;
  color: white;
  height: 100vh;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 200px;
  box-sizing: border-box;
  width: 100%;
  position: relative; /* Hinzugefügt für z-index Kontext */
  z-index: 1; /* Sorgt dafür, dass Hero über About-Bilder bleibt */
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: calc(100% - 40px);
  position: relative; /* Notwendig, damit z-index funktioniert */
  z-index: 2;       /* Stellt sicher, dass der Inhalt über der Vignette liegt */
}
.hero h1 {
  font-size: 70px;
  font-weight: bold;
  margin: 0;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif; /* Montserrat für Hero Headline */
}
.hero p {
  font-size: 40px;
  margin: 0;
  text-align: left;
  font-family: 'OpenSans', Arial, sans-serif; /* OpenSans für Hero Text */
}
.hero .button {
  background: #002b49; /* GEÄNDERT */
  color: white;
  padding: 30px 100px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  margin: 0;
  text-align: left;
  font-family: 'OpenSans', Arial, sans-serif; /* OpenSans für Button */
  font-weight: bold;
}


/* Hero Vignette/Gradient - von rechts nach links */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left,
    transparent, /* Farbe auf der linken Seite */
    #29abe2   /* GEÄNDERT */
  );
  z-index: 1; /* Stellt sicher, dass der Verlauf über dem Hintergrundbild, aber unter dem Inhalt liegt */
  pointer-events: none; /* Erlaubt Klicks auf darunterliegende Elemente, falls nötig */
}


/* Tablet */
@media (max-width: 1200px) {
  .hero {
    padding-left: 100px;
    padding-right: 20px;
  }
  .hero h1 {
    font-size: 48px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .hero p {
    font-size: 24px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
  .hero .button {
    padding: 30px 80px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    width: 100%;
  }
  .hero-content {
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 100%;
  }
  .hero h1,
  .hero p,
  .hero .button {
    text-align: center;
  }
  .hero h1 {
    font-size: 36px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .hero p {
    font-size: 18px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
  .hero .button {
    padding: 20px 40px;
    max-width: 90%;
    font-family: 'OpenSans', Arial, sans-serif;
  }
}

/* Smartphone */
@media (max-width: 480px) {
  .hero {
    padding: 15px;
    min-height: 80vh;
  }
  .hero h1 {
    font-size: 28px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .hero p {
    font-size: 16px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
  .hero .button {
    padding: 16px 32px;
    font-size: 14px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
}

/* About Section - KORRIGIERT */
        .about-section {
            display: flex;
            flex-direction: column;    /* Hauptachse vertikal für bessere Kontrolle */
            align-items: center;       /* Zentriert alle Inhalte horizontal */
            gap: 30px;
            padding: 100px 20px;
            margin-bottom: 0px;
            background-image: url("bilder/aboutback.webp");
            background-size: cover;
            text-align: left;
            width: 100%;
            position: relative;
            z-index: 0;
        }

        /* Container für Images und ersten Text */
        .about-main-content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
            width: 100%;
            max-width: 1200px;        /* Begrenzt die maximale Breite */
        }

        .about-images {
            position: relative;
            width: 80%;
            max-width: 600px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .about-images img {
            width: 100%;
            border-radius: 10px;
            object-fit: cover;
            display: block;
        }

        .about-images .top-image {
            position: relative;
            z-index: 1;
            margin-bottom: -50px;
        }

        .about-images .bottom-image {
            position: relative;
            z-index: 2;
            margin-left: 40px;
            margin-top: -50px;
        }

        .about-text {
            background: #29abe2; /* GEÄNDERT */
            color: white;
            padding: 50px;
            border-radius: 8px;
            max-width: 500px;
            z-index: 3;
            text-align: left;
            box-sizing: border-box;
        }

        .about-text h3 {
            font-family: 'Montserrat', Arial, sans-serif;
            font-weight: bold;
            margin-top: 0;
        }

        .about-text h4 {
            font-family: 'Montserrat', Arial, sans-serif;
            font-weight: bold;
        }

        .about-text p {
            font-family: 'OpenSans', Arial, sans-serif;
            line-height: 1.6;
        }

        /* Zweiter Textcontainer - immer unterhalb */
        .about-text2 {
            background: #29abe2; /* GEÄNDERT */
            color: white;
            padding: 50px;
            border-radius: 8px;
            text-align: left;
            z-index: 3;
            box-sizing: border-box;
            width: 100%;
            max-width: 1000px;        /* Kann breiter sein als der erste Text */
            margin-top: 20px;         /* Zusätzlicher Abstand nach oben */
        }

        .about-text2 p {
            font-family: 'OpenSans', Arial, sans-serif;
            line-height: 1.6;
            margin-bottom: 1em;
        }

        .about-text2 p:last-child {
            margin-bottom: 0;
        }

        /* Media Queries */
        @media (max-width: 1270px) {
            .about-section {
                padding: 50px 20px;
                gap: 30px; 
            }

            .about-main-content {
                flex-direction: column;
                align-items: center;
            }

            .about-images {
                max-width: 500px;
                width: 100%;
            }

            .about-images .bottom-image {
                margin-left: 0;
                margin-top: -30px;
            }

            .about-text {
                max-width: 500px; 
                width: 100%; 
                padding: 30px;
                text-align: center; 
            }

            .about-text2 {
                max-width: 500px; 
                width: 100%;      
                padding: 30px;
                text-align: center; 
                margin-top: 0;
            }
        }

        @media (max-width: 768px) {
            .about-section {
                padding: 40px 15px;
            }

            .about-images {
                display: flex; 
                flex-direction: column;
                align-items: center;
                gap: 20px;
                width: 90%;
            }

            .about-images .top-image,
            .about-images .bottom-image {
                margin: 0; 
            }
            
            .about-text {
                width: 90%;
                padding: 25px;
                text-align: left; 
            }

            .about-text2 {
                width: 90%;
                padding: 25px;
                text-align: left; 
            }
        }

        @media (max-width: 480px) {
            .about-section {
                padding: 30px 10px;
            }

            .about-images .bottom-image { 
                margin-left: 0;
                margin-top: -20px; 
            }

            .about-text {
                padding: 20px;
            }

            .about-text h3 {
                font-size: 24px;
            }

            .about-text p {
                font-size: 16px;
            }

            .about-text2 {
                padding: 20px;
            }
        }

/* Services - KORRIGIERT */
.services {
  background: #29abe2; /* GEÄNDERT */
  color: white;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.services h2 {
  font-size: 28px;
  margin-bottom: 40px;
  font-family: 'Montserrat', Arial, sans-serif; /* Montserrat für Service Headlines */
  font-weight: bold;
}

.service-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 100%;
}

.service-list .col {
  text-align: left;
  font-size: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 300px;
  font-family: 'OpenSans', Arial, sans-serif; /* OpenSans für Service Listen */
}

.service-list .col li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.service-list .col li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
}

@media (max-width: 768px) {
  .services {
    padding: 40px 15px;
  }
  .services h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .service-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }
  .service-list .col {
    width: 90%;
    max-width: 300px;
    text-align: left;
    font-family: 'OpenSans', Arial, sans-serif;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 30px 10px;
  }
  .services h2 {
    font-size: 22px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .service-list .col {
    width: 95%;
    font-size: 18px;
    font-family: 'OpenSans', Arial, sans-serif;
  }
}








/* Testimonials - KORRIGIERT */
.testimonials {
    background: #002b49;
    color: white; /* Textfarbe für die Überschrift "Das sagen unsere Kunden" */
    padding: 60px 20px;
    text-align: center;
    position: relative;
    width: 100%;
    overflow: hidden; 
}
.testimonials h2 {
    margin-bottom: 30px;
    font-size: 28px;
    font-family: 'Montserrat', Arial, sans-serif; /* Fallback ggf. entfernen */
    font-weight: bold;
}
.testimonial-slider {
    display: flex;
    justify-content: center;
    align-items: center; 
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 80px; 
    gap: 20px;
}
.testimonial {
    flex: 0 0 300px;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #29abe2; /* GEÄNDERT */
    color: #002b49;       /* GEÄNDERT: Einheitliche Textfarbe für alle Testimonials, passend zum neuen Hintergrund */
    padding: 25px; 
    border-radius: 10px;
    margin: 0 10px;
    box-sizing: border-box;
    position: relative;
    font-family: 'OpenSans', Arial, sans-serif; /* Fallback ggf. entfernen */
    text-align:center; 

    height: 380px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    overflow-y: auto;    
}

/* Optional: Styling für den Scrollbalken (Webkit-Browser wie Chrome/Edge/Safari) */
.testimonial::-webkit-scrollbar {
    width: 6px;
}
.testimonial::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); 
    border-radius: 10px;
}
/* Für Testimonials mit hellem Hintergrund (#29abe2) einen dunkleren Scrollbar-Thumb */
.testimonial::-webkit-scrollbar-thumb {
    background: rgba(0, 43, 73, 0.4); /* Dunkler Thumb für #29abe2 Hintergrund */
    border-radius: 10px;
}
.testimonial::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 43, 73, 0.6);
}



.testimonial.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial.left,
.testimonial.right {
    opacity: 0.6;
    z-index: 1;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial > * { 
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box;
}

.testimonial p {
    font-family: 'OpenSans', Arial, sans-serif; /* Fallback ggf. entfernen */
    margin-bottom: 10px; 
}
.testimonial p:last-of-type { 
    margin-bottom: 0;
}
.testimonial .stars {
    font-size: 1.2em;
    color: #ffc107; /* Sternfarbe bleibt erhalten, da sie auf dem #29abe2 Hintergrund gut aussieht */
    margin-bottom: 8px;
    order: -2; 
}
.testimonial .meta {
    font-family: 'OpenSans', Arial, sans-serif; /* Fallback ggf. entfernen */
    font-style: italic;
    font-size: 0.85em; 
    margin-top: auto; 
    padding-top: 10px; 
    order: 1; 
}

/* Pfeile etc. bleiben unverändert */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(41, 171, 226, 0.2); /* GEÄNDERT */
    border: 2px solid #29abe2; /* GEÄNDERT */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #29abe2; /* GEÄNDERT */
    font-size: 24px;
    z-index: 10;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}
.arrow:hover {
    color: #ffffff;
    background: rgba(41, 171, 226, 0.4); /* GEÄNDERT */
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}
.arrow:active {
    transform: translateY(-50%) scale(0.95);
    transition: all 0.1s ease;
}
.left-arrow {
    left: 20px;
}
.right-arrow {
    right: 20px;
}



/* Mobile First Responsive Design */
@media (max-width: 900px) {
    .testimonial-slider {
        max-width: 95vw;
        padding: 20px 60px;
        gap: 10px;
    }
    .testimonial {
        flex: 0 0 280px;
        padding: 20px 15px; /* Padding angepasst */
        margin: 0 5px;
        font-size: 15px;
        height: 360px; /* Höhe anpassen */
    }
    .arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .left-arrow {
        left: 15px;
    }
    .right-arrow {
        right: 15px;
    }
}

@media (max-width: 600px) {
    .testimonials {
        padding: 40px 10px;
    }
    .testimonial-slider {
        max-width: 100vw;
        padding: 20px 50px;
        gap: 0;
    }
    .testimonial {
        flex: 0 0 250px;
        margin: 0;
        font-size: 14px;
        padding: 20px 15px; /* Padding angepasst */
        height: 340px; /* Höhe anpassen */
    }
    .testimonial.active {
        transform: scale(1.1);
    }
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .left-arrow {
        left: 10px;
    }
    .right-arrow {
        right: 10px;
    }
}

@media (max-width: 400px) {
    .testimonial-slider {
        padding: 15px 45px; /* Pfeile brauchen Platz */
    }
    .testimonial {
        flex: 0 0 calc(100% - 20px); /* Einzelnes Testimonial fast volle Breite, wenn gewünscht */
        /* oder flex: 0 0 200px; falls Sie die feste Breite beibehalten wollen */
        padding: 20px 15px;
        height: 320px; /* Höhe anpassen */
    }
    .arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .left-arrow {
        left: 8px;
    }
    .right-arrow {
        right: 8px;
    }
}

.endsection {
  background-image: url("bilder/aboutback.webp");
  width: 100%;
}

/* CTA Icons */
.cta-icons {
  padding: 60px 20px;
  text-align: center;
  color: #002b49; /* Farbe aus vorheriger Anpassung */
  width: 100%;
}

.cta-icons h2 {
  margin-bottom: 20px; /* Abstand der Hauptüberschrift des Bereichs */
  font-size: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 100%;
}

.icon-block {
  max-width: 300px;
  text-align: center;
}

.icon-block img {
  width: 200px;
  max-width: 100%;
  height: auto;
  margin-bottom: 0; /* Unterer Abstand vollständig entfernt, um Text näher an das Icon zu rücken */
}

.icon-block h2 { /* Dies ist die Überschrift direkt unter dem Icon-Bild */
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-top: 0;       /* Entfernt den oberen Standardabstand der h2 */
  margin-bottom: 5px;  /* Kleiner Abstand zur darunter folgenden h3, anpassbar (z.B. 0 für noch näher) */
  font-size: 1.5em;    /* Beispielhafte Schriftgröße, anpassen falls nötig */
}

.icon-block h3 { /* Dies ist die Unter-Überschrift/Text unter der .icon-block h2 */
  font-family: 'OpenSans', Arial, sans-serif;
  margin-top: 0;       /* Entfernt den oberen Abstand der h3, um sie näher an die h2 zu rücken */
  font-size: 1em;      /* Beispielhafte Schriftgröße, anpassen falls nötig */
  line-height: 1.4;    /* Zeilenhöhe für bessere Lesbarkeit anpassen */
  font-weight: normal; /* Standard-Schriftgewicht für h3, anpassen falls nötig */
}

.icon-block p { /* Falls es noch p-Tags gäbe; in Ihrer HTML-Struktur sind es h2 und h3 */
  font-weight: bold;
  font-family: 'OpenSans', Arial, sans-serif;
  margin-top: 5px; /* Beispielhafter Abstand, falls p-Tags verwendet werden */
}

@media (max-width: 768px) {
  .cta-icons {
    padding: 40px 15px;
  }
  .cta-icons h2 { /* Hauptüberschrift des Bereichs */
    font-size: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .icons {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .icon-block img {
    width: min(250px, 80vw);
    /* margin-bottom: 0; wird von der Basisregel übernommen */
  }
  .icon-block h2 { /* Überschrift unter Icon */
    font-family: 'Montserrat', Arial, sans-serif;
    /* margin-top: 0; und margin-bottom: 5px; werden von der Basisregel übernommen */
    font-size: 1.4em; /* Ggf. Schriftgröße für Mobile anpassen */
  }
  .icon-block h3 { /* Unter-Überschrift unter Icon */
    font-family: 'OpenSans', Arial, sans-serif;
    /* margin-top: 0; wird von der Basisregel übernommen */
    font-size: 0.9em; /* Ggf. Schriftgröße für Mobile anpassen */
  }
}

@media (max-width: 480px) {
  .cta-icons h2 { /* Hauptüberschrift des Bereichs */
    font-size: 28px;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .icon-block img {
    width: min(200px, 70vw);
    /* margin-bottom: 0; wird von der Basisregel übernommen */
  }
  /* Für .icon-block h2 und h3 werden die Margins weiterhin von den Basisregeln bzw. der 768px-Regel übernommen,
     ggf. hier Schriftgrößen weiter anpassen falls nötig */
  .icon-block h2 {
    font-size: 1.3em;
  }
  .icon-block h3 {
    font-size: 0.85em;
  }
}














/* Form Section - Komplett überarbeitet für perfekte Zentrierung */
.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background: #e5f6fa url('bilder/aboutback.webp') center/cover no-repeat;
  box-sizing: border-box;
  gap: 20px;
  width: 100%;
  min-height: auto;
}

.iframe-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1240px;
  flex-wrap: wrap;
  background-color: transparent;
  margin: 0 auto;
}

.form-container,
.map-container {
  width: 600px;
  height: 600px; /* Dieser Wert wird durch Media Queries überschrieben */
  flex: 0 0 600px;
  box-sizing: border-box;
  border: none;
}

/* Spezifische Hintergründe und Positionierung */
.form-container {
    background: transparent;
}

.map-container {
    position: relative; /* Wichtig für die Positionierung des Placeholders */
    background-color: #f0f2f5; /* Heller Hintergrund für den leeren Bereich */
}

/* ========== START: NEUE STYLES für den Karten-Platzhalter ========== */
#map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #e9ecef;
    border: 1px solid #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.placeholder-content {
    font-family: sans-serif;
    color: #495057;
}

.placeholder-content p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.placeholder-content small {
    display: block;
    margin-bottom: 15px;
}

#open-cookie-settings-map {
    padding: 10px 15px;
    border: none;
    background-color: #29abe2; /* GEÄNDERT */
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

#open-cookie-settings-map:hover {
    background-color: #1f98d4; /* GEÄNDERT (dunklerer Ton) */
}
/* ========== END: NEUE STYLES für den Karten-Platzhalter ========== */

.form-container iframe,
.map-container iframe {
  width: 600px !important;
  height: 600px !important; /* Dieser Wert wird durch Media Queries überschrieben */
  border: none;
  border-radius: 12px;
  display: block;
  margin: 0;
  padding: 0;
}

.contact-info-box {
  width: 100%;
  max-width: 1240px;
  background: #29abe2;  /* GEÄNDERT */
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  font-size: 30px;
  box-sizing: border-box;
  margin: 0 auto;
  font-family: 'OpenSans', Arial, sans-serif;
}

.contact-info-box h3 {
  margin: 0 0 15px 0;
  font-family: 'Montserrat', Arial, sans-serif;  
  font-weight: bold;
  font-size: 1em;
}

.contact-info-box p {
  display: inline-block;
  background-color: #002b49;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 5px 10px;
  font-family: 'OpenSans', Arial, sans-serif;  
  font-size: 0.6em;
  vertical-align: middle;
}

.contact-info-box a {
  color: #ffffff;
  text-decoration: underline;
}

/* Spezielle Behandlung für das Kontaktformular */
#contactFrame {
  background: transparent !important;
  overflow: hidden !important;
  border: none !important;
}

/* Entferne Ladeanimationen da sie stören können */
.form-container::before,
.map-container::before {
  display: none;
}

/* Desktop: Feste Größen für perfekte Ausrichtung */
@media (min-width: 1281px) {
  .iframe-container {
    gap: 40px;
  }
  
  .form-container,
  .map-container {
    width: 600px;
    height: 750px;
  }
  
  .form-container iframe,
  .map-container iframe {
    width: 600px !important;
    height: 750px !important;
  }
}

@media (max-width: 1280px) and (min-width: 1041px) {
  .iframe-container {
    gap: 30px;
  }
  
  .form-container,
  .map-container {
    width: 600px;
    height: 650px;
  }
  
  .form-container iframe,
  .map-container iframe {
    width: 600px !important;
    height: 650px !important;
  }
}

/* Tablet Portrait - iFrames untereinander */
@media (max-width: 1040px) and (min-width: 769px) {
  .form-section {
    padding: 20px 15px;
  }
  
  .iframe-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
  }
  
  .form-container,
  .map-container {
    width: 100%;
    max-width: 600px;
    height: 600px;
  }
  
  .form-container iframe,
  .map-container iframe {
    width: 100% !important;
    height: 600px !important;
  }

  .contact-info-box {
    max-width: 600px;
    font-size: 24px;  
  }

  .contact-info-box p {
    display: block;
    width: fit-content;
    max-width: 90%;
    margin: 10px auto;
    padding: 10px 15px;
    font-size: 18px;
  }
}

/* Mobile Large */
@media (max-width: 768px) and (min-width: 481px) {
  .form-section {
    padding: 15px;
    gap: 15px;
  }
  
  .iframe-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  
  .form-container,
  .map-container {
    width: 100%;
    max-width: 500px;
  }
  
  .form-container {
    height: 620px;
  }
  
  .map-container {
    height: 350px;
  }
  
  .form-container iframe {
    width: 100% !important;
    height: 620px !important;
  }
  
  .map-container iframe {
    width: 100% !important;
    height: 350px !important;
  }

  .contact-info-box {
    max-width: 500px;
    font-size: 20px;
    padding: 15px;
  }

  .contact-info-box p {
    display: block;
    width: fit-content;
    max-width: 90%;
    margin: 8px auto;
    padding: 8px 15px;
    font-size: 16px;  
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .form-section {
    padding: 10px;
    gap: 10px;
  }
  
  .iframe-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  
  .form-container,
  .map-container {
    width: 100%;
    max-width: 95vw;
  }
  
  .form-container {
    height: 550px;
  }
  
  .map-container {
    height: 300px;
  }
  
  .form-container iframe {
    width: 100% !important;
    height: 550px !important;
  }
  
  .map-container iframe {
    width: 100% !important;
    height: 300px !important;
  }

  .contact-info-box {
    max-width: 95vw;
    font-size: 18px;
    padding: 12px;
  }

  .contact-info-box p {
    display: block;
    width: fit-content;
    max-width: 95%;
    margin: 8px auto;
    padding: 8px 12px;  
    font-size: 15px;  
  }
}

/* Very Small Mobile */
@media (max-width: 375px) {
  .form-section {
    padding: 8px;
  }
  
  .form-container,
  .map-container {
    max-width: 98vw;
  }
  
  .form-container {
    height: 520px; /* Höhe angepasst */
  }
  
  .form-container iframe {
    height: 520px !important; /* Höhe angepasst */
  }

  .contact-info-box {
    max-width: 98vw;
    font-size: 16px;
    padding: 10px;
  }

  .contact-info-box p {
    display: block;
    width: fit-content;
    max-width: 95%;
    margin: 6px auto;
    padding: 6px 10px;
    font-size: 14px;  
  }
}

/* Ultra Small Mobile */
@media (max-width: 320px) {
  .form-container {
    height: 500px; /* Höhe angepasst */
  }
  
  .form-container iframe {
    height: 500px !important; /* Höhe angepasst */
  }

  .contact-info-box {
    font-size: 14px;
    padding: 8px;
  }

  .contact-info-box p {
    display: block;
    width: fit-content;
    max-width: 95%;
    margin: 5px auto;
    padding: 5px 8px;
    font-size: 13px;  
  }
}














/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #29abe2; /* GEÄNDERT */
  color: #002b49;
  padding: 30px 20px;
  width: 100%;
  font-family: 'OpenSans', Arial, sans-serif;
  gap: 25px;
}

.footer_logo {
  display: block;
  max-width: 180px;
  width: 50%;
  height: auto;
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  /* Stellt sicher, dass der Text auf dem Desktop linksbündig ist, falls nicht geerbt */
  text-align: left;
}

footer h4 {
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}

footer ul li {
  margin-bottom: 5px;
}

footer a {
  color: #002b49;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  opacity: 1.0;
  font-family: 'OpenSans', Arial, sans-serif;
  color: #002b49;
  background-color: white;
  width: 100%;
  height: auto;
  /* Padding hier hinzugefügt für Konsistenz */
  padding: 10px;
}

/* ------------------- Mobile Ansichten ------------------- */

@media (max-width: 768px) {
  footer {
    padding: 25px 15px;
    gap: 20px;
  }
  .footer_logo {
    max-width: 150px;
    width: 40%;
  }
  .footer-cols {
    flex-direction: column; /* Spalten untereinander auf Mobile */
    gap: 25px;              /* Abstand zwischen den gestapelten Spalten */
    align-items: center;    /* Zentriert die Spaltenblöcke, wenn sie nicht volle Breite haben */
    text-align: left;       /* NEU: Richtet den Text in den Spalten linksbündig aus */
  }
  .footer-cols > div {      /* Stellt sicher, dass jede Spalte die definierte Breite einnimmt */
    width: 100%;
    max-width: 300px;       /* Maximale Breite für zentrierte Spalten */
  }
  .copyright {
    padding: 8px;
    font-size: 11px;
    text-align: left;       /* NEU: Richtet auch den Copyright-Text linksbündig aus */
  }
}

@media (max-width: 480px) {
  footer {
    padding: 20px 10px;
    gap: 15px;
  }
  .footer_logo {
    max-width: 120px;
    width: 45%;
  }
  .footer-cols {
    gap: 20px;
    /* Stellt sicher, dass auch hier der Text linksbündig bleibt */
    text-align: left;
  }
  .copyright {
    font-size: 10px;
  }
}