/* ---------------- 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background-color: #fff;
  color: #14223b;
  font-family: 'Roboto', Arial, sans-serif;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }


/* -------------------- BRAND VARIABLES --------------------- */
:root {
  --color-primary: #173161;
  --color-secondary: #DFE5F2;
  --color-accent: #EAA213;
  --color-bg: #F7F8FA;
  --color-border: #e6eaf3;
  --color-text: #1a2233;
  --color-muted: #848E9C;
  --color-white: #fff;
  --color-success: #22b573;
  --shadow-card: 0 4px 16px 0 rgba(23, 49, 97, .07);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: all 0.22s cubic-bezier(.6,.04,.46,1);
}

/* ---- LOAD FONT-FAMILIES ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');


/* ----------------- GENERAL LAYOUT ------------------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  margin-top: 0;
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ------------- TYPOGRAPHY HIERARCHY ---------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-primary);
}
p, li {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}
strong {
  color: var(--color-primary);
  font-weight: 600;
}
.small {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* -------------- LINKS & CTAs ----------------- */
a {
  color: var(--color-primary);
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-accent);
  outline: none;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 38px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(23,49,97,0.12);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  text-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 24px 0 rgba(234,162,19,0.16);
}

/* ---------------- HEADER & NAV ------------------ */
header {
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 rgba(23,49,97,.03);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  cursor: pointer;
  margin-left: 10px;
  z-index: 1100;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

/* ------------- MOBILE SLIDE-IN NAV ------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(23, 49, 97, .96);
  color: var(--color-white);
  z-index: 2002;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 50px;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.53,.25,.7,1.1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-accent);
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 22px; right: 24px;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 3;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-white);
  background: rgba(234,162,19,0.14);
  border-radius: 50%;
}
.mobile-nav {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.33rem;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: .5px;
  transition: color var(--transition);
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}


/* --------- HERO SECTION ---------- */
.hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 0 8px 36px 0 rgba(23,49,97,.09);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.hero h1 {
  color: var(--color-accent);
  font-size: 2.25rem;
  line-height: 1.18;
  margin-bottom: 8px;
  letter-spacing: 0.7px;
}
.hero p {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 18px;
}
.hero .cta-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.08rem;
  box-shadow: 0 4px 18px 0 rgba(234,162,19,0.18);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ---------- FEATURES SECTION ---------- */
.features {
  background: var(--color-secondary);
  margin-bottom: 60px;
  padding: 40px 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(23,49,97,.04);
}
.features .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 18px 20px;
  min-width: 220px;
  width: 100%;
  max-width: 272px;
  gap: 15px;
  border-left: 4px solid var(--color-accent);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature-item:hover,
.feature-item:focus {
  box-shadow: 0 8px 28px 0 rgba(23,49,97,.15);
  transform: translateY(-3px) scale(1.03);
}
.feature-item img {
  width: 38px; height: 38px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-bottom: 4px;
  font-weight: 700;
}
.feature-item p {
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 400;
  margin-bottom: 0;
}

/* ----------- SERVICES OVERVIEW --------------- */
.services-overview {
  background: var(--color-bg);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px 0 rgba(23,49,97,.03);
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--color-white);
  padding: 18px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  font-weight: 400;
  gap: 14px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 20px;
}
.service-list li span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  align-self: flex-end;
}

/* ----------- TESTIMONIALS -------------- */
.testimonials {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 2px 10px 0 rgba(23,49,97,.07);
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-white);
  padding: 20px 28px 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px 0 rgba(23,49,97,0.07);
  border-left: 4px solid var(--color-accent);
  max-width: 372px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(23,49,97,0.18);
  transform: translateY(-2px) scale(1.025);
}
.testimonial-card p {
  font-size: 1.01rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-meta {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ----------- CTA SECTION ---------------- */
.cta-section {
  background: var(--color-primary);
  text-align: center;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 16px 0 rgba(23,49,97,.10);
}
.cta-section h2 {
  color: var(--color-accent);
  margin-bottom: 18px;
  font-size: 2rem;
}
.cta-section .cta-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 16px;
}
.cta-section .cta-btn:hover, .cta-section .cta-btn:focus {
  background: var(--color-white);
  color: var(--color-primary);
}


/* --------------- ABOUT PAGE ------------- */
.about-section, .why-us-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 10px 0 rgba(23,49,97,.04);
}
.text-section h2, .text-section h3 {
  margin-top: 20px;
}
.benefits-list, .credentials-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.credentials-block {
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px 0 rgba(23,49,97,0.05);
  margin-bottom: 16px;
}
.local-expertise {
  background: var(--color-secondary);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
}

