/* RESET & BASE STYLES ---------------------------------------------------- */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F5FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233145;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #356085;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7B32B;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid #ede9f3;
  padding: 12px 16px;
}
th {
  background: #f0eefc;
  font-weight: 600;
  color: #283350;
}

/* TYPOGRAPHY -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #21263b;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.13rem; margin-bottom: 8px; }
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #5a5b6d;
  font-size: 1.13rem;
  margin-bottom: 32px;
}
p, li, dd {
  font-size: 1rem;
  color: #354460;
  margin-bottom: 0.7em;
}
strong, b {
  color: #373d4d;
  font-weight: 500;
}

/* CONTAINER & LAYOUT ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section,
.hero, .features, .testimonials, .cta, .about, .team, .services, .pricing, .faq, .contact, .datenschutz, .gdpr, .cookie-policy, .terms, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  background: #ffffffce;
  box-shadow: 0 8px 32px 0 rgba(140, 180, 255, 0.05);
}

/* FLEXBOX UTILS ---------------------------------------------------------- */
.header-flex, .footer-flex { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 18px; box-shadow: 0 4px 20px 0 rgba(120,120,170,0.07); padding: 24px; }
.content-grid, .feature-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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f5f7fd;
  padding: 28px 26px 20px 26px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px 0 rgba(96, 120, 140, 0.10);
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 300px;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* HERO ------------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg,#f8e6df 0%,#e9eefe 100%);
  text-align: center;
  padding-top: 58px;
  padding-bottom: 56px;
  margin-bottom: 60px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 44px 0 rgba(190,200,230,0.12);
}
.hero .content-wrapper {
  align-items: center;
  gap: 16px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #243754;
  font-weight: 800;
}
.hero .cta-btn {
  margin-top: 10px;
}

/* NAVIGATION ------------------------------------------------------------- */
header {
  background: #fff6fc;
  border-bottom: 1.5px solid #f0eefa;
  box-shadow: 0 2px 14px rgba(120,120,170,0.04);
  z-index: 30;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 6px;
  color: #453c63;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.main-nav a.cta-btn {
  background: #f7b32b;
  color: #fff;
  padding: 10px 24px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 8px;
  box-shadow: 0 1px 0 rgba(255,230,183,0.16);
  transition: background 0.22s, color 0.22s,
              transform 0.15s;
}
.main-nav a.cta-btn:hover,
.main-nav a.cta-btn:focus {
  background: #ffda81;
  color: #74520d;
  transform: translateY(-1px) scale(1.025);
}
.main-nav a:hover:not(.cta-btn) {
  background: #f3e9ff;
  color: #5d4f7b;
}

/* MOBILE MENU ------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: #574c75;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 41;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f4e7ff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248,243,255,0.96);
  z-index: 100;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.75,-0.09,.34,1.14), opacity 0.25s;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 44px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #9c7ad6;
  cursor: pointer;
  z-index: 101;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #d496dc;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 30px 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  padding: 12px 0;
  border-radius: 10px;
  color: #2b2e4a;
  font-weight: 600;
  transition: background .18s, color .12s;
}
.mobile-nav a.cta-btn {
  background: #f7b32b;
  color: #fff;
  padding: 13px 22px;
  border-radius: 20px;
  margin-top: 14px;
  box-shadow: 0 1px 0 rgba(255, 230, 183, 0.16);
}
.mobile-nav a.cta-btn:hover,
.mobile-nav a.cta-btn:focus {
  background: #ffda81;
  color: #74520d;
}
.mobile-nav a:hover:not(.cta-btn) {
  background: #f3e9ff;
  color: #6b6c88;
}

/* Hide main nav, show hamburger on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Responsive On Large Screens: Hide. */
@media (min-width: 1021px) {
  .mobile-menu {
    display: none;
  }
}

/* LOGO -------------------------------------------- */
header img, .footer-flex img {
  max-height: 54px;
  width: auto;
}
.footer-flex img {
  max-height: 42px;
  margin-bottom: 12px;
}

/* FEATURES SECTION ------------------------------------------------------- */
.features .feature-grid > div {
  background: #faf7ff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(185,180,215,0.07);
  padding: 22px 18px;
  min-width: 210px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .14s, transform .16s;
}
.features .feature-grid > div:hover {
  box-shadow: 0 6px 22px 0 rgba(184,162,222,0.14);
  transform: translateY(-2px) scale(1.017);
}
.features .feature-grid img {
  height: 38px;
  margin-bottom: 4px;
}

/* TESTIMONIALS ---------------------------------------------------------- */
.testimonials .content-wrapper,
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.stars {
  display: flex;
  gap: 3px;
  align-items: center;
}
.testimonial-card p {
  color: #313a4d;
  font-size: 1.06rem;
  min-height: 48px;
  text-align: center;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #7c67b5;
  font-style: italic;
}
.star_rating {
  margin-top: 24px;
  font-size: 1.03rem;
  color: #705e93;
  text-align: center;
}

