/* ===============================
   WISSENWELT KÖLN - STYLE RESET
   & MODERN GRADIENT DESIGN SYSTEM
=================================== */
/* 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, main, header, footer, section, article, aside, nav, figure {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f7fafc;
  color: #222336;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00796B;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
section {
  margin-bottom: 60px !important;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 2. BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  letter-spacing: -0.02em;
  color: #162056;
  font-weight: 800;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }

p, ul, ol, li, span, a, strong, b { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; }
.subheadline { font-size: 1.3125rem; color: #00796B; font-weight: 600; margin-bottom: 24px; }
.text-section {
  max-width: 720px;
  margin: 0 auto;
}

/* 3. GRADIENT MODERN BACKGROUNDS */
.hero-section {
  background: linear-gradient(135deg, #e3eafc 0%, #f5f7fe 100%);
  border-bottom: 1px solid #d1dbf7;
  padding-top: 48px;
  padding-bottom: 48px;
}
.features-section {
  background: linear-gradient(90deg, #fffcd9 0%, #e0f7fa 100%);
}
.about-preview-section {
  background: linear-gradient(87deg, #fffcede2 0%, #dcffe8 100%);
}
.contact-cta-section {
  background: linear-gradient(93deg, #fbe9e7 0%, #fffde7 100%);
}
.callout-section {
  background: linear-gradient(87deg, #e3fbff 0%, #f3ffed 100%);
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(26,35,126,0.04);
  margin-top: 24px;
}
.trust-signals-section {
  background: linear-gradient(110deg, #eceff1 0%, #f7f7fa 100%);
  border-radius: 15px;
  margin-top: 24px;
  box-shadow: 0 1px 4px 0 rgba(26,35,126,0.05);
}

/* 4. HEADER NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(21,31,94,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
  gap: 0;
}
header img {
  max-height: 38px;
}
nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 36px;
}
nav.main-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #162056;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #00796B;
  border-bottom: 2px solid #F9A825;
  background: none;
}
.cta-button {
  background: linear-gradient(87deg, #1A237E 0%, #00796B 100%);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 12px 30px;
  font-size: 1.125rem;
  margin-left: 32px;
  box-shadow: 0 2px 10px 0 rgba(26,35,126,.11);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(87deg, #F9A825 0%, #00796B 100%);
  color: #162056;
  box-shadow: 0 4px 20px 0 rgba(249,168,37,0.11);
  transform: translateY(-2px) scale(1.04);
}

/* 5. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  background: #fff;
  border: none;
  color: #1A237E;
  padding: 8px 10px;
  border-radius: 8px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.19s;
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F9A825;
  color: #162056;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100dvh;
  background: #fff;
  box-shadow: -6px 0 24px 4px rgba(26,35,126,0.13);
  transform: translateX(110%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  z-index: 99;
  padding: 32px 26px 24px 26px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  flex-shrink: 0;
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1A237E;
  margin-bottom: 18px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 12px 0;
  color: #162056;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border 0.22s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #00796B;
  border-bottom: 2px solid #F9A825;
  background: #f7f8fa;
}
@media (max-width: 1000px) {
  nav.main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* 6. HERO & CONTENT LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: space-between;
  margin: 30px 0 0 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(26,35,126,0.04);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px 0 rgba(26,35,126,0.10);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
}
.feature-grid h3 {
  margin-top: 3px;
  color: #00796B;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(26,35,126,0.06);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 28px 2px rgba(26,35,126,0.13);
  transform: translateY(-3px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* 7. TESTIMONIALS */
.testimonials-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 16px 0 rgba(26,35,126,.04);
  margin-top: 38px;
}
.testimonials-section h2 {
  color: #00796B;
}
.testimonials-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #f7fafc;
  border-radius: 13px;
  box-shadow: 0 3px 12px 0 rgba(26,35,126,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 20px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card p {
  color: #222336;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #1A237E;
  font-size: .97rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(26,35,126,0.14);
  transform: translateY(-2px);
}

/* 8. TRUST SIGNALS */
.trust-signals-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
.trust-signals-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #162056;
  min-width: 220px;
  margin-bottom: 10px;
}
.trust-signals-section ul img {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}

/* 9. FOOTER */
footer {
  background: linear-gradient(120deg, #1A237E 0%, #00796B 100%);
  color: #fff;
  padding: 44px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}
.footer-logo img {
  max-height: 42px;
  margin-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1.06rem;
  transition: color 0.2s;
  opacity: 0.94;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9A825;
  opacity: 1;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  opacity: .89;
}
.footer-copy {
  width: 100%;
  margin-top: 20px;
  color: #e8eaf6;
  font-size: 0.98rem;
  font-weight: 400;
  text-align: left;
  opacity: .74;
}

/* 10. BUTTONS & INTERACTIONS */
button, .cta-button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.16s, box-shadow 0.2s, transform 0.11s;
}
button:active, .cta-button:active {
  transform: scale(.98);
}

/* GENERAL SPACING FOR CARDS/LAYOUTS */
.card-container, .content-grid, .features, .feature-grid, .testimonials-section .content-wrapper {
  gap: 24px;
}
.card, .testimonial-card, .feature-grid li {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* 11. RESPONSIVE DESIGN (Mobile-first) */
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
    padding: 0 8px !important;
  }
  nav.main-nav {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .content-wrapper, .feature-grid, .trust-signals-section ul, .card-container, .content-grid, .testimonials-section .content-wrapper, .footer-nav {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .feature-grid li, .testimonial-card {
    min-width: 100% !important;
    max-width: 100% !important;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  footer .container {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .hero-section {
    padding-top: 32px; padding-bottom: 32px;
  }
  .section {
    padding: 32px 6px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: center;
    gap: 18px;
  }
  .card, .testimonial-card, .feature-grid li {
    padding: 18px 14px;
    font-size: 1rem;
  }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .hero-section, .section {
    padding: 20px 0 24px 0;
  }
  .cta-button {
    padding: 11px 16px;
    font-size: 1rem;
    margin-left: 0;
  }
  .mobile-menu {
    max-width: 100vw;
    padding: 22px 10px 12px 18px;
  }
}

/* 12. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fffde7 60%, #e0f7fa 100%);
  color: #162056;
  box-shadow: 0 -4px 14px 0 rgba(26,35,126,0.11);
  padding: 24px 18px 20px 18px;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: slideUpCookie 0.5s cubic-bezier(.48,.6,.3,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(120%); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
.cookie-banner-content {
  max-width: 660px;
  flex: 1 1 70%;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  background: #1A237E;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  transition: background .17s, color .15s, box-shadow .19s;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(26,35,126,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #00796B;
  color: #fffde7;
  box-shadow: 0 3px 14px 0 rgba(26,35,126,.15);
}
.cookie-btn.settings {
  background: #F9A825;
  color: #1A237E;
}
.cookie-btn.settings:hover {
  background: #fffde7;
  color: #00796B;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 6px 12px 6px;
    font-size: .97rem;
  }
  .cookie-banner-buttons {
    gap: 9px;
    flex-direction: column;
  }
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(65,82,127, 0.19);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.25s cubic-bezier(.54,.62,.3,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 9px 50px 0 rgba(26,35,126,0.18);
  max-width: 420px;
  padding: 34px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #1A237E;
  font-size: 1rem;
  position: relative;
  z-index: 2510;
  animation: slideUpCookie 0.37s cubic-bezier(.68,.7,.3,1);
}
.cookie-modal h2 {
  color: #00796B;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #eceff1;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  border: 1px solid #ddd;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #F9A825;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(26,35,126,0.13);
  transition: left 0.15s;
}
.cookie-toggle:checked::before {
  left: 21px;
}
.cookie-category-label {
  color: #1A237E;
  font-weight: 600;
  margin-right: 6px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: #1A237E;
  font-size: 1.42rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.cookie-modal-close:hover {
  opacity: 1;
}

/* 13. ADDITIONAL STYLES & MICRO-ANIMATIONS */
::-webkit-input-placeholder { color: #9eabbf; opacity: 1; }
::-moz-placeholder { color: #9eabbf; opacity: 1; }
:-ms-input-placeholder { color: #9eabbf; opacity: 1; }
::placeholder { color: #9eabbf; opacity: 1; }

a, .cta-button, button, .cookie-btn {
  transition: box-shadow 0.18s, color 0.17s, background 0.23s, border 0.18s, transform 0.11s;
}
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.12s;
}

/* 14. FOCUS & ACCESSIBILITY */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid #F9A825;
  outline-offset: 2px;
}

/* Prevent content overlap */
main > section {
  z-index: 1;
  position: relative;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Utility */
.d-none { display: none !important; }

/* END OF STYLE */
