:root {
  color-scheme: dark;
  /* Color Palette - Bluish Theme */
  --color-bg-dark: #0f1626;
  --color-bg-light: #162238;
  --color-primary: #3984c8;
  --color-primary-hover: #29669f;
  --color-secondary: #5ca1d4;
  --color-accent: #93c9ed;
  --color-text-main: #f8fafc;
  --color-text-muted: #aab5c6;

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.4);
  --glass-border: rgba(56, 189, 248, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  /* Solid fallback */
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Fix iOS Safari Bug: Animated gradients on body break backdrop-filter */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(-45deg, #070f20, #0f1626, #09132b, #11203b);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.5rem;
}

.highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-text-main);
}

/* Background Animated Shapes */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.6;
  animation: float-shape 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
  /* Hardware acceleration for Safari */
}

/* Greenscreen Canvas (removed) */

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -150px;
  left: -150px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  bottom: -100px;
  right: -150px;
  animation-delay: -5s;
  animation-duration: 22s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: #2a5285;
  top: 30%;
  left: 50%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes float-shape {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(80px, 50px) scale(1.15) rotate(45deg);
  }

  66% {
    transform: translate(-40px, 80px) scale(0.9) rotate(90deg);
  }

  100% {
    transform: translate(-60px, -30px) scale(1.05) rotate(180deg);
  }
}

/* UI Components */
.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* Floating Card / Glassmorphism */
.floating-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: var(--transition);
}

.floating-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

.verliescheine-wide {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
  overflow: visible;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(7, 15, 32, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.nav-logo .logo-icon {
  width: 140px;
  height: 140px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.5);
  transform-origin: left center;
  will-change: transform;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-text span {
  font-weight: 400;
  color: var(--color-accent);
  display: block;
  font-size: 0.8rem;
  line-height: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.79rem;
  position: relative;
  white-space: nowrap;
}

.nav-links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-links:hover::after,
.nav-links.active::after {
  width: 100%;
}

.btn-contact {
  background: rgba(59, 130, 246, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-contact::after {
  display: none;
}

.btn-contact:hover {
  background: var(--color-primary);
  color: white;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  appearance: none;
}

/* Dropdown styles for compact navigation */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.08);
  border-radius: 10px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1100;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu .nav-links {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.dropdown-menu .nav-links:hover {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.dropdown.open>.dropdown-menu,
.dropdown .dropdown-menu:focus-within {
  display: block;
}

.nav-menu.active .dropdown .dropdown-menu {
  position: static;
  display: none;
}

.dropdown.open>.dropdown-menu {
  display: block;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: white;
  transition: var(--transition);
}

/* SPA Architecture */
#app-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* Fix iOS 100vh issue */
@supports (-webkit-touch-callout: none) {
  #app-container {
    min-height: -webkit-fill-available;
  }
}

.page-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  z-index: 1;
}

/* Fix iOS 100vh issue for sections */
@supports (-webkit-touch-callout: none) {
  .page-section {
    min-height: 0;
  }
}

.page-section.active {
  min-height: 100vh;
  height: auto;
  padding: 8rem 2rem 4rem;
  overflow: visible;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 10;
  position: relative;
}

@supports (-webkit-touch-callout: none) {
  .page-section.active {
    min-height: -webkit-fill-available;
  }
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Hero Section */
.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 2rem;
}


/* left and right margin for hero h1 and p*/
.hero-container h1,
.hero-container p {
  margin-left: 1rem;
  margin-right: 1rem;
}


.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.icon-box img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: invert(1);
}

.pricing-hint {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.5), rgba(30, 58, 138, 0.3));
  border-left: 4px solid var(--color-primary);
}

.pricing-hint h3 {
  margin-bottom: 0.75rem;
}

.pricing-hint p {
  margin: 0 0 0.5rem;
}

/* Grid Layouts */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Lists styling */
ul {
  list-style: none;
}

