/*
Theme Name: Theme
Author: DBDB
Author URI: https://dbdb.de/
Description: Wordpress Theme by DBDB
Version: 0.1
*/

/* 
Root Variables 
*/
:root {
  --full: none;
  --wide: 1560px;
  --h-gutter: 1.5rem;
  --v-gutter: 5vh;
  --text-xs: clamp(0.75rem, 0.6967rem + 0.1333vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8217rem + 0.1333vw, 1rem);
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --blue-050: #f1f8fe;
  --blue-100: #e2f1fc;
  --blue-200: #bee2f9;
  --blue-300: #84ccf5;
  --blue-400: #42b2ee;
  --blue-500: #1a98dd;
  --blue-600: #0d7cc1;
  --blue-700: #0c6198;
  --blue-800: #0e527e;
  --blue-900: #114569;
  --blue-950: #0c2c45;
  --red: #e1705d;
  --yellow: #ffcf39;
  --green: #6ec976;
  --shadow-color: 208deg 24% 78%;
  --shadow-elevation-low: 0px 0.2px 0.3px hsl(var(--shadow-color) / 0.15),
    0px 0.5px 0.6px -1.5px hsl(var(--shadow-color) / 0.25);
  --shadow-elevation-medium: 0px 0.2px 0.3px hsl(var(--shadow-color) / 0.14),
    0px 0.8px 1px -0.7px hsl(var(--shadow-color) / 0.2),
    0px 2.6px 3.3px -1.5px hsl(var(--shadow-color) / 0.26);
  --shadow-elevation-high: 0px 0.2px 0.3px hsl(var(--shadow-color) / 0.13),
    0px 0.9px 1.1px -0.3px hsl(var(--shadow-color) / 0.16),
    0px 1.8px 2.3px -0.6px hsl(var(--shadow-color) / 0.19),
    0px 3px 3.8px -0.9px hsl(var(--shadow-color) / 0.22),
    -0.1px 5.2px 6.6px -1.2px hsl(var(--shadow-color) / 0.25),
    -0.1px 8.5px 10.8px -1.5px hsl(var(--shadow-color) / 0.27);
  --blue-filter: brightness(0) saturate(100%) invert(35%) sepia(96%)
    saturate(859%) hue-rotate(173deg) brightness(90%) contrast(95%);
  --white-filter: invert(90%) sepia(81%) saturate(2%) hue-rotate(359deg)
    brightness(109%) contrast(101%);
}
@media (min-width: 2160px) {
  :root {
    --wide: 1440px;
  }
}

