/* Melody Crest Consulting - Creative Artistic CSS Style
   - Vibrant colors, artistic fonts, creative layouts, unique elements
   - Brand Colors: #1B263B (primary), #22A39F (secondary), #F9F9F9 (accent)
   - Fonts: 'Merriweather' (display), 'Roboto' (body)
   - Flexbox only! Mobile-first responsive
*/

/* === 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,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,main,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,main,menu,nav,section {
  display: block;
}
body { line-height: 1; }
menu,ol,ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; }
:focus, :active { outline: none; }
*,*:before,*:after { box-sizing: border-box; }

/* === ROOT VARIABLES === */
:root {
  --color-primary: #1B263B;
  --color-secondary: #22A39F;
  --color-accent: #F9F9F9;
  --color-dark: #131c2a;
  --color-highlight: #FDCB58;
  --color-contrast: #fff;
  --color-text: #23272b;
  --shadow-main: 0 4px 24px 0 rgba(34,34,59,0.10);
  --radius-main: 18px;
  --radius-card: 16px;
  --transition-main: 0.3s cubic-bezier(.6,.2,.2,1);
  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === GLOBAL STYLES === */
body {
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em; /* Artistic feel */
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.5rem; font-weight: 700; margin: 24px 0 12px; }

p, ul, li, a { font-family: var(--font-body); font-size: 1rem; }
p { margin-bottom: 16px; }

strong { color: var(--color-secondary); font-weight: 700; }
em { font-style: italic; color: var(--color-primary); }

/* === CONTAINERS & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-main);
  background: var(--color-accent);
  box-shadow: var(--shadow-main);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-contrast);
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  position: relative;
  min-width: 250px;
  flex: 1 1 280px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(34,34,59,0.13);
  transform: translateY(-3px) scale(1.01) rotate(-1.5deg);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  background: #fff;
  color: #1B263B;
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 15px 0 rgba(27,38,59,0.06);
  font-size: 1.08rem;
  position: relative;
  transition: box-shadow var(--transition-main), border-color var(--transition-main);
}
.testimonial-card:hover {
  border-color: var(--color-highlight);
  box-shadow: 0 8px 28px 0 rgba(34,34,59,0.11);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(102deg, var(--color-secondary) 93%, var(--color-highlight) 100%);
  color: var(--color-primary);
  padding: 56px 0 40px 0;
  border-bottom-left-radius: 48px 32px;
  border-bottom-right-radius: 48px 32px;
  box-shadow: 0 8px 40px 0 rgba(34,163,159,0.09);
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-shadow: 2px 5px 0 #fdcb58, 4px 2px 0 #fffad1;
}
.hero p {
  color: var(--color-dark);
  font-size: 1.14rem;
  max-width: 540px;
}

/* === NAVIGATION AND HEADER === */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 2px solid #efefef;
  box-shadow: 0 1px 8px 0 rgba(34,38,59,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  background: none;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 6px 12px;
  position: relative;
  transition: color var(--transition-main), background var(--transition-main), box-shadow var(--transition-main);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(34,163,159,0.10);
  box-shadow: 0 2px 16px 0 rgba(34,163,159,0.14);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-highlight);
  color: var(--color-primary);
  border: none;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.025em;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 2px 24px 0 rgba(34,163,159,0.10);
  transition: background var(--transition-main), box-shadow var(--transition-main), color var(--transition-main);
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(34,163,159,0.22),0 4px 12px 0 rgba(253,203,88,0.09);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  margin-left: 12px;
  border: none;
  z-index: 62;
  position: relative;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,38,59,0.94);
  color: #fff;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.66,.07,.49,.96), opacity 0.2s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.0rem;
  align-self: flex-end;
  margin: 22px 26px 8px 0;
  z-index: 1004;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 32px 32px 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  background: rgba( 34,163,159, 0.13 );
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 8px;
  text-align: left;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* Show/hide main nav depending on screen */
@media (max-width: 991px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav, .cta-btn {
    display: flex;
  }
}

/* === CTA SECTIONS === */
.cta, .cta-newsletter, .faq-cta, .contact-cta, .thank-you {
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-main);
  margin: 38px 0 54px 0;
  box-shadow: 0 2px 22px 0 rgba(253,203,88,0.08);
  padding: 42px 24px;
}
.cta-btn + .cta-btn {
  margin-left: 12px;
}

