.rf-main {
  background: #ecf4ed;
}

.rf-page .global-contact-band {
  display: none;
}

.rf-hero .container,
.rf-block .container,
.rf-booking-tool .container {
  width: min(1120px, calc(100% - 44px));
}

.rf-hero {
  padding-top: 52px;
  padding-bottom: 36px;
}

.rf-hero h1 {
  color: #16211b;
  font-size: clamp(1.65rem, 3.9vw, 2.55rem);
}

.rf-line {
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  margin-top: 16px;
  background: #2ba43e;
}

.rf-hero p {
  margin-top: 18px;
  color: #1d2c22;
  font-size: clamp(0.95rem, 1.06vw, 1.08rem);
  font-weight: 600;
}

.rf-block {
  padding-top: 14px;
  padding-bottom: 18px;
}

.rf-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}

.rf-copy h2 {
  color: #16211b;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.rf-copy p {
  margin-top: 14px;
  color: #1d2c22;
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  line-height: 1.62;
  font-weight: 500;
}

.rf-bullets {
  margin: 14px 0 0;
  color: #1d2c22;
  padding-left: 30px;
}

.rf-bullets li {
  font-size: clamp(0.95rem, 0.96vw, 1.05rem);
  line-height: 1.62;
  font-weight: 500;
}

.rf-bullets li + li {
  margin-top: 12px;
}

.rf-image {
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #bdd8c1;
  box-shadow: 0 14px 26px rgba(12, 18, 31, 0.08);
}

.rf-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.rf-engagement .rf-copy {
  border: 1px solid #99c79f;
  border-radius: 28px;
  background: #9fd6a3;
  padding: clamp(16px, 2.4vw, 28px);
}

.rf-highlight {
  margin-top: 18px;
}

.rf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border-radius: 999px;
  background: #2ba43e;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.9rem;
  padding: 12px 20px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.rf-cta:hover,
.rf-cta:focus-visible {
  background: #218333;
  transform: translateY(-1px);
}

.rf-booking-tool {
  background: #d3eacb;
}

.rf-booking-tool h2 {
  margin: 0;
  color: #16211b;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

.rf-booking-tool .fslp-booking-direct .fahrstunden-card {
  background: #9fd6a3;
  color: #143420;
}

.rf-booking-tool .fslp-booking-direct .fahrstunden-card h3,
.rf-booking-tool .fslp-booking-direct .fahrstunden-card strong,
.rf-booking-tool .fslp-booking-direct .fahrstunden-card .muted {
  color: #143420;
}

.rf-booking-tool .fslp-booking-direct .fahrstunden-card p {
  color: #1c4028;
}

.rf-booking-tool .fslp-booking-direct .cta {
  background: #2ba43e;
}

.rf-booking-tool .fslp-booking-direct .cta:hover:not(:disabled) {
  background: #218333;
}

.rf-booking-tool .fslp-booking-direct .form-panel .card {
  background: #b9ddb7;
}

.rf-booking-tool .fslp-booking-direct .course-summary {
  background: rgba(255, 255, 255, 0.36);
  color: #173524;
}

.rf-booking-tool .fslp-booking-direct label {
  color: #173524;
}

.rf-booking-tool .fslp-booking-direct input,
.rf-booking-tool .fslp-booking-direct select,
.rf-booking-tool .fslp-booking-direct textarea {
  border-color: #76aa7d;
  background: #ecf8ea;
  color: #193626;
}

.rf-booking-tool .fslp-booking-direct .checkbox span,
.rf-booking-tool .fslp-booking-direct #feedback {
  color: #173524;
}

@media (min-width: 980px) {
  .rf-hero .container,
  .rf-block .container,
  .rf-booking-tool .container {
    width: min(1140px, calc(100% - 120px));
  }

  .rf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .rf-grid-reverse .rf-image {
    order: 1;
  }

  .rf-grid-reverse .rf-copy {
    order: 2;
  }

  .rf-image img {
    aspect-ratio: auto;
    min-height: 420px;
    max-height: 520px;
  }
}
