/* ---------------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
---------------------------------------------------- */
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: inherit;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  color: #233D4D;
  background: #F4F3EE;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #233D4D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A1C181;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ---------------------------------------------------
   TYPOGRAPHY HIERARCHY
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  color: #233D4D;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.67rem; /* 48px */
  line-height: 1.15;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.2;
}
h4 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem; /* 16px */
}
strong,
b {
  font-weight: 700;
  color: #233D4D;
}
em {
  font-style: italic;
  color: #A1C181;
}
blockquote {
  font-style: italic;
  color: #233D4D;
  border-left: 4px solid #A1C181;
  padding-left: 16px;
  margin-bottom: 8px;
}

/* ---------------------------------------------------
   UTILITIES & CONTAINERS
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------
   NAVIGATION & HEADER
---------------------------------------------------- */
header {
  background: #233D4D;
  color: #fff;
  position: relative;
  z-index: 11;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 20px 0 20px 0;
  position: relative;
}
.main-nav a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #A1C181;
}
.main-nav img {
  height: 44px;
  margin-right: 0.5em;
  margin-bottom: -6px;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: #A1C181;
  color: #233D4D;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 12;
  border: 2px solid #A1C181;
  box-shadow: 0 2px 6px rgba(35,61,77,0.09);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #233D4D;
  color: #A1C181;
  border-color: #F4F3EE;
}

/* ---------------------------------------------------
   MOBILE MENU OVERLAY
---------------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #233D4D;
  color: #fff;
  z-index: 50;
  padding-top: 36px;
  padding-left: 0;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.59,1.53,.31,.86);
  box-shadow: 0 10px 32px rgba(35,61,77,0.27);
  opacity: 0.96;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: transparent;
  align-self: flex-end;
  margin-right: 20px;
  margin-top: 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #A1C181;
  color: #233D4D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 32px 32px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.33rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #A1C181;
  color: #233D4D;
}

/* ---------------------------------------------------
   LAYOUT CORE: FLEXBOX SPACING & SECTIONS
---------------------------------------------------- */
main {
  margin-top: 0px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .feature-grid, .feature-item, .card-container, .content-grid, .text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(35,61,77,0.09);
  padding: 28px 26px;
  min-width: 230px;
  max-width: 330px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,61,77,0.07);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover { box-shadow: 0 8px 28px rgba(35,61,77,0.16); transform: translateY(-3px); }
.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;
}

/* ---------------------------------------------------
   HERO
---------------------------------------------------- */
.hero {
  background: #A1C181;
  color: #233D4D;
  padding-top: 64px;
  padding-bottom: 64px;
  margin-bottom: 0;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 28px -8px rgba(35,61,77,0.08);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #233D4D;
}
.hero .cta-button {
  margin-top: 28px;
}

/* ---------------------------------------------------
   CTA BUTTON
---------------------------------------------------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #233D4D;
  color: #fff;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  border: none;
  border-radius: 32px;
  padding: 16px 36px;
  font-size: 1.33rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px rgba(35,61,77,0.13);
  margin-top: 14px;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.15s;
  text-transform: uppercase;
}
.cta-button:hover, .cta-button:focus {
  background: #A1C181;
  color: #233D4D;
  box-shadow: 0 6px 22px rgba(35,61,77,0.24);
  transform: translateY(-3px) scale(1.035);
}

/* ---------------------------------------------------
   REVIEW & TESTIMONIAL SECTIONS
---------------------------------------------------- */
.book-list, .review-list, .collection-themes, .selected-titles ul, .seasonal-list, .newsletter-benefits ul, .quick-tip-highlights ul, .contact-details, .team-bio-list, .reading-tracker-info ul {
  padding-left: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.book-list li, .review-list li, .collection-themes li, .seasonal-list li, .newsletter-benefits li, .quick-tip-highlights li, .contact-details li, .team-bio-list li, .reading-tracker-info li, .selected-titles ul li {
  background: #fff;
  padding: 18px 18px 18px 22px;
  border-radius: 13px;
  box-shadow: 0 1px 7px rgba(35,61,77,0.09);
  color: #233D4D;
}
.book-list li strong, .review-list .review-title strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #233D4D;
}
.review-description {
  font-size: 1rem;
  margin-top: 8px;
}
.review-stars {
  display: flex;
  flex-direction: row;
  gap: 3px;
}

