/*
Theme Name: Mazda Wohlgenannt
Author: Schiemer Software GmbH
Author URI: https://schiemer-software.com/
Description: Mazda Wohlgenannt theme
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --grey: #C4C4C4;
  --hr-grey: #B5B5B5;
  --lighter-grey: #F7F7F7;
  --home-text-grey: #3E3E3E;
  --white: #ffffff;
  --black: #000000;

  --site-width: 1200px;
  --mobile-padding: 20px;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  background-color: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

* {
  font-family: 'Poppins', sans-serif;
  /*outline: 1px solid #f00 !important;*/
}
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: var(--white);
  z-index: 9999;
  transition: width 0.25s ease-out; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

@media screen and (max-width: 1200px) {
  .full-width-img img {
    left: 0 !important;
  }
  .home-section-full-width-dark, .home-section-full-width-grey, .werkstatt-container {
    left: 0 !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .custom-cursor {
    display: none;
  }

  body, html, .header {
    overflow-x: hidden !important;
  }

  /* Header */
  .logo {
    width: 150px !important;
    left: 0 !important;
  }
  header {
    padding-inline: 0 !important;
  }
  .max-width-wrapper {
    margin: unset !important
  }
  .message-bar-text {
    max-width: 300px;
  }
  .header-contact-slide {
    width: 100vw !important;
    padding: 0 !important;
    z-index: 999 !important;
  }
  .header-contact-slide a {
    font-size: 18px !important;
    line-height: 20px !important;
  }
  .header-socials a {
    font-size: 12px !important;
  }
  .header-socials {
    gap: 0 !important;
  }
  .header-menu ul {
    padding: var(--mobile-padding)
  }
  .header-menu ul li a {
    font-size: 60px;
  }
  .header-right {
    width: 100%;
    margin-bottom: 50px;
    transform: translateX(var(--mobile-padding));
  }
  .message-bar {
    top: 75px !important;
  }
  :root:has(#wpadminbar) .message-bar, body:has(#wpadminbar) .message-bar {
    top: 122px !important;
  }



  /* Home Page */
  .home-talent-container {
    margin-inline: 10px !important;
  }
  .home-phases-container {
    grid-template-columns: 1fr !important;
  }
  .home-phases-container div {
    min-width: 100px !important;
    height: 130px !important;
  }
  .home-phases-container div::after {
    top: -17px !important;
  }
  .home-phases-container div:nth-child(1)::after, .home-phases-container div:nth-child(3)::after {
    align-self: flex-start !important;
  }
  .home-phases-container div:nth-child(2)::after, .home-phases-container div:nth-child(4)::after {
    align-self: flex-end !important;
  }
  .home-phases-container div:nth-child(3)::after, .home-phases-container div:nth-child(4)::after {
    top: 5px !important;
  }
  .home-phases-container div::after {
    font-size: 10em !important;
  }
  .home-projects > div {
    margin-inline: 10px !important;
    flex-direction: column !important;
    max-height: fit-content !important;
    margin-block: 20px !important;
  }
  .home-projects a {
    align-self: flex-end !important;
  }
  .mobile-padding {
    padding-inline: var(--mobile-padding) !important;
  }
  .home-talent-container div:hover, .home-talent-container div:hover * {
    background: var(--background-grey) !important;
  }
  .home-section, .home-section-dark {
    margin-inline: var(--mobile-padding) !important;
  }
  .home-section-content {
    flex-direction: column !important;
  }
  .home-section-content > img {
    width: 100% !important;
    padding-block: 20px !important;
  }
  .home-h1-text {
    position: relative !important;
    color: var(--black) !important;
    transform: translateY(0) !important;
    padding-top: 70px !important;
    padding-bottom: 50px !important;
    padding-inline: var(--mobile-padding) !important;
  }
  .home-h1-text h1 {
    font-size: 23px !important;
    line-height: 35px !important;
  }
  .home-h1-text b {
    font-weight: var(--font-weight-semibold) !important;
  }
  .home-h1-text-more img {
    width: 15px !important;
    filter: invert(100%) !important;
  }
  .home-section-text {
    width: 100% !important;
    padding: unset !important;
  }
  .home-section-text h1, .home-section-dark h1 {
    font-size: 20px !important;
    line-height: 35px !important;
  }
  .home-section-text b, .home-section-dark b {
    font-weight: var(--font-weight-semibold) !important;
  }
  .home-section-text p {
    font-size: 14px !important;
    line-height: 25px !important;
  }
  .home-section-details {
    padding-block: 20px !important;
  }
  .home-section-himgs {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .home-section-himgs img {
    width: 100% !important;
  }
  .home-section-gallery-controls img {
    width: 30px !important;
  }
  /*.home-section-gallery {
    padding-left: 5px;
  }
  .home-section-gallery-item {
    min-width: calc(100% - 30px) !important;
    height: 300px;
  }*/
  .home-section-termin-button {
    font-size: 13px !important;
  }
  .home-section-text-img {
    width: 100% !important;
  }
  .home-section-standort {
    width: 100% !important;
  }
  .home-horizontal-img {
    display: flex !important;
    flex-direction: column;
  }


  /* Über uns */
  .accordion {
    font-size: 16px !important;
    padding-left: 0 !important;
  }
  .panel p {
    font-size: 14px !important;
  }
  .panel.open {
    padding: 0 !important;
  }
  .ueber-uns-h1 {
    padding-inline: var(--mobile-padding) !important;
  }

  /* Team */
  .team-section {
    padding-inline: var(--mobile-padding) !important;
  }
  .team-grid {
    grid-template-columns: 1fr !important;
  }
  .team-section-content img {
    max-width: unset !important;
  }
  .team-item:nth-child(even) {
    transform: translateY(0) !important;
  }
  .team-overlay {
    left: 20px !important;
  }
  

  /* Werkstatt */
  .werkstatt-gallery {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  .werkstatt-gallery-big .home-section-gallery-item {
    min-height: 200px !important;
    min-width: 100px !important;
  }
  .werkstatt-h1, .ueber-uns-h1 {
    font-size: 23px !important;
    line-height: 35px !important;
  }
  .werkstatt-h1 b, .ueber-uns-h1 b {
    font-weight: var(--font-weight-semibold) !important;
  }

  /* Gebrauchtwagen */
  .gebrauchtwagen-main-row {
    flex-direction: column !important;
  }

  /* Termin */
  .termin-h2 {
    font-size: 23px !important;
    line-height: 35px !important;
  }
  .termin-h2 {
    padding-inline: var(--mobile-padding) !important;
  }
  .home-section h6 {
    font-size: 15px !important;
  }
  .termin-a {
    font-size: 19px !important;
    line-height: 35px !important;
  }
  .termin-time-p {
    font-size: 19px !important;
  }


  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: center !important;
    gap: 20px;
  }
  .footer-address {
    text-align: center !important;
  }
  .footer-legal-right {
    min-width: 500px;
  }
  .footer-svg-container {
    margin-top: 0 !important;
  }
  .footer-pages, .footer-company {
    padding-inline: var(--mobile-padding);
    width: 100% !important;
  }
  .footer-legal {
    margin-inline: var(--mobile-padding);
    padding-block: 20px !important;
  }
  .footer-social img {
    width: 35px !important;
    padding-bottom: 15px !important;
  }

  /* 404 */
  .error-404 {
    padding-inline: 10px !important;
  }

  
  /* Game */ 
  .game-controls {
    margin-top: 0 !important;
  }
  .game-container {
    padding-top: 20 !important;
  }
  .game-canvas {
    height: fit-content !important;
  }

  /* wpforms */
  .wpforms-field-container {
    margin-inline: 10px !important;
  }


  .hidden-on-mobile {
    display: none !important;
  }
  .only-visible-on-mobile {
    display: block !important;
  }
  .only-visible-on-mobile hr {
    color: var(--secondary-grey);
    opacity: 0.5;
  }
  .mobile-right-header {
    display: flex !important;
  }
  .word-break-on-mobile {
    word-break: break-all !important;
  }
}

.only-visible-on-mobile {
  display: none;
}
.word-break-on-mobile {
  word-break: keep-all;
}










body b {
  font-weight: var(--font-weight-medium);
}


/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding-block: 25px;
  gap: 20px;
  background-color: var(--black);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);

  position: fixed;
  right: 0;
  width: 100%;
  z-index: 1000;
}
.max-width-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--site-width);
  margin: 0 auto;
  width: 100%;
  background-color: transparent;
}
.logo {
  width: fit-content;
  margin-left: 10px;
  filter: invert(100%);
}
.header-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  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 p {
  margin-left: var(--left-space);
  font-weight: 500;
  margin-bottom: 0;
}
.header-menu.active {
  transform: translateY(0);
}
.header-menu-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  height: 100%;
  width: 100%;
}
.header-menu ul {
  list-style: none;
  padding: 0;
}
.header-menu ul li a {
  display: flex;
  flex-direction: row-reverse;
  text-decoration: none;

  font-size: 32px;
  font-weight: var(--font-weight-regular);
  color: var(--white);
  padding-block: 10px;
  padding-inline: var(--mobile-padding);
}
.header-menu ul li.current-menu-item a {
  color: var(--grey);
}
:root:has(.header-menu.active), body:has(.header-menu.active) {
  overflow: hidden;
  scrollbar-width: none;
}
.x-menu {
  display: none;
  z-index: 999999;
}
.x-menu:after {
  content: '+';
  font-size: 2.5em;
  color: var(--black);
  font-weight: 200;
  padding: 10px;
}
.active-menu-info {
  display: none;
}
.header-nav {
  display: flex;
  margin-bottom: -3px;
}
.header-nav a {
  text-decoration: none;
  color: var(--white);
  padding-inline: 10px;
  font-size: 14px;
}
.header-nav a.active {
  color: var(--grey);
}
.header-right {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.header-left {
  display: flex; 
  flex-direction: row;
  align-items: end;
  gap: 20px;
}
.header-contact {
  color: var(--black);
  background-color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  cursor: pointer;
}
.header-schedule {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}
.header-schedule img {
  filter: invert(100%);
}
.header-schedule.active {
  color: var(--grey);
}
.header-schedule.active img {
  filter: invert(89%) sepia(0%) saturate(227%) hue-rotate(169deg) brightness(90%) contrast(89%);
}
/* header-mobile */
.mobile-header-title {
  font-weight: var(--font-weight-regular);
  font-size: 20px;
  margin: 0;
  text-transform: uppercase;
}
.mobile-right-header {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding-right: var(--mobile-padding);
}
.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: 32px;
}
.nav-toggle .bar {
  height: 1px;
  width: 100%;
  background-color: var(--white);
  transition: all 100ms ease-in-out;

  --rotation-deg: 21.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: 35px;
}
.x:nth-of-type(2) {
  transition: all 100ms ease-in-out;
  transform-origin: center;
  width: 35px;
  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: 35px;
}
.mobile-header-contact-icon.active {
  filter: invert(89%) sepia(0%) saturate(227%) hue-rotate(169deg) brightness(90%) contrast(89%);
}
.message-bar {
  position: absolute;
  top: 90px;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.message-bar > div {
  justify-content: center;
}
/* if the wordpress admin bar id=wpadminbar is above the header --> move the message bar down */
:root:has(#wpadminbar) .message-bar, body:has(#wpadminbar) .message-bar {
  top: 122px;
}
/* if header-menu active --> hide message-bar */
:root:has(.header-menu.active) .message-bar, body:has(.header-menu.active) .message-bar {
  opacity: 0;
}
.message-bar-text {
  text-align: center;
}

/* Home Page */
.full-width-img {
  position: relative;
  width: 100%;
}
.full-width-img {
  margin: 0;
}
.full-width-img img {
  width: 100%;
  object-fit: cover;
}
.title-img-container {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
}
.home-h1-text {
  position: absolute;
  bottom: 70px;
  left: 70px;
  color: var(--white);
}
.home-h1-text h1 {
  font-size: 20px;
  font-weight: var(--font-weight-regular);
  line-height: 30px;
}
.home-h1-text-more {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.home-h1-text-more img {
  width: 20px;
}
.home-section, .home-section-dark {
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid var(--hr-grey);
}
.home-section-dark {
  border-top: 0;
  padding-block: 60px;
  max-width: var(--site-width);
  margin: 0 auto;
}
.home-section-dark::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--hr-grey);
}
.home-section-title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 25px;
}
.home-section-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.home-section-content img {
  width: 50%;
}
.home-section-text {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 50px;
  padding-top: 0;
}
.home-section-text span, .animation-grey span {
  background: linear-gradient(
    to right,
    rgb(0, 0, 0) 50%,
    rgb(155, 155, 155) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.animation-white span {
  background: linear-gradient(
    to right,
    rgb(255, 255, 255) 50%,
    rgb(155, 155, 155) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.home-section-text h1, .home-section-dark h1 {
  font-size: 36px;
  font-weight: var(--font-weight-regular);
  line-height: 55px;
}
.home-section-text a, .home-section-dark a {
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
}
.home-section-text a:hover > p::after, .home-section-dark a:hover > p::after {
  /* animate width from 0 to 100% */
  transition: width 0.3s ease-in-out;
  width: 100%;
}
.home-section-text a:hover > img, .home-section-dark a:hover > img {
  transform: translateX(10px);
  transition: transform 0.3s ease-in-out;
}
.home-section-text p {
  font-size: 16px;
  line-height: 28px;
}
.home-section-dark a {
  justify-content: flex-start;
  color: var(--white);
}
.home-section-text a > p::after, .home-section-dark a > p::after {
  width: 0;
  content: '';
  display: block;
  border-bottom: 1px solid var(--black);
  position: relative;
  transform: translateY(5px);
  transition: width 0.3s ease-in-out;
}
.home-section-dark a > p::after {
  border-bottom: 1px solid var(--white);
}
.home-section-dark a > img {
  filter: invert(100%);
}

.home-section-text img {
  width: 15px;
  transition: transform 0.3s ease-in-out;
}
.home-section-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-section-details h2 {
  font-weight: var(--font-weight-regular);
  border-bottom: 2px solid var(--lighter-grey);
  padding: 10px;
}
.home-section-details p { 
  font-size: 15px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
}
.home-section-detail {
  max-width: 170px;
}
.home-section-himgs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.home-section-himgs img {
  width: 50%;
  height: auto;
}
.home-section-full-width-dark, .home-section-full-width-grey {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  background-color: var(--black);
  color: var(--white);
}
.home-section-full-width-grey {
  background-color: var(--lighter-grey);
  color: var(--black);
}
.home-section-full-width-grey a {
  color: var(--black);
}
.home-section-full-width-grey a > p::after {
  border-bottom: 1px solid var(--black);
}
.home-section-full-width-grey a > img {
  filter: none;
}
.home-section-text-img {
  width: 40%;
}
.home-section-text-img img {
  width: 100%;
}
/* rotate visit us text 90° degrees and add a bar before */
.home-section-visit-us-p {
  writing-mode: vertical-rl;
  transform: rotate(-180deg);
}
.home-section-visit-us-bar {
  display: block;
  position: relative;
  content: '';
  width: 1px;
  height: 60px;
  background-color: var(--black);
  transform: translateY(10px);
}
.home-visit-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; 
  top: -60px;
}
.home-section-gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 50px;
  cursor: pointer;
}
.home-section-gallery-controls img {
  width: 40px;
}
.home-section-gallery-controls :nth-child(1) {
  transform: rotate(180deg);
}
.home-section-termin-button {
  border: 1px solid var(--white);
  border-radius: 25px;
  padding: 10px 20px;
  width: fit-content;
  align-self: center;
}
.home-section-gallery {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-top: 30px;
  padding-bottom: 60px;
  overflow-x: hidden;
  width: fit-content;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  user-select: none;
}
.home-section-gallery-item {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  border: 1px solid var(--white);
  padding: 20px 10px;
  min-width: 200px;
}
.home-section-gallery-item h1 {
  text-align: center;
  font-size: 16px;
  font-weight: var(--font-weight-regular);
}
.home-section-gallery-item p {
  text-align: center;
  font-size: 11px;
  line-height: 18px;
}
.home-section-standort {
  width: 80%;
  align-self: center;
}
.home-horizontal-img img {
  height: 100% !important;
  max-height: 400px !important;
  box-sizing: unset !important;
  object-fit: cover;
}
.home-insta-feed {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Über uns */
.ueber-uns-h1 {
  font-weight: var(--font-weight-regular);
  font-size: 36px;
  line-height: 45px;
}
.ueber-uns-img {
  margin: 0;
  width: 100%;
}
.ueber-uns-history {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  max-width: calc(var(--site-width) - 300px);
  margin: 0 auto;
}
.ueber-uns-history h1 {
  font-size: 36px;
  line-height: 45px;
  font-weight: var(--font-weight-regular);
}
.accordion {
  width: 100%;
  background-color: var(--lighter-grey);
  border: none;
  border-top: 1px solid var(--hr-grey);
  text-align: left;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
.accordion:hover {
  background-color: var(--lighter-grey);
}
.accordion:after {
  content: url('assets/plus-icon.svg');
  transition: transform 0.3s ease; /* Added transition for rotation */ 
  transform: scale(0.7);
  filter: invert(67%) sepia(46%) saturate(8%) hue-rotate(173deg) brightness(98%) contrast(95%);
}
.accordion.active:after {
  transform: scale(0.7) rotate(45deg); /* Rotate 45 degrees to make an "X" */
}
.accordion.last:after {
  content: none;
}
.accordion.last:hover, .accordion.last {
  background-color: var(--lighter-grey);
  cursor: default;
}
.panel {
  max-height: 0;
  padding: 0 18px;
  background-color: var(--lighter-grey);
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* Smooth transition for panel */
  color: var(--black);
}
.panel p {
  padding: 15px;
  font-size: 16px;
  line-height: 23px;
}
.panel.open {
    max-height: 300px; /* You can adjust the max-height as needed */
    padding: 15px 18px;
}

/* Team */
.team-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.team-section-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  width: 100%;
}
.team-section-content img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.team-item {
  position: relative;
  padding-bottom: 100px;
}
.team-item:nth-child(even) {
  transform: translateY(150px);
}
.team-item h2 {
  font-weight: var(--font-weight-semibold);
  font-size: 20px;
  line-height: 40px;
  margin-bottom: 0;
  margin-top: -20px;
}
.team-item p {
  font-size: 14px;
  margin: 0;
}
.team-item a {
  font-size: 14px;
  color: var(--grey);
  text-decoration: none;
  line-height: 20px;
}
.team-portrait-container {
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
}
.team-portrait {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  transform: translateY(-150%);
  color: var(--white);
  gap: 10px;
  border-radius: 25px;
  padding: 5px 10px;
  margin-right: 20px;
  width: fit-content;
  cursor: pointer;
  background-color: var(--black);
}
.team-portrait img {
  width: 25px;
  height: 25px;
}
.team-overlay {
  display: none;
  flex-direction: column;
  align-items: start;
  position: absolute;
  top: 20px;
  left: 25px;
  width: 100%;
  max-width: calc(100% - 40px);
}
.team-overlay img {
  width: 15px;
  height: 15px;
  padding: 10px;
  align-self: flex-end;
  cursor: pointer;
}
.team-overlay h2 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  margin: 0;
}
.team-overlay p:first-of-type {
  padding-bottom: 40px;
}
.team-overlay p {
  font-size: 14px;
  line-height: 22px;
}

/* Termin */
.termin-back {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: var(--grey);
  font-size: 12px;
}
.termin-back p {
  transition: transform 0.3s ease;
}
.termin-back img {
  padding-right: 10px;
}
.termin-back:hover p {
  color: var(--black);
  transform: translateX(10px);
  transition: transform 0.3s ease;
}
.termin-back:hover img {
  filter: brightness(0%);
}
.termin-h2 {
  font-weight: var(--font-weight-regular);
  font-size: 32px;
  line-height: 50px;
  padding-bottom: 20px;
}
.home-section h6 {
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 20px;
  margin-bottom: 10px;
  margin-top: 40px;
}
.termin-a {
  text-decoration: none;
  color: var(--black);
  font-size: 22px;
  line-height: 50px;
  position: relative;
  width: fit-content;
}
.termin-a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--black);
}
.termin-section-content {
  justify-content: center;
  padding-block: 50px;
}
.termin-section-content img {
  max-width: 450px;
}
.termin-item:nth-child(even) {
  transform: translateY(0px);
}
.termin-time-p {
  font-size: 22px; 
  line-height: 35px
}

