/* === 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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F7F9;
  color: #24415C;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul {
  list-style: disc inside;
}
a {
  color: #24415C;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
a:focus {
  outline: 2px solid #BCA55A;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: inline-block;
}
button {
  font-family: inherit;
  font-size: inherit;
}

/* === VARIABLE FALLBACKS=== */
:root {
  --color-primary: #24415C;
  --color-secondary: #BCA55A;
  --color-accent: #F7F7F9;
  --color-electric-1: #0fd2ff;
  --color-electric-2: #f92464;
  --color-electric-3: #ffe800;
  --color-electric-4: #28e04d;
  --color-electric-5: #9C3CF6;
  --radius: 18px;
  --shadow-1: 0 3px 24px rgba(36,65,92,0.08), 0 1.5px 6px rgba(36,65,92,0.08);
  --shadow-2: 0 0.5px 2px rgba(0,0,0,0.10); 
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* === LAYOUT STRUCTURE === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.17s cubic-bezier(.33,1,.68,1), box-shadow 0.17s;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.13;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 6px;
}
.text-section {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.67;
}
.testimonial-card blockquote {
  color: #111 !important;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}
.testimonial-author {
  font-size: 1rem;
  color: #666;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
}
.card h3, .feature h3, .faq-item h3, .step h3 {
  color: var(--color-primary);
  font-size: 1.23rem;
  font-weight: 900;
}
.faq-list .faq-item h3 {
  background: none;
}

/* === CTA BUTTONS === */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,var(--color-secondary) 50%,var(--color-electric-2) 90%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.03rem;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(36,65,92,0.10);
  letter-spacing: 0.03em;
  transition: background 0.19s, box-shadow 0.19s, transform 0.19s;
  cursor: pointer;
  outline: none;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,var(--color-electric-2) 20%,var(--color-secondary) 80%);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px rgba(36,65,92,0.11);
}

/* === HEADER NAV === */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(36,65,92,0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px 0;
  gap: 18px;
}
.logo img {
  max-height: 44px;
  min-width: 120px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 5px 16px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-electric-1);
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  z-index: 120;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  padding: 6px 16px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 150;
  transform: translateX(110vw);
  display: flex;
  flex-direction: column;
  padding: 0 0 40px 0;
  transition: transform 0.33s cubic-bezier(.33,1,.68,1);
  box-shadow: 0 8px 32px rgba(36,65,92,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 12px 0;
  background: none;
  border: none;
  color: var(--color-electric-2);
  font-size: 2.6rem;
  cursor: pointer;
  z-index: 151;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: var(--color-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 20px;
  padding-left: 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 12px;
  transition: background .16s, color .16s;
  width: 96vw;
  max-width: 370px;
  margin-left: -16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric-1);
  color: #fff;
}

/* === HERO === */
.hero {
  padding: 360px 0 120px 0;
  background: linear-gradient(100deg,#f92464 0%,#ffe800 93%,#F7F7F9 100%);
  position: relative;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
  min-height: 340px;
  overflow: hidden;
  box-shadow: 0 18px 56px -36px rgba(244,37,100,0.19);
  animation: heroFadeIn 1s cubic-bezier(.33,1,.68,1);
}
.hero h1 {
  color: #24415C;
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-shadow: 0 2px 24px #ffe80033;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #24415C;
  font-family: var(--font-body);
  font-weight: 600;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === FEATURES & GRID === */
.features {
  background: var(--color-accent);
  border-radius: 26px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 8px 56px -14px #24415c10;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(36,65,92,0.07);
  padding: 28px 18px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .17s, transform .17s, border-color .17s;
  border: 2.5px solid transparent;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 32px rgba(36,65,92,0.13);
  border-color: var(--color-electric-1);
  transform: translateY(-4px) scale(1.018);
}
.feature img {
  width: 47px;
  height: 47px;
  margin-bottom: 10px;
}

/* === STEPPER (Ablauf) === */
.stepper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow .18s, transform .17s, border-color .18s;
  border: 2.5px solid transparent;
  margin-bottom: 20px;
}
.step:hover, .step:focus-within {
  box-shadow: 0 9px 44px rgba(36,65,92,0.17);
  border-color: var(--color-electric-4);
  transform: translateY(-4px) scale(1.025);
}
.step img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

/* === USP & TRUST SIGNS === */
.usp .trust-signs, .trust-signs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0 5px 0;
}
.trust-signs span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-electric-2);
  background: var(--color-accent);
  border-radius: 20px;
  padding: 7px 18px 7px 9px;
  font-family: var(--font-display);
  font-weight: 700;
}
.trust-signs img {
  height: 28px;
  width: 28px;
}

