/* CSS 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;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F0F4F8;
  color: #205060;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #205060;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #E7B260;
  outline: none;
}

/* BRAND COLORS */
:root {
  --primary: #205060;
  --secondary: #F0F4F8;
  --accent: #E7B260;
  --vibrant-pink: #ff4281;
  --vibrant-purple: #8d5cff;
  --vibrant-cyan: #24e2e2;
  --vibrant-green: #36e179;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(32,80,96,0.08);
  position: relative;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.13;
  color: var(--vibrant-pink);
  margin-bottom: 12px;
  text-transform: uppercase;
  margin-top: 16px;
  word-break: break-word;
}
h2 {
  font-size: 2rem;
  color: var(--vibrant-purple);
  margin-bottom: 10px;
}
h3 {
  font-size: 1.375rem;
  color: var(--primary);
}
h4, h5, h6 {
  font-size: 1.1rem;
}

.subheadline {
  color: var(--vibrant-cyan);
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 10px;
  margin-top: -6px;
  letter-spacing: .3px;
}
p, li, ul, ol {
  font-size: 1.02rem;
  color: #205060;
}
strong {
  font-weight: 800;
  color: var(--primary);
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.6;
}
ul li::marker, ol li::marker {
  color: var(--accent);
}

.text-section {
  margin-bottom: 24px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* BUTTONS & CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 38px;
  background: var(--vibrant-pink);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.28s, color 0.2s, transform 0.13s;
  box-shadow: 0 4px 12px -2px rgba(141,92,255,0.16);
  text-transform: uppercase;
  outline: none;
}
.cta.primary {
  background: var(--vibrant-pink);
  color: #fff;
}
.cta.secondary {
  background: var(--primary);
  color: #fff;
}
.cta:focus, .cta:hover {
  background: var(--vibrant-purple);
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(36,226,226,0.19);
  transform: translateY(-2px) scale(1.025);
}

button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 32px;
  padding: 10px 26px;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
button:active {
  transform: scale(0.97);
}

/* NAVIGATION */
header {
  background: var(--secondary);
  box-shadow: 0 1px 18px 0 rgba(32,80,96,0.048);
  width: 100%;
  z-index: 200;
}
.main-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 10px 18px 14px;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color 0.17s, background 0.13s;
  color: var(--primary);
  position: relative;
}
.main-nav a.cta {
  margin-left: auto;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  background: var(--vibrant-pink);
  color: #fff;
}
.main-nav img {
  max-height: 40px;
  margin-right: 4px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 14px;
  background: var(--vibrant-pink);
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  z-index: 520;
  cursor: pointer;
  transition: background 0.17s, color 0.12s, transform 0.09s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  background: #fff;
  z-index: 600;
  display: flex;
  flex-direction: column;
  transition: transform 0.33s cubic-bezier(.56,.12,.23,.95);
  box-shadow: -4px 0 32px 0 rgba(32,80,96,0.06);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--vibrant-pink);
  color: #fff;
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 20px 28px 12px 0;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.16s;
  padding: 0 21px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px 24px 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  padding: 9px 0 9px 0;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  width: 100%;
  transition: background 0.12s, color 0.11s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--vibrant-cyan);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
  }
  .main-nav a {
    font-size: 1rem;
    padding: 5px 9px;
  }
}

@media (max-width: 900px) {
  .main-nav a.cta {
    margin-left: 0;
  }
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO, FEATURES, CARDS, GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 18px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(36,226,226,0.08);
  padding: 28px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 5px solid var(--vibrant-cyan);
  position: relative;
  transition: box-shadow 0.16s, border-color 0.17s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 5px 18px 0 rgba(255,66,129,0.18);
  border-color: var(--vibrant-pink);
  z-index: 3;
}
.feature-grid li img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(36,226,226,0.12));
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px 0 rgba(255,66,129,0.08);
  padding: 26px 23px 24px 23px;
  min-width: 210px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 4px solid var(--vibrant-pink);
  transition: box-shadow 0.15s, border-color 0.14s, transform 0.13s;
}
.service-card h3 {
  color: var(--vibrant-purple);
  font-weight: 900;
  font-size: 1.18rem;
}
.service-card .price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--vibrant-green);
  font-weight: 900;
  font-size: 1.11rem;
  margin-bottom: 6px;
  margin-top: 4px;
}
.service-card a {
  margin-top: auto;
  align-self: flex-start;
  font-size: 1rem;
  font-weight: 800;
  color: var(--vibrant-pink);
  background: transparent;
  padding: 6px 2px;
  letter-spacing: 0.2px;
  border-radius: 4px;
  transition: color .16s, background .11s;
}
.service-card a:hover {
  background: var(--vibrant-cyan);
  color: #fff;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 10px 32px 0 rgba(255,66,129,0.17);
  border-color: var(--accent);
  transform: translateY(-5px) scale(1.032);
  z-index: 3;
}