/* Gebrauchtwagen */
.gebrauchtwagen-column {
  gap: 0;
}
.gebrauchtwagen-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  background-color: var(--black);
  padding-block: 20px;
}
.gebrauchtwagen-row img {
  filter: invert(100%);
}
.gebrauchtwagen-a a {
  width: fit-content;
  color: var(--white);
  text-decoration: none;
  position: relative;
}
.gebrauchtwagen-a a:after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background-color: var(--white);
}

/* Bosch Facts */
.bosch-service-acc-pan .accordion, .bosch-service-acc-pan .panel {
  background-color: var(--white);
}
.bosch-service-acc-pan .accordion:after {
  filter: invert(100%);
}
.bosch-service-acc-pan .accordion:hover {
  background-color: var(--lighter-grey);
}
.bosch-service-acc-pan .accordion.last:hover {
  background-color: var(--white);
}

/* Werkstatt */
.werkstatt-container {
  background-color: var(--black);
  color: var(--white);
  width: 100vw;
  left: calc(-50vw + 50%);
  position: relative;
}
.werkstatt-content {
  max-width: var(--site-width);
  margin: 0 auto;
}
.werkstatt-h1 {
  font-weight: var(--font-weight-regular);
  font-size: 36px;
  line-height: 45px;
}
.werkstatt-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid var(--hr-grey);
}
.werkstatt-section-title {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.werkstatt-termin-button {
  text-decoration: none;
  color: var(--white);
}
.werkstatt-h1 {
  font-weight: var(--font-weight-regular);
}
.werkstatt-a p {
  color: var(--white);
}
.werkstatt-a img {
  filter: invert(100%);
}
.werkstatt-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  padding-block: 50px;
}
.werkstatt-a > p::after {
  border-bottom: 1px solid var(--white) !important;
}
.werkstatt-gallery .home-section-gallery-item {
  min-height: 240px;
}
.align-end {
  align-self: end;
}

