:root {
  --font-base: 0px; /* zentrale Basis, kann nach Bedarf mit \"+- xx\" angepasst werden */
  --primary-color: #ff00ff; /* Primärfarbe */
  --secondary-color: #ebff33; /* Sekundärfarbe */
  --font-color-footer: #ffffff; /* Schriftfarbe */
  --background-color: #94e6ff; /* Hintergrundfarbe */

  /* --- für Entwicklung, danach deaktivieren --- */
  --testborder: 1px solid black; /* Test Rahmen  none; /*  */
  --testborder-div: none; /* 2px dashed red; /* Test Rahmen div none; /*  */
  --testbackround: rgba(213, 235, 91, 0.404); /* Test Hintergrund none; /*  */
}

html {
scroll-padding-top: 100px; /* verschiebt das Sprungelement eines LINKs um 100px nach oben */
}

/* Schriftgrößen anpassen */
h1 {
  font-size: clamp(
    calc(var(--font-base) + 32px),
    5vw,
    calc(var(--font-base) + 48px)
  );
}
h2 {
  font-size: clamp(
    calc(var(--font-base) + 28px),
    4.5vw,
    calc(var(--font-base) + 40px)
  );
}
h3 {
  font-size: clamp(
    calc(var(--font-base) + 24px),
    4vw,
    calc(var(--font-base) + 32px)
  );
}
h4 {
  font-size: clamp(
    calc(var(--font-base) + 20px),
    3vw,
    calc(var(--font-base) + 28px)
  );
}
h5 {
  font-size: clamp(
    calc(var(--font-base) + 18px),
    2.5vw,
    calc(var(--font-base) + 24px)
  );
}
h6 {
  font-size: clamp(
    calc(var(--font-base) + 16px),
    2vw,
    calc(var(--font-base) + 20px)
  );
}

/* normaler Text */
p {
  font-size: clamp(
    calc(var(--font-base) + 14px),
    1.5vw,
    calc(var(--font-base) + 18px)
  );
}

/* Responsive für Desktop */
body {
  height: 2000px;
  background-image: url("../images/bg_bkk_new.png"); /* Backround Image gesamte Website */
  /* background: var(--background-color);  /* Hintergrund Farbig ohne Bild */
  background-size: cover; /* füllt ganze Fläche */
  background-position: center; /* mittig */
  background-attachment: fixed; /* bleibt stehen */
  margin: 0; /* kein Abstand */
  font-family: Arial, sans-serif; /* Schriftart */
  color: var(--primary-color);
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

body {
  /* position: flex; /**/
  /* justify-items: center; /**/
}

.header {
  position: flex;
  justify-content: center;
  text-align: center;
  padding: 30px 0;
}

#top-logo {
  width: 150px;
  border-radius: 12px;
  height: auto;
  max-width: 100%; /* Responsive Logo */
}

.main {
  position: flex;
  justify-items: center;
  /* width: 100%; /**/
}

/* --- Navigation Menü --- */
.navication {
  position: sticky;
  justify-items: center;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  position: flex;
  justify-content: center;
  width: max-content; /* passt sich dem Inhalt an */
  margin: 0 auto; /* zentriert horizontal */
}

#main-nav {
  position: relative; /* Ändere von sticky zu relative */
  top: auto; /* Entferne top: 0 */
  width: 90%;
  max-width: 5500px; /* Maximale Breite für große Bildschirme */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 30px;
  padding: 5px 5px;
  background: rgba(53, 53, 53, 0.151);
  backdrop-filter: blur(5px);
  margin: auto; /* Zentriert die Navigation */
  box-sizing: border-box; /* Inklusive Padding in der Breite */
}

.nav-left,
.nav-right {
  width: 25%;
  display: flex;
  align-items: center;
  flex-shrink: 1; /* Erlaubt Schrumpfen bei Platzmangel */
}

.nav-center {
  width: 50%;
  display: flex;
  align-items: center;
  flex-shrink: 1; /* Erlaubt Schrumpfen bei Platzmangel */
  justify-content: center;
}

.nav-center a {
padding: 5;

}

.nav-right {
  display: flex; /* Elemente nebeneinander */
  padding-right: 10px;
  justify-content: flex-end;
  align-items: center; /* Vertikal zentrieren */
  gap: 5px; /* Abstand zwischen Flagge und Select */
}

/* Flaggen-Stil */
#language-flag {
  width: 24px; /* Feste Breite */
  height: 16px; /* Feste Höhe */
  padding: 2px; /* Kleiner Innenabstand */
  border-radius: 5px; /* Leicht abgerundet */
  object-fit: cover; /* Bild füllt Bereich */
  border: 1px solid #00000056; /* Dünner Rahmen */
}

