/* CSS RESET & BASELINE */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8F6FF;
  color: #293352;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #293352;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #293352;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.17rem; margin-bottom: 12px; }
h4, h5, h6 {
    font-size: 1rem;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
}

blockquote {
  font-style: italic;
  background: #fffefa;
  border-left: 4px solid #F2B134;
  margin: 0 0 24px 0;
  padding: 20px 24px 18px 20px;
  border-radius: 14px;
  color: #22223B;
  box-shadow: 0 2px 8px rgba(41,51,82,0.06);
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote span {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 8px;
  color: #A7A4D9;
  font-size: 0.98em;
}

strong, b {
  font-weight: bold;
  color: #293352;
}

/* BASIC LAYOUTS: FLEXBOX ONLY! */
header {
  background: linear-gradient(90deg, #f9f5fc 10%, #f6f2fa 100%);
  box-shadow: 0 3px 10px 0 rgba(60,56,84,0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 31;
}
.branding {
  padding: 22px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.branding span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  color: #293352;
  letter-spacing: 0.01em;
}
.branding small {
  color: #7A7996;
  font-size: 0.97em;
  margin-top: 5px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.main-nav {
  display: flex;
  gap: 22px;
  padding: 0 20px 20px 20px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #293352;
  background: transparent;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f7eadb;
  color: #F2B134;
}

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #F9E9C7 0%, #f7eadb 100%);
  color: #293352;
  font-weight: 700;
  font-size: 1.1em;
  padding: 12px 26px;
  margin: 14px 20px 20px auto;
  border-radius: 37px;
  box-shadow: 0 2px 10px 0 rgba(251,219,119,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #F2B134;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(242,177,52,0.20);
  border: 2px solid #e0d9e5;
}

header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

@media (min-width: 880px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 0 0 0 0;
  }
  .branding {
    padding-bottom: 0;
  }
  .main-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .cta-btn {
    margin: 0 22px 0 0;
  }
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  font-size: 2em;
  margin-right: 14px;
  margin-left: auto;
  padding: 8px 8px;
  color: #293352;
  z-index: 34;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #efeafd;
}

@media (min-width: 880px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 248, 255, 0.97);
  box-shadow: 0 6px 48px 4px rgba(41,51,82,0.13);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-102vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.86,.01,.34,1), opacity 0.21s cubic-bezier(.9,0,.13,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 28px 6px 0;
  font-size: 2.2em;
  background: none;
  border: none;
  color: #293352;
  cursor: pointer;
  border-radius: 5px;
  padding: 2px 11px;
  transition: background 0.10s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #f1efe7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  padding: 15px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-weight: 700;
  color: #293352;
  font-size: 1.33em;
  padding: 16px 0 7px 0;
  border-bottom: 1px solid #E2DAF4;
  transition: color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2B134;
  background: none;
}

@media (min-width: 880px) {
  .mobile-menu { display: none !important; }
}

/* HIDE NORMAL NAV ON SMALL */
@media (max-width: 879px) {
  .main-nav,
  .cta-btn {
    display: none !important;
  }
}


/* MAIN & SECTIONS */
main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 10px 80px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdfa;
  border-radius: 28px;
  box-shadow: 0 2px 18px 0 rgba(160,136,254,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
@media (max-width: 1000px) {
  main {
    max-width: 100vw;
    padding: 0 0 76px 0;
  }
  section {
    padding: 26px 8px 32px 8px;
    margin-bottom: 36px;
    border-radius: 20px;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #f6f3fc 0%, #faf7ee 100%);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  box-shadow: 0 6px 24px rgba(111,80,230,.07);
}
.hero h1 {
  color: #293352;
  font-size: 2.25rem;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.hero p {
  color: #7A7996;
  font-size: 1.18em;
  margin-bottom: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* FEATURES GRID */
.features, .services {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid, .benefit-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .benefit-grid > div, .service-card {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 10px 0 rgba(164,156,249,0.10);
  padding: 24px 18px;
  min-width: 235px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.21s;
}
.feature-grid > div:hover,
.benefit-grid > div:hover,
.service-card:hover {
  box-shadow: 0 7px 28px 0 rgba(180,149,255,0.12);
  transform: translateY(-4px) scale(1.015);
}
.service-list {
  gap: 24px;
}

/* SERVICE CARD HIGHLIGHT */
.service-card span {
  display: inline-block;
  margin-top: 9px;
  font-weight: 700;
  color: #965ba5;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8eef5;
  border-radius: 6px;
  padding: 5px 11px 3px 11px;
}

/* USP LISTS & QUALITY POINTS */
.usp-list, .quality-points {
  list-style: disc inside;
  padding-left: 8px;
  color: #7A7996;
  font-size: 1.09em;
  margin-top: 7px;
}
.usp-list li, .quality-points li {
  margin-bottom: 7px;
  padding-left: 12px;
}

/* TESTIMONIALS */
.testimonials {
  background: #f9f6ff;
  box-shadow: 0 0px 10px 0 rgba(197,181,255,0.10);
  border: 1px solid #ecebfa;
  border-radius: 32px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.testimonials h2 {
  text-align: left;
  margin-bottom: 27px;
  color: #965ba5;
}
.testimonials blockquote {
  background: #fff;
  margin-bottom: 24px;
  color: #293352;
  border-left: 4px solid #F2B134;
  box-shadow: 0 2px 16px 0 rgba(180,140,255,0.06);
}
.testimonials blockquote span {
  color: #A7A4D9;
  font-weight: 600;
  font-size: 0.98em;
}

/* CONTACT/ADDRESS SECTIONS */
.contact-cta, .contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: linear-gradient(96deg, #f6f4ff 0%, #ece8ff 100%);
}
.contact-info, .contact-details {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 1px 8px 0 rgba(124, 105, 221, 0.06);
  padding: 18px 27px 14px 27px;
  margin-bottom: 10px;
  color: #664e95;
  font-size: 1.03em;
  font-family: 'Open Sans', Arial, sans-serif;
}

.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #f5f3fa;
  border-radius: 30px;
  box-shadow: 0 2px 17px 0 rgba(180,140,255,0.06);
}

/* LEGAL SECTIONS */
.legal {
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 1px 8px 0 rgba(109,78,190,0.07);
  padding: 36px 22px;
  margin-bottom: 38px;
}


/* FOOTER */
footer {
  background: #f3ecfa;
  padding: 32px 14px 15px 14px;
  border-top: 1px solid #ecebfa;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  gap: 5px;
}
.footer-nav {
  display: flex;
  gap: 27px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 1em;
  color: #876dc8;
  border-radius: 5px;
  padding: 2px 7px 2px 7px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #ece8fe;
  color: #F2B134;
}
footer address {
  font-size: 0.98em;
  color: #6C688B;
  text-align: center;
}

/* FLEXBOX UTILITY CLASSES AS REQUIRED BY SPEC */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px; position: relative;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* BUTTONS & LINKS */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 11px 25px;
  cursor: pointer;
  background: #F2B134;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(251,219,119,0.08);
  margin-top: 0; margin-bottom: 0;
  transition: background 0.17s, color 0.18s, box-shadow 0.19s;
}
button:hover, button:focus, .cta-btn:hover, .cta-btn:focus {
  background: #293352;
  color: #fff;
}

/* ICONS IN FEATURES */
.icon {
  flex-shrink: 0;
  margin-bottom: 7px;
  border-radius: 8px;
  box-shadow: 0 1px 6px 0 rgba(242,177,52,0.09);
}

/* FORMS (if any in the future) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid #e5e4f6;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fafafa;
  box-shadow: 0 1px 3px 0 rgba(124, 114, 175, 0.05);
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2B134;
  background: #fef7e3;
}

/* FAQ (dl, dt, dd) */
.faq dl {
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #804db3;
  background: #f5f1fe;
  padding: 9px 12px;
  border-radius: 7px;
  margin-bottom: 3px;
}
.faq dd {
  font-family: 'Open Sans', Arial, sans-serif;
  margin-left: 18px;
  color: #3b335d;
  background: #f9fafd;
  padding: 8px 11px;
  border-radius: 7px;
  margin-bottom: 8px;
  font-size: 1em;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 900px) {
  .feature-grid > div, .benefit-grid > div, .service-card {
    min-width: 180px;
    flex: 1 1 45%;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  section, .legal {
    padding: 17px 3vw 18px 3vw;
    border-radius: 11px;
  }
  .feature-grid, .benefit-grid, .service-list {
    gap: 17px;
  }
  .feature-grid > div, .benefit-grid > div, .service-card {
    min-width: 93vw;
    flex: 1 1 93vw;
    padding: 13px 12px 13px 12px;
  }
  .card-container, .content-grid {
    gap: 10px;
  }
  .cta-btn {
    padding: 13px 15px;
    min-width: 0;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fffaf1 0%, #f9f8ff 100%);
  box-shadow: 0 -4px 20px 0 rgba(198,194,229,0.12);
  z-index: 1200;
  padding: 27px 10px 25px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  border-radius: 26px 26px 0 0;
  animation: cbfadein 0.7s 0s ease;
}
@keyframes cbfadein {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 55%;
  color: #3b3770;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-banner button {
  background: #F2B134;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 9px 21px;
  font-size: 1em;
  border: none;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(242,177,52,0.13);
  cursor: pointer;
  margin: 0;
  transition: background 0.17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #293352;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 7px 16px 12px;
    font-size: 0.97em;
  }
  .cookie-banner .cookie-actions {
    gap: 11px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(42,38,56,0.3);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  max-width: 94vw;
  min-width: 302px;
  box-shadow: 0 14px 57px 0 rgba(98,82,137,0.19);
  padding: 29px 18px 20px 22px;
  color: #293352;
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-size: 1.04em;
  animation: cbscalein 0.46s cubic-bezier(.73,-0.09,.57,1.9);
  position: relative;
}
@keyframes cbscalein {
  from { transform: scale(0.90) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 7px; right: 13px;
  background: none;
  border: none;
  font-size: 1.6em;
  color: #293352;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #f2ecfd;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #804db3;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f7f6ff;
  border-radius: 12px;
  padding: 11px 12px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-size: 1em;
  color: #38446b;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 1.25em; height: 1.25em;
  accent-color: #F2B134;
  border-radius: 3px;
}
.cookie-category.essential input { display: none; }
.cookie-category.essential label:after {
  content: ' (immer erforderlich)';
  color: #b7a8d7;
  font-size: 0.96em;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 11px;
}
.cookie-modal-actions button {
  padding: 10px 22px;
  font-size: 1em;
  border-radius: 18px;
  background: #F2B134;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal-actions button.save {
  background: #293352;
}
.cookie-modal-actions button.cancel {
  background: #e1defc;
  color: #293352;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  opacity: 0.90;
}

@media (max-width: 430px) {
  .cookie-modal {
    padding: 11px 4vw 11px 4vw;
    min-width: 91vw;
    gap: 13px;
  }
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

/* SOFT PASTEL COLORS & FONT FAMILIES */
body, .feature-grid > div, .contact-info, .service-card, .testimonials, .confirmation, .benefit-grid > div {
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(100deg, #fffdfa 80%, #f9f6ff 100%);
}
.hero, .confirmation, .section, .legal, .testimonials, .services, .about {
  box-shadow: 0 3px 22px 0 rgba(180,149,255,0.07);
}
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.cta-btn, button:not(.mobile-menu-toggle):not(.mobile-menu-close) {
  transition: background 0.18s, color 0.17s, transform 0.15s, box-shadow 0.14s;
}
.cta-btn:active, button:active {
  transform: scale(0.97);
  box-shadow: 0 1px 5px rgba(251,219,119,0.07);
}
.feature-grid > div, .service-card, .benefit-grid > div {
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-grid > div:hover,
.service-card:hover,
.benefit-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(152,123,255,0.16);
  transform: translateY(-3px) scale(1.01);
}
.main-nav a,
.footer-nav a,
.mobile-nav a {
  transition: color 0.14s, background 0.13s;
}

/* OVERRIDES: ENSURE NO GRID/COLUMN PROPERTIES */
/* (NONE USED - FLEXBOX ONLY!) */
