* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('assets/fonts/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


:root {
    --cream: #fff;
    --blue: #122847;
    --bluealt: #2b3543;
    --lightblue: #77acf9;
    --dark: #202324;
    --white: #fff;
    --lightgreen: #D4DFE1;
}

/* Basic styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
  
}

ul {
    list-style-type: disc; /* Adds bullet points */
    padding-left: 40px; /* Adds space before the list items */
    font-size: 18px
}

.ulcar {
  list-style: none;
  padding-left: 0; /* Adds space before the list items */
}

.ulcar li::before {
  content: "\f058"; /* fa-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #60797e;
  margin-right: 0.5em;
}


.wrappinger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  align-items: start;
}

.innercontent {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 98%;
}

.innercontent p span {
  padding: 6px 10px 6px 10px;
  background-color: rgb(244, 244, 244);
  border-radius: 20px;
  border: 2px solid #60797e;
  font-size: 14px;
  font-weight: 600;
}

.anfrage span {

  font-size: 15px;
  font-weight: 600;
  text-align: center;
  align-self: flex-start;
text-decoration: underline;
}

.anfrage span:hover {
  transition: all 0.3s;
  transform: scale(1.05)
}

.textwrap {
  display: flex;
  justify-content: space-between;
}

.innercontent h3 {
  padding-left: 30px;
}

.innercontent h4 {
  padding-left: 30px;
  padding-top: 12px;
  margin-bottom: -3px;
}

.innercontent img:hover {
  transition: all 0.3s;
  transform: scale(1.05)
}

.textwrap span {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px 30px 45px 20px;
}

.squareimg:hover{
  transition: all 0.3s;
  transform: scale(1.05)
}

.carcontainer {
  background-color: var(--lightgreen);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-radius: 3px;
}

.carimg {
  max-width: 325px;
  align-self: center;
  margin: 24px 5px 6px 5px;
}

.textcontent {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding: 4px 30px 35px 30px;
}

.textcontent ul li {
  font-size: 15px;
}

.anfrage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 30px;
  padding-left: 30px
}

.squareimg {
  max-width: 525px;
  justify-self: end;
}

img {
    display: block;
    width: 100%;
}




.wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0px auto;
}

.twocolumn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.threecolumn {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.menulinksection {
    display: flex;
    justify-content: space-between;
}

.mainmenu {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.mainmenu a {
    transition: padding-left 0.2s;
}

.mainmenu a:hover {
    padding-left: 8px;
}

.mainmenusecondary {
  display: flex;
  align-items: center;
}

.mainmenucontact {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    margin-right: 24px;
}

.mainmenucontact li {
    margin-bottom: 2px;
}

.mainmenucontact a {
    border-bottom: 1px solid;
    padding-bottom: 1px;
}

.menubutton {
    padding: 8px 24px;
    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    background-color: var(--blue);
    color: var(--white);
    font-weight: 500;
    justify-content: center;
    z-index: 10;
    transition-delay: 0s !important;
    transition-duration: scale 0.3s !important;
}

.menubutton .icon {
  width: 20px; /* Adjust the size as needed */
  height: 20px; /* Adjust the size as needed */
  margin-right: 12px; /* Space between the icon and text */
}

.buttonwhite {
  width: 200px !important; color: #122847 !important; background-color: #fff !important; margin-top: 40px !important;
}

.textwidth {
  max-width: 600px;
}



.secondarybtn {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    color: var(--lightblue);
}

.secondarybtn:after {
  content: "";
  position: relative;
  width: 20px;
  height: 10px;
  background-image: url("assets/arrow.svg");
  background-size: cover;
  background-position: right;
  margin-left: 8px;
  transition: width 0.2s;
}

.secondarybtn:hover:after {
  width: 26px;
}

.btnwithmargin {
    margin-top: 80px;
}

.menubutton:hover {
    transform: scale(1.1) !important;
}

.menubutton:active {
  background-color: #122847bb;
  transform: scale(1) !important; /* Ensure it does not scale when clicked */
}


