/* --- 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; background: #F1F3F8; min-height: 100vh; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #184A73;
  --primary-dark: #12395a;
  --secondary: #F1F3F8;
  --background: #FFFFFF;
  --accent: #3FA36C;
  --accent-dark: #217448;
  --error: #e94e77;
  --shadow: rgba(24, 74, 115, 0.07);
  --radius-lg: 36px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
body, html { font-family: var(--font-body); color: #254959; background: var(--secondary); font-size: 16px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: .01em;
  line-height: 1.14;
}
h1 { font-size: 2.4rem; line-height: 1.1; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.94rem; }

p, li, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2a2e33;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
}

/* --- CONTAINER / FLEX LAYOUTS --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  box-sizing: border-box;
}

/* --- HEADER --- */
header {
  background: var(--background);
  box-shadow: 0 8px 24px -12px var(--shadow);
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a img { height: 44px; margin-right: 20px; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-right: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent-dark);
}
.btn.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 34px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px -8px var(--shadow);
  border: none;
  transition: background .22s, box-shadow .2s, transform .09s;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 32px -4px var(--shadow);
}

/* --- MOBILE NAV TOGGLE --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 101;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  transition: background .2s;
  box-shadow: 0 4px 20px -8px var(--shadow);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus { background: var(--accent-dark); }

@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
}
/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,74,115,0.95);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,1.46,.49,.98);
  box-shadow: -8px 0 40px -16px var(--shadow);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {background: var(--accent-dark); }
.mobile-nav {
  max-width: 400px;
  margin: 100px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 27px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 4px 18px rgba(12,38,56,0.28);
  padding: 10px 34px;
  border-radius: var(--radius-md);
  letter-spacing: .015em;
  transition: background .18s, color .2s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .mobile-nav {
    margin-top: 64px;
  }
}

/* --- HERO SECTION ARTISTIC --- */
.hero {
  background: linear-gradient(120deg, #F1F3F8 60%, #d5f8ee 100%);
  padding: 64px 0 46px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  background: rgba(255,255,255,0.77);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px -20px var(--shadow);
  padding: 46px 36px;
  align-items: flex-start;
  gap: 18px;
  border-left: 7px solid var(--accent);
}
.hero h1, .hero p {
  color: var(--primary);
  margin-bottom: 6px;
}
.hero p { font-size: 1.18rem; line-height: 1.38; color: #26415a; margin-bottom: 18px; }

@media (max-width: 600px) {
  .hero { padding: 28px 0 24px 0; }
  .hero .content-wrapper { padding: 18px 10px; }
}

/* --- SECTIONS & SPACINGS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 600px) {
  .section { padding: 24px 4px; margin-bottom: 46px; }
}

.features, .about, .about-main, .team, .values, .topics-overview,
.links, .investment-types, .testimonials, .action-cta, .cta, .faq, .thankyou, .services, .blog-list, .topics, .legal, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  .features, .about, .about-main, .team, .values, .topics-overview,
  .links, .investment-types, .testimonials, .action-cta, .cta, .faq, .thankyou, .services, .blog-list, .topics, .legal, .contact-info {
    padding: 24px 4px;
    margin-bottom: 42px;
  }
}

/* --- FLEXBOX PATTERNS --- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: var(--background); margin-bottom: 20px; border-radius: var(--radius-md); box-shadow: 0 4px 18px -8px var(--shadow); position: relative; padding: 24px 18px; }

.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: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px -5px var(--shadow);
  min-width: 230px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
  border-left: 6px solid var(--accent);
}
.testimonial-card strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.07rem;
}
.testimonial-card span {  color: var(--accent-dark); font-size: 1.13rem; }
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px -6px var(--shadow);
  transform: translateY(-3px) scale(1.02) rotate(-.5deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid, .feature-grid,
  .topic-categories-grid, .investment-types-grid,
  .blog-post-grid, .team-bios, .tool-overview-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- / / FEATURE SECTIONS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  background: var(--background);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px -6px var(--shadow);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 0;
  transition: box-shadow .16s, transform .17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature img { width:40px; height:40px; margin-bottom:6px; }
.feature:hover, .feature:focus {
  box-shadow: 0 6px 22px -2px var(--shadow);
  transform: translateY(-2px) scale(1.04) rotate(.5deg);
}

/* --- ABOUT PAGE TEAM --- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.team-member {
  background: var(--background);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 14px -7px var(--shadow);
  padding: 22px 19px;
  min-width: 186px;
  flex: 1 1 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-top: 6px solid var(--accent);
  margin-bottom: 20px;
}
.credentials-list, .values-list { margin-top: 8px; margin-bottom: 0; }
.credentials-list li, .values-list li { margin-bottom: 8px; font-weight: 500; }

/* --- FINANZWISSEN TOPICS --- */
.topic-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.topic-category {
  background: var(--background);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px -8px var(--shadow);
  padding: 18px 14px;
  flex: 1 1 190px;
  min-width: 120px;
  transition: box-shadow .15s, transform .11s;
}
.topic-category:hover, .topic-category:focus {
  box-shadow: 0 8px 18px -5px var(--shadow);
  transform: scale(1.025) rotate(-1deg);
}
.quick-links { display: flex; flex-direction: row; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
.quick-links a {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1.5px dotted var(--accent);
  padding: 2px 3px;
  transition: background .08s, color .11s;
}
.quick-links a:hover, .quick-links a:focus { background: var(--accent); color: #fff; }

/* --- BUSINESS TOOLS (business-ressourcen.html) --- */
.tool-overview-grid {
  display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 17px;
}
.tool {
  background: var(--background);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px -6px var(--shadow);
  padding: 18px 14px;
  min-width: 150px;
  flex: 1 1 180px;
  transition: box-shadow .13s, transform .12s;
  border-bottom: 6px solid var(--accent);
}
.tool:hover, .tool:focus { box-shadow: 0 8px 16px -4px var(--shadow); transform: scale(1.018) rotate(1deg); }

/* --- BLOG POST GRID --- */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post {
  background: var(--background);
  padding: 22px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px -8px var(--shadow);
  flex: 1 1 252px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-right: 6px solid var(--primary);
  transition: box-shadow .14s, transform .12s;
}
.blog-post:hover, .blog-post:focus { box-shadow: 0 6px 16px -3px var(--shadow); transform: translateY(-2px) scale(1.03); }

.featured-post {
  background: var(--accent);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  box-shadow: 0 6px 30px -12px var(--shadow);
  transition: background .2s;
}
.featured-post a { color: #fff; border-bottom: 1.5px dashed #fff; }
.featured-post a:hover, .featured-post a:focus { text-decoration: underline; }

.category-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.category-tags a {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 1rem;
  font-family: var(--font-display);
  box-shadow: 0 1px 5px -3px var(--shadow);
  transition: background .15s;
}
.category-tags a:hover, .category-tags a:focus { background: var(--accent); }

.most-read {
  margin-top: 14px;
}
.most-read ul {
  padding-left: 14px;
}
.most-read li a:hover, .most-read li a:focus { color: var(--accent-dark); }

.email-signup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin-top: 18px;
  min-width: 180px;
  box-shadow: 0 1px 7px -3px var(--shadow);
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--background);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px -7px var(--shadow);
  padding: 20px 14px;
  transition: box-shadow .15s, transform .11s;
}
.faq-item:hover, .faq-item:focus { box-shadow: 0 8px 20px -5px var(--shadow); transform: scale(1.018); }
.faq-item h3 { margin-bottom: 7px; }

/* --- QUICK COMPARE TABLE --- */
.quick-compare-table {
  background: var(--background);
  border-radius: var(--radius-md);
  overflow: auto;
  margin-top: 18px;
  padding: 18px 12px;
  box-shadow: 0 2px 18px -10px var(--shadow);
}
.quick-compare-table th, .quick-compare-table td {
  padding: 10px 16px;
  border-bottom: 1.5px solid #e5edf7;
  font-size: 0.99rem;
  font-family: var(--font-body);
}
.quick-compare-table th {
  background: var(--secondary);
  color: var(--primary);
  text-align: left;
  font-weight: 700;
}
.quick-compare-table tr:last-child td { border-bottom: none; }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 12px 0;
  box-shadow: 0 -6px 48px -28px var(--shadow);
  margin-top: 44px;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 6px;
}
.footer-branding img {
  height: 50px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  transition: color .11s;
  font-family: var(--font-display);
  opacity: .93;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--accent); opacity:1; }
.contact-mini {
  color: #e7eaf0;
  font-size: .95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.contact-mini img { height: 20px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 3px;
}
.social-links a img { height: 32px; width: 32px; filter: grayscale(0.22) brightness(0.9); transition: filter .12s; }
.social-links a:hover img, .social-links a:focus img { filter: grayscale(0) brightness(1.1); }
.copyright {
  width: 100%;
  text-align: right;
  color: #d1d7df;
  font-size: .92rem;
  margin-top: 13px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .copyright { text-align: left; }
}

/* --- CTA / ACTION BLOCKS --- */
.action-cta, .cta {
  background: var(--accent);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 5px 32px -10px var(--shadow);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-cta h2, .cta h2, .cta p { color: #fff; }
.action-cta .btn, .cta .btn {
  margin-top: 10px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 700;
  box-shadow: 0 3px 18px -7px var(--shadow);
}
.action-cta .btn:hover, .action-cta .btn:focus,
.cta .btn:hover, .cta .btn:focus {
  background: var(--primary);
  color: #fff;
}

/* --- UNIQUE ARTISTIC ELEMENTS --- */
.hero .content-wrapper, .about-main .content-wrapper {
  border-left: 7px solid var(--accent);
}
.feature, .tool, .blog-post, .team-member, .topic-category, .faq-item {
  position: relative;
}
.feature::before, .tool::before, .about-main .content-wrapper::before {
  content: '';
  display: block;
  position: absolute;
  top: -1.4rem; left: -1.3rem;
  width: 38px; height: 38px;
  background: #3fa36c17;
  border-radius: 64% 74% 68% 68%/66% 80% 51% 51%;
  z-index: 0;
}
.feature:hover::before, .tool:hover::before, .team-member:hover::before {
  background: #3fa36c29;
}

/* --- CONTACT PAGE --- */
.address-block, .phone-block, .mail-block, .business-hours, .map-embed {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  background: #fff;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px -7px var(--shadow);
}
.address-block img, .phone-block img, .mail-block img, .business-hours img {
  height: 22px;
}

/* --- LEGAL / THANK YOU PAGES --- */
.legal {
  background: var(--background);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 18px -8px var(--shadow);
  margin-top: 30px;
}

.thankyou {
  background: #fffbe6;
  border-radius:var(--radius-md);
  box-shadow: 0 2px 13px -7px var(--shadow);
  margin-top: 30px;
}
.next-steps-links {
  margin-top: 18px;
  padding-left: 12px;
}
.next-steps-links li { margin-bottom: 12px; }
.next-steps-links .btn { margin-top: 12px; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  background: var(--primary);
  color: #fff;
  padding: 20px 16px 16px 16px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 30px -8px var(--shadow);
  font-size: 1rem;
  animation: bannerfadein .42s cubic-bezier(.42,1.6,.44,1.01);
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
  max-width: 390px;
}
.cookie-banner .btn {
  white-space: nowrap;
  margin: 0 6px;
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .23s, color .11s;
  box-shadow: 0 1px 10px -4px var(--shadow);
}
.btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-accept:hover, .btn-accept:focus { background: var(--accent-dark); color: #fff; }

.btn-reject {
  background: #fff;
  color: var(--error);
  border: none;
}
.btn-reject:hover, .btn-reject:focus { background: #f3e9e9; }
.btn-settings {
  background: var(--primary-dark);
  color: #fff;
  border: none;
}
.btn-settings:hover, .btn-settings:focus { background: var(--accent-dark); color: #fff; }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 3vw 14px 3vw;
    font-size: .98rem;
  }
}

@keyframes bannerfadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 10010;
  top:0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(20, 38, 56, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodalfade .3s;
}
@keyframes cookiemodalfade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fcfefd;
  color: #172a30;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 32px -11px var(--shadow);
  min-width: 300px; max-width: 98vw;
  padding: 36px 28px 20px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalcontentshow .36s cubic-bezier(.47,1.6,.44,1.01);
}
@keyframes modalcontentshow {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.17rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-toggle {
  accent-color: var(--accent-dark);
  width: 24px;height: 24px;
}
.cookie-modal-content .cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: .6;
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 9px;
  background: var(--error);
  color: #fff;
  font-size: 1.35rem;
  border-radius: 50%;
  border: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #ae2452; }
.cookie-modal-content .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal-content .btn {
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 11px 17px;
  margin: 0;
  min-width:98px;
}

/* --- RESPONSIVE FLEX LAYOUTS --- */
@media (max-width: 768px) {
  .content-wrapper, .section, .features, .about, .about-main, .team, .values, .topics-overview, .links, .investment-types, .testimonials, .action-cta, .cta, .faq, .thankyou, .services, .blog-list, .topics, .legal, .contact-info {
    padding: 20px 5px !important;
    gap: 17px;
  }
  .feature-grid, .topic-categories-grid, .tool-overview-grid, .blog-post-grid, .team-bios, .investment-types-grid {
    flex-direction: column;
    gap: 20px;
  }
  .action-cta, .cta {
    padding: 18px 8px;
    flex-direction: column;
    align-items: center;
  }
  .testimonials .container, .testimonial-list {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card { max-width: 98vw; }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .container { padding-left: 5vw; padding-right: 5vw; }
  .footer-branding img {height: 40px;}
}

/* --- MISCELLANEOUS & MICRO-INTERACTIONS --- */
a, button, .btn, .blog-post, .feature, .tool, .faq-item, .team-member, .testimonial-card, .category-tags a {
  outline: none;
  transition: box-shadow .13s, background .15s, color .12s, transform .11s;
}
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-dark); }

::-webkit-scrollbar { width: 8px; background: #e8e9ee; }
::-webkit-scrollbar-thumb { background: #cedcea; border-radius: 6px; }

/* --- ACCESSIBILITY FOCUS INDICATORS --- */
:focus-visible { outline: 2px solid var(--accent-dark)!important; outline-offset: 3px; z-index: 11; }

/* --- END OF STYLES --- */
