/*
    General
*/

.element-spacer {
  padding-top: var(--em4);
  padding-bottom: var(--em4);
}

.brand-logo {
  width: 16rem;
}

@media screen and (max-width: 1000px) {
  .brand-logo {
    width: 14rem;
  }
  .element-spacer {
    padding-top: var(--em3);
    padding-bottom: var(--em3);
  }
}

@media screen and (max-width: 480px) {
  .brand-logo {
    width: 12rem;
  }
  .element-spacer {
    padding-top: var(--em2);
    padding-bottom: var(--em2);
  }
}

/*
    Header
*/

header {
    background-color: var(--color-header-bg);
}
/*
    Button
*/

a.button {
  display: inline-block;
  color: inherit;
  border: 1px solid var(--color-text);
  padding-top: var(--rem-2);
  padding-bottom: var(--rem-2);
  padding-left: var(--rem0);
  padding-right: var(--rem0);
  text-decoration: none;
  background: transparent;
  border-radius: 3px;
}

a.button:hover {
  background-color: var(--color-text);
  color: var(--color-background);
  transition: background-color 0.3s;
}

a.button--light {
  background-color: transparent;
  color: var(--color-background);
  border: 1px solid var(--color-background);

}

a.button--light:hover {
  background-color: var(--color-background);
  color: var(--color-text);
}

a.button--arrow {
  background-image: url('/resources/img/ui/arrow-right-dark.svg');
  background-position: right 0.9rem center;
  padding-right: var(--rem5);
  background-size: var(--rem-1);
  background-repeat: no-repeat;
}

a.button--arrow:focus,
a.button--arrow:hover {
  background-image: url('/resources/img/ui/arrow-right.svg');
}

.show-more {
  background: 0 0;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.18);
  display: block;
  margin: 2em auto 2rem;
  padding: 1em;
  color: inherit;
  font-family: inherit;
}

.show-more:focus, .show-more:hover {
  background-color: rgba(0,0,0,.04);
}

/*
    Offers section on accessibility page
*/

.accessibility-services__img {
  height: 5rem;
  /* width: 5rem; */
  mix-blend-mode: darken;
  opacity: .7;
}

/*
    Accessibility contacts
*/

.vcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--rem-1);
  padding-bottom: var(--rem-1);
  padding-left: var(--rem1);
  padding-right: var(--rem1);
}

.vcard__name {
  font-weight: bold;
  font-size: var(--rem1);
}

.vcard__title {
  text-align: center;
}

.vcard__tel {
  margin-top: var(--rem-5);
  text-decoration: none;
}

.vcard__tel:hover {
  text-decoration: underline;
}

