/* ----------------------------------------------------
   BlazeHammer Finanzkompetenz Geometric Structured CSS
   Author: Professional CSS/UI Developer
   Brand: BlazeHammer Finanzkompetenz
   Style: Geometric & Structured, Modern, Trustworthy
-----------------------------------------------------*/
/* ========== CSS Reset & Normalize ========== */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1.6; background: #F4F6F7; color: #1A3956; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.2;
  margin: 0;
}
:focus-visible { outline: 2px solid #E38C1D; outline-offset: 3px; }

/* ========== Brand Colors as Custom Properties ========== */
:root {
  --color-primary: #1A3956;
  --color-secondary: #F4F6F7;
  --color-accent: #E38C1D;
  --color-dark: #17273f;
  --color-text: #1A3956;
  --color-bg-card: #fff;
  --color-border: #E2E5EA;
  --color-grey: #828D99;
  --color-light-grey: #f8f9fa;
  --color-shadow: rgba(26,57,86,0.09);
}

/* ========== Typography ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: var(--color-secondary);
  color: var(--color-text);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
h4 { font-size: 1.18rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 14px; }
strong { font-weight: 700; }

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.13rem; }
}

/* ========== Geometric/Structured Layout Patterns ========== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

@media (max-width: 768px) {
  .section, section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .container { padding: 0 8px; }
}

/* ========== Navigation Bar ========== */
.header, header {
  width: 100%;
  background: var(--color-bg-card);
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 20px 0;
}
.main-nav > a img {
  height: 38px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav li a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.main-nav li a:hover,
.main-nav li a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.primary-cta {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 30px;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 1px 7px var(--color-shadow);
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 16px;
  letter-spacing: 0.04em;
}
.primary-cta:hover, .primary-cta:focus {
  background: #c87410;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(227,140,29,.18);
  text-decoration: none;
}

/* Burger Menu (Mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 6px;
  padding: 6px 18px;
  cursor: pointer;
  z-index: 1101;
  margin-left: auto;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #c87410;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav ul { gap: 14px; }
}
@media (max-width: 850px) {
  .main-nav ul { gap: 8px; }
  .main-nav > a img { height: 32px; }
}
@media (max-width: 768px) {
  .main-nav ul, .primary-cta { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .main-nav { gap: 0; }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26, 57, 86, 0.97);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 1100;
  padding: 32px 23px 0 23px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin-left: auto;
  margin-bottom: 35px;
  cursor: pointer;
  padding: 0 4px;
  transition: color .16s; 
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--color-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  padding: 9px 2px;
  border-radius: 6px;
  transition: background .14s, color .12s;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #1A3956;
}

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

/* ========== Hero Section (Landing headline) ========== */
.hero {
  display: flex;
  align-items: center;
  min-height: 300px;
  background: linear-gradient(96deg, #f4f6f7 70%, #e38c1d18 100%);
  border-bottom: 7px solid #E38C1D27;
  margin-bottom: 0;
  padding-top: 42px;
  padding-bottom: 28px;
  position: relative;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 670px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .01em;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding-top: 30px; padding-bottom: 12px;
  }
  .hero .content-wrapper { max-width: none; }
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: 1rem; }
}

/* ========== Geometric Cards & Featured Areas ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 4px 12px var(--color-shadow);
  flex: 1 1 252px;
  min-width: 240px;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 18px 28px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, border .18s;
}
.feature img {
  width: 46px;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.feature p {
  color: var(--color-grey);
  margin-bottom: 0;
}
.feature:hover { 
  box-shadow: 0 6px 22px 0 rgba(26,57,86,0.11);
  border: 2px solid var(--color-accent);
  z-index: 3;
}
@media (max-width: 1100px) {
  .feature-grid { gap: 20px; }
  .feature { min-width: 180px; max-width: 100%; }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    width: 100%;
    align-items: flex-start;
  }
}

/* ========== Cards, Card Containers & Spacing Mandates ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; background: var(--color-bg-card); border-radius: 22px; box-shadow: 0 1px 10px var(--color-shadow); border: 1px solid var(--color-border); padding: 24px; }
.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) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; }
}

/* ========== About: Team & Values ========== */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
  width: 100%;
}
.team-member {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 1px 10px var(--color-shadow);
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 20px;
  text-align: center;
  transition: border .18s, box-shadow .18s;
}
.team-member img { width: 56px; margin-bottom: 14px; }
.team-member h3 { margin-bottom: 7px; }
.team-member:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 18px 0 rgba(227,140,29,.13);
}
@media (max-width: 768px) {
  .team-profiles { flex-direction: column; gap: 18px; }
  .team-member { width: 100%; min-width: 0; }
}
.team-core-values {
  background: var(--color-light-grey);
  border-radius: 17px;
  padding: 23px 18px;
  margin-top: 12px;
  margin-bottom: 0;
}
.team-core-values h3 { margin-bottom: 14px; font-size: 1.13rem; }
.team-core-values ul { padding-left: 14px; }
.team-core-values li { margin-bottom: 7px; font-weight: 500; }

