:root {
  --ba-red: #b30920;
  --ba-red-hover: #8f0719;
  --ba-accent: #e50000;
  --ba-ink: #020e25;
  --ba-body-bg: #f9fbfc;
  --ba-muted: #595959;
  --ba-border: #dee2e6;
  --ba-border-light: #e4e5e7;
  --ba-dark-btn: rgba(2, 14, 37, 0.72);
  --ba-dark-btn-hover: rgba(2, 14, 37, 0.88);
  --ba-alert-bg: rgba(217, 225, 237, 0.9);
  --ba-alert-border: #305c73;
  --ba-footer-bg: #e4e5e7;
  --ba-radius: 5px;
  --ba-container: 962px;
  --ba-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16), 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  --ba-font: Roboto, "Helvetica Neue", Arial, sans-serif;
  --ba-font-head: "Roboto Condensed", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--ba-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ba-ink);
  background: var(--ba-body-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.ba-container {
  width: min(var(--ba-container), 100% - 32px);
  margin-inline: auto;
}

.ba-jumpnav {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 8px 16px;
  z-index: 100;
}

.ba-jumpnav a {
  color: var(--ba-ink);
}

.ba-jumpnav:focus-within {
  top: 0;
}

/* Demo-Kennzeichnung. Bewusst nicht im BA-Design und sticky, damit sie nicht
   mit der Seite verwechselt werden kann. */
.demo-notice {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffd400;
  color: #111;
  border-bottom: 2px solid #111;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.demo-notice__inner {
  width: min(var(--ba-container), 100% - 32px);
  margin: 0 auto;
}

.ba-icon {
  width: 22px;
  height: 22px;
}

/* Header */
.ba-header {
  background: #fff;
}

.ba-header__bar {
  height: 5px;
  background: var(--ba-red);
}

.ba-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 53px;
}

.ba-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ba-ink);
}

.ba-brand__logo {
  display: block;
  height: 36px;
  width: auto;
}

.ba-brand__logo--footer {
  height: 40px;
}

.ba-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ba-action {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 16px;
  color: var(--ba-ink);
  text-decoration: none;
  cursor: pointer;
}

.ba-action:hover {
  text-decoration: underline;
}

/* Stage / hero */
.ba-stage {
  position: relative;
}

.ba-stage__media {
  position: absolute;
  inset: 0;
  background-color: #4a5a4a;
  background-image: url("https://picsum.photos/seed/familie/1920/700");
  background-size: cover;
  background-position: center;
}

.ba-stage__inner {
  position: relative;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
}

.ba-breadcrumb {
  align-self: flex-start;
  background: #fff;
  color: var(--ba-ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--ba-radius);
}

.ba-breadcrumb:hover {
  text-decoration: underline;
}

.ba-stage__card {
  background: rgba(255, 255, 255, 0.93);
  margin-top: 40px;
  padding: 16px 24px 20px;
  max-width: 866px;
}

.ba-stage__card h1 {
  margin: 0 0 8px;
  font-family: var(--ba-font-head);
  font-size: 37px;
  font-weight: 700;
  line-height: 1.2;
}

.ba-stage__card p {
  margin: 0;
  font-size: 16px;
  max-width: 60em;
}

/* Branding band */
.ba-branding {
  background: #fff;
  border-bottom: 1px solid var(--ba-border-light);
}

.ba-branding__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
}

.ba-branding__logo {
  display: block;
  height: 42px;
  width: auto;
}

.ba-branding__name {
  font-family: var(--ba-font-head);
  font-size: 40px;
  font-weight: 700;
}

/* Alert */
.ba-alert {
  position: relative;
  display: flex;
  gap: 12px;
  background: var(--ba-alert-bg);
  border: 1px solid var(--ba-alert-border);
  border-radius: var(--ba-radius);
  padding: 12px 24px 16px;
  margin-top: 36px;
}

.ba-alert__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ba-alert-border);
  color: #fff;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.ba-alert__title {
  margin: 0 0 8px;
  font-family: var(--ba-font-head);
  font-size: 20px;
  font-weight: 700;
}

