/* =============================
   InvestorenForum Hannover CSS
   Futuristic Tech 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  background: #151c2e;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #202b40 0%, #183153 80%);
  color: #f2f3f8;
  min-height: 100vh;
  line-height: 1.6;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3ea375;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1ee7a5;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6, .tagline {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F4E9DD;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; line-height: 1.12; }
h2 { font-size: 1.65rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.22rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }

p, li, span, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #e4e7ef;
}
.tagline {
  font-size: 1.25rem;
  color: #3ea375;
  margin-bottom: 22px;
}
strong, b {
  font-weight: 700;
  color: #FFFFFF;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #e4e7ef;
}

/* ============ GENERAL LAYOUT ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(24, 49, 83, 0.92);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(18,23,36,0.13), 0 0 0 1px #232e47 inset;
  transition: box-shadow 0.2s;
}
.content-wrapper {
  margin-bottom: 32px;
}

/* Responsive Gaps, Containers */
.card-container,.card-grid,.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  background: #202b40;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #10182588,0 0 0 2px #18315360 inset;
  padding: 24px 18px 24px 18px;
  transition: box-shadow 0.22s,transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #21e6aa44,0 0 0 2px #3ea375b0 inset;
  transform: translateY(-4px) scale(1.01);
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232e47;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px 0 #18315340;
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f4e9dd;
  box-shadow: 0 4px 16px 0 #11151ad0;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #183153;
  flex: 1 1 360px;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  color: #183153;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  color: #2d4c70;
  font-size: 0.93rem;
  font-weight: 600;
}

/* ============ HEADER & NAVIGATION ============ */
header {
  width: 100%;
  background: #151c2e;
  border-bottom: 1.5px solid #22304d;
  box-shadow: 0 0 18px #162b3440;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-left: 32px;
}
.desktop-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #e4e7ef;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .18s;
  padding-bottom: 2px;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #3ea375;
  border-color: #3ea375;
}
.cta-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff!important;
  background: linear-gradient(90deg,#3ea375 60%, #298657 100%);
  padding: 10px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 8px #29865744;
  margin-left: auto;
  margin-right: 20px;
  border: none;
  outline: none;
  transition: background .22s,box-shadow .2s,transform .13s;
  text-shadow: 0px 2px 8px #18315340;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #1ee7a5 60%, #3ea375 100%);
  color: #183153!important;
  box-shadow: 0 4px 16px #21e6aa80;
  border-color: #298657;
  transform: translateY(-2px) scale(1.03);
}