h1 {
    font-size: 90px;
    font-weight: 600;
    line-height: 1;
}

.sub {
  margin: 20px 0px 20px 0px;
  font-size: 20px;
  color: white;
}

h1 span {
    display: block;
}

h2 {
  font-size: 40px;
}

.subline {
  font-size: 18px;
  padding: 24px 80px 24px 0px;
}

h3 {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 8px;
}

.herotext {
    z-index: -1;
    color: #fff;
    /* You can adjust the z-index value if needed */
}

.section.herosection.hero {
  background-image: url("/assets/Taxi_hero_.webp");
  background-size: cover;
  background-position: center;
  display: block;
}

.section{
  padding: 80px 0px;
}

/* Add this CSS to your existing stylesheet */
.spinner {
  width: 50px;
  height: 50px;
  border: 8px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.sticky-column {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 145px; /* Adjust as needed */
  align-self: start;
}

.spinnersmall {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Fullscreen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white; /* Optional: To cover any existing content */
  z-index: 1000; /* Ensure it's on top of everything */
}

.herosection {
  width: 100%;
  height: 84vh; /* Fullscreen height */
  background-size: cover;
  background-attachment: scroll;
  z-index: 100;
  position: relative; /* 'top' is not a valid value for 'position' */
  display: none; /* Hide the section initially */
}

.iconwrapper {
  display: flex;
    justify-content: space-around;
    width: 80%;
    max-width: 550px;
}

.round-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background-color: var(--lightgreen);
  border-radius: 50%;
  color: white;
  text-align: center;
  margin: 20px 20px 8px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.round-button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.round-button:active {
  transform: scale(1);
  opacity: 0.8;
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wrapperspecial {
  width: 90%;
    max-width: 1400px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
}

.round-button .icon {
  width: 50%;
  height: 50%;
}

.buttontext {
  font-weight: 500;
  font-size: 15px
}

.smallsection {
  padding: 4px 0px 24px 0px
}



.sectionblue {
    background-color: var(--blue);
    color: var(--cream);
}

.sectioncream {
    background-color: var(--cream);
}

.sectionwhite {
    background-color: var(--white);
}

.hero {
    padding-top: 90px;
}

/*need*/
.logo {
    height: 100px;
    width: auto;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    cursor: pointer;
    padding: 12px 24px 12px 0px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 18px;
    border-bottom: 1px solid;
    position: relative;
  }

  .accordionsbig .accordion {
    padding: 24px 24px 24px 0px;
  }
  
  
  .panel {
    max-height: 0;
    overflow: hidden;
    color: var(--bluealt);
    transition: max-height 0.2s ease-in-out;
  }

  .accordionsbig .panel {
    color: inherit;
  }

  .panel p {
    margin-top: 12px;
    margin-bottom: 4px;
  }

  .accordionsbig .panel p  {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .accordion:after {
    content: ''; 
    background-image: url("assets/plus.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 0;
    top: 18px;
    transition: transform 0.2s;
  }

  .accordionsbig .accordion:after {
    top: 30px;
  }
  
  .active:after {
    background-image: url("assets/minus.svg");
    transform: rotate(180deg);
  }

  .imagegrid4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  footer {
    background-color: var(--white);
    color: var(--dark);
    margin-top: 42px;
  }

  .changingWordContainer {
    position: relative;
    height: 32px;
}

.footerheadline {
    max-width: 450px;
}

#changingWord {
    position: absolute;
    transition: all 0.5s;
}

footer .fade-out {
    transform: translateY(80%);
    opacity: 0;
}

footer .fade-in {
    transform: translateY(-80%);
    opacity: 0;
}

footer .fade-in-active {
    transform: translateY(0);
    opacity: 1;
}

  .footercontactlinkbox {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }

  .footercontactlinkbox a {
    display: inline-block;
    border-bottom: 1px solid #e6eae155;
    margin-top: 4px;
    transition: border-bottom 0.2s;
  }

  .footercontactlinkbox a:hover {
    border-bottom: 1px solid #fff;
  }

  .footerlinkcolumn {
    display: flex;
    flex-direction: column;
    width: 200px;
    font-size: 18px;
  }

  .footerlinkcolumn span {
    font-size: 14px;
    opacity: 0.5;
  }

  .footerlinkcolumn a {
    transition: padding-left 0.2s;
  }

  .footerlinkcolumn a:hover {
    padding-left: 8px;
  }

  .footerlinkcolumncont {
    display: flex;
    flex-direction: row;
  }

  .copyright {
    text-align: right;
    font-size: 12px;
  }

  .mobilemenubtn {
    display: none;
    width: 24px;
    padding: 8px;
    box-sizing: content-box;
    cursor: pointer;
  }

  /* Leistung page */

  .leistunglist {
    padding: 32px 0px 40px 0px;
    border-bottom: 1px solid #fff2;
  }

  .leistunglist h4 {
    opacity: 0.7;
    font-size: 16px;
  }

  .leistunglist .subline {
    margin: 16px 0px 32px 0px;
  }

  .leistunglist:first-child {
    padding-top: 0;
  }

  .leistunglist:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .leistunglist .squareimg {
    width: 80%;
  }

  .sticky-column {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 150px; /* Adjust as needed */
    align-self: start;
}

  /* Team */

  .teamgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .teamitem {
    padding: 0px 12px;
    border-right: 1px solid #031e4522;
  }

  .teamitem:nth-child(4n) {
    border-right: none;
  }

  .teamitem-text {
    padding: 20px 12px 48px 12px;
  }

  .teamitem-name {
    font-weight: bold;
  }

  .teamitem-titel {
    font-weight: bold;
    margin-bottom: 12px;
  }

  .teamitem-lebenslauf {
    font-size: 10px;
  }

  .teamitem-lebenslauf li {
    display: inline-block;
    padding-bottom: 4px;
  }

  .teamitem-text .secondarybtn {
    font-size: 12px;
    margin-top: 16px;
    font-weight: bold;
  }

  .teamitem-text .secondarybtn:after {
    height: 8px;
    width: 16px;
  }

  .teamitem-text .secondarybtn:hover:after {
    width: 20px;
  }

  /* Aktuelles */

  .sectionaktuelles {
    padding-top: 0!important;
  }

  .accordionsaktuelles .accordion:first-child {
    border-top: 1px solid;
  }

  .accordionsaktuelles .accordion {
    font-size: 16px;
  }

  .accordionsaktuelles .accordion span {
    padding-right: 24px;
  }

  .accordionsaktuelles .twocolumn {
    align-items: center;
  }

  .aktuelles-date {
    font-size: 12px;
    opacity: 0.7;
  }

  .aktuelles-content {
    margin: 24px 0px;
  }

  /* Publikationen */

  .publikationen-authorsection {
    display: flex;
    justify-content: space-between;
    opacity: 0.7;
    padding-right: 32px;
  }

  .publikationen-links a {
    display: block;
    padding: 12px 32px 12px 0px;
    border-bottom: 1px solid #fff3;
    transition: all 0.2s;
    position: relative;
  }

  .publikationen-links a:after {
    content: "";
    width: 10px;
    height: 10px;
    background-image: url("assets/arrowlink.svg");
    background-size: cover;
    position: absolute;
    right: 0;
    top: 16px;
    transition: all 0.2s;
    filter: brightness(2);
  }

  .publikationen-links a:hover:after {
    transform: rotate(45deg);
    filter: none;
  }

  .publikationen-links a:first-child {
    border-top: 1px solid #fff3;
  }

  .publikationen-links a:hover {
    padding-left: 8px;
    color: var(--lightblue);
  }

  .publikationen-section {
    margin-bottom: 80px;
  }

  .publikationen-section:last-child {
    margin-bottom: 0px;
  }

  /* Mobile menu */
  .mobilemenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    background-color: var(--cream);
    padding-top: 80px;
  }

  .mobilemenu .mainmenusecondary {
    flex-direction: column;
  }

  .mobilemenu .mainmenu {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .mobilemenu .menubutton {
    font-size: 16px;
    border-radius: 4px;
    margin-top: 24px;
    padding: 4px 16px;
  }

  .mobilemenu .mainmenucontact {
    font-size: 14px;
  }

  .mobilemenu {
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    max-height: 0dvh;
}

.mobilemenu.open {
    display: flex;
    visibility: visible;
    max-height: 100dvh; 
}

.mobilemenubtn img {
    transition: transform 0.3s ease;
}

.mobilemenubtn img.close-icon {
    transform: rotate(180deg); /* Adjust this value as necessary */
}

.kontaktgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 40px;
}

.kontaktgrid h3 {
  font-size: 12px;
  margin-bottom: 16px;
}

.kontaktgrid p {
  margin-bottom: 12px;
}

.texttemplate-text p {
  margin-bottom: 16px;
  font-size: 14px;
}

.texttemplatesection {
  padding-top: 160px;
}

.texttemplate-text h4 {
  opacity: 0.4;
}

form input {
  width: 100%;
  padding: 32px;
  outline: none;
  margin-bottom: 24px;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  background-color: var(--lightgreen);
  color: var(--dark);
}

form textarea {
  width: 100%;
  padding: 32px;
  outline: none;
  margin-bottom: 16px;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-family: inherit;
  height: 100px;
  box-sizing: border-box;
  background-color: var(--lightgreen);
  color: var(--dark);
}

#formMessage {
  margin-bottom: 20px;
}

.contact {
  width: 800px;
  
}

.wrappercontact {
  width: 90%;
  max-width: 1400px;
  margin: 0px auto;
  display: flex;
  justify-content: center;
}

.contact p {
  padding-top: 8px;
  width: 650px;
  padding-bottom: 32px;
}

.footerwrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0px 40px 0px;
  border-top: 1px solid #ddd;
}

