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

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;
}

body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #181e35; /* fallback */
  color: #f5f5f5;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #181e35;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

ol, ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:focus {
  outline: 2px solid #51A6D6;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}

/* ====================
   COLOR VARIABLES
   ==================== */
:root {
  --color-primary: #253057;
  --color-secondary: #51A6D6;
  --color-accent: #F5F5F5;

  --color-bg-dark: #181e35;
  --color-bg-card: #212947;
  --color-bg-footer: #1b243e;
  --color-bg-hero: #232d4f;
  --color-box-neon: #233362;
  --color-neon: #38cafe;
  --color-error: #d43c4e;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ====================
   LAYOUT CONTAINERS & SPACING
   ==================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(56,202,254,0.08), 0 1.5px 22px rgba(49,166,214,0.08);
  border: 2px solid transparent;
  transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}
.card:hover {
  border: 2px solid var(--color-neon);
  box-shadow: 0 8px 32px 0 rgba(80, 215, 255, 0.15), 0 1.5px 22px rgba(49,166,214,0.2);
  transform: translateY(-4px) scale(1.025);
}

.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;
  background: #f5f5f5;
  color: #232d4f;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(49,166,214,0.09);
  margin-bottom: 20px;
  flex: 0 1 340px;
  position: relative;
  min-width: 240px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====================
   TYPOGRAPHY
   ==================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.012em;
  margin-bottom: 0.5em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.14rem; }
h4 { font-size: 1rem; }
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}

p, ul, li, .feature-price, label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #d1dbf5;
}

.subheadline, .feature-intro {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.strong, strong {
  font-weight: 700;
  color: var(--color-secondary);
}

ul.usp-list li {
  position: relative;
  margin-left: 0;
  padding-left: 20px;
  margin-bottom: 10px;
}
ul.usp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 8px #38cafe88;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  background: var(--color-bg-hero);
  box-shadow: 0 2px 20px rgba(49, 166, 214, 0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  color: #c5e2fe;
  padding: 8px 0;
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
  transition: color 0.2s;
}
header nav a.cta-button {
  color: #232d4f;
  background: linear-gradient(90deg, #38cafe 20%, #51a6d6 100%);
  border-radius: 40px;
  padding: 10px 28px;
  margin-left: 10px;
  box-shadow: 0 4px 18px 0 rgba(49,166,214,0.13);
  font-weight: 700;
  border: 2px solid #38cafe;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s;
}
header nav a.cta-button:hover,
header nav a.cta-button:focus {
  background: linear-gradient(90deg, #51a6d6 10%, #38cafe 90%);
  color: #fff;
  box-shadow: 0 6px 24px 0 #38cafe55;
}
header nav a:not(.cta-button):hover,
header nav a:not(.cta-button):focus {
  color: #38cafe;
}

header img {
  height: 38px;
  width: auto;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #38cafe;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 4px 12px;
  margin-left: 18px;
  border: 2px solid transparent;
  transition: box-shadow 0.15s, background 0.15s, border 0.17s;
  z-index: 210;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border: 2px solid #38cafe;
  background: rgba(56,202,254,0.07);
}
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,30,53,0.98);
  z-index: 200;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.59,.15,.5,1.34), opacity 0.17s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  padding: 12px 24px 12px 0;
  background: none;
  color: #38cafe;
  font-size: 2.1rem;
  align-self: flex-end;
  border: none;
  margin-top: 18px;
  margin-right: 14px;
  border-radius: 50%;
  transition: color 0.14s, background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #51a6d6;
  background: rgba(49, 166, 214, 0.11);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  padding-left: 28px;
  margin-top: 38px;
  font-size: 1.3rem;
}
.mobile-nav a {
  color: #d8e8fe;
  text-decoration: none;
  padding: 13px 0;
  font-family: var(--font-display);
  font-weight: 600;
  position: relative;
  border-bottom: 1px solid #334176;
  transition: color 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #38cafe;
}

@media (max-width: 600px) {
  .mobile-nav {
    padding-left: 16px;
    font-size: 1.05rem;
  }
  .mobile-menu-close {
    padding-right: 8px;
  }
}

/* ====================
   HERO SECTIONS
   ==================== */
.hero {
  background: var(--color-bg-hero);
  background-image: linear-gradient(110deg,#233362 60%,#2c407b 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 38px;
  box-shadow: 0 8px 44px 0 rgba(49, 166, 214, 0.08);
  border-bottom: 2.5px solid #38cafe11;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 190px;
}
.hero .content-wrapper {
  gap: 22px;
}

.hero h1 {
  color: #fff;
  font-size: 2.1rem;
  text-shadow: 0 2px 10px #232d4f44;
}
.hero .subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  color: #38cafe;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px #38cafe15;
}
@media (min-width: 650px) {
  .hero h1 { font-size: 2.8rem; }
  .hero .subheadline { font-size: 1.29rem; }
}