/* ---------------------------------------------------
   SPECIAL CARDS (Advice/Event/Testimonial etc.)
---------------------------------------------------- */
.advice-cards, .event-cards, .highlighted-events {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.advice-card, .event-card, .special-event {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35,61,77,0.09);
  padding: 24px 18px 24px 24px;
  min-width: 200px;
  max-width: 340px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.advice-card:hover, .event-card:hover, .special-event:hover {
  box-shadow: 0 10px 36px rgba(35,61,77,0.16);
  transform: translateY(-3px) scale(1.017);
}
.registration-info {
  margin-top: 12px;
  font-size: 1rem;
  color: #A1C181;
  font-weight: bold;
}
.highlighted-events {
  gap: 32px;
}

/* ---------------------------------------------------
   TESTIMONIAL CARDS
---------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,61,77,0.10);
  margin-bottom: 24px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(35,61,77,0.14);
  transform: scale(1.014);
}
.avatar {
  width: 52px;
  height: 52px;
  background: #A1C181;
  color: #233D4D;
  font-weight: 900;
  font-size: 1.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 14px rgba(35,61,77,0.10);
}
cite {
  font-size: 0.98rem;
  color: #233D4D;
  opacity: 0.73;
  margin-left: 14px;
  font-style: normal;
}

/* ---------------------------------------------------
   NEWSLETTER & DOWNLOAD LINKS
---------------------------------------------------- */
.newsletter-benefits ul, .download-links {
  margin: 18px 0;
  gap: 10px;
}
.download-links {
  display: flex;
  gap: 20px;
}
.download-links a {
  color: #233D4D;
  background: #A1C181;
  border-radius: 9px;
  padding: 8px 18px;
  font-weight: bold;
  text-align: center;
  transition: background 0.16s, color 0.16s;
}
.download-links a:hover, .download-links a:focus {
  background: #233D4D;
  color: #fff;
}

/* ---------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: #233D4D;
  color: #fff;
  padding: 32px 0 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  position: relative;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #A1C181;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.98rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.footer-contact img {
  width: 40px;
  height: 40px;
}
.footer-contact p {
  color: #F4F3EE;
  font-size: 0.99rem;
}
footer small {
  display: block;
  margin-top: 5px;
  color: #A1C181;
  font-size: 0.97rem;
}

/* ---------------------------------------------------
   FAQ ACCORDION (KONTAKT SEITE)
---------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(35,61,77,0.09);
  padding: 18px 22px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 1rem;
  color: #233D4D;
}
.faq-item:hover {
  box-shadow: 0 8px 20px rgba(35,61,77,0.12);
  transform: scale(1.01);
}

/* ---------------------------------------------------
   MAP & CONTACT DETAILS
---------------------------------------------------- */
.map {
  background: #A1C181;
  color: #233D4D;
  padding: 28px 18px;
  border-radius: 13px;
  margin-bottom: 15px;
  font-style: italic;
  box-shadow: 0 1px 12px rgba(35,61,77,0.075);
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
  filter: grayscale(0) brightness(0.54) sepia(1) hue-rotate(40deg) saturate(5);
  opacity: 0.7;
}

/* ---------------------------------------------------
   SPECIAL COMPONENTS
---------------------------------------------------- */
.selected-titles {
  margin-top: 14px;
}
.selected-titles h3 {
  font-size: 1.25rem;
}
.editor-note {
  background: #A1C181;
  border-radius: 9px;
  padding: 14px 20px;
  color: #233D4D;
  font-size: 1rem;
}

/* ---------------------------------------------------
   FORM CONTROLS & SELECTS
---------------------------------------------------- */
select, .review-filters select, .thematic-filters select {
  appearance: none;
  border: 2px solid #A1C181;
  background: #fff;
  border-radius: 9px;
  font-size: 1rem;
  color: #233D4D;
  padding: 10px 38px 10px 18px;
  font-weight: 700;
  transition: border 0.18s;
  outline: none;
  margin-bottom: 8px;
}
select:focus, select:hover {
  border: 2px solid #233D4D;
}
.review-filters, .thematic-filters {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER
---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #233D4D;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 14px 20px 14px;
  box-shadow: 0 -2px 18px rgba(35,61,77,0.20);
  z-index: 98;
  gap: 22px;
  transition: transform 0.36s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-msg {
  max-width: 520px;
  margin-right: 22px;
  flex: 1 1 300px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #A1C181;
  color: #233D4D;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: bold;
  padding: 9px 22px;
  margin-right: 3px;
  transition: background 0.16s, color 0.17s, transform 0.14s;
  margin-bottom: 4px;
  box-shadow: 0 1px 8px rgba(161,193,129,.07);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #F4F3EE;
  color: #233D4D;
  transform: scale(1.06);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,61,77,0.57);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 107;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #233D4D;
  max-width: 425px;
  width: 92vw;
  border-radius: 16px;
  box-shadow: 0 7px 32px rgba(35,61,77,0.19);
  padding: 32px 24px 24px 24px;
  z-index: 108;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.23s cubic-bezier(.29,1.39,.39,1.19);
}
@keyframes modalIn {
  from { transform: translateY(42px) scale(0.98); opacity: 0.5; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: 'Merriweather', serif;
  font-weight: bold;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F4F3EE;
  padding: 10px 15px;
  border-radius: 9px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  width: 22px;
  height: 22px;
  accent-color: #A1C181;
}
.cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: #F4F3EE;
  color: #233D4D;
  border: none;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 8px 23px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #A1C181;
  color: #233D4D;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN (MOBILE-FIRST)
---------------------------------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 940px; }
}
@media (max-width: 900px) {
  .container { max-width: 92vw; }
  .main-nav { gap: 18px; padding: 17px 0; }
  .feature-grid, .advice-cards, .event-cards, .highlighted-events, .card-container, .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.41rem; }
  h3 { font-size: 1.17rem; }
  section, .section { padding: 30px 12px; }
  .hero { padding: 38px 9px 38px 9px; min-height: 220px; border-radius: 0 0 24px 24px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact { flex-direction: column; gap: 10px; }
  .feature-grid, .advice-cards, .event-cards, .highlighted-events, .card-container, .content-grid
  { flex-direction: column; gap: 14px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px 16px 8px;
    font-size: 0.96rem;
    gap: 12px;
  }
  .cookie-banner .cookie-msg, .cookie-banner .cookie-btn-group { margin-right: 0; }
  .content-wrapper { margin-bottom: 17px; }
  .download-links { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 540px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .hero { padding: 22px 0 22px 0; }
  .feature-item, .advice-card, .event-card, .special-event, .card { min-width: 0; padding: 18px 9px; }
  .footer-nav { gap: 13px; }
}

/* ---------------------------------------------------
   VISUAL DETAILS & BOLD DECORATIONS
---------------------------------------------------- */
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.3em;
}

