* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans Light', sans-serif;
  font-weight: 200;
  font-size: 20px;
  line-height: 1.5em;
  color: #4b575f;
}

ul.nav-links li {
    margin-bottom: 0rem !important;
}


h1 {
  font-weight: 200;
  font-family: 'Open Sans Light', sans-serif;
  font-size: 52px;
      line-height: 1.3em;
  padding-bottom: 20px;
  color: #4b575f;
}

/* Standard-Bullets immer sichtbar */
.swiper-pagination-bullet {
  background-color: #eb6e07;   /* Orange */
  opacity: 1 !important;       /* Immer sichtbar, nicht transparent */
}

/* Aktiver Bullet etwas kräftiger */
.swiper-pagination-bullet-active {
  background-color: #FF4500;   /* kräftigeres Orange */
  transform: scale(1.2);       /* optional: leicht vergrößern */
}

h2::before {
  content: "";
  position: absolute;
  top: -10px;          /* Abstand zur H2 */
  left: 0;
  width: 50px;        /* gewünschte Länge der Linie */
  height: 2px;        /* Dicke der Linie */
  background-color: #eb6e07;
}

h2 {
  font-weight: 200;
  font-family: 'Open Sans Light', sans-serif;
  font-size: 36px !important;
      line-height: 1.3em;
    margin-top: 35px;
    padding-bottom: 15px;
  position: relative; 
}

h3, h4 {
  font-weight: 200;
  font-family: 'Open Sans Light', sans-serif;
  font-size: 26px;
      line-height: 1.3em;
 padding-top: 10px;
  padding-bottom: 10px;
}

p {
  margin-bottom: 15px !important;
  font-family: 'Open Sans Light', sans-serif;
  font-weight: 200;
  line-height: 1.5em;
}

address {
    font-style: normal !important;
}

@media (max-width: 768px) {
p, ul, a {
    font-size: 16px !important;
}
a.desktop {
    display: none !important;
}
.nav-links {
    gap: 0px !important;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 24px !important;
}

h3, h4 {
  font-size: 20px;
}
.quote-banner {
    height: 23vh !important;
}}

/* --- Header --- */
header .main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  background: white;
  font-family: 'Open Sans', sans-serif;
}

/* Mailto-Links standardmäßig orange */
header .contact a[href^="mailto:"] {
  color: #eb6e07;          /* Orange als Idle */
  text-decoration: none;
}

/* Hover-Effekt: orange + Unterstrich */
header .contact a[href^="mailto:"]:hover {
  color: #eb6e07;          /* bleibt Orange */
  text-decoration: underline;
}

.white a[href^="mailto:"] {
  color: white;       
  text-decoration: none;
}

/* Hover-Effekt: orange + Unterstrich */
header .contact a[href^="mailto:"]:hover {
  color: #eb6e07;          /* bleibt Orange */
  text-decoration: underline;
}

header .logo img {
  width: 130px;
}

/* Neuer Block: Contact + Navigation */
header .right-block {
  display: flex;
  align-items: center;
}

header .contact {
  font-size: 16px;
  color: #4b575f;
  font-weight: 200;
  white-space: nowrap;
  text-align: right;
  margin-right: 50px; /* immer 50px rechts zur Navi */
}

header .contact a {
  color: #4b575f;
  text-decoration: none;
}

nav.navigation {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #4b575f;
  font-weight: 500;
}

.nav-links li a.active {
  color: #eb6e07;
  font-weight: 500;
}




/* Ab 768px: Kontaktinfos ausblenden */
@media (max-width: 768px) {
  header .contact {
    display: none;
  }
}






/* Hero Bild mit Overlay */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-top: 70px; /* Platz für den fixen Header */
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 1rem 2rem;
  border-radius: 6px;
}
.overlay-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.overlay-text p {
  font-size: 1.2rem;
}

/* Sektionen */
.section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  color: #4b575f;
}

/* Tabelle */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid #ddd;
  padding: 0.75rem;
}
th {
  background: #ec6e06;
  color: white;
}
tr:nth-child(even) { background: #f9f9f9; }

.footer {
  background: #ec6e06;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Open Sans', sans-serif;

}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  text-align: left;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col img {
  max-width: 100%;
  height: auto;
}

.footer-col h4 {
  font-family: 'Open Sans Light', sans-serif;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* 📱 Responsive: Spalten untereinander ab Tablet */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }
}

/* Responsiv */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-bar ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 0.5rem;
  }
  .overlay-text h1 { font-size: 1.8rem; }
  .overlay-text p { font-size: 1rem; }
}

/* Responsiv */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .kurse-section {
    flex-direction: column;
  }
  .kurse-image, .kurse-content {
    flex-basis: 100%;
  }
}

.kurse-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;  /* Vertikale Zentrierung aller direkten Kinder */
  gap: 50px;
}