/* === FEATURES + SERVICES === */
.features {
  background: var(--color-accent);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-main);
}
.features ul, .services ul, .services-list ul, .industry-expertise ul, .blog-articles ul, .faq-section ul, .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 8px;
  margin-bottom: 24px;
  padding-left: 18px;
}
.features li:before, .services-list li:before, .industry-expertise li:before, .blog-articles li:before, .faq-section li:before, .text-section li:before {
  content: '\2726';  /* Sparkle unicode */
  color: var(--color-secondary);
  font-size: 1.15em;
  margin-right: 8px;
  display: inline-block;
  font-family: var(--font-display);
  vertical-align: middle;
}
.features li, .services-list li, .industry-expertise li, .blog-articles li, .faq-section li, .text-section li {
  color: var(--color-primary);
  font-size: 1.08rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

.services ul {
  margin-bottom: 30px;
}

/* === BLOG/INSIGHTS === */
.blog-articles ul {
  margin-bottom: 16px;
}
.blog-articles li {
  background: #f4fafb;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 11px;
  border-left: 3px solid var(--color-secondary);
  box-shadow: 0 1px 4px 0 rgba(34, 163, 159, 0.1);
}

/* === TEAM & ABOUT === */
.team, .about {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === FAQ === */
.faq-section {
  margin-bottom: 60px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion h3 {
  cursor: pointer;
  color: var(--color-secondary);
  background: #f3fdfa;
  border-radius: 8px;
  padding: 12px 12px 8px 16px;
  margin: 0;
  font-size: 1.1em;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.faq-accordion h3:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.faq-accordion .text-section {
  padding: 8px 0 16px 16px;
}

/* === LEGAL (Datenschutz, Nutzungsbedingungen, etc.) === */
.legal {
  background: #f4fafb;
  border-radius: var(--radius-main);
  margin: 36px 0 54px;
  box-shadow: 0 2px 14px 0 rgba(27,38,59,0.04);
  padding: 36px 22px;
}
.legal h1, .legal h2 {
  color: var(--color-secondary);
}
.legal .text-section ul {
  margin-left: 6px;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 2px solid #efefef;
  padding: 40px 0 24px 0;
  margin-top: 40px;
  box-shadow: 0 -1px 10px 0 rgba(27,38,59,0.02);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img {
  height: 48px; width: auto; margin-right: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: 52px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 3px 6px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #23272b;
  font-size: 0.97em;
}
.footer-contact a {
  color: var(--color-secondary);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #253150;
  color: #fff;
  box-shadow: 0 -2px 24px 0 rgba(34,163,159,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 16px 16px;
  z-index: 1100;
  font-size: 1rem;
  animation: cookieban-in 0.6s cubic-bezier(.48,.02,.12,.98);
}
@keyframes cookieban-in {
  0% { opacity: 0; transform: translateY(70px); }
  80% { transform: translateY(-9px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .button-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner button {
  border-radius: 24px;
  border: none;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  padding: 10px 18px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 14px 0 rgba(34,163,159,0.12);
  margin-bottom: 4px;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-highlight);
  border: 1.5px solid var(--color-highlight);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 410px;
  background: #f9fafd;
  color: var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(27,38,59,.18);
  padding: 32px 24px 28px 24px;
  z-index: 1200;
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  animation: cookie-modal-in 0.38s cubic-bezier(.88,.07,.49,.98);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translate(-50%,-39%) scale(0.9); }
  90% { transform: translate(-50%,-51%) scale(1.03); }
  100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  margin-bottom: 14px;
  font-size: 1.2em;
  font-family: var(--font-display);
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .toggle {
  width: 42px;
  height: 24px;
  background: #e6eeed;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 12px;
}
.cookie-modal .toggle input {
  opacity: 0;
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  cursor: pointer;
}
.cookie-modal .toggle .slider {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: left 0.23s, background 0.17s;
}
.cookie-modal .toggle input:not(:checked) + .slider {
  background: #888a99;
  left: 2px;
}
.cookie-modal .toggle input:checked + .slider {
  background: var(--color-secondary);
  left: 20px;
}
.cookie-modal .toggle input:disabled + .slider {
  opacity: 0.5;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 16px;
  border: none;
  font-family: var(--font-display);
  font-size: 1.01rem;
  padding: 8px 18px;
  font-weight: 600;
  background: var(--color-secondary);
  color: #fff;
  transition: background 0.16s, color 0.18s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* === ARTISTIC DECORATIVE ELEMENTS === */
.hero:after,
.cta:before,
.cta:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero:after {
  top: 0; right: 0;
  width: 110px; height: 110px;
  background: radial-gradient(circle at 60% 40%, #fdcb58 30%, transparent 80%);
  opacity: 0.23;
  border-radius: 50%;
}
.cta:before {
  left: -18px; bottom: -18px;
  width: 56px; height: 56px;
  background: radial-gradient(circle at 80% 80%, var(--color-secondary) 33%, transparent 90%);
  opacity: 0.18;
  border-radius: 50%;
}
.cta:after {
  right: -24px; top: -34px;
  width: 38px; height: 38px;
  background: radial-gradient(circle at 30% 60%, var(--color-highlight) 40%, transparent 80%);
  opacity: 0.16;
  border-radius: 50%;
}

/* === INTERACTIONS === */
a, button, .cta-btn, .faq-accordion h3 { transition: color 0.19s, background 0.22s, box-shadow 0.21s, transform 0.23s; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
  h1 { font-size: 2.03rem; }
  h2 { font-size: 1.4rem; }
  .container { padding-left: 13px; padding-right: 13px; }
  .section, .features, .legal, .team, .about, .cta, .cta-newsletter, .faq-cta, .contact-cta, .thank-you {
    padding: 28px 8px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav { margin-right: 10px; }
}
@media (max-width: 768px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer img {
    margin: 0 0 16px 0;
    height: 38px;
  }
  .footer-nav, .footer-contact {
    margin-right: 0;
    margin-top: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 16px 12px;
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  .section, .features, .legal, .team, .about, .cta, .cta-newsletter, .faq-cta, .contact-cta, .thank-you {
    padding: 14px 2px;
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .hero {
    border-bottom-left-radius: 22px 12px;
    border-bottom-right-radius: 22px 12px;
    padding: 32px 0 18px 0;
  }
}

/* === PRINT SUPPORT === */
@media print {
  header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cta, .cta-btn, footer, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container, main, section, .content-wrapper, .section { padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
}

/* === END === */
