:root {
  --color-dark: #14281D;
  /* Haupttext, Überschriften */
  --color-primary: #93ae63;
  /* Hauptfarbe / Logo */
  --color-secondary: #A67C52;
  /* Sekundärfarbe / Hover, leichte Akzente */
  --color-accent: rgba(53, 88, 52, 0.72);
  /* Buttons / Highlights */
  --color-bg: #F1F5F2;
  /* Seitenhintergrund */
  --color-light: #fffbf7;
  /* Weiß für Text auf dunklen Hintergründen */
  --font-base: 'Roboto', sans-serif;
}

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

html {
  overflow-x: hidden; /* Horizontales Scrollen verhindern */
}

body {
  font-family: var(--font-base);
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden; /* Horizontales Scrollen verhindern */
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 34, 24, 0.144);
}

.hero img,
.hero-img {
  display: block;
  width: 100%;
  height: 135%;
  object-fit: cover;
  border: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 700px;
  opacity: 0;
  transition: opacity 1.25s ease-in-out;
}

.hero-content.visible {
  opacity: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-light);
  box-shadow: 0 2px 4px rgba(20, 40, 29, 0.1);
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 40px;
  height: 40px;
}

.nav-text, .nav-text a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  text-decoration: none;
}



.nav-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgb(87, 85, 85);
  margin-bottom: 2px;
  font-family: 'Hobo BT';
}

.nav-subtitle {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 400;
  text-align: center;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-light);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-light);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-kurse {
  background-color: var(--color-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-termine h2, 
.course-list h2,  
.section-agb h2, 
.kurseh2,
.kontakth2 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
}


.course-note {
  display: grid;
  grid-column: 1 / -1;         /* nimmt gesamte Breite der Karte ein */
  text-align: left;            /* linksbündiger Text */
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--color-dark);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 10px;
}

/* About / Intro */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 300;
}

.about-text p {
  color: var(--color-dark);
  margin-bottom: 20px;
}

.about-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.about-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-img-inner {
  display: block;
  width: 100%;
  height: auto;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 40, 29, 0.25);
  pointer-events: none;
  z-index: 2;
}

/* CTA Section */
.cta {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 60px 20px;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-inner p {
  margin-bottom: 20px;
  color: var(--color-light);
}

/* Courses */
.courses {
  position: relative;
}

/* Pfoten Background */
.paw-bg {
  position: absolute;
  inset: 0;
  z-index: 100;
}

.paw {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.1;
  filter: hue-rotate(0deg) brightness(1);
  transition: all 0.4s ease;
}

.paw:hover {
  opacity: 0.35;
  filter: hue-rotate(-20deg) brightness(1.2);
  transform: scale(1.15) rotate(10deg);
}

/* Footer */
.site-footer {
  background-color: var(--color-bg);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 20px 0;
}

.site-footer a {
  color: var(--color-dark);
  text-decoration: none;
}

/* Willkommen Section */
.welcome-inner {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Bild:Text-Verhältnis */
  gap: 30px;
  align-items: stretch; /* gleiche Höhe für beide Spalten */
  margin-bottom: 40px;
}

.welcome-logo img {
  width: 100%;
  height: 100%;          /* füllt volle Höhe des Textblocks */
  object-fit: contain;   /* keine Verzerrung – zeigt ganzes Logo */
  border-radius: 8px;
}

.welcome-text h1 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.welcome-text p {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.welcome-logo {
  display: flex;
  align-items: stretch;
}

/* Impressum */
.impressum-content p,
.impressum-content a {
  text-align: center;
}

.impressum-content p {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.impressum-content h1 {
  color: var(--color-dark);
  text-align: center;
}

.impressum-content a {
  color: var(--color-primary);
  text-decoration: none;
}

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

/* Kursliste */
.course-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.course-item.course-left {
  grid-template-areas: "text img";
}

.course-item.course-left .course-text {
  grid-area: text;
  text-align: left;
  padding-right: 20px;
}

.course-item.course-left .course-img {
  grid-area: img;
}

.course-item.course-right {
  grid-template-areas: "img text";
}

.course-item.course-right .course-text {
  grid-area: text;
  text-align: right;
  padding-left: 20px;
}

.course-item.course-right .course-img {
  grid-area: img;
}

.course-text h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 300;
}

.course-text p {
  color: var(--color-dark);
  margin-bottom: 20px;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 150px;
  background-color: var(--color-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.course-details {
  margin-top: 20px;
}

.course-list-details {
  padding-left: 20px;
  margin-bottom: 10px;
}

.course-list-details li {
  margin-bottom: 5px;
  line-height: 1.4;
}

/* Kursbild & Overlay */
.course-img {
  position: relative;
}

.course-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  z-index: 1;
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 138, 77, 0.062);
  z-index: 2;
  pointer-events: none;
}

.course-text .btn {
  margin-top: 10px;
}

/* Banner über Kursen */
.course-banner {
  position: relative;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

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

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-light);
  text-align: center;
  background-color: rgba(20, 40, 29, 0.5);
  padding: 20px 30px;
  border-radius: 6px;
}

.banner-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
}

