@charset "UTF-8";

/*
Theme Name: ZahnStudioUlm
Author: AH-Effect
Author URI: https://www.a-h-effect.de
Description: Custom Theme
Requires at least: 6.1
Tested up to: 8.3
Requires PHP: 8.2
Version: 1.1
Text Domain: customtheme
*/


/* Basics START */
:root {
  /* --primary-color: #EA3DA8; */
  --primary-color: #c54498;
  --text-color: #000000;
  --highlight-color: #22D387;
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 200;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Thin.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 200;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-ExtraLight.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 300;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Light.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 400;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 500;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Medium.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 700;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-SemiBold.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 700;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Bold.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 800;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-ExtraBold.ttf) format("truetype");
}

@font-face {
  font-family: "AfacadFlux";
  font-weight: 900;
  font-style: normal;
  src: url(assets/webfonts/AfacadFlux-Black.ttf) format("truetype");
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-margin-top: 100px
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "AfacadFlux", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 29px;
  margin: 0; 
  padding: 0;
  color: var(--text-color);
  hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  -o-hyphens: auto;
  background-color: #e9e9e9;
}

.no-scroll {
  overflow: hidden;
  height: 100dvh;
}

b, strong {
  font-weight: 700;
}

input:focus,
:focus {
  outline: none !important;
}

.like-a,
.like-a:hover,
a:hover,
a {
  color: var(--primary-color);
  text-decoration: underline;
}
.like-a:hover,
a:hover {
  text-decoration: none; 
  transform: translateY(-3px);
  transition: transform 0.3s; 
}


.like-a {
  display: inline-block;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "AfacadFlux", sans-serif;
  font-weight: 700;
  hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  -o-hyphens: none;
}

h1 > code,
h1 {
  font-size: 72px;
  line-height: 80px;
  background-image: url(assets/images/pinselstrich.png); 
  background-size: 100% 100%;
  display: inline-block;
  padding: 10px 80px;
  margin-left: -95px;
  position: absolute;
  bottom: -40px;
  color: #ffffff;
}

h2 > em, 
h3 > em {
  /* background-image: url(assets/images/pinselstrich.png); 
  background-size: 100% 100%;
  display: inline-block;
  padding: 10px 80px;
  margin-left: -85px; */
  font-style:normal;
  /* color: #ffffff; */
}
/* 
.white-pinselstrich {
  background-image: url(assets/images/pinselstrich-white.png); 
  background-size: 100% 100%;
  display: inline-block;
  padding: 10px 80px;
  margin-left: -95px;
  bottom: -40px;
} */

