/* ===============================
   RESET & BASIS
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fbf8f4;
  font-family: "Playfair Display", serif;
  color: #2f3b2f;
  font-size: 22px;
  line-height: 2;

}


main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
  text-align: center;
}

/* ===============================
   HEADINGS
================================ */

h1 {
  color: #b79a5a;
  font-size: 3.6rem;
  margin-bottom: 1.6rem;
  line-height: 1.25;
}

h2 {
  font-size: 2.1rem;
  font-style: italic;
  margin-bottom: 3.2rem;
  line-height: 1.6;
}



/* ===============================
   KURS-TITEL & INTRO
================================ */

.kurs-titel {
  text-align: center;
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 45px;
  line-height: 1.5;
}

.kurs-cover {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin: 2.5rem auto 3.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 80px;
  font-size: 1.4rem;
  line-height: 1.9;
}

.hinweis {
  margin-top: 22px;
  font-style: italic;
  font-size: 1.4rem;
  color: #6b5f4b;
}

/* ===============================
   LOGIN
================================ */

.login-text {
  max-width: 760px;
  margin: 0 auto 4rem;
  font-size: 1.4rem;
  line-height: 2.0;
}

.login-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

label {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 64px;
  padding: 0 1.4rem;
  margin-bottom: 2.2rem;
  background: #fbf8f4;
  border: 1.6px solid #d6c3a3;
  border-radius: 16px;
  font-size: 1.25rem;
  color: #2f3b2f;
}

.login-button {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 3rem auto 0;
  height: 64px;
  border-radius: 999px;
  border: none;
  background: #f2c6cf;
  color: #3a2a2a;
  font-size: 1.25rem;
  cursor: pointer;
}

.login-button:hover {
  background: #f4e3e6;
}

.login-error {
  margin-bottom: 2rem;
  font-size: 1.15rem;
  color: #b94a48;
  text-align: center;
}

/* ===============================
   MODUL-KREIS OBEN (Modulseiten)
================================ */

.modul-header {
  position: center;
}

.modul-kreis {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: url("kursbild.jpg") center / cover no-repeat;
  border: 2px solid rgba(200, 167, 93, 0.4);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
  margin: 0 auto 2.5rem;
}


/* =============================== MODULE – GRID ================================ */ 
.module-grid { 
  display: flex; 
  flex-direction: column; 
  gap: 120px; /* vorher 40px → mehr Ruhe */ 
  max-width: 1100px; 
  margin: 0 auto; 
} 

/* =============================== MODUL-BOX ================================ */ 
.modul { 
  position: relative; 
  background-color: #f4e6ea; 
  border-radius: 22px; 
  padding: 18px 30px; /* oben/unten reduziert */ 
  text-decoration: none; 
  color: #2f3b2f; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
  transition: transform 0.25s ease, box-shadow 0.25s ease; 
} 

.modul:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 8px 22px rgba(0,0,0,0.08); 
} 

/* =============================== MODUL-BLUMENKREIS (überlappend) ================================ */ 
.module-flower { 
  position: absolute; 
  top: -48px; /* etwas weiter hinein */ 
  left: -48px; 
  width: 180px; /* vorher 90px */ 
  height: 180px; 
  border-radius: 50%; 
  background: url("kursbild.jpg") center / cover no-repeat; 
  border: 2px solid rgba(200, 167, 93, 0.4); 
  box-shadow: 0 8px 22px rgba(0,0,0,0.1); 
} 

/* =============================== MODUL-TEXTE ================================ */ 
.modul h3 { 
  font-family: "Playfair Display", serif; 
  color: #b59b59; 
  font-size: 2.2rem; 
  margin-bottom: 18px; 
} 

.modul p { 
  font-size: 1.4rem; 
  line-height: 1.9; 
} 

/* Einführungsmodul – sanfte Hervorhebung */ 
.modul-einfuehrung { 
  background-color: #f6f1e8; /* warmes Gold-Beige */ 
} 

.modul-einfuehrung h3 { 
  color: #b59b59; /* gedecktes Gold */ 
} 

/* =============================== MODUL-SEITEN ================================ */ 
.modul-main {
  max-width: 1200px;   /* 👈 breiter */
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
  text-align: center;
}


.modul-einleitung {
  font-size: 2.6rem;     /* deutlich größer */
  font-style: italic;
  margin-bottom: 3.5rem;
  color: #b59b59;        /* Gold wie Modul */
  font-weight: 500;      /* etwas eleganter */
  line-height: 1.4;
}

.modul-inhalt {
  text-align: left;
    font-size: 22px;
  line-height: 2;
  max-width: 1000px;
  margin: 0 auto;
}


.modul-inhalt p {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 1.8rem;
}


/* Navigation */ 
.modul-navigation { 
  margin-top: 4rem; 
  display: flex; 
  justify-content: center; 
  gap: 25px; 
  flex-wrap: wrap; 
} 

.nav-button { 
  display: inline-flex; /* wichtig */ 
  align-items: center; 
  justify-content: center; 
  width: 260px; /* 👈 feste Breite */ 
  height: 52px; /* 👈 feste Höhe */ 
  border-radius: 999px; 
  text-decoration: none; 
  font-size: 1.1rem; 
  font-weight: 700; 
  letter-spacing: 0.3px; 
  border: 1px solid #d6c3a3; 
  background: #f2ebe1; 
  color: #2f3b2f; 
  transition: all 0.2s ease; 
} 

