/* ========================================================================
   Twilight Wealth Frankfurt – style.css
   Professional Corporate Theme – Blue/Gray Palette, Flexbox Layout Only
   Brand: #1A3A52 (Primary Blue), #95C623 (Accent Green), #F8F9FA (Light BG)
   Display Font: Montserrat
   Body Font: Roboto
   ======================================================================== */

/* --------------------------- CSS RESET & NORMALIZE --------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #F8F9FA;
  color: #1A3A52;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3A52;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, ol, li {
  color: #25405D;
  font-size: 1rem;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 16px;
}
a {
  color: #1A3A52;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #95C623;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}
input, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* -------------------------- LAYOUT CONTAINER -------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px 0 rgba(26,58,82,0.10);
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ------------------------ HEADER ------------------------ */
header {
  width: 100%;
  background: #1A3A52;
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,58,82,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 84px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: #F8F9FA;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-size: 1rem;
}
header nav a:hover, header nav a.active {
  color: #95C623;
  border-color: #95C623;
}
header .cta-primary {
  margin-left: 28px;
}

/* Hide hamburger on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #F8F9FA;
  background: none;
  border: none;
  margin-left: 18px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #95C623;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-primary {
    display: none;
  }
}

/* ---------------------- MOBILE MENU --------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(26,58,82,0.98);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s cubic-bezier(.7,.3,.2,1), transform 0.3s cubic-bezier(.7,.3,.2,1);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: #F8F9FA;
  margin: 30px 24px 0 0;
  background: none;
  border: none;
  transition: color 0.2s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #95C623;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 40px 24px 0 24px;
}
.mobile-nav a {
  color: #F8F9FA;
  font-size: 1.25rem;
  padding: 18px 0;
  width: 100%;
  display: block;
  border-bottom: 1px solid #27475F;
  transition: color 0.2s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #95C623;
}

@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* -------------------------- HERO SECTION ---------------------------- */
.hero {
  background: linear-gradient(90deg, #1A3A52 80%, #95C623 500%);
  color: #fff;
  padding: 48px 0 44px 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #F8F9FA;
}
.hero .subheadline {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: #D4E2EF;
  font-weight: 400;
}
.hero .cta-primary {
  margin-top: 10px;
}
@media (max-width: 600px) {
  .hero {
    padding: 30px 0 20px 0;
  }
  .hero h1 { font-size: 2rem;}
}

/* -------------------------- CTA BUTTONS ------------------------------ */
.cta-primary {
  display: inline-block;
  background: #95C623;
  color: #1A3A52;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 14px 38px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(26,58,82,0.12);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1A3A52;
  color: #f8f9fa;
  box-shadow: 0 8px 32px rgba(26,58,82,0.18);
  outline: none;
}

/* ------------------------ FEATURES GRID/CARDS -------------------------- */
.features {
  background: #F8F9FA;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  align-items: stretch;
  justify-content: space-between;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(26,58,82,0.07);
  padding: 32px 24px 28px 24px;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border 0.22s;
  border: 1px solid #EDF3F6;
  min-width: 210px;
}
.feature-card img {
  width: 48px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #1A3A52;
}
.feature-card p {
  text-align: center;
  color: #32537a;
  font-size: 0.96rem;
}
.feature-card:hover, .feature-card:focus-within {
  border: 1.5px solid #95C623;
  box-shadow: 0 8px 36px 0 rgba(26,58,82,0.14);
}

/* Responsive flex-wrap */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 18px;
  margin-top: 16px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26,58,82,0.07);
  font-size: 1.05rem;
  color: #25405D;
  margin-bottom: 8px;
  flex: 1 1 210px;
  min-width: 180px;
}
.feature-list img {
  width: 36px;
}

/* -------------------------- SERVICE LIST ------------------------------ */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 20px 0 36px 0;
}
.service-list li {
  background: #f3f6fa;
  border-radius: 14px;
  box-shadow: 0 1px 5px 0 rgba(26,58,82,0.13);
  padding: 22px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-height: 68px;
  margin-bottom: 20px;
}
.service-list img {
  width: 38px;
  flex-shrink: 0;
}
.service-list strong {
  color: #1A3A52;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 4px;
  font-weight: 600;
  font-size: 1.07rem;
}
.service-list p {
  margin-top: 4px;
}
.service-list span {
  color: #95C623;
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
  font-size: 1rem;
}
@media (max-width: 750px) {
  .service-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 19px 12px;
  }
}

/* -------------------------- TESTIMONIALS ------------------------------ */
.testimonials {
  background: #F8F9FA;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px 0 rgba(26,58,82,0.12);
  margin-bottom: 20px;
  margin-top: 12px;
  border: 1px solid #E4EAF1;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card p {
  font-size: 1.125rem;
  color: #1A3A52;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #5A6D82;
  font-style: italic;
  letter-spacing: .01em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 1.5px solid #95C623;
  box-shadow: 0 10px 40px rgba(26,58,82,0.16);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 18px 10px;
  }
}