/* ====================
   FEATURES, CARDS, COURSES
   ==================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 235px;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 30px 22px 28px 22px;
  box-shadow: 0 1.5px 18px rgba(49,166,214,0.11);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  transition: box-shadow 0.22s, border 0.22s, transform 0.2s;
}
.feature-grid > div:hover {
  border: 2px solid #38cafe;
  box-shadow: 0 7px 30px 0 #38cafe26;
  transform: translateY(-4px) scale(1.027);
}
.feature-grid img {
  height: 34px;
  width: 34px;
  margin-bottom: 6px;
}
.feature-price {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #38cafe;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  margin-bottom: 24px;
}
.service-block {
  flex: 1 1 260px;
  min-width: 235px;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 28px 20px 18px 20px;
  box-shadow: 0 1.5px 18px rgba(49,166,214,0.14);
  border: 2px solid transparent;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border 0.22s, transform 0.21s;
}
.service-block:hover {
  border: 2px solid #51A6D6;
  box-shadow: 0 7px 24px 0 #51a6d633;
  transform: translateY(-4px) scale(1.022);
}
.service-block h3 {
  color: #fff;
  font-size: 1.13rem;
}
.service-block p {
  color: #c6d8ee;
}

.profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
}
.profile-grid > div {
  background: var(--color-bg-card);
  border-radius: 14px;
  box-shadow: 0 1px 15px #38cafe11;
  padding: 27px 20px 19px 20px;
  flex: 1 1 215px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, border 0.18s, transform 0.2s;
  border: 2px solid transparent;
}
.profile-grid > div:hover {
  border: 2px solid var(--color-neon);
  box-shadow: 0 5px 18px 0 #38cafe1a;
  transform: translateY(-2px) scale(1.018);
}

.icon-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  margin-bottom: 7px;
}
.icon-list img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  background: rgba(56,202,254,0.09);
  box-shadow: 0 3px 16px rgba(56,202,254,0.09);
  padding: 8px;
}

/* ====================
   TESTIMONIALS & RATINGS
   ==================== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.ratings, .ratings-overview {
  color: #38cafe;
  margin: 18px 0 0 0;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.ratings-overview ul {
  margin-top: 8px;
  margin-left: 0;
  padding-left: 20px;
  color: #d1dbf5;
  font-weight: 400;
}

/* ====================
   FAQ ACCORDION
   ==================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  background: var(--color-bg-card);
  border-radius: 12px;
  box-shadow: 0 1.5px 14px #38cafe13;
  padding: 20px 22px;
  transition: box-shadow 0.19s, border 0.18s, transform 0.2s;
  border: 2px solid transparent;
}
.faq-item:hover, .faq-item.open {
  border: 2px solid #38cafe;
  box-shadow: 0 6px 16px #38cafe15;
  transform: translateY(-2px) scale(1.01);
}
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #38cafe;
  cursor: pointer;
  margin-bottom: 6px;
  transition: color .18s;
}
.faq-answer {
  color: #c6d8ee;
  font-size: .99rem;
  margin-top: 9px;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn .34s;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: none; }
}

/* ====================
   FORMS & NEWSLETTER
   ==================== */
