/* =====================================================
   CSS RESET & BASE TYPOGRAPHY - Mobile First
==================================================== */
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAFB;
  color: #273248;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
input, button, select, textarea {
  font: inherit;
  color: inherit;
  outline: none;
  background: none;
  border: none;
}
a {
  color: #6A6D85;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #273248;
}
ul, ol {
  margin-left: 1.4em;
  margin-top: 12px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}
/* ============================
   BRAND COLOR PALETTE (Soft Pastel)
============================= */
:root {
  --brand-primary: #273248;
  --brand-secondary: #E4AA60;
  --brand-accent: #F5F3EE;
  --brand-rose: #FFE9E6;
  --brand-mint: #D9F6F2;
  --brand-blue: #CEDCF8;
  --brand-lavender: #E5D4F4;
  --brand-pink: #FAD8E7;
  --brand-yellow: #FFFAE6;
  --brand-shadow: rgba(39,50,72,0.05);
  --brand-shadow-strong: rgba(39,50,72,0.12);
}

/* ============================
   TYPOGRAPHY
============================= */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, .hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}
h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 600;
  color: var(--brand-primary);
}
p {
  color: #34415B;
  font-size: 1rem;
  margin-bottom: 0.7em;
}
strong {
  font-weight: 700;
  color: #273248;
}
.hero p {
  font-size: 1.1rem;
  color: #34415B;
}
/* ============================
   CONTAINER & LAYOUTS (FLEXBOX!)
============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
  overflow: visible;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-accent);
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  position: relative;
  min-width: 220px;
 }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--brand-blue);
  color: #273248;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--brand-shadow-strong);
  font-size: 1.05rem;
  flex: 1 1 340px;
  min-width: 260px;
}
.testimonial-card strong {
  color: #273248;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--brand-mint);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 16px;
  min-width: 210px;
  box-shadow: 0 2px 6px var(--brand-shadow);
  transition: box-shadow 0.19s, transform 0.19s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  opacity: 0.92;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 18px var(--brand-shadow-strong);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.newsletter-signup {
  background: var(--brand-rose);
  border-radius: 15px;
  padding: 13px 21px 10px 21px;
  margin-top: 15px;
  box-shadow: 0 1px 4px var(--brand-shadow);
  font-size: 1.05rem;
 }

/* ============================
   HEADER/NAV & CTA BUTTONS
============================= */
header {
  background: linear-gradient(90deg, #FFE9E6 0%, #E5D4F4 100%);
  box-shadow: 0 2px 8px var(--brand-shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #444B6A;
  padding: 6px 0px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #DFE6FB;
  color: var(--brand-primary);
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #E4AA60 30%, #FFD6B2 100%);
  color: #273248;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 1px 6px var(--brand-shadow-strong);
  padding: 10px 26px 11px 26px;
  margin-left: 18px;
  text-align: center;
  transition: background 0.18s, box-shadow 0.2s, color 0.13s, transform 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFD6B2 10%, #E4AA60 90%);
  color: #1A2032;
  box-shadow: 0 2px 16px var(--brand-shadow-strong);
  transform: scale(1.045);
}
.cta-btn.secondary {
  background: linear-gradient(90deg, #E5D4F4 30%, #FFFAE6 100%);
  color: #273248;
  margin-left: 0;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: linear-gradient(90deg, #FFD6B2 10%, #E5D4F4 90%);
  color: #283350;
}

/* ==========================
   HERO SECTION (PASTEL BACKGROUND)
============================= */
.hero {
  background: linear-gradient(108deg, #FFE9E6 0%, #E5D4F4 100%);
  border-radius: 0 0 30px 30px;
  padding: 44px 0 46px 0;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px var(--brand-shadow-strong);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}

/* ============================
   FOOTER
============================= */
footer {
  background: #F5F3EE;
  margin-top: 40px;
  box-shadow: 0 -2px 10px var(--brand-shadow-strong);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: #5A6284;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #777899;
  font-size: 0.98rem;
  border-top: 1px solid #E3E5F0;
  padding: 16px 0 10px 0;
}
.footer-bottom a { color: #888DA3; }
.footer-bottom a:hover { color: var(--brand-secondary); }

/* ============================
   MODULAR SPACING
============================= */
.section {
  box-shadow: none;
  background: none;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ============================
   CARDS
============================= */
.card {
  background: var(--brand-accent);
  border-radius: 20px;
  box-shadow: 0 3px 14px var(--brand-shadow-strong);
  padding: 18px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 18px var(--brand-shadow-strong);
  transform: translateY(-3px) scale(1.03);
}

/* ============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    gap: 14px;
    margin-left: 10px;
  }
  .footer-top {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 52px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 7px;
    padding: 10px 19px;
    font-size: 1rem;
  }
  .hero {
    padding: 30px 0 30px 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 0;
  }
  .section {
    padding: 25px 8px;
  }
  .newsletter-signup { padding: 12px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .container { padding-left: 4px; padding-right: 4px; }
  .cta-btn { font-size: 0.97rem; padding: 8px 11px; }
}

/* ============================
   MOBILE MENU
============================= */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 2.1em;
  cursor: pointer;
  color: #273248;
  padding: 0 10px;
  border-radius: 6px;
  margin-left: 16px;
  transition: background 0.17s;
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5D4F4;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: linear-gradient(108deg, #FFE9E6 0%, #E5D4F4 95%);
  box-shadow: 0 8px 36px rgba(80, 84, 115, 0.13);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 26px 26px 26px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,1.7,.51,.93);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2em;
  color: #273248;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 210;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #E5D4F4; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.22rem;
  color: #2c3352;
  padding: 9px 0;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.17s, color 0.19s;
  margin-bottom: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD6B2;
  color: #834940;
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 230;
  background: linear-gradient(90deg, #FAE8EF 25%, #D9F6F2 100%);
  color: #273248;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 -4px 22px var(--brand-shadow-strong);
  border-radius: 16px 16px 0 0;
  opacity: 1;
  transition: opacity 0.4s ease;
  font-size: 1.04rem;
  min-width: 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 5px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  border-radius: 50px;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  background: #FAD8E7;
  padding: 8px 23px 9px 23px;
  margin: 0 3px;
  color: #273248;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
  box-shadow: 0 1px 8px var(--brand-shadow);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #E4AA60;
  color: #fff;
}
.cookie-banner button:last-child {
  background: #D9F6F2;
  color: #273248;
}
.cookie-banner button:last-child:hover {
  background: #FFE9E6;
  color: #834940;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(45,39,72,0.07);
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: linear-gradient(105deg, #D9F6F2 40%, #FFE9E6 100%);
  border-radius: 22px;
  box-shadow: 0 6px 24px var(--brand-shadow-strong);
  padding: 35px 30px 31px 30px;
  width: min(98vw, 385px);
  color: #273248;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: popInCookie 0.35s .02s cubic-bezier(.48,1.43,.68,.79);
}
@keyframes popInCookie {
  from { transform: scale(0.87); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 13px;
  font-family: 'Merriweather', serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  margin-bottom: 13px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #E4AA60;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  border: 1.5px solid #E4AA60;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #273248;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: #E4AA60;
}

/* ============================
   FORMS (NEWSLETTER, FEEDBACK)
============================= */
input[type='text'], input[type='email'], textarea {
  display: block;
  width: 100%;
  border-radius: 7px;
  padding: 11px 13px;
  border: 1.2px solid #ECE9F1;
  margin-bottom: 9px;
  font-size: 1.04rem;
  background: #F5F3EE;
  transition: border 0.17s;
}
input[type='text']:focus, input[type='email']:focus, textarea:focus {
  border-color: #B9A7E8;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #34415B;
  font-weight: 500;
  margin-bottom: 8px;
}

/* ============================
   MICRO-ANIMATIONS & INTERACTIONS
============================= */
.card,
.feature-item,
.cta-btn,
.testimonial-card,
input,
.cookie-banner button {
  transition: box-shadow 0.14s, background 0.22s, color 0.14s, transform 0.18s;
}
.card:active, .feature-item:active, .cta-btn:active { transform: scale(0.99); }

/* ============================
   MISC
============================= */
::-webkit-input-placeholder { color: #B7BAD8; opacity:1; }
::-moz-placeholder { color: #B7BAD8; opacity:1; }
:-ms-input-placeholder { color: #B7BAD8; opacity:1; }
::placeholder { color: #B7BAD8; opacity:1; }

hr {
  border: none;
  border-top: 1px solid #FAD8E7;
  margin: 22px 0;
}

/* Images with icon class, logo, etc. */
img[alt*='Leseliebe Saar'], img.logo, .footer-top img {
  max-height: 52px;
  width: auto;
}

/* Lists with icons */
li img {
  display: inline-block;
  margin-right: 8px;
  width: 24px;
  vertical-align: middle;
  opacity: 0.92;
  margin-bottom: -3px;
}

/* ============================
   ACCESSIBILITY
============================= */
a, button, input, label {
  outline: none;
}
a:focus, button:focus, input:focus {
  box-shadow: 0 0 0 2px #E4AA60;
  outline: none;
}

/* ============================
   PRINT FRIENDLY
============================= */
@media print {
  header, .main-nav, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
  body { background: #fff !important; }
}
