/* Fee and legal-adjacent styles for public Einstieg pages. */

#gebuehren .einstieg-section__head {
  max-width: none;
}

.einstieg-fee-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.einstieg-fee-summary-row p {
  margin: 0;
}

.einstieg-fee-card__lines span {
  display: block;
}

.einstieg-fee-card__lines span + span {
  margin-top: 5px;
}

.einstieg-fee-card__lines strong,
.einstieg-fee-card__result strong {
  color: var(--einstieg-brand-strong);
  font-weight: 700;
}

.einstieg-fee-card__headline {
  display: inline;
  margin: 0;
  color: var(--einstieg-text);
  font-size: inherit;
  font-weight: 650;
  line-height: 1.25;
}

.einstieg-fee-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 42px;
}

.einstieg-fee-card__head h3 {
  flex: 1 1 auto;
}

.einstieg-fee-card__head--calculator {
  align-items: center;
}

.einstieg-fee-card__body {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-left: 28px;
}

.einstieg-fee-example-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.einstieg-fee-example-switch__button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 0 0 2px;
  color: var(--einstieg-text-soft);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.einstieg-fee-example-switch__button.is-active {
  color: var(--einstieg-brand-strong);
  border-bottom-color: rgba(var(--app-color-primary-rgb, 54, 89, 69), 0.42);
  background: transparent;
}

.einstieg-fee-input {
  display: grid;
  gap: 8px;
}

.einstieg-fee-input label {
  color: var(--einstieg-brand-strong);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.28;
}

.einstieg-fee-input__control {
  display: flex;
  align-items: center;
  width: min(100%, 170px);
  min-height: 42px;
  border: 1px solid rgba(var(--app-color-primary-rgb, 54, 89, 69), 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.einstieg-fee-input__control input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 7px 4px 7px 12px;
  border: 0;
  background: transparent;
  color: var(--einstieg-brand-strong);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
}

.einstieg-fee-input__control input:focus {
  outline: 0;
}

.einstieg-fee-input__control:focus-within {
  border-color: rgba(var(--app-color-primary-rgb, 54, 89, 69), 0.36);
  box-shadow:
    0 0 0 3px rgba(var(--app-color-primary-rgb, 54, 89, 69), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.einstieg-fee-input__control span {
  flex: 0 0 auto;
  padding-right: 10px;
  color: var(--einstieg-text-soft);
  font-weight: 700;
}

.einstieg-fee-card__result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.38;
}

.einstieg-fee-card__result span {
  color: var(--einstieg-text-soft);
}

.einstieg-fee-calculator__body {
  justify-items: start;
}

.einstieg-fee-card--calculator .einstieg-fee-card__result {
  justify-content: flex-start;
  min-height: 1.38em;
}

.einstieg-fee-card--calculator .einstieg-fee-card__result:empty::before {
  content: "\00a0";
}

.einstieg-fee-card--calculator .einstieg-fee-card__hint {
  margin: 0;
  text-align: left;
}

.einstieg-fee-card__hint {
  margin: -2px 0 0;
  color: var(--einstieg-text-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: var(--coach-rule-padding) 0 0;
  border: 0;
  border-top: 1px solid rgba(var(--app-color-primary-rgb, 54, 89, 69), 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card--example,
.einstieg-page--coaches #gebuehren .einstieg-fee-card--calculator {
  gap: 0;
  padding-right: 28px;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card__head h3 {
  flex: 0 1 auto;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-example-switch,
.einstieg-page--coaches #gebuehren .einstieg-fee-input {
  margin-left: auto;
  margin-right: auto;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-input {
  flex: 0 0 170px;
  width: 170px;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.einstieg-page--coaches .einstieg-fee-grid {
  grid-template-columns: minmax(250px, 0.96fr) minmax(280px, 1.04fr);
  margin-top: var(--coach-rule-gap);
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card--rate {
  grid-column: 1 / -1;
  grid-template-columns: minmax(120px, max-content) minmax(0, 1fr);
  align-items: start;
  gap: 10px 24px;
  min-height: 0;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card--rate .einstieg-fee-card__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
}

.einstieg-page--coaches #gebuehren .einstieg-fee-card--rate .einstieg-fee-card__lines span + span {
  margin-top: 0;
}