.ba-alert__body p {
  margin: 0 0 8px;
}

.ba-alert__body ul {
  margin: 0;
  padding-left: 22px;
}

.ba-alert__body li {
  margin-bottom: 4px;
}

/* Sections */
.ba-section {
  padding: 48px 0 8px;
}

.ba-section--last {
  padding-bottom: 56px;
}

.ba-h2 {
  margin: 0 0 20px;
  font-family: var(--ba-font-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.ba-h2--center {
  text-align: center;
}

.ba-h3 {
  margin: 20px 0 8px;
  font-family: var(--ba-font-head);
  font-size: 20px;
  font-weight: 700;
}

.ba-text {
  margin: 0 0 12px;
  max-width: 66em;
}

.ba-text--muted {
  color: var(--ba-muted);
}

.ba-link {
  color: var(--ba-ink);
  text-decoration: underline;
}

.ba-link:hover {
  color: var(--ba-red);
}

/* Media */
.ba-media {
  margin-bottom: 4px;
}

.ba-media__img {
  height: 200px;
  border-radius: 2px;
  background-color: #d9e1ed;
  background-image: url("https://picsum.photos/seed/eservices/1400/400");
  background-size: cover;
  background-position: center;
}

/* Buttons */
.ba-btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 0;
}

.ba-btn {
  display: inline-block;
  font-family: var(--ba-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  padding: 6px 16px;
  border: 0;
  border-radius: var(--ba-radius);
  cursor: pointer;
}

.ba-btn--block {
  display: block;
  width: 100%;
}

.ba-btn--primary {
  background: var(--ba-red);
  color: #fff;
}

.ba-btn--primary:hover {
  background: var(--ba-red-hover);
}

.ba-btn--dark {
  background: var(--ba-dark-btn);
  color: #fff;
}

.ba-btn--dark:hover {
  background: var(--ba-dark-btn-hover);
}

.ba-btn:focus-visible,
.ba-action:focus-visible,
.ba-breadcrumb:focus-visible {
  outline: 2px solid var(--ba-ink);
  outline-offset: 2px;
}

/* Teasers */
.ba-teasers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ba-teaser {
  position: relative;
  background: #fff;
  border: 1px solid var(--ba-border-light);
  border-bottom: 3px solid var(--ba-border);
  border-radius: 2px;
  padding: 14px 20px 18px;
}

.ba-teaser__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ba-muted);
}

.ba-teaser__link {
  display: block;
  text-decoration: none;
  color: var(--ba-ink);
}

.ba-teaser__link h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  padding-right: 32px;
}

.ba-teaser__link p {
  margin: 0;
  font-size: 14px;
  color: var(--ba-muted);
}

.ba-teaser__link:hover h3 {
  text-decoration: underline;
  color: var(--ba-red);
}

.ba-teaser__link:hover {
  text-decoration: none;
}

.ba-teaser__arrow {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 18px;
  color: var(--ba-muted);
}

/* Form */
.ba-form {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 8px 0 0;
}

.ba-dropzone {
  border: 2px dashed var(--ba-border);
  border-radius: var(--ba-radius);
  background: #fff;
  padding: 24px;
  text-align: center;
}

.ba-dropzone.is-dragover {
  border-color: var(--ba-red);
  background: #fdf5f6;
}

.ba-dropzone__title {
  margin: 0 0 4px;
  font-weight: 500;
}

.ba-dropzone__hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ba-muted);
}

.ba-dropzone__file {
  margin: 12px 0 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  color: var(--ba-red);
}

.ba-files {
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  background: #fff;
  padding: 12px 16px;
}

.ba-files__head {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ba-ink);
}

.ba-files__head span {
  font-weight: 400;
  color: var(--ba-muted);
}

.ba-files__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ba-files__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--ba-border-light);
  font-size: 15px;
}

.ba-files__list li:first-child {
  border-top: 0;
}

.ba-files__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ba-files__size {
  flex: none;
  color: var(--ba-muted);
  font-size: 14px;
}

