/*
Theme Name: Intemann Lehre
Author: Schiemer Software GmbH
Author URI: https://schiemer-software.com/
Description: Intemann Lehre Theme
Version: 2.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Inter-Regular.woff2') format('woff2'),
       url('fonts/Inter-Regular.woff') format('woff');
}

* {
  font-family: 'Inter', sans-serif;
  /*outline: 1px solid #f00 !important;*/
}
:root {
  --white: #ffffff;
  --always-white: #ffffff;
  --very-light-grey: #EDEDED;
  --light-grey: #707070;
  --text-grey: #C1C1C1;
  --darker-grey: #868686;
  --black: #000000;
  --always-black: #000000;
  --grid-grey: #242424;

  --background-color: var(--white);
  --site-width: 1200px;
  --mobile-padding: 15px;
  --is-white-mode: 0;
  --is-black-mode: 1;

  background-color: var(--black);
  color: var(--white);

  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  --footer-wrap-min-width: 200px;
}

html, body {
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: underline;
  color: var(--white);
}

.link-grow {
  width: 65px;
  height: 65px;
  transition: width 0.1s, height 0.1s;
}

.header-wrapper {
  position: fixed;
  width: 100%;
  border-bottom: 1px solid var(--light-grey);
  z-index: 2000;
  background-color: var(--black);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: var(--site-width);
  margin: 0 auto;
}
.max-width-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  max-width: var(--site-width);
  margin: 0 auto;
  width: 100%;
}
.logo-a {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.logo {
  width: 100%;
  max-width: 120px;
  margin-left: 5px;
  filter: invert(var(--is-white-mode));
}
.logo-left {
  width: 55px;
  filter: invert(var(--is-white-mode));
}
.header-action {
  text-decoration: none;
  cursor: default;
}
.header-action img {
  width: 40px;
}
.header-message {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1;
}

.light-dark-switch img {
  border: 1px solid var(--white);
  border-radius: 50%;
}

.header-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  background-color: var(--black);

  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 1000;
  --left-space: 30px;
}
.header-menu.active {
  transform: translateY(0%);
}
.header-menu-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  width: var(--site-width);
}
.header-menu-contact a {
  text-decoration: none;
}
.header-menu ul {
  list-style: none;
  padding: 0;
  width: fit-content;
  gap: 10px;
}
.header-menu ul li a {
  display: flex;
  flex-direction: row-reverse;
  text-decoration: none;

  font-size: 50px;
  font-weight: var(--font-weight-medium);
  color: var(--white);
  padding-block: 5px;
}
.header-menu ul li a:hover {
  color: var(--darker-grey);
}
.header-menu ul li.current-menu-item a {
  color: var(--darker-grey);
}
:root:has(.header-menu.active), body:has(.header-menu.active) {
  overflow: hidden;
  scrollbar-width: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 13px; /* 15px -3px for the bars diveded by 2 must be an even number --> height must be an even number */
  width: 22px;

  border: 1px solid var(--white);
  border-radius: 25px;
  padding: 14px 9px 13px 9px;
  /* position: fixed;
  calc left space site-width is the max-width of the content
  left: calc((100% - var(--site-width)) / 2); */
}
.nav-toggle .bar {
  height: 1px;
  width: 100%;
  background-color: var(--white);
  transition: all 100ms ease-in-out;

  --rotation-deg: 28.5deg;
}
.nav-toggle:hover {
  cursor: pointer;
}
.x:nth-of-type(1) {
  transition: all 100ms ease-in-out;
  transform: rotate(var(--rotation-deg));
  transform-origin: top left;
  width: 25px;
}
.x:nth-of-type(2) {
  transition: all 100ms ease-in-out;
  transform-origin: center;
  width: 25px;
  opacity: 0;
}
.x:nth-of-type(3) {
  transition: all 100ms ease-in-out;
  transform: rotate(calc(-1 * var(--rotation-deg)));
  transform-origin: bottom left;
  width: 25px;
}
.right-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}


.header-menu-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
}
.nav-h1 {
  font-size: 11px;
  margin: 0;
  margin-top: 250px;
}
.header-menu-text {
  font-size: 14px;
  line-height: 20px;
}
.header-contact-div {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 40px;
}
.header-contact-div p {
  font-size: 14px;
  line-height: 20px;
}
.header-menu-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  min-width: 450px;
  height: 100%;
}

