/* --------------------------------------------------
   CSS RESET & BASE STYLES
-------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25344A;
  background: linear-gradient(135deg, #F6F6F9 0%, #BFBFAD 100%);
  min-height: 100vh;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #25344A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C265;
}
ul, ol {
  padding-left: 24px;
  margin: 18px 0 18px 0;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: bold;
}

/* ---------------------------------------------
  BRAND TYPOGRAPHY & HEADINGS
---------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 18px 0;
  color: #25344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
}
.subtitle {
  color: #555;
  font-size: 1.06rem;
  margin-bottom: 26px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Responsive Typography */
@media (min-width: 600px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  body { font-size: 1.08rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.15rem; }
  body { font-size: 1.12rem; }
}

/* -------------------------------------------------------
   LAYOUT CONTAINERS
------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255,255,255,0.85);
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(36,52,74,0.06);
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 20px 6px; border-radius: 18px; }
  .container { padding-left: 7px; padding-right: 7px; }
}

/* -------------------------------------------------------
   HEADER/NAVIGATION
------------------------------------------------------- */
header {
  background: linear-gradient(90deg, #BFBFAD 0%, #F6C265 55%, #F6C265 100%);
  box-shadow: 0 2px 16px rgba(36,52,74,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
}
header img {
  height: 42px;
  margin-right: 22px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  color: #25344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  border: none;
  background: none;
  outline: none;
  transition: color 0.18s, border-bottom 0.15s;
}
nav a:hover, nav a:focus {
  color: #F6C265;
  border-bottom: 2px solid #F6C265;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #F6C265 0%, #FFD38E 100%);
  color: #25344A;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  font-size: 1.1rem;
  box-shadow: 0 3px 12px rgba(246, 194, 101, 0.13);
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFD38E 0%, #F6C265 100%);
  color: #25344A;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 30px rgba(246, 194, 101, 0.12);
}

/* ------ Responsive NAV ------ */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #25344A;
  align-items: center;
  cursor: pointer;
  margin-left: 18px;
  padding: 3px 10px 3px 3px;
  border-radius: 7px;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6C26533;
}

@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
}
@media (max-width: 900px) {
  nav { gap: 15px; }
  .cta-btn { margin-left: 10px; padding: 10px 21px; font-size: 1rem; }
  header img { height: 37px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 12px 0 12px 0;
  }
  nav {
    display: none;
  }
  .cta-btn { display: none; }
}

/* ---------------------------------------------
   MOBILE MENU
---------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 52, 74, 0.96);
  color: #fff;
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.45,.2,.22,1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  z-index: 2;
  cursor: pointer;
  transition: color 0.18s, background 0.2s;
  border-radius: 50%;
  padding: 6px 12px 6px 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F6C265;
  background: rgba(255,255,255,0.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 72px;
  gap: 10px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  transition: color 0.2s, padding-left 0.19s;
  padding: 6px 0 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #F6C265; padding-left: 12px; }

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ----------------------------------------------------
   HERO BANNER
---------------------------------------------------- */
.hero {
  background: linear-gradient(107deg, #BFBFAD 0%, #F6C265 92%);
  padding: 54px 0 66px 0;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 40px -8px rgba(36,52,74,0.09);
  margin-bottom: 0;
}
.hero .container {
  justify-content: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 670px;
  margin: 0 auto;
}
.hero h1 {
  color: #25344A;
}
.hero .cta-btn {
  margin-top: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 28px 0;
    border-radius: 0 0 18px 18px;
  }
  .hero .content-wrapper {
    max-width: 100%;
    padding: 0 4px;
  }
  .hero .cta-btn { margin-top: 12px; }
}

/* --------------------------------------------------------
   FEATURE GRIDS, CARDS, FLEXBOX
-------------------------------------------------------- */
/* Feature Grid: used for index, fahrzeuge, etc.  */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature {
  flex: 1 1 230px;
  min-width: 210px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(36,52,74,0.06);
  padding: 30px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #F6C26510;
  transition: box-shadow 0.16s, transform 0.17s;
}
.feature:hover, .feature:focus {
  box-shadow: 0 6px 35px -4px #bfbfad33;
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .feature { flex: 1 1 48%; }
}
@media (max-width: 600px) {
  .feature_grid {
    gap: 14px;
  }
  .feature {
    flex: 1 1 100%;
    min-width: 0;
    padding: 22px 12px 16px 13px;
    margin-bottom: 16px;
  }
}

.service_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(36,52,74,0.04);
  padding: 24px 20px;
  min-width: 190px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #F6C2650a;
  transition: box-shadow 0.15s, transform 0.17s;
}
.service:hover, .service:focus {
  box-shadow: 0 7px 24px -8px #bfbfad4d;
  transform: translateY(-2px) scale(1.02);
  z-index: 1;
}
@media (max-width: 900px) {
  .service { flex: 1 1 80%; }
}
@media (max-width: 600px) {
  .service_list { gap: 14px; }
  .service { flex: 1 1 100%; min-width: 0; padding: 16px 10px; margin-bottom: 13px; }
}