/* CTA SECTION ----------------------------------------------------------- */
.cta {
  background: linear-gradient(100deg,#f7e5ff 0%,#cde7ff 100%);
  box-shadow: 0 2px 32px 0 rgba(190,200,230,0.09);
  border-radius: 22px;
  padding: 36px 22px;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 14px;
}

.cta-btn {
  background: #f7b32b;
  color: #fff !important;
  padding: 13px 32px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 1px 10px rgba(222,197,87,0.15);
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.15s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #ffda81;
  color: #74520d !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px 0 rgba(244,220,140,0.18);
  outline: none;
}

/* CARDS & GENERIC COMPONENTS --------------------------------------------- */
.card {
  background: #fffcfe;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(200,150,210,0.05);
  padding: 24px 22px;
}
.card h3 { margin-bottom: 8px; }

/* FAQ/DL ----------------------------------------------------------------- */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #4d4477;
  margin-top: 20px;
  margin-bottom: 6px;
}
dd {
  margin-left: 16px;
  color: #495670;
  margin-bottom: 12px;
}

/* PRICING TABLE --------------------------------------------------------- */
.pricing table {
  border: 1.5px solid #f4edff;
  margin-bottom: 28px;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(186,176,211,0.05);
}
.pricing table th, .pricing table td {
  padding: 13px 18px;
  font-size: 1.01rem;
}
.pricing table tr:nth-child(even) td {
  background: #f8f5fb;
}

