/* -----------------------------------------------------
   CSS Reset and Normalize (Mobile-First)
----------------------------------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, dt, li, a, nav, button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input[type=button], input[type=submit] { cursor: pointer; background: none; border: none; border-radius: 0; }
img, svg { max-width: 100%; display: block; height: auto; }

/* -----------------------------------------------------
   Luxury Premium Brand Variables (with fallbacks)
----------------------------------------------------- */
:root {
  --lk-primary: #30475E;
  --lk-secondary: #F2A365;
  --lk-accent: #F8F8F8;
  --lk-gold: #C9B037;
  --lk-dark: #212531;
  --lk-grey: #777;
  --lk-light: #fff;
  --lk-shadow: 0 4px 24px 0 rgba(48,71,94,0.08), 0 2px 8px 0 rgba(201,176,55,0.08);
  --lk-font-display: 'Merriweather', serif;
  --lk-font-body: 'Roboto', Arial, sans-serif;
  --lk-radius: 18px;
}

/* -----------------------------------------------------
   Typography
----------------------------------------------------- */
body {
  font-family: var(--lk-font-body), Arial, sans-serif;
  font-size: 16px;
  color: var(--lk-dark);
  background: var(--lk-light);
  line-height: 1.7;
  min-height: 100vh;
}
h1, .h1 {
  font-family: var(--lk-font-display), serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--lk-primary);
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}
h2, .h2 {
  font-family: var(--lk-font-display), serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--lk-primary);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: var(--lk-font-display), serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lk-dark);
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: var(--lk-font-display), serif;
  font-weight: 600;
  color: var(--lk-dark);
}
p, ul, ol, li, dl, dd, dt {
  font-size: 1rem;
  color: var(--lk-dark);
}
.subheadline {
  color: var(--lk-grey);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
blockquote {
  font-family: var(--lk-font-display), serif;
  font-style: italic;
  color: var(--lk-primary);
  border-left: 3px solid var(--lk-gold);
  padding-left: 18px;
  margin: 10px 0 10px 0;
}
cite {
  display: block;
  color: var(--lk-grey);
  font-size: 0.97rem;
  margin-top: 8px;
}

/* -----------------------------------------------------
   Containers & Section Spacing
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}

/* -----------------------------------------------------
   Navigation & Header
----------------------------------------------------- */
header {
  background: var(--lk-light);
  box-shadow: 0 2px 14px 0 rgba(48,71,94,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 20px 0 20px 0;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: var(--lk-font-display), serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lk-primary);
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--lk-accent);
  color: var(--lk-gold);
}
.main-nav > a:first-child img {
  height: 38px;
}
/* Responsive main nav */
@media (max-width: 980px) {
  .main-nav {
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .main-nav > a {
    font-size: 0.97rem;
    padding: 7px 8px;
  }
  .main-nav > a:first-child img {
    height: 32px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}

/* Mobile burger */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: var(--lk-primary);
  color: var(--lk-gold);
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  padding: 7px 15px;
  margin: 8px 7px;
  z-index: 201;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--lk-gold);
  color: var(--lk-primary);
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 44, 54, 0.95);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--lk-gold);
  font-size: 2.3rem;
  border-radius: 8px;
  padding: 20px 17px 11px 17px;
  align-self: flex-end;
  margin: 16px 22px 8px 0;
  z-index: 205;
  transition: background 0.12s, color 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--lk-gold);
  color: var(--lk-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100vw;
  padding: 28px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--lk-font-display), serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--lk-light);
  padding: 12px 8px;
  width: 100%;
  border-radius: 7px;
  transition: background .16s, color 0.16s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lk-gold);
  color: var(--lk-primary);
}

/* -----------------------------------------------------
   Hero Section
----------------------------------------------------- */
.hero {
  width: 100%;
  background: var(--lk-accent);
  border-bottom: 2px solid #ece8e0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 0 38px 0;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  margin: 10px 0;
}
@media (max-width: 768px) {
  .hero {
    min-height: 210px;
    padding: 24px 0;
  }
  .hero .content-wrapper {
    gap: 6px;
    margin: 0;
    text-align: left;
  }
  .hero h1 { font-size: 1.6rem; }
}

