/* WissensWelle Köln – Vibrant Energetic Style CSS */
/*
–––––––––––––––
CSS RESET & NORMALIZE
–––––––––––––––
*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, img, nav, footer, header, section, main, div, a, button {
  font: inherit;
  font-weight: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #2ECAD0;
  outline-offset: 2px;
}

/*
–––––––––––––––
BRAND VARIABLES
–––––––––––––––
*/
:root {
  --color-primary: #173267;
  --color-secondary: #2ECAD0;
  --color-accent: #FCE577;
  --color-bg: #ffffff;
  --color-dark: #101325;
  --color-light: #F8FAFF;
  --color-contrast: #18191a;
  --color-card: #F8FAFF;
  --color-neutral: #ebebeb;
  --color-danger: #fa2f57;

  --font-display: 'Exo', system-ui, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Exo:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-dark);
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/*
–––––––––––––––
TYPOGRAPHY
–––––––––––––––
*/
h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -2px;
  color: var(--color-primary);
  margin-bottom: 18px;
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-primary);
}

p, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.7;
}

strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

/* LINKS */
a {
  color: var(--color-secondary);
  transition: color .16s;
}
a.link {
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: underline;
  transition: color .16s;
}
a:hover, a.link:hover {
  color: var(--color-accent);
}

/*
–––––––––––––––
HEADER & NAVIGATION
–––––––––––––––
*/
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(44, 203, 208, 0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header img {
  max-height: 48px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-primary);
  transition: color .18s;
  padding: 4px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width .25s;
  position: absolute;
  left: 0;
  bottom: -3px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 12px 32px;
  box-shadow: 0 2px 14px rgba(46,202,208,0.18);
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.16s;
  margin-left: 16px;
  display: inline-block;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}

/*
–––––––––––––––
MOBILE NAVIGATION
–––––––––––––––
*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
  margin-left: 16px;
  transition: background .18s, color .18s;
  border: none;
  box-shadow: 0 4px 12px rgba(46,202,208,0.12);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:active {
  background: var(--color-accent);
  color: var(--color-dark);
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 24px rgba(23,50,103, 0.10), 0 0 0 100vw rgba(23,50,103,0.10);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.5,1.7,0.45,0.85), opacity 0.21s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-primary);
  margin: 32px 20px 0 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(250,47,87,0.10);
  transition: background .18s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:active {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
  width: 100%;
  gap: 18px;
  padding-left: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  transition: background .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-bg);
  padding-left: 8px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 12px;
  }
}

/*
–––––––––––––––
HERO SECTION
–––––––––––––––
*/
.hero-section, .kosmos-hero, .tech-hero, .erfindungen-hero, .bio-hero, .thankyou-section {
  background: linear-gradient(90deg, #2ECAD0 0%, #FCE577 100%);
  background-size: 200% 200%;
  animation: heroBGmove 8s linear infinite alternate;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px rgba(47,202,208,0.10);
  margin-bottom: 60px;
  padding-top: 56px;
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  min-height: 340px;
}
@keyframes heroBGmove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 55%; }
}
.hero-section h1, .hero-section h2, .hero-section p,
.kosmos-hero h1, .tech-hero h1, .erfindungen-hero h1, .bio-hero h1, .thankyou-section h1 {
  color: var(--color-primary);
}
.hero-section h1 {
  font-size: 2.85rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -2px;
}
.hero-section h2 {
  color: var(--color-dark);
}
.hero-section p {
  color: var(--color-dark);
}
.hero-section .btn-primary {
  margin-top: 24px;
  font-size: 1.25rem;
}