.like-h2,
h2 {
  font-size: 48px;
  line-height: 60px;
  margin-bottom: 40px;
  background: linear-gradient(to right, #c54498, #877ae3, #00a6fe, #00c4e5, #1cd8b2  80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

p + h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  /* display: block; */
}

h3 {
  font-size: 35px;
  line-height: 45px;
  /* text-transform: uppercase; */
  margin-top: 0px;
  background: linear-gradient(to right, #c54498, #877ae3, #00a6fe, #00c4e5, #1cd8b2 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


.like-h2.normal,
h2.normal, 
h3.normal {
  background:transparent; 
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--text-color);
}

h2.has-text-align-center {
  width: 100%;
}

.underlined {
  position: relative;
  margin-bottom: 61px;
}

.underlined:after {
  content: "";
  width: 54px;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -19px;
}

.trenner {
  width: 54px;
  height: 2px;
  background-color: var(--primary-color);
  display: block;
  margin: 8px 0 30px 0;
}

input[type="search"] ,
form input[type="text"],
form input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 15px;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
  padding: 25px 0 ;
  margin: 0;
}

.wp-block-gallery {
  padding-bottom: 12px;
  padding-left: 12px; 
  padding-right: 12px;
}

/* .wp-block-gallery figure img {
  transition: transform 0.5s ease-in-out;
}

.wp-block-gallery figure:last-child img {
  transform-origin: right center;
}

.wp-block-gallery figure:first-child img {
  transform-origin: left center;
}

.wp-block-gallery figure:hover img {
  transform: scale(2);
  z-index: 5;
} */

.wp-block-video {
  border-radius: 35px; 
  overflow: hidden;
}

.wp-block-gallery.gallery-slider .slick-list {
  height: 50dvh;
  margin-left: -32px;
}

.wp-block-gallery.gallery-slider .slick-list .slick-slide {
  margin: 0 32px !important;
  height: 50dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
  overflow: hidden;
}


.slick-dots {
  display: flex;
  width: 100%; 
  list-style: none;
  margin: 0; 
  padding: 0;
}
.slick-dots li button:before {
  display: none;
}

.slick-dots li button {
  margin: 0 5px; 
  width: 8px; 
  height: 8px; 
  display: block;
  padding: 0; 
  font-size: 0; 
  line-height: 0;
  border: 2px solid var(--primary-color); 
}

.slick-dots li:first-child button {
  margin-left: 0;
}

.slick-dots li.slick-active button {
  background-color: var(--primary-color); 
}

.mobile-menu {
  display: none;
}

.has-background {
  position: relative;
}
.bg-primary:before,
.has-background:before {
  content: ""; 
  width: 500%; 
  height: 100%; 
  position: absolute;
  left: -200%; 
  top: 0;
  z-index: -1;
}

.bg-primary:before,
.has-primary-background-color:before,
.has-primary-background-color,
.bg-primary {
  background-color: var(--primary-color) !important;
}

.has-secondary-background-color:before,
.has-secondary-background-color,
.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-white {
  background-color: #ffffff;
}

.color-primary {
  color: var(--primary-color);
}

.color-secondary {
  color: var(--secondary-color);
}

.has-text-color,
.color-white {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.center-text {
  text-align: center;
}

.bg-dark {
  background-color: var(--text-color); 
  color: #ffffff;
}

.image-wrapper img {
  max-width: 100%;
}

input[type="submit"] {
  border: 0; 
  background: transparent;
  text-transform: uppercase;
  font-weight: 700; 
  letter-spacing: 1px;
  box-shadow: none;
  padding: 0;
}

.input-wrapper p {
  margin-bottom: 0;
}

.wpcf7-spinner {
  position: absolute;
  margin-left: 50px;
  visibility: visible;
  opacity: 1;
}

.input-wrapper,
button,
.wp-block-button__link,
.button {
  background: transparent;
  color: var(--primary-color);
  border-radius: 0;
  padding: 9px 32px 9px 32px;
  text-transform: uppercase;
  font-weight: 700; 
  letter-spacing: 1px;
  border: 3px solid var(--primary-color);
  background-color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  margin: 21px 0;
  display: inline-block;
  /* transition: transform 0.5s; */
  /* transition: background 0.5s; 
  transition-delay: 0s; */
  overflow: hidden; 
  border-radius: 15px;
  position: relative;
  hyphens: none; 
  -moz-hyphens: none; 
  -webkit-hyphens:none;
}

.input-wrapper {
  margin: 0;
}

.input-wrapper input[type="submit"] {
  color: var(--primary-color);
}

.input-wrapper input[type="submit"]:before,
.input-wrapper:before,
a.has-mb-primary-background-color:before,
button:before,
.wp-block-button__link:before,
.button:before {
  content: ""; 
  width: 100%; 
  height: 100%; 
  background-color: var(--primary-color); 
  display: block; 
  position: absolute;
  left: 0; 
  top: 0;
  transform: translateX(-100%);
  transition: all 0.5s;
  z-index: -1;
  color: var(--primary-color);
}

.bg-dark .button,
.bg-dark button {
  color: #ffffff;
  background-color: transparent;
}

.input-wrapper:hover,
.input-wrapper:hover input[type="submit"],
button:hover,
.wp-block-button__link:hover,
.button:hover {
  text-decoration: none;
  transform: translateY(0);
  color: #ffffff;
}

.inlinedisplay {
  display: inline;
}

.input-wrapper:hover:before,
button:hover:before,
.wp-block-button__link:hover:before,
.button:hover:before {
  transform: translateX(0);
}

video,
img {
  max-width: 100%;
  height: auto;
}

.outer-wrapper,
#breadcrumbs,
.container,
.entry-content {
  max-width: 1364px;
  margin: 0 auto;
  width: 100%;
}

.centertext {
  text-align: center;
}

#breadcrumbs {
  margin-bottom: 15px;
}

body #page {
  overflow: hidden;
}

.wp-block-columns.justify-center {
  justify-content: center;
}

/* Header START */
body.home header {
  height: 57px;
  z-index: 13;
  position: relative;
}

