/* ============================================================================
   KAISER VERSICHERUNGSMAKLER - SHARED STYLESHEET
   ============================================================================ */

/* CSS CUSTOM PROPERTIES */
:root {
  --blue: #042352;
  --cyan: #40c0f0;
  --white: #ffffff;
  --gray-light: #f5f7fb;
  --gray-border: #e8ecf2;
  --text-muted: #5a6a7e;
  --text-dark: #1a202c;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
  line-height: 1.8;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

ul, ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
}

/* TYPOGRAPHY UTILITIES */
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-cyan {
  color: var(--cyan);
}

.text-muted {
  color: var(--text-muted);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font);
  text-transform: none;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(64, 192, 240, 0.2);
}

.btn-primary {
  background-color: var(--cyan);
  color: var(--blue);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #1fa8d8;
  color: var(--blue);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--blue);
  color: var(--white);
}

.btn-secondary-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
}

.btn-secondary-white:hover {
  background-color: var(--white);
  color: var(--blue);
}

.btn-dark {
  background-color: var(--blue);
  color: var(--white);
  font-weight: 600;
}

.btn-dark:hover {
  background-color: #051e3e;
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 2.2rem;
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* NAVIGATION */
nav.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-border);
  transition: all 0.3s ease;
  padding: 0;
}

nav.main-nav.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a:not(.btn) {
  color: var(--blue);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-item > a:not(.btn):hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.nav-item > a:not(.btn).active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.nav-dropdown-label.active-label {
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-label {
  color: var(--blue);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  cursor: default;
  user-select: none;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > a::after,
.nav-dropdown-label::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.45rem;
  vertical-align: middle;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-dropdown:hover > a::after,
.nav-dropdown:hover > .nav-dropdown-label::after {
  transform: rotate(225deg) translateY(2px);
  opacity: 0.85;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  padding: 0.75rem 0;
  border-top: 3px solid var(--cyan);
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--blue);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--gray-light);
  color: var(--cyan);
  padding-left: 2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.375rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding-top: 80px;
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu > ul > li > a {
  display: block;
  padding: 1rem 2rem;
  color: var(--blue);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-border);
}

/* Hide CSS ::after arrow in mobile menu (replaced by chevron button) */
.mobile-menu .nav-dropdown > a::after,
.mobile-menu .nav-dropdown-label::after {
  display: none;
}

/* Chevron toggle button next to nav links in mobile menu */
.mobile-menu .mobile-chevron {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3.5rem;
  background: none;
  border: none;
  border-left: 1px solid var(--gray-border);
  color: var(--blue);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  padding: 0;
}

.mobile-menu .mobile-chevron.open {
  transform: rotate(180deg);
}

.mobile-menu .nav-dropdown {
  position: relative;
}

.mobile-menu .dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background-color: var(--gray-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  margin: 0;
}

.mobile-menu .nav-dropdown.active .dropdown-menu {
  max-height: 500px;
  padding: 0.75rem 0;
}

.mobile-menu .dropdown-menu a {
  padding: 0.75rem 2rem 0.75rem 3rem;
  font-size: var(--text-sm);
}

/* FOOTER */
footer {
  background-color: var(--blue);
  color: var(--white);
  padding: var(--space-2xl) var(--space-lg);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  opacity: 0.8;
}

.footer-brand {
  margin-bottom: var(--space-xl);
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: var(--space-md);
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: var(--space-xl) 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--cyan);
  color: var(--blue);
}

/* SECTIONS */
section {
  padding: var(--space-2xl) var(--space-lg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero.with-image {
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed entfernt – bricht auf iOS/mobile */
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18));
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 var(--space-lg);
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: var(--space-lg);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* HERO SMALL */
.hero-small {
  margin-top: 73px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-small .hero-overlay {
  background: linear-gradient(to right, rgba(4,35,82,0.85) 0%, rgba(4,35,82,0.5) 60%, rgba(4,35,82,0.2) 100%);
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb span {
  opacity: 0.6;
}

/* CARDS */
.card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-top-color: var(--cyan);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: var(--space-lg);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.card-list li {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
  padding-left: 1.75rem;
  position: relative;
}

.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* QUOTE BLOCK */
.quote-block {
  border-left: 4px solid var(--cyan);
  padding: var(--space-lg);
  background-color: var(--gray-light);
  border-radius: 0.375rem;
  font-size: var(--text-lg);
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.8;
  margin: var(--space-xl) 0;
}

/* GRID LAYOUTS */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 2-COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-left {
  flex: 1;
}

.two-col-right {
  flex: 1;
}

/* VALUE CARD (legacy) */
.value-card {
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: 0.5rem;
  text-align: center;
}
.value-card h3 { color: var(--blue); margin-bottom: var(--space-md); }
.value-card p  { color: var(--text-muted); font-size: var(--text-sm); }

.value-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: var(--space-md);
}

/* ICON CIRCLE (legacy) */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background-color: var(--cyan);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

/* STATS ROW */
.stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 12px;
  border-top: 3px solid var(--cyan);
}
.stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item .stat-label {
  font-size: var(--text-sm);
  color: #4a5a6e;
}

/* REFERENCE CARDS (B2B) */
.reference-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(4,35,82,0.06);
  display: flex;
  flex-direction: column;
}
.reference-logo-wrap {
  padding: 1.5rem;
  border-bottom: 1px solid #e8edf2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: #f7f9fc;
}
.reference-logo-wrap img {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
}
.reference-logo-placeholder {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c0ccd8;
  border: 2px dashed #dde3ea;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
}
.reference-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.reference-body p {
  font-size: var(--text-sm);
  color: #3a4a5c;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(4,35,82,0.06);
}
.testimonial-card--business {
  border-top: 3px solid var(--cyan);
}
.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--cyan);
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}
.testimonial-card p {
  font-size: var(--text-sm);
  color: #3a4a5c;
  line-height: 1.7;
  flex: 1;
  margin: 0;
  font-style: italic;
}
.testimonial-author {
  border-top: 1px solid #e8edf2;
  padding-top: 1rem;
  margin-top: auto;
}
.testimonial-name {
  font-weight: 700;
  color: var(--blue);
  font-size: var(--text-sm);
}
.testimonial-location {
  font-size: var(--text-xs);
  color: #94a3b8;
  margin-top: 0.15rem;
}
@media (max-width: 768px) {
  .stats-row { flex-direction: column; }
}

