/* ==========================================================================
   WissensWunder München - style.css | Warm & Friendly Style
   ========================================================================== */

/* -------------------
   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, 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;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F8F8F3;
  color: #42260f;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #2C925B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #0D2A4A; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #152038;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-top: 0; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-top: 0; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; color: #2C925B; margin-bottom: 10px; } 
h5, h6 { font-size: 1rem; }

ul, ol { margin-bottom: 24px; margin-left: 24px; }
ul li, ol li { margin-bottom: 8px; }
strong { color: #0D2A4A; font-weight: 700; }

table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #EEDDC5; padding: 12px; }

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

.content-wrapper {
  width: 100%;
}

/* --------------------------
   Layout Section Spacing
---------------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section, section { padding: 30px 10px; margin-bottom: 40px; }
}

/* --------------------------
   Header & Navigation
---------------------------- */
header {
  background: #fff7ed;
  box-shadow: 0 2px 12px 0 rgba(233,182,125,0.04);
  padding: 0 0;
  position: relative;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}
.logo img { height: 48px; width: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent;
  margin-right: 16px;
  padding: 0;
}
.main-nav a {
  font-size: 1rem;
  color: #0D2A4A;
  font-weight: 500;
  border-radius: 30px;
  padding: 9px 20px;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e9ead1;
  color: #2C925B;
}
.main-nav .primary-cta {
  background: #2C925B;
  color: #fff;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 30px;
  box-shadow: 0 2px 6px 0 rgba(44,146,91,0.07);
  margin-left: 8px;
  transition: background 0.2s, transform 0.22s, box-shadow 0.2s;
}
.main-nav .primary-cta:hover, .main-nav .primary-cta:focus {
  background: #0D2A4A;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 22px 0 rgba(44,146,91,0.18);
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2C925B;
  margin-right: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus { background: #e7efda; box-shadow: 0 0 0 2px #b7eac7; }

@media (max-width: 1024px) {
  .main-nav { gap: 6px; }
  .main-nav a { padding: 8px 9px; font-size: 0.97rem; }
  .main-nav .primary-cta { padding: 9px 15px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 3px; }
  .main-nav .primary-cta { padding: 9px 13px; }
}
@media (max-width: 820px) {
  header { padding-bottom: 0; }
  .logo { padding: 0 12px; }
}

@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .logo { height: 56px; padding: 0 9px; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: 11px;
    z-index: 101;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  z-index: 2100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7EDee;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.7,.33,.27,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0px;
  box-shadow: 4px 0 20px 0 rgba(79,44,17,0.09);
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 4px 0 20px 0 rgba(44,146,91,0.10);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0D2A4A;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #e9ead1; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 24px 24px 32px;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: #0D2A4A;
  font-weight: 600;
  border-radius: 21px;
  padding: 14px 19px 13px;
  margin-bottom: 7px;
  background: #f5e4d1;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2C925B;
  color: #fff;
}

/* Main structure */
main {
  min-height: 75vh;
}

/* --------------------
   Hero Section
--------------------- */
.hero {
  background: linear-gradient(92deg, #fff7ed 88%, #e9ead1 100%);
  padding: 40px 0 48px 0;
  border-bottom: 1.5px solid #e4d3ca;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.hero h1, .hero h2 {
  color: #0D2A4A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  color: #42260f;
  margin-bottom: 21px;
  font-weight: 400;
}
.hero .primary-cta {
  margin-top: 18px;
}
@media (max-width: 600px) {
  .hero {
    padding: 26px 0 31px 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* --------------------
   Features & Grids
--------------------- */
.features .feature-grid,
.features .fact-grid,
.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 11px;
  justify-content: space-between;
}
.features .feature-grid > div,
.features .fact-grid > div,
.team-cards > div {
  background: #fff;
  padding: 28px 23px 18px 23px;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(233,182,125,0.12);
  min-width: 220px;
  flex: 1 1 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 275px;
}
.features .feature-grid img,
.features .fact-grid img {
  margin-bottom: 11px; max-width: 44px;
}
.features .feature-grid h3,
.features .fact-grid h3,
.team-cards h3 {
  margin-bottom: 8px;
  color: #2C925B;
  font-size: 1.12rem;
}
.features .feature-grid p,
.features .fact-grid p,
.team-cards p {
  color: #42260f;
  font-size: 1rem;
}
@media (max-width: 1000px) {
  .features .feature-grid,
  .features .fact-grid,
  .team-cards {
    gap: 16px;
  }
  .features .feature-grid > div, .features .fact-grid > div, .team-cards > div {
    min-width: 180px;
    max-width: 44%;
    flex: 1 1 150px;
    padding: 22px 10px 13px 13px;
  }
}
@media (max-width: 680px) {
  .features .feature-grid,
  .features .fact-grid,
  .team-cards {
    flex-direction: column;
    gap: 18px;
  }
  .features .feature-grid > div,
  .features .fact-grid > div,
  .team-cards > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

.innovation-spotlight, .innovation-profiles, .speaker-highlight {
  background: #e7efda;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(44,146,91,0.07);
  padding: 18px 16px 15px 18px;
  margin-bottom: 18px;
}
/* Features List (ul) */
.features ul, .features ol {
  padding-left: 22px;
  margin-bottom: 17px;
}
.features ul li,
.features ol li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #0D2A4A;
  padding-left: 0;
  position: relative;
}
.features ul li::before {
  content: '\2022';
  color: #2C925B;
  font-size: 1.35rem;
  display: inline-block;
  width: 18px;
  margin-left: -18px;
  vertical-align: bottom;
}

/* Event Calendar, Speaker Highlight */
.event-calendar ul, .speaker-highlight ul {
  padding-left: 16px;
}
.event-calendar li {
  margin-bottom: 8px;
  color: #56452d;
}
.speaker-highlight ul li {
  color: #2C925B;
  font-weight: 500;
}

/* Offer/Service List Styling */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 0;
  margin-bottom: 23px;
}
.services ul li {
  background: #fff;
  border-radius: 15px;
  padding: 17px 21px 15px 21px;
  box-shadow: 0 2px 12px 0 rgba(210,170,110,0.08);
  font-size: 1rem;
  color: #0D2A4A;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services ul li strong {
  color: #2C925B;
}
.services ul li span {
  color: #a17022;
  margin-left: 10px;
  font-weight: 600;
}

/* Card & Cards Container Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(233,182,125,0.10);
  padding: 23px 18px;
  background: #fff;
  position: relative;
}

.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: center;
  gap: 8px;
  padding: 22px 22px 14px 22px;
  margin-bottom: 20px;
  background: #ffe9d8;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(44,146,91,0.09);
  color: #102338;
  font-size: 1.09rem;
  font-style: italic;
  max-width: 550px;
}
.testimonial-card p { color: #0D2A4A; margin-bottom: 11px; }
.testimonial-card span { font-size: 1rem; color: #2C925B; font-style: normal; }

/* Responsive flex directions */
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card { max-width: 100%; }
}

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

/* About, Contact, Legal Sections */
.about, .contact, .legal, .confirmation {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 2px 14px 0 rgba(219,189,164,0.09);
  margin-bottom: 60px;
  padding: 37px 25px 33px 25px;
}
.contact address {
  font-style: normal;
  color: #0D2A4A;
  font-size: 1.09rem;
  line-height: 1.7;
  margin-bottom: 17px;
}
.contact address img {
  height: 19px; width: 19px; margin-bottom: -4px; margin-right: 2px; vertical-align: middle;
}
.contact div { margin-bottom: 8px; }

/* Confirmation thanks page */
.confirmation .primary-cta {
  display: inline-block;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .about, .contact, .legal, .confirmation { padding: 21px 5px 13px 8px; border-radius: 15px; }
}

/* ----------------------
   Buttons & Interactions
----------------------- */
.primary-cta,
button.primary-cta,
input[type="submit"].primary-cta {
  background: #2C925B;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 12px 29px 12px 29px;
  font-size: 1.15rem;
  box-shadow: 0 2px 12px 0 rgba(44,146,91,0.17);
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.19s, transform 0.13s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.02em;
}
.primary-cta:hover, .primary-cta:focus {
  background: #0D2A4A;
  color: #fff !important;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 5px 20px 0 rgba(44,146,91,0.19);
}
.secondary-cta {
  background: #fff3e4;
  color: #2C925B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  border: 2px solid #2C925B;
  padding: 10px 25px;
  margin-top: 15px;
  transition: background 0.2s, color 0.18s, border 0.17s;
  display: inline-block;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #2C925B;
  color: #fff;
  border-color: #0D2A4A;
}

button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* ----------------------
   Footer
----------------------- */
footer {
  background: #fff7ed;
  border-top: 1px solid #e5e5e5;
  padding: 38px 0 10px 0;
  margin-top: 40px;
  font-size: 1rem;
  color: #7d6146;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 110px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo img { height: 54px; }
.footer-newsletter { max-width: 250px; margin-bottom: 12px; }
.footer-newsletter p { font-size: 1rem; color: #0D2A4A; }

.footer-contact p {
  margin-bottom: 9px;
  font-size: 0.99rem;
  color: #7d6146;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C925B;
  font-weight: 500;
  padding: 4px 9px 4px 0;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus { background: #e7efda; color: #0D2A4A; }
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 7px;
}
.footer-social a img {
  height: 33px;
  filter: grayscale(0.2) brightness(0.98);
  transition: filter 0.14s, transform 0.16s;
  border-radius: 50%;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1.14) drop-shadow(0px 1px 12px #2C925B30);
  transform: scale(1.13);
}

@media (max-width: 1024px) {
  footer .container {
    gap: 15px;
  }
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 7px;
    padding: 0 8px;
  }
  .footer-newsletter, .footer-logo, .footer-social, .footer-contact, .footer-nav {
    margin-bottom: 11px!important;
  }
}

/* ----------------------
   Legal Pages
----------------------- */
.legal {
  padding-top: 40px;
  padding-bottom: 40px;
}
.legal h1, .confirmation h1 { color: #0D2A4A; margin-bottom: 20px; }
.legal ul { padding-left: 18px; }

/* ----------------------
   Cookie Consent Banner
----------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe4;
  color: #0D2A4A;
  box-shadow: 0 -2px 32px 0 rgba(44,146,91,0.10);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 5001;
  padding: 20px 16px 20px 16px;
  gap: 24px;
  font-size: 1.05rem;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  transition: transform 0.33s cubic-bezier(.69,.24,.37,1);
  transform: translateY(0%);
}
.cookie-banner.hide { transform: translateY(120%); pointer-events: none; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  margin-left: 19px;
}
.cookie-banner button {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-banner .cookie-accept {
  background: #2C925B;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #0D2A4A;
}
.cookie-banner .cookie-decline {
  background: #fff3e4;
  color: #7d6146;
  border: 2px solid #ecbd97;
}
.cookie-banner .cookie-decline:hover, .cookie-banner .cookie-decline:focus {
  background: #ffe9d8;
  color: #a17022;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #2C925B;
  border: 2px solid #2C925B;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #e7efda;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    padding: 13px 5px 8px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    margin-left: 0;
    gap: 10px;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(13, 42, 74, 0.36);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fffbe4;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(227,190,128,0.17);
  padding: 31px 25px 24px 25px;
  max-width: 400px;
  min-width: 270px;
  min-height: 240px;
  color: #0D2A4A;
  font-size: 1.08rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h2 {
  font-size: 1.17rem;
  color: #2C925B;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #2C925B;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .cookie-accept,
.cookie-modal .cookie-decline,
.cookie-modal .cookie-close {
  border-radius: 18px;
  padding: 8px 14px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .cookie-accept { background: #2C925B; color: #fff; }
.cookie-modal .cookie-accept:hover, .cookie-modal .cookie-accept:focus { background: #0D2A4A; }
.cookie-modal .cookie-decline { background: #fff3e4; color: #7d6146; border: 2px solid #ecbd97; }
.cookie-modal .cookie-decline:hover, .cookie-modal .cookie-decline:focus { background: #ffe9d8; color: #a17022; }
.cookie-modal .cookie-close { background: #fff; color: #2C925B; border: 1.5px solid #2C925B; }
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus { background: #e7efda; }
.cookie-modal .cookie-description { font-size: 0.97rem; margin-bottom: 7px; }

/* Responsive Modal */
@media (max-width: 520px) {
  .cookie-modal { padding: 15px 7px 14px 8px; min-width: 0; }
}

/* ----------------------
   Utilities
----------------------- */
.rounded { border-radius: 16px !important; }
.shadow { box-shadow: 0 2px 12px 0 rgba(44,146,91,0.09) !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }

/* ----------------------
   Miscellaneous
----------------------- */
::-webkit-input-placeholder { color: #a6a6a6; }
::-moz-placeholder { color: #a6a6a6; }
:-ms-input-placeholder { color: #a6a6a6; }
::placeholder { color: #bcb9b9; }

/* Override autofill background for Chrome */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #2C925B !important;
}

/* Responsive Typography Scale */
@media (max-width: 520px) {
  body { font-size: 15px; }
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: 1rem; }
}

/* --------------
   Accessibility
---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}

/*-------------------*/
/* END: style.css   */
/*-------------------*/