form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
label {
  color: #38cafe;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-right: 5px;
}
input[type=email], input[type=text], input[type=password] {
  border-radius: 8px;
  border: 1.8px solid #334176;
  padding: 8px 14px;
  width: 205px;
  background: #252e52;
  color: #f5f5f5;
  font-size: 1rem;
  margin-right: 6px;
  box-shadow: 0 2px 7px rgba(56,202,254,0.06);
  transition: border .16s, box-shadow .18s;
}
input[type=email]:focus {
  border: 1.8px solid #38cafe;
  box-shadow: 0 0 9px #38cafe32;
}
.newsletter button {
  background: linear-gradient(90deg, #38cafe 20%, #51a6d6 100%);
  color: #232d4f;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 18px;
  border: 2px solid #38cafe;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 2px 12px #38cafe14;
  transition: background 0.2s, color 0.2s, box-shadow .18s;
}
.newsletter button:hover,
.newsletter button:focus {
  background: linear-gradient(90deg, #51a6d6 5%, #38cafe 95%);
  color: #fff;
  box-shadow: 0 0 12px #38cafe36;
}

/* ====================
   CTA BUTTONS
   ==================== */
.cta-button {
  display: inline-block;
  color: #232d4f;
  background: linear-gradient(90deg, #38cafe 20%, #51a6d6 100%);
  border-radius: 40px;
  padding: 13px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.06rem;
  border: 2px solid #38cafe;
  box-shadow: 0 4px 18px 0 #38cafe26;
  transition: background 0.22s, color 0.2s, box-shadow 0.19s, transform 0.13s;
  margin-top: 14px;
}
.cta-button:hover, .cta-button:focus {
  color: #fff;
  background: linear-gradient(90deg, #51a6d6 10%, #38cafe 90%);
  box-shadow: 0 6px 25px 0 #38cafe44;
  transform: translateY(-3px) scale(1.018);
}

/* ====================
   FOOTER STYLES
   ==================== */
footer {
  background: var(--color-bg-footer);
  color: #bfd4e5;
  font-size: 1rem;
  padding: 56px 0 36px 0;
  margin-top: 90px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  width: 55px;
  height: 55px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 14px #38cafe27);
}
.footer-nav, .footer-policies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-policies a {
  color: #a0b7d7;
  font-family: var(--font-display);
  font-size: 1.04rem;
  padding: 2px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-policies a:hover {
  color: #38cafe;
}
.footer-contact {
  font-size: .98rem;
  max-width: 315px;
  line-height: 1.65;
}

.newsletter {
  min-width: 250px;
  margin-top: 14px;
}

/* ====================
   MISCELLANEOUS
   ==================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.1rem;
}

/* For .ratings-overview in erfahrungen.html */
.ratings-overview {
  background: var(--color-bg-card);
  padding: 18px 20px;
  border-radius: 13px;
  box-shadow: 0 1.5px 14px #38cafe0d;
  color: #38cafe;
  margin-top: 22px;
}
.ratings-overview p {
  color: #38cafe;
  font-weight: 600;
}
.ratings-overview ul li {
  color: #d1dbf5;
}

/* ================
   COOKIE CONSENT BANNER
   ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #232d4f;
  color: #f5f5f5;
  box-shadow: 0 -2px 12px #38cafe26;
  padding: 22px 18px 18px 18px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px 14px;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .25s, transform .32s cubic-bezier(.68,.17,.52,1.23);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-message {
  flex: 1 1 280px;
  font-size: 1.02rem;
}
.cookie-banner .cookie-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 30px;
  border: 2px solid #38cafe;
  background: linear-gradient(90deg,#38cafe 20%, #51a6d6 100%);
  color: #232d4f;
  padding: 9px 21px;
  font-size: 1rem;
  margin-right: 4px;
  transition: background .18s, color .19s, border .14s;
  box-shadow: 0 2px 10px #38cafe22;
  margin-bottom: 2px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: linear-gradient(90deg,#51a6d6 10%,#38cafe 95%);
  color: #fff;
}
.cookie-btn.secondary {
  background: none;
  color: #38cafe;
  border: 2px solid #38cafe;
}
.cookie-btn.secondary:hover {
  background: #23336244;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 14999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,29,54,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #232d4f;
  padding: 38px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 4px 36px #38cafe19;
  width: 98%;
  max-width: 400px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn .32s;
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(.85) translateY(80px); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  color: #38cafe;
  font-size: 1.3rem;
  margin-bottom: 1px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  color: #d4e5ff;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #38cafe;
  width: 18px;
  height: 18px;
}
.cookie-category .always-on {
  color: #38cafe;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #38cafe;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 18px; right: 24px;
  cursor: pointer;
  font-weight: 700;
}

/* ================
   RESPONSIVENESS
   ================ */
@media (max-width: 1000px) {
  .content-wrapper, .footer .content-wrapper, main .container {
    gap: 24px;
  }
  .feature-grid, .profile-grid, .testimonial-slider, .testimonial-list {
    gap: 16px;
  }
  .card, .feature-grid > div, .service-block, .testimonial-card, .profile-grid > div {
    min-width: unset;
    padding-left: 13px; padding-right: 13px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .service-list, .profile-grid {
    flex-direction: column;
    gap: 14px;
  }
  .faq-accordion {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper, main .container, .footer .content-wrapper {
    gap: 18px;
  }
  .hero .container {
    min-height: 140px;
    padding: 22px 12px 22px 12px;
  }
  .hero {
    min-height: 140px;
    padding: 0;
  }
  .feature-grid, .service-list, .profile-grid, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card, .feature-grid > div, .service-block, .profile-grid > div {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
  .mobile-menu {
    font-size: 1.01rem;
  }
  .cookie-banner .cookie-message {
    font-size: .98rem;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .section, .hero, .hero .container {
    padding: 9px;
  }
  .footer-nav, .footer-policies, .newsletter {
    font-size: .92rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    font-size: .98rem;
  }
}

/* ====================
   UTILITIES
   ==================== */
.text-center { text-align: center; }
.neon-text { color: #38cafe; }
.bg-neon {
  background: #292e63;
  color: #38cafe;
  border-radius: 8px;
  padding: 10px 18px;
}
/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2.5px solid #38cafe;
  outline-offset: 1.5px;
}

/* ====================
   DECORATIVE
   ==================== */
hr {
  border: none;
  border-top: 1.5px solid #334176;
  margin: 34px 0;
}

/* ====================
   OVERRIDES & EDGE CASES
   ==================== */
/* Ensure no content overlap and safe line heights */
.card, .feature-grid > div, .service-block, .testimonial-card, .profile-grid > div {
  margin-bottom: 20px;
}

/* For dark-on-light testimonials */
.testimonial-card {
  background: #f5f5f5;
  color: #232d4f;
}
.testimonial-card strong { color: #253057; }

/* Prevent px values from being too small on mobile */
@media (max-width: 410px) {
  h1, h2, h3 { font-size: 1rem; }
}
