/* ====================================
   RESET & NORMALIZE (Modern CSS Reset)
   ==================================== */
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, main, 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 {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #181818;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
imh, img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  outline: none;
}
button, .cta {
  cursor: pointer;
}

/* ==================================
   TYPOGRAPHY – Hierarchy & Styling
   ================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #181818;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  line-height: 1.13;
}
h1 {
  font-size: 2.75rem; /* 44px */
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem; /* 22px */
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li, .text-section, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #252525;
  line-height: 1.7;
  margin-bottom: 1em;
}
p:last-child, .text-section:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 600;
  color: #1B3556;
}
em {
  font-style: italic;
  color: #222;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 28px;
}

/* ================================
   GENERAL LAYOUT & CONTAINERS
   ================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ===========================
   HEADER & NAVIGATION BAR
   =========================== */
header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1.5px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 82px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 22px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 64px;
}
.logo-link img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  letter-spacing: 0.01em;
  font-weight: 400;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1B3556;
}
.cta.primary {
  display: inline-block;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: #181818;
  border-radius: 28px;
  padding: 10px 32px;
  margin-left: 18px;
  border: 2.5px solid #181818;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
  box-shadow: 0 4px 16px 0 rgba(24,24,24,0.06);
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #181818;
  border-color: #1B3556;
  box-shadow: 0 8px 32px 0 rgba(27,53,86,0.07);
}
.cta.secondary {
  display: inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: #fff;
  color: #1B3556;
  border: 2px solid #1B3556;
  border-radius: 28px;
  padding: 10px 32px;
  margin-top: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px 0 rgba(27,53,86,0.05);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #1B3556;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(27,53,86,0.09);
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #181818;
  border: none;
  padding: 8px 14px;
  margin-left: auto;
  z-index: 155;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #EFEFEF;
}
@media (max-width: 1100px) {
  .header-content {
    gap: 8px;
  }
  .main-nav {
    gap: 10px;
  }
  .cta.primary {
    padding: 8px 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 340px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -4px 0 32px 0 rgba(27,53,86, 0.20);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.69,-0.42,.36,1.53);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #181818;
  background: none;
  align-self: flex-end;
  margin: 27px 22px 0 0;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eee;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 55px 0 16px 0;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #1B3556;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 0;
  transition: color 0.17s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #181818;
  background: #EFEFEF;
}
@media (max-width: 410px) {
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
  }
  .mobile-nav {
    padding-left: 16px;
  }
}
/* Hide main CTA on very small screens if needed */
@media (max-width: 480px) {
  .cta.primary {
    font-size: 0.95rem;
    padding: 7px 12px;
    margin-left: 4px;
  }
}

/* ========================
   HERO SECTION
   ======================== */
.hero, .section.hero {
  background: #fff;
  padding: 48px 0 60px 0;
  border-bottom: 1.5px solid #eee;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 340px;
}
.hero .content-wrapper,
.section.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: #181818;
}

@media (max-width: 768px) {
  .hero, .section.hero {
    min-height: 260px;
    padding: 28px 0 28px 0;
    margin-bottom: 28px;
  }
}

/* ========================
   FEATURES & CARDS
   ======================== */
.features, .services {
  background: #fff;
}
.section.features, section.features {
  border-bottom: 1.5px solid #F3F3F3;
}
ul.feature-grid, ul.feature-list, ul.step-grid, ul.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
ul.feature-grid > li,
ul.step-grid > li,
ul.service-list > li,
ul.feature-list > li {
  background: #F7F7F7;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(17,17,17,0.10);
  padding: 28px 26px 22px 26px;
  margin-bottom: 20px;
  flex: 1 1 272px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 360px;
  border: 1.2px solid #E2E3E6;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
  position: relative;
}
ul.feature-grid > li:hover,
ul.step-grid > li:hover,
ul.service-list > li:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(27,53,86,0.13);
  border-color: #1B3556;
}
ul.feature-grid img {
  width: 43px;
  height: 43px;
  margin-bottom: 7px;
}

/* For book highlights (Bücher page) */
.book-highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  justify-content: space-between;
}
.book-highlights-grid > div {
  background: #F4F4F4;
  border-radius: 15px;
  padding: 20px 18px 18px 20px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 300px;
  box-shadow: 0 3px 11px rgba(27,53,86,0.06);
  border: 1px solid #E2E3E6;
}
.book-highlights-grid h3 {
  margin-bottom: 10px;
}

.curated-collections {
  margin-top: 12px;
  background: #fff;
  border-left: 3.5px solid #1B3556;
  padding: 18px 18px 18px 24px;
  border-radius: 8px;
  font-size: 1.04rem;
}

@media (max-width: 810px) {
  ul.feature-grid, ul.feature-list, ul.service-list, ul.step-grid, .book-highlights-grid {
    flex-direction: column;
    gap: 20px;
  }
  .book-highlights-grid > div {
    max-width: 100%;
    min-width: 0;
  }
}

/* Steps (numbered in Leseabonnement) */
.steps {
  margin: 28px 0 20px 0;
}
.steps h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}
.steps ol {
  padding-left: 20px;
  font-size: 1rem;
}
.steps ol li {
  margin-bottom: 9px;
}

/* Sample Titles/Lists */
.sample-titles ul {
  margin-top: 10px;
  padding-left: 10px;
}

