.solawi-landing {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1f2a22;
}

.site-flash {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 13px 40px;
  border-bottom: 1px solid transparent;
}

.site-flash i {
  font-size: 15px;
  flex: none;
}

.site-flash--notice {
  background: #eff5ef;
  color: #1f4d28;
  border-bottom-color: #cfe0d2;
}

.site-flash--notice i {
  color: #2f6b3a;
}

.site-flash--alert {
  background: #fdecea;
  color: #7a2a24;
  border-bottom-color: #f5c2c0;
}

.site-flash--alert i {
  color: #c0392b;
}

.site-flash--dense {
  padding: 10px 14px;
  border-radius: 8px;
  border-bottom-width: 1px;
  border: 1px solid;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.site-flash--dense.site-flash--notice {
  border-color: #cfe0d2;
}

.site-flash--dense.site-flash--alert {
  border-color: #f5c2c0;
}

.solawi-landing a {
  color: #2f6b3a;
}

.solawi-landing a:hover {
  color: #24522d;
}

/* Bootstrap's own .btn-primary defaults to blue; retarget the CSS custom properties it reads
   (rather than inventing a bespoke button class) so `btn btn-primary` renders in the app's
   green. The extra `.btn` in the selector is needed to out-specificity Bootstrap's own
   single-class rule, since vendor/bootstrap.min.css is re-included (via `stylesheet_link_tag
   :app`, which bundles every stylesheet in app/assets/stylesheets) after this file. */
.btn.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2f6b3a;
  --bs-btn-border-color: #2f6b3a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #24522d;
  --bs-btn-hover-border-color: #24522d;
  --bs-btn-focus-shadow-rgb: 47, 107, 58;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #24522d;
  --bs-btn-active-border-color: #24522d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #2f6b3a;
  --bs-btn-disabled-border-color: #2f6b3a;
}

.solawi-landing__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  background: #2f6b3a;
  flex-wrap: wrap;
}

.solawi-landing__logo {
  width: 230px;
  max-width: 60vw;
  height: auto;
  display: block;
}

.solawi-landing__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.solawi-landing__nav a {
  font-size: 13.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.solawi-landing__nav a:hover,
.solawi-landing__nav a:focus {
  color: #fff;
  text-decoration: underline;
}

.solawi-landing__hero {
  padding: 52px 40px 44px;
  background: #f6f9f6;
  border-bottom: 1px solid #e6e8e4;
}

.solawi-landing__hero-inner {
  max-width: 620px;
}

.solawi-landing__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #2f6b3a;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.solawi-landing__hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1f2a22;
  margin: 12px 0 14px;
  line-height: 1.25;
  text-wrap: pretty;
}

.solawi-landing__hero p {
  font-size: 15.5px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.solawi-landing__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.solawi-landing__cta-row .btn {
  font-size: 14.5px;
  padding: 10px 22px;
  font-weight: 600;
  text-decoration: none;
}

/* The "E-Mail erneut anfordern" form sits in the CTA row and behaves like the single button it
   replaced: address field and submit stay on one line, and wrap together on narrow screens. */
.solawi-landing__request-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.solawi-landing__request-form .form-control {
  width: 240px;
  max-width: 100%;
  font-size: 14.5px;
  padding: 10px 14px;
}

.solawi-landing__deadline {
  font-size: 13px;
  color: #6b7280;
}

.solawi-landing__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 32px 40px;
}

@media (max-width: 640px) {
  .solawi-landing__info {
    grid-template-columns: 1fr;
  }

  .solawi-landing__header,
  .solawi-landing__hero,
  .solawi-landing__info,
  .solawi-landing__footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.solawi-landing__info-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1f2a22;
  margin-bottom: 6px;
}

.solawi-landing__info-body {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
}

.solawi-landing__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 40px;
  border-top: 1px solid #eceee9;
  font-size: 12.5px;
  color: #9aa39c;
}

.solawi-landing__footer-links {
  display: flex;
  gap: 18px;
}

.solawi-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f9f6;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1f2a22;
  padding: 24px;
}

.solawi-auth__card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e6e8e4;
  border-radius: 12px;
  padding: 36px 32px;
}

.solawi-auth__logo {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.solawi-auth__card h1 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 24px;
}

.solawi-auth__card label {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.solawi-auth__card .form-control {
  margin-bottom: 16px;
}

.solawi-auth__card .form-check {
  margin-bottom: 20px;
}

.solawi-auth__card .btn-primary {
  width: 100%;
  border: none;
}

.solawi-auth__links {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
}

.solawi-auth__links a {
  color: #2f6b3a;
  text-decoration: none;
}

.solawi-auth__links a:hover {
  color: #24522d;
}

.solawi-auth__errors {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #7a2a24;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.solawi-auth__errors ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
