/* --- 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;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAFBFF;
  color: #1B3556;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #FAFBFF;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #64A6BD;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #F53E57;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
button {
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}

/* --- BRAND COLORS AS CSS VARS FOR EASY USE --- */
:root {
  --cj-primary: #1B3556;
  --cj-secondary: #64A6BD;
  --cj-accent: #E4E9F2;
  --cj-vibe-pink: #F53E57;
  --cj-vibe-yellow: #FFF23E;
  --cj-vibe-lime: #01E07B;
  --cj-vibe-blue: #1CABE2;
  --cj-text-main: #122142;
  --cj-bg-light: #FAFBFF;
  --cj-bg-lighter: #FFFFFF;
  --cj-shadow: 0 4px 28px rgba(27,53,86,0.11), 0 2px 5px rgba(27,53,86,0.07);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  color: var(--cj-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; font-weight: 600; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}
p, .subheadline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--cj-text-main);
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cj-secondary);
}
strong, b {
  font-weight: 700;
  color: var(--cj-vibe-pink);
}
small {
  font-size: 0.9rem;
  color: var(--cj-secondary);
}

/* --- LAYOUT & FLEXBOX CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--cj-bg-lighter);
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--cj-accent);
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(98,196,252,0.1), 0 3px 9px rgba(27,53,86,0.09);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO, CTA, & FEATURE SECTIONS --- */
.hero, .about-hero, .facts-hero, .contact-hero, .databases-hero, .news-hero,
.thank-you, .section, .cta-section, .team-section, .services-overview, .service-details, .database-overview, .database-explainer, .news-list-section, .research-highlights, .why-us-section, .facts-methodology, .legal-hero {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: linear-gradient(90deg, var(--cj-primary) 0%, var(--cj-vibe-blue) 100%);
  color: #fff;
  border-radius: 20px;
  box-shadow: var(--cj-shadow);
  position: relative;
  overflow: hidden;
}
.hero h1,
.hero .subheadline,
.hero p {
  color: #fff;
}
.hero .button {
  margin-top: 20px;
}
.features {
  background: var(--cj-vibe-yellow);
  border-radius: 18px;
  box-shadow: var(--cj-shadow);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--cj-bg-lighter);
  padding: 28px 20px;
  border-radius: 14px;
  box-shadow: var(--cj-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.14s, box-shadow 0.14s;
}
.feature-grid li:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(245,62,87,0.09);
}
.feature-grid img {
  height: 36px;
  margin-bottom: 16px;
}

/* --- CARDS, NEWS & FACTS GRIDS --- */
.news-teaser-list, .news-article-list,
.research-highlight-cards, .database-card-grid, .faktencheck-list, .services-grid, .service-details .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.news-teaser-list article, .news-article-list article, .research-card, .database-card, .faktencheck-card, .service-card, .testimonial-card {
  background: var(--cj-accent);
  border-radius: 14px;
  box-shadow: var(--cj-shadow);
  padding: 24px 18px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.19s;
  margin-bottom: 20px;
}
.news-teaser-list article:hover, .faktencheck-card:hover, .service-card:hover, .database-card:hover, .research-card:hover {
  box-shadow: 0 8px 24px rgba(245,62,87,0.12);
  transform: translateY(-3px) scale(1.02);
}
.faktencheck-list {
  gap: 24px;
  width: 100%;
}
.faktencheck-card {
  background: var(--cj-vibe-blue);
  color: #fff;
}
.faktencheck-card h3, .faktencheck-card p, .faktencheck-card a {
  color: #fff;
}
.faktencheck-card a {
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 850px) {
  .feature-grid, .news-teaser-list, .news-article-list, .research-highlight-cards, .database-card-grid, .faktencheck-list, .services-grid, .service-details .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
.price-hint {
  margin-top: 18px;
  font-size: 1rem;
  background: var(--cj-vibe-pink);
  color: #fff;
  display: inline-block;
  border-radius: 7px;
  padding: 4px 16px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(27,53,86,0.07);
}

/* --- CTA BUTTONS --- */
.button {
  display: inline-block;
  padding: 14px 34px;
  font-size: 1.0625rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: none;
  outline: none;
  background: var(--cj-vibe-pink);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--cj-shadow);
  transition: transform 0.13s, background 0.13s;
  margin-right: 12px;
  margin-bottom: 8px;
}
.button:active {
  transform: scale(0.96);
}
.button.primary {
  background: var(--cj-vibe-pink);
  color: #fff;
}
.button.secondary {
  background: var(--cj-vibe-lime);
  color: #1B3556;
}
.button.cta {
  background: var(--cj-vibe-yellow);
  color: #122142;
  box-shadow: 0 4px 13px rgba(254,224,32,0.12) !important;
  font-size: 1.12rem;
  border: 2px solid var(--cj-vibe-pink);
}
.button:hover, .button:focus {
  background: var(--cj-primary);
  color: #fff;
  transform: scale(1.06) translateY(-2px) rotate(-0.5deg);
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--cj-vibe-pink);
  color: #fff;
}
.button.cta:hover, .button.cta:focus {
  background: var(--cj-vibe-pink);
  color: #FFF23E;
  border-color: var(--cj-vibe-lime);
}
/* Large primary button for hero */
.hero .button.primary { font-size: 1.23rem; padding: 16px 38px; }