/* VORTEIL TILES */
.vorteil-tile {
  padding: 1.75rem 1.5rem;
  background: #f7f9fc;
  border-radius: 12px;
  border-left: 4px solid var(--cyan);
  transition: box-shadow 0.2s, transform 0.2s;
}
.vorteil-tile:hover {
  box-shadow: 0 6px 24px rgba(4,35,82,0.1);
  transform: translateY(-3px);
}
.vorteil-icon {
  width: 44px; height: 44px;
  background: rgba(64,192,240,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.vorteil-icon svg {
  width: 22px; height: 22px;
}
.vorteil-tile h3 {
  color: var(--blue);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.vorteil-tile p {
  color: #4a5a6e;
  font-size: var(--text-sm);
  line-height: 1.65;
  margin: 0;
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background-color: var(--cyan);
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.badge-accent {
  background-color: var(--cyan);
  color: var(--blue);
}

.badge-outline {
  background-color: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

/* FORM STYLES */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-dark);
  font-size: var(--text-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-border);
  border-radius: 0.375rem;
  font-family: var(--font);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(64, 192, 240, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.required::after {
  content: '*';
  color: #ef4444;
  margin-left: 0.25rem;
}

/* BACKGROUND VARIATIONS */
.bg-white {
  background-color: var(--white);
}

.bg-gray {
  background-color: var(--gray-light);
}

.bg-blue {
  background-color: var(--blue);
}

.bg-blue h2,
.bg-blue h3,
.bg-blue p {
  color: var(--white);
}

.bg-blue .section-label {
  color: var(--cyan);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

section.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

section.fade-in.visible {
  opacity: 1;
}

/* UTILITY CLASSES */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

.text-bold {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .hero-small {
    margin-top: 65px;
  }
  
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .two-col.reverse {
    direction: ltr;
  }
  
  .hero-stats {
    gap: var(--space-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 2.5rem;
    --space-xl: 2rem;
    --space-lg: 1.5rem;
  }
  
  section {
    padding: var(--space-xl) var(--space-lg);
  }
  
  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    min-height: 80vh;
    align-items: flex-start;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 var(--space-md);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: none;
    padding-top: var(--space-lg);
  }
  
  .stat {
    align-items: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }
  
  .dropdown-menu {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--gray-light);
    margin-top: 0;
    padding: 0;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .two-col {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
    --space-lg: 1rem;
  }
  
  section {
    padding: var(--space-lg) 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
  }
}


/* ============================================================================
   COOKIE CONSENT BANNER
   ============================================================================ */

#cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 35, 82, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#cookie-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#cookie-banner {
  background: var(--white);
  width: 100%;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  border-radius: 16px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(30px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

#cookie-overlay.visible #cookie-banner {
  transform: translateY(0);
}

.cookie-content {
  padding: var(--space-lg);
}

.cookie-content h3 {
  font-size: var(--text-xl);
  color: var(--blue);
  margin-bottom: var(--space-xs);
}

.cookie-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.cookie-content .cookie-link {
  margin-bottom: var(--space-md);
}

.cookie-content .cookie-link a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: var(--space-lg);
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-dark);
  cursor: pointer;
}

.cookie-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.cookie-checkbox input[disabled] {
  opacity: 0.6;
  cursor: default;
}

.cookie-checkbox small {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}

.cookie-btn-primary:hover {
  background: #35a8d4;
  border-color: #35a8d4;
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.cookie-btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--gray-border);
}

.cookie-btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-dark);
}

@media (max-width: 768px) {
  #cookie-banner {
    margin: 0;
    border-radius: 16px 16px 0 0;
    max-height: 85vh;
  }

  .cookie-content {
    padding: var(--space-md);
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
