/* === Nächster Termin === */
.training-formular-naechster-termin {
  font-size: 1em;
  font-weight: 500;
  color: #0077cc;
  margin-top: 0.5em;
}

/* === Formular-Details (wird per JS befüllt) === */
.training-formular-details {
  margin-top: 0.8em;
  line-height: 1.5;
  color: #333;
}

/* === Hauptformular === */
.training-formular {
  max-width: 500px;
  margin: 0 0 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  border-radius: 10px;
  background-color: #f7fbff;
  border: 1px solid #d9e4ec;
  padding: 2em;
}


.training-formular label {
  padding-top: 0.5em;
font-weight: 700;
font-size: 1em;
line-height: 1.4;
color: #333;
}

.training-formular input[type="text"],
.training-formular input[type="email"],
.training-formular select,
.training-formular textarea {
  padding: 0.5em 1em;
  font-size: 1em;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border 0.3s ease, background-color 0.3s ease;
}

.training-formular input:focus,
.training-formular select:focus,
.training-formular textarea:focus {
  border-color: #0077cc;
  outline: none;
}

.training-formular select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  background-size: 2em;
  padding-right: 3em;
  white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.button-cta,
.training-formular button {
  display: block;
  margin: 1em auto 0;
  width: 100%;
  max-width: 400px;
  padding: 1em 1.2em;
  background: #ffcb05;
  color: #404040;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  transition: background 0.3s ease;
}

.button-cta:hover,
.button-cta-small:hover,
.training-formular button:hover {
  background: rgb(179, 143, 2);
}

.button-cta-small {
  padding: 0.6em 1.2em;
  background: #ffcb05;
  color: #404040;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95em;
  text-align: center;
  margin: 0 auto 0 !important;
}

/* === Radio-Buttons === */
.radio-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.radio-vertical label {
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 0.8em;
  margin: 0;
  padding-top: 0.2em;
  color: #333;
}

.radio-vertical input[type="radio"] {
  margin: 0;
}

/* === Preis-Anzeige === */
.training-formular-preis {
  font-size: 2em !important;
  line-height: 0.8 !important;
  font-weight: 500 !important;
}

.training-formular-preis-hinweis {
  font-size: 0.4em;
  line-height: 1.3;
  padding-top: 0.8em;
  font-weight: 500;
  display: inline-block;
}

/* === Hinweise === */
.training-hinweise {
  display:none;
  margin-top: 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: #333;
}

.dauer-hinweis {
  background-color: #fff9e5;
  border-left: 4px solid #f0c000;
  padding: 0.8em 1em;
  margin-bottom: 1em;
  border-radius: 6px;
  font-size: 15px;
}

.kursplatz-hinweis {
  margin: 1.1em 0 0.6em;
  text-align: left;
}

/* === Hinweislink === */
.training-termin-hinweis {
  margin-top: 1em;
  font-size: 1em;
  line-height: 1.4em;
  text-align: left;
}

.training-termin-hinweis a {
  text-decoration: underline;
  color: #0077cc;
}

.training-termin-hinweis a:hover {
  color: #005fa3;
}

/* === Tooltip === */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-text::after {
  content: attr(data-tooltip);
  white-space: pre-line;
  position: absolute;
  left: 0;
  top: 120%;
  background-color: #333;
  color: #fff;
  padding: 0.7em 1em;
  font-size: 0.9em;
  border-radius: 6px;
  z-index: 10;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 250px;
  pointer-events: none;
}
.dropdown-weitere-kurse-wrapper {
display: none;
}
.tooltip-wrapper:hover .tooltip-text::after {
  opacity: 1;
  transform: translateY(0);
}

/* === Teilnahmeoptionen === */
.teilnahmeform-auswahl {
  display: flex;
  gap: 10px;
  margin: 0em 0em 1em;
  justify-content: space-between;
}

.teilnahme-option {
  flex: 1;
text-align: center;
padding: 1em;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
transition: all 0.2s ease-in-out;
background: #f9f9f9;
max-width: 180px;
  font-size: 0.85em;
}

.teilnahme-option .icon img {
  width: 56px;
  height: 56px;
  margin-bottom: 0.5em;
}

.teilnahme-option:hover {
  background-color: #f0f0f0;
}

.teilnahme-option.selected {
  border-color: #f99b1d;
  background-color: #fff0e0;

}

/* === Preis alt durchgestrichen === */
.preis-alt {
  position: relative;
  display: inline-block;
  color: red;
  font-size: 0.6em;
  font-weight: 500;
  margin-bottom: 0.7em;
}

.preis-alt::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: red;
  transform: rotate(-10deg);
  transform-origin: center;
}

/* === Sidebar === */
.buchung-sidebar-box {
  font-family: inherit;
  font-size: 1em;
  line-height: 1.5;
  padding: 1.5em;
  background: #f7fbff;
  border: 1px solid #d9e4ec;
  border-radius: 10px;
  color: #333;
  margin: 0 0 1.5em;
}

.buchung-sidebar-header {
  text-align: right;
  margin-bottom: 1em;
}

.buchung-sidebar-header .aendern-link {
  font-size: 0.9em;
  color: #c00;
  text-decoration: underline;
  cursor: pointer;
}

.buchung-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 1em 0em 1em;
  border-top: 1px solid #ccc;
}

.buchung-sidebar-list li {
  margin-bottom: 1em;
  margin-top: 1em;
}

.buchung-sidebar-list li:nth-child(5)::before,
.buchung-sidebar-list li:nth-child(6)::after {
  content: '';
  display: block;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}

.buchung-sidebar-list strong {
  display: block;
  margin-bottom: 0.2em;
  font-weight: 600;
}

.rabatt-hinweis {
  color: red;
  font-size: 0.85em;
}

.buchung-sidebar-footer {
  text-align: right;

}

.buchung-sidebar-footer p {
  margin: 0.3em 0;
  font-weight: 500;
}
.kursbeschreibung-block h2 {
  
  padding-bottom: 30px;
}
.teilnahme-option.inaktiv {
  background-color: #eee !important;
  opacity: 0.6;
  filter: grayscale(80%);
}

.teilnahme-option.inaktiv:hover {
  background-color: #eee !important;
  box-shadow: none !important;
  cursor: default;
}
.buildingsmart-badgebox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
}

.kursbeschreibung-block ol ul {
margin: 0 0 2em 3em;
}
.kursbeschreibung-block p {
margin-bottom: 5px;
}
.kursbeschreibung-block hr {
margin-bottom: 2em;
margin-top: 2em;
}

/* === Responsive === */
@media (max-width: 600px) {
  .teilnahmeform-auswahl {
    flex-direction: column;
    align-items: center;
  }

  .teilnahme-option {
    max-width: 100%;
  }

  .button-cta-small {
    display: none !important;
  }

  .slide.white .slide-inner .button-cta {
    margin: 0 !important;
  }

  .slide#slide-5 .button-cta {
    display: block;
    margin: 0 auto !important;
    text-align: center;
  }
}
