/* ==========================================================================
   CSS RESET & NORMALIZE
   ========================================================================== */
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,footer,header,menu,nav,output,section,summary,time,mark,canvas,details {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.55;
  background: #F7F2E2;
}
:root {
  --color-primary: #25344A;
  --color-secondary: #F5F7FA;
  --color-accent: #EF944A;
  --color-bg: #F7F2E2;
  --color-dark: #241D1B;
  --color-light: #FFF;
  --color-muted: #B4A077;
  --color-warning: #BD3B1B;
  --shadow-card: 0 6px 32px 0 rgba(37,52,74,0.09),0 1.5px 4px 0 rgba(229,172,108,0.12);
  --radius-card: 18px;
  --radius-btn: 9px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
}


/* ==========================================================================
   VINTAGE RETRO COLOR & TYPOGRAPHY SETUP
   ========================================================================== */
body, button, input, select, textarea {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-bg);
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  text-shadow: 0px 2px 0px #f9ead3;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.05rem;
}
p, ul, ol {
  margin-bottom: 1.35em;
  font-size: 1rem;
  color: var(--color-dark);
}
strong, b {
  color: var(--color-primary);
  font-weight: 700;
}
a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px dotted #e6b784;
  transition: color 0.13s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #ae4422;
  outline: none;
}

/* Retro patterns */
body {
  background-color: var(--color-bg);
  /* Dotted subtle pattern overlay */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill-opacity="0.03"><circle cx="10" cy="10" r="2" fill="%2325344A"/></svg>');
}

/* ===============
   LAYOUT SYSTEM
   =============== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Header & Navigation */
header {
  background: #fedab7;
  border-bottom: 5px solid var(--color-accent);
  position: relative;
  box-shadow: 0 4px 10px 0 rgba(240,197,141,0.09);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 22px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin-left: 12px;
}
.main-nav li {
  display: flex;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 8px 14px;
  color: var(--color-primary);
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-light);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-light) !important;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 11px 28px;
  box-shadow: 0 2px 12px 0 rgba(239,148,74,0.09);
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.24s;
  display: inline-block;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #db7732;
  box-shadow: 0 6px 26px 0 rgba(239,148,74,0.13);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent) !important;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 25px;
  transition: background 0.15s, color 0.13s, border-color 0.13s;
  margin-top: 10px;
  outline: none;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-light) !important;
  border-color: #c76d24;
}

header .btn-primary {
  margin-left: auto;
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  margin-right: 8px;
  z-index: 1101;
  outline: none;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #FDF6E3;
  box-shadow: 0 0 50px 10px #bCA27c55;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  margin: 26px 0 16px 20px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1111;
  outline: none;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 16px 32px 32px 32px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.23rem;
  font-family: var(--font-display);
  border-radius: 7px;
  background: none;
  padding: 14px 7px 13px 7px;
  border-bottom: 2px dashed #ecc38d33;
  transition: background 0.18s, color 0.23s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-light);
}

@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .header nav, header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .logo-link {
    max-width: 130px;
  }
}
@media (max-width: 800px) {
  .main-nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}


/* ===============
   HERO SECTIONS
   =============== */
.hero {
  background: #fff7e4 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="40"><text x="0" y="24" style="font: bold 24px Montserrat, Arial, sans-serif; fill: #EF944A; opacity:0.09;">BERLIN</text></svg>') repeat-x;
  border-bottom: 7px dotted #e5b07166;
  margin-bottom: 60px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .container {
  max-width: 900px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--color-primary);
  text-shadow: 1px 4px 0px #ffe6c2;
}
.hero p {
  font-size: 1.14rem;
  color: var(--color-dark);
  line-height: 1.58;
  max-width: 600px;
}


/* ===============
   SECTIONS & LAYOUT
   =============== */
