/*
  Glimmercell Mobilität - Warm Friendly CSS
  Mobile-first, flexbox only, Montserrat & Roboto, warm brand colors
  Layout and visual hierarchy as described
  Interactive elements: mobile menu, cookie consent
*/

/* ===== CSS RESET & BASE ===== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F9F6F3;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
  border: none;
}
a {
  color: #23839B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153161;
  outline: none;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153161;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #153161;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(235, 197, 159, 0.08), 0 1.5px 8px rgba(21, 49, 97, 0.07);
}

/* ====== FLEXBOX UTILITY ===== */
.card-container,
.feature-grid,
.content-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-wrapper, .footer-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.card {
  margin-bottom: 20px; 
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(235, 162, 105, 0.08), 0 1px 3px rgba(21,49,97,0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF8F1;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(235,156,100,0.10);
  margin-bottom: 20px;
}

.feature-grid > div {
  flex: 1 1 260px;
  margin-bottom: 20px;
  background: #FAF3E7;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(235,162,105,0.10);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.20s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px rgba(235,162,105,0.15);
}

.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #FFF;
  border-bottom: 1.5px solid #EFEFEF;
  box-shadow: 0 0.5px 8px rgba(21,49,97,0.04);
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #153161;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FAF3E7;
  color: #23839B;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.85rem;
  color: #23839B;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FAF3E7;
}

.cta.primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  background: #23839B;
  color: #fff !important;
  border: none;
  border-radius: 18px;
  box-shadow: 0 2.5px 14px rgba(21,49,97,0.09);
  transition: background 0.15s, box-shadow 0.20s, transform 0.12s;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #153161;
  color: #fff;
  box-shadow: 0 7px 18px rgba(21,49,97,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAF3E7;
  box-shadow: 0 0 32px rgba(39,22,7,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 9999;
  padding: 20px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.8,.13,.32,1.19);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #23839B;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #153161;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #153161;
  border-radius: 12px;
  padding: 13px 9px 13px 9px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE7CF;
  color: #23839B;
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  width: 100%;
  min-height: 60vh;
  padding-bottom: 50px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 850px;
  width: 100%;
}
.price-info {
  display: inline-block;
  background: #FFE7CF;
  color: #153161;
  font-weight: 700;
  border-radius: 14px;
  padding: 5px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin: 12px 0 16px 0;
}

/* ==== TESTIMONIALS & REVIEW CARDS ==== */
.testimonial-card {
  background: #FFF8F1;
  color: #153161;
  box-shadow: 0 1.5px 8px rgba(235,156,100,0.10);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #222;
}
.testimonial-card footer {
  color: #153161;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.trust-seals {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153161;
  margin-top: 20px;
}
.trust-seals img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFF6E4;
  padding: 4px;
  box-shadow: 0 1px 4px rgba(239,106,8,0.08);
}