/* -----------------------------------------------------
   Flexbox Layout Utility Classes (Mandatory Patterns)
----------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--lk-light);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--lk-radius);
  box-shadow: var(--lk-shadow);
  padding: 24px;
  transition: transform 0.16s, box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 12px 28px 0 rgba(48,71,94,0.16), 0 4px 20px 0 rgba(201,176,55,0.14);
  transform: translateY(-3px) scale(1.012);
}
.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;
  background: var(--lk-accent);
  border-left: 4px solid var(--lk-gold);
  border-radius: var(--lk-radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(48,71,94,0.08);
  position: relative;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(48,71,94,0.13), 0 2px 10px 0 rgba(201,176,55,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Responsive Text-Image Section */
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Flexbox for custom grids */
.feature-grid,
.review-grid,
.book-list-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 20px 0;
  padding: 0;
}
.feature-grid li, .review-grid > div, .book-list-collections li {
  background: var(--lk-light);
  padding: 18px 20px 16px 20px;
  border-radius: var(--lk-radius);
  box-shadow: 0 3px 14px 0 rgba(48,71,94,0.08);
  flex: 1 1 260px;
  min-width: 210px;
  transition: box-shadow 0.14s, transform 0.18s;
}
.review-grid > div:hover,
.feature-grid li:hover {
  box-shadow: 0 8px 26px 0 rgba(48,71,94,0.15), 0 2px 10px 0 rgba(201,176,55,0.10);
  transform: translateY(-2px) scale(1.008);
}
@media (max-width: 768px) {
  .feature-grid, .review-grid, .book-list-collections {
    gap: 12px;
  }
  .feature-grid li, .review-grid > div, .book-list-collections li {
    min-width: 0;
    flex: 1 1 100%;
    padding: 13px 12px 13px 14px;
  }
}

/* -----------------------------------------------------
   Buttons & Interactives
----------------------------------------------------- */
.cta-button, .filter-controls button, .topic-filters button {
  font-family: var(--lk-font-display), serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lk-light);
  background: linear-gradient(90deg,var(--lk-gold) 0%,var(--lk-secondary) 100%);
  border: none;
  border-radius: 12px;
  padding: 13px 38px;
  margin-top: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 rgba(201,176,55,0.10);
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.14s;
  letter-spacing: 0.06em;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus,
.filter-controls button:hover, 
.filter-controls button:focus, 
.topic-filters button:hover,
.topic-filters button:focus {
  background: var(--lk-primary);
  color: var(--lk-gold);
  box-shadow: 0 4px 14px 0 rgba(48,71,94,0.18);
  transform: translateY(-2px) scale(1.02);
}
.filter-controls button, .topic-filters button {
  font-family: var(--lk-font-body);
  font-size: 0.99rem;
  background: var(--lk-accent);
  color: var(--lk-primary);
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: 600;
  margin: 0 4px;
  border: 1px solid var(--lk-grey);
  box-shadow: none;
  margin-top: 0;
}
.filter-controls button.active, .topic-filters button.active {
  background: var(--lk-gold);
  color: var(--lk-primary);
  border-color: var(--lk-gold);
}

/* -----------------------------------------------------
   Testimonials & Star Ratings
----------------------------------------------------- */
.testimonials h2 { margin-bottom: 18px; }
.star-rating {
  font-size: 1.25rem;
  color: var(--lk-gold);
  font-family: var(--lk-font-display),serif;
  margin-right: 10px;
}
.testimonial-card blockquote {
  color: var(--lk-primary);
  font-size: 1.08rem;
  border: none;
  padding-left: 0;
}
.testimonial-card cite {
  color: var(--lk-grey);
}

