/* =========================
   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, 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: #F8F5F0; color: #485059; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
* { box-sizing: border-box; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea { font-family: inherit; font-size: 100%; outline: none; border: none; }
:focus { outline: 2px solid #B9ADA4; outline-offset: 2px; }

/* =========================
   BRAND VARIABLES
   ========================= */
:root {
  --color-primary: #485059;
  --color-secondary: #B9ADA4;
  --color-accent: #F8F5F0;
  --color-white: #fff;
  --color-black: #212529;
  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-card: 0 4px 16px 0 rgba(72,80,89,0.11);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 7px;
  --transition: 0.18s cubic-bezier(.4,.08,.65,1);
  --shadow-elevated: 0 8px 24px 0 rgba(72,80,89,0.19);
  --bold: 800;
  --semibold: 700;
  --normal: 400;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--bold);
  color: var(--color-primary);
  margin-bottom: 18px;
  text-wrap: balance;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(185,173,164, 0.09);
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
  color: var(--color-secondary);
}
p,li,span,div,blockquote {
  font-family: var(--font-body);
  font-weight: var(--normal);
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.6;
}
blockquote {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 10px;
}
strong { font-weight: var(--semibold); }

/* Typography hierarchy */
.text-section p, .text-section ul, .text-section li {
  font-size: 1.08rem;
}
.text-section ul {
  margin-bottom: 12px;
  padding-left: 0;
}
.text-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}
.text-section ul li::before {
  content: "\2022";
  color: var(--color-secondary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 1px;
  line-height: 1;
  font-weight: bold;
}

/* =========================
   LAYOUT STRUCTURE
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (min-width: 920px) {
  .content-wrapper {
    gap: 32px;
  }
  .section {
    padding: 56px 54px;
  }
}

/* =========================
   HEADER & MAIN NAVIGATION
   ========================= */
header {
  background: var(--color-accent);
  border-bottom: 3px solid var(--color-secondary);
  width: 100%;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: var(--semibold);
  font-size: 1.03rem;
}
.main-nav a {
  color: var(--color-primary);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: var(--bold);
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 36px 0 rgba(72,80,89,0.19);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  margin-left: 15px;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-elevated);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: var(--semibold);
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 4px 14px 0 rgba(72,80,89,0.14);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* =============
   MOBILE MENU
   ============= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  padding: 7px 7px 5px 7px;
  border-radius: 7px;
  cursor: pointer;
  z-index: 210;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover{
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.71,0,.61,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 25px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 28px 7px 0;
  padding: 2px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  margin-top: 15px;
  padding-left: 35px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: var(--bold);
  font-size: 1.3rem;
  padding: 12px 0;
  width: 100%;
  color: var(--color-accent);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  header .container {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 9px;
    font-size: 0.98rem;
  }
  .btn-primary {
    padding: 11px 14px;
    font-size: 0.98rem;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
    font-size: 0.90rem;
  }
  .btn-primary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  .container { padding-left: 13px; padding-right: 13px; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =============
   HERO SECTION
   ============= */
.hero {
  background: var(--color-accent);
  border-bottom: 3px solid var(--color-secondary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 390px;
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
  font-weight: var(--bold);
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 17px;
}
.hero .btn-primary {
  margin-top: 10px;
}

@media (max-width: 600px) {
  .hero .container { min-height: 210px; padding-top: 22px; padding-bottom: 22px; }
  .hero h1 { font-size: 1.5rem; }
}

/* =============
   FEATURES SECTION
   ============= */
.features .content-wrapper > ul, .features .content-wrapper > .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 12px 0 0 0;
}
.features .content-wrapper > ul > li, .feature-item {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 208px;
  max-width: 340px;
  flex: 1 1 220px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.14s;
}
.features .content-wrapper > ul > li:hover, .feature-item:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px) scale(1.03);
}
.features img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.features .text-section h3 {
  margin-bottom: 6px;
  font-size: 1.13rem;
  font-weight: var(--semibold);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}

/* =========================
   SERVICES, SERVICE CARDS
   ========================= */
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.services ul li {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 200px;
  padding: 17px 20px 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.14s, transform 0.14s;
}
.services ul li:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.01);
}
.services ul .price {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: var(--semibold);
  font-size: 1.16rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 8px;
  padding: 4px 12px;
  align-self: flex-start;
}
.btn-secondary {
  margin-top: 16px;
  align-self: flex-start;
}
/* Service Cards on /behandlungen.html */
.service-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.service-card {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 26px 24px 26px;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 360px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
}
.service-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px) scale(1.025);
}
.service-card h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
}
.service-card .price {
  font-family: var(--font-display);
  font-weight: var(--semibold);
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 8px;
  font-size: 1.09rem;
  padding: 4px 13px;
  align-self: start;
  margin-top: 12px;
}
.service-card ul {
  margin-bottom: 4px;
}