/* --- MAIN HEADER/NAVIGATION --- */
.main-header {
  background: var(--cj-bg-light);
  border-bottom: 2px solid var(--cj-accent);
  min-height: 72px;
  z-index: 50;
  position: sticky;
  top: 0;
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}
.main-header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  color: var(--cj-primary);
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--cj-vibe-blue);
  color: #fff;
}
.button.cta {
  margin-left: auto;
  margin-right: 12px;
  font-size: 1.08rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--cj-vibe-pink);
  background: transparent;
  border: none;
  margin-left: 12px;
  z-index: 151;
}
@media (max-width: 980px) {
  .main-nav, .button.cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 9px 40px rgba(27,53,86,0.24), 0 1.5px 9px rgba(254,223,63,0.06);
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(0.83, 0.12, 0.16, 1.0);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 37px 0 0 28px;
  font-size: 2.5rem;
  color: var(--cj-primary);
  background: none;
  border: none;
  align-self: flex-start;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 230;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--cj-vibe-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 64px 0 0 32px;
  width: 90vw;
  max-width: 350px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 15px 0;
  color: var(--cj-primary);
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--cj-vibe-pink);
  color: #fff;
  padding-left: 12px;
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- CTA + HIGHLIGHT CARDS --- */
.cta-section {
  background: linear-gradient(88deg, var(--cj-vibe-yellow) 10%, var(--cj-vibe-pink) 157%);
  color: var(--cj-primary);
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
  text-align: center;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2, .cta-section p {
  color: var(--cj-primary);
  text-shadow: 0 1px 0 #FFF8E5;
}
.cta-section .button.primary {
  margin-top: 16px;
}
.faktencheck-highlight {
  background: var(--cj-vibe-lime);
  color: var(--cj-primary);
  border-radius: 12px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 3px 16px rgba(1,224,123,0.11);
}
.faktencheck-highlight h4 {
  color: var(--cj-primary);
  margin-bottom: 4px;
}
.faktencheck-highlight ul {
  margin: 0 0 4px 0;
  padding-left: 0;
  list-style: none;
}
.faktencheck-highlight li {
  margin: 0 0 2px 8px;
  font-size: 1rem;
  font-weight: 600;
}
.faktencheck-highlight .button.secondary {
  margin-top: 6px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--cj-accent);
  border-radius: 17px;
  box-shadow: var(--cj-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  text-align: center;
  width: 100%;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
  align-items: flex-start;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #102031;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(100,166,189,0.06);
  padding: 24px 26px;
  min-width: 220px;
  max-width: 430px;
  font-size: 1.05rem;
  margin-bottom: 20px;
  border-left: 5px solid var(--cj-vibe-pink);
  position: relative;
  z-index: 2;
}
.testimonial-card strong {
  color: var(--cj-primary);
}
@media (max-width: 800px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card { max-width: 100%; }
}

/* --- FOOTER --- */
.main-footer {
  background: var(--cj-primary);
  color: #fff;
  padding: 54px 0 32px 0;
  font-size: 1rem;
}
.main-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.main-footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-navigation a {
  color: var(--cj-vibe-yellow);
  font-weight: 700;
  text-decoration: underline;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
}
.footer-navigation a:hover {
  color: var(--cj-vibe-pink);
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand-footer img {
  height: 48px;
}
.brand-footer span {
  color: var(--cj-vibe-yellow);
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
}

/* --- FORMS --- */
input[type="text"], input[type="email"], textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  margin-top: 10px;
  background: #fff;
  border: 2px solid var(--cj-accent);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--cj-primary);
  margin-bottom: 24px;
  transition: border 0.12s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--cj-vibe-pink);
}

