@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --afc-footer-red:#ef312a;
  --afc-footer-line:#ffffff1f;
}

/* Der Astra-Standardfooter wird durch den Austis-Footer ersetzt. */
footer#colophon,
.site-footer:not(.afc-global-footer) {
  display:none !important;
}

.afc-global-footer {
  position:relative;
  z-index:5;
  width:100%;
  overflow:hidden;
  color:#d9dcde;
  background:
    linear-gradient(90deg,transparent 0 49.8%,#ffffff0b 49.8% 50%,transparent 50%),
    radial-gradient(circle at 82% 20%,rgba(239,49,42,.17),transparent 30%),
    #0d0f11;
  border-top:4px solid var(--afc-footer-red);
  font-family:"Inter",Arial,sans-serif;
}

.afc-global-footer::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:
    linear-gradient(#fff 1px,transparent 1px),
    linear-gradient(90deg,#fff 1px,transparent 1px);
  background-size:55px 55px;
  mask-image:linear-gradient(to bottom,black,transparent 75%);
}

.afc-footer-inner,
.afc-footer-bottom {
  position:relative;
  width:calc(100% - 44px);
  max-width:1220px;
  margin:0 auto;
}

.afc-footer-inner {
  display:grid;
  grid-template-columns:1.4fr 1fr .8fr;
  gap:70px;
  padding:72px 0 60px;
}

.afc-footer-brand {
  display:flex;
  align-items:center;
  gap:17px;
  align-self:start;
}

.afc-footer-mark {
  display:grid;
  width:58px;
  height:58px;
  place-items:center;
  border:2px solid var(--afc-footer-red);
  color:#fff;
  background:#15181b;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:21px;
  font-weight:900;
  transform:rotate(-4deg);
  box-shadow:7px 7px 0 #050607;
}

.afc-footer-brand strong {
  display:block;
  color:#fff;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:32px;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1;
  text-transform:uppercase;
}

.afc-footer-brand small {
  display:block;
  margin-top:8px;
  color:#858b8f;
  font-size:11px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.afc-footer-label {
  margin:0 0 20px;
  padding-left:11px;
  border-left:3px solid var(--afc-footer-red);
  color:#fff;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:17px;
  font-weight:800;
  letter-spacing:.09em;
  line-height:1;
  text-transform:uppercase;
}

.afc-footer-contact address {
  margin:0 0 14px;
  color:#b8bdc0;
  font-style:normal;
  font-size:14px;
  line-height:1.75;
}

.afc-footer-contact a,
.afc-footer-nav a {
  color:#d8dbdd;
  text-decoration:none;
  transition:color .18s ease,transform .18s ease;
}

.afc-footer-contact a {
  display:inline-block;
  color:#ff625b;
  font-size:14px;
  font-weight:600;
}

.afc-footer-contact a:hover,
.afc-footer-nav a:hover {
  color:#fff;
}

.afc-footer-nav {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:11px;
}

.afc-footer-nav .afc-footer-label {
  margin-bottom:9px;
}

.afc-footer-nav a {
  position:relative;
  padding-left:16px;
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-size:16px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.afc-footer-nav a::before {
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:6px;
  height:6px;
  border:1px solid var(--afc-footer-red);
  transform:translateY(-50%) rotate(45deg);
}

.afc-footer-nav a:hover {
  transform:translateX(4px);
}

.afc-footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:20px 0 23px;
  border-top:1px solid var(--afc-footer-line);
  color:#757b7f;
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}

@media(max-width:800px) {
  .afc-footer-inner {
    grid-template-columns:1fr 1fr;
    gap:45px 30px;
    padding:55px 0 45px;
  }

  .afc-footer-brand {
    grid-column:1/-1;
  }
}

@media(max-width:520px) {
  .afc-footer-inner,
  .afc-footer-bottom {
    width:calc(100% - 32px);
  }

  .afc-footer-inner {
    grid-template-columns:1fr;
    gap:38px;
  }

  .afc-footer-brand {
    grid-column:auto;
  }

  .afc-footer-brand strong {
    font-size:27px;
  }

  .afc-footer-bottom {
    display:block;
    line-height:1.8;
  }

  .afc-footer-bottom span {
    display:block;
  }
}