body:not(.home) header {
  height: 57px;
  z-index: 11;
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%; 
}

header#masthead + #content {
  padding-top: 30px;
}

header .inner {
  background-color: var(--primary-color);
  padding: 15px 0;
}

header.sticky .inner {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%; 
}

header .col-sm {
  position: relative;
}

/* header .background-wrapper {
  display: none;
  opacity: 0;
  width: 100%; 
  height: calc(90dvh - 0px); 
  position: absolute;
  left: 0; 
  bottom: 51px; 
  z-index: -1;
  background: #ffffff;
  background: linear-gradient(-180deg, rgba(0,0,0,0) 50%, rgba(197,68,152,1) 100%);
  transition: opacity 1s ease-in-out;
}

header.active .background-wrapper {
  opacity: 1;
} */

body.admin-bar header {
  top: 32px;
}

body.admin-bar.home header.sticky .inner  {
  top: 32px;
}

body.admin-bar header .background-wrapper {
  bottom: 57px;
}

header#masthead.nav-up {
  top: -140px; 
}

header#masthead.nav-down {
  top: 0; 
}


header .logo {
  max-width: 100px;
  display: block;
  position: absolute;
  left: -15px;
  opacity: 0;
}

body:not(.home) header .logo,
header.sticky .logo {
  opacity: 1;
}

header .col-sm {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-wrapper {
  display: flex;
  list-style: none;
  margin: 0; 
  padding: 0;
}

header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 26px;
  display: block;
  margin-left: 32px;
  /* transition: color 0.5s ease-in-out; */
}

header ul li:first-child a {
  margin-left: 0;
}

header a:hover {
  color: var(--text-color);
}

body.home #content {
  padding-top: 80px;
}

.wp-block-separator, hr {
  border-top: 0;
  border-bottom: 0;
  position: relative;
  overflow: visible;
}

hr.wp-block-separator:before {
  content: "";
  width: 500%;
  margin-left: -250%;
  height: 100px;
  display: block;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(233,233,233,1) 100%);
  /* border-bottom: 2px solid var(--primary-color); */
}

hr.wp-block-separator.to-the-bottom:before {
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(233,233,233,1) 100%);
  border-bottom: 0;
  /* border-top: 2px solid var(--primary-color); */
}

/* Header END */


/* Home Intro Start*/
.home-intro {
  height: calc(95dvh - 100px);
  /* background-color: #ffffff;  */
  overflow: hidden;
  transition: background-color 1s ease-in-out;
  margin-bottom: 32px;
  z-index: 12;
  position: relative;
  margin-bottom: 0;
}

body.admin-bar .home-intro {
  margin-bottom: -32px;
}

.home-intor:not(.update) {
  background-color: #000000; 
  position: relative;
  border-bottom-left-radius: 50%; 
  border-bottom-right-radius: 50%; 
  border: 10px solid #000000;
}

/* .home-intro.bg-white {
  background-color: #ffffff;
} */

.home-intro:not(.update):after {
  content: ""; 
  width: 100%; 
  height: 58%; 
  background-color: #ffffff; 
  display: block;
  position: absolute;
  bottom: 0; 
  left: 0;
  z-index: 1;
}

.home-intro:not(.update) .logo {
  /* width: 46%;  */
  width: 28%;
  height: auto;
  position: absolute;
  bottom: 15%; 
  /* left: 27%; */
  left: 36%;
  z-index: 2;
}

.home-intro.update .logo {
  width: auto;
  height: 60dvh;
  width: 100%;
  position: absolute;
  top: 10dvh;
  z-index: 2;
  left: 0;
  text-align: center;
}

.home-intro .background-wrapper {
  width: 100%; 
  /* height: calc(90dvh - 28px);  */
  /* height: calc(95dvh - 100px); */
  height: 100dvh;
  position: absolute;
  left: 0; 
  top: 0; 
  z-index: -1;
  /* background: linear-gradient(-180deg, rgba(0,0,0,0) 50%, rgba(197,68,152,1) 100%); */
  /* transition: opacity 1s ease-in-out; */
}
/* 
body.admin-bar .home-intro {
  height: calc(95dvh); 
}

body.admin-bar .home-intro .background-wrapper {
  height: calc(95dvh - 32px); 
} */

.home-intro .logo img {
  width: 100%;
}
.home-intro.update .logo img {
  max-width: 100%; 
  width: auto; 
  height: 100%;
}