/* --- SECTIONS (other) --- */
.services-grid, .service-details .content-wrapper, .database-card-grid, .facts-filter, .news-category-filter, .database-topics-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.service-card, .database-card, .research-card {
  background: var(--cj-bg-lighter);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(100,166,189,0.07);
  padding: 26px 18px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: transform 0.17s, box-shadow 0.17s;
  margin-bottom: 20px;
}
.service-card:hover, .database-card:hover, .research-card:hover {
  box-shadow: 0 6px 18px rgba(100,166,189,0.15);
  transform: scale(1.035) rotate(0.3deg);
  z-index: 2;
}
.services-grid li {
  background: var(--cj-vibe-lime);
  color: #1B3556;
  border-radius: 10px;
  font-weight: 700;
  padding: 20px 14px;
  min-width: 210px;
  transition: background 0.12s;
}
.services-grid li small {
  display: block;
  margin-top: 9px;
  font-weight: 400;
  color: #044e36;
}
.services-grid li strong {
  font-size: 1.14rem;
  color: var(--cj-primary);
}

/* Facts filter/Search */
.facts-filter, .database-topics-filter, .news-category-filter {
  gap: 12px;
  margin-bottom: 16px;
}
.facts-search {
  min-width: 220px;
  background: var(--cj-bg-light);
  border: 2px solid var(--cj-vibe-lime);
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 12px;
  box-sizing: border-box;
  color: var(--cj-primary);
  transition: border 0.11s;
}
.facts-search:focus {
  border-color: var(--cj-vibe-pink);
}

.database-card-grid, .research-highlight-cards, .services-grid {
  margin-bottom: 30px;
}

/* --- LEGAL TEXT, LEGAL HERO --- */
.legal-hero {
  background: linear-gradient(80deg,var(--cj-vibe-blue) 20%, var(--cj-vibe-pink) 80%);
  color: #fff;
  border-radius: 15px;
  margin-bottom: 36px;
}
.legal-hero h1 {
  color: #fff;
  margin: 20px 0 16px 0;
}
.legal-content {
  background: var(--cj-accent);
  border-radius: 13px;
  padding: 32px 20px;
}
.legal-content h2 {
  color: var(--cj-primary);
}
.legal-content .text-section {
  margin-top: 14px;
}
.legal-content h3 {
  color: var(--cj-vibe-pink);
  margin-top: 20px;
}
.legal-content ul {
  margin-left: 18px;
  margin-bottom: 14px;
  list-style: disc;
}

/* --- THANK YOU PAGE --- */
.thank-you {
  background: var(--cj-vibe-lime);
  color: var(--cj-primary);
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
  text-align: center;
}
.thank-you .content-wrapper {
  align-items: center;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: var(--cj-primary);
  color: #fff;
  padding: 24px 16px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 32px rgba(27,53,86,0.17);
  font-size: 1.06rem;
  animation: cookiebanner-slidein 0.6s cubic-bezier(0.76,0.03,0.25,1.06);
}
@keyframes cookiebanner-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-banner .button {
  margin: 0 14px 0 0;
  padding: 10px 24px;
  font-size: 1rem;
  min-width: 110px;
  border-radius: 8px;
  background: var(--cj-vibe-yellow);
  color: #1B3556 !important;
  border: none;
  font-weight: bold;
}
#cookie-banner .button.accept {
  background: var(--cj-vibe-lime);
  color: #1B3556 !important;
}
#cookie-banner .button.reject {
  background: var(--cj-vibe-pink);
  color: #fff !important;
}
#cookie-banner .button.settings {
  background: var(--cj-vibe-blue);
  color: #fff !important;
}
#cookie-banner .button:hover, #cookie-banner .button:focus {
  box-shadow: 0 2px 8px rgba(245,62,87, 0.19);
  background: var(--cj-accent);
  color: var(--cj-primary) !important;
}

