/* ------- CSS RESET & BASE ------- */
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, font, 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FAFBFC;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3A4756;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24A19C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #134266;
}
ul, ol {
  list-style: none;
}

/* ------- TYPOGRAPHY ------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #134266;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  color: #45505E;
  margin-bottom: 16px;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ------- HEADER & NAV ------- */
header {
  width: 100%;
  background: linear-gradient(120deg, #F6EBF4 0%, #F3F5F7 100%);
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  position: sticky;
  top: 0;
  z-index: 99;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
  padding: 0 20px;
}
.header-bar img {
  max-height: 46px;
  min-width: 120px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 24px;
  background: none;
  transition: background 0.18s cubic-bezier(0.4,0,0.2,1), color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E4EAF2;
  color: #134266;
}
.main-nav .cta-btn {
  background: linear-gradient(90deg, #98E1C2 0%, #C7DFF9 100%);
  color: #134266;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 28px;
  box-shadow: 0 3px 14px 0 rgba(36,161,156,0.06);
  font-size: 1.06rem;
  margin-left: 8px;
  border: none;
  transition: background 0.18s cubic-bezier(0.4,0,0.2,1), color 0.16s, transform 0.16s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: linear-gradient(90deg,#24A19C 0%,#A2B6DF 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #134266;
  cursor: pointer;
  display: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #E3EAFB;
  outline: none;
}

/* ------- MOBILE MENU ------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 251, 252, 0.986);
  box-shadow: 0 8px 32px 0 rgba(19,66,102,0.19);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #12425F;
  cursor: pointer;
  z-index: 10001;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E3EAFB;
  outline: none;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 32px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.23rem;
  padding: 12px 0;
  color: #134266;
  transition: color 0.19s;
  border-radius: 16px;
  display: block;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #24A19C;
  background: #EFE6F5;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 0.94rem;
    padding: 7px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-bar {
    padding: 0 8px;
    height: 68px;
  }
}

/* ------- HERO SECTION ------- */
.hero {
  background: linear-gradient(100deg, #F3F5F7 70%, #E7F3DD 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 32px 0 rgba(166,229,244,0.12);
  min-height: 270px;
  margin-bottom: 52px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 20px 0;
  gap: 14px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #134266;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.hero p {
  color: #4F5E75;
  font-size: 1.22rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 7px;
}

/* ------- CTA BUTTONS ------- */
.cta-btn {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  background: linear-gradient(90deg,#E0DDFF 0%,#98E1C2 100%);
  color: #134266;
  border: none;
  box-shadow: 0 3px 14px 0 rgba(36,161,156,0.1);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.19s, color 0.17s, transform 0.14s;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #24A19C 0% , #A2B6DF 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ------- FEATURES FLEX CARDS ------- */
.features-section {
  gap: 36px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 rgba(44,62,80,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 26px 28px 26px;
  max-width: 340px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: box-shadow 0.19s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(164,191,221,0.22);
  transform: translateY(-3px) scale(1.02);
}
.feature-card img {
  width: 62px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1.2rem;
  color: #24A19C;
  margin-bottom: 10px;
  margin-top: 0;
  text-align: center;
}
.feature-card p {
  font-size: 1rem;
  color: #42516E;
  text-align: center;
  margin-bottom: 0;
}

.unique-selling-points,
ul.unique-selling-points {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  color: #6E7480;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.unique-selling-points li:before {
  content: '★ ';
  color: #E4B1D3;
  margin-right: 4px;
  font-size: 1.1em;
}

/* ------------- FLEX-BASED CARDS & CONTENT GRIDS -------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(74, 107, 115, 0.10);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
}
.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;
}
.testimonial-card {
  background: #F7ECF8;
  color: #1C2731;
  border-radius: 19px;
  box-shadow: 0 3px 14px 0 rgba(212,177,219,.13);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 30px 22px 30px;
  margin-bottom: 20px;
  font-size: 1.09rem;
  transition: box-shadow 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 26px 0 rgba(190,187,228,.17);
}
.testimonial-meta {
  color: #24A19C;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------- CARDS & INFO FLEX UTILITIES ------- */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 0 14px 0;
}
.footer-contact p {
  color: #6A758B;
  font-size: 0.97rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #134266;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 16px;
  transition: background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E5F0EF;
  color: #24A19C;
}
footer {
  border-top: 1px solid #EBEDF2;
  background: #F3F6FB;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  margin-top: 50px;
  box-shadow: 0 0.5px 9px 0 rgba(70,107,159,.04);
}

/* ------- UL & LISTS ------- */
ul, ol {
  margin-bottom: 16px;
  margin-left: 22px;
  color: #576174;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 9px;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #C7DFF9;
  border-radius: 50%;
  position: relative;
  left: -10px;
  margin-right: 6px;
  top: -2px;
}

/* ------- ABOUT & GENERIC ----- */
.about-preview {
  background: #F9F3FC;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(185,169,232,.06);
}

.datenschutz, .gdpr, .nutzungsbedingungen, .cookie-policy, .thank-you, .kontakt, .resources {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(99,140,172,0.09);
  padding: 36px 18px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ------- CONTACT CTA ------- */
.contact-cta {
  background: linear-gradient(100deg, #F3F5F7 60%, #EEDBF1 100%);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(255,204,228,0.10);
  margin-bottom: 40px;
  padding: 42px 0;
}
.contact-cta h2, .contact-cta p {
  color: #134266;
}
.contact-cta img {
  display: inline;
  width: 23px;
  vertical-align: middle;
  margin-right: 7px;
  margin-left: 2px;
}

/* ------- RESPONSIVE DESIGN ------- */
@media (max-width: 1025px) {
  .feature-card {
    max-width: 48vw;
  }
  .footer-content {
    flex-direction: column;
    gap: 18px;
    padding: 24px 0 8px 0;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 14px;
  }
  .feature-card {
    padding: 18px 7px 15px 7px;
    min-width: 152px;
    max-width: 340px;
  }
}
@media (max-width: 768px) {
  .header-bar img {
    max-height: 36px;
  }
  .hero {
    min-height: 160px;
    margin-bottom: 30px;
    border-radius: 0 0 12px 12px;
  }
  .hero .content-wrapper {
    padding: 18px 0 10px 0;
    gap: 8px;
  }
  .features-grid {
    flex-direction: column;
    gap: 15px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 14px 13px 15px 13px;
    font-size: 1rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 15px;
    padding: 18px 0 8px 0;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  .feature-card {
    padding: 11px 5px 10px 5px;
  }
  .section,
  .contact-cta,
  .about-preview {
    padding: 16px 4px;
  }
  .datenschutz, .gdpr, .nutzungsbedingungen, .cookie-policy, .thank-you, .kontakt, .resources {
    padding: 12px 4px;
  }
}
@media (max-width: 475px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-content {
    padding: 12px 0 6px 0;
  }
}

/* ------- COOKIE CONSENT BANNER ------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 99999;
  background: linear-gradient(90deg, #F6EBF4 0%, #EAF9E7 100%);
  color: #134266;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 -2px 28px 0 rgba(212,177,219,.15);
  padding: 20px 12px 20px 12px;
  gap: 22px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.36s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner p {
  color: #233247;
  font-size: 1.04rem;
  flex: 1 1 220px;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 18px;
  margin: 0;
  border: none;
  border-radius: 18px;
  background: #DEF1F2;
  color: #134266;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.14s;
  font-weight: 600;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg,#98E1C2 0%,#DCECFD 100%);
  color: #134266;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #24A19C;
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner button.reject {
  background: #E6D3F6;
  color: #134266;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #DD3A67;
  color: #fff;
}
.cookie-banner button.settings {
  background: #F7ECF8;
  color: #24A19C;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #24A19C;
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding: 18px 8px 14px 8px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    justify-content: flex-start;
  }
}

/* ------- COOKIE MODAL (PREFERENCES) ------- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 49, 58, 0.45);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s cubic-bezier(0.44,0,0.54,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  padding: 32px 18px 26px 18px;
  border-radius: 19px;
  box-shadow: 0 8px 40px 0 rgba(137,119,188,0.27);
  min-width: 310px;
  max-width: 98vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal h2 {
  color: #24A19C;
  font-size: 1.25rem;
  margin-bottom: 5px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #333849;
  display: flex;
  align-items: center;
}
.cookie-modal input[type=checkbox] {
  margin-right: 9px;
  accent-color: #24A19C;
  width: 18px;
  height: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  padding: 10px 0 7px 0;
  border-bottom: 1px solid #E9EFFD;
}
.cookie-modal .category-desc {
  display: block;
  font-size: 0.97rem;
  color: #676C76;
  padding-left: 24px;
  margin-bottom: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 16px;
  border: none;
  background: #F7ECF8;
  color: #24A19C;
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
  font-weight: 600;
}
.cookie-modal button.save {
  background: #98E1C2;
  color: #12425F;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: #24A19C;
  color: #fff;
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: #E6D3F6;
  color: #134266;
}

/* ------- CUSTOM MICRO-INTERACTIONS & EFFECTS ------- */
.feature-card,
.card,
.about-preview,
.testimonial-card,
.contact-cta,
.section {
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature-card:active, .card:active, .about-preview:active, .testimonial-card:active, .contact-cta:active, .section:active {
  transform: scale(0.98);
}

/* --------- LINKS STYLING --------- */
a:focus {
  outline: 2px dashed #24A19C;
  outline-offset: 1px;
}

/* ----------- UTILITIES ----------- */
.show {
  display: block !important;
}
.hide {
  display: none !important;
}

/* --------- COLOR UTILITIES --------- */
.bg-accent {
  background: #F3F5F7;
}
.text-accent {
  color: #24A19C;
}

/* --------- ICONS --------- */
.text-section img, .feature-card img, .contact-cta img {
  vertical-align: middle;
  height: 1.45em;
  margin-right: 7px;
}

/* --------- SOFT PASTEL THEME ELEMENTS --------- */
body {
  background: linear-gradient(90deg, #F3F5F7 70%, #F6EBF4 100%);
}
.section, .about-preview, .datenschutz, .gdpr, .nutzungsbedingungen, .cookie-policy, .thank-you, .kontakt, .resources {
  box-shadow: 0 3px 18px 0 rgba(246,190,224,0.06);
}

::-webkit-input-placeholder {
  color: #8e99ab;
}
::-moz-placeholder {
  color: #8e99ab;
}
:-ms-input-placeholder {
  color: #8e99ab;
}
::placeholder {
  color: #8e99ab;
}

/* ------- END OF CSS ------- */
