/* =====================================================
   Vintage Retro CSS Stylesheet for Lunar Shade Energiekonzepte
   Author: AI UI Designer – Senior CSS Dev
   ===================================================== */

/* --- CSS RESET (Normalize + Retro Baseline) --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0; padding: 0; font-weight: inherit;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
:focus { outline: 2px dashed #A28559; outline-offset: 4px; }

/* --- RETRO BRAND COLORS (Inspired by Guidelines + Vintage Tones) --- */
:root {
  --primary: #27547A;          /* Brand deep blue */
  --secondary: #85B369;        /* Soft olive green */
  --accent: #F9FAF4;           /* Pale off-white/cream */
  --retro-bg: #F6E6B2;         /* Warm cream, classic retro */
  --retro-dark: #564336;        /* Deep brown retro for text */
  --retro-orange: #E19239;      /* Vintage orange highlight */
  --retro-green: #95A364;       /* Muted desaturated green */
  --retro-pink: #FFC7B0;       /* Coral highlight */
  --retro-blue: #5C8492;       /* Muted sky blue */
  --text-main: #2D1B13;        /* Nearly dark brown text */
  --shadow: 0 4px 18px 0 rgba(64,54,20,0.06);
  --card-border: #D9C38F;
  --border-radius: 18px;
  --main-gradient: linear-gradient(90deg, #F9FAF4 0%, #F6E6B2 100%);
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--main-gradient), var(--retro-bg);
  color: var(--text-main);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  background-repeat: no-repeat;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- TYPOGRAPHY (Vintage hierarchy, using Montserrat) --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--retro-dark); }
h4 { font-size: 1.05rem; color: var(--retro-dark); }
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-main);
}
a {
  transition: color 0.2s;
  color: var(--primary);
}
a:hover, a:focus { color: var(--retro-orange); text-decoration: underline; }
strong, b { color: var(--primary); font-weight: bold; }

/* --- VINTAGE SHADOWS & BORDERS --- */
.card, .feature-block, .service-card, .testimonial-card, .case-study-card, .confirmation-section, .about-section, .knowledge-hub-section, .contact-section, .faq-section, .legal-section {
  background: #fffbe6;
  border: 1.5px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px 0 rgba(64,54,20,0.07);
}

