/* RESET & NORMALIZE (Vintage-Retro Edition) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #F2F4F7;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #473C32;
  background: #F2F4F7;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #25313D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B96E51;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
section {margin-bottom: 60px; padding: 40px 20px;}

/* BRAND COLORS as CSS variables */
:root {
  --primary: #25313D;
  --secondary: #D6B88F;
  --accent: #F2F4F7;
  --retro-red: #c1440e;
  --retro-blue: #496d89;
  --retro-green: #749846;
  --retro-brown: #bc8c5a;
  --retro-yellow: #e3c871;
  --bg-vintage: #f9f6f1;
  --border-vintage: #e2d3ba;
  --font-display: 'Montserrat', 'Arial Rounded MT', 'Arial', Arial, sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
  --shadow-retro: 0 2px 8px rgba(44,32,5,0.08), 0 1px 3px rgba(220,194,165,0.12);
}

/* TYPOGRAPHIC HIERARCHY (Vintage Feel) */
h1, .hero-section h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 0 var(--border-vintage);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--retro-red);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--retro-blue);
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-display);
}
p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #473C32;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  color: var(--retro-green);
  border-left: 4px solid var(--retro-yellow);
  padding: 10px 20px;
  background: #fff8ef;
  margin: 16px 0 16px 0;
  border-radius: 12px;
}

/* CONTAINER & LAYOUT STRUCTURE (Flexbox only) */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 24px 24px 18px 24px;
  background: #fffbe6;
  border: 2px solid var(--border-vintage);
  border-radius: 20px;
  box-shadow: var(--shadow-retro);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(44,32,5,0.14);
  border-color: var(--retro-red);
}