/* ------------------- GENERIC CARDS & FLEX CONTAINERS ----------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(26,58,82,0.08);
  padding: 32px 24px;
  transition: box-shadow 0.2s, border 0.2s;
  border: 1px solid #E6EEF3;
  min-width: 230px;
}
.card:hover, .card:focus-within {
  border: 1.5px solid #95C623;
  box-shadow: 0 8px 40px 0 rgba(26,58,82,0.15);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
}
/* ----------------------- TEXT-IMAGE/SECTION FLEX MIX ---------------------- */
.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ------------ VALUES or ICON LISTS (about, etc) ------------- */
.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(26,58,82,0.07);
  padding: 12px 22px;
  font-size: 1.08rem;
  color: #1A3A52;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.value-list img {
  width: 33px;
}
@media (max-width: 630px) {
  .value-list {
    flex-direction: column;
    gap: 12px;
  }
}

/* ------------------- FEATURE ITEM (column flex) ------------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ ABOUT/LEGAL TEXT & PLACEHOLDER MAP ------------------- */
.text-section ul, .about ul {
  list-style: disc inside;
  margin-top: 7px;
}
.placeholder-map {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.placeholder-map img {
  width: 54px;
  height: auto;
}

/* --------------------------- FOOTER --------------------------- */
footer {
  background: #1A3A52;
  color: #F8F9FA;
  padding: 38px 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 46px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  min-width: 170px;
}
.footer-nav a {
  color: #f7f8fb;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #95C623;
}
.contact-summary {
  color: #c5d2df;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 8px;
  min-width: 170px;
}
.contact-summary strong {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}
.social-media-icons {
  display: flex;
  gap: 17px;
  align-items: center;
}
.social-media-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1) grayscale(0.4);
  opacity: 0.9;
  transition: filter 0.15s, opacity 0.15s;
  cursor: pointer;
}
.social-media-icons img:hover {
  filter: drop-shadow(0 2px 6px #95C623) brightness(1.3);
  opacity: 1;
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* --------------------------- THANK YOU & LEGAL ----------------------------- */
.thank-you, .legal {
  background: #F8F9FA;
  padding-top: 48px;
  padding-bottom: 48px;
}
.thank-you .content-wrapper,
.legal .content-wrapper {
  align-items: center;
  text-align: center;
}
.legal .text-section h2 {
  font-size: 1.32rem;
  margin-top: 25px;
}

/* ------------------- COOKIE CONSENT BANNER & MODAL ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 200;
  background: #1A3A52;
  color: #F8F9FA;
  box-shadow: 0 -2px 20px 0 rgba(26,58,82,0.14);
  padding: 24px 14px 20px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 74px;
  transition: transform 0.25s cubic-bezier(.87, .1, .18, .98), opacity 0.25s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  font-size: 1.02rem;
  color: #F8F9FA;
  letter-spacing: 0.01em;
  max-width: 435px;
}
.cookie-banner .cookie-btn {
  margin-left: 0;
  background: #95C623;
  color: #1A3A52;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 26px;
  margin-right: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  border: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F8F9FA;
  color: #1A3A52;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #95C623;
  border: 1px solid #95C623;
  border-radius: 20px;
  margin-right: 0;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #95C623;
  color: #1A3A52;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 18px 4px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
    width: 100%;
    margin-right: 0;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 210;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,58,82,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.7,.3,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #1A3A52;
  border-radius: 18px;
  max-width: 430px;
  padding: 38px 25px 26px 25px;
  box-shadow: 0 6px 42px rgba(26,58,82,0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  position: relative;
  z-index: 211;
  text-align: left;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-modal-title {
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal-close {
  font-size: 2rem;
  color: #1A3A52;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #95C623;
}
.cookie-category-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 15px 0 15px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  width: 34px;
  height: 20px;
  display: inline-block;
  background: #d6e3ef;
  border-radius: 10px;
  position: relative;
  margin-left: 5px;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0;
  width: 34px;
  height: 20px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
}
.cookie-slider {
  display: block;
  width: 34px;
  height: 20px;
  background: #E4EAF1;
  border-radius: 10px;
  position: relative;
  transition: background 0.16s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #95C623;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-essentials {
  font-size: 0.99rem;
  color: #8193a7;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn, .cookie-modal-actions .cookie-settings-btn {
  padding: 9px 22px;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    max-width: 99vw;
    padding: 16px 2vw 16px 2vw;
  }
  .cookie-modal-header
    { gap:8px; }
  .cookie-modal-title { font-size: 1.12rem;}
}

/* --------------- MISC & ACCESSIBLE FOCUS --------------- */
:focus:not(:focus-visible) {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid #95C623;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A6B2C5; }
::placeholder { color: #A6B2C5; }

/* ------------------- RESPONSIVE TYPOGRAPHY ----------------- */
@media (max-width: 500px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.18rem; }
  p, li { font-size: 0.99rem; }
}

/* ------------------- REUSABLE UTILITIES ----------------- */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pb-32 { padding-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }

section {
  padding: 20px 0;
}

/* ------------- REMOVE GRID/COLUMN FALLBACKS -------------- */
/* No grid/columns used – layout is fully flexbox-based per requirements */
