/*
 * Koch Footer Package v1.0.3
 * Scope: Footer skin only. Existing TYPO3 backend footer content stays editable.
 */

:root {
  --koch-footer-blue: #005987;
  --koch-footer-light-blue: #d9eef8;
  --koch-footer-white: #ffffff;
  --koch-footer-text-dark: #1f2a31;
  --koch-footer-container: 1710px;
}

.koch-footer-skin,
.koch-footer-skin * {
  box-sizing: border-box;
}

.koch-footer-skin {
  width: 100%;
  clear: both;
  background: var(--koch-footer-blue);
  color: var(--koch-footer-white);
  font-family: Arial, Helvetica, sans-serif;
  overflow: visible;
}

.koch-footer-skin a {
  color: inherit;
}

.koch-footer-main {
  position: relative;
  background: var(--koch-footer-blue);
  color: var(--koch-footer-white);
  padding: clamp(56px, 5vw, 86px) 0 clamp(54px, 4vw, 72px);
  min-height: 360px;
}

/* Bootstrap Package containers/frames inside the editable footer area */
.koch-footer-main > .container,
.koch-footer-main .footer-section-content > .container,
.koch-footer-main .footer-section-content .container,
.koch-footer-main .frame-container,
.koch-footer-main .container {
  max-width: var(--koch-footer-container);
}

.koch-footer-main .footer-section-content,
.koch-footer-main .footer-section-content-column,
.koch-footer-main .footer-section-content-column-left,
.koch-footer-main .footer-section-content-column-middle,
.koch-footer-main .footer-section-content-column-right,
.koch-footer-main .footer-section-content-column-end {
  background: transparent !important;
  color: var(--koch-footer-white);
}

.koch-footer-main .frame,
.koch-footer-main .frame-container,
.koch-footer-main .frame-inner,
.koch-footer-main .footer-section-content,
.koch-footer-main .footer-section-content-column {
  background: transparent !important;
}

.koch-footer-main h1,
.koch-footer-main h2,
.koch-footer-main h3,
.koch-footer-main h4,
.koch-footer-main h5,
.koch-footer-main h6,
.koch-footer-main p,
.koch-footer-main li,
.koch-footer-main address,
.koch-footer-main .bodytext {
  color: var(--koch-footer-white);
}

.koch-footer-main h1,
.koch-footer-main h2,
.koch-footer-main h3,
.koch-footer-main .h1,
.koch-footer-main .h2,
.koch-footer-main .h3 {
  font-size: clamp(25px, 1.55vw, 32px);
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 18px;
}

.koch-footer-main p,
.koch-footer-main address,
.koch-footer-main li,
.koch-footer-main .bodytext,
.koch-footer-main .textmedia-text {
  font-size: clamp(24px, 1.45vw, 31px);
  line-height: 1.45;
  font-weight: 400;
}

.koch-footer-main a {
  color: var(--koch-footer-white);
  text-decoration: none;
}

.koch-footer-main a:hover,
.koch-footer-main a:focus-visible {
  text-decoration: underline;
}

.koch-footer-main strong,
.koch-footer-main b {
  font-weight: 700;
}

.koch-footer-main img {
  max-width: 100%;
  height: auto;
}

.koch-footer-main .image img,
.koch-footer-main figure img {
  display: block;
}

/* Legal/menu and duplicated Bootstrap meta output should not appear in the blue editable area. */
.koch-footer-legal-source-hidden,
.koch-footer-meta-hidden,
.koch-footer-main .footer-section-meta,
.koch-footer-main .footer-metanavigation,
.koch-footer-main .footer-language,
.koch-footer-main .footer-copyright {
  display: none !important;
}

.koch-footer-bottom {
  background: var(--koch-footer-light-blue);
  min-height: 88px;
  color: var(--koch-footer-text-dark);
  display: flex;
  align-items: center;
}

.koch-footer-bottom-inner {
  width: min(100% - 48px, var(--koch-footer-container));
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 88px;
  padding-right: clamp(140px, 11vw, 260px);
}

.koch-footer-legal {
  display: flex;
  align-items: center;
  gap: .45em;
  margin: 0;
  color: var(--koch-footer-text-dark);
  font-size: clamp(18px, 1.05vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .025em;
  text-align: right;
  white-space: nowrap;
}

.koch-footer-legal a {
  color: var(--koch-footer-text-dark);
  text-decoration: none;
}

.koch-footer-legal a:hover,
.koch-footer-legal a:focus-visible {
  text-decoration: underline;
}

.koch-footer-social {
  position: absolute;
  left: max(24px, calc((100vw - var(--koch-footer-container)) / 2));
  bottom: -41px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 30px;
}

.koch-footer-social-link {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: var(--koch-footer-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .24);
  transition: transform .16s ease, box-shadow .16s ease;
}

.koch-footer-social-link:hover,
.koch-footer-social-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, .28);
}

.koch-footer-social-link img {
  width: 58px;
  height: 58px;
  display: block;
}

@media (max-width: 1199.98px) {
  .koch-footer-bottom-inner {
    justify-content: flex-start;
    padding-left: 230px;
    padding-right: 100px;
  }
}

@media (max-width: 991.98px) {
  .koch-footer-main {
    min-height: 0;
    padding: 50px 0 76px;
  }

  .koch-footer-main p,
  .koch-footer-main address,
  .koch-footer-main li,
  .koch-footer-main .bodytext,
  .koch-footer-main .textmedia-text {
    font-size: 22px;
  }

  .koch-footer-social {
    position: static;
    margin-top: 42px;
    padding-left: 24px;
  }

  .koch-footer-bottom-inner {
    justify-content: flex-start;
    min-height: 78px;
    padding: 18px 0;
  }

  .koch-footer-legal {
    flex-wrap: wrap;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .koch-footer-main h1,
  .koch-footer-main h2,
  .koch-footer-main h3,
  .koch-footer-main .h1,
  .koch-footer-main .h2,
  .koch-footer-main .h3 {
    font-size: 23px;
  }

  .koch-footer-main p,
  .koch-footer-main address,
  .koch-footer-main li,
  .koch-footer-main .bodytext,
  .koch-footer-main .textmedia-text {
    font-size: 20px;
    line-height: 1.42;
  }

  .koch-footer-legal {
    font-size: 16px;
  }

  .koch-footer-social {
    gap: 18px;
  }

  .koch-footer-social-link {
    width: 68px;
    height: 68px;
  }

  .koch-footer-social-link img {
    width: 48px;
    height: 48px;
  }
}