.home-intro .arrow-down .arrow-inner {
	position:absolute;
	left:50%;
	bottom:30px;
	margin-top:-25px;
	margin-left:-25px;
	height:50px;
	width:50px;
	-webkit-animation:bounce 5s infinite;
	z-index: 999;
  background-image: url(assets/images/arrow-down.svg); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

@-webkit-keyframes bounce {
	0%       { bottom:25px; }
	25%, 75% { bottom:35px; }
	50%      { bottom:40px; }
	100%     { bottom:20px; }
}

.home-intro.update .arrow-down .arrow-inner {
  bottom: 10px;
}
/* Home Intro END */

/* Headerbanner START */
.headerbanner {
  background-size: cover; 
  background-position: center center;
  border-bottom: 5px solid var(--primary-color);
  margin-bottom: 50px;
  aspect-ratio: 1970 / 437;
  display: flex;
  align-items: flex-end;
  position: relative;
}
/* Headerbanner END */

/* Teaserboxes START */
.teaser-boxes .text-block-wrapper {
  background-color: #ffffff; 
  border-radius: 25px;
  padding: 35px;
  height: 100%;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
}

.teaser-boxes .image-wrapper {
  position: absolute;
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover; 
  background-position: center center;
}

.teaser-boxes .text-block-wrapper:hover .image-wrapper {
  opacity: 1;
}

.teaser-boxes a  {
  text-decoration: none;
}

.teaser-boxes.two-cols {
  padding: 100px 0;
}

.teaser-boxes.two-cols .text-block-wrapper {
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.teaser-boxes.two-cols .button-wrapper {
  text-align: center;
}

.teaser-boxes.two-cols h3,
.teaser-boxes.two-cols .button-wrapper .button {
  margin-bottom: 0;
}

.teaser-boxes.two-cols .bottom-wrapper {
  margin-top: 25px;
  position: relative;
  overflow: hidden;
  max-height: 0px;
  height: auto;
}

/* 
.teaser-boxes.two-cols .inner.invisible {
  opacity: 0;
}

.teaser-boxes.two-cols .inner:not(.invisible) {
  position: absolute;
  top: 0;
  left: 0;
} */
/* Teaserboxes END */

/* Text Image Wrapper START */

/* .text-image-block .image-text-row {
  align-items: center;
} */

.text-image-block .image-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius:  35px;
  background-size: cover; 
  background-position: center center;
  height: 100%;
  width: 100%;
}

.text-image-block .img-col {
  position: relative;
}

/* .text-image-block .img-col:before,
.text-image-block .img-col:after {
  content: ""; 
  width: 100%; 
  height: 100%; 
  display: block;
  z-index: -1;
  background-image:url(assets/images/bg-pink-pinsel.svg);
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center center;
  transform: rotate(66deg);
  position: absolute;
  top: 0; 
  left: 0;
  transition: all 0.5s ease-in-out;
}

.text-image-block .img-col:before {
  background-image:url(assets/images/bg-tuerkies-pinsel.svg);
  transform: rotate(55deg);
}
  
.text-image-block .img-col:after {
  z-index: 1;
}

.image-text-row:hover .img-col:before {
  transform: rotate(75deg);
}

.image-text-row:hover .img-col:after {
  transform: rotate(110deg);
} */

.text-image-block .normal.subline {
  margin-top: -40px;
  line-height: 1;
  font-size: 38px;
  width: 100%;
  display: block;
}
/* Text Image Wrapper END */


/* Formular START */
form .col-sm > p {
  margin-bottom: 25px;
}

form label {
  width: 100%;
}

form input, 
form select, 
form textarea {
  border: 0; 
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  width: 100%;
  padding: 8px 21px;
  border-radius: 15px;
}
/* Formular END */

/* Team START */
.team-row {
  justify-content: center;
}

.team-row > .col-sm {
  padding-bottom: 25px; 
}

.team-wrapper {
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  height: 100%;
  border-radius: 35px; 
  overflow: hidden;
  background-color: #ffffff;
}

.team-image-wrapper {
  aspect-ratio: 472 / 650;
  display: block;
  position: relative;
}

.team-image-wrapper .personimage {
  position: absolute;
  width: 100%; 
  height: 100%; 
  background-size: cover; 
  background-position: center center;
  transition: all 0.5s ease-in-out;
}

.team-wrapper .personimage.private {
  opacity: 0;
}

.team-wrapper:hover .personimage.private {
  opacity: 1;
}

.team-wrapper .private-description {
  background-color: var(--primary-color); 
  color: #ffffff; 
  padding: 10px 15px;
  position: absolute;
  left: 0; 
  bottom: 0;
}

.team-wrapper .text-wrapper {
  padding: 15px 25px;
  height: auto;
}

.team-wrapper h3 {
  text-align: center;
  margin-bottom: 0;
}

.team-wrapper .position {
  font-weight: 700; 
  text-align: center;
  margin-bottom: 15px;
}
/* Team END */

/* Referenzen START */

section.reference {
  height: 100dvh;
  width: 100%;
}

.outer-wrapper {
  position: relative;
  padding-top: 90px;
  padding-bottom: 25px;
}

.reference-row {
  display: flex;
  /* margin-left: -12px;
  margin-right: -12px; */
  position: relative;
  display: flex;
  height: calc(100dvh - 185px); 
  padding-bottom: 64px;
}

.ref-wrapper {
  display: flex;
  margin: 0 32px;
  height: 100%;
  width: 55%;
  min-width: 55%;
  flex-direction: column;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  background-color: #ffffff;
  border-radius: 35px;
  overflow: hidden;
}

.ref-wrapper .ref-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: calc(((100dvh - 185px - 24px) / 2));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.text-wrapper {
  padding: 25px;
  height: calc(((100dvh - 185px - 24px) / 2));
}

.ref-wrapper.lastchild {
  background-color: transparent;
  box-shadow: none;
}
/* Referenzen END */

/* Gallery START */
.reference-row,
.gallery-row {
  margin-left: -26px; 
  margin-right: -26px;
}

.gallery-wrapper {
  margin: 0 32px;
}

section.gallery-video {
  padding: 100px 0;
}

.gallery-row {
  display: flex;
  position: relative;
  display: flex;
  max-height: calc(100dvh - 185px - 200px);
  height: auto;
  padding-bottom: 47px;
}

.gallery-wrapper .image-wrapper {
  aspect-ratio: 1 / 1;
  /* height: calc(((100dvh - 185px - 24px) / 2)); */
  height: calc(100dvh - 185px - 200px);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  position: relative;
}

.gallery-wrapper:not(.video) {
  opacity: 0;
}

.gallery-wrapper .image-wrapper.video-wrapper {
  background-image: url(assets/images/playbutton.jpg); 
  background-size: cover; 
  background-position: center center;

}

.gallery-wrapper .image-wrapper video {
  max-width: unset;
  height: 100%; 
  width: 100%;
  object-fit: cover;
}

.gallery-wrapper .image-title { 
  padding: 10px 32px 20px;
  font-weight: bold;
}

/* section.gallery-video .gallery-wrapper.video {
  transition: all 0.5s ease-in-out; 
} */
/* Gallery END */

/* erecht START */
.erecht-wrapper .wp-block-column > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  
}
/* erecht END */