/* --------------- LEISTUNGEN (Table) ------------- */
.services-detailed {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 10px 0 rgba(23,49,97,.04);
}
.service-table, .pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  margin-bottom: 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 0.99rem;
}
.service-table th, .service-table td,
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 18px;
}
.service-table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.service-table tr:nth-child(even),
.pricing-table tr:nth-child(even) {
  background: var(--color-bg);
}
.service-table td, .pricing-table td {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.service-table tbody tr:last-child td, .pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.usp-highlights {
  background: var(--color-secondary);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 1rem;
  box-shadow: 0 1px 7px 0 rgba(23,49,97,.06);
}
.usp-highlights ul {
  margin-left: 18px;
  list-style: disc;
}

/* -------------- PROZESS & PREISE --------------- */
.process-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 10px 0 rgba(23,49,97,.04);
}
.process-section ol {
  padding-left: 21px;
  margin-bottom: 18px;
}
.process-section li {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 1.02rem;
}
.infographics-block img {
  width: 100%;
  max-width: 390px;
  height: auto;
}
.pricing-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 10px 0 rgba(23,49,97,.04);
}
.faq-snippet {
  margin-top: 16px;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 2px 8px 0 rgba(23,49,97,.10);
  color: var(--color-primary);
  font-size: 1rem;
}
.faq-snippet a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
}

/* -------------- FAQ PAGE ------------- */
.faq-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 9px 0 rgba(23,49,97,.03);
}
.faq-section .content-wrapper {
  gap: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 18px;
}
.faq-item h2 {
  font-size: 1.22rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.faq-item p {
  font-size: 0.99rem;
}
.cta-faq {
  background: var(--color-secondary);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 20px;
  box-shadow: 0 2px 7px 0 rgba(23,49,97,.06);
}
.cta-faq a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
}

/* -------------- CONTACT PAGE ------------- */
.contact-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 10px 0 rgba(23,49,97,.03);
}
.contact-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom: 34px;
}
.contact-details {
  flex: 1 1 180px;
  min-width: 190px;
  font-size: 1rem;
  color: var(--color-text);
}
.contact-details img {
  width: 20px; height: 20px; margin-right: 8px; vertical-align: middle;
}
.contact-details p {
  margin-bottom: 12px;
  display: flex; align-items: center;
}
.contact-form-info {
  flex: 2 1 260px;
  min-width: 210px;
  margin-left: 12px;
}
.map-block {
  background: var(--color-secondary);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  margin-top: 8px;
  box-shadow: 0 2px 8px 0 rgba(23,49,97,.04);
}
.map-block h2 {
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.map-block p {
  font-size: 0.94rem;
}

/* -------------- THANK YOU PAGE ------------- */
.thank-you-section {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 60px 20px;
  box-shadow: 0 2px 13px 0 rgba(23,49,97,.07);
  text-align: center;
}
.thank-you-section h1 {
  color: var(--color-accent);
  font-size: 2.1rem;
}
.thank-you-section p {
  margin-bottom: 22px;
  font-size: 1.1rem;
}
.thank-you-section .cta-btn {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ------------- LEGAL SECTIONS -------------- */
.legal-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 8px 0 rgba(23,49,97,.03);
}
.text-section ul {
  margin-left: 22px;
  list-style: disc;
  margin-bottom: 18px;
}
.text-section a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --------------- FOOTER ----------------- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -2px 18px 0 rgba(23,49,97,.09);
  padding: 0 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 42px 20px 13px 20px;
}
footer img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  opacity: .94;
  transition: color var(--transition), opacity var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--color-white);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  color: var(--color-white);
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 19px; height: 19px;
  filter: brightness(200%);
}
footer .small {
  font-size: 0.78rem;
  color: #dfdacf;
}