/* CARD CONTAINER GENERAL PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(36,52,74,0.06);
  background: #fff;
  padding: 28px 20px 18px 20px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover, .card:focus {
  box-shadow: 0 11px 30px -7px #f6c26533;
  transform: translateY(-2px) scale(1.019);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------------------
   TESTIMONIALS & SLIDERS
---------------------------------------------- */
.testimonial_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 4px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff7eb;
  border-radius: 18px;
  min-width: 230px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(36,52,74,0.06);
  border: 1.5px solid #F6C26533;
  transition: box-shadow 0.16s, transform 0.18s;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #25344A;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 10px 0;
}
.testimonial-meta {
  color: #25344A;
  font-size: 1rem;
  padding-left: 4px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 24px -7px #bfbfad70;
  transform: translateY(-2px) scale(1.015);
}
@media (max-width: 700px) {
  .testimonial_slider {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card { flex: 1 1 100%; min-width: 0; }
}

/* VISIBILITY & ACCESSIBILITY */
.testimonial-card, .testimonial-meta { color: #25344A; }

/* ----------------------------------------------
   FORMS & CONTACT INFO
---------------------------------------------- */
.contact-info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.04rem;
}
.contact-info-list li img {
  width: 22px;
  height: 22px;
  margin: 0;
}

/* ----------------------------------------------
   FOOTER
---------------------------------------------- */
footer {
  background: linear-gradient(98deg, #25344A 40%, #BFBFAD 100%);
  color: #fff;
  padding: 40px 0 26px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.16s, text-decoration 0.12s;
  border: none;
  text-decoration: underline 0.6px rgba(246,194,101,0.1);
}
footer nav a:hover, footer nav a:focus {
  color: #F6C265;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 0;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-logo img {
  width: 52px;
  height: 52px;
}
@media (max-width: 900px) {
  footer .container { gap: 25px; }
  .footer-logo img { width: 43px; height: 43px; }
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 8px; padding-right: 8px;
  }
  .footer-logo img { margin-top: 10px; }
}

/* ----------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #25344A;
  color: #fff;
  box-shadow: 0 -2px 20px rgba(36,52,74,0.15);
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 14px 20px 14px;
  animation: slideUpFadeIn 0.7s cubic-bezier(.47,1.64,.41,.8);
  flex-wrap: wrap;
  gap: 20px;
}
@keyframes slideUpFadeIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 200px;
  margin: 0;
  font-size: 0.99rem;
  color: #fff;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 20px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, transform 0.17s;
  background: #F6C265;
  color: #25344A;
  font-weight: 700;
  box-shadow: 0 1px 4px #fff3;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD38E;
  color: #25344A;
  transform: scale(1.04);
  outline: none;
}
.cookie-btn.reject {
  background: #fff;
  color: #25344A;
  border: 1px solid #F6C265;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #BFBFAD;
  color: #25344A;
}
.cookie-btn.settings {
  background: #25344A;
  color: #F6C265;
  border: 1px solid #F6C265;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6C265;
  color: #25344A;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,52,74,0.80);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .41s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #25344A;
  border-radius: 21px;
  padding: 34px 28px 24px 28px;
  max-width: 440px;
  width: 95vw;
  box-shadow: 0 10px 32px rgba(36,52,74,0.14);
  animation: scaleIn .23s cubic-bezier(.44,2.01,.43,1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
@keyframes scaleIn {
  from{ transform: scale(0.9); opacity: 0; }
  to  { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.19rem;
  color: #25344A;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-switch {
  width: 42px;
  height: 22px;
  border-radius: 11px;
  background: #BFBFAD;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  margin-right: 8px;
  outline: none;
  border: none;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.21s;
  box-shadow: 0 1px 2px #25344A22;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch {
  background: #F6C265;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch::after {
  transform: translateX(18px);
  background: #FFD38E;
}
.cookie-modal .cookie-btns {
  margin-top: 6px; gap: 11px; justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 18px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #25344A;
  font-size: 1.6rem;
  position: absolute;
  top: 10px; right: 19px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F6C265;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px 4px 17px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 24px 8px 16px 8px;
    max-width: 97vw;
  }
}

/* ----------------------------------------------
   UTILITY STYLES
---------------------------------------------- */
.text-section {
  margin-bottom: 26px;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 7px;
}

/* Spacing helpers */
.mt-20 { margin-top: 20px!important; }
.mb-8 {  margin-bottom: 8px!important; }
.mb-15 { margin-bottom: 15px!important; }
.mb-24 { margin-bottom: 24px!important; }
.pt-12 { padding-top: 12px!important; }
.pb-12 { padding-bottom: 12px!important; }

/* Button/Link accessibility */
a:focus, button:focus {
  outline: 2px solid #F6C265;
  outline-offset: 1px;
}

/* Hide visually (for A11y) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  border: 0; clip: rect(0,0,0,0);
}

/* ---------------------------------------------
   ANIMATIONS & TRANSITIONS
---------------------------------------------- */
.section, .feature, .service, .card, .testimonial-card, .cta-btn, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.15s, border 0.12s, background 0.13s, color 0.13s;
}

/* ----------------------------------------------
   MISCELLANEOUS (Tables, Code, etc.)
---------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
thead {
  background: #BFBFAD;
}
th, td {
  padding: 10px;
  border: 1px solid #BFBFAD;
}
th {
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #25344A;
}

/* -------------------------------------------
  END OF STYLE.CSS FOR StadtMobil Elegance
------------------------------------------- */