.services-list ul li,
.documents-list ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-main);
}

.documents-list {
  display: flex;
  flex-direction: column;
}

.documents-list .btn {
  margin-top: auto;
}

.services-list ul li i,
.documents-list ul li i {
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.pricing-info,
.pricing-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.pricing-info p {
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

/* Private Section */
.price-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.price-value {
  font-weight: 700;
  color: var(--color-accent);
}

.compact-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compact-list li i {
  color: var(--color-primary);
  font-size: 0.8rem;
}

.checklist-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-main);
}

.checklist-card ul li i {
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.scrollable-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.scrollable-list::-webkit-scrollbar {
  width: 6px;
}

.scrollable-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.checklist-card {
  display: flex;
  flex-direction: column;
}

.checklist-card .btn {
  margin-top: auto;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}


.owner-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.owner-info strong {
  font-size: 1.2rem;
  color: var(--color-accent);
}

.owner-info span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.image-placeholder {
  height: 400px;
  background: linear-gradient(45deg, var(--color-bg-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.about-photo {
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.about-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.experience-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 140px;
  height: 140px;
  border-radius: 10px;
  background: #0b4c93;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.experience-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.5px;
}

.experience-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.partner-card {
  text-align: center;
  display: block;
}

.partner-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.partner-card h4 {
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.partner-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.info-item {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
}

.info-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-terms {
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  background: rgba(7, 15, 32, 0.6);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  width: 100%;
  margin-top: 2.5rem;
}

.footer-contact {
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  flex: 1;
  justify-content: center;
  text-align: center;
}

.footer-info:last-child {
  margin-bottom: 0;
}

.footer-info-icon {
  width: 63px;
  height: 63px;
  flex-shrink: 0;
}

.footer-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-info-text h4 {
  margin-bottom: 0.5rem;
}

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

.footer-info-text p {
  text-align: center;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  margin-right: 0.35rem;
  color: var(--color-accent);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 2rem));
  background: rgba(7, 15, 32, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-content p {
  margin: 0;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.footer-contact h4 {
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
  font-family: var(--font-heading);
}

.footer-contact p {
  margin: 0 0 0.75rem;
}

.copyright {
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

/* Animations & Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 992px) {

  .content-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    gap: 1rem;
  }

  .nav-logo .logo-icon {
    width: 68px;
    height: 68px;
  }

  .nav-menu {
    gap: 0.65rem;
  }

  .nav-links {
    font-size: 0.75rem;
  }

  .hero-content {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(7, 15, 32, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }

  .bg-shape {
    filter: blur(60px);
    /* Reduce blur intensity on mobile */
    opacity: 0.15;
    /* Drastically reduce opacity to prevent white-out on HDR/OLED iPhones */
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-section {
    padding: 6rem 1rem 3rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Mobile: make dropdowns expand inline and increase touch targets */
  .nav-menu .dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-menu .dropdown .dropdown-toggle {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
  }

  .nav-menu .dropdown .dropdown-menu {
    position: static;
    display: none;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    padding: 0.25rem 0 1rem 0;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.04);
    margin: 0.5rem auto;
    max-width: 92%;
    text-align: left;
  }

  .nav-menu .dropdown.open>.dropdown-menu {
    display: block;
  }

  .nav-menu .dropdown .dropdown-menu .nav-links {
    font-size: 0.75rem;
    display: block;
  }

  .nav-menu .dropdown .dropdown-menu .nav-links {
    padding-left: 1rem;
  }

  .dropdown .fa-caret-down {
    transition: transform 0.2s ease;
  }

  .dropdown.open .fa-caret-down {
    transform: rotate(180deg);
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-sep {
    display: none;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .experience-badge {
    left: 12px;
    bottom: 12px;
    width: 120px;
    height: 120px;
  }

  .experience-number {
    font-size: 2.2rem;
  }

  .experience-label {
    font-size: 0.68rem;
    letter-spacing: 1px;
  }
}