@media screen and (max-width: 1200px) {
  .quote-carusel {
    left: 0 !important;
  }
  .quote-carusel .prev {
    left: 20px !important;
  }
  .quote-carusel .next {
    right: 20px !important;
  }
  .video-text {
    left: var(--mobile-padding) !important;
  }
  .home-ueber-uns {
    flex-direction: column !important;
    padding-inline: var(--mobile-padding) !important;
    height: unset !important;
  }
  .home-ueber-uns > div {
    max-width: unset !important;
  }
  .home-ueber-uns img {
    height: unset !important;
  }
}



@media screen and (max-width: 768px) {
  /* header */
  .header {
    padding-inline: var(--mobile-padding);
  }
  .header-menu-wrapper {
    padding-inline: var(--mobile-padding) !important;
  }
  .header-menu ul li a {
    font-size: 40px !important;
  }
  .header-menu-wrapper {
    flex-direction: column !important;
  }
  .nav-h1 {
    margin-top: 150px !important;
  }
  .header-menu-right {
    margin-top: 75px !important;
  }
  .header-contact-div {
    font-weight: var(--font-weight-medium) !important;
  }

  /* know-how */
  .know-how-text {
    margin: 0;
    font-size: 20px !important;
    line-height: 24px !important;
  }
  .accordion {
    font-size: 20px !important;
  }
  .panel p {
    font-size: 13px !important;
  }
  .panel.open {
    padding: 0 !important;
  }

  /* home */
  .title-video img {
    padding-top: 250px !important;
    padding-bottom: 30px !important;
    opacity: 1 !important;
  }
  .home-h1, .home-text, .home-item, .home-ref-container, .wpform, 
  .machines-controls, .machines-list {
    padding-inline: var(--mobile-padding) !important;
  }
  .video-text h2 {
    position: relative !important;
    font-size: 30px !important;
    line-height: 35px !important;
  }
  .video-text {
    top: 50px !important;
    align-items: flex-start !important;
    padding-inline: var(--mobile-padding) !important;
    color: var(--white) !important;
  }
  .home-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .home-ref-container {
    flex-direction: column !important;
    width: unset !important;
  }
  .home-ref-left-box {
    min-height: 200px;
  }
  .home-ref-left-box img {
    transform: rotate(90deg);
  }
  .home-ref-right-box {
    grid-template-columns: 1fr !important;
  }
  .home-ref-box {
    min-width: unset !important;
    max-width: unset !important;
    min-height: 200px;
  }
  .home-ref-box h3 {
    font-size: 24px !important;
  }
  .home-ref-box-title img {
    max-width: 35px !important;
    max-height: 35px !important;
  }
  .home-ref-box-title {
    margin-top: 15px !important;
  }
  .home-h1 {
    font-size: 30px !important;
  }
  .home-text {
    font-family: 'Inter', sans-serif;
    line-height: 25px !important;
  }
  .home-ausbildung, .home-ausbildung-title, .home-ueber-uns, .home-h1-text {
    flex-direction: column !important;
    padding-inline: var(--mobile-padding) !important;
  }
  .home-ausbildung-title {
    align-items: start;
  }
  .home-h1-text > * {
    width: 100% !important;
  }
  .home-world img {
    padding-top: 20px !important;
  }

  /* Lehrberuf */
  .mobile-inline-padding {
    padding-inline: var(--mobile-padding) !important;
  }
  .lehrberuf-loc-grid, .lehrberuf-coaches {
    padding-inline: var(--mobile-padding) !important;
    flex-direction: column !important;
  }
  .lehrberuf-h2 {
    font-size: 25px !important;
    line-height: 35px !important;
  }
  .lehrberuf-padding {
    padding: 0 !important;
  }
  .lehrberuf-numbering-block {
    padding-inline: var(--mobile-padding) !important;
  }
  .lehrberuf-numbering > div {
    min-width: 140px !important;
    margin-left: calc(-2 * var(--mobile-padding)) !important;
  }
  .lehrberuf-numbering-block .lehrberuf-h2 {
    padding-inline: 0 !important;
  }
  .lehrberuf-coaches .home-h1, .lehrberuf-coaches > div {
    padding: 0px !important;
  }

  /* Lehre Intemann */
  .lehre-intemann-text {
    padding-inline: var(--mobile-padding) !important;
  }
  .lehre-intemann-table {
    flex-direction: column !important;
  }
  .lehre-intemann-table > * {
    width: 100% !important;
  }
  .wp-block-file {
    height: 115px !important;
  }
  .lehre-intemann-file > div {
    padding-inline: var(--mobile-padding) !important;
  }
  .lehre-intemann-img-table {
    width: calc(100% - 2 * var(--mobile-padding)) !important;
  }

  /* Bewerbungsablauf */
  .bewerbungsablauf > div {
    display: flex;
    gap: 40px;
    flex-direction: column;
  }

  /* Benefits */
  .benefits-grid {
    display: flex !important;
    flex-direction: column;
  }
  .benefits-grid-item {
    max-width: unset !important;
    width: 100% !important;
    margin-bottom: 30px !important;
  }
  .benefits-grid-item > div {
    padding-left: var(--mobile-padding) !important;
  }
  .benefits-grid-item > h2, .benefits-grid-item > p {
    padding-inline: var(--mobile-padding) !important;
  }

  .ref-box-popup {
    max-width: 250px !important;
    width: 100%;
  }
  .machines-title {
    flex-direction: column !important;
  }
  .machines-controls {
    max-width: unset !important;
    padding-block: var(--mobile-padding) !important;
  }
  .wpform {
    width: unset !important;
  }
  .wpforms-field-text input {
    display: none !important;
  }
  .wpforms-placeholder {
    display: none !important;
  }
  .quote-item {
    padding-inline: var(--mobile-padding) !important;
    width: unset !important;
    min-width: calc(100vw - 2 * var(--mobile-padding)) !important;
  }
  .quote-item q {
    font-size: 20px !important;
    padding-block: 20px !important;
  }
  .quote-carusel .prev {
    top: 55px !important;
    left: var(--mobile-padding) !important;
    transform: scale(0.7);
  }
  .quote-carusel .next {
    top: 55px !important;
    left: calc(var(--mobile-padding) + 60px) !important;
  }
  .machines-item {
    min-width: 300px !important;
  }
  .machines-overview {
    flex-direction: column !important;
  }
  .machine-badge {
    width: fit-content;
  }
  .machines-overview img {
    width: 100% !important;
  }
  .machines-item > p {
    line-height: 25px !important;
  }
  .machines-controls div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }


  /* Footer */
  footer > hr {
    margin-inline: var(--mobile-padding) !important;
    width: unset !important;
  }
  .footer-address-contact {
    flex-direction: column !important;
    gap: 50px;
  }
  .footer-legal-bar {
    flex-direction: column !important;
    gap: 20px;
    padding-inline: var(--mobile-padding) !important;
  }
  .footer-legal-bar a {
    font-size: 16px;
  }
  .footer-content img {
    margin-bottom: 10px;
  }
  .footer-content {
    padding-block: 60px !important;
  }
  .footer-mobile-padding {
    padding-inline: var(--mobile-padding) !important;
  }

  .hidden-on-mobile {
    display: none !important;
  }
  .only-visible-on-mobile {
    display: block !important;
  }
  .word-break-on-mobile {
    word-break: break-all !important;
  }
}

