/* ========================================================
   CSS RESET & NORMALIZATION
   ======================================================== */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #25303B;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ========================================================
   ROOT VARIABLES (with fallbacks)
   ======================================================== */
:root {
  --color-primary: #25303B;
  --color-secondary: #D5B48A;
  --color-accent: #F5F4F1;
  --color-electric-pink: #F521A4;
  --color-electric-blue: #15B2F5;
  --color-electric-lime: #B7F523;
  --color-electric-orange: #FF8638;
  --color-bg: #fff;
  --border-radius: 18px;
  --box-shadow-1: 0 4px 32px rgba(54, 25, 56, 0.13);
  --box-shadow-2: 0 1.5px 6px 0 rgba(37,48,59,0.03);
  --transition: all 0.22s cubic-bezier(.77,0,.18,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ========================================================
   BASE TYPOGRAPHY & BODY STYLE
   ======================================================== */
body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-bg);
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.1px;
  scroll-behavior: smooth;
  /* energetic accent underline for links */
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }

p, li {
  font-size: 1rem;
  margin-bottom: 10px; 
}
strong { font-weight: 700; }
em, i { font-style: italic; }
small { font-size: 0.9rem; color: var(--color-primary); }

/* Link energetic underline */
a {
  color: var(--color-electric-pink);
  transition: color var(--transition);
  position: relative;
  font-weight: 700;
}
a:hover, a:focus {
  color: var(--color-electric-blue);
}
a:not(.cta-btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-electric-pink);
  opacity: 0.3;
  transition: all .15s;
}
a:hover:not(.cta-btn)::after {
  background: var(--color-electric-blue);
  opacity: 0.4;
}

/* ========================================================
   UTILITY CLASSES, CONTAINER, SPACING
   ======================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 992px) {
  .section {
    padding: 60px 0; 
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-1);
  padding: 32px 22px;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 32px 0 var(--color-electric-pink), var(--box-shadow-2);
  transform: translateY(-6px) scale(1.03);
  z-index: 3;
}
/* Content grids (for lists of cards/features) */
.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; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-2);
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #19222b;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  flex: 1;
  margin-bottom: 6px;
  color: #19222b;
}
.testimonial-card strong {
  color: var(--color-electric-pink);
}
.testimonial-card img {
  width: 80px;
  min-width: 50px;
}
.testimonial-card:hover {
  box-shadow: 0 5px 16px 0 var(--color-electric-blue), var(--box-shadow-2);
  transform: translateY(-3px) scale(1.01);
}
/* Feature item utility */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   HERO SECTIONS
   ================================ */
.hero {
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 55px;
  padding: 48px 0 36px 0;
  background: linear-gradient(90deg, var(--color-electric-pink) 0%, var(--color-electric-blue) 40%, var(--color-electric-lime) 85%);
  color: #fff;
  position: relative;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 600px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(37,48,59,0.12);
  font-size: 2.6rem;
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 12px;
  box-shadow: 0 3px 12px 0 var(--color-electric-orange), var(--box-shadow-2);
}

@media (max-width: 600px) {
  .hero {
    padding: 40px 0;
    min-height: 220px;
  }
  .hero h1 { font-size: 1.8rem; }
}


/* ================================
   HEADER & NAV
   ================================ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37,48,59,0.04);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  padding: 8px 13px;
  border-radius: 22px;
  position: relative;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
nav a:hover, nav a:focus {
  color: #fff;
  background: var(--color-electric-pink);
  box-shadow: 0 3px 16px 0 var(--color-electric-pink, #F521A4), var(--box-shadow-2);
  outline: none;
}

/* CTA BUTTON STYLES */
.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 900;
  border: none;
  background: var(--color-electric-blue);
  color: #fff;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 var(--color-electric-blue, #15B2F5), var(--box-shadow-2);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.05em;
}
.cta-btn.primary {
  background: var(--color-electric-pink);
  color: #fff;
  box-shadow: 0 2px 16px 0 var(--color-electric-pink), var(--box-shadow-2);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-electric-orange);
  color: #fff;
  transform: scale(1.07);
  outline: none;
  box-shadow: 0 4px 24px var(--color-electric-orange), var(--box-shadow-2);
}

header .cta-btn {
  margin-left: 12px;
}

/* ================================
   MOBILE MENU (BURGER NAV)
   ================================ */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-electric-pink);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  padding: 2px 13px 0 13px;
  cursor: pointer;
  margin-left: 10px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  z-index: 324;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-electric-blue);
  color: #fff;
  transform: scale(1.1);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 40px 4px #F521A433, 0 1px 10px #25303b0d;
  z-index: 4000;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.21,1.02,.19,.99), opacity 0.2s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 23px;
  background: var(--color-electric-lime);
  color: var(--color-primary);
  font-size: 2.2rem;
  border-radius: 50%;
  border: none;
  z-index: 4101;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px 0 var(--color-electric-pink), var(--box-shadow-2);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-electric-orange);
  color: #fff;
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 86px;
  align-items: center;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  padding: 14px 34px;
  border-radius: 32px;
  margin-bottom: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric-lime);
  color: var(--color-electric-pink);
}
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/* ========================================================
   MAIN & SECTIONS
   ======================================================== */
main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 992px) {
  section {
    padding: 64px 0 48px 0;
    margin-bottom: 78px;
  }
}