/* Footer START */
body #BorlabsCookieBox .brlbs-cmpnt-widget.brlbs-cmpnt-hide-widget, 
body .brlbs-cmpnt-container .brlbs-cmpnt-widget.brlbs-cmpnt-hide-widget {
  transform: none; 
  opacity: 1;
}
footer.entry-footer {
  display: none;
}

footer#colophon {
  background-color: #ffffff;
  padding: 25px 0 0px 0;
  border-top: 5px solid var(--primary-color);
  position: relative;
  margin-top: 64px;
}

footer .entry-content {
  position: relative;
}


footer ul.menu {
  display: flex;
}

footer ul.menu > li > a,
footer h3 {
  color: var(--text-color); 
  font-size: 18px; 
  line-height: 22px;
  text-transform: uppercase;
  position: relative; 
  display: block;
  font-weight: 700;
  margin-top: 0;
  text-decoration: none;
}

footer ul.menu > li > a {
  display: inline-block;
  margin-left: 32px;
  letter-spacing: 2px;
}

footer div.col-sm > p:last-child {
  margin-bottom: 0;
}


footer a:active, 
footer a:visited, 
footer a:link {
  color: var(--text-color);
  display: inline-block;
}

footer a:hover {
  color: var(--primary-color);
}

footer .row {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-end; */
  align-items: center;
  width: 100%;
}