/* ========== Timeline Structure (About) ========== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.timeline-step {
  background: var(--color-bg-card);
  border-radius: 16px;
  border-left: 5px solid var(--color-accent);
  padding: 18px 18px 18px 28px;
  box-shadow: 0 2px 11px var(--color-shadow);
  font-weight: 500;
  margin-bottom: 16px;
}
/* Features List (Services, About) */
.feature-item, #services-features ul li, .team-core-values ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* ========== Service Cards ========== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 24px 0;
}
.service-card {
  background: var(--color-bg-card);
  border-radius: 20px;
  box-shadow: 0 4px 14px var(--color-shadow);
  border: 2px solid var(--color-border);
  flex: 1 1 250px;
  max-width: 300px;
  padding: 26px 20px 32px 24px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow .22s, border .18s;
}
.service-card h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.service-card .service-pricing {
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-accent);
  letter-spacing: .03em;
}
.service-card:hover { border-color: var(--color-accent); box-shadow: 0 2px 18px 0 rgba(227,140,29,.13); z-index: 2; }

@media (max-width: 768px) {
  .service-cards { flex-direction: column; gap: 16px; }
  .service-card { max-width: 100%; min-width: 0; }
}

/* ========== FAQ accordion and resource links (Finanzwissen) ========== */
.faq-section {
  margin-top: 30px;
  margin-bottom: 20px;
  background: var(--color-bg-card);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: 0 2px 9px var(--color-shadow);
}
.faq-section h3 { font-size: 1.08rem; margin-bottom: 12px; }
.faq {
  margin-bottom: 14px;
}
.faq h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.resource-links {
  background: var(--color-light-grey);
  border-radius: 14px;
  padding: 13px 15px 9px 15px;
  margin-top: 24px;
}
.resource-links h3 { font-size: 1.08rem; margin-bottom: 6px; }
.resource-links ul { padding-left: 12px; }
.resource-links li { font-size: 0.98rem; margin-bottom: 4px; }

/* ========== Testimonial Cards & Sliders ========== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
  justify-content: flex-start;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 16px var(--color-shadow);
  border: 2px solid var(--color-border);
  min-width: 240px; max-width: 410px;
  flex: 1 1 315px;
  margin-bottom: 20px;
  transition: box-shadow .18s, border .18s;
}
.testimonial-card h3 {
  font-size: 1.02rem;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.03rem;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card .testimonial-author {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  margin-bottom: 6px;
}
.testimonial-card .star-rating {
  font-size: 1.28rem;
  color: #E38C1D;
  letter-spacing: .07em;
  margin-bottom: 0;
}
.testimonial-card .before-after {
  font-size: .99rem;
  color: var(--color-grey);
  margin-bottom: 6px;
}
.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 25px 0 rgba(227,140,29,0.11);
  z-index: 2;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card { min-width: 0; max-width: 100%; }
}

/* ========== Legal Sections (Privacy, Terms, Cookie) ========== */
.legal {
  background: var(--color-bg-card);
  border-radius: 17px;
  box-shadow: 0 2px 11px var(--color-shadow);
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px 30px;
}
.legal h1, .legal h2 {
  margin-top: 16px;
}
.legal ul { padding-left: 18px; }
.legal li { margin-bottom: 8px; }
@media (max-width: 768px) {
  .legal { padding: 14px 7px; margin-top: 22px; margin-bottom: 24px; }
}

/* ========== Contact & Confirmation ========== */
.contact-details, .contact-form-fields {
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 18px 16px;
  margin-bottom: 14px;
}
.contact-form-fields ul li {
  font-size: 1rem;
  margin-bottom: 7px;
}
.confirmation-section .content-wrapper {
  align-items: center;
  text-align: center;
  margin-top: 44px;
  margin-bottom: 44px;
}
.confirmation-section h1 { margin-bottom: 18px; }
.confirmation-section p { margin-bottom: 23px; }