@media (max-width: 960px) {
  .features .content-wrapper > ul, .features .content-wrapper > .feature-list,
  .services ul, .service-card-grid { flex-direction: column; gap: 16px; }
}

/* ===================
   PRICING TABLES
   =================== */
.pricing-table {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  overflow-x: auto;
}
.pricing-table table {
  border-collapse: collapse;
  width: 100%;
}
.pricing-table th, .pricing-table td {
  font-family: var(--font-body);
  font-size: 1.09rem;
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1.5px solid var(--color-secondary);
}
.pricing-table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: var(--bold);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background: #f3f0eb;
  color: var(--color-primary);
  transition: background 0.17s, color 0.17s;
}

/* ===================
   TESTIMONIALS
   =================== */
.testimonials {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials h2 {
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 9px 0 rgba(72,80,89,0.08);
  padding: 22px 28px 18px 28px;
  min-width: 240px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.18s, border-left 0.18s;
}
.testimonial-card blockquote {
  color: var(--color-primary);
  font-size: 1.13rem;
  font-weight: 600;
}
.testimonial-card .testimonial-meta {
  color: var(--color-primary);
  font-size: 0.97rem;
  font-weight: var(--semibold);
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(72,80,89,0.14);
  border-left: 6px solid var(--color-primary);
}

/* Section spacing - testimonials */
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =============
   CONTACT SECTION
   ============= */
.contact, .how-to-find-us {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.contact ul, .how-to-find-us ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 13px;
}
.contact ul li, .how-to-find-us ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  font-weight: 500;
}
.contact ul img, .how-to-find-us ul img, .text-section img {
  width: 20px;
  height: 20px;
  filter: grayscale(45%);
}
.contact .btn-primary {
  margin-top: 18px;
}
.how-to-find-us .text-section img {
  width: 32px;
  height: 32px;
  margin-bottom: 7px;
  display: inline-block;
}

/* =============
   FOOTER
   ============= */
footer {
  background: var(--color-accent);
  border-top: 2.5px solid var(--color-secondary);
  padding: 28px 0 12px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--color-primary);
  opacity: 0.8;
  font-family: var(--font-display);
  font-weight: var(--semibold);
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  text-align: center;
  color: var(--color-primary);
  font-size: 0.99rem;
  line-height: 1.5;
  opacity: 0.9;
}
footer img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}

/* ===================
   LEGAL, ABOUT, TEAM
   =================== */
.legal, .about, .about-team, .confirmation {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 20px;
  margin-bottom: 60px;
}
.legal h2, .about h2, .about-team h2 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.team-bio-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 18px;
}

.confirmation .text-section ul {
  gap: 11px;
  margin-bottom: 9px;
}

/* =====================
   CTA SECTION
   ===================== */
.cta {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  text-align: center;
  margin-bottom: 56px;
}
.cta h2 {
  color: var(--color-accent);
}
.cta .btn-primary {
  margin-top: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  box-shadow: none;
}
.cta .btn-primary:hover { background: var(--color-primary); color: var(--color-accent); box-shadow: var(--shadow-elevated); }

/* =========================
   UTILS & FLEXBOX PATTERNS
   ========================= */
.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 DESIGN
   ========================= */