/* Select-Feld Styling */
.language-select {
  /* Layout */
  padding: 6px 10px 6px 10px; /* Innenabstand: oben rechts unten links */

  /* Schrift */
  font-size: 15px;
  font-family: inherit; /* Gleiche Schrift wie Umgebung */
  color: rgb(253, 0, 219);

  /* Design */
  border: 1px solid #0000006e; /* Dünner Rahmen */
  border-radius: 15px; /* Abgerundete Ecken */
  background: #00000011; /* Weißer Hintergrund */

  /* Browser-Standard entfernen */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom Pfeil
  background-image: url(\"data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e\");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px; 
   */
}

/* Hover-Effekt */
.language-select:hover {
  border-color: #02ffc0; /* Blaue Rahmenfarbe */
}

/* Fokus-Zustand */
.language-select:focus {
  outline: none; /* Standard-Outline entfernen */
  border-color: #02ffc0;
  box-shadow: 0 0 0 2px #02ffc056; /* Leichter Schatten */
}

.language-select option {
  font-size: 15px;
}

#nav-logo {
  width: 50px;
  /* padding: 5px 5px 5px 5px; /**/
  border-radius: 18px;
  opacity: 0;
  transform: translateX(-60px);
  transition: 0.4s;
  max-width: 100%; /* Responsive Logo */
}

#nav-logo.show {
  opacity: 1;
  transform: translateX(0);
}

.nav-center {
  display: block; /* sichtbar */
  position: sticky;
  top: 0;
}

#burger {
  display: none; /* versteckt */
}

.motorcycles {
  display: flex;
  justify-content: center;
  height: auto;

  /* border: 2px solid rgb(95, 17, 17); /**/
}

.box-wrapper {
  display: flex;
  flex-direction: row;
  align-content: center;
  height: auto;
  border-radius: 30px;
  /*gap: 5px; /**/
  /* border: 2px solid rgb(30, 175, 37); /**/
}

.box-wrapper .box {
  display: flex;
  flex-direction: column;
  justify-items: center;
  height: 300px;
  margin: 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background-color: rgba(31, 31, 31, 0.445);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.box-wrapper:hover .box {
  transform: scale(1.05); /* scale(1.x) x = +x% größer */
  background-color: rgba(104, 104, 104, 0.664);
  border-color: rgb(0, 247, 255);
  box-shadow: 0 0 15px rgb(0, 217, 255);
}

.box ul li {
  color: #91ff00;
  /* Text-Ausrichtung */
  text-align: justify; /* Blocksatz */
  /* text-justify: inter-word; /* Wortabstand optimieren */
  /* Zeilenabstand & Umbruch */
  line-height: 1.9; /* Zeilenhöhe */
  word-wrap: break-word; /* Lange Wörter umbrechen */
  overflow-wrap: break-word; /* Moderne Alternative */
}
.box {
  display: flex;
  flex-direction: row; /* Elemente untereinander */
  text-align: center;
  width: 400px;
}
.box h3 {
  text-align: center;
  order: 1; /* h3 zuerst */
}
.box ul {
  order: 2; /* p danach */
}

.box a {
  order: 3; /*als letztes a */
}

 /* ------------ Coogle Map - Block ------------ */

.location-map {
  width: 75%;
  min-width: 300px;
  max-width: 820px;
  border-radius: 30px;
  padding: 25px;
  transition: all 0.3s ease;
  background-color: rgba(31, 31, 31, 0.445);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.95) translate(5px, 5px); /* Zentriert verkleinern */
}

.location-map:hover {
  transform: scale(1.1); /* scale(1.x) x = +x% größer */
  background-color: rgba(104, 104, 104, 0.664);
  border-color: rgb(0, 247, 255);
  box-shadow: 0 0 15px rgb(0, 217, 255);
}

.google-map-link {
  padding-top: 20px;
  text-align: center;
}

.map-link{
text-decoration: none; /* Unterstreichung entfernen */
}

.map-container iframe {
  border-radius: 30px;
}

.google-map-route {
  color: #009cb1; /* Google-Blau */
  text-decoration: none; /* Unterstreichung entfernen */
  font-weight: 500; /* etwas dickerer Text */
  transition: color 0.3s; /* sanfter Hover-Übergang */
}
.google-map-route a{ 
text-decoration: none; /* Unterstreichung entfernen */
}
.google-map-route:hover {
  color: #fce300; /* dunkleres Blau beim Hover */
  text-decoration: none;
}

 /* ------------ Kontakt - Block ------------ */
.contact-section {
  width: 70%;
  max-width:600px;
}

.booking-form{
  display:flex;
  flex-direction:column;
  gap:10px;

  margin:0 auto;
  border-radius: 30px;
  padding: 25px;
  transition: all 0.3s ease;
  background-color: rgba(31, 31, 31, 0.445);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.95) translate(5px, 5px); /* Zentriert verkleinern */
}