/* MAP PLACEHOLDER --------------------------------------------------------- */
.map-placeholder {
  background: #f4f5ff;
  border-radius: 14px;
  padding: 27px 20px 16px 20px;
  margin-top: 16px;
  box-shadow: 0 2px 14px 0 rgba(190,180,220,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  background: #f8f7fc;
  border-top: 1.5px solid #ece3ff;
  margin-top: 64px;
  padding-top: 32px;
  padding-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px rgba(185,180,221,0.04);
}
.footer-flex {
  gap: 44px;
  align-items: flex-start;
}
.brand-contact {
  font-size: 0.98rem;
  color: #5e5e78;
  margin-top: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  margin-top: 6px;
}
.footer-nav a {
  color: #7a679e;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #f7b32b;
}
.social-links {
  display: flex;
  gap: 18px;
  margin: 18px 0 10px 0;
  align-items: center;
}
.social-links img {
  height: 28px;
  width: 28px;
  opacity: 0.83;
  transition: opacity .18s;
  cursor: pointer;
}
.social-links img:hover {
  opacity: 1;
}
.copyright {
  font-size: 0.96rem;
  color: #8e8caa;
  margin-top: 8px;
  text-align: center;
}

/* COOKIE BANNER ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #e4e6fd;
  color: #222444;
  padding: 22px 22px 18px 22px;
  box-shadow: 0 -2px 24px 0 rgba(170,160,200,0.13);
  z-index: 2001;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  border-radius: 30px 30px 0 0;
  max-width: 650px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  min-width: 0;
  animation: cookie-slide-in .4s cubic-bezier(.63,-0.16,.19,1.21);
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(60px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #395e91;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 19px;
  cursor: pointer;
  background: #f3f0fa;
  color: #513e70;
  margin: 0;
  transition: background 0.18s, color 0.17s, transform 0.14s;
}
.cookie-banner button.accept {
  background: #f7b32b;
  color: #fff;
  font-weight: 700;
}
.cookie-banner button.accept:hover {
  background: #ffda81;
  color: #674500;
}
.cookie-banner button.reject {
  background: #e9e1fc;
  color: #9978c4;
  font-weight: 500;
}
.cookie-banner button.reject:hover {
  background: #d0c6ff;
  color: #573f67;
}
.cookie-banner button.settings {
  background: #eaf9fa;
  color: #4997ac;
  font-weight: 500;
}
.cookie-banner button.settings:hover {
  background: #d3eef5;
  color: #284a5b;
}

/* COOKIE MODAL -------------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55, 10, 80, 0.12);
  z-index: 2100;
  transition: opacity 0.15s;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 320px;
  max-width: 97vw;
  width: 410px;
  background: #fff;
  color: #222249;
  border-radius: 18px;
  box-shadow: 0 14px 64px 0 rgba(110,100,170,0.23);
  z-index: 2210;
  padding: 28px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-modal-in .32s cubic-bezier(.62,-0.18,.12,1.1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%,25%) scale(.94); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 { font-size: 1.23rem; font-weight: 700; margin-bottom: 3px; color: #4d4477; }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f5f1fa;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 1.03rem;
}
.cookie-modal .cookie-cat-row .toggle {
  margin-left: auto;
}
.cookie-modal .toggle {
  width: 36px; height: 22px;
  border-radius: 16px;
  background: #ded3f5;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .toggle.enabled {
  background: #f7b32b;
}
.cookie-modal .toggle-switch {
  position: absolute;
  width: 19px; height: 19px;
  top: 1.5px;
  left: 2.5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 5px rgba(46,38,12,0.11);
  transition: left 0.19s cubic-bezier(.7,.2,.36,.9);
}
.cookie-modal .toggle.enabled .toggle-switch {
  left: 14px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal .modal-actions button {
  padding: 7px 20px;
  font-size: 1rem;
}
.cookie-modal .modal-actions button.save {
  background: #f7b32b;
  color: #fff;
}
.cookie-modal .modal-actions button.close {
  background: #eaf9fa;
  color: #4997ac;
}

/* RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding-left: 12px; padding-right: 12px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .features .feature-grid > div,
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .header-flex {
    gap: 12px;
  }
  .main-nav a, .footer-nav a {
    font-size: 1rem;
    padding: 7px 5px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.01rem; }
  .section, .hero, .features, .testimonials, .cta, .about, .team, .services, .pricing, .faq, .contact, .datenschutz, .gdpr, .cookie-policy, .terms, .thank-you {
    padding: 23px 6px 24px 6px;
    margin-bottom: 38px;
    border-radius: 16px;
  }
  .hero {
    padding-top: 34px; padding-bottom: 28px;
    border-radius: 0 0 22px 22px;
  }
  .cta {
    padding: 24px 4vw;
    border-radius: 14px;
  }
  .feature-grid,
  .content-grid,
  .testimonial-slider,
  .footer-flex { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .about .content-wrapper, .team .content-wrapper, .services .content-wrapper,
  .pricing .content-wrapper, .faq .content-wrapper, .contact .content-wrapper {
    gap: 14px;
  }
  .card { padding: 16px 10px; border-radius: 13px; }
  .testimonial-card { padding: 18px 10px 16px 10px; border-radius: 13px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; max-width: 99vw; border-radius: 11px 11px 0 0; padding: 14px 4vw; }
  .cookie-banner .cookie-actions { gap: 8px; flex-wrap: wrap; }
  .cookie-modal { width: 94vw; padding: 16px 7vw 12px 7vw; border-radius: 13px; }
}
@media (max-width: 430px) {
  .container {
    max-width: 100vw;
    padding-left: 2px; padding-right: 2px;
  }
}

/* ANIMATIONS & MICROINTERACTIONS ----------------------------------------- */
.cta-btn, .main-nav a, .mobile-nav a {
  transition: background 0.16s, color 0.15s, box-shadow .14s, transform .12s;
}
.card, .testimonial-card, .features .feature-grid > div {
  transition: box-shadow 0.13s, transform 0.11s;
}
.card:hover, .testimonial-card:hover, .features .feature-grid > div:hover {
  box-shadow: 0 4px 24px 0 rgba(146,139,182,0.11);
  transform: scale(1.018);
  z-index: 3;
}
/* UTILITY CLASSES -------------------------------------------------------- */
.mt-1 { margin-top:8px; } .mt-2{margin-top:16px;}.mt-3{margin-top:24px;}
.mb-1{margin-bottom:8px;}.mb-2{margin-bottom:16px;}.mb-3{margin-bottom:24px;}
.text-center{ text-align:center !important; }

/* PASTEL COLORS [SOFT PASTEL PALETTE EXTENDED] --------------------------- */
:root {
  --amf-blue: #e6edfa;
  --amf-pink: #fde5f5;
  --amf-yellow: #fff2cf;
  --amf-purple: #ecebfa;
  --amf-lilac: #faf6ff;
  --amf-green: #e7fce8;
  --amf-white: #fff;
}

.section, .about, .team, .services, .pricing, .faq, .contact, .datenschutz, .gdpr, .cookie-policy, .terms, .thank-you  {
  background:
    linear-gradient(120deg, var(--amf-pink) 0%, var(--amf-purple) 50%, var(--amf-blue) 100%);
}
footer {
  background: linear-gradient(90deg, #fdf6fd 0%, #f6f4fd 100%);
}
.cta {
  background: linear-gradient(100deg,#f7e5ff 0%,#cde7ff 100%);
}

/* LISTS --------------------------------------------------------------- */
ul {
  list-style-type: disc;
  margin-left: 20px;
}
.team ul, .about ul, .services ul, .pricing ul, .contact ul, .about .text-section ul {
  margin-bottom: 1.7em;
  color: #433b60;
}
.team ul li, .about ul li, .services ul li, .pricing ul li, .contact ul li {
  margin-bottom: 8px;
}
.text-section {
  margin-top: 6px;
}

/* HIGHLIGHTED ELEMENTS ------------------------------------------------- */
strong {
  background: linear-gradient(90deg,#ffeabe 40%,#f5e4ff 90%);
  border-radius: 4px;
  padding: 2px 6px;
}

/* SCROLLBAR COLORS (PASTEL DREAM) --------------------------------------- */
body::-webkit-scrollbar {
  width: 10px;
  background: #f6f4fb;
}
body::-webkit-scrollbar-thumb {
  background: #ebdcff;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #e0d2ff;
}