/*
Fonts
*/
@font-face {
  font-family: "DM Sans";
  src: url("/wp-content/themes/theme/assets/fonts/dm-sans/DMSans-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "DM Sans";
  src: url("/wp-content/themes/theme/assets/fonts/dm-sans/DMSans-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
}

/* 
Base
*/
*:focus {
  outline: none;
}
html,
body {
  touch-action: manipulation; /* Prevents long-press menu */
}
body {
  margin: 0 auto;
  width: 100%;
  font-family: "DM Sans";
  font-size: 0.875rem;
  background-color: var(--blue-050);
  color: var(--blue-600);
  overflow: hidden;
}
main {
  min-height: 100vh;
}
/* h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
  margin-top: 1.5rem;
} */
p + p {
  margin-top: 0.5rem;
}

/* 
Content Sizes
*/
.full {
  max-width: var(--full);
  margin: 0 auto;
}
.wide {
  max-width: var(--wide);
  margin: 0 auto;
}
.gutter {
  padding: 0 var(--h-gutter);
}
.content {
  padding: 2.5rem;
}
.page-template-page-team .content {
  height: calc(100vh - 5rem);
}
/* .content > * {
  max-width: var(--wide);
  margin: 0 auto;
}
.content > *:not(.full) {
  padding-left: var(--h-gutter);
  padding-right: var(--h-gutter);
}
@media (max-width: 480px) {
  .content {
    padding-top: 10vh;
  }
} */
hr.divider {
  border-color: var(--blue-100);
}

/*
Section
*/
.section {
  padding-top: var(--v-gutter);
  padding-bottom: var(--v-gutter);
}

.home .content {
  background-color: var(--blue-600);
  color: var(--blue-050);
  padding: 0;
}
.home-hero {
  height: 100vh;
  overflow: hidden;
}
.home-hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  height: 100%;
}
.home-hero__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4rem;
}
.home-hero__time {
  margin-bottom: 2rem;
  border: 1px solid var(--blue-050);
  padding: 0.25rem 0.75rem;
  display: flex;
  width: fit-content;
  border-radius: 1.5rem;
  font-size: 0.625rem;
  font-weight: 700;
}
.home-hero__time div + div {
  margin-left: 0.5rem;
}
.home-hero__titel {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 16ch;
}
.home-hero__text {
  font-size: 2rem;
  margin-top: 2rem;
  max-width: 32ch;
}
.home-hero__animation {
  position: relative;
  height: 100%;
}
.home-hero__animation svg {
  width: 100%;
  padding: 2rem 0;
  transform: scale(1.5);
}
/*
Header
*/
.header {
  width: 100%;
  position: fixed;
  bottom: 1rem;
  left: 0;
  z-index: 10;
}
.header__wrapper {
  width: max-content;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 0.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elevation-medium);
}
.header__logo {
  width: 5rem;
  z-index: 1;
  transition: all 300ms ease;
}
.nav__list {
  display: flex;
  /* gap: 0.5rem; */
}
.nav__list li + li {
  margin-left: 0.5rem;
}
.nav__list li {
  font-size: 0.75rem;
  background-color: var(--blue-100);
  color: var(--blue-600);
  border-radius: 1rem;
}
.nav__list li.current {
  opacity: 1;
  background-color: var(--blue-600);
  color: white;
}
.nav__list li a {
  padding: 0.75rem;
  display: block;
}
.header__button-open svg {
  width: 1.5rem;
  aspect-ratio: 1 / 1;
  fill: black;
  stroke: black;
  stroke-width: 1.5;
}
.header__button-close svg {
  width: 1.5rem;
  aspect-ratio: 1 / 1;
  fill: black;
  stroke: black;
  stroke-width: 1.5;
}
.header__button {
  display: none;
  z-index: 1;
}

/*
Page Hero
*/
.hero__page {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1rem; */
  text-align: center;
}
.hero__page * + * {
  margin-top: 1rem;
}
.hero__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  background-color: var(--blue-600);
  color: white;
  width: max-content;
  padding: 0.25rem 0.625rem;
  border-radius: 1rem;
}
.hero__headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
}
.hero__subheadline {
  max-width: 48ch;
}

/*
Grid & Cards
*/
.card-grid {
  padding-top: var(--v-gutter);
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
}
.card {
  background-color: white;
  color: var(--blue-600);
  border-radius: 1rem;
  font-size: 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  /* gap: 1rem; */
  text-align: center;
  box-shadow: var(--shadow-elevation-medium);
  font-weight: 700;
}
.card > * + * {
  margin-top: 1rem;
}
.card--img {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
}
.card--img img {
  width: 4rem;
  height: 4rem;
  max-width: unset;
  margin: 0 auto;
}
.card--blue {
  background-color: var(--blue-600);
  color: white;
}
.card--white .card--img img {
  filter: var(--blue-filter);
}

/*
Post
*/
.container {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  font-size: 0.675rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* gap: 4rem; */
  height: calc(100vh - 5rem);
  box-shadow: var(--shadow-elevation-medium);
}
.container > * + * {
  margin-left: 4rem;
}
.leistung__left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.leistung__content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.leistung__content .text {
  margin-top: 1rem;
  column-count: 2;
  column-gap: 2rem;
}
.leistung-icon,
.indikation-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 2rem;
}
.leistung-icon img,
.indikation-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--blue-filter);
}
.leistung__left h1,
.indikation h1 {
  font-size: 2rem;
  font-weight: 700;
}
.leistung__left h2 {
  font-size: 1.25rem;
}

