/* =========================================
   MONOCHROME SOPHISTICATED CSS - SpecterFlame Finanzen
   Author: Senior CSS Developer & UI Designer
   ========================================= */
/* ---- CSS RESET & BASE TYPOGRAPHY ---- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #151515;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.003em;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24406B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
small {
  font-size: 85%;
  color: #666;
}

/* ---- TYPOGRAPHY HIERARCHY ---- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #151515;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
@media (min-width: 768px) {
  h1, .h1 { font-size: 3rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #181818;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #303030;
}
p {
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', serif;
  font-style: italic;
  font-size: 1.1rem;
  background: #f3f3f3;
  border-left: 4px solid #222;
  color: #222;
  padding: 18px 26px 16px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
}
cite {
  font-size: 1rem;
  color: #555;
  margin-top: 8px;
  display: block;
  font-style: normal;
}

/* ---- CONTAINER & SECTION LAYOUTS ---- */
.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section,
.hero-section,
.features-section,
.about-section,
.team-section,
.timeline-section,
.articles-section,
.cta-section,
.testimonials-section,
.services-overview,
.events-section,
.legal-section,
.confirmation-section,
.contact-info-section,
.faq-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FLEXBOX LAYOUTS (MANDATORY) ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(20,20,20,0.05);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 270px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(22,22,22,0.10);
  border-color: #bdbdbd;
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---- HERO & CTA SECTIONS ---- */
.hero-section {
  background: #f5f5f5;
  color: #181818;
  border-bottom: 2px solid #222;
  padding-top: 60px;
  padding-bottom: 48px;
}
.hero-section .cta-primary {
  margin-top: 18px;
}
.cta-section {
  background: #222;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(20,20,20,0.08);
  text-align: center;
  padding: 48px 20px 48px 20px;
}
.cta-section .cta-primary {
  margin-bottom: 16px;
}

/* ---- BUTTONS & INTERACTIVES ---- */
.cta-primary, .cta-primary:visited {
  display: inline-block;
  background: #fff;
  color: #24406B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #24406B;
  border-radius: 999px;
  padding: 12px 32px;
  letter-spacing: 0.03em;
  cursor: pointer;
  outline: none;
  margin-top: 8px;
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(32,40,60,0.05);
}
.cta-primary:hover, .cta-primary:focus {
  background: #24406B;
  color: #fff;
  border-color: #24406B;
  box-shadow: 0 4px 16px rgba(32,64,107,0.10);
}

/* ---- NAVIGATION ---- */
header {
  background: #181818;
  color: #fff;
  box-shadow: 0 2px 12px rgba(20, 20, 20, 0.10);
  padding: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 5px 0;
  transition: color 0.16s, border-color 0.17s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: #52A39A;
  border-bottom: 2px solid #52A39A;
}
.main-nav img {
  height: 40px;
  margin-right: 14px;
  display: inline-block;
}
.main-nav .cta-primary {
  background: #52A39A;
  color: #222;
  border: none;
  margin-left: 16px;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #24406B;
  color: #fff;
  border: none;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 14px;
  }
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  background: #222;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  cursor: pointer;
  margin-left: auto;
  z-index: 101;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #24406B;
  color: #fff;
}
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(16,16,32,0.96);
  color: #fff;
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(0.72,0,0.21,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 20px 0 0;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1110;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #52A39A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 44px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: 0.02em;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #52A39A;
}
@media (max-width: 450px) {
  .mobile-nav {
    padding-left: 20px;
    gap: 20px;
  }
}

/* Overlay effect prevents stacking below page content */
.mobile-menu.open {
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.28) inset;
}