.banner-text p {
  margin: 0;
  font-size: 1rem;
}

.course-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.course-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  background-color: var(--color-light);
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.course-text ul {
  list-style-position: inside;
  padding-left: 0;
}

.course-card.course-left {
  grid-template-areas: "text img";
  text-align: center;
}

.course-card.course-right {
  grid-template-areas: "img text";
  text-align: center;
}

.course-card .course-text {
  grid-area: text;
  padding: 30px;
}

.course-card .course-img {
  grid-area: img;
}

.course-card .course-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; /* falls das Bild etwas größer ist */
}

.course-card .course-text h3 {
  color: var(--color-primary);
  font-weight: 350;
  margin-bottom: 10px;
}

.course-card .course-text p,
.course-card .course-text ul {
  color: var(--color-dark);
  margin-bottom: 15px;
}

.course-card .course-text ul {
  padding-left: 20px;
}

.course-card .course-text a.btn {
  margin-top: 10px;
}



/* Termine Section */
.section-termine {
  position: relative;
}

.termine-inner {
  background-color: var(--color-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.termin-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.termin-list li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--color-dark);
}

.termin-list .time {
  font-weight: 500;
  margin-right: 10px;
  color: var(--color-primary);
}

.time-bezeichnung {
    margin-left: 10px;
}


.hinweise {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.hinweise ul {
  list-style: disc inside;
  margin-top: 10px;
}

/* Preise Karten */
.preise-cards {
  display: flex;
  gap: 20px;                    /* Abstand zwischen den Karten */
  justify-content: center;      /* Karten zentrieren */
  flex-wrap: nowrap;            /* Alle Karten in einer Reihe */
  margin-top: 30px;
}

/* Einzelne Preis-Karte */
.preis-card {
  display: flex;                /* Flexbox für vertikales Layout */
  flex-direction: column;       /* Inhalt von oben nach unten */
  justify-content: flex-start;  /* Startet oben */
  background-color: var(--color-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--color-dark);
  min-height: 190.77px;
  flex: 0 0 220px;              /* feste Breite */
  box-sizing: border-box;
}

/* Hover-Effekt */
.preis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Titel */
.preis-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 300;
}

/* Preise Sektion Überschrift */
.section-preise h2 {
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
}

/* Preisangaben */
.preiseinfo {
  text-align: center;
}

/* Zusatz immer unten (nur wenn vorhanden) */
.preis-card .preis-zusatz {
  margin-top: auto;             /* schiebt Zusatz an das untere Ende */
  color: var(--color-primary);
  text-align: left;
  padding-top: 10px;
}