/* -----------------------------------------------------
   Footer
----------------------------------------------------- */
footer {
  background: var(--lk-primary);
  color: var(--lk-light);
  padding: 36px 0 0 0;
  border-top: 4px solid var(--lk-gold);
}
footer a {
  color: var(--lk-gold);
  font-weight: 600;
  margin-right: 14px;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
footer a:hover, footer a:focus {
  color: var(--lk-accent);
}
.address-block p {
  font-size: 0.97rem;
  color: var(--lk-accent);
  margin-top: 12px;
  margin-bottom: 11px;
  line-height: 1.4;
}
footer img {
  height: 38px;
  margin-top: 20px;
  margin-bottom: 14px;
}
footer .content-wrapper {
  gap: 20px;
  flex-direction: row;
  align-items: flex-start;
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  footer img { margin-top: 9px; height: 26px; }
}

/* -----------------------------------------------------
   Forms & Inputs (Contact/Newsletter)
----------------------------------------------------- */
input, textarea, select {
  background: var(--lk-accent);
  border-radius: 8px;
  border: 1px solid #DDD6C1;
  padding: 10px 14px;
  font-family: var(--lk-font-body);
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--lk-dark);
  min-width: 180px;
  transition: border-color 0.12s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--lk-gold);
  box-shadow: 0 2px 8px 0 rgba(201,176,55,0.09);
  outline: none;
}
label {
  display: block;
  font-weight: 600;
  color: var(--lk-primary);
  margin-bottom: 5px;
}

/* -----------------------------------------------------
   Lists (About/Features/Legal)
----------------------------------------------------- */
ul, ol {
  margin: 10px 0 10px 20px;
  padding: 0;
}
ul li::marker, ol li::marker {
  color: var(--lk-gold);
  font-weight: bold;
}
ul li {
  margin: 7px 0 7px 0;
  padding-left: 0px;
}

/* -----------------------------------------------------
   Page Specific Utility Classes
----------------------------------------------------- */
.text-section {
  max-width: 710px;
}
.address-block {
  margin-top: 14px;
}
.contact-icons {
  display: flex;
  gap: 18px;
  padding: 7px 0;
}
.benefits-highlight ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sample-newsletter, .seasonal-recommendations {
  background: var(--lk-accent);
  border-radius: var(--lk-radius);
  padding: 16px 22px 14px 22px;
  box-shadow: 0 1.5px 7px 0 rgba(48,71,94,0.04);
  margin: 10px 0 20px 0;
}
.filter-controls, .topic-filters {
  margin: 14px 0;
}

/* Legal Section Headings */
.legal-data-privacy h2, .legal-gdpr h2, .legal-cookies h2, .legal-terms-of-use h2 {
  color: var(--lk-gold);
  margin-top: 26px;
}