/*
–––––––––––––––
FLEXBOX UTILS
–––––––––––––––
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(23,50,103,0.10);
  padding: 32px 24px;
  transition: box-shadow .21s, transform .20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(46,202,208,0.15);
  transform: translateY(-2px) scale(1.01);
}
.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;
  background: #fff;
  color: #222;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(23,50,103,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*
–––––––––––––––
FEATURES + CARDS
–––––––––––––––
*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 32px;
}
.feature-card, .usp-card, .highlight, .tab, .timeline-event, .inventor {
  background: var(--color-card);
  border-radius: 18px;
  padding: 28px 20px 24px 20px;
  box-shadow: 0 3px 16px rgba(46,202,208,0.13);
  flex: 1 1 245px;
  min-width: 235px;
  max-width: calc(50% - 14px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .20s;
  margin-bottom: 20px;
}
.feature-card img, .usp-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--color-neutral);
  padding: 8px;
  box-shadow: 0 1.5px 9px rgba(252,229,119,0.07);
}
.feature-card h3, .usp-card h3 {
  margin-bottom: 10px;
  color: var(--color-secondary);
  font-weight: 900;
}
.feature-card:hover, .usp-card:hover, .highlight:hover, .tab:hover, .timeline-event:hover, .inventor:hover {
  box-shadow: 0 10px 28px rgba(252,229,119,0.15);
  transform: translateY(-2px) scale(1.015);
}

/* Content Spacing & Responsive Adjustments */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.feature-grid, .usp-grid, .timeline-grid, .fact-highlights, .inventor-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.usp-card, .highlight, .tab, .timeline-event, .inventor {
  min-width: 220px;
  max-width: 350px;
}
/*
–––––––––––––––
VALUES LIST
–––––––––––––––
*/
.values-section ul,
.about-mission ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.values-section li, .about-mission li {
  display: flex;
  align-items: center;
  font-size: 1.12rem;
  gap: 10px;
  font-weight: 500;
  background: var(--color-light);
  border-radius: 12px;
  padding: 10px 18px 10px 10px;
}
.values-section img {
  width: 32px;
  height: 32px;
}

/*
–––––––––––––––
TIMELINE / HIGHLIGHTS & QNA
–––––––––––––––
*/
.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.timeline-event {
  border-left: 4px solid var(--color-secondary);
  padding-left: 18px;
  background: var(--color-card);
}
.fact-highlights, .quick-facts, .qna-block, .inventor-profiles {
  margin: 30px 0 18px 0;
}
.highlight, .quick-facts {
  border-left: 6px solid var(--color-accent);
  background: var(--color-light);
}
.qna-block {
  background: var(--color-accent);
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(252,229,119,0.06);
}
.quick-facts ul {
  margin: 0; padding: 0 0 0 12px;
}
.quick-facts li {
  font-size: 0.98rem;
  color: var(--color-primary);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-light);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(46,202,208,0.07);
  transition: box-shadow .20s, transform .18s;
}
.faq-item h3 {
  font-size: 1.16rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-item:hover {
  box-shadow: 0 4px 18px rgba(252,229,119,0.12);
  transform: translateY(-2px) scale(1.01);
}

/*
–––––––––––––––
NEWSLETTER + CTA
–––––––––––––––
*/
.newsletter-section, .cta-section {
  background: var(--color-secondary);
  border-radius: 32px;
  color: var(--color-primary);
  box-shadow: 0 2px 14px rgba(46,202,208,0.16);
  margin: 50px 0 60px 0;
  padding: 40px 20px;
  text-align: center;
}
.newsletter-section h2, .cta-section h2 {
  color: var(--color-accent);
}
.newsletter-section p, .cta-section p {
  color: var(--color-dark);
}
.signup-cta {
  margin-top: 20px;
}

/*
–––––––––––––––
FOOTER
–––––––––––––––
*/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 0 0 0 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 16px rgba(23,50,103,0.08);
  margin-top: 80px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 14px 0;
  gap: 16px;
  border-bottom: 1px solid #2ECAD022;
}
.footer-top img {
  width: 44px;
  height: 44px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 26px 0;
  gap: 20px;
}
.contact-snippet {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--color-accent);
  font-size: 0.99rem;
}
.contact-snippet img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.legal-info {
  color: #fff;
  font-size: 0.93rem;
  opacity: 0.8;
}