footer .sub-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 4px 0;
  margin-top: 15px;
  text-align: center;
}

footer .sub-footer .row {
  align-items: center; 
}

footer ul.menu {
  list-style-type: none; 
  margin: 0; 
  padding: 0;
}


footer ul.menu #searchform,
footer ul.menu .menu-item-87 {
  display: none; 
}

#to-the-top {
  position: absolute; 
  top: -75px; 
  z-index: 15;
  cursor: pointer;
  right: 25px; 
  transition: margin 0.5s ease-in-out;
}

#to-the-top img {
  width: 32px;
}

#to-the-top:hover {
  margin-top: -10px;
}

#to-the-top.fixed {
  position: fixed;
  right: 25px; 
  bottom: 25px;
  transition: all 0.5s;
  top: unset;
}

#side-navigation-wrapper {
  position: fixed;
  right: 0; 
  top: 50%;
  list-style: none;
  aspect-ratio: 2 / 1;
  color: #ffffff; 
  margin: 0; 
  padding: 0;
  width: 50px;
  z-index: 12;
  opacity: 0;
  transition: all 0.25s ease-in-out;
}

#side-navigation-wrapper.visible {
  opacity: 1;
}

#side-navigation-wrapper a {
  color: #ffffff; 
  width: 60px;
  height: 50px; 
  margin-right: -10px;
  /* font-size: 50px; */
  display: block;
  background-color: var(--primary-color); 
  padding: 5px;
  margin-bottom: 2px;
  transition: transform 0.75s;
}

#side-navigation-wrapper a:hover {
  transform: translateY(0) translateX(-10px);
}

#side-navigation-wrapper a svg path,
#side-navigation-wrapper a svg {
  fill: #ffffff;
}
/* Footer END */

@media screen and (max-width: 1424px) {
  .container,
  #breadcrumbs,
  .entry-content {
    padding-left: 30px; 
    padding-right: 30px;
  }

  .entry-content .container {
    padding-left: 0; 
    padding-right: 0;
  }

  section.reference .container {
    padding-left: 30px; 
    padding-right: 30px;
  }
/* 
  .reference .reference-row {
    padding-left: 30px; 
  } */

}

@media screen and (max-width: 1200px) {
  body {
    font-size: 20px;
    line-height: 1.25;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
    flex-basis: 100% !important;
  }

  .wp-block-columns.justify-center {
    margin-bottom: 0;
  }

  .reference-row, .gallery-row {
    margin-left: -16px;
    margin-right: -16px;
  }

  .ref-wrapper,
  .gallery-wrapper {
    margin: 0 16px;
  }

  .ref-wrapper .ref-image-wrapper {
    max-height: 50%;
  }
  .ref-wrapper .text-wrapper h3 {
    margin-bottom: 0px;
  }

  .ref-wrapper .text-wrapper p {
    margin-bottom: 8px; 
    font-size: 20px;
  }

  .teaser-boxes .text-block-wrapper:hover .image-wrapper,
  .teaser-boxes .image-wrapper {
    top: unset;
    bottom: 0;
    opacity: 1;
    max-height: 0;
  }

  footer .col-xl-4 {
    text-align: right;
  }

  footer .col-xl-5 ul.menu{
    justify-content: flex-end;
  }

  footer .row {
    align-items: flex-start;
  }

}

@media screen and (max-width: 1024px) {
  .text-wrapper {
    padding: 5px 25px;
  }

  .ref-wrapper .ref-image-wrapper {
    max-height: 40%;
    background-size: contain;
    background-color: #000000;
  }

  .like-h2, h2 {
    margin-bottom: 10px;
    line-height: 1.1;
  }

  .text-image-block .normal.subline {
    margin-top: 0;
  }

  .team-image-wrapper {
    aspect-ratio: 472 / 510;
  }

  .team-image-wrapper .personimage {
    background-position: top center; 
  }

}

