/* ===============================
   Brilliant Wave Autokompetenz
   style.css – Modern Bold UI (Flex-only)
   =============================== */

/* 1) RESET & NORMALIZE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; line-height: 1.6; color: #0A2E4F; background: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding-left: 20px; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
:focus-visible { outline: 3px solid #1F7A8C; outline-offset: 2px; }

/* 2) BRAND TOKENS */
:root {
  --color-primary: #0A2E4F;
  --color-secondary: #1F7A8C;
  --color-accent: #F4F7FA;
  --color-bg: #FFFFFF;
  --color-dark: #071E34;
  --color-muted: #6B8A9C;
  --color-success: #12B886;
  --color-warning: #FFB703;
  --color-alert: #FF3B3B; /* bold highlight accent for modern_bold */
  --shadow-1: 0 6px 18px rgba(10,46,79,0.10);
  --shadow-2: 0 12px 28px rgba(10,46,79,0.18);
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 18px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-30: 30px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-60: 60px;
  --transition-fast: 180ms ease;
  --transition-med: 260ms ease;
  --transition-slow: 360ms ease;
}

/* 3) FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800;900&display=swap');
body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-size: 16px; background: var(--color-bg); }
h1, h2, h3, h4 { font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0 0 10px; line-height: 1.2; letter-spacing: 0.2px; }
h1 { font-weight: 800; font-size: 32px; }
h2 { font-weight: 800; font-size: 24px; }
h3 { font-weight: 700; font-size: 18px; }
p { margin: 0 0 12px; font-size: 16px; color: var(--color-dark); }
small { font-size: 14px; color: var(--color-muted); }

/* Headings accent underline for geometric bold vibe */
h2::after { content: ''; display: block; width: 64px; height: 6px; background: var(--color-secondary); margin-top: 10px; border-radius: 4px; }

/* 4) LAYOUT PRIMITIVES (Flex-only) */
.container { width: 100%; display: flex; justify-content: center; padding: 0 var(--space-20); }
.content-wrapper { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: var(--space-24); }
section { margin-bottom: var(--space-60); padding: var(--space-40) var(--space-20); background: #fff; }

/* MANDATORY CSS SPACING AND ALIGNMENT PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* 5) HEADER */
header { background: #fff; border-bottom: 3px solid var(--color-accent); position: relative; z-index: 50; }
header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--space-16) 0; }
header nav { display: none; align-items: center; gap: var(--space-20); }
header nav a { font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--color-primary); padding: 10px 8px; position: relative; }
header nav a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 3px; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-med); border-radius: 2px; }
header nav a:hover::after { transform: scaleX(1); }
header img { height: 40px; width: auto; }

/* CTA Buttons (Modern Bold) */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; transition: transform var(--transition-fast), box-shadow var(--transition-med), background var(--transition-fast), color var(--transition-fast); border: 2px solid transparent; }
.cta.primary { background: var(--color-secondary); color: #fff; box-shadow: var(--shadow-1); }
.cta.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.cta.secondary { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.cta.secondary:hover { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-1); }

/* 6) HERO and Section Styling */
/* Give the first section a bold, high-contrast look */
main > section:first-of-type { background: var(--color-accent); border-bottom: 4px solid var(--color-secondary); }
.text-section { display: flex; flex-direction: column; gap: var(--space-20); }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; }
.badges span, .badges li { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 2px solid var(--color-secondary); color: var(--color-primary); font-weight: 700; border-radius: 999px; box-shadow: var(--shadow-1); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--color-success); color: #fff; border-radius: 999px; font-weight: 700; font-size: 12px; }

.guarantees { padding: 14px 16px; border-left: 6px solid var(--color-secondary); background: #fff; box-shadow: var(--shadow-1); border-radius: var(--radius-m); font-weight: 700; }
.numbers { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-20); }
.numbers span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--color-accent); padding: 10px 14px; border-radius: var(--radius-m); font-weight: 700; }