/*
–––––––––––––––
RESPONSIVE DESIGN
–––––––––––––––
*/
@media (max-width: 1024px) {
  .feature-grid, .timeline-grid, .usp-grid, .fact-highlights, .inventor-profiles {
    gap: 16px;
  }
  footer .footer-top, footer .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .about-snippet .container, .newsletter-section .container, .cta-section .container, .section .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.38rem;
    margin-bottom: 10px;
  }
  .hero-section, .kosmos-hero, .tech-hero, .erfindungen-hero, .bio-hero, .thankyou-section {
    padding: 40px 10px;
    min-height: 175px;
    border-radius: 0 0 26px 26px;
  }
  .feature-grid, .timeline-grid, .usp-grid, .fact-highlights, .inventor-profiles {
    flex-direction: column;
    gap: 18px;
  }
  .feature-card, .usp-card, .highlight, .tab, .timeline-event, .inventor {
    max-width: 100%;
    min-width: 0;
    padding: 18px 12px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-bottom {
    gap: 16px;
    padding: 6px 0 22px 0;
  }
  .newsletter-section, .cta-section {
    padding: 32px 8px;
    border-radius: 20px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/*
–––––––––––––––
FORMS & MAP
–––––––––––––––
*/
.contact-details {
  margin-bottom: 22px;
}
.contact-details p {
  margin-bottom: 8px;
}
.contact-details a {
  color: var(--color-secondary);
  font-weight: 500;
}
.map {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.map img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  background: var(--color-light);
  box-shadow: 0 2px 14px rgba(46,202,208,0.13);
}

/*
–––––––––––––––
COOKIES CONSENT BANNER
–––––––––––––––
*/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-dark);
  color: var(--color-accent);
  padding: 26px 20px 20px 20px;
  z-index: 2000;
  box-shadow: 0 -4px 28px rgba(23,50,103,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  animation: cookie-slide-in .5s;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  color: var(--color-accent);
  margin-bottom: 8px;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-actions button {
  font-family: var(--font-display);
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(46,202,208,0.10);
  cursor: pointer;
  transition: background .16s, color .16s;
}
#cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
#cookie-accept:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}
#cookie-reject {
  background: var(--color-danger);
  color: #fff;
}
#cookie-reject:hover {
  background: #fff;
  color: var(--color-danger);
}
#cookie-settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
#cookie-settings:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal */
#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,50,103,0.34);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: cookie-fadein .25s;
}
@keyframes cookie-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  color: var(--color-dark);
  border-radius: 26px;
  max-width: 390px;
  width: 94vw;
  padding: 38px 26px 28px 26px;
  box-shadow: 0 8px 32px rgba(46,202,208,0.17);
  animation: cookie-modal-in .3s;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
#cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.32rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-light);
  border-radius: 13px;
  padding: 9px 15px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-category .switch input {
  display: none;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-secondary);
  border-radius: 24px;
  transition: .2s;
}
.cookie-category .slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: .2s;
}
.cookie-category input:checked + .slider {
  background: var(--color-primary);
}
.cookie-category input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-category.essential {
  opacity: 0.65;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 18px;
  padding: 8px 17px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(252,229,119,0.10);
  transition: background .16s, color .16s;
}
.cookie-modal-actions button:disabled {
  background: #ebebeb;
  color: #bbb;
  cursor: not-allowed;
}
.cookie-modal-actions button:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 600px) {
  #cookie-modal {
    padding: 24px 8px 16px 8px;
    max-width: 94vw;
  }
  #cookie-banner {
    font-size: 0.98rem;
    padding: 14px 6px 12px 6px;
  }
}

/*
–––––––––––––––
ANIMATIONS (MICRO INTERACTIONS)
–––––––––––––––
*/
.btn-primary,
.feature-card, .usp-card, .highlight, .timeline-event, .inventor, .faq-item, .card {
  transition: box-shadow .23s cubic-bezier(.68,.1,.38,.9), transform .18s;
}
.btn-primary:active {
  transform: scale(0.98);
}

/*
–––––––––––––––
MISC
–––––––––––––––
*/
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-neutral);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

@media (max-width: 480px) {
  .container {
    padding: 0 4px;
  }
  .footer-nav {
    gap: 8px;
  }
}