/* CARD container (besonders für thematische Karten) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(32,80,96,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
}

.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;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px 0 rgba(32,80,96,0.09);
  margin-bottom: 20px;
  margin-top: 8px;
  border-left: 6px solid var(--vibrant-green);
  filter: none;
  color: #205060;
  font-size: 1.15rem;
  transition: border-color .18s, box-shadow .16s;
}
.testimonial-card strong {
  color: var(--vibrant-pink);
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #205060;
  font-weight: 600;
  font-size: 1.02rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--vibrant-pink);
  box-shadow: 0 8px 30px 0 rgba(36,226,226,0.13);
}

/* Features & Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FOOTER */
footer {
  margin-top: 70px;
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
}
.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 16px 36px 16px;
}
.footer-logo img {
  max-width: 74px;
  margin-bottom: 18px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 148px;
  margin-bottom: 14px;
}
.footer-nav a, .footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-menu a:hover {
  background: var(--vibrant-pink);
  color: #fff;
}
.footer-contact {
  min-width: 200px;
  font-size: 0.97rem;
  margin-top: 4px;
  background-color: #fff;
}
.footer-contact a {
  color: var(--accent);
  font-weight: 700;
}
.footer-contact a:focus, .footer-contact a:hover {
  text-decoration: underline;
  color: #fff;
}

/* _____________ RESPONSIVE DESIGN _____________ */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
    border-radius: 11px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .service-cards, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 10px;
  }
  .footer-main {
    padding: 0 6vw 32px 6vw;
    gap: 16px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 2vw;
  }
  h1 {
    font-size: 1.28rem;
  }
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--vibrant-cyan);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.16s, box-shadow 0.15s;
  background: #fafcff;
  color: var(--primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vibrant-pink);
  box-shadow: 0 1px 6px 0 var(--vibrant-cyan, #24e2e2, 0.28);
  outline: none;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 98vw;
  max-width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 30px 0 rgba(32,80,96,0.11);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4vw;
  gap: 28px;
  font-size: 1.02rem;
  color: var(--primary);
  animation: cookieSlideIn .65s cubic-bezier(.56,.12,.23,.95);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 450px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner button, .cookie-banner .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 32px;
  padding: 10px 24px;
  background: var(--vibrant-green);
  color: #fff;
  border: none;
  transition: background .16s, color .12s;
  margin-right: 0 !important;
}
.cookie-banner button.accept {
  background: var(--vibrant-pink);
}
.cookie-banner button.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: var(--vibrant-cyan);
  color: var(--primary);
}
.cookie-banner button:focus, .cookie-banner button:hover {
  opacity: .97;
  background: var(--vibrant-purple);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 3vw 18px 4vw;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 11px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 2234;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,80,96,0.13);
  pointer-events: auto;
  transition: opacity 0.22s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px 0 rgba(255,66,129,0.19);
  padding: 30px 36px;
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  animation: modalSlide .33s cubic-bezier(.67,.11,.25,.98);
  position: relative;
}
@keyframes modalSlide {
  0% { transform: translateY(60px) scale(0.94); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--vibrant-pink);
  margin-bottom: 2px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal .cookie-category input[type='checkbox'] {
  width: 23px;
  height: 23px;
  accent-color: var(--vibrant-pink);
}
.cookie-modal .cookie-category .always-on {
  font-size: 0.95rem;
  color: var(--vibrant-green);
  font-weight: 600;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 13px;
  align-items: flex-end;
}
.cookie-modal .close-cookie-modal {
  background: var(--vibrant-pink);
  color: #fff;
  font-size: 1.12rem;
  border-radius: 10px;
  position: absolute;
  right: 18px;
  top: 16px;
  padding: 2px 12px 0 12px;
  min-width: 28px;
  min-height: 28px;
  text-align: center;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: var(--primary);
}

@media (max-width: 540px) {
  .cookie-modal {
    max-width: 95vw;
    padding: 20px 9px 19px 11px;
    border-radius: 9px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .service-card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s, border-color 0.14s;
}
.card:focus-within, .service-card:focus-within, .feature-grid li:focus-within {
  outline: 2px solid var(--vibrant-cyan);
}

/* UTILITIES: SPACING & FLEX */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-12 { margin-top: 12px!important; }
.mt-28 { margin-top: 28px!important; }
.mb-18 { margin-bottom: 18px!important; }
.pb-0 { padding-bottom: 0!important; }

/****** Hide Main Nav & Show Burger on Mobile ******/
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/******* SCROLLBAR for mobile menu & modals *******/
.mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--vibrant-cyan) #ececec;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: var(--vibrant-cyan);
  border-radius: 8px;
}

/* FORMATTED LINKS inside text-section */
.text-section a {
  color: var(--vibrant-pink);
  text-decoration: underline;
  font-weight: 700;
}
.text-section a:hover, .text-section a:focus {
  color: var(--vibrant-purple);
  background: #eef7fa;
}

/**** FOCUS OUTLINE FOR ACCESSIBILITY ******/
*:focus-visible {
  outline: 2.5px solid var(--vibrant-pink);
  outline-offset: 2.5px;
  z-index: 10;
}

/***** Z-INDEX LAYERS for overlays *****/
.mobile-menu { z-index: 600; }
.mobile-menu-toggle { z-index: 520; }
.cookie-banner { z-index: 2222; }
.cookie-modal-backdrop { z-index: 2234; }

/* Hide visually (for accessibility) */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
