/* Fonts Start */
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.pirata-one-regular {
  font-family: 'Pirata One', system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
}
.goldman-regular {
  font-family: 'Goldman', sans-serif;
  font-weight: 400;
  font-style: normal;
}
.playfair-display-uniquifier {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* Fonts End */
/* General Start */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: rgba(97, 0, 0, 0.85);
  --border-color: rgba(97, 0, 0, 0.85);
}
html,
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: rgb(97, 0, 0);
  scroll-behavior: smooth;
  overflow-x: hidden;
}
h1 {
  font-family: 'Pirata One', 'Arial Narrow', 'sans-serif';
  padding-top: 100px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 100px;
}
h2 {
  font-family: 'Pirata One', 'Arial Narrow', 'sans-serif';
  font-size: 50px;
  color: white;
  letter-spacing: 1.5px;
  width: 100%;
}
/* Genral End */
/* Navbar Start */
.navbar-nav .nav-item:first-child {
  margin-right: 1.5rem;
}
.custom-navbar {
  background-color: #440000 !important;
}
.dropdown-menu > li > a {
  background-color: white;
  color: black;
  text-align: center;
  font-family: 'Pirata One', 'Arial Narrow', 'sans-serif';
  font-size: 22px;
}

.dropdown-menu {
  background-color: white;
}
.dropdown-menu :hover {
  background-color: #440000;
}
/* Navbar End */
/* Car-Logos Start */
#carlogo {
  justify-content: space-between;
  align-items: center;
  display: flex;
  background-color: #fffffff7;
  height: 100%;
  width: 100%;
  padding: 10px 25px;
  column-gap: 20px;
  z-index: 10;
  box-shadow: 1px 1px 3px rgb(145, 145, 145);
}
#carlogo img {
  height: auto;
  width: clamp(60px, 10vw, 150px);
  max-width: 15vw;
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}
#carlogo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.45));
}
/* Car-Logos End */
/* Index Start*/
#introvideohomepage {
  position: relative;
  width: 100%;
  background-color: rgb(97, 0, 0);
  height: 70vh;
  z-index: 2;
}
#introvideohomepage video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.h2-homepage {
  margin-top: 65px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(128, 128, 128, 0.779);
}
.home-cars {
  width: clamp(250px, 50vw, 450px);
  margin: 15px;
  padding: 30px;
  box-shadow: 1px 1px 7px rgba(128, 128, 128, 0.582);
}
.home-cars > img {
  max-height: 230px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.621);
}
.card-title {
  text-align: center;
  color: black;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.337);
  font-size: 30px;
  margin: 30px 0;
}
.card-text {
  text-shadow: 1px 1px 1px rgba(128, 128, 128, 0.216);
}
#headquarters {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.95);
  width: 100%;
  padding: 27px;
}
#headquarters h2 {
  color: white;
  margin-bottom: 23px;
  text-shadow: 1px 1px 3px rgba(128, 128, 128, 0.779);
}
#headquarters iframe {
  width: min(100%, 1000px);
  height: 50vh;
  border-radius: 25px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}
/* Index End */
/* Contact-Form get in touch Start*/
.contact-page {
  background: linear-gradient(to right, rgba(97, 0, 0, 0.85) 0%, #eb4646 100%);
  font-size: 12px;
}
.contact-page,
.contact-page button,
.contact-page input,
.contact-page textarea {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.background {
  display: flex;
  min-height: 100vh;
}
.container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
}
.screen {
  position: relative;
  background: #3e3e3e;
  border-radius: 15px;
}
.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: -1;
}
.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: #4d4d4f;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.screen-body {
  display: flex;
}
.screen-body-item {
  flex: 1;
  padding: 50px;
}
.screen-body-item.left {
  display: flex;
  flex-direction: column;
}
.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #ea1d1d;
  font-size: 26px;
}
.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: #ea1d1d;
}
.app-contact {
  margin-top: auto;
  font-size: 11px;
  color: #888;
}
.app-form-group {
  margin-bottom: 15px;
}
.app-form-group.message {
  margin-top: 40px;
}
.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}
.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.app-form-control::placeholder {
  color: #666;
}
.app-form-control:focus {
  border-bottom-color: #ddd;
}
.app-form-button {
  background: none;
  border: none;
  color: #ea1d1d;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.app-form-button:hover {
  color: #ffffff;
}

