/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 0%);
  --black-color: hsl(0, 0%, 100%);
  --bg-color: #fff;
  --text-color: #000000;
  --maincolor: #4169e1;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Open Sans", sans-serif;
  --normal-font-size: 0.938rem;
  --h1-font: 6rem;
  --h2-font: 3rem;
  --p-font: 1rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--bg-color);
}

h1 {
  color: white;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  /* Volle Breite des Containers */
  height: auto;
  /* Höhe bleibt proportional */
  max-width: 810px;
  /* Verhindert, dass Bilder zu groß werden */
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER & NAV ===============*/
.logo {
  height: 45px;
  max-height: 45px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: white !important; /* Immer weiß */
  backdrop-filter: none; /* Kein Blur */
  z-index: var(--z-fixed);
  transition: none; /* Entfernt Übergänge, falls vorhanden */
}

/* Optional: Falls der JS-Code bleibt */
.header.scrolled {
  background-color: white !important; /* Falls doch noch eine Klasse gewechselt wird */
}


.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav__close,
.nav__toggle {
  display: flex;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--black-color);
    width: 100%;
    height: 100%;
    padding: 6rem 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left 0.4s;
  }

  .nav__item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform 0.4s ease-out, visibility 0.4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav__item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav__item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav__item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav__item:nth-child(5) {
    transition-delay: 0.5s;
  }

  .nav__item:nth-child(6) {
    transition-delay: 0.6s;
  }
}

.nav__list,
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  transition: opacity 0.4s;
}

