/* =========================
   AeroShock Fahrzeugcheck
   Creative Artistic Theme
   style.css (mobile-first)
   ========================= */

/* =========================
   0) RESET / NORMALIZE
   ========================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { padding-left: 1.1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
:root {
  --primary: #0A2A4A;
  --secondary: #2E7D32;
  --accent: #F4F7FB;
  --ink: #0A1220;
  --muted: #6A7A8A;
  --line: #E3E8EF;
  --warm: #FF6B6B; /* artistic micro-accent */
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(10,42,74,0.10);
  --shadow-md: 0 10px 24px rgba(10,42,74,0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

/* =========================
   1) TYPOGRAPHY
   ========================= */
body {
  font-family: Arial, Helvetica, sans-serif; /* brand body */
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Trebuchet MS', Tahoma, sans-serif; /* brand display */
  letter-spacing: 0.2px;
  color: var(--primary);
}
h1 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 26px; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.subheadline { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

/* Artistic underline for headings (decorative, accessible) */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 72px; height: 8px;
  background: var(--secondary);
  opacity: 0.9;
  border-radius: 6px;
}

/* Links */
a:hover { color: var(--secondary); }

/* Focus styles */
:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; border-radius: 6px; }

/* =========================
   2) LAYOUT PRIMITIVES
   NOTE: Only Flexbox (no grid/columns)
   ========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section { padding: 40px 0; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* MANDATORY 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; }

/* Defaults for any flex group */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }

/* =========================
   3) HEADER & NAVIGATION
   ========================= */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
header .container {
  padding-top: 14px; padding-bottom: 14px;
  flex-direction: row; align-items: center; justify-content: space-between;
}
header .container > a img { height: 34px; }
header .container nav { display: none; align-items: center; gap: 18px; }
header .container nav a {
  padding: 8px 10px; border-radius: 8px; font-weight: 600; color: var(--primary);
}
header .container nav a:hover { background: var(--accent); }
/* Header CTAs (visible desktop, hidden mobile) */
header .cta-primary, header .cta-secondary { display: none; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, background .2s ease;
}
.mobile-menu-toggle:hover { transform: translateY(-2px); background: #0e3a6b; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--primary);
  color: var(--white);
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close {
  align-self: flex-end;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--white); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.mobile-nav { display: flex; flex-direction: column; gap: 14px; }
.mobile-nav a {
  background: rgba(255,255,255,0.08);
  padding: 14px 12px; border-radius: 12px; font-weight: 600;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.14); }

/* =========================
   4) BUTTONS & INTERACTIONS
   ========================= */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-primary, .cta-secondary, .cta-link, .cta-inline { transition: all .2s ease; }
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--secondary); color: var(--white);
  padding: 12px 18px; border-radius: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.cta-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--primary);
  padding: 12px 18px; border: 2px solid var(--primary);
  border-radius: 14px; font-weight: 700;
}
.cta-secondary:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.cta-link, .cta-inline { color: var(--secondary); font-weight: 700; }
.cta-link:hover, .cta-inline:hover { color: #1f5b23; text-decoration: underline; }

/* Phone snippet */
.phone-snippet { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.phone-snippet img { width: 18px; height: 18px; }
.phone-snippet a { color: var(--secondary); font-weight: 700; }

/* =========================
   5) HOME & COMMON SECTIONS
   ========================= */
/* Visual USPs */
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-weight: 600; }
.usps-bar {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px 12px; border-radius: 12px; background: var(--accent);
  color: var(--primary); font-weight: 700; box-shadow: var(--shadow-sm);
}

/* Feature Grid (flex only) */
.feature-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-item {
  flex: 1 1 100%;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.feature-item img { width: 36px; height: 36px; }
.feature-item h3 { margin: 8px 0 4px; }

/* Stat highlights */
.stat-highlights ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; }
.stat-highlights li {
  flex: 1 1 140px; background: var(--accent); color: var(--primary);
  border-radius: 12px; padding: 12px; text-align: center; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* Services overview cards */
.service-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.service-card {
  flex: 1 1 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); padding: 18px; box-shadow: var(--shadow-sm);
  position: relative;
}
.service-card::before { /* decorative artistic tag */
  content: ""; position: absolute; top: -6px; left: 14px; width: 60px; height: 6px; background: var(--warm); border-radius: 6px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card ul { margin: 0; padding-left: 18px; }

.deliverables-list { background: var(--accent); border-radius: 12px; padding: 14px; color: var(--primary); }
.coverage-note p { color: var(--muted); }

/* Timeline */
ol.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
ol.timeline li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 12px 12px 14px;
  border-left: 4px solid var(--secondary);
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow-sm);
}