.only-visible-on-mobile {
  display: none;
}
.word-break-on-mobile {
  word-break: keep-all;
}




/* Home page */
.home-title {
  font-weight: var(--font-weight-medium);
  font-size: 80px;
  max-width: 600px;
  padding-bottom: 80px;
  margin: 0;
}
.home-h2 {
  font-weight: var(--font-weight-medium);
  font-size: 70px;
  margin: 0;
  margin-bottom: 80px;
}
.home-h3 {
  font-weight: var(--font-weight-medium);
  font-size: 42px;
}
.home-h4 {
  font-weight: var(--font-weight-medium);
  font-size: 21px;
  padding-bottom: 20px;
}
.home-ausbildung {
  gap: 15px;
}
.home-ausbildung div {
  width: 100%;
  position: relative;
}
.home-ausbildung img {
  opacity: 0.8;
}
.home-ausbildung h5 {
  position: absolute;
  font-weight: var(--font-weight-regular);
  font-size: 11px;
  top: 25px;
  left: 20px;
}
.home-ausbildung .horizontal-ly {
  position: absolute;
  bottom: 20px;
  padding-inline: 20px;
}
.home-ausbildung .horizontal-ly h3, .home-ausbildung .horizontal-ly p {
  position: unset;
}
.home-ausbildung h3 {
  position: absolute;
  font-weight: var(--font-weight-regular);
  font-size: 18px;
  bottom: 110px;
  left: 20px;
}
.home-ausbildung p {
  position: absolute;
  font-weight: var(--font-weight-regular);
  font-size: 13px;
  line-height: 21px;
  max-width: 350px;
  bottom: 20px;
  left: 20px;
}
.home-ueber-uns {
  height: 570px;
  gap: 15px;
}
.home-ueber-uns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.home-ueber-uns > div {
  width: 100%;
  max-width: 500px;
  height: 100%;
  padding: 25px;
  background-color: var(--white);
  color: var(--black);
  border-radius: 15px;
}
.home-ueber-uns h3 {
  align-content: end;
  font-weight: var(--font-weight-regular);
  font-size: 25px;
  padding-bottom: 20px;
}
.home-ueber-uns p {
  font-size: 15px;
  line-height: 25px;
}
.home-h1-text > * {
  width: 50%;
}
.home-block-text {
  font-size: 14px;
  line-height: 22px;
}
.video-placeholder {
  width: 100%;
  height: 200px;
  background-color: var(--white);
  border-radius: 10px;
  position: relative;
}
.video-placeholder::after {
  content: 'Video kommt';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: var(--font-weight-regular);
  color: var(--black);
}
.home-world img {
  filter: invert(var(--is-white-mode));
}
.badges {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-inline: 10px;
  position: absolute;
}
.badges p {
  font-size: 13px;
  color: var(--black);
  border: 1px solid var(--black);
  padding-inline: 10px;
  padding-block: 3px;
  border-radius: 25px;
}
.badge-white {
  color: var(--white) !important;
  border: 1px solid var(--white) !important;
}
.home-p {
  font-size: 14px;
  line-height: 20px;
  width: 330px;
}
.full-width {
  width: 100%;
}
.title-video {
  display: flex;
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin: 0;
}
.title-video img {
  width: 100vw;
  opacity: calc(var(--is-black-mode) * 0.8 + var(--is-white-mode));
  object-fit: cover;
}
.title-video figure {
  margin: 0;
}
.video-text {
  position: absolute;
  top: 25%;
  color: var(--always-white);
  max-width: var(--site-width);
  gap: 20px;
  margin: 0 auto;
  left: calc((100vw - var(--site-width)) / 2);
  z-index: 300;
}
.video-text h2 {
  font-size: 50px;
  font-weight: var(--font-weight-medium);
  line-height: 65px;
}
.video-text .header-action {
  border-radius: 25px;
  background-color: var(--always-white);
  color: var(--always-black) !important;
  padding: 14px 24px;
  text-decoration: none;
}
.video-text p {
  line-height: 25px;
}
.home-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.home-row p {
  max-width: 500px;
}
.home-h1 {
  font-size: 65px;
  font-weight: var(--font-weight-medium);
}
.home-customer {
  font-size: 11px;
}
.home-item-title {
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  padding-block: 5px;
  margin: 0;
}
.home-item-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  margin: 0;
}
.home-item {
  padding-top: 5px;
  padding-inline: 10px;
}
.video-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  padding: 5px;
  z-index: 5;
}
.video-controls img {
  cursor: pointer;
}
.video-controls div {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-left: 5px;
}
.video-container figure {
  margin: 0;
}
.home-ref-container {
  display: flex;
  gap: 20px;
  width: 100%;
}
.home-ref-left-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ebebeb;
  padding: 40px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
}
.home-ref-left-box img {
  max-width: 30px;
}
.home-ref-box-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.home-ref-box-title h3 {
  margin: 0;
}
.home-ref-box-title img {
  max-width: 20px;
  max-height: 20px;
  cursor: pointer;
}
.ref-box-popup {
  display: block;
  position: absolute;
  background-color: var(--white);
  border: 1px solid var(--white);
  border-radius: 10px;
  padding: 20px;
  transform: translateX(-50%);
  max-width: 500px;
  z-index: 1;
}
.ref-box-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.home-ref-left-box a {
  display: inline-block;
  margin-top: 20px;
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
}
.home-ref-right-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.home-ref-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--white);
  color: white;
  padding: 20px;
  border-radius: 10px;
  min-width: 180px;
  max-width: 280px;
}
.home-ref-box p {
  font-family: 'Inter', sans-serif;
}
.home-ref-box h3 {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  margin-top: 0;
}
.home-ref-box p {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
}
.home-text {
  font-weight: var(--font-weight-medium);
}
.quote-carusel {
  display: flex;
  flex-direction: row;
  position: relative;
  left: calc((100vw - var(--site-width)) / -2);
  height: 400px;
  transform: translateX(0);
  transition: transform 0.5s ease;
}
.quote-carusel .prev {
  content: url('assets/switch-pfeil.svg');
  position: absolute;
  top: 50%;
  left: 20px;
  cursor: pointer;
  z-index: 1;
}
.quote-carusel .next {
  content: url('assets/switch-pfeil.svg');
  position: absolute;
  top: 50%;
  left: calc(100vw - 40px);
  transform: rotate(180deg);
  cursor: pointer;
  z-index: 1;
}
.quote-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  min-width: 100vw;
  max-width: 100vw;
  width: 100vw;
  user-select: none;
}
.quote-item q {
  font-size: 30px;
  font-weight: var(--font-weight-semibold);
  max-width: 800px;
  width: 100%;
  color: var(--white);
  padding-bottom: 20px;
}
.quote-author {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  max-width: 800px;
  width: 100%;
}
.quote-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}
.quote-author-name p, .quote-author-name h4 {
  font-family: 'Inter', sans-serif;
}
.quote-author-name h4 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}
.quote-author-name p {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--white);
  margin: 0;
}
.machines-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.machines-controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: end;
  max-width: 300px;
  flex: 1;
}
.machines-controls img {
  width: 30px;
  cursor: pointer;
}
.machines-list {
  display: flex;
  flex-direction: row;
  padding-top: 30px;
  gap: 20px;
  transform: translateX(0);
  transition: transform 0.5s ease;
}
.machines-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--very-light-grey);
  border-radius: 10px;
  padding: 12px;
  min-width: 500px;
  min-height: 250px;
  user-select: none;
}
.machines-item p {
  font-family: 'Inter', sans-serif;
}
.machines-overview {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.machines-overview img {
  width: 200px;
  border-radius: 10px;
}
.machine-badge {
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 25px;
  border: 1px solid var(--white);
  height: fit-content;
}

/* Lehrberuf */
.lehrberuf-header {
  display: flex;
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin: 0;
}
.lehrberuf-header figure {
  margin: 0;
}
.lehrberuf-header img {
  width: 100vw;
  max-height: calc(100vh - 80px);
  object-fit: cover;
}
.lehrberuf-header .wp-block-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.lehrberuf-h2 {
  font-size: 45px;
  font-weight: var(--font-weight-medium);
  line-height: 65px;
  color: var(--white);
}
.lehrberuf-loc-grid > div {
  background-color: var(--white);
  color: var(--black);
  border-radius: 15px;
  padding: 20px;
  min-height: 400px;
  width: 100%;
}
.lehrberuf-loc-grid h6 {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
}
.lehrberuf-loc-grid h3 {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
}
.lehrberuf-loc-grid p, .lehrberuf-coaches p {
  font-size: 13px;
  line-height: 20px;
}
.lehrberuf-coaches > div {
  padding: 20px;
  width: 100%;
}
.lehrberuf-coaches h3 {
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  margin-bottom: 0;
}
.lehrberuf-coaches figure {
  margin: 0;
}
.no-margin-top {
  margin-top: 0;
}
.lehrberuf-numbering > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 200px;
}
.vertical-scroll-line {
  content: '';
  height: 200px;
  width: 1px;
  background-color: var(--light-grey);
  /*opacity: calc(var(--is-white-mode) * 0.8);*/
}
.scroll-overlay {
  background-color: var(--white);
}
.lehrberuf-padding {
  padding-inline: 100px;
}
.lehrberuf-numbering-block p {
  font-size: 14px;
  line-height: 24px;
}