/* AGB Liste */
.agb-list {
  margin-top: 30px;
  padding-left: 20px;
  color: var(--color-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.agb-list li {
  margin-bottom: 12px;
}

.prices {
  color: var(--color-primary);
}

.kontakt-info {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  padding-top: 50px;
}

.kontakt-details, .kontakt-anschrift {
  flex: 1;
  background-color: var(--color-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.kontakt-details h3, .kontakt-anschrift h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.kontakt-details p, .kontakt-anschrift p {
  color: var(--color-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.anfahrt {
  background-color: var(--color-light);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.anfahrt h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.anfahrt p {
  color: var(--color-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 10px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}


/* --- Hamburger Menü --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Animation bei aktivem Menü */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11.5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11.5px);
}

/* Menü für Mobile */
@media (max-width: 900px) {
  .hamburger {
    display: flex !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }
  
  .main-nav .nav-links a.active {
    color: var(--color-primary);
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 900;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .main-nav .nav-links a {
    font-size: 1.4rem;
  }

  .course-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Bilder komplett ausblenden */
  .course-card .course-img {
    display: none;
  }

  /* Text mittig anpassen */
  .course-card .course-text {
    grid-area: auto;
    padding: 10px 0;
    text-align: center;
  }

  .course-card .course-text h3 {
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero {
    height: 45vh;
    min-height: 300px;
  }

  .about-inner,
  .welcome-inner {
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
  }

  .welcome-logo {
    margin: 0 auto 20px;
    align-items: center;
  }

  .welcome-logo img {
    width: 100%;
    height: auto;        /* normales Verhalten – wie vorher */
    max-width: 180px;    /* z. B. ursprüngliche Größe beibehalten */
    object-fit: contain;
  }

  .preise-cards { flex-direction: column; gap: 1rem; }
  .preis-card { width: 100%; }
  .map-container iframe {
    width: 100%;
    height: 300px; /* Höhe verkleinern für Handy */
  }
  .kontakt-info {
    flex-direction: column;
  }
  .footer-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
  .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Höhe der Nav-Bar */
        right: 0;
        background: #fff;
        width: 250px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        padding: 1rem;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }
}

.site-footer {
  position: relative; /* wichtig für absolute Positionierung des Logos */
  background-color: var(--color-bg);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 20px 0;
}

.footer-instagram {
  position: absolute;
  bottom: 10px;  /* Abstand vom unteren Rand des Footers */
  right: 30px;   /* Abstand vom rechten Rand */
}

.footer-instagram img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.footer-instagram img:hover {
  transform: scale(1.2);
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .footer-instagram img {
    width: 28px;
    height: 28px;
  }
}

.kontakt-instagram a {
  display: inline-flex;       /* inline-flex für sauberen Zeilenfluss */
  align-items: center;        /* vertikale Zentrierung von Logo und Text */
  gap: 8px;                   /* Abstand zwischen Logo und Schriftzug */
  color: var(--color-dark);
  text-decoration: none;
  color: var(--color-primary);
}

.kontakt-instagram a img {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.3s;
}

.kontakt-instagram a:hover {
  color: var(--color-primary);
}

/* --- Mobile-Logo im Hamburger-Menü --- */
.mobile-logo {
  display: none;
  width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
}

.mobile-logo img {
  max-width: 90px;   /* Größe des Logos */
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* Nur im mobilen Menü sichtbar */
@media (max-width: 900px) {
  .mobile-logo {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem; /* etwas Abstand nach oben */
  }

  .nav-links li {
    margin: 0.6rem 0;
  }
}

/* --- Neuer, sauber ausgerichteter Hamburger Button --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 34px;
  height: 22px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1101;
  padding: 0;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* Aktiv-Zustand (X-Animation) */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hover-Farbe leicht ändern */
.hamburger:hover span {
  background-color: var(--color-secondary);
}


@media (max-width: 900px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-light);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4rem;
    gap: 1.5rem;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.15);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  /* Logo im Menü */
  .mobile-logo {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  .mobile-logo img {
    max-width: 80px;
    opacity: 0.95;
    transition: transform 0.3s ease;
  }

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

  /* Overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Menülinks */
  .main-nav .nav-links a {
    font-size: 1.2rem;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .main-nav .nav-links a:hover {
    color: var(--color-primary);
  }
}

.nav-links.active {
  animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
  from {
    right: -100%;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}


/* ==========================
   Hamburger Menü
========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 34px;
  height: 22px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1101;
  padding: 0;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* Aktiv-Zustand (X-Animation) */
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hover-Farbe */
.hamburger:hover span { background-color: var(--color-secondary); }

/* ==========================
   Mobile Menü Anpassungen
========================== */
@media (max-width: 900px) {

  /* Hamburger sichtbar */
  .hamburger { display: flex; }

  /* Menü */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4rem;   /* Abstand von oben (Logo + Untertitel) */
    gap: 1rem;           /* Abstand zwischen den Menüpunkten */
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-light);
    box-shadow: -3px 0 15px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
    animation: slideIn 0.4s ease forwards;
  }

  /* Logo */
  .mobile-logo {
    display: block;
    text-align: center;
    margin-bottom: 0.3rem; /* kleiner Abstand zum Untertitel */
  }

  .mobile-logo img {
    max-width: 80px;
    opacity: 0.95;
    transition: transform 0.3s ease;
  }

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

  /* Untertitel */
  .mobile-subtitle {
    display: block;
    text-align: center;
    font-size: 0.8rem;   /* kleiner */
    color: var(--color-primary);
    margin-bottom: 1.5rem; /* Abstand zu den Menüpunkten */
    font-weight: 400;
  }

  /* Abstand zwischen den Menüpunkten verringern */
  .nav-links li:not(.mobile-logo):not(.mobile-subtitle) {
    margin-top: 0.5rem;
  }

  /* Instagram-Link unten */
  .mobile-instagram {
    position: absolute;
    bottom: 2rem;
    text-align: center;
  }

  .mobile-instagram img {
    width: 28px;
    height: 28px;
    vertical-align: middle;
  }

  .mobile-instagram span {
    margin-left: 0.5rem;
    color: var(--color-dark);
    font-size: 0.9rem;
    vertical-align: middle;
  }

  /* Menülinks */
  .main-nav .nav-links a {
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .main-nav .nav-links a:hover { color: var(--color-primary); }

  .course-note {
    padding-left: 15px;
  }
}

/* ==========================
   Animationen
========================== */
@keyframes slideIn {
  from { right: -100%; opacity: 0; }
  to { right: 0; opacity: 1; }
}


@media (min-width: 900px) {
.mobile-instagram {
    display:none
  }
}

@media (max-width: 900px) {
  .hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;           /* volle Breite fast ausnutzen */
    max-width: none;      /* alte max-width entfernen */
    text-align: center;
    padding: 0 10px;      /* Abstand vom Bildschirmrand */
  }

  .hero-content h1 {
    font-size: 1.5rem !important; /* deutlich kleiner */
    line-height: 1.3 !important;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 0.95rem !important; /* kleiner, gut lesbar */
    line-height: 1.4 !important;
  }
}


@media (max-width: 900px) {
  .footer-instagram {
    display: none;      /* Abstand nach oben */
  }
}

/* ==========================
   Scroll-to-Top Button
========================== */
#scrollTopBtn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background-color: var(--color-accent);
  color: var(--color-light);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999; /* immer über dem Inhalt */
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background-color: var(--color-secondary);
  transform: translateY(-4px);
}

/* Kleinere Version auf Mobilgeräten */
@media (max-width: 900px) {
  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .nav-title {
  font-size: 20px;
}

}



.course-left .course-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Bereich aus, bleibt aber proportional */
  border-radius: 0px 8px 8px 0px;
}

.course-right .course-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt den Bereich aus, bleibt aber proportional */
  border-radius: 8px 0px 0px 8px;
}


.kurse-list {
  position: relative;
  text-align: center;
}


.kurse-list a, .kurse-list p {
  display: inline-block;
  position: relative;
}

.kurse-list a::before, .kurse-list p::before {
  content: "•";
  position: absolute;
  left: -1em; /* Abstand anpassen */
}