.benefit-list, .feature-list, .service-list, .step-grid, .faq-accordion, .event-schedule ul {
  padding-left: 0;
}
.benefit-list li, .faq-accordion h3 {
  font-weight: 500;
  color: #1B3556;
}
.benefit-list li {
  margin-bottom: 10px;
}

.faq-accordion h3 {
  font-size: 1.07rem;
  margin-bottom: 5px;
}
.faq-accordion p {
  margin-bottom: 14px;
}

/* Testimonial Card Styles */
.testimonials {
  background: #fafbfc;
  border-top: 1.5px solid #eee;
}
.testimonials .content-wrapper {
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(27,53,86,0.08);
  border: 1px solid #E2E3E6;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  border-color: #1B3556;
  box-shadow: 0 6px 32px rgba(27,53,86,0.18);
}
.testimonial-card p {
  color: #181818;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-meta {
  color: #444;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* ===============================
   TABLES & PRICING
   =============================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 10px 0;
}
.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 13px 14px;
  font-size: 1rem;
  border: 1px solid #E2E3E6;
  font-family: 'Roboto', Arial, sans-serif;
}
.pricing-table th {
  background: #1B3556;
  color: #fff;
  font-weight: 700;
}
.pricing-table tr:nth-child(even) td {
  background: #F5F7FA;
}
.pricing-table tr:hover td {
  background: #E6E9EF;
}

@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 9px 5px;
    font-size: 0.95rem;
  }
}

/* ==============================
   CONTACT PAGE & FOOTER
   ============================== */
.contact-details {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.03rem;
}
.footer-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #1B3556;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #181818;
}
.footer-contact {
  text-align: center;
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-social img {
  width: 27px;
  height: 27px;
  opacity: 0.78;
  transition: opacity 0.18s, filter 0.18s;
  filter: grayscale(100%);
}
.footer-social img:hover, .footer-social img:focus {
  opacity: 1;
  filter: grayscale(0%);
}
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}
.footer-brand img {
  height: 38px;
  width: auto;
  opacity: 0.85;
}
footer {
  background: #F5F7FA;
  border-top: 1.5px solid #dedede;
  padding: 46px 0 33px 0;
  font-size: 0.98rem;
  color: #444;
  position: relative;
  margin-top: 30px;
}
@media (max-width: 700px) {
  .footer-nav {
    gap: 10px;
    font-size: 0.92rem;
  }
  .footer-social {
    gap: 10px;
  }
  .footer-brand img {
    height: 27px;
  }
}

/* ================
   SECTIONS UTILS
   ================ */
.text-section {
  margin-bottom: 18px;
  line-height: 1.7;
}
/* Map placeholder styling */
.map-snippet {
  background: #ECECEC;
  color: #A3A3A3;
  border-radius: 9px;
  padding: 17px 10px;
  font-size: 0.98rem;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 20px;
  font-style: italic;
}
.next-steps {
  margin-top: 18px;
}

/* Misc Section Alignment & Spacing */
.feature-item, .content-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px rgba(27,53,86,0.10);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #E2E3E6;
  padding: 20px;
  flex: 1 1 250px;
}
.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;
}

@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}

/* =====================
   ANIMATIONS & EFFECTS
   ===================== */
@media (hover: hover) {
  .cta, .cta.primary, .cta.secondary, button, .main-nav a, .mobile-nav a {
    transition: background 0.18s, color 0.18s, box-shadow 0.25s, border-color 0.18s;
  }
  ul.feature-grid > li, .card, .testimonial-card {
    transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
  }
}

/* =============
   UTILITIES
   ============= */
.hide {
  display: none !important;
}

/* ============================
   COOKIE CONSENT BANNER & MODAL
   ============================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1B3556;
  color: #fff;
  box-shadow: 0 -3px 19px rgba(27,53,86,0.15);
  z-index: 2500;
  padding: 22px 12px 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.00rem;
  border-radius: 30px;
  padding: 8px 22px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
  color: #fff;
  background-color: #444;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #FFD469;
  color: #1B3556;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fffbe6;
  color: #181818;
}
.cookie-btn.reject {
  background: #fff;
  color: #181818;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fcc;
  color: #222;
}
.cookie-btn.settings {
  background: #1B3556;
  color: #fff;
  border: 2px solid #FFD469;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #1B3556;
}

@media (max-width: 520px) {
  .cookie-consent-banner {
    padding: 18px 2vw 19px 2vw;
  }
  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,53,86,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 14px;
  max-width: 380px;
  width: 94vw;
  padding: 28px 25px 28px 25px;
  box-shadow: 0 8px 56px rgba(27,53,86,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal h2 {
  color: #1B3556;
  font-size: 1.28rem;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #111;
  user-select: none;
}
.cookie-category input[type="checkbox"] {
  accent-color: #1B3556;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #555;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 26px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.5rem;
  color: #181818;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3010;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #e44;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 17px 7px;
    max-width: 95vw;
  }
  .cookie-modal h2 {
    font-size: 1.06rem;
  }
}

/* ===============
   MEDIA QUERIES
   =============== */
@media (max-width: 600px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .footer-brand img { height: 21px; }
}

/* =======================
   END OF CSS STYLESHEET
   ======================= */