.nav__link i {
  font-size: 2rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.nav__link span {
  position: relative;
  transition: margin 0.4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width 0.4s ease-out;
}

/* /* Bleibt bei hover oder active */

.nav__link:hover span::after,
.nav__link.active span::after {
  width: 100%;
}

/* Animation link on hover */
.nav__link:hover span {
  margin-left: 2.5rem;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}

.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: 0.4;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__social {
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.nav__social-link:hover {
  transform: translateY(-0.25rem);
}

/* Show menu */
.show-menu {
  left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}


/*=============== HOME ===============*/

section {
  padding: 70px 10% 60px; 
}

.home {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url(/pictures/startup-background.jpg);
  background-size: cover;
  background-position: bottom center;
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* Desktop: linksbündig */
  text-align: left;            /* Desktop: Text links */
  margin-bottom: 150px;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.home-text {
  position: relative;
  z-index: 2;
}

.home-text h5 {
  font-size: 38px;  /* Desktop-Größe */
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: white;
}

.home-text h1 {
  font-size: 98px;  /* Desktop-Größe */
  color: white;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.custom-text-box {
  background: transparent;
  margin-bottom: 15px;
  text-align: left;  /* Desktop: Text links */
}

.custom-text {
  margin: 0;
  color: #ffffff;
  font-size: 16px;  /* Desktop-Größe */
  font-weight: 500;
  line-height: 1.6;
}

form {
  display: flex;
  justify-content: flex-start;  /* Desktop: Button links */
  align-items: center;
  margin-top: 1.5rem;
  background: none;
  box-shadow: none;
  border: none;
}

form button {
  display: inline-block;
  padding: 12px 30px;  /* Desktop-Größe */
  background-color: var(--maincolor);
  color: var(--bg-color);
  font-size: 16px;  /* Desktop-Größe */
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

/* Hover Effekt bleibt */
form button:hover {
  transform: translateY(-5px);
  background-color: #fc322f;
  color: #fff; /* Weißer Text für besseren Kontrast */
}


/* Allgemeine Button-Styling */
button, .btn {
  background-color: #4169e1;
  color: white;
  padding: 10px 20px;
  border: none;
  text-decoration: none; /* Entfernt Unterstreichung bei Links */
  display: inline-block;
  transition: all 0.5s ease-in-out;
  border-radius: 5px;
}

/* Hover-Effekt für Links mit der Klasse .btn */
a.btn:hover {
  background-color: #fc322f;
  color: #fff; /* Optional: Textfarbe ändern beim Hover */
}


/*=============== RESPONSIVE DESIGN ===============*/

/* Für Tablets und kleiner */
@media (max-width: 768px) {
  .home {
    justify-content: center;  /* Mobile: Zentriert */
    text-align: center;       /* Mobile: Text mittig */
    margin-bottom: 100px;
  }

  .home-text h5 {
    font-size: 24px;  /* Mobile: kleiner */
    letter-spacing: 3px;
  }

  .home-text h1 {
    font-size: 36px;  /* Mobile: kleiner */
  }

  .custom-text-box {
    text-align: center;  /* Mobile: Text mittig */
  }

  .custom-text {
    font-size: 14px;  /* Mobile: kleiner */
  }

  form {
    justify-content: center;  /* Mobile: Button mittig */
  }

  form button {
    padding: 10px 25px;  /* Mobile: kleiner */
    font-size: 14px;
  }
}

/* Für sehr kleine Bildschirme */
@media (max-width: 480px) {
  section {
    padding: 40px 5% 30px;
  }

  .home-text h5 {
    font-size: 22px;
  }

  .home-text h1 {
    font-size: 32px;
  }

  .custom-text {
    font-size: 13px;
  }

  form button {
    padding: 8px 20px;
    font-size: 13px;
  }
}



/*=============== ABOUTUS - INDEX ===============*/

.aboutus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 9rem;
  padding-top: 250px;
  /* Optional: Abstand nach oben */
  margin-bottom: 150px;
  /* Abstand nach unten vergrößern */
}

.aboutus-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.aboutus-text h5 {
  font-size: 22px;
  font-weight: 600;
  color: var(--maincolor);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.aboutus-text h2 {
  font-size: var(--h2-font);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.aboutus-text p {
  font-size: var(--p-font);
  font-weight: 500;
  line-height: 30px;
  color: ffffffab;
  margin-bottom: 35px;
}

/*=============== SERVICE ===============*/

.center-text {
  text-align: center;
  padding-top: 10px;
  /* Optional: Abstand nach oben */
}

.center-text h2 {
  font-size: var(--h2-font);
  color: white;
  font-weight: 800;
}

.service-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  align-items: center;
  gap: 3rem;
  margin-top: 5rem;
}

.box {
  position: relative;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(70%);
  transition: all 0.3s cubic-bezier(0.499, 0.05, 0.55, 0.95);
  will-change: filter;
  display: block;
}

.box h6 {
  position: absolute;
  left: 25px;
  bottom: 95px;
  font-size: 18px;
  font-weight: 500;
  color: white;
}

.box h4 {
  position: absolute;
  left: 25px;
  bottom: 65px;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.box img:hover {
  filter: brightness(90%) hue-rotate(50deg);
  transform: scale(1.04);
  cursor: pointer;
}

.center-btn {
  text-align: center;
  margin-top: 4rem;
}

/*=============== CONTACT ===============*/
.contact {
  padding: 2rem 0;
  color: black;
  margin-top: 100px;
}

.contact__container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-start;
}

.contact__info {
  display: flex;
  flex-direction: column;
}

.contact__title {
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact__description {
  margin-bottom: 3.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact__card {
  display: flex;
  flex-direction: column;
  /* Ändert die Layout-Richtung zu vertikal */
  align-items: flex-start;
  margin-bottom: 2rem;
  /* Erhöhter Abstand zwischen den Kontaktmöglichkeiten */
}

.contact__card-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--maincolor);
  margin-bottom: 1rem;
  /* Abstand zwischen Icon und Titel */
}

.contact__card-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  /* Abstand zwischen Icon und Titel */
}

.contact__card-data {
  font-size: 0.9rem;
}

.contact__social {
  display: flex;
  gap: 1rem;
}

.contact__social-icon {
  font-size: 1.2rem;
  color: var(--maincolor);
  transition: color 0.3s;
}

.contact__social-icon:hover {
  color: black;
}

/*=============== PRICELIST ===============*/
.price-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.pricelist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 9rem;
  padding-top: 250px;
  margin-bottom: 150px;
}

.pricelist-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.pricelist-text h5 {
  font-size: 22px;
  font-weight: 600;
  color: var(--maincolor);
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.pricelist-text h2 {
  font-size: var(--h2-font);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.pricelist-text p {
  font-size: var(--p-font);
  font-weight: 500;
  line-height: 30px;
  color: ffffffab;
  margin-bottom: 35px;
}

/* Dropdown-Menü */
.class-selection {
  margin-top: 100px;
}

.class-selection select {
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: linear-gradient(45deg, #007bff, #00aaff);
  color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.class-selection select:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.class-selection select:focus {
  box-shadow: 0 0 10px rgba(0, 170, 255, 0.8);
}

/* Preis-Karten */
.price-list {
  margin-top: 40px;
  margin-bottom: 40px;
}

.price-card {
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  position: fixed; /* Absolut positioniert */
  top: 275px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  color: #333;
  overflow: hidden;
  padding: 20px;
  text-align: left;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

  /* Automatisch leicht angehoben */
  transform: translateY(-5px);
}


.price-card .scroll-container {
  max-height: 300px;  /* Höhe begrenzen */
  overflow-y: auto;   /* Scrollbar aktivieren */
  padding-right: 10px; /* Platz für Scrollbar */
}

.scroll-container {
  max-height: 500px;
  overflow-y: visible;
  padding-right: 10px;
  position: relative ;
}


/* Stil für die Tabelle */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}


.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.price-card.hidden {
  opacity: 0;
  pointer-events: none;
}

.price-card-header {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #ffffff;
  background: linear-gradient(45deg, #ff0000, #000000);
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Tabellen-Stil */
.price-card table {
  width: 100%;
  border-collapse: collapse;
}

.price-card th,
.price-card td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.price-card th {
  background-color: #007bff;
  color: white;
  text-transform: uppercase;
}

.price-card tr:hover td {
  background-color: rgba(255, 255, 255, 0.1);
}

.price-card td {
  background-color: rgba(255, 255, 255, 0.05);
  color: #333;
}

.price-table.hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-table {
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/*=============== Posts ===============*/

.instagram-scroll-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 5px 0;
  display: flex;
  justify-content: center;
}
.instagram-container {
  gap: 20px;
  padding: 10px;
  display: flex;
  gap: 30px;
}
.post {
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.post img, .post video {
  width: 100%;
  border-radius: 10px;
  height: auto;
  display: block;
}
.post .caption {
  margin-top: 10px;
  font-size: 14px;
  color: #000000de;
  max-width: 350px;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
}

/*=============== FOOTER ===============*/

footer {
  background-color: white;
}

.footer-separator {
  border: none;
  border-top: 1px solid var(--maincolor);
  /* Weiße, dünne Linie */
  margin: 10rem 30px 20px;
  /* Abstand oben, links und rechts */
  margin-bottom: 0.5rem;
}

.footerContainer {
  width: 100%;
  padding: 70px 30px 20px;
}

.contactOptions {
  text-align: center;
  /* Text zentrieren */
  margin-bottom: 20px;
  /* Abstand nach unten */
}

.contactOptions p {
  color: black;
  /* Textfarbe weiß */
  font-size: 1.2em;
  /* Größere Schriftgröße */
  opacity: 0.8;
  /* Leichte Transparenz */
  margin: 5px 0;
  /* Abstände zwischen den Zeilen */
}

.contactOptions p strong {
  opacity: 1;
  /* Text in strong-Tag weniger transparent */
}

.footerNav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.footerNav ul li a {
  color: black;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}

.footerNav ul li a:hover {
  opacity: 1;
  color: var(--maincolor);
}

.footerBottom p {
  color: black;
  text-align: center;
  margin-bottom: 2rem;
}

.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

/* Modal Box */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Dunkler Hintergrund */
  transition: opacity 0.5s ease;
  overflow-y: auto;
  /* Ermöglicht Scrollen, wenn der Inhalt zu groß ist */
}

.modal-content {
  background-color: white;
  /* Leichte Transparenz */
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slide-down 0.5s ease;
  text-align: center;
  /* Zentriert den Text */
  max-height: 80vh;
  /* Maximale Höhe von 80% des Viewport */
  overflow-y: auto;
  /* Inhalt scrollt, wenn zu groß */
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  /* Vertikale Zentrierung */
  border: 4px solid var(--maincolor);
  /* Weiße Border um das Modal */
}

.modal-content h2,
.modal-content h3 {
  margin-top: 10px;
  /* Abstand über der Überschrift */
  margin-bottom: 30px;
  /* Mehr Abstand unter den Überschriften */
}

.modal-content p {
  margin: 20px 0;
  /* Abstände zwischen den Absätzen */
}

/* Scrollbar für Webkit-basierte Browser (Chrome, Safari, Edge) */
.modal-content::-webkit-scrollbar {
  width: 12px;
  /* Breite der Scrollbar */
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  /* Dunkler Hintergrund der Scrollbar-Leiste */
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.8);
  /* Hellerer Scrollbalken */
  border-radius: 10px;
  /* Runde Ecken des Scrollbalkens */
  border: 2px solid transparent;
  /* Optional: kleiner Rand */
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 1);
  /* Scrollbalken wird heller beim Hover */
}

@keyframes slide-down {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*==================== GLASS BANNER ====================*/
.glass-banner {
  background-image: linear-gradient(
      to left,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.3)
    ),
    url(../../pictures/fuhrerschein-klasse.png);
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);
  padding: 40px;
  margin-top: 80px;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

/* Karten-Wrapper */
.license-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Einzelne Karte */
.license-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.license-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Header-Bereich */
.card-header {
  padding: 20px;
  text-align: center;
  color: white;
}

.card-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

/* Inhalt-Bereich */
.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #333;
}

.card-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}




/*=============== TEAMMEMBER ===============*/

/* Überschrift zentrieren */
.team h2 {
  text-align: center; /* Zentriert die Überschrift */
  font-size: 2rem; /* Optional: Größe der Schrift */
  margin-bottom: 30px; /* Abstand nach unten */
  font-weight: bold;
  color: #333; /* Optional: Textfarbe */
}

/* Container für Team-Mitglieder */
.team-container {
  display: flex;
  flex-wrap: wrap; /* Erlaubt Umbrüche */
  justify-content: center; /* Zentriert die Team-Mitglieder */
  gap: 120px; /* Abstand zwischen den Team-Mitgliedern */
  max-width: 1200px;
  margin: 0 auto; /* Zentriert den Container auf der Seite */
  padding: 20px;
}

/* Einzelne Team-Mitglieder */
.team-member {
  display: flex;
  flex-direction: column; /* Stapelt Bild, Überschrift und Text vertikal */
  align-items: center; /* Zentriert horizontal */
  text-align: center; /* Zentriert Text unter dem Bild */
  width: 200px; /* Breite der Team-Mitglieder */
  margin: 0 auto; /* Optional: Zentriert den Block selbst */
}

/* Bilder der Team-Mitglieder */
.team-member img {
  width: 250px;
  height: 250px;
  border-radius: 50%; /* Runde Bilder */
  object-fit: cover; /* Gleichmäßige Darstellung */
  margin-bottom: 10px; /* Abstand zwischen Bild und Text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Schatten für Bilder */
}

/* Überschrift des Team-Mitglieds */
.team-member h3 {
  margin: 10px 0 5px; /* Abstand um den Namen */
  font-size: 1.1rem;
  font-weight: bold;
}

/* Text des Team-Mitglieds */
.team-member p {
  font-size: 0.9rem;
  color: #777;
  margin: 0; /* Entfernt Standard-Abstand */
}


/* Wrapper für den Hintergrund */
.aboutcontainer-wrapper {
  margin-top: 90px;
  width: 100%; /* Volle Breite */
  background: url('../../pictures/asphalt pattern.jpg') no-repeat center center; /* Hintergrundbild */
  background-size: cover; /* Hintergrundbild füllt die gesamte Breite */
  padding: 50px 0; /* Abstand oben/unten */
}

/* Container für die Inhalte */
.aboutcontainer {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Zweispaltiges Layout */
  grid-template-rows: auto auto; /* Dynamische Höhen */
  gap: 40px; /* Abstand zwischen den Boxen */
  margin: 0 auto;
  padding: 0 20px; /* Seitenabstand */
  max-width: 1200px; /* Maximale Breite der Inhalte */
  justify-items: center;
  align-items: start; /* Vertikale Ausrichtung */
}

/* Allgemeine Box-Stile */
.text-box, .image-box {
  background: linear-gradient(135deg, #ffffff, #cfe3ff); /* Farbverlauf */
  border: none;
  border-radius: 12px; /* Abgerundete Ecken */
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Schatteneffekt */
  width: 90%; /* Boxen passen sich an */
  max-width: 500px; /* Maximale Breite der Boxen */
}

/* Textbox-Stile */
.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px; /* Zusätzlicher Innenabstand */
}

/* Bildbox-Stile */
.image-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  max-width: 100%; /* Bilder passen sich an */
  height: auto;
  border-radius: 8px;
}

/* Überschrift-Stile */
.aboutcontainer h2 {
  margin: 0 0 10px;
  font-size: 1.5em;
  color: #333;
  border-left: 5px solid #0078d7; /* Farbiger Akzent */
  padding-left: 10px;
}

/* Absatz-Stile */
.aboutcontainer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Volle Breite für spezielle Boxen */
.full-row {
  grid-column: span 2; /* Breitet sich über beide Spalten aus */
}

/* Responsive Anpassungen für mobile Geräte */
@media (max-width: 768px) {
  .aboutcontainer {
    grid-template-columns: 1fr; /* Wechsel zu einspaltigem Layout */
    gap: 20px; /* Weniger Abstand */
  }

  .text-box, .image-box {
    width: 100%; /* Volle Breite für kleinere Bildschirme */
    max-width: none; /* Keine Begrenzung */
  }

  .full-row {
    grid-column: span 1; /* Volle Breite bei einspaltigem Layout */
  }
}

@media (max-width: 480px) {
  .aboutcontainer-wrapper {
    padding: 30px 0; /* Weniger Padding oben/unten für kleinere Bildschirme */
  }

  .text-box {
    padding: 20px; /* Weniger Innenabstand */
  }

  .aboutcontainer h2 {
    font-size: 1.2em; /* Kleinere Überschrift */
  }

  .aboutcontainer p {
    font-size: 0.9em; /* Kleinere Schriftgröße */
  }
}

/*=============== BREAKPOINTS ===============*/

/* Large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .header.scrolled {
    background-color: white;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 1.5rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 3.5rem;
  }
}

@media screen and (max-width: 1150px) {
  .container {
    padding: 0 20px;
  }

  .aboutus {
    grid-template-columns: 1fr;
  }

  .pricelist {
    grid-template-columns: 1fr;
  }
}

/* Small devices (portrait tablets and large phones) */
@media screen and (max-width: 991px) {

  .header.scrolled {
    background-color: white;
  }

  .container {
    padding: 0 15px;
  }

  .aboutus {
    gap: 4rem;
  }

  .pricelist {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Very small devices (phones) */
@media screen and (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .header.scrolled {
    background-color: white;
  }

  .aboutus {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .pricelist {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 50px;
  }

  .contact__container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .footerNav ul {
    flex-direction: column;
  }

  .header.scrolled {
    background-color: white;
  }

  .footerNav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }
}