/* ========================================================
   FEATURE-GRID (/)
   ======================================================== */
.feature-grid {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 16px;
}
.feature-grid li {
  background: var(--color-accent);
  border-radius: 18px;
  padding: 24px 22px;
  flex: 1 1 240px;
  min-width: 210px;
  box-shadow: 0 1px 10px 0 var(--color-electric-blue, #15B2F5), var(--box-shadow-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid li:hover {
  box-shadow: 0 4px 24px 0 var(--color-electric-pink), var(--box-shadow-2);
  transform: translateY(-6px) scale(1.03);
}
.feature-grid img {
  width: 38px; height: 38px;
  margin-bottom: 2px;
}
.feature-grid h3 { font-size: 1.17rem; color: var(--color-primary); margin-bottom: 4px; }
.feature-grid p { color: #3a4250; font-size: 1rem; }

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li {
    min-width: 150px;
    width: 100%;
  }
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  margin-top: 60px;
  padding: 68px 0 32px 0;
  position: relative;
  z-index: 5;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-brand {
  flex: 0 0 120px;
  margin-right: 30px;
}
.footer-brand img {
  max-height: 52px;
}
.footer-nav, .footer-contact, .footer-social, .footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 160px;
}
.footer-newsletter h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
  margin-bottom: 3px;
}
.footer-newsletter p {
  color: #efe6d6;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 0;
  margin-bottom: 0;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-electric-pink);
  background: #fff;
}
.footer-contact img {
  width: 22px; height: 22px; margin-right: 8px; vertical-align: middle;
}
.footer-social {
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.footer-social a img {
  width: 32px; height: 32px;
  transition: filter var(--transition), transform var(--transition);
  filter: brightness(1.15) saturate(1.53);
}
.footer-social a:hover img {
  filter: brightness(1.3) saturate(2.3) hue-rotate(30deg);
  transform: scale(1.13) rotate(-9deg);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 16px;
  }
}

/* ========================================================
   GENERAL LISTS, TEXT SECTIONS
   ======================================================== */
.text-section ul, .text-section ol, ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}
ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  background: var(--color-electric-lime);
  border-radius: 50%;
}
ol li::before {
  content: counter(item)'.';
  counter-increment: item;
  color: var(--color-electric-orange);
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
}
ol {
  counter-reset: item;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================================================
   ANIMATIONS & TRANSITIONS
   ======================================================== */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .hero, .cta-btn, .testimonial-card, .card {
  animation: fadeInUp 0.5s cubic-bezier(.21,1.02,.19,.99) both;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 768px) {
  body { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .hero h1 { font-size: 1.38rem; }
}
@media (max-width: 600px) {
  .container {
    padding: 0 7px !important;
  }
  .section, section, .hero {
    padding: 30px 4px !important;
    margin-bottom: 36px !important;
  }
}

/* ========================================================
   COOKIE CONSENT BANNER
   ======================================================== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 11110;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -1px 24px 0 var(--color-electric-pink, #F521A4)22;
  padding: 20px 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 1;
  animation: fadeInUp 0.7s both;
  transition: opacity 0.33s, transform 0.33s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%) !important;
}
#cookie-banner .cookie-msg { max-width: 540px; }
#cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 22px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 10px 28px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 6px;
  margin-top: 4px;
  box-shadow: 0 2px 10px 0 var(--color-electric-blue, #15B2F5)55;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn.accept {
  background: var(--color-electric-lime);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-electric-blue);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.93;
  transform: scale(1.07);
  outline: none;
  background: var(--color-electric-orange);
  color: #fff;
}

@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 16px 6px;
    align-items: flex-start;
  }
  #cookie-banner .cookie-btns { margin-left: 0; }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,48,59,0.48);
  z-index: 11115;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal.open {
  display: flex;
  animation: fadeInUp 0.5s;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--border-radius);
  padding: 36px 28px 24px 28px;
  min-width: 315px; max-width: 96vw;
  box-shadow: 0 12px 56px 0 var(--color-electric-pink, #F521A4)23;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInUp 0.4s both;
  position: relative;
}
.cookie-modal-content h2 {
  margin-top: 0; color: var(--color-electric-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-electric-pink);
}
.cookie-category label {
  font-size: 1.1rem; font-weight: 600; font-family: var(--font-display);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
#cookie-modal .close-modal {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.65;
  cursor: pointer;
  transition: color 0.15s, opacity 0.12s;
}
#cookie-modal .close-modal:hover { color: var(--color-electric-pink); opacity: 1; }

@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 22px 5vw 14px 5vw;
    min-width: 0; font-size: 0.95rem;
  }
}

/* ========================================================
   MICRO-INTERACTIONS & UTILITY FX
   ======================================================== */
.card, .testimonial-card, .feature-grid li {
  cursor: pointer;
  will-change: transform;
}
.card:active, .testimonial-card:active {
  transition: 0.12s;
  transform: scale(0.98);
}

/* ========================================================
   ACCESSIBILITY/HIGH CONTRAST ON TESTIMONIALS
   ======================================================== */
.testimonial-card {
  background: #fff;
  color: #222944;
  border: 1.5px solid #ede8dc;
}

/* ========================================================
   PRINT UTILITY
   ======================================================== */
@media print {
  *, *:before, *:after { background: #fff !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  .hero, header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
}

/* END STILSPIEGEL BIELEFELD vibrant_energetic CSS */
