/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth !important; }
body { font-family: 'Inter', sans-serif; }
section[id] { scroll-margin-top: 72px; }

/* ===== HERO ===== */
.hero-bg {
  background: linear-gradient(135deg, #0f2460 0%, #1d4ed8 45%, #2563eb 75%, #3b82f6 100%);
}
.text-gradient {
  background: linear-gradient(90deg, #93c5fd, #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
}

/* ===== NAVBAR ===== */
#navbar { background: transparent; }
#navbar.nav-scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.08);
}
.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after {
  width: 100%;
  right: auto;
  left: 0;
}
.nav-link:not(:hover)::after {
  width: 0;
  right: 0;
  left: auto;
}
.nav-link:hover { color: #fff; }
.nav-scrolled .nav-link        { color: #374151; }
.nav-scrolled .nav-link:hover  { color: #2563eb; }
.nav-scrolled .nav-logo-text   { color: #111827 !important; }
.nav-scrolled #menu-btn        { color: #374151 !important; }
.nav-scrolled .lang-btn        { border-color: #d1d5db; color: #374151; }
.nav-scrolled .lang-btn:hover  { background: #eff6ff; border-color: #2563eb; color: #2563eb; }

.mobile-nav-link {
  display: block;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: #2563eb; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  background: #eff6ff;
}
.nav-scrolled .nav-cta {
  background: #2563eb;
  color: white;
}
.nav-scrolled .nav-cta:hover { background: #1d4ed8; }

/* ===== BUTTONS ===== */
@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
  50%       { box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 0 5px rgba(255,255,255,0.22), 0 0 0 10px rgba(255,255,255,0.06); }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s, background 0.2s;
  animation: hero-cta-glow 2.5s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #eff6ff;
  animation: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(219,234,254,0.7);
  box-shadow: 0 2px 16px rgba(37,99,235,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: box-shadow 0.3s ease, border-color 0.2s ease;
  will-change: transform;
}
.service-card:hover {
  box-shadow: 0 20px 50px rgba(37,99,235,0.14), inset 0 1px 0 rgba(255,255,255,1);
  border-color: rgba(147,197,253,0.9);
}
.service-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.service-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
}
.service-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 0.25rem;
}
.service-cta:hover { color: #2563eb; }

/* ===== TRUST CHIPS ===== */
.trust-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.trust-chip:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* ===== PROCESS ===== */
.process-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.process-card:hover {
  box-shadow: 0 12px 32px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #2563eb;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.process-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background: #eff6ff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.process-desc {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: background 0.25s, transform 0.25s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-4px);
}
.testimonial-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}
.testimonial-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.125rem;
}

/* ===== ABOUT ===== */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.about-card {
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
}
.about-stat-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.about-stat-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,0.1); }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.875rem;
  overflow: hidden;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s;
}
.faq-question:hover { color: #2563eb; }
.faq-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: #2563eb; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.375rem;
}
.faq-answer p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.75;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== CONTACT ===== */
.contact-form {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.625rem;
  padding: 0.7rem 0.875rem;
  font-size: 0.9375rem;
  color: #111827;
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-input::placeholder { color: #9ca3af; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2563eb;
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn-submit:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}
.btn-submit:active { transform: translateY(0); }

/* ===== FOOTER ===== */
.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #1f2937;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.social-icon:hover { background: #2563eb; color: white; border-color: #2563eb; }
.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: #ffffff; }

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  position: relative;
  height: 64px;
  overflow: hidden;
  margin-bottom: -1px;
}
.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
}
.wave-path {
  animation: wave-move 6s linear infinite;
  opacity: 0.6;
}
.wave-path-2 {
  animation: wave-move 9s linear infinite reverse;
  opacity: 0.4;
}
@keyframes wave-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* wave colours — backgrounds on wrapper, fills on paths */
.wave-white            { background: #1d4ed8; }
.wave-white-from-gray  { background: #f9fafb; }
.wave-blue             { background: #ffffff; }
.wave-gray-from-blue   { background: #1d4ed8; }

/* default path fill (white waves out of blue) */
.wave-white      .wave-path,
.wave-white      .wave-path-2  { fill: #ffffff; }

/* gray waves out of gray bg */
.wave-white-from-gray .wave-gray,
.wave-white-from-gray .wave-path,
.wave-white-from-gray .wave-path-2 { fill: #ffffff; }

/* blue waves into blue section */
.wave-blue       .wave-blue-path { fill: #1d4ed8; }

/* gray waves out of blue section */
.wave-gray-from-blue .wave-gray-path { fill: #f9fafb; }

/* ===== SHIMMER TEXT ===== */
@keyframes shimmer-slide {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* Hero: helle Basis (sichtbar auf dunklem Hintergrund), weißer Glanzpunkt */
.shimmer-hero {
  background: linear-gradient(
    90deg,
    #60a5fa 0%,
    #60a5fa 25%,
    #e0f2fe 42%,
    #ffffff 50%,
    #e0f2fe 58%,
    #60a5fa 75%,
    #60a5fa 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-slide 3.5s linear infinite;
}

/* Sections: weicherer Shimmer – dunkle Basis, dezenter Blauton als Peak */
.shimmer-heading {
  background: linear-gradient(
    90deg,
    #111827 0%,
    #1f2937 30%,
    #3b82f6 44%,
    #93c5fd 50%,
    #3b82f6 56%,
    #1f2937 70%,
    #111827 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-slide 5s linear infinite;
}

/* ===== CURSOR SPOTLIGHT ===== */
#cursor-spotlight {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6, #93c5fd);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
}

/* ===== TYPEWRITER ===== */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  background: rgba(255,255,255,0.75);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink-cursor 1s step-end infinite;
}

/* ===== MOBILE DRAWER ===== */
#mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}
#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: min(320px, 85vw) !important;
  height: 100vh !important;
  z-index: 200;
  background: #ffffff !important;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
  border-top: none !important;
  display: flex;
  flex-direction: column;
}
#mobile-menu.drawer-open {
  transform: translateX(0) !important;
}
@media (min-width: 768px) {
  #mobile-menu { display: none !important; }
  #mobile-overlay { display: none !important; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in  { animation: fadeIn  0.8s ease both; }
.animate-slide-up { animation: slideUp 0.7s ease both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slides {
  display: grid;
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.t-dot.active {
  background: white;
  transform: scale(1.35);
}
.t-dot:hover { background: rgba(255,255,255,0.65); }

/* ===== FLOATING CTA + SCROLL-TO-TOP ===== */
#floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,99,235,0.4);
  z-index: 40;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s;
  pointer-events: none;
}
#floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#floating-cta:hover   { box-shadow: 0 8px 32px rgba(37,99,235,0.5); }

#scroll-top {
  position: fixed;
  bottom: 5.25rem;
  right: 1.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 14px rgba(0,0,0,0.1);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scroll-top:hover   { color: #2563eb; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 720px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  z-index: 80;
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#cookie-banner.cookie-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cookie-text {
  flex: 1;
  min-width: 180px;
  font-size: 0.8125rem;
  color: #374151;
  line-height: 1.6;
}
.cookie-link-btn {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-btn-outline {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid #d1d5db;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}
.cookie-btn-outline:hover { border-color: #6b7280; }
.cookie-btn-solid {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: none;
  background: #2563eb;
  color: white;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.cookie-btn-solid:hover { background: #1d4ed8; }

/* ===== PRIVACY MODAL ===== */
#privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#privacy-modal.open {
  opacity: 1;
  pointer-events: auto;
}
#privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#privacy-box {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
#privacy-modal.open #privacy-box { transform: translateY(0); }
#privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}
#privacy-header h2 { font-size: 1.125rem; font-weight: 700; color: #111827; }
#privacy-close {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s, background 0.2s;
  display: flex;
}
#privacy-close:hover { color: #374151; background: #f9fafb; }
#privacy-body {
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.75;
}
#privacy-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin: 1.5rem 0 0.5rem;
}
#privacy-body h3:first-child { margin-top: 0; }
#privacy-body p { margin-bottom: 0.75rem; }
#privacy-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
#privacy-body li { margin-bottom: 0.25rem; }
#privacy-body strong { color: #111827; font-weight: 600; }

/* ===== IMPRESSUM MODAL (gleiche Struktur wie Privacy Modal) ===== */
#impressum-modal {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#impressum-modal.open { opacity: 1; pointer-events: auto; }
#impressum-modal #impressum-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
#impressum-box {
  position: relative; z-index: 1; background: white; border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25); width: 100%; max-width: 680px;
  max-height: 85vh; display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform 0.3s ease;
}
#impressum-modal.open #impressum-box { transform: translateY(0); }
#impressum-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.75rem; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
#impressum-header h2 { font-size: 1.125rem; font-weight: 700; color: #111827; }
#impressum-close {
  padding: 0.5rem; border-radius: 0.5rem; border: none; background: transparent;
  cursor: pointer; color: #9ca3af; transition: color 0.2s, background 0.2s; display: flex;
}
#impressum-close:hover { color: #374151; background: #f9fafb; }
#impressum-body {
  overflow-y: auto; padding: 1.5rem 1.75rem;
  font-size: 0.875rem; color: #374151; line-height: 1.75;
}
#impressum-body h3 { font-size: 0.9375rem; font-weight: 700; color: #111827; margin: 1.5rem 0 0.5rem; }
#impressum-body h3:first-child { margin-top: 0; }
#impressum-body p { margin-bottom: 0.75rem; }
#impressum-body strong { color: #111827; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 639px) {
  /* Hero stats: kleiner auf sehr engen Screens */
  .hero-stats-row { gap: 0.5rem; }
  .hero-stats-row p.text-3xl { font-size: 1.5rem; }
  .hero-stats-row p.text-sm  { font-size: 0.6875rem; }

  /* Section padding reduzieren */
  section { padding-top: 4rem; padding-bottom: 4rem; }

  /* Kontakt-Grid: Lücke verkleinern */
  #contact .grid { gap: 2.5rem; }

  /* Cookie Banner: Stack auf Mobile */
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem; }
  .cookie-btns { width: 100%; justify-content: flex-end; }

  /* Footer: etwas weniger Gap */
  footer .grid { gap: 2rem; }

  /* Process-Connector-Linie ausblenden */
  .process-connector { display: none; }
}

@media (max-width: 767px) {
  /* Kontakt-Grid: Single-Column + weniger Gap */
  #contact > div > div.grid { gap: 2rem; }

  /* About-Grid: Gap reduzieren */
  #about .grid { gap: 2.5rem; }

  /* Testimonials: etwas mehr Padding */
  .testimonial-card { padding: 1.25rem; }

  /* Floating CTA: kleiner auf Mobile */
  #floating-cta { font-size: 0.8125rem; padding: 0.6rem 1rem; }
  #floating-cta span { display: none; }
  #floating-cta svg { width: 1.125rem; height: 1.125rem; }
}

@media (max-width: 479px) {
  /* Trust Badge Chips: kleine Screens */
  .trust-mini-badges { gap: 0.375rem; }
  .trust-mini-badges span { font-size: 0.6875rem; padding: 0.2rem 0.5rem; }

  /* Btn-Primary / Secondary: Full Width auf sehr kleinen Screens */
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ===== TRUST GUARANTEE BADGE ===== */
@keyframes trust-shine {
  0%   { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(350%) skewX(-20deg); }
}
.trust-guarantee-card {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #3b82f6 100%);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 8px 32px rgba(37,99,235,0.25);
  position: relative;
  overflow: hidden;
}
.trust-guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%) skewX(-20deg);
  animation: trust-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}
.trust-guarantee-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-guarantee-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.trust-guarantee-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.trust-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-mini-badges span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
}

/* ===== AGB MODAL ===== */
#agb-modal {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#agb-modal.open { opacity: 1; pointer-events: auto; }
#agb-modal #agb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
#agb-box {
  position: relative; z-index: 1; background: white; border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25); width: 100%; max-width: 680px;
  max-height: 85vh; display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform 0.3s ease;
}
#agb-modal.open #agb-box { transform: translateY(0); }
#agb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.75rem; border-bottom: 1px solid #f3f4f6; flex-shrink: 0;
}
#agb-header h2 { font-size: 1.125rem; font-weight: 700; color: #111827; }
#agb-close {
  padding: 0.5rem; border-radius: 0.5rem; border: none; background: transparent;
  cursor: pointer; color: #9ca3af; transition: color 0.2s, background 0.2s; display: flex;
}
#agb-close:hover { color: #374151; background: #f9fafb; }
#agb-body {
  overflow-y: auto; padding: 1.5rem 1.75rem;
  font-size: 0.875rem; color: #374151; line-height: 1.75;
}
#agb-body h3 { font-size: 0.9375rem; font-weight: 700; color: #111827; margin: 1.5rem 0 0.5rem; }
#agb-body h3:first-child { margin-top: 0; }
#agb-body p { margin-bottom: 0.75rem; }
#agb-body strong { color: #111827; font-weight: 600; }

/* ===== PRICING ===== */
.pricing-card {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}
.pricing-featured {
  border-color: #3b82f6;
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 45%);
}
.pricing-featured:hover {
  box-shadow: 0 16px 48px rgba(37,99,235,0.22);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #1d4ed8, #3b82f6);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 0 0 0.625rem 0.625rem;
  white-space: nowrap;
}
.pricing-header { margin-bottom: 1.5rem; }
.pricing-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pricing-featured .pricing-name { color: #1d4ed8; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.pricing-from {
  font-size: 0.9rem;
  color: #9ca3af;
  font-weight: 500;
}
.pricing-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.pricing-custom { font-size: 1.875rem; }
.pricing-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: #374151;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: 700;
}
.pricing-cta {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.pricing-cta-outline {
  border: 1.5px solid #e5e7eb;
  color: #374151;
}
.pricing-cta-outline:hover {
  border-color: #3b82f6;
  color: #2563eb;
  background: #eff6ff;
}
.pricing-cta-solid {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.pricing-cta-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.42);
}