/* ---------- COOKIE CONSENT BANNER ----------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 -2px 12px 0 rgba(23,49,97,.1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  padding: 20px 12px 20px 12px;
  min-height: 54px;
  font-size: 1rem;
  animation: cookieSlideIn 0.48s cubic-bezier(0.6,0,0.38,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 1rem;
}
#cookie-banner .cookie-btn {
  background: var(--color-primary);
  color: var(--color-white);
  margin-left: 12px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background var(--transition), color var(--transition);
}
#cookie-banner .cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
#cookie-banner .cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
#cookie-banner .cookie-btn.reject {
  background: #a9b6cd;
  color: var(--color-white);
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
/* ------------- COOKIE SETTINGS MODAL ------------- */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,49,97,0.38);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 0.18s cubic-bezier(.7,.5,1,.94);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#cookie-modal .modal-content {
  background: var(--color-white);
  padding: 32px 28px 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(23,49,97,0.17);
  color: var(--color-text);
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
#cookie-modal .modal-content h2 {
  font-size: 1.14rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 7px;
}
#cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
  font-size: 1.03rem;
}
#cookie-modal .category label {
  font-size: 1.02rem;
  color: var(--color-primary);
  font-weight: 500;
}
#cookie-modal .toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
}
#cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#cookie-modal .slider {
  position: absolute;
  top:0; left:0;
  height: 100%; width: 100%;
  border-radius: 11px;
  background: #a9b6cd;
  transition: background var(--transition);
  cursor: pointer;
}
#cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-accent);
}
#cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px; height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 5px rgba(23,49,97,0.09);
}
#cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
#cookie-modal .modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: transparent;
  color: var(--color-accent);
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  color: var(--color-primary);
}

/* ------ FLEXBOX SPACING PATTERNS (MANDATORY) ------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ FLEXBOX ALIGNMENT, RESPONSIVE RULES ------ */
@media (max-width: 1050px) {
  .feature-grid, .testimonial-list {
    justify-content: center;
  }
  .feature-item, .testimonial-card {
    min-width: 140px;
    max-width: 90vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  footer .container {
    gap: 19px;
    padding: 32px 10px 11px 10px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.23rem; }
  h3, .h3 { font-size: 1.05rem; }
  .hero, .features, .testimonials, .cta-section,
  .about-section, .why-us-section, .services-overview,
  .service-list li, .service-table, .pricing-table, .process-section,
  .pricing-section, .faq-section, .thank-you-section, .legal-section, .contact-section {
    border-radius: var(--radius-md);
    padding: 28px 6px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    padding: 11px 24px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .testimonial-list, .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .testimonial-card, .service-list li {
    min-width: 110px;
    max-width: 100vw;
    padding: 13px 10px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .contact-info-block {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .container,
  footer .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .footer-contact, .footer-nav {
    gap: 10px;
  }
  #cookie-banner {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  #cookie-modal .modal-content {
    padding: 14px 4px 12px 4px;
  }
}

/*--------------------- ANIMATIONS & MICRO-INTERACTIONS --------------------------*/
button, .cta-btn, #cookie-banner .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .modal-close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card, .feature-item, .testimonial-card {
  will-change: transform, box-shadow;
}

/* ------ FOCUS STATES ------- */
a:focus, button:focus, .cta-btn:focus, .footer-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ------------ HIDE COOKIE BANNER INITIALLY ----------- */
#cookie-banner[hidden] { display:none !important; }
#cookie-modal[hidden] { display:none !important; }

/* ------ UTILS ------ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-30 { margin-bottom: 30px; }
.hide { display: none !important; }

/* END CSS */