/* === CTA BANNER === */
.cta-banner {
  margin: 70px 0 30px 0;
  background: linear-gradient(90deg, var(--color-electric-1) 8%, var(--color-secondary) 92%);
  border-radius: 34px;
  box-shadow: 0 10px 30px #24415c12;
  padding: 38px 20px;
  text-align: center;
  animation: ctaPulse 2.4s infinite cubic-bezier(.77,0,.18,1);
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 4px 14px 0 #24415c13; }
  60%     { box-shadow: 0 18px 46px 0 #ffe80033; }
}
.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

/* === TESTIMONIALS === */
.testimonials .testimonial-card,
.referenzen .testimonial-card,
.main .testimonial-card {
  background: #fff;
  color: #24415C;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  padding: 20px 24px;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow .16s, transform .14s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 40px #24415c1a;
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  color: #21232d;
  font-weight: 600;
}

/* === FAQ LIST === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}
.faq-item {
  background: #fff;
  box-shadow: var(--shadow-2);
  border-radius: var(--radius);
  padding: 19px 24px 10px 24px;
  transition: box-shadow 0.19s, border-color 0.19s;
  border-left: 5px solid var(--color-electric-2);
}
.faq-item h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.faq-item p {
  color: #35567A;
}

/* === FOOTER === */
footer {
  background: #24415C;
  margin-top: 80px;
  color: #fff;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 0 10px 0;
}
.footer-flex > * {
  flex: 1 1 260px;
  min-width: 180px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.04rem;
  text-decoration: underline;
  transition: color 0.17s;
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--color-electric-1);
  text-decoration: none;
}
.footer-flex .cta-btn {
  background: linear-gradient(90deg, var(--color-electric-1) 10%, var(--color-electric-2) 100%);
  margin-bottom: 0;
  margin-top: 18px;
  color: #fff;
  font-size: 1rem;
}
.footer-note {
  color: #b9d1ea;
  font-size: 0.92rem;
  text-align: center;
  padding: 18px 0 0 0;
  opacity: 0.85;
}
.company-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.99rem;
  color: #F7F7F9;
  margin-bottom: 6px;
}
.company-contact img {
  width: 18px;
  height: 18px;
}

/* === CONTACT INFO === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #24415C;
  font-size: 1rem;
}

/* === TEXT SECTION === */
.text-section ul {
  margin: 14px 0 14px 20px;
  color: #24415C;
  padding-left: 14px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.text-section li {
  margin-bottom: 7px;
  line-height: 1.57;
}
.text-section a {
  color: var(--color-electric-2);
  font-weight: 700;
}
.text-section a:hover {
  text-decoration: underline;
  color: var(--color-secondary);
}

/* === GENERAL SECTION MARGINS/PADDING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #21243a;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px 22px 28px;
  font-size: 1rem;
  box-shadow: 0 -3px 28px #24415c25;
  animation: cookieSlideIn .48s cubic-bezier(.33,1,.68,1);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.cookie-btn.accept {
  background: var(--color-electric-4);
  color: #21243a;
}
.cookie-btn.reject {
  background: var(--color-electric-2);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.14);
  box-shadow: 0 2px 12px #24415c19;
}

/* === COOKIE MODAL === */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,28,38,0.72);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  animation: fadeIn .32s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #24415C;
  border-radius: 26px;
  max-width: 410px;
  min-width: 250px;
  padding: 32px 26px 26px 26px;
  box-shadow: 0 10px 62px #24415c1c;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-electric-4);
  width: 22px; height: 22px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-electric-2);
  cursor: pointer;
  padding: 6px;
  z-index: 2110;
}
.cookie-modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

/* === MEDIA QUERIES === */
@media (max-width: 1100px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding: 34px 0 10px 0;
  }
}
@media (max-width: 900px) {
  .feature-grid, .stepper {
    gap: 18px;
    justify-content: center;
  }
  .feature, .step {
    max-width: 100%;
    min-width: 160px;
    flex: 1 1 160px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section,
  section {
    margin-bottom: 32px;
    padding: 26px 10px;
  }
  .header-flex {
    flex-direction: row;
    gap: 11px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 10px;
  }
  .logo img {
    max-height: 38px;
    min-width: 90px;
  }
  .footer-flex {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 10px 0;
  }
  .trust-signs {
    gap: 10px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features, .usp {
    padding: 26px 10px;
    border-radius: 16px;
  }
  .stepper {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 18px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    min-width: unset;
  }
  .cta-banner {
    border-radius: 13px;
    padding: 25px 5px;
    margin: 30px 0 11px 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.08rem; }
  .hero { padding: 170px 0 50px 0; border-radius: 18px; }
}
@media (max-width: 470px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 19px 6px; font-size: 0.98rem; }
  .cookie-modal-content { min-width: 95vw; padding: 18px 7px 11px 7px; }
}

/* === SMALL HELPER CLASSES === */
.highlight { box-shadow: 0 7px 34px #24415c11; border: 3.5px solid var(--color-secondary); }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; background: #f7f7f9; }
::-webkit-scrollbar-thumb { background: #bca55a; border-radius: 6px; }

/* === ANIMATION/FOCUS STATES === */
a, button, .cta-btn, .cookie-btn, .cookie-modal-close {
  outline: none;
  box-shadow: none;
}
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--color-electric-2);
  outline-offset: 2px;
}

/* === Accessibility: FORCED COLOR MODES === */
@media (forced-colors: active) {
  .cta-btn, .cookie-btn { forced-color-adjust: none; }
  .cta-btn, .cookie-btn { color: ButtonText !important; background: ButtonFace !important; }
}