@media (max-width: 900px) {
  .about-team, .legal, .about, .confirmation, .section, .testimonials, .contact, .how-to-find-us {
    padding-left: 11px;
    padding-right: 11px;
  }
  .service-card, .feature-item, .services ul li, .testimonial-card {
    min-width: 210px;
    padding-right: 13px;
    padding-left: 13px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid, .service-card-grid, .feature-list, .features .content-wrapper > ul, .testimonials .content-wrapper {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .about-team, .legal, .about, .confirmation, .section, .testimonials, .contact, .how-to-find-us {
    padding: 19px 5px;
    margin-bottom: 36px;
  }
}
@media (max-width: 590px) {
  h1 { font-size: 1.18rem !important; }
  h2 { font-size: 1rem !important; }
  .btn-primary, .btn-secondary { font-size: 0.91rem; padding: 10px 11px; }
  .footer-nav { flex-direction: column; gap: 4px; }
}

/* =======================
   COOKIE BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  z-index: 1050;
  padding: 22px 8px 15px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 -2px 22px 0 rgba(72,80,89,0.13);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s, transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-banner .cookie-message {
  font-size: 1.04rem;
  font-family: var(--font-body);
  color: var(--color-accent);
  margin-right: 2px;
}
.cookie-banner button {
  margin-left: 5px;
  font-family: var(--font-display);
  font-weight: var(--bold);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-right: 5px;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.cookie-banner .reject {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.2px solid var(--color-secondary);
  margin-right: 5px;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-accent);
  border: 1.2px solid var(--color-accent);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 8px; padding: 14px 3px 8px 3px; }
  .cookie-banner .cookie-message { font-size: 0.93rem; }
  .cookie-banner button { font-size: 0.89rem; padding: 8px 8px; }
}

/* =======================
   COOKIE PREFERENCES MODAL
   ======================= */
.cookie-modal {
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(72,80,89,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  width: 96vw;
  max-width: 400px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 25px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: cookieModalAppear 0.28s cubic-bezier(.4,.08,.65,1);
  gap: 18px;
}
@keyframes cookieModalAppear {
  0% { transform: scale(0.93) translateY(35px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 13px;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 1.4rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-close:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cookie-modal h2, .cookie-modal label {
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f4f2f0;
  border-radius: var(--radius-md);
  padding: 9px 13px 8px 12px;
}
.cookie-category .category-info {
  flex: 1;
  font-size: 1.01rem;
  color: var(--color-primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 21px; height: 21px;
}
.cookie-category label { font-weight: var(--bold); margin-right: 8px; }
.cookie-category.is-essential label:after {
  content: '•';
  color: var(--color-secondary);
  margin-left: 7px;
  font-size: 1.3em;
}
.cookie-category.is-essential input {
  display: none;
}
.cookie-modal .btn-bar {
  display: flex; flex-direction: row; justify-content: flex-end; gap: 14px;
  margin-top: 9px;
}
.cookie-modal .btn-bar button {
  font-family: var(--font-display);
  font-weight: var(--semibold);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 15px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .btn-bar button.secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.1px solid var(--color-secondary);
}
.cookie-modal .btn-bar button:hover, .cookie-modal .btn-bar button.secondary:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ========================
   MICRO-ANIMATIONS
   ======================== */
.btn-primary, .btn-secondary, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), border var(--transition), transform 0.16s;
}
.service-card:hover, .features .content-wrapper > ul > li:hover, .feature-item:hover, .testimonial-card:hover {
  transform: scale(1.025) translateY(-3px);
}

/* ========================
   SCROLLBAR CUSTOMIZATION
   ======================== */
::-webkit-scrollbar { width: 9px; background: var(--color-accent); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: var(--radius-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ========================
   ACCESSIBILITY
   ======================== */
@media (prefers-contrast: more) {
  :root {
    --color-secondary: #7A6C5F;
    --color-accent: #FFF;
  }
  .main-nav a:hover, .footer-nav a:hover, .btn-primary:hover, .btn-secondary:hover {
    outline: 2px solid var(--color-secondary);
  }
}

/* Hide visually but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  border: 0;
  padding: 0;
}