.nav-button:hover { 
  background: #f6f1e8; 
} 

.nav-primary { 
  background: #f2c6cf; 
  border: 1px solid #caa63a; 
} 

.nav-primary:hover { 
  background: #f6d6dc; 
}

/* ===============================
   UNTERLAGEN
================================ */

.unterlagen-title {
  margin-top: 60px;
  margin-bottom: 30px;
  font-style: italic;
  font-size: 2.8rem;
  color: #b59b59;
}

.unterlagen-grid {
  display: grid;
  gap: 18px;
  max-width: 750px;
  margin: 0 auto 60px;
}

.unterlagen-box {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  border-radius: 14px;
  background-color: #f6e9ed;
  text-decoration: none;
  color: #2f3b2f;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 85px;
}

.unterlagen-box:hover {
  background-color: #efd6dc;
  transform: translateY(-2px);
}

.unterlagen-nummer {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f2c6cf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b08a3c;
  border: 2px solid #b08a3c;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ===============================
   NAVIGATION
================================ */

.modul-navigation {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 52px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid #d6c3a3;
  background: #f2ebe1;
  color: #2f3b2f;
  transition: all 0.2s ease;
}

.nav-button:hover {
  background: #f6f1e8;
}

.nav-primary {
  background: #f2c6cf;
  border: 1px solid #caa63a;
}

.nav-primary:hover {
  background: #f6d6dc;
}

/* ===============================
   FOOTER
================================ */
/* FOOTER – Kursbereich */

footer {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-top: 1px solid #e6dfd5;
  background-color: transparent;   /* kein Weiß mehr */
  font-size: 0.85rem;              /* kleiner */
  color: #7b7366;                  /* weicher Ton */
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #7b7366;
  text-decoration: none;
  margin: 0 0.4rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #b59b59;   /* Gold beim Hover */
}
.unterlagen-box {
  position: relative;
}

.unterlagen-download {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.8px solid #b79a5a;
  color: #b79a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.unterlagen-box:hover .unterlagen-download {
  background: #b79a5a;
  color: #fff;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  /* ===============================
     LAYOUT
  ============================== */

  main,
  .modul-main {
    padding: 3rem 1.4rem 3.5rem;
    text-align: center;
  }

  /* ===============================
     HEADINGS
  ============================== */

  h1 {
    font-size: 2rem;
    line-height: 1.3;
    word-break: break-word;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .modul-einleitung {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 2.2rem;
  }
    .intro-text {
    font-size: 1.05rem;   /* vorher vermutlich 1.4rem */
    line-height: 1.75;
    max-width: 95%;
    margin: 0 auto 50px;
  }
  main p {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  h1 {
 font-size: 2.2rem;
  line-height: 1.25;
  word-break: normal;         /* kein aggressiver Umbruch */
  overflow-wrap: break-word;  /* sauberer Zeilenumbruch */
  hyphens: auto;              /* automatische Silbentrennung */
   max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}
.hinweis,
  main p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  /* ===============================
     MODUL-KREIS
  ============================== */

  .modul-kreis {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.8rem;
  }
.module-flower {
  position: relative;      /* kein absolutes Überlappen mehr */
  top: 0;
  left: 0;
  width: 95px;             /* deutlich kleiner */
  height: 95px;
  margin: 0 auto 1.2rem;   /* mittig oberhalb der Box */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.modul {
  padding-top: 2.5rem;   /* etwas mehr Raum oben */
}

  /* ===============================
     MODUL-TEXT
  ============================== */

  .modul-inhalt {
    font-size: 1.1rem;
    line-height: 1.85;
    max-width: 95%;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
  }

  .modul-inhalt p {
    margin-bottom: 1.5rem;
  }

  /* ===============================
     MODULE GRID
  ============================== */

  @media (max-width: 768px) {

  /* Module Abstand reduzieren */
  .module-grid {
    gap: 40px;   /* vorher 60px */
  }

  /* Modul-Box kompakter */
  .modul {
    padding: 1.6rem 1.2rem;
    border-radius: 18px;
  }

  /* Modul-Titel kleiner */
  .modul h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  /* Modul-Beschreibung kleiner */
  .modul p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Modul-Kreis noch etwas kleiner */
  .module-flower {
    width: 85px;
    height: 85px;
    margin: 0 auto 0.8rem;
  }

}


  /* ===============================
     UNTERLAGEN
  ============================== */
.unterlagen-title {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

  .unterlagen-box {
    display: flex;
    align-items: flex-start;   /* oben ausrichten */
    gap: 18px;
    font-size: 1.1rem;
    padding: 14px 18px;
    text-align: left;
  }

  .unterlagen-nummer {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;            /* verhindert ovale Kreise */
    font-size: 1rem;
    margin-top: 3px;           /* optische Feinjustierung */
  }
@media (max-width: 768px) {

  .unterlagen-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-right: 45px; /* Platz für den Button */
  }

  .unterlagen-download {
    position: absolute;
    right: 10px;
    top: 10px;
    transform: none;
  }

}
  /* ===============================
     NAVIGATION
  ============================== */

  .nav-button {
    width: 100%;
    max-width: 320px;
  }