/* Benefits */
.benefits-grid-item {
  max-width: 280px;
}
.benefits-grid-item img {
  filter: invert(var(--is-white-mode));
}
.benefits-grid-item hr {
  width: 100%;
  border: 1px solid var(--grid-grey);
  margin-left: 20px;
}
.benefits-grid-item h2 {
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  margin-top: 30px;
  margin-bottom: 15px;
}
.benefits-grid-item p {
  font-size: 13px;
  line-height: 25px;
  margin-bottom: 50px;
}

/* Lehre bei Intemann */
.figure-no-margin {
  margin: 0;
}
.lehre-intemann-img {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin: 0;
  padding: 0;
}
.lehre-intemann-img img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
}
.lehre-intemann-table > * {
  width: 50%;
}
.lehre-intemann-table p {
  padding-top: 20px;
  font-size: 16px;
  line-height: 25px;
  font-weight: var(--font-weight-medium);
}
.lehre-intemann-text {
  font-size: 16px;
  line-height: 25px;
}
.lehre-intemann-file {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin: 0;
  padding-block: 80px;
  background-color: var(--grid-grey);
}
.lehre-intemann-file > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wp-block-file {
  display: flex;
  justify-content: space-between;
  background-color: var(--black);
  color: var(--white);
  border-radius: 10px;
  padding: 20px;
  height: 100px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.wp-block-file a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  color: var(--white);
  text-decoration: none !important;
  font-size: 20px;
  font-weight: var(--font-weight-medium);
}
.wp-block-file .wp-block-file__button {
  content: url('assets/download-button.svg');
  background: none;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  filter: invert(var(--is-white-mode));
}
.wp-block-file a:nth-child(1)::after {
  content: 'PDF';
  left: 0;
}
.img-light-dark-filter {
  filter: invert(var(--is-white-mode));
}
.always-white {
  color: var(--always-white) !important;
}

