/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;700&display=swap');
* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding-top: 70px; /* Platz für fixe Navbar */
  background-color: #f7f5f3;
  color: #333;
}

/* ---------------------------------------------------
   NAVBAR
--------------------------------------------------- */

.navbar {
  font-size: 0.95rem;
}

.navbar .logo {
  height: 40px;
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #b89c6d !important;
}

/* ---------------------------------------------------
   HERO (Titelbereich)
--------------------------------------------------- */

.hero-section {
  padding: 1rem 0;
  min-height: 45vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
}

.hero-text {
  font-size: 1.2rem;
  max-width: 420px;
}

.hero-image,
.hero-img-compact {
  max-height: 320px;
  object-fit: cover;
}

/* ---------------------------------------------------
   HIGHLIGHTS – filigrane moderne Kacheln
   (aktuell auskommentiert im HTML-Bereich)
--------------------------------------------------- */

.highlight-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  margin-top: 0.2rem;
  text-align: center;
}

.highlight-section {
  margin-top: -6px;
}

.highlight-box {
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}

.highlight-img {
  width: 100%;
  max-width: 150px;
  border-radius: 10px;
  margin: 0 auto 10px auto;
  display: block;
}

.highlight-box h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.highlight-box p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.car-info-box {
  background: #faf7f1;
  border-left: 4px solid #b89c6d;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.4rem;
}


/* ---------------------------------------------------
   SECTION-STYLES
--------------------------------------------------- */

.section {
  padding: 4rem 0;
}

.section-light {
  background: #f7f5f3;
}

.section-soft {
  background: #efe7dd;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

/* ---------------------------------------------------
   FAHRZEUG-CARDS – Einheitliche Höhe
--------------------------------------------------- */

.car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Bild immer oben */
.car-card .card-img-top {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* Der Body soll den Platz füllen */
.car-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Beschreibungstext soll flexibel bleiben */
.car-card .card-text {
  flex-grow: 1; /* dehnt sich, damit der Button unten bleibt */
  margin-bottom: 1rem;
}

/* Button immer unten */
.car-card .btn {
  margin-top: auto;
}

/* ---------------------------------------------------
   MODALS (Universal-Modal)
--------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-window {
  background: #ffffff;
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  padding: 24px 30px;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.modal-window h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.modal-text {
  font-size: 1rem;
  line-height: 1.45rem;
  color: #333;
}

.modal-close {
  margin-top: 1rem;
  background: #b89c6d;
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.modal-close:hover {
  background: #9c8454;
}

/* ---------------------------------------------------
   FEEDBACK
--------------------------------------------------- */

.feedback-entry {
  background: #faf7f1;
  border-left: 4px solid #b89c6d;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
}

.feedback-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35rem;
  white-space: pre-wrap;
}

/* ---------------------------------------------------
   FEEDBACK – schöner "Briefpapier"-Look
--------------------------------------------------- */



.modal-feedback-window {
  max-width: 920px;
}

/* Briefpapier-Hintergrund */
.feedback-letter-paper {
  background: #fffdf8;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: inset 0 0 25px rgba(0,0,0,0.05);
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 32px,
      rgba(185,185,185,0.15) 33px
    );
}

/* Handschriftliche Überschrift */
.feedback-script-title {
  font-family: "Dancing Script", cursive;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 1.6rem;
  color: #b89c6d;
}

.feedback-letter-text {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  line-height: 1.8rem;
  white-space: pre-wrap;
  color: #3b372f;
  padding: 0 12px;
}



.feedback-letter-text p {
  margin-bottom: 1.2rem;
}

/* Einzelne Einträge aus deiner TXT-Datei */
.feedback-entry {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1.8rem;
}

#modal-feedback .modal-window {
  background: #fffdf8;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: inset 0 0 25px rgba(0,0,0,0.05);
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 32px,
      rgba(185,185,185,0.15) 33px
    );
}



/* Mobile */
@media (max-width: 768px) {
  .feedback-letter-paper {
    padding: 22px 20px;
  }
  .feedback-script-title {
    font-size: 2rem;
  }
  .feedback-letter-text {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    line-height: 1.0rem;
   
    color: #3b372f;
    padding: 0 0px;
  }
}



/* ---------------------------------------------------
   MOBILE
--------------------------------------------------- */

@media (max-width: 768px) {

  body {
    padding-top: 60px;
  }

  .hero-section {
    padding: 1.5rem 0;
    min-height: auto;
  }

  .hero-img-compact,
  .hero-image {
    max-height: 220px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .highlight-img {
    max-width: 120px;
  }

  .modal-window {
    padding: 18px;
  }

  .modal-text {
    font-size: 1rem;
    line-height: 1.45rem;
  }
}
  

/* ---------------------------------------------------
   HELFERKLASSEN
--------------------------------------------------- */

.d-none {
  display: none !important;
}