/* ===== FOOTER ===== */
footer {
  background: #153161;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 64px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 18px rgba(21,49,97,0.09);
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #FFE7CF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.9;
  border-radius: 8px;
  padding: 7px 10px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #23839B;
  color: #fff;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  font-size: 0.97rem;
  color: #f7e9d6;
  opacity: 0.95;
  margin-bottom: 8px;
}
footer .container {
  padding-bottom: 22px;
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #FFE7CF;
  color: #153161;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 16px rgba(235,156,100,0.13);
  padding: 20px 14px 17px 14px;
  gap: 16px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  max-width: 660px;
  margin: 0 auto;
  transition: transform 0.35s;
}
.cookie-banner button {
  margin-left: 10px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 14px;
  padding: 10px 23px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-left: 5px;
  background: #153161;
  color: #fff;
  transition: background 0.18s, box-shadow 0.10s;
  box-shadow: 0 1.5px 8px rgba(21,49,97,0.11);
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23839B;
  box-shadow: 0 3.5px 15px rgba(21,49,97,0.13);
}
.cookie-btn.reject {
  background: #c05737;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c82e1e;
}
.cookie-btn.settings {
  background: #fff;
  color: #153161;
  border: 1.5px solid #23839B;
}
.cookie-btn.settings:hover {
  background: #FFE7CF;
  color: #23839B;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,49,97, 0.22);
  z-index: 10022;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__dialog {
  background: #fff;
  color: #153161;
  padding: 32px 31px 21px 31px;
  border-radius: 20px;
  box-shadow: 0 3px 24px rgba(21,49,97,0.22);
  max-width: 400px;
  width: 92%;
  font-size: 1.07rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  background: #153161;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal__close:hover {
  background: #23839B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  accent-color: #23839B;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #FFE7CF;
  border: none;
}
.cookie-category input[disabled] {
  opacity: 0.55;
}

/* ===== FORMS (Minimal) ===== */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 16px;
  border: 1.5px solid #E5E5E7;
  border-radius: 10px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F9F6F3;
  color: #153161;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #23839B;
}
label {
  font-weight: 500;
  color: #153161;
  margin-bottom: 5px;
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1000px) {
  .container {
    max-width: 100%;
    padding-left: 12px; padding-right: 12px;
  }
  .section {
    padding: 34px 8px;
    margin-bottom: 45px;
  }
  .footer-main {
    gap: 15px;
  }
  .footer-info {
    gap: 10px 14px;
  }
}
@media (max-width: 768px) {

  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 4px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-left: 6px; padding-right: 6px;
  }
  .container {
    padding-left: 6px; padding-right: 6px;
  }
  .content-wrapper {
    max-width: 100%;
    gap: 17px;
    padding-left: 0; padding-right: 0;
  }
  .section {
    margin-bottom: 33px;
    padding: 24px 3px;
    border-radius: 14px;
  }
  .feature-grid, .card-container, .features, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid > div {
    min-width: 100%;
    border-radius: 10px;
    padding: 18px 9px;
  }
  .testimonials {
    gap: 10px;
  }
  .testimonial-card {
    font-size: 0.97rem;
    border-radius: 10px;
    padding: 13px 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .footer-main, .footer-info {
    flex-direction: column;
    gap: 7px;
  }
  footer .container {
    padding-bottom: 7px;
  }
}

/* Mobile cookie banner width and stacking */
@media (max-width: 535px) {
  .cookie-banner {
    flex-direction: column;
    max-width: 97vw;
    font-size: 0.98rem;
    align-items: stretch;
    gap: 13px;
    border-radius: 14px 14px 0 0;
    padding: 12px 8px 10px 8px;
  }
  .cookie-banner__actions {
    gap: 6px;
    flex-direction: column;
  }
}

/* Cookie modal on mobile */
@media (max-width: 450px) {
  .cookie-modal__dialog {
    padding: 18px 5vw 13px 5vw;
    border-radius: 11px;
    font-size: 0.99rem;
    gap: 12px;
  }
  .cookie-modal__close {
    top: 6px; right: 8px;
    width: 27px; height: 27px;
    font-size: 1.17rem;
  }
}

/* ===== MICROINTERACTIONS ===== */
.cta.primary, .cookie-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.13s, color 0.13s, box-shadow 0.15s, transform 0.11s;
}
.section, .card, .testimonial-card, .feature-grid > div, .cookie-banner, .cookie-modal__dialog {
  transition: box-shadow 0.22s, background 0.16s;
}

/* ===== SELECTION COLOR ===== */
::selection {
  background: #FFE7CF;
  color: #153161;
}

/* ===== CUSTOM SCROLLBAR (Webkit) ===== */
::-webkit-scrollbar {
    width: 10px; border-radius: 6px;
    background: #eee;
}
::-webkit-scrollbar-thumb {
    background: #FFE7CF; border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E5C8A3;
}

/* ===== HELPER CLASSES ===== */
.text-section {
  margin: 12px 0 16px 0;
}

/* ===== PRINT OVERRIDE ===== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}