/* Kontakt */ 
.kontakt-form-container {
  align-items: start;
  padding-top: 30px;
  gap: 50px;
}

/* Footer */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 4px;
  background-color: var(--black);
  font-size: 11px;
}
.footer-wrapper {
  margin: 0 auto;
  max-width: var(--site-width);
  width: 100%;
}
footer h2 {
  color: var(--white);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  line-height: 28px;
}
.footer-social img {
  padding-bottom: 5px;
  padding-right: 10px;
  width: 30px;
}
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-block: 60px;
}
.footer-content a { 
  text-decoration: none;
  color: var(--white);
}

.footer-pages {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  gap: 10px;
  width: 400px;
}
.footer-pages ul {
  list-style: none;
  padding-left: 0;
}
.footer-address {
  text-align: right;
  min-width: var(--footer-wrap-min-width);
}
.footer-address a, .footer-pages a {
  line-height: 18px;
}
.footer-legal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-block: 10px;
  color: var(--white);
  font-size: 13px;
  border-top: 1px solid var(--grey);
}
.footer-legal-left {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-legal-left a {
  text-decoration: none;
  color: var(--white);
}
.footer-legal-right {
  width: 400px;
}
.footer-legal-right a {
  text-decoration: underline;
  color: var(--white);
}
.footer-content ul {
  list-style: none;
}
.footer-svg-container {
  display: flex; 
  justify-content: center; 
  margin-top: 20px;
}
.footer-svg {
  width: 100%;
  height: auto;
  max-width: var(--site-width);
  margin: 0 auto;
  padding-block: 80px;
}
.mobile-footer-h2 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  margin-block: 0;
  text-transform: uppercase;
}
.mobile-footer-p {
  width: calc(100% - (var(--mobile-padding) * 2));
}



