/* =============================================================
   Scandinavian Clean CSS for Leseglück
   Modern, light, inviting, and functional – Flexbox only
   ============================================================= */
/* === CSS Reset (normalize) === */
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: inherit; vertical-align: baseline;
}
html {
  height: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background-color: #FAFAFA;
  color: #263238;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9A825;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
b, strong {
  font-weight: 600;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* === Typography Hierarchy === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  color: #263238;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.15rem;
  font-weight: 400;
}
p, li {
  font-size: 1rem;
  color: #37474F;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #37474F;
  background: transparent;
  border-left: 4px solid #F9A825;
  padding-left: 20px;
  margin-bottom: 10px;
}

/* === Containers and Layout === */
.container {
  width: 96%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 10px;
}
.content-wrapper {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(44,62,80,0.09);
  padding: 36px 24px;
  margin-bottom: 40px;
}
.text-section {
  background: #ECEFF1;
  border-radius: 14px;
  padding: 40px 24px;
  margin-bottom: 32px;
}

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

/* === Main Navigation (Desktop) === */
header {
  background: #FFFFFF;
  border-bottom: 1.5px solid #ECEFF1;
  width: 100%;
  box-shadow: 0 1px 5px rgba(38,50,56,0.03);
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 10px 14px 10px;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263238;
  padding: 2px 2px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover {
  background: #F9A82510;
  color: #F9A825;
}
header .cta-btn {
  margin-left: auto;
}

/* === CTA Button === */
.cta-btn {
  display: inline-block;
  background: #F9A825;
  color: #263238;
  border: none;
  border-radius: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  box-shadow: 0 1px 5px rgba(38,50,56,0.07);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.24s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #263238;
  color: #F9A825;
  box-shadow: 0 5px 20px rgba(38,50,56,0.11);
}

/* === Feature Grid and Items === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 1px 7px rgba(38, 50, 56, 0.07);
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  min-height: 225px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.feature-item img {
  width: 38px; height: 38px;
  margin-bottom: 7px;
}
.feature-item h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  margin-top: 2px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 7px 24px rgba(38,50,56,0.10);
  transform: translateY(-2px) scale(1.011);
}
.feature-price {
  margin-top: 6px;
  font-weight: 700;
  color: #F9A825;
  font-size: 1.12rem;
}

/* === Cards (for services, books, etc) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(38,50,56,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 18px 20px 18px;
  min-width: 210px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 30px rgba(38,50,56,0.12);
  transform: translateY(-4px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}

/* === Testimonials === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFAFA;
  border-radius: 13px;
  box-shadow: 0 1px 12px rgba(38,50,56,0.10);
  border: 1.5px solid #ECEFF1;
  transition: box-shadow 0.15s;
}
.testimonial-card blockquote {
  color: #263238;
  font-size: 1.11rem;
  margin-bottom: 0;
  background: none;
  border-left: 3px solid #F9A825;
  padding-left: 16px;
}
.testimonial-meta {
  font-family: 'Roboto', Arial, sans-serif;
  color: #607D8B;
  font-size: 1rem;
  font-style: normal;
  margin-top: -10px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(38,50,56,0.13);
}


/* === Footer === */
footer {
  background: #FFFFFF;
  border-top: 1.5px solid #ECEFF1;
  box-shadow: 0 -1px 8px rgba(38,50,56,0.04);
  width: 100%;
  margin-top: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 30px;
}
.footer-logo img {
  width: 58px; height: auto;
  margin-bottom: 10px;
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263238;
  margin-top: 10px;
}
.footer-contact address {
  font-style: normal;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.footer-nav a {
  color: #607D8B;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #F9A825;
}


/* === Hamburger Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #263238;
  cursor: pointer;
  margin-left: 8px;
  z-index: 121;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #F9A825;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.064);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(.42,.09,.73,1.01);
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
}
.mobile-nav {
  background: #FFFFFF;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  box-shadow: 7px 0 28px -7px rgba(38,50,56,0.13);
  padding: 32px 28px 22px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(-80vw);
  transition: transform 0.41s cubic-bezier(.42,.09,.73,1.01);
}
.mobile-menu.active .mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #263238;
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 125;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #F9A825;
}
.mobile-nav a {
  color: #263238;
  font-size: 1.14rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9A82513;
  color: #F9A825;
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #ECEFF1;
  color: #263238;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  z-index: 999;
  box-shadow: 0 -2px 18px rgba(38,50,56,0.09);
  border-top: 1.5px solid #B0BEC5;
  font-size: 1rem;
  animation: banner-fadein 0.7s ease;
}
@keyframes banner-fadein { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  padding: 9px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #F9A825;
  color: #263238;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #263238;
  color: #F9A825;
}
.cookie-banner .reject {
  background: #ECEFF1;
  color: #263238;
  border: 1.5px solid #B0BEC5;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F9A825;
  color: #263238;
}
.cookie-banner .settings {
  background: transparent;
  color: #607D8B;
  border: 1.5px solid #B0BEC5;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F9A82520;
  color: #263238;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s cubic-bezier(.42,.09,.73,1.01);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #FFFFFF;
  border-radius: 17px;
  box-shadow: 0 8px 42px rgba(38,50,56,0.19);
  padding: 34px 26px 28px 26px;
  min-width: 340px;
  max-width: 98vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  margin: 0 0 15px 0;
  font-size: 1.25rem;
  color: #263238;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #263238;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #ECEFF1;
  border-radius: 18px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #B0BEC5;
  transition: left 0.19s, background 0.21s;
}
.cookie-toggle input[type='checkbox']:checked + .cookie-slider {
  left: 18px;
  background: #F9A825;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 18px;
  right: 21px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #607D8B;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-content .close-modal:hover {
  color: #263238;
}

/* Utility Classes for Spacing */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Accessibility & Focus states */
a:focus, .cta-btn:focus, .main-nav a:focus, .mobile-nav a:focus, button:focus {
  outline: 2px solid #F9A825;
  outline-offset: 2px;
}

/* === Responsive Layouts === */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .content-wrapper { padding: 30px 11px; }
  .feature-item { min-width: 160px; }
  .footer-logo img { margin-bottom: 3px; }
}
@media (max-width: 820px) {
  .footer-logo { margin-bottom: 10px; }
  .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  h3 {font-size: 1.08rem;}
  .header .container { gap: 13px; }
  .main-nav { display: none;}
  header .cta-btn { display: none;}
  .mobile-menu-toggle { display: block; margin-left: auto; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper, .text-section {
    padding: 20px 5px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cookie-modal-content {
    min-width: 90vw;
    width: 97vw;
    padding: 22px 7px 18px 7px;
  }
}
@media (max-width: 500px) {
  html{ font-size: 15px; }
  .container { width: 100vw; padding: 0; }
  .section { padding: 9vw 3vw; }
  .footer-contact, .footer-nav { font-size: 0.98rem; }
  .mobile-nav { padding: 29px 13px 17px 21px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 14px 5px; font-size: 0.99rem;}
}

/* === Animation and Micro Interactions === */
.cta-btn, .feature-item, .card, .testimonial-card, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.20s cubic-bezier(.65,-0.1,.67,1.1),
    background 0.15s, color 0.15s, transform 0.15s;
}
.card:hover, .feature-item:hover,
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.012);
}

/* === Misc Utility === */
hr {
  border: none;
  border-top: 1px solid #ECEFF1;
  margin: 22px 0;
}

::-webkit-scrollbar {
  background: #ECEFF1;
  width: 10px;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #CFD8DC;
  border-radius: 8px;
}

/* Max Widths for section text */
.content-wrapper p,
.text-section p,
.feature-item p,
.card-content p {
  max-width: 680px;
  margin-bottom: 10px;
}

/* === Prevent Content Overlap === */
.feature-item,
.card,
.testimonial-card,
.section,
.content-wrapper,
.text-section {
  margin-bottom: 20px;
}

/* === Hide mobile menu by default on desktop === */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
    pointer-events: none;
    opacity: 0;
  }
  .main-nav {
    display: flex !important;
  }
  header .cta-btn { display: inline-block !important; }
}

/* === Scandinavian Clean Details === */
::-moz-selection { background: #F9A825; color: #263238; }
::selection { background: #F9A825; color: #263238; }

/* -- End of stylesheet -- */