/* Cards (services, pricing blocks, etc.) */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.service-card { flex: 1 1 260px; background: #fff; border: 3px solid var(--color-accent); border-radius: var(--radius-l); padding: var(--space-20); box-shadow: var(--shadow-1); transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--color-secondary); }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }

/* Utility lists (features, services, contact) */
.text-section ul, .text-section ol { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; }
.service-list li, .equipment-list li, .package-inclusions li, .faq-list li { padding-left: 2px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list img { width: 22px; height: 22px; }

/* Informational notes */
.note, .materials-pricing-policy, .sample-report-overview, .comparative-highlights, .vehicle-specs-highlights, .response-time-info, .after-hours-info, .prep-checklist, .quality-controls, .warranty-info, .result-count-info, .search-prompt, .case-snippet, .pricing-teaser { background: var(--color-accent); border-left: 6px solid var(--color-secondary); padding: 14px 16px; border-radius: var(--radius-m); }

/* Vehicle list & pseudo-table */
.vehicle-list-table { display: flex; flex-direction: column; gap: 12px; padding: 10px; background: #fff; border: 2px solid var(--color-accent); border-radius: var(--radius-m); }
.vehicle-list-table > div { padding: 12px; border: 2px solid var(--color-accent); border-radius: var(--radius-m); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Pricing table (flex version) */
.pricing-table { display: flex; flex-wrap: wrap; gap: 16px; }
.pricing-table > div { flex: 1 1 240px; background: #fff; border: 3px solid var(--color-accent); border-radius: var(--radius-l); padding: 16px; font-weight: 800; box-shadow: var(--shadow-1); }

/* Rating / Trust */
.rating-summary { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 2px solid var(--color-accent); border-radius: 999px; font-weight: 800; box-shadow: var(--shadow-1); }
.trust-logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-logos img { height: 28px; width: auto; filter: saturate(1.1); }

/* 7) TESTIMONIALS (high contrast, readable) */
/* CRITICAL: dark text on light background for readability */
.testimonial-card { background: var(--color-accent); color: var(--color-primary); border: 3px solid #E6ECF2; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.testimonial-card blockquote { margin: 0; font-weight: 700; font-size: 18px; color: var(--color-dark); }

/* 8) FOOTER */
footer { background: #0B1F35; color: #E7EEF5; }
footer .content-wrapper { padding: var(--space-32) 0; gap: var(--space-24); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--space-16); }
footer nav a { color: #CFE3F0; font-weight: 700; text-transform: uppercase; font-size: 13px; opacity: 0.9; }
footer nav a:hover { color: #fff; opacity: 1; }
.brand-info { display: flex; align-items: center; gap: 12px; }
.brand-info img { height: 28px; width: auto; }
.legal-links { font-size: 14px; color: #A9C2D3; }
.social-links { display: flex; align-items: center; gap: 12px; }
.social-links img { width: 20px; height: 20px; filter: brightness(1.2); }

/* 9) NAVIGATION – MOBILE MENU */
.mobile-menu-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 1001; width: 56px; height: 56px; border-radius: 14px; background: var(--color-secondary); color: #fff; font-weight: 900; font-size: 22px; box-shadow: var(--shadow-2); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast); }
.mobile-menu-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(31,122,140,0.35); }

.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(7,30,52,0.6); backdrop-filter: blur(2px); display: flex; justify-content: flex-end; transform: translateX(100%); transition: transform var(--transition-slow); z-index: 1000; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mobile-nav { width: 85vw; max-width: 360px; background: #fff; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 80px 20px 20px; border-left: 6px solid var(--color-secondary); }
.mobile-menu .mobile-nav a { padding: 14px 12px; border-radius: 12px; font-weight: 800; text-transform: uppercase; border: 2px solid var(--color-accent); color: var(--color-primary); }
.mobile-menu .mobile-nav a:hover { background: var(--color-accent); }
.mobile-menu-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px; background: var(--color-alert); color: #fff; font-size: 20px; box-shadow: var(--shadow-1); display: inline-flex; align-items: center; justify-content: center; }

/* Show desktop menu on larger screens, hide FAB burger */
@media (min-width: 992px) {
  header nav { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* 10) FORMS (basic) */
input, select, textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--color-accent); border-radius: 12px; background: #fff; color: var(--color-primary); }
input:focus, select:focus, textarea:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(31,122,140,0.2); }

/* 11) MEDIA ELEMENTS */
.map-embed { display: flex; align-items: center; justify-content: center; padding: 8px; background: #fff; border: 2px solid var(--color-accent); border-radius: var(--radius-m); }
.map-embed img { max-width: 640px; width: 100%; }

/* 12) PAGE-SPECIFIC ELEMENTS */
.filters-bar, .sorting-options { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px; background: #fff; border: 2px solid var(--color-accent); border-radius: var(--radius-m); }
.filters-bar span, .sorting-options span { display: inline-flex; align-items: center; padding: 8px 10px; background: var(--color-accent); border-radius: 10px; font-weight: 700; }

/* 13) BLOCKQUOTES */
blockquote { padding-left: 14px; border-left: 6px solid var(--color-secondary); }

/* 14) NEWSLETTER TEXT */
.newsletter-signup { background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.12); padding: 12px 14px; border-radius: 12px; }

/* 15) MOBILE-FIRST RESPONSIVE TYPOGRAPHY */
@media (min-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
}
@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
}
@media (min-width: 1200px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
}

/* 16) GEOMETRIC DECORATIVE ELEMENTS (no absolute for content, decorative only) */
/* Add a bold angled stripe to service cards */
.service-card::before { content: ''; position: absolute; top: -3px; left: -3px; width: 36px; height: 12px; background: var(--color-secondary); border-top-left-radius: 12px; border-bottom-right-radius: 12px; }

/* 17) ACCESSIBILITY & UTILS */
.hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { display: flex; align-items: center; justify-content: center; }
.row { display: flex; flex-wrap: wrap; gap: var(--space-20); }
.column { display: flex; flex-direction: column; gap: var(--space-20); }

/* 18) COOKIE CONSENT BANNER & MODAL */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; transform: translateY(100%); transition: transform var(--transition-slow); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-inner { width: 100%; max-width: 1200px; margin: 0 16px 16px; background: #fff; border: 3px solid var(--color-accent); border-radius: var(--radius-l); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 14px; border-radius: 12px; font-weight: 800; text-transform: uppercase; border: 2px solid transparent; }
.cookie-btn.primary { background: var(--color-secondary); color: #fff; }
.cookie-btn.reject { background: #fff; color: var(--color-alert); border-color: var(--color-alert); }
.cookie-btn.settings { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.cookie-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); }

/* Cookie Settings Modal */
.cookie-modal { position: fixed; inset: 0; background: rgba(7,30,52,0.6); display: none; align-items: center; justify-content: center; z-index: 1200; }
.cookie-modal.open { display: flex; }
.cookie-modal .modal-panel { width: min(96vw, 720px); background: #fff; border: 6px solid var(--color-secondary); border-radius: 18px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 16px; padding: 20px; transform: translateY(16px); transition: transform var(--transition-slow); }
.cookie-modal.open .modal-panel { transform: translateY(0); }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: 14px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: var(--color-accent); border-radius: 12px; }
.cookie-category strong { font-family: 'Montserrat'; }
.toggle { --w: 48px; --h: 28px; position: relative; width: var(--w); height: var(--h); border-radius: 999px; background: #CFD8E3; border: 2px solid #B6C5D3; transition: background var(--transition-fast), border-color var(--transition-fast); display: flex; align-items: center; padding: 0 2px; }
.toggle::after { content: ''; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transform: translateX(0); transition: transform var(--transition-fast), background var(--transition-fast); }
.toggle.on { background: var(--color-secondary); border-color: var(--color-secondary); }
.toggle.on::after { transform: translateX(20px); background: #fff; }
.toggle.disabled { opacity: 0.6; pointer-events: none; }
.cookie-modal .modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* 19) RESPONSIVE LAYOUT TUNING */
@media (min-width: 768px) {
  .content-wrapper { gap: var(--space-32); }
  .numbers span { padding: 12px 16px; }
  .pricing-table > div { padding: 20px; }
  footer .content-wrapper { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
}

/* 20) LINKS & INTERACTIONS */
a:hover { color: var(--color-secondary); }
.pricing-teaser a, .pricing-teaser a:visited { color: var(--color-secondary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* 21) SPECIAL WRAPPERS from HTML */
.text-section > div { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cards + div, .service-cta, .contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-info span { max-width: 780px; }

/* 22) TABLE-LIKE INFO ROWS */
.vehicle-list-table strong { color: var(--color-primary); }

/* 23) HIGH CONTRAST STRIPS between sections */
section:nth-of-type(odd) { background: #fff; }
section:nth-of-type(even) { background: var(--color-accent); }

/* 24) HYPER-SPECIFIC PAGE SNIPPETS */
.case-snippet { font-weight: 700; border-left-color: var(--color-warning); }
.search-prompt { font-weight: 700; }
.notes-small-print small { display: inline-block; margin-top: 6px; }

/* 25) IMAGES in lists */
.text-section li img { width: 22px; height: 22px; }

/* 26) HEADER CTA on desktop only (mobile kept in menu) */
@media (max-width: 991px) {
  header .cta { display: none; }
}

/* 27) PRINT (simple) */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  a { text-decoration: underline; }
}

/* 28) ENSURE NO OVERLAP by spacing between stacked elements */
section > .container > .content-wrapper > * + * { margin-top: 0; }

/* 29) SAFETY: ensure flex-only usage where needed */
/* Common composite wrappers already set to display:flex above */

/* 30) OPTIONAL: subtle entrance animations for cards */
.service-card, .testimonial-card { will-change: transform, box-shadow; }