.kurse-image {
  flex: 1 1 30%; /* 1 Teil Flex-Grow/Shrink; Basisbreite ca. 30 % */
}

.kurse-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.small {
  font-size: 15px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.small2 {
  font-size: 16px;
  margin-top: 20px;
}

.kurse-content {
  flex: 2 1 65%; /* Text nimmt etwa 2/3 der Breite ein */
}

.features {
  display: flex;
  justify-content: space-between; /* Gleichmäßige Verteilung zwischen den Spalten */
  flex-wrap: wrap;
  gap: 20px; /* Abstand zwischen den Spalten */
}

.feature {
  flex: 1 1 calc(33.333% - 20px); /* Drei Spalten, mit Berücksichtigung des Abstands */
  text-align: center;             /* Zentriert Icon und Text horizontal */
  background-color: #f8f8f8;
  padding-top: 30px;
  padding-bottom: 30px;
}

.feature img {
  width: 60px;       /* Beispielgröße, anpassbar */
  margin-bottom: 10px; /* Abstand Icon – Überschrift */
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Drei gleich breite Spalten */
  gap: 20px;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr; /* Eine Spalte auf kleinen Bildschirmen */
  }
}


.main-bg {
  flex: 1;  /* Füllt den verfügbaren Platz zwischen Header (falls vorhanden) und Footer */
  background-image: url('/bilder/pattern.webp');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}


/* Alle Links orange, nicht kursiv */
a {
  color: #FF7F00;      /* Orange */
  text-decoration: none; /* keine Unterstreichung */
  font-style: normal;   /* sicherstellen, dass sie nicht kursiv sind */
  transition: color 0.3s ease; /* sanfte Farbänderung beim Hover */
}

/* Hover-Effekt */
a:hover {
  color: #FFA500; /* helleres Orange beim Überfahren */
}

/* Aktiver Link (z. B. aktueller Menüpunkt) */
a.active {
  color: #FF4500;   /* kräftiges Orange */
  font-weight: 600; /* optional etwas fett */
}

strong {
    font-style: normal !important;
    font-weight: 600;
}

ul {
  padding-left: 20px; /* Abstand vom linken Rand */
  margin-left: 0;     /* optional: äußeren Abstand entfernen */
  list-style-type: disc; /* normale Aufzählungszeichen */
}

ul li {
  margin-bottom: 0.5rem; /* Abstand zwischen den Punkten */
  line-height: 1.5;      /* bessere Lesbarkeit */
}

/* Wrapper für responsive Tabelle */
.table-wrapper {
  width: 100%;
  overflow-x: auto; /* horizontales Scrollen auf kleinen Bildschirmen */
  -webkit-overflow-scrolling: touch; /* sanftes Scrollen auf iOS */
}

/* Tabelle selbst */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px; /* verhindert zu starkes Schrumpfen */
}

/* Tabellenzellen */
th, td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

/* Kopfzeile */
thead {
  background-color: #f4f4f4;
}

/* Alternierende Zeilenfarbe (optional) */
tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Kleine Bildschirme: Schrift etwas kleiner */
@media (max-width: 768px) {
  th, td {
    padding: 0.5rem;
    font-size: 16px;
  }

.arrow {
       display: none;
}
.slider{
  display: none;
}}

@media (min-width: 768px) {
.slidermobile{
  display: none !important;
}}

.quote-banner {
  width: 100%;
  background: url('/bilder/background.webp') no-repeat center center;
  background-size: cover;
  padding: 80px 20px; /* Abstand oben/unten, Seitenrand */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 61vh;
}

.quote-container {
  max-width: 600px; /* Sichtbarer Bereich */
  text-align: center;
  color: white;       /* Textfarbe */
  background: rgb(236 110 6 / 89%); /* optional: halbtransparenter Hintergrund für Lesbarkeit */
  padding: 20px 20px;
  border-radius: 8px; /* optional: abgerundete Ecken */
}

.quote-text {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.4;
}

.slidermobile {
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center;     /* vertikal zentrieren */
  overflow: hidden;
  background-color: #f5f5f5; /* optional, Hintergrundfarbe */
}

.slidermobile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Bild bleibt vollständig sichtbar */
  display: block;
}

#kontakt {
  background-image: url('/bilder/pattern.webp'); /* Pfad zu deinem Bild */
  background-size: cover;       /* Bild füllt die Section aus */
  background-position: right;  /* Bild zentrieren */
  background-repeat: no-repeat; /* Wiederholung verhindern */
  padding: 50px 50px;           /* Abstand innen, kann angepasst werden */
}





.footer-bottom-img {
  position: absolute;
  padding-left: 30px;   /* am unteren Rand */
  padding-bottom: 0px;     /* ganz links */
   position: relative; /* wichtig, damit das Bild am Footer ausgerichtet wird */
  max-height: 16px !important; /* Größe anpassen */
}


