/* =====================================================================
   Scandinavian Clean Theme for Lively Wheel Schönheit
   Modern, friendly, elegant – built with Flexbox only
====================================================================== */

/***************
 1. 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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer p {
  color: white;
}
html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F7F4EF;
  color: #2C4251;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F7F4EF;
  min-height: 100vh;
  color: #2C4251;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
}
button, a {
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
}
:focus {
  outline: 2px solid #7BC4C4;
  outline-offset: 2px;
}
::-webkit-input-placeholder {
  color: #74858c;
}
::-moz-placeholder {
  color: #74858c;
}
:-ms-input-placeholder {
  color: #74858c;
}
::placeholder {
  color: #74858c;
}

/***************
 2. BRAND TYPOGRAPHY
 ***************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2C4251;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #354451;
  line-height: 1.68;
  margin-bottom: 12px;
}
strong {
  color: #2C4251;
  font-weight: 700;
}
.text-section h2, .text-section h3 {
  margin-top: 1.15em;
}

/***************
 3. LAYOUT CONTAINERS & SPACING
 ***************/
.container {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 5px rgba(44,66,81,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/***************
 4. FLEXBOX PATTERNS – CRITICAL REQUIREMENTS
 ***************/
.card-container,
.features-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  /* gap set above */
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(44,66,81,.06);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  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 32px;
  background: #F7F4EF;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(44,66,81,0.08);
  margin-bottom: 20px;
}
.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(44,66,81,0.07);
  min-width: 180px;
  max-width: 340px;
  flex: 1 1 220px;
}

/***************
 5. HEADER & NAVIGATION
 ***************/
header {
  background: #fff;
  box-shadow: 0 2px 9px rgba(44,66,81,0.09);
  width: 100%;
  z-index: 25;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}
.logo, .logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 55px;
}
.logo img, .logo-footer img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #2C4251;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7F4EF;
  color: #7BC4C4;
}
.cta-btn {
  background: #7BC4C4;
  color: #fff !important;
  border-radius: 99px;
  padding: 8px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  transition: background .22s, box-shadow .22s, color .22s;
  border: none;
  box-shadow: 0 2px 9px rgba(123,196,196,0.10);
  margin-left: 16px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2C4251;
  color: #F7F4EF !important;
  box-shadow: 0 5px 13px rgba(44,66,81,0.10);
}
.mobile-menu-toggle {
  display: none;
  font-size: 1.7rem;
  background: #F7F4EF;
  color: #2C4251;
  border-radius: 8px;
  border: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 30;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #7BC4C4;
  color: #fff;
}

/***************
 6. MOBILE NAVIGATION
 ***************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,66,81,0.94);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.5,.15,.25,1);
  z-index: 50;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  margin: 25px 24px 12px 0;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #7BC4C4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  background: none;
  border-radius: 8px;
  padding: 10px 36px;
  transition: background .12s, color .15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7BC4C4;
  color: #2C4251;
}

/***************
 7. HERO & SECTION BASICS
 ***************/
main {
  width: 100%;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 0;
}
section .container {
  padding: 0 16px;
  width: 100%;
}

/***************
 8. FEATURES & SERVICES
 ***************/
.features-grid {
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.feature img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-bottom: 7px;
}
.feature h3 {
  color: #2C4251;
  font-size: 1.06rem;
}

.services-list {
  list-style: disc inside;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 22px 0;
  padding-left: 8px;  /* leave some padding for icons on mobile */
}
.services-list li {
  color: #354451;
  padding: 8px 0 8px 2px;
  font-size: 1rem;
  line-height: 1.6;
}

/***************
 9. PRICING & TABLES
 ***************/
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 18px;
}
.pricing-table > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 9px;
  padding: 13px 18px;
  box-shadow: 0 1px 6px rgba(44,66,81,0.06);
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.pricing-table span:first-child {
  color: #2C4251;
  font-weight: 600;
}
.pricing-table span:last-child {
  color: #7BC4C4;
  font-weight: 700;
  font-size: 1.11rem;
}
.pricing-notes {
  color: #607080;
  font-size: 0.97rem;
  margin-top: 7px;
}

/***************
 10. TESTIMONIALS
 ***************/