.ba-files__remove {
  flex: none;
  border: 0;
  background: none;
  padding: 0 4px;
  font-size: 20px;
  line-height: 1;
  color: var(--ba-muted);
  cursor: pointer;
  border-radius: var(--ba-radius);
}

.ba-files__remove:hover {
  color: var(--ba-red);
}

.ba-files__list--done li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: #1f8904;
  clip-path: polygon(14% 44%, 0 65%, 42% 100%, 100% 16%, 84% 3%, 40% 71%);
}

.ba-warning {
  margin: 0;
  padding: 12px 16px;
  background: #fff8e1;
  border: 1px solid #f0d98c;
  border-left: 4px solid #e0a800;
  border-radius: var(--ba-radius);
  font-size: 15px;
}

.ba-field {
  display: grid;
  gap: 4px;
}

.ba-field span {
  font-size: 16px;
  font-weight: 500;
}

.ba-field input {
  font: inherit;
  padding: 6px 12px;
  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);
  background: #fff;
}

.ba-field input:focus {
  outline: 2px solid var(--ba-ink);
  outline-offset: 1px;
}

.ba-error {
  margin: 0;
  color: #b30920;
  font-size: 15px;
  font-weight: 500;
}

.ba-form .ba-btn {
  justify-self: start;
}

.ba-confirm {
  max-width: 620px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--ba-border);
  border-top: 4px solid #1f8904;
  border-radius: var(--ba-radius);
  padding: 20px 24px 24px;
  box-shadow: var(--ba-shadow);
}

.ba-confirm:focus {
  outline: none;
}

.ba-confirm__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ba-confirm__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1f8904;
  color: #fff;
}

.ba-confirm__check svg {
  width: 22px;
  height: 22px;
}

.ba-confirm__head h3,
.ba-confirm__head h2 {
  margin: 2px 0 4px;
  font-family: var(--ba-font-head);
  font-size: 22px;
  font-weight: 700;
}

.ba-confirm__head p {
  margin: 0;
  font-size: 15px;
}

.ba-confirm__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--ba-border-light);
  border-bottom: 1px solid var(--ba-border-light);
}

.ba-confirm__meta--two {
  grid-template-columns: repeat(2, 1fr);
}

.ba-confirm__meta dt {
  font-size: 13px;
  color: var(--ba-muted);
  margin-bottom: 2px;
}

.ba-confirm__meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

.ba-confirm__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ba-muted);
}

/* Social */
.ba-social {
  padding: 48px 0 32px;
}

.ba-social__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.ba-social__list a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--ba-ink);
  text-decoration: none;
}

.ba-social__list svg {
  width: 26px;
  height: 26px;
}

.ba-social__list a:hover {
  color: var(--ba-red);
}

/* Footer */
.ba-footer {
  background: var(--ba-footer-bg);
  padding: 32px 0 24px;
}

.ba-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

.ba-footer__grid h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.ba-footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ba-footer__grid li {
  margin-bottom: 10px;
}

.ba-footer__grid a {
  color: var(--ba-ink);
  text-decoration: none;
}

.ba-footer__grid a:hover {
  text-decoration: underline;
}

.ba-footer__bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #c9cbce;
}

.ba-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 24px 0 0;
  padding: 0;
  font-size: 15px;
}

.ba-footer__legal a {
  color: var(--ba-ink);
  text-decoration: none;
}

.ba-footer__legal a:hover {
  text-decoration: underline;
}

.ba-footer__copy {
  color: var(--ba-muted);
}

@media (max-width: 768px) {
  .ba-header__inner {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
  }

  .ba-actions {
    gap: 16px;
  }

  .ba-action span {
    display: none;
  }

  .ba-stage__inner {
    min-height: 260px;
  }

  .ba-stage__card {
    padding: 16px;
  }

  .ba-stage__card h1 {
    font-size: 28px;
  }

  .ba-branding__name {
    font-size: 30px;
  }

  .ba-h2 {
    font-size: 26px;
  }

  .ba-teasers,
  .ba-footer__grid {
    grid-template-columns: 1fr;
  }
}