/* Add geometric SVG shape background decorations for modern_bold (optional for future) */

/* ---------------------------------------------------
   MICRO-INTERACTIONS: BUTTONS
---------------------------------------------------- */
.button, .cookie-btn, .cta-button, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.17s, color 0.16s, transform 0.12s, box-shadow 0.11s;
}
.button:active, .cta-button:active {
  transform: scale(0.96);
}

/* ---------------------------------------------------
   HIGHLIGHT COLOR CLASSES (UTILITY)
---------------------------------------------------- */
.bg-primary { background: #233D4D !important; color: #fff !important; }
.bg-secondary { background: #A1C181 !important; color: #233D4D !important; }
.bg-accent { background: #F4F3EE !important; color: #233D4D !important; }
.text-primary { color: #233D4D !important; }
.text-secondary { color: #A1C181 !important; }
.text-accent { color: #F4F3EE !important; }

/* ---------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------- */
:focus-visible {
  box-shadow: 0 0 0 3px #A1C18166;
  outline: none;
}
::-webkit-input-placeholder { color: #A1C181; }
:-ms-input-placeholder { color: #A1C181; }
::placeholder { color: #A1C181; }

/* Hide visually, but remain accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

/* ---------------------------------------------------
   END OF FILE
---------------------------------------------------- */