/* --- COOKIE SETTINGS MODAL --- */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,53,86,0.60);
  z-index: 4001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodal-fadein 0.35s cubic-bezier(0.76,0.03,0.25,1.06);
}
@keyframes cookiemodal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal .modal-body {
  background: #fff;
  color: var(--cj-primary);
  padding: 32px 30px 26px 30px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 11px 44px rgba(27,53,86,0.28);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
#cookie-modal h2 {
  color: var(--cj-vibe-pink);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.cookie-category-row label {
  flex:1;
  font-size: 1.04rem;
  font-family: 'Open Sans',sans-serif;
  color: var(--cj-primary);
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 14px;
  background: var(--cj-vibe-blue);
  position: relative;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 100%;
  transition: left 0.18s;
  box-shadow: 0 1px 5px rgba(27,53,86,0.09);
}
.cookie-toggle input:checked + .slider {
  left: 20px;
  background: var(--cj-vibe-pink);
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  justify-content: flex-end;
}
#cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--cj-vibe-pink);
  cursor: pointer;
  line-height: 1;
}
#cookie-modal .close-modal:hover {
  color: var(--cj-vibe-blue);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 880px) {
  .main-header .container, .main-footer .content-wrapper, .container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .main-header img, .brand-footer img {
    height: 38px;
  }
  .footer-navigation {
    margin-bottom: 0;
    gap: 13px;
  }
  .brand-footer {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero, .section, .features, .cta-section, .testimonials, .main-footer, .about-hero, .team-section, .why-us-section, .services-overview, .service-details, .trust-signals, .database-overview, .database-explainer, .facts-hero, .facts-grid-section, .facts-methodology, .contact-details, .legal-hero, .legal-content, .thank-you {
    padding: 26px 6px;
    margin-bottom: 38px;
    border-radius: 10px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; }
}
@media (max-width: 480px) {
  .button,
  #cookie-banner .button {
    font-size: 0.95rem;
    padding: 8px 13px;
  }
  .mobile-nav {
    margin: 44px 0 0 12px;
  }
}

/* Hide scrollbars for mobile menu overlay on iOS */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- MICRO-INTERACTIONS --- */
.button, .feature-grid li, .testimonial-card, .card, .service-card, .database-card,
.faktencheck-card, .news-teaser-list article, .facts-filter button {
  transition: box-shadow 0.13s, transform 0.15s, background 0.1s, color 0.1s;
}
.button:focus, .details:focus, .card:focus, .service-card:focus {
  outline: 2px solid var(--cj-vibe-lime);
  outline-offset: 2px;
}

/* --- CUSTOM DECORATIVE ELEMENTS (OPTIONAL) --- */
.hero:after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px; height: 175px;
  background: var(--cj-vibe-yellow);
  opacity: 0.18;
  border-radius: 47% 62% 41% 82% / 67% 41% 51% 77%;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 600px) {
  .hero:after { display: none; }
}

/* --- ACCESSIBILITY ENHANCEMENTS --- */
a:focus { outline: 2px solid var(--cj-vibe-lime); outline-offset: 1px; }
.button:focus { outline: 2px solid var(--cj-vibe-blue); outline-offset: 3px; }

/* --- HIDE NON-ENABLED CATEGORY --- */
.cookie-category-row[data-essential] .cookie-toggle {
  opacity: 0.65;
  cursor: not-allowed;
}

/* --- FLEXBOX STRICT ENFORCEMENT (MANDATORY SPACING) --- */
.section, .card-container, .card, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  margin-bottom: 20px;
  gap: 20px;
}

/* --- PREVENT OVERLAPPING --- */
.card, .service-card, .database-card, .news-teaser-list article, .research-card, .testimonial-card {
  min-height: 70px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

/* --- PRINT STYLES --- */
@media print {
  * { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  header, footer, #cookie-banner, #cookie-modal { display: none !important; }
  a { color: #1B3556 !important; text-decoration: underline; }
}

/* --- END --- */