/* Projects */
.projects-content {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--site-width);
  margin: 0 auto;
}
.project-facts {
  max-width: 1000px;
  margin: 0 auto;
}
.project-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  column-gap: 30px;
}
.project-table div {
  padding: 0 20px;
  border-top: 1px solid var(--white);
}
.project-table h4 {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 0;
}
.project-table p {
  margin-top: 10px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-button {
  text-decoration: none;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 25px;
  margin: 1px;
  padding: 12px 24px;
}
.category-button:hover {
  border: 2px solid var(--white);
  margin: 0;
}
.category-button.active {
  border: 2px solid var(--white);
  margin: 0;
}
.article-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  justify-content: start !important;
}
.post-categories {
  position: absolute;
}
.article-item {
  min-width: 150px;
  min-height: 400px;
}
.article-item img {
  width: 100%;
  max-width: 400px;
  height: fit-content;
  object-fit: cover;
}
.projects-next-button {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-inline: 5px;
}
.projects-next-button img {
  width: 40px;
}
/* mobile project dropdown */
  .custom-select {
    position: relative;
    width: 400px;
    max-width: 100%;
    font-size: 15px;
    color: var(--white);
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  .select-button {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 40px;
    font-size: 15px;
    background-color: var(--black);
    padding: 0.675em 1em;
    border: 1px solid var(--white);
    cursor: pointer;
  }
  .selected-value {
    color: var(--white);
    text-align: left;
    text-transform: capitalize;
  }
  .arrow {
    content: url('assets/PfeilDropdown.svg');
    transition: transform ease-in-out 0.3s;
  }
  .select-dropdown {
    position: absolute;
    list-style: none;
    width: calc(100% - 10px);
    background-color: black;
    padding: 0px;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: hidden;
    transition: 0.5s ease;

    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  .select-dropdown:focus-within {
    box-shadow: none;
  }
  .select-dropdown li {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: var(--black);
    margin: 1px;
    height: 40px;
  }
  .select-dropdown li label {
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
  }
  .select-dropdown::-webkit-scrollbar {
    width: 7px;
  }
  .select-dropdown::-webkit-scrollbar-track {
    background: var(--darker-grey);
    border-radius: 25px;
  }
  .select-dropdown::-webkit-scrollbar-thumb {
    background: var(--light-grey);
    border-radius: 25px;
  }
  .select-dropdown li:hover,
  .select-dropdown input:checked ~ label,
  .select-dropdown input:checked {
    background-color: var(--black);
    color: var(--light-grey);
  }
  .select-dropdown input:focus ~ label {
    background-color: var(--light-grey);
  }
  .select-dropdown input[type="radio"] {
    position: absolute;
    left: 0;
    opacity: 0;
  }
  .custom-select.active .arrow {
    transform: rotate(180deg);
  }
  .custom-select.active .select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
/* mobile project dropdown end */


/* Know-How */
.know-how-text {
  font-size: 32px;
  line-height: 36px;
}
.accordion {
  width: 100%;
  background-color: var(--black);
  border: none;
  border-top: 1px solid var(--light-grey);
  text-align: left;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
.accordion:after {
  content: url('assets/plus-icon.svg');
  transition: transform 0.3s ease; /* Added transition for rotation */
  transform: scale(0.8);
  filter: invert(var(--is-white-mode));
}
.accordion.active:after {
  transform: rotate(45deg); /* Rotate 45 degrees to make an "X" */
}
.accordion.last:after {
  content: none;
}
.accordion.last:hover, .accordion.last {
  background-color: var(--black);
  cursor: default;
}

.panel {
  max-height: 0;
  background-color: var(--black);
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Smooth transition for panel */
  color: var(--white);
}
.panel p {
  padding: 15px;
  font-size: 13px;
  line-height: 20px;
  margin-top: 0;
  padding-top: 0;
}
.panel.open {
    max-height: 200px; /* You can adjust the max-height as needed */
}

/* About */
.about-title {
  font-weight: var(--font-weight-medium);
  font-size: 50px;
  padding-bottom: 80px;
  margin: 0;
}
.about-contact-links {
  text-decoration: underline;
  color: var(--white);
}
.about-contact-links:hover {
  text-decoration: none;
}
.about-name {
  font-weight: var(--font-weight-bold);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  padding-inline: 120px;
}
.about-grid figure {
  width: 100%;
}
.about-grid img {
  width: 100%;
  height: fit-content;
  object-fit: cover;
}

/* Contact */
.contact-contact {
  font-size: 24px;
  line-height: 40px;
  padding-left: 100px;
}
.contact-contact a {
  text-decoration: none;
  color: var(--white);
}
.contact-anfahrt {
  padding-inline: 100px;
}
.contact-p {
  font-size: 14px;
  line-height: 20px;
  max-width: 400px;
  padding-bottom: 20px;
}
.contact-h3 {
  font-weight: var(--font-weight-medium);
  font-size: 24px;
  padding-bottom: 20px;
}
/* animate underline on hover going from left to right */
.contact-a a {
  text-decoration: none;
  color: var(--white);
  position: relative;
}
.contact-a a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease-in-out 0s;
}
.contact-a a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}
  

/* contact-div on multiple pages */
.padding-left {
  padding-left: 200px;
}

/* Posts - single.php */
.content-area {
  display: inline-block;
}
.content-thin {
  width: 70%;
}
.content-full-width {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.spacer {
  height: 50px;
}
.small-spacer {
  height: 100px;
}
.article-full {
  width: 100%;
}
.post-h1 {
  font-size: 100px;
  font-weight: var(--font-weight-medium);
  padding-bottom: 20px;
  margin: 0;
}
.post-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
}
.post-gallery {
  width: 100%;
  margin: 0 auto;
}
.post-gallery-item-wf {
  /* flex: make it so that two columns are use  */
  flex: 1 0 50%;
}
.post-hp {
  font-size: 32px;
  padding-bottom: 20px;
}



/* 'Margin: 0 auto' centers block content on the page */
.wrap {
  width: 100%;
  margin: 0 auto;
}



/* Footer */
footer {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--white);
}
footer > hr {
  width: 99.9%;
  border: 1px solid var(--white);
  opacity: 70%;
  margin: 0 auto;
  max-width: var(--site-width);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 20px;

  max-width: var(--site-width);
  padding-block: 80px;
}
.footer-content a {
  font-size: 14px;
  color: var(--white);
  text-decoration: underline;
}
.footer-content ul {
  list-style: none;
}
.footer-legal ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.footer-address {
  min-width: var(--footer-wrap-min-width);
  padding-block-end: 10px;
}
.footer-address-contact {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.footer-address-contact h1 {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--white);
  margin: 0;
  margin-bottom: 12px;
}
.footer-lehre {
  font-size: 16px !important;
  line-height: 25px;
  width: 400px;
}
.footer-nav-action {
  border: 1px solid var(--white);
  border-radius: 25px;
  background-color: var(--white);
  color: var(--black) !important;
  padding: 10px 20px;
  text-decoration: none !important;
  margin-right: 10px;
}
.footer-intemann-action {
  border: 1px solid var(--white);
  border-radius: 25px;
  padding: 10px 20px;
  text-decoration: none !important;

}
.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  max-width: var(--site-width);
  margin: 0 auto;
  padding-block: 30px;
}
.footer-legal-bar a {
  color: var(--white);
  text-decoration: none;
}
.footer-mobile-padding {
  padding-inline: 0px;
}
footer .logo {
  margin-left: 0;
}
.footer-social img {
  padding-bottom: 5px;
  padding-right: 10px;
  width: 30px;
  filter: invert(var(--is-white-mode));
}