/* -----------------------------------------------------
   Cookie Consent Banner
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: var(--lk-primary);
  color: var(--lk-light);
  padding: 28px 16px 20px 16px;
  box-shadow: 0 -4px 28px 0 rgba(48,71,94,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-slideup 0.75s cubic-bezier(.6,0,.7,1) 0s 1;
}
@keyframes cookie-slideup {
  0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  font-family: var(--lk-font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  min-width: 100px;
  padding: 10px 18px;
  margin-right: 5px;
  font-weight: 700;
  box-shadow: 0 2.5px 8px 0 rgba(201,176,55,0.12);
  transition: background 0.18s, color 0.14s;
}
.cookie-banner__accept {
  background: linear-gradient(90deg,var(--lk-gold) 0%,var(--lk-secondary) 100%);
  color: var(--lk-dark);
}
.cookie-banner__accept:hover, .cookie-banner__accept:focus {
  background: var(--lk-accent);
  color: var(--lk-primary);
}
.cookie-banner__reject {
  background: var(--lk-accent);
  color: var(--lk-primary);
  font-weight: 800;
  border: 1px solid var(--lk-gold);
}
.cookie-banner__reject:hover, .cookie-banner__reject:focus {
  background: var(--lk-primary);
  color: var(--lk-gold);
}
.cookie-banner__settings {
  background: none;
  color: var(--lk-light);
  border: 1px solid var(--lk-grey);
}
.cookie-banner__settings:hover, .cookie-banner__settings:focus {
  color: var(--lk-gold);
  border-color: var(--lk-gold);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(37,44,54,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein 0.32s cubic-bezier(.68,0.1,.68,1.2) 0s 1;
}
@keyframes cookie-fadein {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal__box {
  background: var(--lk-light);
  color: var(--lk-dark);
  border-radius: 18px;
  box-shadow: 0 12px 38px 0 rgba(48,71,94,0.18);
  padding: 42px 30px 32px 30px;
  min-width: 90vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-modal-in 0.28s cubic-bezier(.33,1.4,.46,1) 0s 1;
}
@keyframes cookie-modal-in {
  0% { transform: translateY(-24px) scale(.97); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  color: var(--lk-gold);
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: var(--lk-primary); }
.cookie-modal__title {
  font-family: var(--lk-font-display);
  color: var(--lk-primary);
  font-size: 1.23rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--lk-dark);
  margin: 0 7px 0 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--lk-gold);
  width: 21px;
  height: 21px;
}
.cookie-category--essential label {
  color: var(--lk-primary);
}
.cookie-category--essential input {
  display: none;
}
.cookie-category--essential::after {
  content: "(immer aktiv)";
  color: var(--lk-gold);
  font-size: 0.93rem;
  margin-left: 12px;
  font-weight: 700;
}
.cookie-modal .cookie-modal__actions {
  display: flex;
  gap: 15px;
  padding-top: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--lk-font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  min-width: 95px;
  padding: 8px 18px;
  font-weight: 700;
  transition: background 0.14s, color 0.14s;
}

/* -----------------------------------------------------
   Responsive Utilities
----------------------------------------------------- */
@media (max-width: 980px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.35rem; }
  h2, .h2 { font-size: 1.13rem; }
  h3, .h3 { font-size: 1rem; }
  .hero { min-height: 120px; }
  .section { padding: 18px 2px; }
  .review-grid, .feature-grid, .book-list-collections { flex-direction: column; }
  .footer-nav { gap: 11px; }
  .container { padding: 0 7px; }
  .testimonial-card { flex-direction: column; gap: 12px; padding: 12px; }
  .card-container { gap: 12px; }
}

/* -----------------------------------------------------
   Luxury Details (Gold Borders, Microinteractions)
----------------------------------------------------- */
.card, .feature-grid li, .review-grid > div, .sample-newsletter, .seasonal-recommendations {
  border: 1.5px solid #e9dfc6;
}
.card:before, .feature-grid li:before {
  content: '';
  display: none;
}
.card--gold-accent, .feature-grid li--gold {
  border: 2px solid var(--lk-gold);
}
p a, .text-section a, .legal-data-privacy a, .legal-gdpr a, .legal-terms-of-use a {
  color: var(--lk-gold);
  font-weight: 700;
  transition: color 0.13s;
}
p a:hover, .text-section a:hover, .legal-data-privacy a:hover, .legal-gdpr a:hover, .legal-terms-of-use a:hover {
  color: var(--lk-secondary);
}

/* -----------------------------------------------------
   Accessibility: Focus States
----------------------------------------------------- */
a:focus, button:focus, .cta-button:focus, .cookie-banner button:focus {
  outline: 2px solid var(--lk-gold);
  outline-offset: 1.5px;
}

/* -----------------------------------------------------
   Hide elements visually but keep for screen readers
----------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* -----------------------------------------------------
   Thank-you Section
----------------------------------------------------- */
.thank-you {
  background: var(--lk-accent);
  border-radius: var(--lk-radius);
  box-shadow: var(--lk-shadow);
  margin: 48px 0;
  padding: 34px 18px 34px 18px;
}

/* -----------------------------------------------------
   Z-Index Layering & No Overlap
----------------------------------------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 301+;
}

/* -----------------------------------------------------
   Custom Scrollbar for Premium Feel
----------------------------------------------------- */
::-webkit-scrollbar {
  width: 11px;
  background: var(--lk-accent);
}
::-webkit-scrollbar-thumb {
  border-radius: 9px;
  background: var(--lk-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: #dda700;
}

/* -----------------------------------------------------
   Print Friendly (Branding Only, No Menus)
----------------------------------------------------- */
@media print {
  .main-nav, .mobile-menu, .cookie-banner, .footer-nav, .mobile-menu-toggle, .mobile-menu-close { display: none !important; }
  body { background: #fff; color: #000; }
}