@media screen and (max-width: 990px) {
  .home-intro.update .logo {
    height: 40dvh;
    top: 25dvh;
  }

  .teaser-boxes .teaser-box-outer-row {
    justify-content: center;
  }

  .teaser-boxes .teaser-box-outer-row .col-sm {
    padding-bottom: 24px;
  }

  .teaser-boxes.two-cols {
    padding: 50px 0 30px;
  }

  section.gallery-video {
    padding: 50px 0;
  }

  section.reference h2,
  section.gallery-video h2 {
    margin: 25px 0;
  }

  .text-image-block .image-wrapper {
    aspect-ratio: 5 / 3;
  }

  .text-image-block .col-sm.img-col {
    padding-bottom: 25px;
  }

  .ref-wrapper .ref-image-wrapper {
    background-size: cover;
  }

  .text-wrapper {
    padding: 15px 25px;
  }

  #kontakt {
    margin-bottom: 25px;
  }
  #kontakt + .wp-block-columns {
    flex-direction: column;
  }

  .teaser-boxes .text-block-wrapper.bg-dark {
    aspect-ratio: 3 / 5;
  }

  /* .gallery-wrapper .image-wrapper {
    height: auto;
    max-height: calc(((100dvh - 185px - 24px) / 2));
  } */
}


@media screen and (max-width: 600px) {
  header .col-sm > .navigation {
    display: none;
  }

  header .col-sm {
    justify-content: flex-end;
  }

  label.hamburg {
    display: block;
    background: transparent;
    width: 32px;
    height: 24px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top:-12px;
    z-index: 21;
  }

  input#hamburg {
    display:none
  }

  .line {
   position: absolute;
   left:0;
   height: 2px;
   width: 32px;
   background: #ffffff;
   display: block;
   transition: 0.5s;
   transform-origin: center;
  }

  .line:nth-child(1) { top: 12px; }
  .line:nth-child(2) { top: 24px; }

  #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(6px) rotate(-45deg);
  }

  #hamburg:checked + .hamburg .line:nth-child(2){
    transform: translateY(-6px) rotate(45deg);
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-wrapper {
    display: block;
    background: var(--primary-color);
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 20;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding-bottom: 200px;
    box-shadow: 0px 5px 5px 0px rgba(201,201,201,0.3);
    -webkit-box-shadow:  0px 5px 5px 0px rgba(201,201,201,0.3);
    -moz-box-shadow:  0px 5px 5px 0px rgba(201,201,201,0.3);
    padding: 0;
    z-index: -1;
  }

  #hamburg:checked + .hamburg + .mobile-menu-wrapper {
    max-height: 100%;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
  }

  .mobile-menu-wrapper > .mobile-inner {
    padding: 90px 30px 25px 30px;
  }



  .mobile-menu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
  }

  .mobile-menu-wrapper a {
    font-size: 18px;
    line-height: 1;
    margin-left: 0;
    margin-bottom: 20px;
    display: block;
    color: #ffffff;
    text-decoration:none;
    margin: 10px 0;
  }

  .headerbanner {
    aspect-ratio: 1970 / 837;
  }

  .home-intro {
    height: calc(100dvh - 100px);
    margin-bottom: 0;
  }

  .home-intro .background-wrapper {
    height: calc(100dvh - 100px);
  }

  h1 > code, h1 {
    font-size: 45px;
    line-height: 1.1;
  }

  .like-h2, h2 {
    font-size:38px;
  }

  h3 {
    font-size: 26px;
    line-height: 1.1;
    margin-bottom: 5px;    
  }

  .ref-wrapper {
    width: calc(100% - 32px);
    min-width: calc(100% - 32px);
  }

  .reference-row {
    padding-bottom: 16px;
  }

  .ref-wrapper .ref-image-wrapper {
    max-height: 30%;
    background-size: contain;
  }

  .ref-wrapper .text-wrapper p {
    font-size: 16px;
  }

  /* section.gallery-video {
    padding-bottom: 32px;
  } */
  section.gallery-video .gallery-row {
    padding-bottom: 0;
    max-height: calc(100vw - 32px - 32px);

  }

  .home-intro.update .arrow-down .arrow-inner {
    bottom: 5dvh;
  }

  .gallery-wrapper .image-wrapper {
    aspect-ratio: 1 / 1;
    height: calc(100vw - 32px - 32px);
  }

  /* .gallery-wrapper.video {
    margin: 0;
  } */

  section.reference .outer-wrapper {
    padding-top: 25px;
  }

  footer .col-sm {
    text-align: center;
  }

  footer .col-xl-5 ul.menu {
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }

  footer ul.menu > li > a {
    margin: 7px 0;
  }

  footer .entry-content {
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
  }
}