/* --- HEADER --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--retro-bg);
  border-bottom: 2px solid var(--retro-dark);
  padding: 20px 0 16px 0;
  position: relative;
  z-index: 80;
  font-family: 'Montserrat', Arial, sans-serif;
}
.header-logo {
  flex: 0 0 auto;
  margin-right: 16px;
}
.header-logo img {
  display: block;
  height: 52px;
  width: auto;
  filter: sepia(0.2) contrast(0.92) brightness(1.05);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-right: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--retro-dark);
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-green);
  color: #fff;
}
.cta-primary {
  background: var(--retro-orange);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 32px;
  box-shadow: 0 2px 10px 0 rgba(225,146,57,0.19);
  margin-left: 16px;
  transition: background 0.2s, box-shadow 0.2s;
  border: 1.5px solid var(--retro-dark);
  letter-spacing: 0.09em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: #FFD210;
  box-shadow: 0 4px 20px 0 rgba(39,84,122,0.16);
  border-color: var(--primary);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--retro-dark);
  background: var(--retro-bg);
  border-radius: 8px;
  margin: 8px 12px 8px auto;
  z-index: 125;
  border: 2px solid var(--retro-dark);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.14s, border 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-orange);
  color: #fff;
  border: 2px solid var(--retro-orange);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFFBE6;
  box-shadow: 0 0 60px 0 rgba(64,54,20,0.12);
  z-index: 200;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.77,0,.18,1);
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--retro-dark);
  background: none;
  border: none;
  padding: 24px 24px 8px 24px;
  align-self: flex-end;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--retro-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 32px 32px 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.17rem;
  margin-bottom: 0;
  font-weight: 600;
  padding: 12px 8px 12px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s, background 0.16s;
  border-radius: 0 24px 24px 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: #fff;
  border-bottom: 2px solid var(--retro-dark);
}
@media (max-width: 1030px) {
  .main-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 6px; }
  .cta-primary { margin-left: 8px; }
}
@media (max-width: 820px) {
  header { padding-bottom: 8px; }
  .main-nav { gap: 2px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 8px;
    padding-top: 8px;
  }
  .main-nav { display: none; }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  width: 100%;
  background:
    repeating-linear-gradient(135deg, #F9FAF4 0px, #F9FAF4 16px, #FFD210 16px, #FFD210 18px),
    var(--retro-bg);
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
  min-height: 320px;
  box-shadow: 0 2px 20px 0 rgba(150,151,145,0.07);
}
.hero-section .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 700px;
  padding: 0;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.35rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}
.hero-section p {
  font-size: 1.16rem;
  color: var(--retro-dark);
  margin-bottom: 14px;
}
.hero-section .cta-primary {
  margin-top: 7px;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .hero-section { padding: 38px 0; }
}
@media (max-width: 650px) {
  .hero-section { padding: 26px 0 32px 0; }
  .hero-section h1 { font-size: 1.5rem; }
}
@media (max-width: 580px) {
  .hero-section { padding: 12px 0 18px 0; margin-bottom: 35px; }
  .hero-section .container { padding: 0 4px; }
}

/* --- FLEXBOX GRID PATTERNS (features, services, testimonials, cases) --- */
.features-section, .services-section, .testimonials-section, .case-studies-section, .about-section, .knowledge-hub-section, .faq-section, .contact-section, .confirmation-section, .legal-section {
  margin-bottom: 60px; padding: 40px 20px; 
}
.features-grid, .services-grid, .testimonials-grid, .case-studies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-block, .service-card, .testimonial-card, .case-study-card {
  flex: 1 1 220px;
  min-width: 260px;
  max-width: 360px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fffbe6;
  border: 1.5px solid var(--card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px 0 rgba(56,54,25,0.07);
  padding: 26px 22px 20px 22px;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-block:hover, .service-card:hover, .testimonial-card:hover, .case-study-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 9px 28px 0 rgba(56,54,25,0.15);
}
.feature-block img, .service-card img {
  height: 48px; width: 48px;
  margin-bottom: 7px;
  filter: sepia(0.25) brightness(0.92);
}
.feature-block h3, .service-card h3, .case-study-card h3 {
  color: var(--retro-dark);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.feature-block p, .service-card p, .case-study-card p {
  color: var(--retro-dark);
  font-size: 0.99rem;
  margin-bottom: 7px;
}
.service-price {
  color: var(--retro-orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .features-grid, .services-grid, .testimonials-grid, .case-studies-grid {
    gap: 18px;
  }
  .feature-block, .service-card, .testimonial-card, .case-study-card { min-width: 190px; max-width: 98vw; }
}
@media (max-width: 800px) {
  .features-grid, .services-grid, .testimonials-grid, .case-studies-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- ABOUT/INFO & TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  max-width: 780px;
  margin: 0 auto 0 auto;
  font-size: 1.05rem;
  color: var(--retro-dark);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  background: var(--accent);
  border-radius: var(--border-radius);
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 2px;
}
.testimonial-card {
  background: #fff;
  border: 2px solid var(--retro-orange);
  color: #2D1B13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 18px 0 rgba(182,98,19,0.09);
  font-size: 1.04rem;
  transition: box-shadow 0.22s, border-color 0.19s;
}
.testimonial-card p {
  color: var(--text-main);
  margin-bottom: 0;
  font-size: 1.02rem;
  font-style: italic;
}
.testimonial-name {
  color: var(--primary);
  font-size: 0.94em;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

/* --- CASE STUDIES --- */
.case-studies-section {
  background: #f7efd1;
  border-radius: var(--border-radius);
}
.case-studies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study-card {
  background: #fffbe6;
  border-color: var(--retro-blue);
}

/* --- SELLING POINTS --- */
.selling-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin: 18px 0 0 0;
  padding-left: 0;
  list-style: none;
}
.selling-points li {
  position: relative;
  background: var(--retro-pink);
  color: #3a1e11;
  border-radius: 9px;
  font-size: 0.98rem;
  padding: 7px 16px 7px 12px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px 0 rgba(174,108,35,.05);
}

/* --- CTA SECTION --- */
.cta-section {
  background: var(--retro-blue);
  color: #fff;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px; padding: 40px 20px;
  position: relative;
}
.cta-section .container { justify-content: center; align-items: center; }
.cta-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
}
.cta-section h2 {
  color: #fff;
  text-shadow: 0 3px 16px #16403f29;
}
.cta-section .cta-primary {
  background: #fff;
  color: var(--retro-blue);
  border: 2px solid #fff;
  font-size: 1.13rem;
}
.cta-section .cta-primary:hover, .cta-section .cta-primary:focus {
  background: var(--retro-orange);
  color: #fff;
  border-color: var(--retro-orange);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #faebc5;
  font-size: 1rem;
  padding: 36px 0 26px 0;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: 48px;
}
.footer-links {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.footer-links a {
  color: #fffbea;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  margin: 0 5px;
  transition: color 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--retro-orange);
}
.footer-info {
  font-size: 0.98rem;
  color: #ededed;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}
@media (max-width: 700px) {
  .footer-info, .footer-links { flex-direction: column; text-align: center; gap: 7px; }
  footer { padding: 24px 0 14px 0; margin-top: 32px; }
}

/* --- FAQ, DOWNLOAD, KNOWLEDGE HUB --- */
.blog-list, .faq, .downloads {
  background: #FFFCEF;
  border: 1.5px solid #E1D093;
  box-shadow: 0 2px 12px 0 rgba(124,93,31,0.06);
  border-radius: 11px;
  padding: 20px 24px 14px 24px;
  margin-bottom: 20px;
  min-width: 220px;
}
.knowledge-hub-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.blog-list ul, .faq ul, .downloads ul {
  margin-left: 1px;
  padding-left: 10px;
}
.blog-list li, .faq li, .downloads li {
  font-size: 0.99rem;
  margin-bottom: 10px;
  color: var(--retro-dark);
  padding-left: 9px;
  position: relative;
}
.blog-list li:before {
  content: '\25A0';
  color: var(--retro-orange);
  margin-right: 7px;
  font-size: 0.8em;
  vertical-align: middle;
  position: absolute; left: -14px; top: 1px;
}
.faq li:before {
  content: '\2756';
  color: var(--retro-green);
  margin-right: 7px;
  font-size: 0.7em;
  vertical-align: middle;
  position: absolute; left: -11px; top: 1px;
}
.downloads li:before {
  content: '\25A4';
  color: var(--retro-blue);
  margin-right: 7px;
  font-size: 0.7em;
  vertical-align: middle;
  position: absolute; left: -11px; top: 2px;
}

/* --- LEGAL SECTIONS/CONFIRMATION --- */
.legal-section, .confirmation-section {
  background: #fffbe6;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal-section h1, .confirmation-section h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- RESPONSIVE LAYOUT --- */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .features-grid, .services-grid, .testimonials-grid, .case-studies-grid { gap: 13px; }
  .feature-block, .service-card, .testimonial-card, .case-study-card {
    max-width: 97vw; min-width: 145px;
    padding: 16px 9px 12px 11px;
  }
}
@media (max-width: 700px) {
  .container { padding: 0 8px; }
  .features-section, .services-section, .testimonials-section, .case-studies-section, .about-section, .knowledge-hub-section, .faq-section, .contact-section, .confirmation-section, .legal-section, .cta-section {
    padding: 22px 4px;
    margin-bottom: 32px;
  }
  .feature-block, .service-card, .testimonial-card, .case-study-card {
    padding: 14px 6px;
    min-width: 104px;
    border-radius: 8px;
  }
  .testimonial-card, .case-study-card { min-width: 120px; }
}
@media (max-width: 600px) {
  .features-grid, .services-grid, .testimonials-grid, .case-studies-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-section { font-size: 0.98rem; }
}

/* --- CTA SIZES --- */
@media (max-width: 480px) {
  .cta-primary { font-size: 0.99rem; padding: 9px 17px; }
  .hero-section h1, .legal-section h1, .confirmation-section h1 { font-size: 1.09rem; }
  h2 { font-size: 1.13rem; margin-bottom: 8px; }
}

/* --- FORM & BUTTONS --- */
button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, border 0.13s, box-shadow 0.13s, transform 0.17s;
}
button:active, .cta-primary:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  filter: brightness(0.93);
  transform: scale(0.95);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2D1B13;
  color: #FFFBE8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  box-shadow: 0 -2px 20px 0 rgba(56,54,25,0.19);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 38px 18px 22px;
  gap: 28px;
  border-radius: 18px 18px 0 0;
  animation: cookiebannerfade 0.8s;
}
@keyframes cookiebannerfade {
  from { bottom: -100px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 28px;
  border: none;
  padding: 12px 28px;
  margin-left: 0;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(224,191,120,0.10);
  transition: background 0.18s, color 0.18s, border 0.12s;
  cursor: pointer;
  margin-right: 2px;
}
.cookie-btn.accept {
  background: var(--retro-orange);
  color: #fff;
  border: 2px solid var(--retro-orange);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--retro-dark);
  border: 2px solid var(--retro-dark);
}
.cookie-btn.settings {
  background: var(--retro-pink);
  color: var(--retro-dark);
  border: 2px solid var(--retro-pink);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro-blue);
  color: #fff;
  border-color: var(--retro-blue);
}
@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 10px; gap: 13px; font-size: 0.96rem; }
  .cookie-banner-buttons { width: 100%; gap: 8px; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(58,45,28,0.73);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.26s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffbe6;
  color: var(--retro-dark);
  border-radius: 18px;
  box-shadow: 0 9px 28px 0 rgba(56,54,25,0.23);
  max-width: 480px;
  width: 90vw;
  padding: 36px 22px 24px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  animation: modalfadein 0.3s;
}
@keyframes modalfadein { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal-content h3 { color: var(--primary); margin-bottom: 7px; }
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 24px;
  background: none;
  font-size: 1.46rem;
  color: var(--retro-dark);
  cursor: pointer;
  border: none;
  transition: color 0.14s;
}
.cookie-modal-close:hover { color: var(--retro-orange); }
.cookie-category {
  display: flex; align-items: center; gap: 11px; margin: 9px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--primary);
  width: 20px; height: 20px;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: var(--retro-orange);
}
.cookie-category .category-name { font-weight: 600; color: var(--primary); }
.cookie-category .always-on { color: var(--retro-dark); font-size: 0.97em; margin-left: 6px; }
.cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 19px;
  flex-wrap: wrap;
}
.cookie-modal-save {
  background: var(--retro-green);
  color: #fff;
  border: 2px solid var(--retro-green);
  border-radius: 32px;
  font-weight: 700;
  padding: 10px 32px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-save:hover, .cookie-modal-save:focus {
  background: var(--retro-blue);
  border: 2px solid var(--retro-blue);
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal-content { max-width: 96vw; width: 98vw; padding: 13px 4px 20px 7px; }
  .cookie-modal-close { right: 10px; }
}

/* --- ANIMATIONS & MICROINTERACTIONS --- */
.card, .feature-block, .service-card, .testimonial-card, .case-study-card, .cta-primary, .cookie-btn, .cookie-modal-save {
  transition: box-shadow 0.24s, transform 0.22s, background 0.18s, color 0.18s, border 0.17s;
}
.card:active, .feature-block:active, .service-card:active, .testimonial-card:active, .case-study-card:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(56,54,25,0.04);
}

/* --- MISC --- */
hr {
  border: none;
  border-top: 1.5px dotted var(--retro-dark);
  margin: 18px 0;
}
::-webkit-scrollbar { width: 12px; background: #F9FAF4; }
::-webkit-scrollbar-thumb { background: #D2C197; border-radius: 7px; }
::-webkit-input-placeholder { color: #C5B967; font-size: 0.97em; }
:-ms-input-placeholder { color: #C5B967; font-size: 0.97em; }
::placeholder { color: #C5B967; font-size: 0.97em; }

/* ==================
   LAW-MANDATED FLEX SPACING ---
   ================== */
.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; }

/* Responsive Spacing for Specified Patterns */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 13px; }
}

/* EMULATED RETRO PATTERNS (Subtle Dots/Hatches/Decorative) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background: url('data:image/svg+xml;utf8,<svg fill="%23A28559" fill-opacity="0.17" height="10" width="10" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1.5"/></svg>') repeat;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