/* ============ MOBILE NAVIGATION ============ */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #3ea375;
  font-size: 2.1rem;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  z-index: 1003;
  transition: color .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #1ee7a5;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #151c2ef6;
  z-index: 1002;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .34s cubic-bezier(.68,-0.6,.32,1.6), opacity .38s;
  padding-top: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 30px;
  cursor: pointer;
  z-index: 1004;
  transition: color .2s, transform .18s;
}
.mobile-menu-close:hover {
  color: #3ea375;
  transform: scale(1.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 70px;
}
.mobile-nav a {
  color: #e4e7ef;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  width: 80vw;
  text-align: left;
  transition: color .23s, border-color .20s, background .15s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #1ee7a5;
  border-color: #1ee7a5;
  background: #18315333;
}

@media (max-width: 992px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    gap: 14px;
    flex-wrap: wrap;
  }
  .cta-button { margin-right: 4px }
}
@media (max-width: 850px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .section {
    padding: 22px 7px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    margin-bottom: 18px;
  }
  .card-container,.card-grid,.content-grid {
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 13px 11px;
  }
  .feature-item {
    padding: 11px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

/* ============ MAIN CONTENT & UTILITIES ============ */
main {
  width: 100%;
  min-height: 64vh;
  padding-bottom: 36px;
  margin-top: 0;
}

/* Card-like List Style for Sections */
section > .container > .content-wrapper > ul li,
section > .container > .content-wrapper > ol li {
  background: #232e47;
  border-radius: 9px;
  margin-bottom: 12px;
  padding: 16px 16px 12px 16px;
  color: #e2eaf0;
  box-shadow: 0 2px 8px #18315333;
  font-size: 1rem;
  line-height: 1.55;
  transition: background .14s, box-shadow .14s, color .13s;
}
section > .container > .content-wrapper > ul li strong {
  color: #3ea375;
  font-weight: bold;
}
section > .container > .content-wrapper > ul li:hover {
  background: #16213a;
  color: #97ffe0;
  box-shadow: 0 4px 20px #3ea37530;
}

/* Info blocks in Kontakt-Page */
.contact-info, .opening-hours, .map-placeholder {
  background: #232e47;
  color: #eaf9f2;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  box-shadow: 0 1px 7px #29865728;
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-placeholder {
  justify-content: flex-start;
  padding-bottom: 26px;
}
.opening-hours {
  background: #151c2e;
  color: #8fffd4;
  font-weight: 600;
}

/* ============= FOOTER ============= */
footer {
  width: 100%;
  background: #151c2e;
  border-top: 1.5px solid #22304d;
  margin-top: 56px;
  padding-top: 24px;
  padding-bottom: 12px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #9cf0dd;
  font-size: 0.99rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: color .14s, border-color .14s;
}
.footer-nav a:hover { color: #1ee7a5; border-bottom: 1.5px solid #1ee7a5; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #e4fff1;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 5px;
}
.footer-social a img {
  width: 32px;
  filter: drop-shadow(0 0 3px #3ea37588);
  transition: filter .18s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 10px #1ee7a5);
}
.footer-newsletter {
  background: #232e47;
  padding: 8px 14px;
  border-radius: 7px;
  box-shadow: 0 1px 7px #29865728;
}
footer p {
  color: #59c39b;
  font-size: 0.95rem;
  margin-top: 14px;
}
@media (max-width: 768px) {
  footer .container {
    gap: 14px;
  }
  .footer-contact, .footer-nav, .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .footer-newsletter { padding: 6px 7px; }
}

/* ============= BUTTONS (beside .cta-button) ============= */
button, .button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 20px;
  background: #3ea375;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #29865744;
  cursor: pointer;
  transition: background .20s,box-shadow .12s,color .08s,transform .11s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #1ee7a5;
  color: #183153;
  box-shadow: 0 6px 24px 0 #21e6aa52;
  transform: translateY(-1px) scale(1.02);
}

/* ============= MICROLEVEL INTERACTIONS ============= */
.card, .section, .feature-item, .cta-button, .button, .testimonial-card, .footer-newsletter, .contact-info, .opening-hours, .map-placeholder {
  transition: box-shadow .18s, background .16s, color .11s, transform .14s;
}

/* Hero effects / neon border for main call-to-action */
.cta-button {
  box-shadow: 0 0 10px #21e6aa55, 0 2px 8px #29865744;
  text-shadow: 0 0 6px #1ee7a555;
  border-width: 2px;
  outline: none;
}
.cta-button:active {
  transform: scale(.97); filter: brightness(.98);
}

/* Focus outlines for accessibility  */
a:focus, button:focus, .cta-button:focus {
  outline: 2px dashed #1ee7a5;
  outline-offset: 3px;
  background: #1831534d;
}

/* ============= COOKIE CONSENT BANNER ============= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #1b2642ee;
  color: #F4E9DD;
  padding: 28px 16px 24px 16px;
  z-index: 11009;
  box-shadow: 0 0 19px #222f4466;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0%);
  transition: transform .42s cubic-bezier(.56, -0.37, .41, 1.8), opacity .28s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(130%);
}
.cookie-consent-banner p {
  color: #F4E9DD;
  margin: 0;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-buttons button {
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 10px 22px;
  margin: 0 3px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 1px 7px #21e6aa40;
  transition: background .17s, color .13s, transform .11s;
}
.cookie-accept {
  background: #3ea375;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #1ee7a5;
  color: #151c2e;
}
.cookie-reject {
  background: #183153;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #d64848;
  color: #fff;
}
.cookie-settings-btn {
  background: #151c2e;
  color: #3ea375;
  border: 2px solid #3ea375;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #232e47;
  color: #1ee7a5;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    padding: 16px 3px 16px 3px;
    gap: 13px;
  }
  .cookie-buttons { gap: 9px; }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,49,83,0.90);
  z-index: 11010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #151c2e;
  color: #fff;
  padding: 35px 30px 28px 30px;
  border-radius: 20px;
  min-width: 290px;
  max-width: 95vw;
  box-shadow: 0 8px 40px #232e47a5;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  font-size: 1rem;
}
.cookie-modal h3 {
  color: #3ea375;
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.cookie-modal-close {
  position: absolute;
  top: 22px; right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #232e47;
  border-radius: 10px;
  padding: 8px 13px 8px 14px;
  font-size: 0.99rem;
}
.cookie-category input[type="checkbox"]:checked + .category-label {
  color: #1ee7a5;
}
.cookie-category .category-label {
  color: #e0f5ed;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.cookie-category .always-on {
  background: #3ea375;
  color: #fff;
  font-size: 0.90rem;
  padding: 2px 8px;
  margin-left: 7px;
  border-radius: 6px;
}
.cookie-modal-actions {
  margin-top: 17px;
  display: flex;
  gap: 10px;
}
.cookie-modal-actions .button {
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.97rem;
}
@media (max-width: 550px) {
  .cookie-modal { padding: 18px 2vw 14px 2vw; }
}

/* ============= NEON ACCENTS & EFFECTS ============= */
.neon-text {
  color: #3ea375;
  text-shadow: 0 0 8px #1ee7a5,0 0 24px #1ee7a599,0 0 8px #3ea37533;
}
.neon-border {
  box-shadow: 0 0 16px #3ea37580,0 2px 12px 0 #29865744;
  border: 2px solid #3ea375;
}

/* ============= DARK-MODE FOR FORMS (if any added later) ============= */
input[type="text"], input[type="email"], input[type="password"], textarea {
  background: #232e47;
  border: 1.5px solid #3ea37580;
  border-radius: 7px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 11px 12px;
  margin-bottom: 12px;
  outline: none;
  box-shadow: 0 2px 7px #3ea37522 inset;
  transition: border-color 0.18s, box-shadow 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #1ee7a5;
  box-shadow: 0 0 11px #1ee7a566;
}

/* ================== MISC ===================== */
::-webkit-scrollbar { width: 11px; background: #232e47; }
::-webkit-scrollbar-thumb { background: #3ea37550; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #1ee7a5;
}

::selection {
  background: #3ea375;
  color: #F4E9DD;
}

[hidden] { display: none !important; }

/* =========== END =========== */