.eyebrow-container {
  margin-bottom: 1rem;
}
.eyebrow {
  font-size: 0.625rem;
  color: white;
  width: max-content;
  padding: 0.25rem 0.625rem;
  border-radius: 1rem;
}
.eyebrow + .eyebrow {
  margin-left: 0.5rem;
}
.text a {
  pointer-events: none;
  font-weight: 700;
}
.text li + li,
.text p + ul {
  margin-top: 0.5rem;
}
.text ul,
.modal ul {
  list-style: disc;
}
.text li,
.modal li {
  margin-left: 0.75rem;
  padding-left: 0;
}
.text li::marker,
.modal li::marker {
  color: var(--blue-200);
}
.leistung-more {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  align-self: flex-end;
  width: 100%;
  margin-top: 2rem;
}
.leistung-more a {
  background-color: var(--blue-050);
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  line-height: 1;
}
.leistung-more--prev,
.leistung-more--next {
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
}
.leistung-more--prev svg,
.leistung-more--next svg {
  width: 0.625rem;
  transform: translateY(-0.1rem);
}
.leistung-more--prev svg {
  margin-right: 0.5rem;
}
.leistung-more--next svg {
  margin-left: 0.5rem;
}
/*
Behandlungen
*/
.leistung__right {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-self: end;
  align-items: stretch;
}
.leistung__right > * + * {
  margin-top: 1rem;
}
.leistung__img {
  overflow: hidden;
  border-radius: 1rem;
  height: 100%;
  width: 100%;
  display: flex;
  background-size: cover;
  background-position: center;
}
.behandlungen {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
}
.behandlungen > * + * {
  margin-top: 0.5rem;
}
.behandlungen-header {
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-weight: 700;
}
.behandlung-link {
  background-color: var(--blue-050);
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.behandlung-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
}
.behandlung-link svg {
  width: 0.625rem;
}
.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  display: none;
}

.modal p + ul,
.modal p + ol {
  margin-top: 0.5rem;
}
.modal li + li {
  margin-top: 0.375rem;
}
.modal.modal-open {
  display: block;
}
.modal .modal-close {
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
}
.modal .modal-close svg {
  width: 0.625rem;
  margin-right: 0.5rem;
  padding-bottom: 0.1rem;
}

.modal__wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #11446985;
}
.modal__content {
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem;
  width: max-content;
  height: max-content;
  max-width: 40vw;
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}
.modal__content > * + * {
  margin-top: 1rem;
}
.modal__content a {
  pointer-events: none;
}
.modal__content h2 {
  font-weight: 700;
  font-size: 1rem;
}

/*
Indikation
*/
.container.indikation {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}
.indikation__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.indikation h2 {
  font-size: 0.875rem;
  font-weight: 700;
  padding-bottom: 0.25rem;
}
.indikation__sections {
  margin-top: 7.125rem;
}
.indikation__sections ul {
  list-style: disc;
}
.indikation__sections li {
  margin-left: 0.75rem;
  padding-left: 0;
}
.indikation__sections li::marker {
  color: var(--blue-200);
}
.indikation__sections p + ul {
  margin-top: 0.5rem;
}
.indikation__sections li + li {
  margin-top: 0.25rem;
}
.indikation__sections section + section {
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--blue-100);
}
.indikation__more {
  margin-top: 6.75rem;
}
.indikation .behandlungen {
  height: auto;
}
.indikation__more .note {
  font-size: 0.5rem;
  margin-top: 1rem;
  padding: 0 0.75rem;
}
.container .divider {
  margin: 2rem 0;
}