/* WPForm customization */
.wpforms-form {
  width: 90%;
  padding: 0;
  margin: 0;
}
.wpforms-submit {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 25px;
  padding: 12px 24px;
  margin-top: 52px;
  /* center button */
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wpforms-form {
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  color: var(--black);
}
::placeholder{
  color: var(--black);
}
.wpforms-field-medium {
  color: var(--black);
  background-color: var(--white);
  border: none;
  border-bottom: 1px solid var(--black);
  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(--black);
  background-color: var(--white);
  border: 1px solid var(--white);
  border-bottom: 1px solid var(--black);
  padding: 10px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field-full-border textarea:focus {
  outline: none;
}
.wpforms-field-full-width {
  flex: 1 0 100% !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-selected input[type="checkbox"] {
  accent-color: var(--black);
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-payment-price {
  appearance: unset !important;
  border: 1px solid var(--black) !important;
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
}
.wpforms-payment-price:checked {
  background-image: url('assets/Checkbox.svg');
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-data-privacy-check li {
  border: none !important;
  padding-left: 0 !important;
  display: flex;
  align-items: center;
}
.wpforms-data-privacy-check li.wpforms-selected {
  background-color: var(--white);
  color: var(--black);
}
/* custom border around input of .wpforms-data-privacy-check checkbox */
.wpforms-data-privacy-check input[type="checkbox"] {
  margin: 0 !important;
  margin-right: 10px !important;
}




/* Posts */
.article-go-back {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding-block: 10px;
}
.article-go-back img {
  transform: rotate(180deg);
  padding-left: 10px;
}
.article-go-back a {
  color: var(--black);
}
.post-sidebar-min-width {
  min-width: 400px;
}
.blog-image-full-width {
  width: 100%;
  margin: 0;
}

/* Page? */
.wrap {
  width: 100%;
  margin: 0 auto;
}
.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: 150px;
}
.small-spacer {
  height: 100px;
}
.article-full {
  width: 100%;
}
.error-404 {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
}


/* Project Sub-pages */
.project-figure {
  margin: 0;
  position: relative;
  z-index: 100;
}
.project-figure img {
  width: 100%;
  height: auto;
}
.project-grid-text {
  padding: 20px;
  max-width: 500px;
}