/* Custom styles to modernize the design */

html {
  scroll-behavior: smooth;
}

#jetzt-buchen {
  scroll-margin-top: 120px; /* Ensure headline is visible below header */
}

/* Make paragraphs larger */
p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

p.p-16 {
  font-size: 16px !important;
}

span.p-16 {
  font-size: 16px !important;
}

/* Modern Card Styles */
.feature.boxed {
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: none !important;
  padding: 40px 20px !important;
}

.feature.boxed:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature.boxed .price-car {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.feature.boxed .price-car span {
  font-weight: 800;
  color: #000;
}

.feature.boxed figure img {
  margin-bottom: 10px !important;
  max-width: 100%;
  height: auto;
}

.feature.boxed ul.list-lined {
  margin-top: 10px !important;
}

.feature.boxed ul.list-lined li {
  padding: 5px 0 !important;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 16px;
}

.feature.boxed ul.list-lined li:last-child {
  border-bottom: none;
}

.feature.boxed ul.list-lined li i {
  margin-right: 10px;
  color: #555;
}

/* Remove shadow utility class for specific boxed features */
.feature.boxed.no-shadow {
  box-shadow: none !important;
}

.feature.boxed.no-shadow:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Align icons in benefit cards */
.feature.boxed.no-shadow h3 {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Make elements more round */
.btn,
.form-control,
.panel,
.well,
.alert,
.modal-content,
.card,
.box,
.img-rounded,
.thumbnail {
  border-radius: 15px !important;
}

.btn-lg {
  border-radius: 20px !important;
}

.btn-sm,
.btn-xs {
  border-radius: 10px !important;
}

/* Add some padding to inputs to match the rounded look */
.form-control {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Round images more if they are meant to be rounded */
.img-rounded {
  border-radius: 20px !important;
}

/* Dropdowns */
.dropdown-menu {
  border-radius: 15px !important;
}

/* Nav tabs/pills */
.nav-pills > li > a {
  border-radius: 10px !important;
}

.nav-tabs > li > a {
  border-radius: 10px 10px 0 0 !important;
}

/* Labels and Badges */
.label,
.badge {
  border-radius: 10px !important;
}

/* Banner overlay styles */
.banner-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.banner-content-wrapper h2 {
  color: #000 !important;
  text-align: center;
  margin: 0;
  padding: 20px 40px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #0e1924;
}

/* Promo Section Styles */
.promo-section {
  padding: 60px 0;
}

.row-flex-center {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.promo-box {
  background-color: #0e1924;
  color: white;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-title {
  font-size: 28px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.4;
}

.promo-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  display: block;
  opacity: 0.9;
}

.promo-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px !important;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 160px;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
  background: white;
  color: #0e1924 !important;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.promo-image-container {
  padding: 20px;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.infografik figure {
  display: inline-block;
  width: 100%;
}

.infografik img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.infografik figcaption {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-top: 15px;
}

/* Booking Steps Styles */
.booking-steps-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.booking-step-card {
  width: calc(50% - 20px);
  margin: 0 10px 20px 10px;
  background: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #eee;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .booking-step-card {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .booking-steps-container {
    margin: 0;
  }
}

.booking-step-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-step-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 15px;
  color: #0e1924;
}

.booking-step-card p {
  margin-bottom: 0;
  color: #555;
}

/* Booking Footer Info Styles */
.booking-footer-info {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  color: #0e1924;
  font-weight: 700;
  margin-top: 20px;
  border: 1px solid #eee;
}

.booking-footer-info p {
  margin-bottom: 15px;
  color: #0e1924;
}

.booking-footer-info p:last-child {
  margin-bottom: 0;
}

.booking-footer-info a {
  color: #0e1924;
  text-decoration: underline;
  font-weight: 800;
}

/* CTA Box Styles */
.cta-box {
  background: #0e1924;
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.cta-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Styles */
#faq .h3 {
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 36px;
}

#faq .card {
  border: none;
  background: transparent;
  margin-bottom: 40px;
  border-radius: 0 !important; /* Override global radius for these text blocks */
}

#faq .card-header {
  background: transparent;
  padding: 0;
  border: none;
  margin-bottom: 15px;
}

#faq .btn-link {
  font-size: 18px;
  font-weight: 800;
  color: #333;
  text-decoration: none;
  text-align: left;
  white-space: normal;
  padding: 0;
  display: block;
  width: 100%;
  text-transform: none !important;
}

#faq .btn-link:hover,
#faq .btn-link:focus {
  text-decoration: none;
  color: #000;
}

#faq .btn-link:before {
  content: "+ ";
  margin-right: 5px;
  font-weight: 800;
}

#faq .card-body {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  padding: 0;
  border: none;
}

#faq .card-body p {
  font-size: 16px !important;
}

/* Ensure FAQ accordions remain light */
#faq .card,
#faq .card-header,
#faq .btn-link {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

#faq .card {
  padding: 0 !important;
  margin-bottom: 20px;
}

#faq .card-header {
  padding: 0 !important;
}

#faq .btn-link {
  padding: 0 !important;
}

/* Footer Styles */
#footer {
  background-color: #0e1924 !important; /* Dark blue background */
  color: #fff;
  font-size: 16px;
}