.testimonial-card {
  background: #F7F4EF;
  color: #2C4251;
  border-radius: 16px;
  box-shadow: 0 1px 7px rgba(44,66,81,.10);
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  transition: box-shadow .20s, transform .18s;
  font-size: 1rem;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(123,196,196,0.14);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-rating {
  color: #7BC4C4;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 16px;
  min-width: 60px;
  text-align: left;
}
.testimonial-card strong {
  display: block;
  margin-top: 7px;
  color: #2C4251;
  font-weight: 700;
}
.testimonial-card p {
  margin: 0;
  line-height: 1.6;
  color: #2C4251;
  background: none;
  font-size: 1.01rem;
}

/***************
 11. FOOTER
 ***************/
footer {
  background: #2C4251;
  color: #fff;
  width: 100%;
  padding: 30px 0;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 30px;
}
.logo-footer {
  height: 46px;
  margin-right: 22px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .legal-nav a {
  color: #F7F4EF;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.92;
  transition: color .16s;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav a:focus, .legal-nav a:hover, .legal-nav a:focus {
  color: #7BC4C4;
}
.footer-address {
  color: #B3B6B9;
  font-size: 0.98rem;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a {
  background: #F7F4EF;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s, box-shadow .12s;
}
.footer-social a:hover {
  background: #7BC4C4;
  box-shadow: 0 2px 6px rgba(44,66,81,0.07);
}
.footer-social img {
  height: 20px;
  width: 20px;
  display: block;
}

/***************
 12. MISCELLANEOUS STYLES
 ***************/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.contact-details, .contact-details-short {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  color: #354451;
}

/***************
 13. COOKIE CONSENT BANNER & MODAL
 ***************/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(44,66,81,0.97);
  color: #F7F4EF;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -4px 22px rgba(44,66,81,0.14);
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: center;
  transition: transform .40s cubic-bezier(.6,.18,.45,1), opacity .17s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  border: none;
  border-radius: 99px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #F7F4EF;
  color: #2C4251;
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
  margin-top: 0;
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: #7BC4C4;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2C4251;
  color: #fff;
}
.cookie-btn.reject {
  background: #F7F4EF;
  color: #2C4251;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #C4DEDF;
  color: #2C4251;
}
.cookie-btn.settings {
  background: #fff;
  color: #7BC4C4;
  border: 1px solid #7BC4C4;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #7BC4C4;
  color: #fff;
}
/* Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 150;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,66,81,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #2C4251;
  min-width: 330px;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 7px 33px rgba(44,66,81,0.12);
  padding: 32px 30px 27px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInCookieModal .3s cubic-bezier(.52,.14,.34,1);
}
@keyframes fadeInCookieModal {
  from { transform: scale(.98) translateY(30px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  color: #7BC4C4;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #2C4251;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F7F4EF;
  border-radius: 10px;
  padding: 9px 16px 9px 18px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7BC4C4;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.cookie-category .essential {
  color: #9FA9B1;
  font-style: italic;
  font-size: 0.97em;
}
.cookie-modal .cookie-btn-row {
  gap: 14px;
  margin-top: 7px;
}

/***************
 14. MEDIA QUERIES & RESPONSIVENESS
 ***************/
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
  }
  .features-grid, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .feature, .feature-item {
    min-width: 140px;
    max-width: 99%;
    flex: 1 1 135px;
    padding: 20px 13px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 13px 13px;
  }
  footer .content-wrapper {
    gap: 22px 5vw;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-right: 4px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 20px 4px;
    margin-bottom: 28px;
    border-radius: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 10px 7px;
    min-width: 0;
    width: 100%;
  }
  .content-wrapper,
  .text-section,
  .contact-details, .contact-details-short {
    gap: 15px;
  }
  .footer-social {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.04rem; }
  .container {
    padding: 0 4vw;
  }
  .section {
    padding: 9px 2px;
    margin-bottom: 19px;
    border-radius: 11px;
  }
  .feature, .feature-item {
    padding: 11px 5px;
    min-width: 0;
    max-width: 99vw;
  }
  .testimonial-card {
    padding: 7px 4px;
    font-size: 0.95rem;
    max-width: 98vw;
  }
  .pricing-table > div {
    flex-direction: column;
    gap: 6px;
    padding: 8px 6px;
  }
  .mobile-menu {
    font-size: 1em;
  }
}

/***************
 15. MICRO-INTERACTIONS & TRANSITIONS
 ***************/
.cta-btn, .cookie-btn, .footer-social a, .main-nav a, .mobile-nav a, .card, .feature, .feature-item, .testimonial-card {
  transition: box-shadow .18s, background .18s, color .18s, transform .11s, opacity .08s;
}
.card:hover, .feature:hover, .feature-item:hover {
  box-shadow: 0 10px 30px rgba(44,66,81,0.09);
  transform: translateY(-2px) scale(1.02);
}

/***************
 16. MISC ADJUSTMENTS FOR A11Y
 ***************/
[tabindex="0"]:focus-visible {
  outline: 2px solid #7BC4C4;
  outline-offset: 1.5px;
}

/***************
 17. UTILITIES
 ***************/
.bg-primary { background: #2C4251; color: #fff; }
.bg-accent { background: #F7F4EF; color: #2C4251; }
.bg-secondary { background: #7BC4C4; color: #fff; }
.hide { display: none !important; }

/***************
 18. PRINT CLEANUP
 ***************/
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
}