/* Testimonials (high contrast: dark text on light bg) */
.testimonial-card {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.testimonial-card p { font-style: italic; }
.testimonial-meta { color: var(--muted); font-weight: 700; }
.rating-summary { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; }
.rating-summary img { width: 22px; height: 22px; }

/* Pricing tables */
.price-table, .price-table-preview {
  width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-table thead th, .price-table-preview thead th {
  background: var(--primary); color: var(--white); padding: 12px; text-align: left; font-weight: 800;
}
.price-table td, .price-table th, .price-table-preview td, .price-table-preview th {
  border-bottom: 1px solid var(--line); padding: 12px; color: var(--ink);
}
.price-table tbody tr:nth-child(even), .price-table-preview tbody tr:nth-child(even) { background: #FAFCFF; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list > div {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm);
}
.faq-list strong { color: var(--primary); }

/* Contact info blocks */
.contact-info { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-info > div {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm);
}
.contact-info img { width: 18px; height: 18px; }

/* Deliverables grid (flex only) */
.deliverables-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.deliverables-grid > div {
  flex: 1 1 220px; display: flex; align-items: center; gap: 10px;
  background: var(--accent); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
}
.sla-notes ul { margin: 0; padding-left: 18px; }

/* =========================
   6) FOOTER
   ========================= */
footer { margin-top: 20px; background: var(--primary); color: var(--white); }
footer .container { padding-top: 24px; padding-bottom: 24px; }
footer a { color: var(--white); opacity: 0.95; }
footer a:hover { opacity: 1; text-decoration: underline; }
.footer-nav, .legal-nav, .social-links, .contact-mini {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.footer-nav a, .legal-nav a { background: rgba(255,255,255,0.06); padding: 8px 10px; border-radius: 10px; }
footer .container > a img { height: 34px; }
.social-links img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.contact-mini span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); padding: 8px 10px; border-radius: 10px; }
.contact-mini img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.brand-badge { background: rgba(255,255,255,0.1); padding: 8px 10px; border-radius: 10px; font-weight: 700; }

/* =========================
   7) ARTISTIC FLOURISHES (decorative only)
   ========================= */
section .container {
  position: relative;
}
/* Subtle corner badge to add creative character */
section .container::before {
  content: ""; position: absolute; top: -6px; right: 12px; width: 14px; height: 14px;
  background: var(--warm); border-radius: 4px; opacity: 0.7; z-index: 0;
}
/* Keep content above decorative elements */
section .content-wrapper, section h1, section h2, section p { position: relative; z-index: 1; }

/* =========================
   8) RESPONSIVE (mobile-first)
   ========================= */
@media (min-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}
@media (min-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .text-image-section { flex-direction: row; }
  .feature-item { flex: 1 1 calc(50% - 12px); }
  .service-card { flex: 1 1 calc(50% - 10px); }
  .deliverables-grid > div { flex: 1 1 calc(50% - 12px); }
  .stat-highlights li { flex: 1 1 calc(33% - 10px); }
}
@media (min-width: 992px) {
  header .container nav { display: flex; }
  header .cta-primary, header .cta-secondary { display: inline-flex; }
  .mobile-menu-toggle { display: none; }
  .feature-item { flex: 1 1 calc(33.33% - 16px); }
  .service-card { flex: 1 1 calc(33.33% - 13px); }
  .deliverables-grid > div { flex: 1 1 calc(33.33% - 12px); }
  .container { gap: 24px; }
}
@media (min-width: 1200px) {
  h1 { font-size: 48px; }
}

/* =========================
   9) PAGE-SPECIFIC TWEAKS
   ========================= */
/* Hero areas: add soft panel to emphasize intro */
main > section:first-of-type .content-wrapper {
  background: var(--accent);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* Price page spacing */
.price-table { margin-top: 10px; }

/* =========================
   10) MOBILE MENU & NAV (already above) – ensure stacking */
header, .mobile-menu { z-index: 1100; }

/* =========================
   11) COOKIE CONSENT BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400;
  background: var(--white); color: var(--ink);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -8px 24px rgba(10,42,74,0.12);
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 16px;
}
.cookie-banner .cookie-content { display: flex; flex-direction: column; gap: 10px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.cookie-actions .btn-accept { background: var(--secondary); color: var(--white); }
.cookie-actions .btn-reject { background: var(--accent); color: var(--primary); border: 2px solid var(--primary); }
.cookie-actions .btn-settings { background: var(--white); color: var(--primary); border: 1px dashed var(--primary); }
.cookie-actions .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cookie-banner.is-hidden { display: none; }

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed; inset: 0; background: rgba(10,42,74,0.6); z-index: 1500;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: var(--white); color: var(--ink);
  border-radius: 18px; width: 100%; max-width: 680px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
}
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: 12px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.cookie-toggle { width: 46px; height: 28px; border-radius: 999px; background: #cdd7e3; position: relative; transition: background .2s ease; }
.cookie-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.cookie-toggle.on { background: var(--secondary); }
.cookie-toggle.on::after { transform: translateX(18px); }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* =========================
   12) TABLETS/DESKTOP POLISH
   ========================= */
@media (min-width: 768px) {
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner .cookie-content { max-width: 70%; }
  main > section:first-of-type .content-wrapper { padding: 28px; }
}

/* =========================
   13) PRINT BASICS
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  a { text-decoration: underline; }
}

/* =========================
   14) ENSURE NO OVERLAPS & GAPS
   ========================= */
section + section { margin-top: 20px; }
.content-wrapper > * + * { margin-top: 4px; }
.card, .service-card, .feature-item, .testimonial-card { margin-bottom: 20px; }

/* =========================
   15) ACCESSIBILITY & READABILITY
   ========================= */
.testimonial-card, .rating-summary { color: #0a213b; }
.testimonial-card p { color: #0a213b; }

/* =========================
   16) PAGE HEADER VARIANTS (optional subtle hero color cues)
   ========================= */
/* Keep solid colors for compatibility */

/* End of stylesheet */