/* ---- FOOTER ---- */
footer {
  background: #181818;
  color: #fff;
  padding: 36px 0 24px 0;
  border-top: 3px solid #e6e6e6;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 24px;
  align-items: center;
}
.footer-navigation a {
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 0;
  transition: color 0.18s;
  border-bottom: 1.5px solid transparent;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #52A39A;
  border-bottom: 1.5px solid #52A39A;
}
.footer-contact {
  color: #aaa;
  margin-bottom: 0;
  font-size: 0.98rem;
}
.footer-contact a {
  color: #aaa;
  border-bottom: 1px dotted #aaa;
  word-break: break-all;
  transition: color 0.17s, border-color 0.17s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
  border-bottom: 1px solid #fff;
}
@media (max-width: 650px) {
  .footer-navigation {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* ---- FEATURES & SERVICES ---- */
.feature-grid,
.services-list,
.event-list,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  list-style: none;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid li,
.services-list .service-card,
.event-list li,
.feature-list li {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(32,32,32,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid li:hover, .service-card:hover, .event-list li:hover {
  border-color: #52A39A;
  box-shadow: 0 4px 28px rgba(36,64,107,0.11);
  z-index: 3;
}
.feature-grid img, .feature-list img, .services-list img, .event-list img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  filter: grayscale(1) contrast(1.3) brightness(0.93);
}
.service-card .service-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #24406B;
  margin-top: 6px;
  margin-bottom: 3px;
  letter-spacing: .04em;
}
@media (max-width: 1050px) {
  .feature-grid,
  .services-list,
  .event-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .services-list,
  .event-list,.feature-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---- TEAM BIOS ---- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.team-member {
  background: #f7f7f7;
  border: 1px solid #eaeaea;
  border-radius: 13px;
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 180px;
  box-shadow: 0 2px 7px rgba(22,25,28,.07);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.team-member small {
  font-size: .93rem;
  color: #666;
  font-weight: 400;
}
.team-member:hover {
  box-shadow: 0 6px 18px rgba(40,40,60,0.14);
  border-color: #52A39A;
  z-index: 2;
}
@media (max-width: 768px) {
  .team-bios {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---- TIMELINE LIST ---- */
.timeline-section ul {
  border-left: 3px solid #24406B;
  padding-left: 22px;
  list-style: none;
  margin-bottom: 16px;
}
.timeline-section li {
  position: relative;
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #222;
  padding-left: 0;
}
.timeline-section li:before {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #24406B;
  border-radius: 50%;
  position: absolute;
  left: -28px;
  top: 6px;
}
@media (max-width: 600px) {
  .timeline-section ul {
    padding-left: 10px;
  }
  .timeline-section li:before {
    left: -20px;
  }
}

/* ---- BLOG PREVIEWS ---- */
.blog-preview {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 16px 18px;
  transition: box-shadow 0.16s, border-color 0.17s;
}
.blog-preview h3 {
  margin-bottom: 8px;
  font-size: 1.13rem;
  color: #222;
}
.blog-preview:hover, .blog-preview:focus-within {
  border-color: #52A39A;
  box-shadow: 0 6px 18px rgba(36,64,107,0.08);
  z-index: 1;
}

/* ---- FAQ SECTION ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list div {
  background: #f7f7f7;
  border-radius: 11px;
  border: 1px solid #ececec;
  padding: 18px 18px 14px 18px;
  transition: box-shadow 0.16s, border-color 0.14s;
}
.faq-list div h3 {
  font-size: 1.0rem;
  color: #24406B;
  margin-bottom: 8px;
}
.faq-list div:hover {
  box-shadow: 0 2px 10px rgba(32,64,107,0.09);
  border-color: #d3d3d3;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: #f2f2f2;
  padding-top: 44px;
  padding-bottom: 44px;
  border-radius: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-radius: 13px;
  margin-bottom: 20px;
  border-left: 5px solid #24406B;
  color: #151515;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  color: #181818;
  font-size: 1.08rem;
  margin: 0;
  padding: 0 0 0 0;
}
.testimonial-card cite {
  color: #555;
  font-weight: 600;
  margin-left: 16px;
  font-style: normal;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #52A39A;
  box-shadow: 0 8px 18px rgba(32,64,107,0.13);
  z-index: 4;
}
@media (max-width: 600px) {
  .testimonials-section {
    padding: 24px 8px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 12px;
  }
}

/* ---- LEGAL SECTIONS ---- */
.legal-section h1,.legal-section h2 {
  color: #151515;
}
.legal-section ul {
  margin-bottom: 18px;
  padding-left: 1.5em;
}
.legal-section li {
  margin-bottom: 8px;
}

/* ---- CONFIRMATION SECTION ---- */
.confirmation-section {
  background: #f7f7f7;
  border-radius: 12px;
  text-align: center;
  margin: 50px 0 30px 0;
}
.confirmation-section h1 {
  color: #24406B;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #222;
  color: #fff;
  padding: 30px 14px 24px 14px;
  box-shadow: 0 -2px 24px rgba(24,24,24,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: cookieBannerShow 0.37s cubic-bezier(0.44, 0.1, 0.25, 1.2);
}
@keyframes cookieBannerShow {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 8px 26px;
  margin: 0 3px 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  outline: none;
}
.cookie-accept {
  background: #52A39A;
  color: #181818;
}
.cookie-accept:hover, .cookie-accept:focus { background: #24406B; color: #fff; }
.cookie-reject {
  background: #fff;
  color: #222;
  border: 1.5px solid #bbb;
}
.cookie-reject:hover, .cookie-reject:focus { background: #f8faf5; color: #24406B; }
.cookie-settings {
  background: #222;
  color: #fff;
  border: 1.5px solid #bbb;
}
.cookie-settings:hover, .cookie-settings:focus { background: #181818; color: #52A39A; }

/* ---- COOKIE MODAL POPUP ---- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 98vw;
  width: 370px;
  background: #fff;
  color: #181818;
  transform: translate(-50%, -50%) scale(0.98);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.32);
  z-index: 4000;
  padding: 34px 26px 22px 26px;
  display: none;
  animation: cookieModalIn 0.41s cubic-bezier(0.44, 0.1, 0.25, 1.2);
}
.cookie-modal.open {
  display: block;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: #24406B;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
  color: #181818;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #eee;
  border-radius: 10px;
  position: relative;
  outline: none;
  margin-right: 6px;
  transition: background 0.13s;
}
.cookie-toggle:checked {
  background: #24406B;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.7rem;
  color: #24406B;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4010;
  transition: color 0.1s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  color: #52A39A;
}

/* ---- UTILITY CLASSES & ANIMATIONS ---- */
.text-center {
  text-align: center;
}
.shadow-small {
  box-shadow: 0 2px 8px rgba(36,64,107,0.12);
}
.rounded {
  border-radius: 14px;
}
.bg-accent {
  background: #F8FAF5;
}
.bg-white {
  background: #fff;
}
.bg-dark {
  background: #222;
  color: #fff;
}

/* ---- RESPONSIVENESS ---- */
@media (max-width: 1100px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  } 
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.42rem; }
  .section, .hero-section, .features-section, .about-section, .team-section, .timeline-section, .articles-section, .cta-section, .testimonials-section, .services-overview, .events-section, .legal-section, .confirmation-section, .contact-info-section, .faq-section {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  .cta-section {
    padding: 28px 7px 32px 7px;
  }
  .testimonials-section {
    padding: 16px 2px 14px 2px;
  }
}
@media (max-width: 500px) {
  .confirmation-section {
    margin: 18px 3px 10px 3px;
  }
  .feature-grid li, .service-card, .event-list li, .feature-list li {
    min-width: 140px;
    padding: 13px 8px 10px 8px;
  }
  .card {
    min-width: 145px;
    padding: 13px 8px;
  }
  .team-member {
    min-width: 110px;
    padding: 10px 7px 7px 7px;
  }
}

/* ---- INPUTS (for future forms etc.) ---- */
input, select, textarea {
  border: 1px solid #bbb;
  border-radius: 7px;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  background: #fafbfc;
  color: #181818;
  outline: none;
  transition: border 0.18s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #24406B;
  box-shadow: 0 2px 10px rgba(36,64,107,0.13);
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 2px solid #52A39A;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* ---- END ---- */