.fancylink {
  text-decoration: none !important;
  background-image: linear-gradient(#50c3dc, #50c3dc);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s;
}

.fancylink:hover,
.fancylink:focus {
  background-size: 100% 2px;
}

@media (max-width: 1000px) {
  .fancylink\@1000{
    text-decoration: none !important;
    background-image: linear-gradient(#50c3dc, #50c3dc);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
  }

  .fancylink\@1000:hover,
  .fancylink\@1000:focus {
    background-size: 100% 2px;
  }
}

.fancylinklist a {
  text-decoration: none !important;
  background-image: linear-gradient(#50c3dc, #50c3dc);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size .3s;
}

.fancylinklist a:hover,
.fancylinklist a:focus {
  background-size: 100% 2px;
}


/*
    Card elements on home page
*/

.card_wrapper {
  margin-top: var(--rem2);
  margin-bottom: var(--rem2);
}

.card {
  padding-top: var(--rem2);
  padding-bottom: var(--rem2);
  border-radius: var(--rem0);
  color: var(--color-text);
  background-color: var(--color-definition-beige-medium);
}

.card--dark {
  color: var(--color-definition-beige-light);
  background-color: var(--color-definition-brown-medium);
}

.card_headline {
  margin-top: var(--rem0);
}

@media screen and (max-width: 1000px) {
  .card {
    border-radius: 0;
  }
}

.tile.tile {
  --gap: var(--rem2);
  background-color: var(--color-hard-light);
  border-radius: var(--rem-1);
  box-shadow: 0px 1px 3px 2px rgba(0,0,0,0.02);
  flex: 0 0 calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));
}

/*
    Lists
*/

.arrow_list {
  list-style: none;
  column-count: 2;
}

.arrow_list li {
  margin-bottom: var(--rem-3);
  padding-left: var(--rem1);
}

.star_list {
  list-style: none;
  font-size: var(--rem1);
  font-weight: bold;
  margin-bottom: var(--rem8);
  margin-top: var(--rem7);
}

.star_list li + li {
  margin-top: var(--rem-3);
}

@supports (mask-image: url("")) {
  .arrow_list li::before {
    content: "";
    width: var(--rem-2);
    height: var(--rem-2);
    display: block;
    position: absolute;
    transform: translate(-1.3rem, var(--rem-4));
    mask-size: 100%;
    mask-image: url("/resources/img/ui/arrow-right-dark.svg");
    background-color: currentColor;
  }
}
@supports not (mask-image: url("")) {
  .arrow_list li::before {
    content: "";
    width: var(--rem-2);
    height: var(--rem-2);
    display: block;
    position: absolute;
    transform: translate(-1.3rem, 0.28rem);
    background-size: 100%;
    background: url("/resources/img/ui/arrow-right-dark.svg") no-repeat;
  }
}

@media screen and (max-width: 900px) {
  .arrow_list {
    list-style: none;
    column-count: 1;
  }

  .slash_list.slash_list {
    display: block;
    font-size: var(--rem0);
  }

  .slash_list li {
    display: inline-block;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 2.5;
  }

  .star_list {
    margin-bottom: var(--rem0);
  }
}

.slash_list {
  list-style: none;
  font-size: var(--rem1);
  font-family: "Roboto Slab";
}

.slash_list li::after {
  line-height: 1;
}

.slash_list li::after {
  content: "//";
  font-size: var(--rem2);
  font-weight: 700;
  padding-left: var(--rem-1);
  color: var(--color-soft-shadow);
  line-height: 1;
  transform: translateY(2px);
  display: inline-block;
}

.slash_list li:last-child::after {
  content: ""
}



.logo_list {
  list-style: none;
}

.logo_list li {
  text-align: center;
  display: inline-flex;
  width: calc(25% - calc(0.75 * var(--rem-3)));
  background: #f9f9f5;
  border: 1px solid #efefeb;
  min-width: 175px;
}

.logo_list li a {
  cursor: pointer;
}

.logo_list li a,
.logo_list li span {
  border: 0.1em solid #d6d3d3;
  display: block;
  /* height: var(--em10); */
  line-height: var(--em10);
  margin: 0.3em;
  outline: 0;
  overflow: hidden;
  /* width: 15em; */
  width: 100%;
  margin: 0;
  border: 0;
  position: relative;
  padding-top: var(--rem0);
  padding-bottom: var(--rem0);
}

.logo_list li img {
  transition: filter 0.2s ease;
  /* filter: grayscale(100%); */
  mix-blend-mode: darken;
  opacity: 0.8;
  display: inline;
  vertical-align: middle;
  max-width: var(--em10)
}

.logo_list li a:hover img,
.logo_list li a:focus img,
.logo_list li a:active img {
  opacity: 1;
}

.logo_list li img.full-max-width {
  width: 100%;
  max-width: 95%;
}

.logo-advice {
  padding-top: var(--rem2);
  font-size: var(--rem-1);
}

@media screen and (min-width: 901px) {
  .u--hidden-gt900 {
    display: none !important;
  }
}

@media screen and (max-width: 900px) {
  .u--hidden-lt900 {
    display: none !important;
  }
}


.tech-stack {
  max-width: 800px;
}

.tech-stack img {
  max-height: 50px;
  filter: grayscale(100%);
  height: 100%;
}

/* .tech-stack li {
  width: calc(25% - var(--rem-1));
  background: var(--color-background);
  padding: 20px 5px;
  line-height: 1;
} */

/*
    Contact Section
*/

.contact {
  width: 8rem;
}

/*
    Hero Header
*/

.hero-header {
  background: url('/resources/img/pictures/header.webp');
  background-size: cover;
  background-repeat: no-repeat;
  height: 30rem;
  width: 100%;
}

.hero-header--a11y {
  background: url('/resources/img/pictures/header.webp');
}

@media (max-width: 1300px) {
  .hero-header--a11y {
    background-position: 65% 0%;
  }
}

.hero-header--dev {
  background: url('/resources/img/pictures/header-development.webp');
  /* filter: sepia(60%); */
  background-blend-mode: luminosity;
  background-color: var(--color-definition-beige);
}

@media (max-width: 1300px) {
  .hero-header--dev {
    background-position: 50% 0%;
  }
}

.hero-header--home {
  background: url('/resources/img/pictures/header-home.webp');
  background-size: cover;
  /*filter: sepia(30%);*/
  background-blend-mode: luminosity;
  background-color: var(--color-definition-beige-light);
}

@media (max-width: 1300px) {
  .hero-header--home {
    background-position: 50% 0%;
  }
}

.header-claim {
  background-color: rgb(88 75 63 / 82%);
  color: var(--color-text-light);
  font-weight: bold;
  /* position: absolute; */
  /* top: var(--rem10); */
  padding-top: var(--rem0);
  padding-bottom: var(--rem0);
  padding-left: var(--rem3);
  padding-right: var(--rem3);
  font-size: var(--rem7);
  font-family: var(--font-definition-heading);
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 0;
}

.header-claim--bottom {
  bottom: 4rem;
  top: auto;
  padding: 0.7rem 0.9rem 1.1rem;
}

@media (max-width: 900px) {
  .header-claim {
    font-size: var(--rem6);
    hyphens: none;
    padding-left: var(--rem2);
    padding-right: var(--rem2);
  }
}

@media (max-width: 480px) {
  .header-claim {
    font-size: var(--rem3);
    hyphens: none;
    padding-left: var(--rem1);
    padding-right: var(--rem1);
  }
}

.hero-header span {
  font-size: 0.7em;
  font-weight: normal;
  display: inline-block;
  margin-bottom: var(--rem0);
}


/*
  headlines for font testing
*/

/* .accessibility-content h2 {
  font-weight: bold;
  font-family: "Roboto Slab";
  font-size: var(--rem4);
} */

.contact {
  width: 8rem;
  font-size: var(--rem-2);
  flex-direction: column;
  display: flex;
}