.features, .services, .faq, .cta, .testimonials, .about, .values, .comparison, .content-list, .buying-steps, .step-by-step, .sidebar, .legal, .thankyou, .contact-details {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features h2, .services h2, .testimonials h2, .values h2, .comparison h2, .content-list h2, .about h1, .legal h1, .cta h2, .faq h2, .contact-details h2, .thankyou h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-grid, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature {
  background: var(--color-light);
  border: 2.5px solid #ebc8a3;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  padding: 28px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.25s, background 0.17s;
  margin-bottom: 20px;
  position: relative;
  overflow: visible;
}
.feature img {
  width: 36px;
  height: 36px;
  background: #fcedd8;
  border-radius: 50%;
  padding: 6px;
  border: 1.5px solid #e9c297;
  box-shadow: 0 2px 7px 0 #e7cba799;
}
.feature:hover, .feature:focus {
  background: #f7ecd4;
  box-shadow: 0 10px 36px 0 rgba(37,52,74,0.11);
  z-index: 2;
}

.services ul,
.buying-steps ol, .buying-steps ul.checklist,
.step-by-step ol, .timeline ul, .about ul, .values ul, .district-highlights ul, .pros-cons ul, .article-list, .featured-articles ul, .download-links {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.services ul li, .buying-steps ol li, .about ul li, .values ul li, .district-highlights ul li,.pros-cons ul li, .article-list li, .featured-articles ul li, .download-links li {
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-left: 26px;
}
.services ul li::before, .about ul li::before, .values ul li::before, .district-highlights ul li::before, .checklist li::before {
  content: '\25C9';
  color: #d68a49;
  position: absolute;
  left: 0;
  font-size: 1rem;
  font-family: var(--font-display);
  top: 2.5px;
}
.buying-steps ol li,
.step-by-step ol li {
  counter-increment: steps;
  padding-left: 35px;
  position: relative;
  margin-bottom: 16px;
  background: none;
}
.buying-steps ol li::before,
.step-by-step ol li::before {
  content: counter(steps) '.';
  color: #fbb956;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.18rem;
  top: 0;
  font-family: var(--font-display);
}
.buying-steps ol,
.step-by-step ol {
  counter-reset: steps;
  margin-bottom: 22px;
}

.checklist li {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Card layout helpers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 22px 19px;
  transition: box-shadow 0.23s, background 0.19s;
  position: relative;
  border: 1.6px solid #dcc49a;
}
.card:hover, .card:focus {
  background: #f7ecd4;
  box-shadow: 0 10px 36px 0 rgba(37,52,74,0.12);
}
.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;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbe9;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 2px solid #edc59f;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 390px;
  min-width: 220px;
  color: #241D1B;
  font-size: 1.08rem;
  transition: box-shadow 0.17s, border-color 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: var(--color-accent);
  box-shadow: 0 14px 32px 0 #E8B67533;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #975b2f;
  font-weight: 600;
  font-family: var(--font-display);
}

.cta {
  background: #f7ecd4 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="12"><rect width="60" height="12" rx="6" fill="%23fbb956" opacity="0.15"/></svg>') repeat-x;
  border-top: 3px solid #ecc38d;
  margin-bottom: 36px;
  border-radius: 0 0 18px 18px;
}

/* Footer */
footer {
  background: #FEF8EB;
  border-top: 7px dotted #eea94f54;
  margin-top: 60px;
  font-size: 0.96rem;
  color: #241d1b;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  padding: 32px 0 12px 0;
}
.footer-brand, .footerbrand {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.contact-info {
  flex: 1 1 250px;
  font-size: 1.01rem;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.contact-info p img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-nav {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-nav a {
  color: var(--color-primary);
  text-decoration: underline dotted #ecc38d;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.social-media {
  flex: 1 1 60px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-media a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fae2bc;
  box-shadow: 0 2px 7px #f9e6d999;
  transition: box-shadow 0.15s;
}
.social-media a:hover img,
.social-media a:focus img {
  box-shadow: 0 4px 12px #eba46277;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: separate;
  border-radius: 14px;
  background: #f6e7cc;
  margin-bottom: 22px;
  box-shadow: 0 3px 30px #f3d8b033;
  overflow: hidden;
}
thead {
  background: #F3C793;
}
thead tr th {
  font-family: var(--font-display);
  letter-spacing: 0.07em;
  font-weight: bold;
  padding: 13px 6px;
  color: var(--color-primary);
  background: #F7DBAA;
  border-bottom: 2px solid #ecc38d;
}
tbody tr td {
  padding: 12px 6px;
  border-bottom: 1.5px solid #eedfc0;
  color: #241d1b;
  font-size: 1rem;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* ==================
   SIDEBAR
   ================== */
.sidebar {
  background: #fcf4e5;
  border-radius: var(--radius-card);
  border: 2px solid #ecc38d;
  margin-bottom: 40px;
}
.sidebar .content-wrapper {
  gap: 16px;
}
.sidebar h3 {
  color: var(--color-accent);
}
.warning-notes {
  background: #ffe5c4;
  padding: 14px 20px;
  border-radius: 10px;
  border-left: 6px solid var(--color-warning);
  color: var(--color-warning);
  margin-top: 10px;
}

/* Step Timeline */
.timeline ul li {
  position: relative;
  padding-left: 24px;
  color: #a87528;
  font-weight: 600;
}
.timeline ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.3em;
  top: 0;
}

/* Trust & Award Symbols */
.trust-symbols {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
.trust-symbols span {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  color: #a47c46;
  gap: 7px;
  background: #fae1b9;
  border-radius: 8px;
  padding: 7px 13px;
  font-family: var(--font-display);
}
.trust-symbols img {
  width: 22px;
  height: 22px;
  margin-right: 3px;
}

/* ===========
   FAQ & COLLAPSES
   =========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.faq-item {
  background: #feeed8;
  border-radius: 13px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px #e3c59318;
  border: 1.2px solid #efd2ad;
}
.faq-item h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.08rem;
  margin-bottom: 7px;
  font-weight: 700;
}
.faq-item p {
  color: var(--color-dark);
}
.contact-prompt {
  margin-top: 16px;
  padding: 16px 12px;
  background: #fceece;
  border-left: 8px solid #e69442;
  border-radius: 7px;
  font-size: 1.09rem;
}
.contact-prompt a {
  margin-top: 8px;
  display: inline-block;
}

/* ===============
   MISCELLANEOUS CLASSES
   =============== */
.text-section {
  margin-bottom: 16px;
}
.district-map {
  margin-right: 24px;
  min-width: 180px;
  background: #fde7d0;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1.5px 11px 0 #e0a27a17;
}
.lifestyle-descriptions p {
  color: #75613f;
  font-weight: 500;
}
.pros-cons ul {
  margin-top: 8px;
}
.em {
  font-style: italic;
}

/* Featured Article Blocks */
.featured-articles {
  margin-top: 13px;
  margin-bottom: 24px;
}
.featured-articles h3 {
  color: var(--color-accent);
  font-size: 1.09rem;
  font-family: var(--font-display);
}
.featured-articles ul {
  gap: 6px;
}

.newsletter-signup {
  background: #fcf4e5;
  border: 1.5px solid #ecc38d;
  border-radius: 10px;
  padding: 17px 14px 13px 14px;
  margin-top: 16px;
  text-align: left;
}
.newsletter-signup h4 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}

/* Download Links in Sidebar */
.download-links li a {
  display: inline-block;
  color: var(--color-accent);
  border-bottom: 1px dotted #ecc38d;
  padding-bottom: 2px;
  font-family: var(--font-display);
  transition: color 0.13s;
}
.download-links li a:hover, .download-links li a:focus {
  color: var(--color-primary);
}

/* Legal Text Blocks */
.legal .text-section {
  background: #fcf4e5;
  border-radius: 13px;
  border: 1.5px solid #facf95;
  padding: 28px 23px 22px 23px;
  margin-bottom: 22px;
  font-size: 1rem;
}
.legal ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.legal ul li:before {
  content: '\25A0';
  position: absolute;
  left: 0;
  color: #e9a12e;
  font-size: 1.07em;
  top: 1px;
  font-family: var(--font-display);
}

/* Thank you section */
.thankyou .container {
  max-width: 650px;
  text-align: center;
}

/************************
   RESPONSIVE DESIGN
************************/
@media (max-width: 1100px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 18px !important;
  }
  .footer .content-wrapper {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .social-media {
    margin-bottom: 12px;
  }
}
@media (max-width: 800px) {
  .hero,
  .features, .services, .faq, .cta, .testimonials, .about, .values, .comparison, .content-list, .buying-steps, .step-by-step, .sidebar, .legal, .thankyou {
    padding: 36px 5vw 28px 5vw;
  }
  .feature-grid, .testimonial-grid {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section, .trust-symbols {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px;
  }
  .container {
    padding: 0 9px;
  }
  .footer .content-wrapper {
    gap: 9px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.57rem; }
  h2 { font-size: 1.16rem; }
  .hero .container, .thankyou .container { padding: 0 6px; }
}

/* ===========================
   COOKIE CONSENT BANNER & MODAL
=========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fbe0b2;
  color: #38301a;
  box-shadow: 0 -6px 36px #deb27544;
  padding: 28px 5vw 18px 5vw;
  z-index: 2500;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  border-top: 4px solid #ecc38d;
  transition: transform 0.48s cubic-bezier(.2,0,.3,1.1);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-msg {
  max-width: 450px;
  color: #534a2c;
  font-size: 1.01rem;
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: var(--font-display);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 3px 2px 0;
  cursor: pointer;
  transition: background 0.16s, color 0.11s;
  outline: none;
}
.cookie-consent-banner .cookie-settings-btn {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-weight: 700;
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left:0; top:0; right:0; bottom: 0;
  background: rgba(37,52,74,0.64);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.38s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fffbe9;
  border-radius: 14px;
  border: 2.5px solid var(--color-accent);
  padding: 30px 30px 18px 30px;
  max-width: 430px;
  width: 95%;
  box-shadow: 0 12px 38px #ecb87533;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  position: relative;
  animation: popin 0.36s cubic-bezier(.4,0,.15,1);
}
@keyframes popin {
  0% { transform: scale(0.91); opacity: 0.3; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-dialog h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}
.cookie-pref-row label {
  font-weight: 500;
  color: #473a16;
  cursor: pointer;
  font-family: var(--font-display);
}
.cookie-pref-row input[type='checkbox'] {
  accent-color: var(--color-accent);
  transform: scale(1.18);
  margin-right: 6px;
}
.cookie-pref-row input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal-dialog .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-dialog .cookie-modal-actions button {
  min-width: 104px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 14px;
  background: transparent;
  border: none;
  color: #db7732;
  font-size: 2rem;
  cursor: pointer;
  z-index: 30;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: var(--color-warning); }

/* ===============
   ANIMATION/MICRO-INTERACTIONS
   =============== */
button, .btn-primary, .btn-secondary, a, .feature, .testimonial-card, .card, .faq-item, .mobile-menu, .mobile-menu-toggle {
  transition:        
    background 0.14s cubic-bezier(.4,0,.2,1)   ,
    color 0.16s cubic-bezier(.4,0,.2,1) ,
    border 0.14s,
    box-shadow 0.19s cubic-bezier(.4,0,.2,1),
    transform 0.22s cubic-bezier(.4,0,.2,1);
}

/* ===============
  MISC & FIXES
================== */
::-webkit-input-placeholder { color: #b4a077; opacity:1; }
::-moz-placeholder { color: #b4a077; opacity:1; }
:-ms-input-placeholder { color: #b4a077; opacity:1; }
::placeholder { color: #b4a077; opacity:1; }
img { max-width: 100%; height: auto; display: inline-block; }

/*******************************
   FLEXBOX ENFORCEMENT
*******************************/
/* Already enforced in all relevant containers above. */
.card-container, .feature-grid, .testimonial-grid, .content-grid, .text-image-section, .footer .content-wrapper, .faq-list, .trust-symbols, .mobile-nav, .cookie-btn-group, .cookie-categories, .cookie-modal-dialog .cookie-modal-actions { display: flex; flex-wrap: wrap; }

/*******************************
   ACCESSIBILITY EXTRAS
*******************************/
.btn-primary:focus, .btn-secondary:focus, a:focus, .main-nav a:focus, .footer-nav a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/*******************************
   PRINT SUPPORT (Optional)
*******************************/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  main { padding: 0; background: #fff; }
}
