/* quicksand-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* quicksand-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/quicksand-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html,
body {
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: Quicksand, sans-serif;
  background-color: #eceee1;
  color: #331010;
}

.page-header {
  margin: 20px auto 20px;
  padding: 20px 20px 20px 20px;
  position: relative;
  width: auto;
  max-width: 120rem;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background-image: url("/assets/svg/header.svg?v=2");
  background-repeat: no-repeat;
  background-position: 0 4px;
  background-size: 100% calc(100% - 8px);
  filter: drop-shadow(0px 4px 1px #853676);
  bottom: -10px;
  -webkit-mask-image: url("/assets/svg/header-gradient.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: url("/assets/svg/header-gradient.svg");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.page-header h1 {
  margin: auto;
  text-align: center;
}

.page-header address {
  text-align: center;
}

main {
}

section {
  max-width: 75rem;
  margin: auto;
}

section > header {
  margin: 0 auto 20px;
  padding: 50px 20px 10px 20px;
  position: relative;
  width: auto;
}

section > header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background-image: url("/assets/svg/subheader.svg");
  background-repeat: no-repeat;
  background-position: 0 -2px;
  background-origin: content-box;
  background-size: 100% 100%;
  filter: drop-shadow(0px 2px 1px #853676);
  bottom: -10px;
  -webkit-mask-image: url("/assets/svg/subheader-gradient.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: 0 2px;
  mask-image: url("/assets/svg/header-gradient.svg");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-position: 0 2px;
}

section > header :where(h2, h3) {
  text-align: center;
  margin: auto;
}

button[data-actor-number] {
  outline: none;
  border: none;
  background: none;
  white-space: nowrap;
  padding: .5rem 1rem;
  border-radius: 2rem;
  background-color: #daebd3;
  cursor: pointer;
  transition: .3s linear;
  transition-property: background-color;
  font-size: 1.8rem;
  -webkit-tap-highlight-color: transparent;
}

button[data-actor-number]:where(:hover, :focus, .active) {
  background-color: #c136a7;
  color: white;
}

:where(.berufserfahrung, .ausbildung, .expertise, .referenzen) {
  padding: 20px 20px 20px 20px;
}

:where(.berufserfahrung, .ausbildung, .expertise, .referenzen) .container {
  display: flex;
  gap: 1.8rem;
}

.referenzen .container {
  flex-direction: column;
}

.referenzen nav {
  flex-direction: row;
  justify-content: space-between;
}

:where(.berufserfahrung, .ausbildung, .expertise, .referenzen) nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slider {
  flex-basis: 100%;
}

.slider .stage {

}
.slider .actor {

}

.slider .actor > dl {
  margin-left: .5rem;
}

.slider .actor > :where(ul, ol) {
  margin-left: 1.5rem;
}

.slider .actor > :where(ul, ol, dl):first-child {
  margin-top: 0;
}

.slider .actor > :where(ul, ol, dl):last-child {
  margin-bottom: 0;
}

.slider .actor dt:not(:first-child) {
  margin-top: 1.4rem;
}

.slider .actor dd {
  margin-left: 1ch;
}

.slider .actor dd :where(ul, ol, dl) {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: .5ch;
}

.slider .actor dd :where(ul, ol) li {
  margin-left: 0;
  padding-left: 1ch;
}

.slider .actor dd :where(ul, ol) li::marker {
  content: '\25A0';
  color: #a4b89c;
  display: inline-block;
  line-height: 1;
}
.slider .actor dd :where(ul, ol) li :where(ul, ol) li::marker {
  content: '\25C6';
}

.slider .actor dt {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 600;
}

:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .stage {
  width: auto;
  overflow: hidden;
  position: relative;
  display: grid;
  background-color: #c136a7;
  border-radius: 2rem;
  padding: 0;
  box-shadow: inset 0 0 29px 25px #daebd3
}

:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor {
  grid-column: 1;
  grid-row: 1;
  background-color: #daebd3;
  border-radius: 2rem;
  padding: 0.5em;
  font-size: 2rem;
  display: inline-block;
  position: relative;
  width: 100%;
  clip-path: ellipse(0% 0%);
  will-change: clip-path, opacity, z-index;
  box-sizing: border-box;
}

:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor.initial {
  clip-path: polygon(50% 50%,50% 0%,50% 50%,100% 50%,50% 50%,50% 100%,50% 50%,0% 50%);
}

:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor.initial.in {
  animation-duration: 0s;
}
:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor.in {
  animation: actor-in .5s .01s both ease-in-out;
}

:where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor.out {
  animation: actor-out .5s both ease-in-out
}

@keyframes actor-in {
  0% {
    clip-path: polygon(50% 50%,50% 0%,50% 50%,100% 50%,50% 50%,50% 100%,50% 50%,0% 50%);
  }
  100% {
    clip-path: polygon(0% 0%,50% 0%,100% 0%,100% 50%,100% 100%,50% 100%,0% 100%,0% 50%);
  }
}

@keyframes actor-out {
  0% {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,50% 50%,50% 0%,50% 50%,100% 50%,50% 50%,50% 100%,50% 50%,0% 50%, 50% 50%);
  }
  100% {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%,0% 0%,50% 0%,100% 0%,100% 50%,100% 100%,50% 100%,0% 100%,0% 50%, 0% 0%);
  }
}

.page-footer {
  max-width: 75rem;
  margin: auto;
  padding: 2rem;
}

@media screen and (max-width: 630px) {
  .mh {
    display: none;
  }
    :where(.berufserfahrung, .ausbildung, .expertise, .referenzen) .container {
    flex-direction: column;
    gap: 1.8rem;
  }
  :where(.berufserfahrung, .ausbildung, .expertise, .referenzen) nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  button[data-actor-number] {
    font-size: 1.6rem;
    padding: 1.6rem;
    border-radius: 5rem/100%;
  }
  :where(.slider-berufserfahrung, .slider-ausbildung, .slider-expertise, .slider-referenzen) .actor {
    font-size: 1.8rem;
  }
}