/* WPForm customization */
.wpform {
  width: 100%;
  padding: 0;
  margin: 0;
}
.wpform input, .wpforms-field-label-inline {
  font-family: 'Inter', sans-serif !important;
}
.wpforms-title {
  display: flex;
  padding-bottom: 0px !important;
  overflow: hidden !important;
}
.wpforms-title label {
  font-size: 18px;
  min-width: fit-content;
  padding-top: 20px;
}
.wpforms-title input {
  font-size: 12px;
  padding-block: 0;
  border: none;
  margin-top: 22px !important;
}
.wpforms-title input::placeholder {
  color: var(--tennis-red);
}
.wpforms-submit {
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: var(--black);
  background-color: var(--white);
  border: 0;
  border-radius: 25px;
  padding: 12px 24px;
  margin-top: 52px;
  /* center button */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wpforms-submit:hover {
  cursor: pointer;
}
.wpforms-form {
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  color: var(--white);
}
::placeholder{
  color: var(--white);
}
.wpforms-field-medium {
  color: var(--white);
  background-color: var(--black);
  border: none;
  border-bottom: 1px solid var(--white);
  padding: 10px;
  max-width: none !important;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field-medium:focus {
  outline: none;
}
.wpforms-field-full-border textarea {
  color: var(--white);
  background-color: var(--black);
  border: 1px solid var(--white);
  padding: 10px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
/* textarea placeholder color should be grey */
.wpforms-field-full-border textarea::placeholder {
  color: var(--text-grey);
}
.wpforms-field-full-border textarea:focus {
  outline: none;
}
.wpforms-field-full-width {
  flex: 1 0 100% !important;
}
.wpforms-field-half-width input {
  width: 100% !important;
}
.wpforms-container textarea.wpforms-field-medium {
  height: 250px !important;
}
.wpforms-field-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
}
.wpforms-field {
  flex: 1 0 45%;
  padding-top: 0 !important;
  min-width: 250px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 20px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-mitgliedsform label {
  vertical-align: middle !important;
}
.wpforms-field ul {
  display: inline;
  list-style: none;
  padding-left: 0;
  padding-bottom: 20px;
  margin-bottom: 5px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field li {
  display: inline-block;
  padding-block: 8px !important;
  margin: 5px;
  border: 1px solid var(--white) !important;
  border-radius: 25px;
}
.wpforms-field li label {
  padding-block: 8px !important;
  padding-inline: 20px !important;
}
.wpforms-container ul li {
  margin-right: 5px;
  margin-bottom: 5px;
}
.wpforms-field li input[type="radio"] {
  display: none;
}
.wpforms-interest-checkboxes input[type="checkbox"] {
  display: none;
}
.wpforms-data-privacy-check li {
  border: none !important;
  padding-left: 0 !important;
  display: flex;
  align-items: center;
}
/* custom border around input of .wpforms-data-privacy-check checkbox */
.wpforms-data-privacy-check input[type="checkbox"] {
  margin: 0 !important;
}
.wpforms-selected input[type="checkbox"] {
  accent-color: var(--white);
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-payment-price {
  appearance: unset !important;
  border: 1px solid var(--white) !important;
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  padding-inline: 7px !important;
}
.wpforms-payment-price:checked {
  background-image: url('assets/Checkbox.svg');
  border-radius: 0px;
  -webkit-border-radius: 0px;
  filter: invert(var(--is-white-mode));
}
.step-number {
  display: flex;
  align-items: end;
  height: 100%;
  position: absolute;
  transform: translateX(-100px);
  width: fit-content;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
}
.wpforms-placeholder {
  opacity: 0;
}



/* Kontakt Page */
.mapster-wp-maps-container {
  width: 100%;
}

/* Posts */
.article-go-back {
  position: fixed;
  display: flex;
  justify-content: space-between;
  padding-block: 5px;
  padding-inline: 10px;
  border: 1px solid var(--white);
  border-radius: 25px;
  text-decoration: none;
  color: var(--white);
  width: 85px;
  transition: width 0.3s ease;
}
.article-go-back:hover {
  background-color: var(--background-color);
  width: 95px;
  transition: width 0.3s ease;
}

.post-sidebar-min-width {
  min-width: 400px;
}
.blog-image-full-width {
  width: 100%;
  margin: 0;
}
.post-no-gap {
  gap: 0;
}
.post-right-align {
  align-items: flex-end !important;
}
.no-decoration-link {
  color: var(--black);
  text-decoration: none;
  line-height: 1.5em;
}
