/* --- CSS RESET & BASE STYLES --- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #24415e;
  background: linear-gradient(135deg, #e6e2d8 0%, #ffffff 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #24415e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #ae9336;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
strong, b {
  font-weight: bold;
}

/* --- TYPOGRAPHY SCALE & HEADINGS --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #24415e;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #24415e;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #24415e;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 600;
}
.subheadline {
  font-size: 1.25rem;
  color: #ae9336;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 24px;
}
p, li {
  font-size: 1rem;
  color: #24415e;
}

/* --- LAYOUT CONTAINERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* --- FLEX LAYOUTS (MANDATORY PATTERNS) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(36,65,94,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(174, 147, 54, 0.12);
  transform: translateY(-5px) scale(1.015);
  z-index: 2;
}
.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: center;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(36,65,94,0.10);
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(174, 147, 54, 0.13);
  transform: translateY(-6px) scale(1.017);
  z-index: 2;
}
.testimonial-author {
  color: #24415e;
  font-weight: bold;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  margin-bottom: 0;
}
.testimonial-rating img {
  width: 22px;
  height: 22px;
  margin-right: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 56px 0 56px 0;
  background: linear-gradient(105deg, #e6e2d8 60%, #ffffff 100%);
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.hero h1 {
  color: #24415e;
  font-size: 2.7rem;
  margin-bottom: 16px;
}

/* --- NAVIGATION & HEADER --- */
header {
  width: 100%;
  background: #24415e;
  box-shadow: 0 4px 16px rgba(36,65,94,0.08);
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 74px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  text-transform: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a.cta {
  background: linear-gradient(90deg, #ae9336 0%, #917111 100%);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(174,147,54,0.10);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 5px!important;
  letter-spacing: 0.5px;
  transition: filter 0.18s;
}
nav a.cta:hover,
nav a.cta:focus {
  filter: brightness(1.13);
  box-shadow: 0 4px 18px 0 rgba(174,147,54,0.16);
}
nav a:hover, nav a:focus {
  background: #917111;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  padding: 7px 13px;
  border-radius: 5px;
  margin-left: 20px;
  cursor: pointer;
  display: none;
  transition: background 0.2s;
  z-index: 1600;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(174,147,54,0.12);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #24415e;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.3,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 24px 12px 0;
  cursor: pointer;
  z-index: 2200;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #ae9336;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-left: 32px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 2px;
  transition: background 0.22s, color 0.18s;
}
.mobile-nav a.cta {
  background: linear-gradient(90deg, #ae9336 0%, #917111 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(174,147,54,0.12);
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #917111;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #24415e 93%, #917111 100%);
  color: #fff;
  font-size: 1rem;
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer nav {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 0;
  border-radius: 5px;
}
footer nav a:hover, footer nav a:focus {
  background: rgba(174,147,54,0.18);
  color: #ae9336;
}
.contact-footer {
  font-size: 0.98rem;
  color: #e6e2d8;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}
.contact-footer img {
  width: 18px; height: 18px; vertical-align: middle; margin-right: 6px;
}
.copyright {
  font-size: 0.85rem;
  margin-top: 12px;
  color: #ae9336;
}
footer a img {
  height: 38px; width: auto; margin-bottom: 10px;
}

/* --- BUTTONS & CTA --- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #ae9336 0%, #917111 100%);
  color: #fff;
  padding: 13px 28px;
  border: none;
  border-radius: 26px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px 0 rgba(174,147,54,0.08);
  cursor: pointer;
  margin: 24px 0 0 0;
  transition: box-shadow 0.18s, filter 0.17s, transform 0.14s;
  outline: none;
  text-align: center;
}
.cta:hover, .cta:focus {
  filter: brightness(1.08);
  box-shadow: 0 3px 16px 0 rgba(174,147,54,0.17);
  transform: translateY(-1.5px) scale(1.02);
}

/* --- FEATURE GRIDS --- */
.feature-grid, .benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div,
.benefit-list > div {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(36,65,94,0.09);
  padding: 26px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid > div:hover, .benefit-list > div:hover {
  box-shadow: 0 6px 30px rgba(174,147,54,0.15);
  transform: translateY(-5px) scale(1.01);
}
.feature-grid img, .benefit-list img {
  width: 42px; height: 42px;
  margin-bottom: 10px;
}

/* --- FORMATTING FOR LISTS, FAQ ETC. --- */
.feature-list, .membership-benefits, .membership-types, .faq-list,
.collection-types, .focus-areas, .expert-tips, .exchange-rules, .swap-offers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.feature-list li, .membership-benefits li, .membership-types li, .faq-list li,
.collection-types li, .focus-areas li, .expert-tips li, .exchange-rules li, .swap-offers-list li {
  margin-left: 0;
  padding-left: 0.2em;
  line-height: 1.7;
  color: #24415e;
}
.application-process, .how-to-participate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
  padding-left: 20px;
  margin-bottom: 19px;
}
.application-process li, .how-to-participate li {
  color: #24415e;
  font-weight: 500;
}

/* --- TESTIMONIALS --- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* --- POLICY PAGE STYLE --- */
.policy-text {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(36,65,94,0.07);
  padding: 32px 20px;
  margin-bottom: 20px;
}

/* --- CALENDAR/EVENT OVERVIEW --- */
.calendar-overview {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 11px rgba(36,65,94,0.07);
  gap: 16px;
  padding: 19px 14px;
  margin-bottom: 20px;
}
.calendar-overview img {
  width: 36px;
  height: 36px;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 18px;
}
.address-block, .phone-email, .opening-hours {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.03rem;
  color: #24415e;
  background: #fff;
  padding: 13px 18px;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(36,65,94,0.07);
}
.opening-hours img {
  width: 20px; height: 20px;
}

.cta-section {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

/* --- "OUR PROMISE" / SCHATZKAMMER SPECIALS --- */
.our-promise {
  background: linear-gradient(90deg, #e6e2d8 60%, #fff 100%);
  border-radius: 12px;
  padding: 24px 20px;
  font-size: 1.08rem;
  color: #24415e;
  margin-bottom: 18px;
  margin-top: 12px;
}

/* --- TEXT IMAGE SECTION --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section > div {
  margin-bottom: 6px;
}

/* --- CARD-LIKE ELEMENTS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- RESPONSIVE DESIGN / MEDIA QUERIES --- */
@media (max-width: 1000px) {
  header .container {
    padding: 0 12px;
  }
  .container {
    padding: 0 10px;
  }
  footer .container {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .calendar-overview, .contact-details, footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    padding: 0 7px;
    height: 62px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container, .section {
    padding: 0 9px !important;
  }
  .feature-grid, .testimonial-list, .benefit-list {
    flex-direction: column;
    gap: 26px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .contact-details {
    flex-direction: column;
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 0 8px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  header .container { height: 56px; }
  .hero h1 { font-size: 2rem; }
  .section, .policy-text, .our-promise, .calendar-overview, .testimonial-card { padding: 16px 7px !important; }
}

/* --- SMOOTH TRANSITIONS / MICRO-INTERACTIONS --- */
button, .cta, nav a, .mobile-nav a, .testimonial-card, .feature-grid > div, .card {
  transition: 
    background 0.22s, 
    color 0.20s, 
    box-shadow 0.27s, 
    transform 0.15s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #24415e;
  color: #fff;
  padding: 20px 28px 22px 28px;
  z-index: 3500;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 18px 0 rgba(36,65,94,0.13);
  font-size: 1rem;
  width: 100vw;
  animation: slideInUp 0.7s cubic-bezier(.55,.76,.2,1) 1;
}
@keyframes slideInUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: auto;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.19s, color 0.12s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: linear-gradient(90deg, #ae9336 0%, #917111 100%);
  color: #fff;
  box-shadow: 0 2px 11px rgba(174,147,54,0.11);
}
.cookie-banner .accept:hover {
  background: #917111;
}
.cookie-banner .reject {
  background: #fff;
  color: #24415e;
  border: 1.5px solid #ae9336;
}
.cookie-banner .reject:hover {
  background: #e6e2d8;
}
.cookie-banner .settings {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.cookie-banner .settings:hover {
  background: #24415e;
  color: #ae9336;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 20px 8px;
    gap: 12px;
  }
  .cookie-banner .cookie-banner-actions {
    margin-left: 0;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3750;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,65,94,0.40);
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  animation: fadeIn 0.5s cubic-bezier(.4,.9,.2,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #24415e;
  border-radius: 18px;
  box-shadow: 0 6px 40px rgba(36,65,94,0.18);
  padding: 32px 28px;
  width: 95%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scaleIn 0.44s cubic-bezier(.7,.3,.2,1);
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 6px;
}
.cookie-modal input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: #ae9336;
}
.cookie-modal .close-modal {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #24415e;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #917111;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 11px 7px;
    min-width: unset;
    max-width: 355px;
  }
}

/* --- UTILS --- */
.transparent-bg {
  background: transparent !important;
}
.bg-light {
  background: #e6e2d8 !important;
}
.bg-primary {
  background: #24415e !important;
  color: #fff;
}
.bg-accent {
  background: #ae9336 !important;
  color: #fff;
}
.rounded-lg {
  border-radius: 14px !important;
}
.shadow-md {
  box-shadow: 0 2px 14px rgba(36,65,94,0.11) !important;
}

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