/* =========================
   VeloX Reparaturservice CSS 
   Minimalist, Modern, Flexbox-only
   =========================
*/

/* RESET & BASE ============= */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #28435E;
  background: #fff;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, video {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #28435E;
  text-decoration: none;
  transition: color 0.15s;
}

/* TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #21354a;
  line-height: 1.1;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem;  margin-bottom: 20px; }
h3 { font-size: 1.2rem;  margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 14px; }

p, li, td, th, dl, dt, dd {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #28435E;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #21354a;
}

/* ==========================
   LAYOUT CONTAINERS
   ========================== */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Section Spacing (as specified) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/* SECTION-specific patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,67,94,0.09), 0 1.5px 3px rgba(40,67,94,0.03);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover { 
  box-shadow: 0 4px 16px rgba(40,67,94,0.15), 0 2px 4px rgba(40,67,94,0.06);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #f8fbfb;
  box-shadow: 0 2px 10px rgba(40,67,94,0.10);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive directions */
@media (max-width: 900px) {
  .testimonial-card, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* ==========================
   HEADER & NAVIGATION
   ========================== */
header {
  background: #fff;
  border-bottom: 1px solid #e5eaea;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #28435E;
  opacity: 0.90;
  position: relative;
  padding: 4px 0;
  transition: color 0.18s, opacity 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FDBA22;
  opacity: 1;
}
.button-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #28435E;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(40,67,94,0.10);
  cursor: pointer;
  text-align: center;
  transition: background 0.16s, box-shadow 0.16s, color 0.16s;
  display: inline-block;
  letter-spacing: 0.03em;
}
.button-primary:hover, .button-primary:focus {
  background: #FDBA22;
  color: #28435E !important;
  box-shadow: 0 6px 18px rgba(40,67,94,0.15);
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #28435E;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,67,94,0.93);
  z-index: 1100;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 22px 22px 22px;
  transition: transform 0.42s cubic-bezier(.87,0,.13,1), opacity 0.2s;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 2px 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.32rem;
  color: #fff;
  padding: 14px 0 6px 0;
  border-bottom: 1px solid rgba(205,240,234,0.13);
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDBA22;
  background: rgba(205,240,234,0.08);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .button-primary {
    display: none;
  }
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
  .main-nav { display: flex; }
  .button-primary { display: inline-block; }
}

/* ==========================
   HERO, FEATURES, SERVICES, LISTS
   ========================== */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 26px;
}
.feature-grid li, .service-list li {
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,67,94,0.08);
  border-radius: 14px;
  padding: 20px 20px 18px 20px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 6px 24px rgba(40,67,94,0.15);
}
.feature-grid img, .service-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid li, .service-list li {
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================
   TABLES (e.g. PRICING)
   ========================== */
.price-table {
  width: 100%;
  margin-bottom: 20px;
  background: #f4fafd;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(40,67,94,0.06);
}
.price-table th {
  text-align: left;
  background: #CDF0EA;
  color: #28435E;
  padding: 16px 12px;
  font-weight: 700;
  font-size: 1rem;
}
.price-table td {
  padding: 14px 12px;
  border-top: 1px solid #e5eaea;
}

/* ==========================
   FAQ ACCORDION
   ========================== */
.faq-accordion dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 6px;
  cursor: pointer;
  color: #21354a;
}
.faq-accordion dd {
  margin-bottom: 12px;
  padding-left: 6px;
  border-left: 2px solid #CDF0EA;
  background: #f8fbfb;
  border-radius: 3px;
  transition: background 0.14s;
}
/* Optional interactive state for JS-opened items */
.faq-accordion dt.active {
  color: #FDBA22;
}

/* ==========================
   TESTIMONIAL CARDS
   ========================== */