.smallerh1 {
  font-size: 72px;
 }

.footerlogo {
  width: 120px;
}

.footertext {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footertext img {
  width: 24px;
}

.footertext img:hover {
  transform: scale(1.1);
}

.footertext a {
  padding: 6px 0px 6px 0px;
  font-weight: 500;
  font-size: 14px;
}

.footertext a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--dark);
}

.footercontact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footercontact a {
  padding: 3px 0px 0px 0px;
  font-weight: 500;
  font-size: 14px;
}

.footercontact a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--dark);
}


.footercontact img {
  width: 24px;
}

.footercontact img:hover {
  transform: scale(1.1);
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.social a:first-child {
  padding-bottom: 12px;
}

.social a:first-child {
  padding-right: 8px;
}

.textwrap a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--dark);
}

.miet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.miet-grid > :nth-child(2) {
  justify-self: end;
}

.ay-logo {
  max-width: 250px;
}

.hint {
  padding: 32px 25px 0px 30px;
}

.fancybox__backdrop::after {
  content: '';
  position: absolute;
  width: 10%;
  height: 10%;
  filter: blur(2px);
  left: 50%;
  top: 50%;
  transform: scale(11);
  opacity: 0.3;
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.fancybox__toolbar {
  padding: 16px;
}

.fancybox__toolbar,
.fancybox__nav {
  --f-button-border-radius: 50%;
  --f-button-bg: rgb(91 78 76 / 64%);
  --f-button-hover-bg: rgb(91 78 76 / 74%);
  --f-button-active-bg: rgb(91 78 76 / 84%);
}

.fancybox__nav {
  --f-button-svg-width: 22px;
  --f-button-svg-height: 22px;
}

.fancybox__thumbs.is-classic {
  --f-thumb-width: 48px;
  --f-thumb-height: 48px;
  --f-thumb-gap: 16px;
  --f-thumb-border-radius: 6px;
  --f-thumb-outline: 0;
}

.fancybox__content img {
  max-height: 70vh; /* 80% of viewport height */
  max-width: 80vw;
  width: auto;
  margin: 0 auto;
}

/* Make car images clickable */
.carimg {
  cursor: pointer;
}

.ga {
  align-self: center;
}