/*
Konzept
*/
.red-gradient {
  background: linear-gradient(-230deg, #e1705d 20%, #ffcf39 120%);
}
.yellow-gradient {
  background: linear-gradient(-230deg, #e1705d -20%, #ffcf39 50%, #6ec976 120%);
}
.green-gradient {
  background: linear-gradient(260deg, #6ec976 50%, #ffcf39 110%);
}
.page-template-page-konzept .content {
  padding: 0;
}
.swiper {
  height: 100vh !important;
  padding: 2.5rem !important;
}
.swiper-wrapper {
  height: 100% !important;
}
.swiper-slide {
  height: auto !important;
}
.swiper-slide.konzept-card {
  height: 100% !important;
}
.konzept-intro {
  background-color: var(--blue-600);
  color: white;
  width: 100%;
  height: calc(100vh - 5rem) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 1rem; */
  text-align: center;
  border-radius: 1.5rem;
  overflow: hidden;
}
.konzept-intro * + * {
  margin-top: 1rem;
}
.konzept-intro .hero__eyebrow {
  background-color: white;
  color: var(--blue-600);
}
.konzept-card {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-medium);
}
.konzept-card > div {
  height: 100%;
}
.konzept-card__header {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: white;
  font-weight: 700;
}
.konzept-card__badge {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 1;
  display: grid;
  place-content: center;
  border-radius: 4rem;
  mix-blend-mode: screen;
  font-size: 1.25rem;
  color: black;
  background-color: white;
}
.konzept-card__headline {
  margin-top: 1rem;
  font-size: 2rem;
  line-height: 1;
}
.konzept-card__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: 100%;
}
.konzept-card__content figure {
  height: 100%;
  overflow: hidden;
}
.konzept-card__content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.konzept-card__text {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.konzept-card__subheadline {
  font-size: 1.5rem;
  font-weight: 700;
}
.swiper-pagination-bullet {
  width: 100% !important;
  height: 100% !important;
  background-color: white !important;
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem !important;
  font-size: 0.625rem;
  opacity: 1 !important;
  box-shadow: var(--shadow-elevation-medium);
  border: 1px solid var(--blue-050);
}
.swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical > .swiper-pagination-bullets {
  top: unset !important;
  bottom: 5rem;
  left: 50% !important;
  right: unset !important;
  display: flex;
  /* gap: 1rem; */
  transform: translateX(-50%) !important;
}
.swiper-pagination-vertical span + span {
  margin-left: 1rem !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--blue-600) !important;
  color: white !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active:nth-child(2) {
  background-color: var(--red) !important;
  color: white !important;
  border: 1px solid var(--red);
}
.swiper-pagination-bullet-active:nth-child(3) {
  background-color: var(--yellow) !important;
  color: white !important;
  border: 1px solid var(--yellow);
}
.swiper-pagination-bullet-active:nth-child(4) {
  background-color: var(--green) !important;
  color: white !important;
  border: 1px solid var(--green);
}
.autoplay-progress {
  position: absolute;
  right: 5rem;
  bottom: 5rem;
  z-index: 10;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: difference;
}
.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 8px;
  stroke: white;
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.container.raeume {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  padding-bottom: 4rem;
}
.raeume-images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.raeume-images figure {
  position: absolute;
  top: 0;
  left: 0;
}
.raeume-filter {
  width: 100%;
  display: flex;
  /* gap: 0.5rem; */
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 75%;
  margin: 0 auto;
}
.raeume-filter > * + * {
  margin-left: 0.5rem;
}
.raeume-filter__button {
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  background-color: var(--blue-050);
  color: var(--blue-600);
  font-size: 0.5rem;
  box-shadow: var(--shadow-elevation-medium);
  margin-top: 0.5rem;
}
.raeume-filter__button.active {
  background-color: var(--blue-600);
  color: white;
}
.kursplan {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.kursplan img {
  height: 100%;
  width: auto;
  margin: 0 auto;
}
.hidden {
  display: none;
}
.team__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  height: 100%;
  padding-top: var(--v-gutter);
  overflow: hidden;
}
.team__intro {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.team-grid__container {
  overflow: scroll;
  position: relative;
  height: 68vh;
}
.team-grid__container::-webkit-scrollbar {
  display: none;
}
.card-grid.team-grid {
  grid-template-columns: repeat(10, 1fr);
  padding: 0;
  padding-bottom: 1rem;
}
.team-grid .card {
  padding: 1rem 0.75rem;
  font-size: 0.5rem;
  /* aspect-ratio: 3.5 / 4; */
  gap: 0.5rem;
  padding-bottom: 0.75rem;
}
.team-grid .card--img {
  all: unset;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20rem;
}
.team-grid .card--img img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  filter: unset;
}
.team-grid .card--name {
  min-height: 1.5rem;
  display: flex;
  align-items: center;
}
.team-filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.team-filter__button {
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  background-color: white;
  color: var(--blue-600);
  font-size: 0.625rem;
  box-shadow: var(--shadow-elevation-medium);
}
.team-filter__button.active {
  background-color: var(--blue-600);
  color: white;
}
.team-modal .modal__content {
  width: 36rem;
}
.team-modal .modal__content-inner {
  text-align: center;
}
.team-modal .modal__content-inner div {
  margin-top: 1rem;
}
.team-modal__img {
  height: 20rem;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 2rem;
}
.team-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

#screensaver-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  visibility: hidden;
  z-index: 100;
}

/* Disable zooming */
@viewport {
  zoom: 1;
  min-zoom: 1;
  max-zoom: 1;
}

/* Alternative syntax for older browsers */
@-ms-viewport {
  width: device-width;
  zoom: 1;
  min-zoom: 1;
  max-zoom: 1;
}

html {
  touch-action: manipulation; /* Prevent double tap zoom in some mobile browsers */
}