/* ========== CTAs (Main & Section Calls-To-Action) ========== */
#main-cta, #about-cta, #finanzwissen-cta, #services-cta, #contact-cta, #referenzen-cta {
  background: linear-gradient(92deg, #f4f6f7 84%, #e38c1d22 105%);
  padding-top: 42px;
  padding-bottom: 42px;
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  text-align: center;
  margin-bottom: 0;
}
#main-cta h2, #about-cta h2, #finanzwissen-cta h2, #services-cta h2, #contact-cta h2, #referenzen-cta h2 {
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
#main-cta .primary-cta,
#about-cta .primary-cta,
#finanzwissen-cta .primary-cta,
#services-cta .primary-cta,
#contact-cta .primary-cta,
#referenzen-cta .primary-cta {
  margin-top: 20px;
}
@media (max-width: 768px) {
  #main-cta, #about-cta, #finanzwissen-cta, #services-cta,
  #contact-cta, #referenzen-cta {
    padding-top: 24px; padding-bottom: 26px;
  }
}

/* ========== Footer / Bottom Branding ========== */
footer {
  width: 100%;
  background: var(--color-bg-card);
  border-top: 4px solid var(--color-accent);
  padding-top: 28px; padding-bottom: 18px;
  margin-top: 46px;
  box-shadow: 0 -2px 12px var(--color-shadow);
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 5px 7px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8px;
}
.footer-branding img { height: 34px; margin-bottom: 7px; }
.footer-branding p {
  color: var(--color-grey);
  font-size: .94rem;
}
@media (max-width: 680px) {
  .footer-nav { gap: 12px; }
  .footer-branding img { height: 24px; }
}

/* ================= Cookie Consent Banner ====================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-bg-card);
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -4px 22px 0 rgba(26,57,86,0.13);
  padding: 22px 18px 18px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  z-index: 9999;
  font-size: 1rem;
  animation: appearCookie .45s cubic-bezier(.68,.04,.24,.94);
}
@keyframes appearCookie {
  from { transform: translateY(35px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  color: var(--color-dark);
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  border: none;
  padding: 8px 22px;
  box-shadow: 0 1px 6px var(--color-shadow);
  cursor: pointer;
  transition: background .17s, color .15s, box-shadow .16s;
  margin-left: 3px;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #c87410;
  color: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.cookie-btn.reject {
  background: #e2e5ea;
  color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d1d6db;
  color: var(--color-accent);
}
.cookie-settings-btn {
  background: none;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 8px 18px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 7px;
    font-size: .98rem;
  }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,57,86,0.85);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeinCookieModal .38s cubic-bezier(.66,.13,.35,.89);
}
@keyframes fadeinCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 34px rgba(26,57,86,.20);
  padding: 38px 28px 26px 28px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 19px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 2;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--color-accent); }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 18px; height: 18px;
}
.cookie-category.essential {
  color: var(--color-primary);
  opacity: .75;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

@media (max-width: 500px) {
  .cookie-modal-content { max-width: 96vw; padding: 18px 8px 8px 8px; }
  .cookie-modal-content h2 { font-size: 1.1rem; }
}

/* ========== Animations & Micro-interactions ========== */
a, button, .primary-cta, .feature, .service-card, .testimonial-card, .main-nav li a, .footer-nav a, .mobile-menu-toggle, .cookie-btn, .cookie-settings-btn {
  transition: background 0.19s, color 0.15s, box-shadow 0.16s, border 0.14s;
}

/* ========== Utility ========== */
.mt-0 { margin-top: 0!important; }
.mt-2 { margin-top: 2px!important; }
.mt-8 { margin-top: 8px!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-24 { margin-bottom: 24px!important; }
.mb-32 { margin-bottom: 32px!important; }

/* ========== Accessibility & Focus ========== */
button:focus, a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1.5px; z-index: 12; }

/* Hide visually (for screen reader only) */
.visually-hidden {
  border: 0 !important; clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important; margin: -1px !important; overflow: hidden !important;
  padding: 0 !important; position: absolute !important; width: 1px !important;
}

/* ========== Color Contrast: Testimonial, Legal, etc ========== */
#testimonials .testimonial-card, #referenzen-testimonials .testimonial-card, .testimonial-card {
  background: #fff !important;
  color: #1A3956 !important;
  border: 2px solid #E2E5EA;
}
#testimonials .testimonial-card .testimonial-author,
#referenzen-testimonials .testimonial-card .testimonial-author {
  color: var(--color-accent)!important;
}

/* ========== Responsive Tweaks ========== */
@media (max-width: 480px) {
  .container { padding: 0 4px; }
  .hero, #main-cta, #about-cta, #finanzwissen-cta, #services-cta, #contact-cta, #referenzen-cta {
    padding-left: 3px; padding-right: 3px;
  }
  h1, h2 { word-break: break-word; }
  .feature, .service-card, .testimonial-card {
    padding: 16px 8px;
  }
}

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