.testimonial-card > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 6px rgba(40,67,94,0.07);
  flex: 1 1 220px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
  min-width: 220px;
  max-width: 400px;
  color: #21354a;
  transition: box-shadow 0.15s;
}
.testimonial-card > div strong {
  margin-top: 8px;
  font-size: 1rem;
  display: block;
}
.testimonial-card > div span {
  margin-top: 4px;
  color: #FDBA22;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 1.02rem;
}
@media (max-width: 900px) {
  .testimonial-card > div {
    max-width: 100%;
  }
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: #f8fbfb;
  color: #28435E;
  margin-top: auto;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 40px 0 0 0;
  border-bottom: 1px solid #e5eaea;
}
.footer-brand img {
  width: 56px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 1rem;
  opacity: 0.88;
}
.footer-contact ul,
.footer-menu ul {
  margin-top: 8px;
}
.footer-contact li, .footer-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.99rem;
  margin-bottom: 10px;
  color: #28435E;
}
.footer-contact img, .footer-menu img {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.85;
}
.footer-menu a {
  color: #28435E;
  opacity: 0.90;
  transition: color 0.14s;
}
.footer-menu a:hover { color: #FDBA22; opacity: 1; }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.footer-social a {
  display: inline-block;
  margin-right: 14px;
  opacity: 0.9;
  transition: opacity 0.12s;
}
.footer-social a:hover { opacity: 1; }
.footer-social img {
  width: 22px;
  height: 22px;
}
.footer-main > div {
  min-width: 170px;
  flex: 1 1 150px;
}
.footer-bottom {
  text-align: center;
  padding: 16px 0;
  font-size: 0.97rem;
  color: #93a6b8;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    padding: 26px 0 0 0;
  }
}

/* ==========================
   COOKIES CONSENT BANNER & MODAL
   ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #28435E;
  color: #fff;
  z-index: 1200;
  box-shadow: 0 -2px 16px rgba(40,67,94,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-slidein 0.66s cubic-bezier(.7,.3,.21,.9);
}
@keyframes cookie-slidein {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p { margin: 0; color: #fff; font-size: 1rem; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 26px;
  padding: 7.5px 22px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cookie-accept {
  background: #FDBA22;
  color: #21354a;
}
.cookie-accept:hover { background: #ffd16c; }
.cookie-reject {
  background: #fff;
  color: #28435E;
  border: 1px solid #cdf0ea;
}
.cookie-reject:hover { background: #cdf0ea; color: #28435E; }
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-settings:hover { background: #21354a; }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5vw;
    gap: 12px;
    font-size: 0.99rem;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(40,67,94,0.30);
  animation: fadeIn 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 24px 22px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(40,67,94,0.12);
  max-width: 370px;
  width: 90vw;
  color: #21354a;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalIn 0.27s cubic-bezier(.64,0,.36,1);
}
@keyframes modalIn {
  from { transform: translateY(60px); opacity: 0; } 
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #28435E;
  width: 18px; height: 18px;
}
.cookie-modal .essential[disabled] ~ span {
  color: #93a6b8;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ==========================
   MICRO-INTERACTIONS/ANIMATIONS
   ========================== */
a, .button-primary, .feature-grid li, .testimonial-card > div, .card, .service-list li {
  transition: box-shadow 0.18s, background 0.14s, color 0.14s, opacity 0.14s, border-color 0.14s;
}

/* ==========================
   UTILITY CLASSES/SPACING
   ========================== */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.center { text-align: center; }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  opacity: 0.94;
}
.quick-links a { text-decoration: underline; color: #28435E; }
.quick-links a:hover { color: #FDBA22; }

/* Accessibility highlight */
a:focus, button:focus, .button-primary:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #FDBA22;
  outline-offset: 1.5px;
}

/* ==========================
   MEDIA QUERIES FOR MOBILE
   ========================== */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
}

/* ==========================
   GENERAL ELEMENTS
   ========================== */
hr {
  border: none;
  border-top: 1px solid #e5eaea;
  margin: 30px 0;
}
::-webkit-input-placeholder { color: #93a6b8; }
:-ms-input-placeholder { color: #93a6b8; }
::placeholder { color: #93a6b8; }

/* Custom for text sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 1.2em;
  margin-bottom: 10px;
  list-style: disc inside;
  color: #28435E;
}
.text-section li {
  margin-bottom: 7px;
}

/* Custom for timeline/process */
.timeline {
  background: #CDF0EA;
  color: #21354a;
  border-radius: 12px;
  padding: 18px 16px;
  margin-top: 18px;
  font-size: 1rem;
}

/* ===================
   HIDE/SHOW UTILITIES
   =================== */
.d-none { display: none!important; }

/* ==========================
   PRINT STYLES - MINIMALIST
   ========================== */
@media print {
  * { background: none !important; color: #111 !important; box-shadow: none!important; }
  .main-nav, .mobile-menu-toggle, .button-primary,
  .footer-social, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, .content-wrapper { page-break-inside: avoid; }
}

/*==========================
 END VeloX Reparaturservice CSS
===========================*/