@keyframes fade-in-out-container {
  0%,
  10%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fade-text {
  0%,
  100% {
    opacity: 0;
  }

  20%,
  80% {
    opacity: 1;
  }
}
@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}
@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }
  .screen-body-item.left {
    margin-bottom: 30px;
  }
  .app-title {
    flex-direction: row;
  }
  .app-title span {
    margin-right: 12px;
  }
  .app-title:after {
    display: none;
  }
}
/* Contact-Form get in touch End */
/* Contact-Form car purchase Start */
.contact-form-car-purchase-wrapper {
  background-color: black;
  padding: 50px 0;
}
.contact-form-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #f4f4f4;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: auto;
}
.contact-form-section h3 {
  font-family: 'Pirata One', system-ui;
  font-size: 2.8em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.contact-form-section p {
  font-family: 'Goldman', sans-serif;
  font-size: 1.1em;
  margin-bottom: 35px;
  color: #555555;
}
.contact-form-section .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.contact-form-section input,
.contact-form-section textarea {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 15px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder {
  color: #999999;
}
.contact-form-section input:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(97, 0, 0, 0.3);
}
/* Contact-Form car purchase End */
/* Car Pages Start */
.titelfoto img {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
  object-position: 50% 87%;
}
.btn:hover {
  border: 2px solid #440000 !important;
}
.make-call {
  border: 2px solid #440000;
  color: #440000;
  width: 180px;
  margin: 10px auto 0 auto;
}
.make-call:hover {
  background-color: green;
  color: white;
  border: none !important;
}
.test-drive {
  background-color: rgb(97, 0, 0);
  color: white;
  width: 180px;
  margin: 0 auto;
}
.test-drive:hover {
  background-color: green;
  border: 2px solid green;
  color: white;
}
.container-produktseite {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 20px;
  margin: 50px auto;
}
.vehicle-page img,
.vehicle-page table,
.vehicle-page section {
  max-width: 100%;
}
.vehicle-page {
  display: grid;
  gap: 40px;
  background: white;
  padding: 70px 70px 50px 70px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  width: 100%;
}
.vehicle-gallery {
  text-align: center;
}
.vehicle-gallery .gallery-main-image img {
  width: 100%;
  max-width: 700px;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
}
.gallery-main-image img {
  max-height: 280px;
}
.gallery-thumbnails img {
  width: 100px;
  height: 75px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
  border-color: var(--primary-color);
}
.vehicle-title {
  font-size: 2rem;
  margin-top: 80px;
  font-family: 'Goldman', sans-serif;
  color: black;
  text-align: center;
}
.vehicle-title2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-family: 'Goldman', sans-serif;
  color: black;
  line-height: 0.8;
}
.vehicle-price {
  display: block;
  font-size: 30px;
  color: green;
  margin-bottom: 20px;
  font-family: 'Goldman', sans-serif;
  text-align: center;
}
.price-request {
  display: block;
  font-size: 30px;
  color: green;
  margin-bottom: 20px;
  font-family: 'Goldman', sans-serif;
  text-align: center;
}
.key-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: black;
  font-weight: bold;
  justify-content: center;
}
.vehicle-actions {
  display: flex;
  flex-direction: column;
}
.btn {
  display: inline-block;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}
.tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.tab-link {
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 19px;
  border-bottom: 3px solid transparent;
  font-family: 'Goldman', sans-serif;
}
.tab-link.active {
  border-bottom-color: var(--primary-color);
  font-weight: bold;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-content table {
  width: 100%;
  border-collapse: collapse;
}
.tab-content table td {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-family: 'playfair-display-uniquifier';
}
.tab-content table td:first-child {
  font-weight: bold;
  font-size: 17px;
}
/* Modal img Start */
.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.custom-modal.show {
  display: flex;
}
.custom-modal-content {
  max-width: 60vw;
  max-height: 60vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  animation: zoom 0.6s ease;
}

#caption {
  margin-top: 15px;
  text-align: center;
  color: #ccc;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 28px;
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}
/* Modal img End */
/* LOGIN & EXCLUSIVE CARS */
.login-page-body {
  padding-top: 0;
  margin: 0;
  height: 100vh;
  font-family: 'Oswald', sans-serif;
  overflow: hidden;
  background-image: url('../images/login-background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form-box {
  width: 350px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
}

.login-form-box h2 {
  font-family: 'Pirata One', system-ui;
  font-size: 3rem;
  margin: 0 0 30px 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.login-form-box input[type='text'],
.login-form-box input[type='password'] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  font-family: 'Oswald', sans-serif;
  transition: border-color 0.3s ease;
}

.login-form-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.login-form-box input:focus {
  outline: none;
  border-color: rgb(150, 0, 0);
}

.login-form-box input[type='submit'] {
  width: 100%;
  padding: 12px;
  background-color: rgb(97, 0, 0);
  border: 2px solid rgb(97, 0, 0);
  border-radius: 5px;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-form-box input[type='submit']:hover {
  background-color: #ffffff;
  color: rgb(97, 0, 0);
}

.access-denied-body {
  background-color: #1a0000;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

.access-denied-box a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: rgb(97, 0, 0);
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.success-page-body {
  background-color: #580000;
  overflow: hidden;
  padding-top: 0;
}
/* Animation get in touch Start */
.animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(97, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fade-in-out-container 4s ease-in-out forwards;
}
.access-permitted-text {
  color: white;
  font-family: 'Pirata One', cursive;
  font-size: 4rem;
  opacity: 0;
  margin-top: -30px;
  animation: fade-text 3s ease-in-out;
}
/* Animation get in touch End */
/* Footer Start */
.footer-background {
  background-color: rgb(97, 0, 0);
  width: 100%;
  height: auto;
  padding: 50px 0;
}
.footer {
  background-color: rgb(255, 255, 255);
  padding: 10px;
  border-radius: 20px; /* leicht kleiner für perfekte Optik */
  box-sizing: border-box;
  border-radius: 20px;
  border: white 10px solid;
  width: 95%;
  margin: 0 auto;
  height: auto;
}
.social-icons > a > i {
  font-size: 25px;
  color: rgb(97, 0, 0);
}
.subscribe {
  background-color: rgb(97, 0, 0);
  color: white;
  width: 180px !important;
}
.subscribe:hover {
  background-color: green;
  border: 2px solid green !important;
  color: white;
}
.form-control {
  width: 100%;
  margin: 10px 20px;
  text-align: center;
}
.newsletter-sign-up-box {
  border: 1px solid rgb(97, 0, 0);
  max-width: 800px;
}
.copyright {
  text-align: center;
}
/* Footer End */
@media (max-width: 992px) {
  /* Header Start */
  .titelfoto img {
    max-height: 430px;
    /* Header End */
  }
  /* Car pages Start */
  .container-produktseite {
    margin: 3rem auto;
    max-width: 700px;
  }
  .gallery-thumbnails img {
    width: 21.5%;
    height: 80px;
  }
  .vehicle-page {
    padding: 30px;
  }
  .tabs {
    text-align: center;
  }
  .key-specs {
    justify-content: center;
  }
  .vehicle-title {
    text-align: center;
    margin-top: 0;
  }
  .vehicle-price {
    font-size: 30px;
  }
  .tab-link.active {
    width: 220px;
  }
  .tab-content.active {
    text-align: center;
  }
  .tab-content table td:first-child {
    float: left;
  }
  .gallery-main-image img {
    max-height: 190px;
  }
  .price-request {
    font-size: 30px;
    line-height: 0.9;
  }
  .vehicle-gallery .gallery-main-image img {
    max-width: 400px;
    margin: 30px auto;
  }
  /* Car pages End */
  /* Contact-Form car purchase Start */
  .contact-form-car-purchase-wrapper {
    padding: 0.01rem;
  }
  .contact-form-section {
    margin: 3rem auto;
    max-width: 660px;
  }
  /* Contact-Form car purchase End */
  /* Footer Start */
  #headquarters {
    padding: 3rem;
  }
  .footer-background {
    padding: 3rem;
  }
  .footer {
    margin: 0 auto;
    width: 100%;
    padding: 20px;
  }
  .subscribe {
    width: auto;
    margin: auto;
  }
  /* Footer End */
}
@media (max-width: 768px) {
  /* Header Start */
  .titelfoto img {
    max-height: 320px;
    /* Header End */
  }
  /* Car pages Start */
  .container-produktseite {
    margin: 4rem auto;
    max-width: 500px;
  }
  .gallery-thumbnails img {
    width: 24%;
    height: 60px;
  }
  .vehicle-page {
    padding: 30px;
  }
  .tabs {
    text-align: center;
  }
  .key-specs {
    justify-content: center;
  }
  .vehicle-title {
    text-align: center;
    margin-top: 0;
  }
  .vehicle-price {
    font-size: 30px;
  }
  .tab-link.active {
    width: 220px;
  }
  .tab-content.active {
    text-align: center;
  }
  .tab-content table td:first-child {
    float: left;
  }
  .gallery-main-image img {
    max-height: 131px;
  }
  .price-request {
    font-size: 30px;
    line-height: 0.9;
  }
  .vehicle-gallery .gallery-main-image img {
    max-width: 300px;
    margin: 30px auto;
  }
  /* Car pages End */
  /* Contact-Form car purchase Start */
  .contact-form-car-purchase-wrapper {
    padding: 0.01rem;
  }
  .contact-form-section {
    margin: 4rem auto;
    max-width: 460px;
  }
  /* Contact-Form car purchase End */
  /* Footer Start */
  .footer-background {
    padding: 2.5rem;
  }
  .footer {
    margin: 0 auto;
    width: 100%;
    padding: 20px;
  }
  .subscribe {
    width: auto;
    margin: auto;
  }
  /* Footer End */
}
@media (max-width: 320px) {
  /* Header Start */
  .titelfoto img {
    max-height: 140px;
    /* Header End */
  }
  /* Car pages Start */
  .container-produktseite {
    margin: 20px auto;
  }
  .gallery-thumbnails img {
    width: 32%;
    height: 50px;
  }
  .vehicle-page {
    padding: 30px;
  }
  .tabs {
    text-align: center;
  }
  .key-specs {
    justify-content: center;
  }
  .vehicle-title {
    text-align: center;
    margin-top: 0;
  }
  .vehicle-price {
    font-size: 30px;
  }
  .tab-link.active {
    width: 220px;
  }
  .tab-content.active {
    text-align: center;
  }
  .tab-content table td:first-child {
    float: left;
  }
  .gallery-main-image img {
    max-height: 131px;
  }
  .price-request {
    font-size: 30px;
    line-height: 0.9;
  }
  /* Car pages End */
  /* Contact-Form car purchase Start */
  .contact-form-car-purchase-wrapper {
    color: black;
    width: 100%;
  }
  .contact-form-section {
    margin: 20px;
  }
  /* Contact-Form car purchase End */
  /* Footer Start */
  .footer-background {
    padding: 1.3rem !important;
  }
  .footer {
    margin: 0 auto;
    width: 100%;
    padding: 20px;
  }
  .subscribe {
    width: auto;
    margin: auto;
  }
  .form-control {
    max-width: 600px;
  }
  /* Footer End */
}
@media (min-width: 1200px) {
  .vehicle-page {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'gallery info'
      'details details';
  }

  .vehicle-gallery {
    grid-area: gallery;
  }

  .vehicle-info {
    grid-area: info;
  }

  .vehicle-details {
    grid-area: details;
  }
}
