/* ---- 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, menu, 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,
main, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #FAF2E7;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #5A3A1B;
  background: #FAF2E7;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  transition: background 0.3s;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
}
button {
  cursor: pointer;
  outline: none;
  background: none;
}

/* ---- BRAND TYPOGRAPHY ---- */
h1, .hero h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #5A3A1B;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  line-height: 1.2;
  color: #5A3A1B;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.35rem;
  color: #7B552E;
  font-weight: 600;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #5A3A1B;
}
p, li {
  font-size: 1rem;
  color: #5A3A1B;
}

/* ---- CONTAINER & SPACING ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- HEADER ---- */
header {
  background: #FAF2E7;
  border-bottom: 1px solid #ecd9c3;
  box-shadow: 0 3px 12px 0 rgba(90,58,27,0.04);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-left: 38px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #5A3A1B;
  padding: 6px 10px;
  border-radius: 2px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #D3B17D;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: #D3B17D;
  color: #5A3A1B !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 26px;
  box-shadow: 0 2px 8px 0 rgba(90,58,27,0.05);
  border: 1.5px solid #b89460;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #f4e2c9;
  color: #7B552E !important;
  box-shadow: 0 4px 18px 0 rgba(90,58,27,0.10);
  border-color: #b89460;
}

/* ---- MOBILE MENU ---- */
.mobile-menu-toggle {
  display: none;
  background: #D3B17D;
  color: #5A3A1B;
  font-size: 2rem;
  border: none;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #b89460;
  color: #fffbe9;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100svh;
  width: 100vw;
  background: #faf2e7ed;
  box-shadow: 0 6px 48px 0 rgba(90,58,27,0.11);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.48,.16,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #D3B17D;
  color: #5A3A1B;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-bottom: 16px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7B552E;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #5A3A1B;
  font-size: 1.38rem;
  padding: 12px 0;
  border-bottom: 1px solid #ecd9c3;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #b89460;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    margin-left: 18px;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
    margin-left: 18px;
  }
  header .container {
    min-height: 62px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

/* ---- HERO SECTIONS ---- */
.hero {
  background: #FFF;
  padding: 68px 0 52px 0;
  border-bottom: 1.5px solid #edd7bc;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  font-size: 2.2rem;
  color: #5A3A1B;
  margin-bottom: 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}
.hero p {
  font-size: 1.16rem;
  max-width: 700px;
  margin-bottom: 26px;
  color: #634526;
}

@media (max-width: 600px) {
  .hero {
    padding: 38px 0 30px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* ---- FEATURES & CARDS ---- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAF2E7;
}
.features h2 {
  margin-bottom: 18px;
}
.feature-grid, .features > .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid li, .features > .content-wrapper > ul > li {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 24px 0 rgba(90,58,27,0.14);
  border: 1.2px solid #ecd9c3;
  padding: 24px 22px 18px;
  min-width: 230px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.20s;
}
.feature-grid li:hover,
.features > .content-wrapper > ul > li:hover {
  box-shadow: 0 12px 40px 0 rgba(90,58,27,0.18);
  transform: translateY(-4px) scale(1.01);
}
.feature-grid li img,
.features > .content-wrapper > ul > li img {
  height: 38px;
  filter: drop-shadow(0 3px 7px rgba(211,177,125,0.14));
}
.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.feature-highlights li {
  background: #FFF;
  border-radius: 24px;
  padding: 18px 18px 14px 18px;
  border: 1.4px solid #ecd9c3;
  box-shadow: 0 2px 12px 0 rgba(90,58,27,0.09);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  margin-bottom: 20px;
  font-weight: 500;
}
.feature-highlights li img {
  height: 26px;
}

@media (max-width: 900px) {
  .feature-grid, .features > .content-wrapper > ul, .feature-highlights {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .features > .content-wrapper > ul > li, .feature-highlights li {
    min-width: unset;
    width: 100%;
  }
}

/* ---- SECTION SPACING & FLEXBOX ---- */
.section, .about-short, .about-detail, .quality, .about-artisan, .about-manufaktur, .chocolate-culture, .product-types, .contact-section, .datenschutz, .gdpr, .terms-of-use, .cookie-policy, .timeline-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 5px 20px 0 rgba(90,58,27,0.08);
  padding: 38px 30px 28px 30px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFF;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 24px 0 rgba(90,58,27,0.10);
  border: 2px solid #ecd9c3;
  max-width: 430px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(211,177,125,0.15);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card p {
  color: #4A2D0D;
  font-size: 1.05rem;
}
.testimonial-author {
  color: #7B552E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .section, .about-short, .about-detail, .quality, .about-artisan, .about-manufaktur, .chocolate-culture, .product-types, .contact-section, .datenschutz, .gdpr, .terms-of-use, .cookie-policy, .timeline-section {
    padding: 26px 9px;
  }
}

/* ---- LISTS ---- */
ul, ol {
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
}
.text-section ul {
  margin-top: 6px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul li {
  padding-left: 26px;
  position: relative;
  color: #7B552E;
  font-size: 1rem;
}
.text-section ul li:before {
  content: "\2022";
  color: #D3B17D;
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 1.6em;
  line-height: 0.7;
}

/* ---- ABOUT, ARTISAN & SPECIAL SECTIONS ---- */
.text-section {
  background: transparent;
  border-radius: 18px;
  padding: 0;
}
.timeline-section {
  margin-bottom: 30px;
}
.timeline-section ul {
  gap: 10px;
  margin-left: 0;
}
.timeline-section ul li {
  position: relative;
  padding-left: 18px;
}
.timeline-section ul li:before {
  content: '';
  display: block;
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #D3B17D;
  border-radius: 50%;
}

/* ---- TESTIMONIAL CARDS ---- */
.testimonials .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}

/* ---- CALL TO ACTION SECTIONS ---- */
.home-cta, .cta {
  background: #FFF;
  border-radius: 26px;
  box-shadow: 0 8px 28px 0 rgba(211,177,125,0.11);
  border: 1.5px solid #ecd9c3;
  margin-bottom: 56px;
}
.home-cta .container, .cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 0;
}
.home-cta .content-wrapper, .cta .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

/* ---- CONTACT ---- */
.address-block, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.opening-hours img {
  margin-right: 7px;
}

/* ---- FOOTER ---- */
footer {
  background: #5A3A1B;
  color: #fff;
  border-top: 1.5px solid #D3B17D;
  padding: 32px 0 22px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #D3B17D;
  font-size: 0.98rem;
  border-bottom: 1px dotted transparent;
  transition: color 0.17s, border 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FAF2E7;
  border-bottom: 1px dotted #FAF2E7;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #FFF;
  font-size: 1rem;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 9px;
}
.footer-social a {
  color: #D3B17D;
  transition: filter 0.18s;
}
.footer-social a img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  box-shadow: 0 3px 12px 0 rgba(90,58,27,0.07);
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: drop-shadow(0 0 10px #D3B17D) drop-shadow(0 0 4px #d49a18);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
}

/* ---- MISCELLANEOUS ---- */
::-webkit-scrollbar {
  width: 9px;
  background: #f6ead6;
}
::-webkit-scrollbar-thumb {
  background: #ecd9c3;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D3B17D;
}

/* ---- BUTTONS & INTERACTIVES ---- */
button, .cta-button {
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, border 0.17s;
}

/* ---- COOKIE CONSENT BANNER & MODAL ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FAF2E7;
  color: #5A3A1B;
  border-top: 2px solid #D3B17D;
  box-shadow: 0 -4px 32px 0 rgba(90,58,27,0.08);
  padding: 28px 16px 22px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1500;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.34s, transform 0.34s;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(70px);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #5A3A1B;
  margin-right: 18px;
  flex: 1 1 70%;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-banner button {
  background: #D3B17D;
  color: #5A3A1B;
  border-radius: 18px;
  border: 1px solid #b89460;
  padding: 9px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  margin: 0 2px;
  box-shadow: 0 2px 8px 0 rgba(211,177,125,0.09);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #b89460;
  color: #fffbe9;
}
.cookie-banner button.cookie-settings {
  background: #FAF2E7;
  color: #5A3A1B;
  border: 1.5px solid #D3B17D;
}
.cookie-banner button.cookie-settings:hover {
  background: #f0e6d9;
  color: #7B552E;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 7px 12px 7px;
  }
  .cookie-banner .cookie-actions {
    gap: 5px;
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(90,58,27,0.35);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.42s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px 0 rgba(90,58,27,0.17);
  max-width: 400px;
  width: 92vw;
  padding: 36px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #5A3A1B;
  position: relative;
  animation: cookieModalIn .33s cubic-bezier(.48,.16,.36,1) 1;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.95); }
  90% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #ecd9c3;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 600;
  color: #7B552E;
  margin-left: 7px;
}
/* Cookie toggles */
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D3B17D;
  border-radius: 4px;
  margin-right: 5px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 11px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  padding: 10px 22px;
  font-size: 1.01rem;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #7B552E;
  position: absolute;
  right: 16px; top: 14px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #5A3A1B;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 26px 9px 18px 9px;
  }
  .cookie-modal h2 {
    font-size: 1.21rem;
  }
}

/* ---- ACCESSIBILITY (FOCUS) ---- */
:focus {
  outline: 2px solid #D3B17D;
  outline-offset: 2px;
}
/* Better focus ring for buttons/links */
a:focus, button:focus {
  outline: 2.5px solid #D3B17D;
}

/* ---- RESPONSIVE TYPOGRAPHY ---- */
@media (max-width: 768px) {
  h1, .hero h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
}

/* ---- UTILITIES ---- */
.gold {
  color: #D3B17D !important;
}
.bg-accent {
  background: #FAF2E7 !important;
}
.shadow-gold {
  box-shadow: 0 4px 18px 0 rgba(211,177,125,0.11) !important;
}

/* ---- PRINT STYLES ---- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .home-cta, .cta {
    display: none !important;
  }
}