#footer .logo {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  width: auto !important;
}

#footer .logo svg {
  margin-left: 0 !important;
}

#footer .text-muted {
  color: #8898aa !important;
}

#footer .h6.text-uppercase.text-muted {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 25px;
  font-weight: 600;
}

#footer address,
#footer address a {
  color: #fff;
  line-height: 1.6;
  font-style: normal;
  font-size: 16px;
}

#footer .widget-recent-posts ul.list-posts li a {
  color: #fff;
  font-size: 16px;
}

#footer .widget-recent-posts ul.list-posts li .date {
  color: #8898aa;
}

/* Info Links (Boxed) */
#footer .info-links li {
  display: block;
  margin-bottom: 10px;
}

#footer .info-links li a {
  display: inline-block;
  border: 1px solid #fff;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0; /* Square corners as per image, or rounded if preferred? Image looks square-ish */
}

#footer .info-links li a:hover {
  background: #fff;
  color: #0e1924;
}

/* Payment Section */
#footer .info-payment {
  margin-bottom: 20px;
}

#footer .info-payment li {
  display: inline-block;
  margin-right: 10px;
}

#footer .info-payment li i {
  font-size: 24px;
  color: #fff;
}

#footer .widget-contact p {
  font-size: 16px; /* Reduced from 18px */
  line-height: 1.5;
  color: #fff;
}

/* Copyright */
#footer .sep-line {
  border-color: rgba(255, 255, 255, 0.1);
}

#footer .col-sm-6.text-muted {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .row-flex-center {
    display: block;
  }

  .promo-box {
    margin-bottom: 30px;
    padding: 30px;
  }

  .promo-title {
    font-size: 24px;
  }

  .promo-buttons {
    flex-direction: column;
  }

  .btn-outline-white {
    width: 100%;
  }

  .promo-image-container {
    height: auto !important;
    min-height: 0;
    padding: 30px;
  }
}

/* Feature Icons */
.feature-icon-large {
  height: 100px;
  width: auto;
}

.feature-icon-medium {
  height: 90px;
  width: auto;
}

.feature-icon-xl {
  height: 110px;
  width: auto;
}

.feature.boxed h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Feature Card Alignment */
.feature.feature-1.boxed {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.feature.feature-1.boxed h3 {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  width: 100%;
}

/* Center the icon in the remaining space */
.feature.feature-1.boxed img,
.feature.feature-1.boxed a {
  margin-top: auto;
  margin-bottom: auto;
  display: block; /* Ensure anchor behaves correctly */
}

/* Ensure the anchor doesn't collapse */
.feature.feature-1.boxed a img {
  margin: 0; /* Reset margin on the image inside anchor since anchor handles positioning */
}

/* Card CTA alignment */
.feature.feature-1.boxed .card-cta {
  margin-top: auto;
  width: 100%;
}

.feature.feature-1.boxed .card-cta a {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  width: 100%;
}

/* Video Background Styles */
.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-background-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-cta-section {
  position: relative;
  overflow: hidden;
}

.video-cta-section .container {
  position: relative;
  z-index: 2;
}


/* Mobile Header Fix */
@media only screen and (max-width: 767px) {
  #header.absolute {
    position: relative !important;
    background-color: #fff !important;
  }

  /* Ensure content doesn't have double padding since header is now relative */
  body.header-absolute #content .section:first-child {
    padding-top: 0 !important;
  }

  /* Adjust hero section height/padding */
  .h-lg {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* Ensure logo visibility on white background */
  .transparent:not(.out) #nav-bar .logo-dark {
    display: block !important;
  }

  .transparent:not(.out) #nav-bar .logo-light {
    display: none !important;
  }

  /* Fix menu toggle color */
  .transparent:not(.out) .mobile-trigger:after,
  .transparent:not(.out) .mobile-trigger > span:after,
  .transparent:not(.out) .mobile-trigger > span:before,
  .transparent:not(.out) .mobile-trigger > span > span:after,
  .transparent:not(.out) .mobile-trigger > span > span:before {
    background-color: #434343 !important;
  }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    max-width: 350px;
    border: 1px solid #eee;
    display: none; /* Hidden by default, shown by JS */
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cookie-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-right: 10px;
}

.cookie-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 5px;
    transition: color 0.3s;
    line-height: 1;
}

.cookie-close:hover {
    color: #333;
}

#cookie-okay-btn {
    padding: 6px 15px;
    font-size: 12px;
    border-radius: 20px !important;
    white-space: nowrap;
}

/* Vehicle Overview Styles */
.vehicle-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.vehicle-separator {
    margin-bottom: 50px;
    margin-top: 10px;
}

.vehicle-img-wrapper {
    text-align: center;
}

@media (max-width: 767px) {
    .vehicle-row {
        display: block; /* Disable flex on mobile to let columns stack naturally if needed, or keep flex but direction column */
        text-align: center;
    }
    
    .vehicle-img-wrapper {
        margin-bottom: 25px; /* Space between image and headline on mobile */
    }
    
    .vehicle-row .col-md-10 {
        text-align: center;
    }
}

/* Utility for smaller feature cards */
.feature.feature-1.boxed.small-height {
    min-height: 200px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