.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;
  margin-bottom: 20px;
  background: #fffbe6;
  border: 2px dashed var(--retro-yellow);
  border-radius: 13px;
  box-shadow: 0 1px 3px rgba(220,194,165,0.10);
  font-size: 1.05rem;
  color: #22261a;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  border-color: var(--retro-green);
  box-shadow: 0 2px 12px rgba(44,32,5,0.12);
}
.rating-summary {
  font-family: var(--font-display);
  font-size: 1.09rem;
  background: #edebdb;
  padding: 12px 18px;
  margin-top: 18px;
  border-radius: 14px;
  color: var(--primary);
  border: 1.5px solid var(--retro-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE & PRODUCT GRID (Flexbox only) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  background: #fffbe6;
  border: 2px solid var(--border-vintage);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(44,32,5,0.04);
  flex: 1 1 calc(33% - 24px);
  min-width: 260px;
  max-width: 330px;
  margin-bottom: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.15s, border-color 0.2s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 15px rgba(44,32,5,0.10);
  border-color: var(--retro-brown);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

/* HERO SECTION */
.hero-section {
  background: repeating-linear-gradient(135deg, #e3c871, #fffbe6 28px, #fffbe6 67px, #e3c871 90px);
  border-bottom: 4px double var(--retro-yellow);
  padding-top: 50px;
  padding-bottom: 60px;
}
.hero-section .container {
  align-items: flex-start;
}
.hero-section h1 {
  color: #25241F;
  text-shadow: 0 4px 0 #ffe5c4;
}
.hero-section p {
  font-size: 1.18rem;
  max-width: 500px;
}

/* BUTTONS & CTA */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 33px;
  border-radius: 24px 34px 24px 34px;
  border: 2.5px solid var(--primary);
  box-shadow: 0 3px 16px rgba(244,210,141,0.13);
  letter-spacing: 0.07em;
  margin-top: 8px;
  transition: background 0.2s, color 0.22s, border-color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-shadow: 0 1px #f8dba5;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  border-color: var(--retro-red);
  box-shadow: 0 6px 22px rgba(193,68,14,0.10);
  text-decoration: none;
}

/* NAVIGATION (Desktop/Mobile) */
header {
  background: var(--bg-vintage);
  border-bottom: 2.5px solid var(--border-vintage);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  padding: 6px 0;
  font-size: 1.07rem;
  color: var(--retro-blue);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--retro-red);
  border-bottom: 2px solid var(--retro-yellow);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.15rem;
  padding: 5px 17px;
  cursor: pointer;
  border-radius: 11px;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--retro-yellow);
  background: var(--retro-yellow);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9998;
  background: rgba(255,251,230, 0.96);
  transform: translateX(-100vw);
  transition: transform 0.30s cubic-bezier(.36,1.01,.68,1.08);
  box-shadow: 6px 0 19px rgba(220,194,165,0.10);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  margin: 22px 17px 16px auto;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe5c2;
  color: var(--retro-red);
  outline: 2px solid var(--retro-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 90vw;
  margin: 0 auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  background: #fffbe6;
  color: var(--primary);
  padding: 16px 13px;
  margin-bottom: 4px;
  border-radius: 17px;
  box-shadow: var(--shadow-retro);
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-red);
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  bottom: 0; left: 0; right: 0;
  background: #fffbe6;
  border-top: 3px solid var(--retro-yellow);
  box-shadow: 0 -3px 14px rgba(193,68,14,0.09);
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  font-family: var(--font-body);
  font-size: 1.01rem;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-btn {
  margin-left: 11px;
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.03rem;
  padding: 8px 22px;
  border: none;
  border-radius: 13px;
  box-shadow: 0 1px 4px rgba(44,32,5,0.09);
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .cookie-btn.cookie-accept {
  background: var(--retro-green);
  color: #fffbe6;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: var(--retro-red);
  color: #fffbe6;
}
.cookie-banner .cookie-btn:hover {
  filter: brightness(0.94);
}

.cookie-modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(93,70,33,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-content {
  background: #fffbe6;
  border-radius: 23px;
  box-shadow: 0 6px 33px rgba(193,68,14,0.09);
  max-width: 420px;
  width: 92vw;
  padding: 40px 27px 27px 27px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  font-family: var(--font-body);
  border: 2.5px solid var(--border-vintage);
  animation: popupFadeIn 0.38s cubic-bezier(.36,1.01,.68,1.09);
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.87) translateY(22px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe5c2;
  color: var(--retro-red);
  outline: 2px solid var(--retro-yellow);
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #dfb85c;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: 0.19s;
}
.cookie-toggle input:checked + .slider {
  left: 19px;
  background: var(--retro-green);
}
.cookie-category-row[aria-disabled="true"] .cookie-toggle {
  opacity: 0.7;
}
.cookie-category-row[aria-disabled="true"] label {
  font-style: italic;
  color: #a39477;
}

/* FOOTER */
footer {
  padding: 35px 0 18px 0;
  background: var(--bg-vintage);
  border-top: 2.5px solid var(--border-vintage);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--primary);
  margin-top: 40px;
}
.footer-navigation {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.03rem;
}
.footer-navigation a {
  color: var(--retro-blue);
  transition: color 0.13s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--retro-red);
}
.contact-summary {
  margin-bottom: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-summary img {
  vertical-align: middle;
  height: 19px;
  margin-right: 7px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.social-links a img {
  height: 29px;
  width: 29px;
  filter: sepia(0.28) saturate(0.6) brightness(1.03);
  transition: filter 0.19s, transform 0.13s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: sepia(0.57) saturate(1.1) brightness(1.15) hue-rotate(12deg);
  transform: scale(1.12) rotate(-7deg);
}

/* TEXT SECTION, UTILS */
.text-section ul, .text-section ol {
  list-style: disc inside;
  margin-left: 18px;
  margin-bottom: 13px;
}
.text-section li {
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* LISTS FOR TIPS, FAQ, ETC */
.advice-list ul, .faq-section ul, .products-overview ul, .product-categories ul, .inspiration-stories ul, .tips-highlight ul, .company-info-section ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 13px;
}
.advice-list ul li, .faq-section ul li, .products-overview ul li, .product-categories ul li, .inspiration-stories ul li, .tips-highlight ul li, .company-info-section ul li {
  background: #fffbe6;
  border-radius: 13px;
  padding: 17px 18px;
  box-shadow: 0 1px 3px rgba(220,194,165,0.10);
  border: 1.5px solid var(--border-vintage);
  margin-bottom: 3px;
  font-family: var(--font-body);
}

/* CTA FINAL & SPECIAL SECTIONS */
.cta-final, .cta-community, .cta-last, .cta-inspire, .cta-realizations, .cta-advice, .cta-contact, .thank-you-section {
  background: repeating-linear-gradient(-40deg, #fbe7c6, #fffbe6 32px, #fffbe6 79px, #fbe7c6 110px);
  border: 2px solid var(--retro-yellow);
  border-radius: 32px;
  box-shadow: var(--shadow-retro);
  margin-bottom: 52px;
  padding: 40px 20px;
}

/* ------------------------------------------- */
/* RESPONSIVE DESIGN: MOBILE FIRST (max 768px) */
/* ------------------------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .feature-grid li, .products-overview ul li, .product-categories ul li {
    min-width: 210px;
    max-width: 100%;
    flex: 1 1 47%;
  }
}
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-primary {
    font-size: 1.06rem;
    padding: 12px 21px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .container, .content-wrapper {
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
  }
  .section, section {
    padding: 28px 5px;
    margin-bottom: 32px;
  }
  .hero-section {
    padding-top: 28px;
    padding-bottom: 36px;
  }
  .hero-section h1 {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.09rem; }
  .footer-navigation {
    flex-direction: column;
    gap: 2px;
    font-size: 0.98rem;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid li {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 9px;
  }
  .cta-final, .cta-community, .cta-last, .cta-inspire, .cta-realizations, .cta-advice, .cta-contact, .thank-you-section {
    padding: 18px 5px;
    border-radius: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .products-overview ul, .product-categories ul, .inspiration-stories ul, .tips-highlight ul, .company-info-section ul  {
    gap: 14px;
  }
}

@media (max-width: 500px) {
  html,body { font-size: 13.9px; }
  .cookie-banner { flex-direction: column; gap: 14px; padding: 16px 7px; }
  .footer-navigation { gap: 0px; }
}

/* MICRO-INTERACTIONS */
.cta-primary, .cookie-btn, .main-nav a, .footer-navigation a, .mobile-menu-toggle, .mobile-nav a, .mobile-menu-close, .cookie-modal-close {
  transition: box-shadow 0.2s, color 0.16s, border-color 0.18s, background 0.2s, filter 0.1s, outline 0.16s;
}

/* Hide the mobile menu by default on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none; }
  .mobile-menu-toggle { display: none; }
}

/* OVERRIDES & ACCESSIBILITY */
:focus {
  outline: 2px dashed var(--retro-yellow);
  outline-offset: 1.5px;
}

/* Specific SPACING and ALIGNMENT enforcement */
.card, .testimonial-card, .feature-grid li, .products-overview ul li, .product-categories ul li {
  margin-bottom: 20px;
}
.section, section, .cta-final, .cta-community, .cta-last, .cta-inspire, .cta-realizations, .cta-advice, .cta-contact, .thank-you-section {
  margin-bottom: 60px;
}
.card-container, .feature-grid, .content-grid, .testimonial-list {
  gap: 24px;
}

/* Decorative Details - Retro Patterns */
.section {
  background-image: repeating-linear-gradient(-33deg, transparent, transparent 63px, #fbe7c6 70px, transparent 80px);
  border-radius: 15px;
  border: 1.5px solid var(--border-vintage);
}

/* Hide visually for JS-cookie closed state */
.cookie-banner.hide {
  display: none;
}
.cookie-modal[aria-hidden="true"] {  display: none !important; }

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