.booking-form:hover {
  transform: scale(1.1); /* scale(1.x) x = +x% größer */
  background-color: rgba(104, 104, 104, 0.664);
  border-color: rgb(0, 247, 255);
  box-shadow: 0 0 15px rgb(0, 217, 255);
}

.booking-form input,
.booking-form textarea{
  padding:8px;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
  width:100%;
}

.booking-form button{
  padding:10px;
  border:none;
  background:#2a9df4;
  color:#fff;
  border-radius:4px;
  cursor:pointer;
  font-size:16px;
}

.booking-form button:hover{
  background:#1e7ec8;
}

 /* ------------ Footer - Block ------------ */

#footer {
  display: flex;
  justify-content: center;
  width: 100%;

  align-items: center; /*  */
  color: var(--font-color-footer);
  background: rgba(24, 24, 24, 0.158);
  backdrop-filter: blur(5px);
  position: fixed; /**/
  bottom: 0;
  /* Standard: 12px - 14.4px je nach Bildschirm */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Weiche Übergänge */
  z-index: 2;
  box-sizing: border-box; /* Inklusive Padding */
}

#footer p {
  font-size: 11px;
}

/* Responsive für Mobile */
@media (max-width: 768px) {
  body {
    width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
  }

  #top-logo {
    width: 120px; /* Kleinere Logo auf Mobile */
  }

  .navication {
    width: 100%;
    box-sizing: border-box;
  }

  #main-nav {
    width: 80%; /* Volle Breite auf Mobile */
    padding: 5px 20px; /* Mehr Padding für bessere Bedienbarkeit */
  }

  .nav-left,
  .nav-center,
  .nav-right {
    width: auto; /* Flexible Breite auf Mobile */
    flex-shrink: 1;
    /* display: block; /**/
  }

  .nav-left {
    flex: 1;
    justify-content: flex-start;
  }

  .nav-center {
    flex: 2;
    justify-content: center;
  }

  .nav-right {
    flex: 1;
    justify-content: flex-end;
    padding-right: 0;
  }

  .nav-right {
    gap: 6px; /* Kleinerer Abstand */
  }

  .nav-center {
    display: none; /* ausblenden */
  }
  .nav-center a {
    display: block;
  }

  #burger {
    display: block; /* sichtbar */
    cursor: pointer; /* Hand-Cursor */
  }

  .nav-center.open {
    display: block; /* beim Klick auf Hamburger */
  }

  #language-flag {
    width: 20px; /* Kleinere Flagge */
    height: 15px;
  }

  .language-select {
    padding: 4px 20px 4px 6px; /* Kompakter */
    font-size: 13px; /* Kleinere Schrift */
    background-position: right 4px center; /* Pfeil position */
    max-width: 80px; /* Maximale Breite für Select */
  }

  .box {
    min-width: 400px;
    max-width: 600px;
  }

  .location-map:hover {
    transform: scale(1.04); /* scale(1.x) x = +x% größer */
  }

  /* Footer einstellungen Smartphone */
  #footer {
    transition: opacity 0.3s ease; /* Weiche Übergänge */
  }

  .motorcycles div {
    display: flex;
    flex-direction: column;
  }

  #footer p {
    font-size: 12px;
    color: #4bff33;
    text-align: center;
    padding: 0 10px; /* Seitenabstand */
  }

  /* Klasse zum Ausblenden */
  .footer-hidden {
    opacity: 0;
    pointer-events: none; /* Klicks deaktivieren */
    z-index: -1;
  }
}

/* Extra kleine Geräte */
@media (max-width: 480px) {
  .motorcycles {
    min-width: 300px;
    max-width: 450px;
  }

  #main-nav {
    width: 70%; /* Volle Breite auf Mobile */
    padding: 5px 15px; /* Mehr Padding für bessere Bedienbarkeit */
  }

  .nav-center {
    flex: 1; /* Weniger Platz für Center auf sehr kleinen Geräten */
    display: none; /* ausblenden */
  }

  #burger {
    display: block; /* sichtbar */
    cursor: pointer; /* Hand-Cursor */
  }

  .nav-center.open {
    display: block; /* beim Klick auf Hamburger */
  }

  .nav-center a {
    display: block;
  }
  .language-select {
    max-width: 70px;
    font-size: 11px;
  }

  #nav-logo {
    width: 40px; /* Noch kleineres Logo */
  }

  .box {
    min-width: 300px;
    max-width: 350px;
  }

  .location-map:hover {
    transform: scale(1.03); /* scale(1.x) x = +x% größer */
  }

  #footer {
    transition: opacity 0.3s ease; /* Weiche Übergänge */
  }

  #footer p {
    font-size: 12px;
    color: #ff00ff;
  }
}
