:root {
  --blue: #297eff;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --menu-transition: 0.8s cubic-bezier(0.7, 0, 0.3, 1);
  --menu-x: 100%;
  --menu-y: 0px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
}

.services-section .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* === UNIVERSAL IMAGE SECURITY + HOVER EFFECT === */
img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Base image animation */
img {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-radius: 17px;
}

/* Global rise on hover */
img:hover {
  transform: translateY(-6px);
}

/* Alternating section: blue border effect on hover */
.alternating-image img {
  border: 2px solid transparent;
}

.alternating-image:hover img {
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(41, 126, 255, 0.15);
}


/* === UNIVERSAL CTA BUTTON STYLES === */
.cta-button,
.cta-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 22px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-button .arrow,
.cta-button-outline .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow,
.cta-button-outline:hover .arrow {
  transform: translateX(6px);
}

/* === FULL BLUE BUTTON === */
.cta-button {
  background-color: var(--blue);
  color: white;
  border: 2px solid var(--blue);
}

.cta-button:hover {
  background-color: #1f6eea;
  border-color: #1f6eea;
}

/* === OUTLINE BUTTON === */
.cta-button-outline {
  background-color: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.cta-button-outline:hover {
  background-color: var(--blue);
  color: white;
}

@media (max-width: 1104px) {
  .nav-content .cta-button,
  .nav-content .cta-button-outline {
    display: none;
  }
}

.mobile-menu .cta-button {
  font-size: 0.95rem;
  padding: 0.6rem 1.3rem;
}



header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  color: white;
  background: transparent;
  backdrop-filter: blur(0px);
  box-shadow: none;
  transition:
    background 0.35s ease,
    color 0.35s ease;
  z-index: 1000;
    left: 50%;
  transform: translateX(-50%);
}

header.navbar.hidden {
  transform: translate(-50%, -100%);
  transition: transform 0.4s ease;
}


header.navbar:not(.hidden) {
  transition: transform 0.4s ease 0s; /* delay re-appear */
}


header.navbar.scrolled {
  /* island look */
  background: rgba(107, 107, 107, 0.4);
  backdrop-filter: blur(20px);
  color: black;
  border-radius: 22px;
  box-shadow:
    0 4px 18px rgba(0,0,0,0.12),
    0 0 0 2px rgba(30,120,255,0.65);

  /* sizing & centering */
  max-width: 1400px;
  width: calc(100% - 4rem);
  margin-top: 1rem;

  /* animation on entry */
  animation: islandIn 0.45s cubic-bezier(.25,.8,.35,1) forwards;
}

/* ▼ previous block – just delete  the word “forwards”  */
header.navbar:not(.scrolled) {
  animation: islandOut 0.4s ease;
}


/* ▼ replaces the previous islandIn / islandOut definitions */
@keyframes islandIn {
  0%   { opacity: 0; transform: translate(-50%, -6px) scaleX(0.9); }
  70%  { opacity: 1; transform: translate(-50%,  0px) scaleX(1); }
  100% { opacity: 1; transform: translate(-50%,  0px) scaleX(1);    }
}

@keyframes islandOut {
  0%   { opacity: 1; transform: translate(-25%, 0px)   scaleX(1);    }
  5%   { opacity: 0; transform: translate(-50%, 0px)   scaleX(1);    }
}


header.navbar.menu-open {
  background: transparent;      /* no glossy bar */
  box-shadow: none;             /* no shadow */
}

header.navbar.menu-open .logo,
header.navbar.menu-open .nav-links,
header.navbar.menu-open .cta-button {
  visibility: hidden;   /* invisible */
  pointer-events: none; /* not clickable */
}

header.navbar .burger span {
  background: white;
}

header.navbar.menu-open .burger span {
  background: black;
}


.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;

  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  color: #1f6eea;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn {
  background-color: var(--blue);
  color: white;
  border: none;
  border-radius: 17px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 126, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 17px;
  padding: 0.6rem 1.2rem;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--blue);
  color: white;
}

/* === BURGER ICON === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  z-index: 1100;
  width: 40px;
  height: 30px;
  color: inherit;
  transition: color 0.3s ease;
}

header.navbar.menu-open .burger {
  display: flex;
}

.burger span {
  height: 2px;
  background: currentColor;
  transition: var(--transition);
  border-radius: 2px;
  width: 100%;
}

.burger:hover span:nth-child(1) {
  transform-origin: right center;
  transform: translateY(-1px) scaleX(1.15);
}

.burger:hover span:nth-child(3) {
  transform-origin: right center;
  transform: translateY(1px) scaleX(1.15);
}

.burger.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 6px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}


/* === MOBILE MENU RADIAL EXPAND === */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: white;
  pointer-events: none;
  opacity: 0;
  clip-path: circle(0% at var(--menu-x) var(--menu-y));
  transition:
    clip-path var(--menu-transition),
    opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem;
  overflow: hidden;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--menu-x) var(--menu-y),
rgba(41, 126, 255, 0.2) 0%,
    rgba(41, 126, 255, 0.1) 30%, 
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.6s ease 0.2s,
    transform 0.6s ease 0.2s;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  clip-path: circle(150% at var(--menu-x) var(--menu-y));
}

.mobile-menu.open::before {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu a,
.mobile-menu .btn {
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.mobile-menu.open a,
.mobile-menu.open .btn {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu .btn {
  font-size: 1rem;
}

/* === RESPONSIVE === */
@media (max-width: 1104px) {
  .nav-links,
  .nav-content .btn {
    display: none;
  }

  .burger {
    display: flex;
  }
}



.mobile-logo {
  width: 140px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.mobile-menu.open .mobile-logo {
  opacity: 1;
  transform: translateY(0);
}

/* === DESKTOP DROPDOWN === */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 2.2rem;
  left: 0;
  background: white;
  color: black;
  min-width: 180px;
  border-radius: 17px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
}

/* === MOBILE DROPDOWN === */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
  padding: 0;
}

.mobile-dropdown-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}


.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}


/* === ARROW ICON === */
.arrow-icon {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}

.mobile-dropdown.open .arrow-icon {
  transform: rotate(180deg);
}

/* === HERO SECTION (Redesigned) === */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(2px);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 2rem;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.hero-content .cta-button {
  display: inline-block;
  background: var(--blue, #297eff);
  color: white;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hero-content .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 126, 255, 0.3);
  border-color: var(--blue, #297eff);
}

/* Animation */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}


/* === WERTE SECTION === */
.werte-section {
  background: #f8fbff;
  padding: 5rem 2rem;
  text-align: center;
}

.werte-heading h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.werte-heading p {
  font-size: 1.15rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.werte-card {
  background: white;
  border-radius: 17px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.werte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(41, 126, 255, 0.15);
  transform: translateY(-6px);
}

.werte-icon {
  font-size: 2.5rem;
  color: var(--blue, #297eff);
  margin-bottom: 1rem;
}

.werte-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.werte-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}


.services-section {
  padding: 6rem 2rem;
  background: #f9f9fb;
  text-align: center;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-header p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #555;
}
 
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 17px;
  overflow: hidden;
  width: 330px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #297eff;
  box-shadow: 0 14px 30px rgba(41, 126, 255, 0.15);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
  text-align: left;
}

.service-content h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.service-content p {
  font-size: 0.98rem;
  color: #555;
  margin-bottom: 1rem;
}

.service-content .cta-button {
    font-size: 0.75rem;
  padding: 0.6rem 1.3rem;
}
/* === SERVICES V2 – starstruck edition === */
.services-v2{
  --bg: #ffffff;
  --ink:#0f1a24;
  --muted:#555;
  --ring: #297eff;
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background: var(--bg);
  padding: 6.5rem 2rem 6rem;
}

.sv2-head{
  max-width: 1100px; margin: 0 auto 2.8rem; text-align: center;
}
.sv2-kicker{
  display:inline-block; font:600 .9rem/1 'Inter',sans-serif; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ring);
  padding:.4rem .75rem; border:1px solid rgba(41,126,255,.25); border-radius:999px;
  background: rgba(41,126,255,.06);
  margin-bottom: 1rem;
}
.services-v2 h2{
  font:700 clamp(1.9rem,3vw,2.6rem)/1.15 'Inter',sans-serif; color:var(--ink);
}
.services-v2 h2 em{font-style:normal; background:linear-gradient(90deg,#0f1a24, #297eff); -webkit-background-clip:text; background-clip:text; color:transparent;}
.services-v2 p{
  color:var(--muted); max-width:780px; margin:.9rem auto 0; font-size:1.08rem; line-height:1.7;
}

/* Grid */
.sv2-grid{
  max-width:1400px; margin: 3.3rem auto 0;
  display:grid; gap:1.6rem;
  grid-template-columns: repeat(12, 1fr);
}
@media (min-width:1024px){
  .sv2-card:nth-child(1){ grid-column: span 7; }
  .sv2-card:nth-child(2){ grid-column: span 5; }
  .sv2-card:nth-child(3){ grid-column: span 5; }
  .sv2-card:nth-child(4){ grid-column: span 7; }
}
@media (max-width:1023px){
  .sv2-grid{ grid-template-columns:1fr; }
}

/* Card */
.sv2-card{
  position:relative; overflow:hidden; border-radius:22px;
  isolation:isolate; background:#0b1220; /* fallback under image */
  transform: translateZ(0);
  /* animated border ring */
}
.sv2-card::before{
  content:""; position:absolute; inset: -1px; border-radius:24px; padding:1.5px;
  background: var(--grad); -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0); 
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.0; transition:opacity .4s ease;
  pointer-events:none;
}
.sv2-card:hover::before{ opacity: .9; }

/* media */
.sv2-media{ position:relative; height: clamp(320px, 36vw, 480px); }
.sv2-media img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.sv2-card:hover .sv2-media img{ transform: scale(1.05); }

/* top floating badge */
.sv2-top-badge{
  position:absolute; top:14px; right:14px; z-index:2;
  width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center;
  color:#0f1a24; font-size:1.2rem; font-weight:700;
  background:#fff; border:2px solid rgba(41,126,255,.25);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
  transform: translateZ(0);
}

/* glass content */
.glass{
  position:absolute; left:14px; right:14px; bottom:14px; z-index:2;
  backdrop-filter: blur(14px) saturate(1.1);
  background: linear-gradient( to bottom, rgba(255,255,255,.78), rgba(255,255,255,.72) );
  border: 1px solid rgba(41,126,255,.18);
  border-radius:18px;
  padding:1.2rem 1.2rem 1.1rem;
  color:#0f1a24;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.sv2-card:hover .glass{ transform: translateY(-3px); box-shadow:0 16px 40px rgba(41,126,255,.15); }

.sv2-content h3{
  font:700 1.25rem/1.15 'Inter',sans-serif; margin: 0 0 .4rem;
}
.sv2-content p{
  margin:.2rem 0 .8rem; color:#25313d; font-size:.98rem; line-height:1.6;
}
.sv2-bullets{
  list-style:none; margin:0 0 1.0rem; padding:0; display:grid; gap:.35rem;
}
.sv2-bullets li{
  font-size:.95rem; color:#203040; display:flex; gap:.5rem; align-items:flex-start;
}
.sv2-bullets li::before{
  content:""; margin-top:.45rem; width:8px;height:8px;border-radius:50%;
  background: radial-gradient(circle, #297eff 0%, #7aa9ff 60%, #297eff 100%);
  flex: 0 0 8px;
}

/* CTA arrow-btn support */
.cta-button .arrow-btn{ display:inline-block; transition: transform .3s ease; }
.cta-button:hover .arrow-btn{ transform: translateX(6px); }

/* Entrance animation */
@media (prefers-reduced-motion: no-preference){
  .sv2-card{ opacity:0; transform: translateY(18px); }
  .sv2-card.is-in{ opacity:1; transform: translateY(0); transition: all .7s cubic-bezier(.2,.8,.2,1); }
}

/* Tilt hint shadow */
.sv2-card[data-tilt] .sv2-media::after{
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:22px;
  background: radial-gradient(1200px 400px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.14), transparent 40%);
  opacity:0; transition: opacity .35s ease;
}
.sv2-card:hover .sv2-media::after{ opacity:1; }

/* ===== Mobile: glossy + overlap for Services v2 ===== */
@media (max-width: 768px){
  .services-v2{
    padding: 3.25rem 1rem 3.5rem;
  }

  .sv2-grid{
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 680px;
    margin-inline: auto;
  }

.sv2-card{ background: transparent !important; }

  /* Media keeps nice ratio on phones */
  .sv2-media{
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
  .sv2-media img{ border-radius: 16px; }

  /* Badge stays on top of both image + glass */
  .sv2-top-badge{ top: 10px; right: 10px; width: 46px; height: 46px; z-index: 3; }

  /* GLASS: glossy + slightly overlapping the image */
  .sv2-card .glass{
    position: relative;                /* not absolute on mobile */
    inset: auto;
    z-index: 2;
    transform: translateY(-16px);      /* overlap the image a bit */
    margin: 0 10px;                    /* inset for a “card” feel */
    padding: 1rem 1rem .95rem;
    border-radius: 16px;

    /* glossy background with fallback */
    background: linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,.74));
    border: 1px solid rgba(41,126,255,.14);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);

    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
  }
  /* If blur isn’t supported, keep it readable */
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
    .sv2-card .glass{
      background: rgba(255,255,255,.94);
    }
  }

  /* Type + spacing */
  .sv2-content h3{ font-size: 1.12rem; margin-bottom: .45rem; }
  .sv2-content p{ font-size: .98rem; margin-bottom: .8rem; }
  .sv2-bullets{ gap: .35rem; }
  .sv2-bullets li{ font-size: .95rem; }

  /* Thumb-friendly CTA */
  .sv2-content .cta-button{
    width: 100%;
    justify-content: center;
    padding: .9rem 1rem;
    font-size: 1rem;
  }

  /* Tone down border ring on tiny screens */
  .sv2-card::before{ opacity: .35; }
}

/* Ultra-small phones: a bit taller image & gentler overlap */
@media (max-width: 420px){
  .sv2-media{ aspect-ratio: 4 / 3; }
  .sv2-card .glass{ transform: translateY(-12px); margin: 0 8px; }
  .sv2-top-badge{ width: 42px; height: 42px; }
}





/* ===== Alternating v3R (responsive) ===== */
.alt-v3r{
  --ink:#0f1a24;
  --muted:#555;
  --ring: var(--blue, #297eff);
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background:#fff;
  padding: clamp(3.5rem, 5vw, 6rem) 1.25rem;
  transition: transform .35s cubic-bezier(.22,.61,.36,1); /* ease-out on leave */
}
.altv3r-head{
  max-width:1100px; margin:0 auto clamp(1.8rem,3vw,3rem); text-align:center;
}
.altv3r-head h2{
  font:700 clamp(1.8rem,3.2vw,2.6rem)/1.15 'Inter',sans-serif; color:var(--ink);
}
.altv3r-head h2 em{
  font-style:normal; background:linear-gradient(90deg,#0f1a24,var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.altv3r-head p{
  color:var(--muted); max-width:780px; margin:.9rem auto 0; font-size:1.06rem; line-height:1.7;
}

/* Grid blocks (desktop) */
.altv3r-block{
  max-width:1400px; margin: clamp(1.6rem,3vw,2.6rem) auto;
  display:grid; gap: clamp(1rem, 1.6vw, 1.6rem);
  grid-template-columns: repeat(12, 1fr);
  align-items:center;
  opacity:0; transform: translateY(14px); /* revealed via JS */
  transition: transform .35s cubic-bezier(.22,.61,.36,1); /* ease-out on leave */
}
.altv3r-block.in{ opacity:1; transform:none; transition: all .6s cubic-bezier(.2,.8,.2,1); }

.altv3r-left .altv3r-media{ grid-column: 1 / span 7; }
.altv3r-left .altv3r-text { grid-column: 7 / span 6; }

.altv3r-right .altv3r-media{ grid-column: 6 / span 7; }
.altv3r-right .altv3r-text { grid-column: 1 / span 6; }

/* Media (image) */
.altv3r-media{
  position:relative; border-radius:22px; overflow:hidden; background:#0b1220;
  min-height: clamp(280px, 36vw, 390px);
}
.altv3r-media img{
  width:100%; height:100%; object-fit:cover; display:block; border-radius:22px;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
   transition: transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
/* Override your global img:hover translateY(-6px) */
.altv3r-media img:hover{ transform: scale(1.04); }

.altv3r-block:hover .altv3r-media img{ transform: scale(1.05); }

/* Conic border glow + soft spotlight */
.altv3r-media::before{
  content:""; position:absolute; inset:-1px; border-radius:24px; padding:1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.55; transition: opacity .35s ease;
}
.altv3r-media::after{
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:22px;
  background: radial-gradient(900px 300px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.15), transparent 40%);
  opacity:.6; transition: opacity .35s ease;
}
.altv3r-media::after{
  content:"";
  position:absolute; inset:0; pointer-events:none; border-radius:22px;
  background: radial-gradient(1200px 400px at var(--mx,50%) var(--my,50%),
                               rgba(41,126,255,.14), transparent 40%);
  opacity:0; transition: opacity .35s ease;
}
@media (hover: hover) and (pointer: fine){
  .altv3r-media:hover::before{ opacity:.9; }
  .altv3r-media:hover::after{ opacity:.85; }
}

.altv3r-block:hover .altv3r-media::after{ opacity:1; }

/* Text panel (glass) */
.altv3r-text.glass{
  backdrop-filter: blur(14px) saturate(1.08);
  background: linear-gradient(to bottom, rgba(255,255,255,.80), rgba(255,255,255,.74));
  border:1px solid rgba(41,126,255,.18);
  border-radius:18px;
  padding: clamp(1.05rem,1.8vw,1.5rem) clamp(1rem,1.6vw,1.35rem);
  box-shadow:0 12px 34px rgba(0,0,0,.08);
  color:#0f1a24;
}
.altv3r-badge{
  width:54px; height:54px; border-radius:50%; display:grid; place-items:center;
  background:#fff; color:#0f1a24; border:2px solid rgba(41,126,255,.25);
  box-shadow:0 10px 26px rgba(0,0,0,.12); margin-bottom:.8rem;
}
.altv3r-text h3{
  font:700 1.26rem/1.15 'Inter',sans-serif; margin:0 0 .45rem;
}
.altv3r-text p{
  margin:.15rem 0 .85rem; color:#25313d; font-size:1rem; line-height:1.65;
}
.altv3r-list{ list-style:none; margin:0 0 1.1rem; padding:0; display:grid; gap:.45rem; }
.altv3r-list li{
  font-size:.96rem; color:#203040; display:flex; gap:.5rem; align-items:flex-start;
}
.altv3r-list li::before{
  content:""; margin-top:.48rem; width:8px; height:8px; border-radius:50%;
  background: radial-gradient(circle, var(--ring) 0%, #7aa9ff 60%, var(--ring) 100%);
  flex:0 0 8px;
}

/* ==== Alternating v3R — Mobile Rebuild (pretty + stable) ==== */
@media (max-width: 768px){
  .alt-v3r{ padding: 3rem 1rem; }

  /* one column, centered, sane width */
  .altv3r-block{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 640px;
    margin: 1.4rem auto;
  }
  /* nuke desktop column assignments on mobile */
  .altv3r-block > *{ grid-column: 1 / -1 !important; }

  /* media: full width, tidy ratio, rounded */
  .altv3r-media{
    min-height: unset;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: #fff; /* no dark fallback peeking */
  }
  .altv3r-media img{ border-radius: 16px; }

  /* glossy card that overlaps image slightly (no clipping) */
  .altv3r-text.glass{
    position: relative;
    left:auto; right:auto; bottom:auto;
    box-sizing: border-box;
    width: calc(100% - 20px);
    margin: -14px auto 0;              /* overlap */
    padding: 14px 14px 12px;
    border-radius: 16px;

    background: linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,.74));
    border: 1px solid rgba(41,126,255,.14);
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
  }
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
    .altv3r-text.glass{ background: rgba(255,255,255,.94); }
  }

  /* tone down the border glow on small screens */
  .altv3r-media::before{ opacity: .35; }

  /* typography & spacing */
  .altv3r-badge{ width: 42px; height: 42px; margin-bottom: .5rem; }
  .altv3r-text h3{ font-size: 1.1rem; margin-bottom: .35rem; }
  .altv3r-text p{ font-size: .98rem; margin-bottom: .65rem; line-height: 1.6; }
  .altv3r-list{ gap: .35rem; }
  .altv3r-list li{ font-size: .95rem; }

  /* big, thumb-friendly CTA (no clipping) */
  .altv3r-text .cta-button{
    width: 100%;
    justify-content: center;
    padding: .9rem 1rem;
    font-size: 1rem;
  }
}

/* tiny phones */
@media (max-width: 420px){
  .alt-v3r{ padding: 2.6rem .9rem; }
  .altv3r-media{ aspect-ratio: 4 / 3; }
  .altv3r-text.glass{
    width: calc(100% - 16px);
    margin: -12px auto 0;
    padding: 12px;
    border-radius: 14px;
  }
  .altv3r-badge{ width: 38px; height: 38px; }
}

/* touch devices: keep things steady (no image hover zoom) */
@media (hover: none), (pointer: coarse){
  .altv3r-media img{ transform: none !important; }
}

/* if IntersectionObserver is missing, don’t keep them hidden */
html.no-io .altv3r-block{ opacity: 1; transform: none; }

/* ===== PROCESS v3 — responsive, equal-height + desktop & mobile connectors ===== */
.process-v3{
  --ink:#0f1a24;
  --muted:#555;
  --ring: var(--blue, #297eff);
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background:#f8fbff;
  padding: clamp(3.5rem, 5vw, 6rem) 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Head */
.p3-head{ text-align:center; max-width:1000px; margin:0 auto 2.6rem; }
.p3-head h2{
  font:700 clamp(1.9rem,3.2vw,2.6rem)/1.15 'Inter',sans-serif; color:var(--ink);
}
.p3-head h2 em{
  font-style:normal; background:linear-gradient(90deg,#0f1a24,var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.p3-head p{ color:var(--muted); font-size:1.08rem; line-height:1.7; max-width:760px; margin:.9rem auto 0; }

.p3-wrap{ max-width:1400px; margin:0 auto; position:relative; }

/* kill any old global tracks */
.process-v3 .p3-track,
.process-v3 .p3-track-vert{ display:none !important; }

/* ===== GRID ===== */
.p3-grid{
  --p3-gap: 1.4rem;                 /* controls connector length */
  list-style:none; margin:0; padding:0;
  display:grid;
  gap: var(--p3-gap);
  grid-template-columns: repeat(4, minmax(0,1fr));  /* desktop: 4 columns */
  align-items: stretch;            /* equal height per row */
}

/* tablet: 2 columns */
@media (max-width:1100px){
  .p3-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* mobile: 1 column (collapse under each other) */
@media (max-width:700px){
  .p3-grid{
    grid-template-columns: 1fr;
    max-width: min(720px, 96vw);
    margin-inline: auto;
  }
}

/* item + equal heights */
.p3-step{
  position: relative;
  display: flex;                   /* allows child to stretch */
  z-index: 1;
}
.p3-card{
  position: relative;
  z-index: 2;
  height: 100%;                    /* stretch to row height */
  display: flex; flex-direction: column; justify-content: flex-start;
  text-align:center;

  overflow:hidden; border-radius:20px; isolation:isolate;
  padding: 1.2rem 1.1rem 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.76));
  border:1px solid rgba(41,126,255,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
  min-height: 240px;
}
.p3-card *{ word-break: break-word; hyphens:auto; }

@media (max-width:700px){
  .p3-card{ border-radius:16px; padding: 1rem .95rem; min-height: 220px; }
}

/* Conic ring + spotlight */
.p3-ring{
  content:""; position:absolute; inset:-1px; border-radius:22px; padding:1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:0; transition: opacity .35s ease; pointer-events:none;
}
.p3-halo{
  pointer-events:none; position:absolute; inset:0; border-radius:20px;
  background: radial-gradient(900px 300px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.14), transparent 40%);
  opacity:0; transition: opacity .3s ease;
}

.p3-card:hover{ transform: translateY(-6px); box-shadow:0 18px 44px rgba(41,126,255,.18); }
.p3-card:hover .p3-ring{ opacity:.9; }
.p3-card:hover .p3-halo{ opacity:1; }

/* Badge + number */
.p3-badge{
  width:54px;height:54px;border-radius:50%; background:#fff;
  border:2px solid rgba(41,126,255,.25);
  display:grid; place-items:center; margin:0 auto .6rem;
  box-shadow:0 12px 32px rgba(0,0,0,.12); color:#0f1a24; position:relative;
  flex: 0 0 auto;
}
.p3-badge i{ font-size:1.1rem; color:var(--ring); }
.p3-num{
  position:absolute; bottom:-8px; right:-8px; width:26px; height:26px;
  display:grid; place-items:center; border-radius:999px; font:700 .85rem/1 'Inter',sans-serif;
  background: var(--ring); color:#fff; border:2px solid #fff;
}

.p3-title{ font:700 1.05rem/1.1 'Inter',sans-serif; color:#0f1a24; margin:.2rem 0 .4rem; }
.p3-desc{ color:#25313d; font-size:.95rem; line-height:1.6; }

/* ===== Connectors ===== */
/* Desktop: short horizontal connectors between cards */
@media (min-width:1101px){
  .process-v3 .p3-step:not(:nth-child(4n))::after{
    content:"";
    position:absolute;
    top:50%;
    left: calc(100% + 4px);             /* start just outside the card */
    width: calc(var(--p3-gap) - 8px);   /* span only the gap */
    height: 2px;
    background:#cdd7e5;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    z-index:1;
  }
  .process-v3 .p3-step.is-in::after{
    transform: translateY(-50%) scaleX(1);
  }
}

/* Tablet: hide connectors to keep layout clean */
@media (max-width:1100px) and (min-width:701px){
  .process-v3 .p3-step::after{ display:none !important; }
}

/* Mobile (≤700px): vertical connector between stacked cards */
@media (max-width:700px){
  .process-v3 .p3-step:not(:last-child)::after{
    content:"";
    position:absolute;
    left: 50%;
    top: calc(100% + 0px);
    width: 2px;
    height: var(--p3-gap, 1.4rem);
    background:#cdd7e5;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top center;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    z-index:1;
    display:block;
  }
  .process-v3 .p3-step.is-in::after{
    transform: translateX(-50%) scaleY(1);
  }
}

/* Reveal animation */
@media (prefers-reduced-motion: no-preference){
  .p3-step{ opacity:0; transform: translateY(12px); }
  .p3-step.is-in{ opacity:1; transform: translateY(0); transition: all .6s cubic-bezier(.2,.8,.2,1); }
}

/* Hover tilt easing back (smooth) */
.p3-card{ transition-property: transform, box-shadow; }
.p3-card.is-tilting{ transition-duration: 0s; }

/* Ultra small tweaks */
@media (max-width:420px){
  .p3-badge{ width:48px; height:48px; }
  .p3-num{ width:24px; height:24px; font-size:.8rem; }
}


/* ====== STATS v3 (scoped) ====== */
.stats-v3{
  --ink:#0f1a24;
  --muted:#555;
  --ring: var(--blue, #297eff);
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background:#fff;
  position:relative;
  overflow:hidden;
  padding: clamp(3.5rem, 5vw, 6rem) 1.25rem;
}

/* soft animated background aura */
.stats-v3::after{
  content:""; position:absolute; inset:-20% -10% auto -10%; height:60%;
  background: radial-gradient(500px 200px at 30% 10%, rgba(41,126,255,.08), transparent 60%);
  filter: blur(8px); pointer-events:none;
  animation: aura 12s ease-in-out infinite alternate;
}
@keyframes aura{
  from{ transform: translateY(0); opacity:.8; }
  to  { transform: translateY(10px); opacity:1; }
}

/* Head */
.statsv3-head{ text-align:center; max-width:1000px; margin:0 auto 2.4rem; }
.statsv3-head h2{
  font:700 clamp(1.9rem,3.2vw,2.6rem)/1.15 'Inter',sans-serif; color:var(--ink);
}
.statsv3-head h2 em{
  font-style:normal; background:linear-gradient(90deg,#0f1a24,var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.statsv3-head p{
  color:var(--muted); font-size:1.08rem; line-height:1.7; max-width:760px; margin:.9rem auto 0;
}

/* Layout */
.statsv3-wrapper{
  max-width:1400px; margin:0 auto;
  display:grid; gap:1.6rem;
  grid-template-columns: 1.1fr 2fr; /* left text, right grid */
  align-items: start;
}

/* Benefits (glass card, but namespaced to avoid your global .glass) */
.s-benefits{
  /* plain, no card */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  align-self: center;           /* vertical centering vs. grid */
}

.s-benefits-list{
  list-style:none; margin:0; padding:0;
  display:grid; gap:1rem;
}
.s-benefits-list li{
  display:flex; align-items:center; gap:.65rem;
  color:#203040; font-size:1.06rem;
}
.s-benefits-list i{ color:var(--ring); font-size:1.2rem; }

/* Metrics grid – unique stagger + capsules */
.mgrid{
  display:grid; gap:1.2rem;
  grid-template-columns: repeat(12, 1fr);
}
.mgrid .mstat:nth-child(1){ grid-column: span 6; }
.mgrid .mstat:nth-child(2){ grid-column: span 6; }
.mgrid .mstat:nth-child(3){ grid-column: span 5; }
.mgrid .mstat:nth-child(4){ grid-column: span 7; }

@media (max-width: 1024px){
  .s-benefits{ text-align: center; }
  .s-benefits-list{ align-items: center; }
  .s-benefits-list li{ 
    justify-content: center; }
}

@media (max-width:1024px){
    .statsv3-wrapper{
    grid-template-columns: 1fr;   /* already stacking */
  }
    .s-benefits{
    justify-self: center;         /* center the block in the grid */
    margin-inline: auto;          /* fallback */
    width: min(100%, 720px);      /* nice readable width */
    /* align-self: start; */       /* stays at the top of the stack */
  }
  .mgrid{ grid-template-columns: repeat(2, 1fr); }
  .mgrid .mstat{ grid-column: auto / span 1 !important; }
}
@media (max-width:560px){
  .mgrid{ grid-template-columns: 1fr; }
}

/* Metric capsule cards */
.mstat{
  position:relative; overflow:hidden; border-radius:22px; isolation:isolate;
  padding: clamp(1.4rem, 2.5vw, 2rem) 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.76));
  border:1px solid rgba(41,126,255,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
  transform: translateZ(0);
}

/* conic ring on hover */
.mstat::before{
  content:""; position:absolute; inset:-1px; border-radius:24px; padding:1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:0; transition: opacity .35s ease;
  pointer-events:none;
}

/* cursor spotlight halo (tracks --mx/--my) */
.mhalo{
  pointer-events:none; position:absolute; inset:0; border-radius:22px;
  background: radial-gradient(800px 260px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.14), transparent 40%);
  opacity:.0; transition: opacity .3s ease;
}

.mstat:hover{ transform: translateY(-6px); box-shadow:0 18px 44px rgba(41,126,255,.18); }
.mstat:hover::before{ opacity:.9; }
.mstat:hover .mhalo{ opacity:1; }

/* Number + label */
.mnum{
  display:block; line-height:1;
  font-weight:800; letter-spacing:.5px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  background: linear-gradient(90deg, var(--ring), #1f6eea 60%, var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.mlabel{ display:block; margin-top:.5rem; color:#444; font-size:1.02rem; }

/* Entrance reveal (once) */
@media (prefers-reduced-motion: no-preference){
  .mstat{ opacity:0; transform: translateY(12px); }
  .mstat.is-in{ opacity:1; transform: translateY(0); transition: all .6s cubic-bezier(.2,.8,.2,1); }
}

/* Footer text */
.statsv3-foot{ max-width:900px; margin:2.4rem auto 0; text-align:center; color:#333; font-size:1.05rem; line-height:1.75; }


/* ===== FOOTER‑TEXT UNTER DEN STATS ===== */
.stats-footer{
  max-width:900px;
  margin:3rem auto 0;
  padding:0 1rem;
  font-size:1.05rem;
  line-height:1.75;
  color:#333;
}
.stats-footer p{
  margin:0;
}

/* ===== REVIEWS v3 (scoped) ===== */
.reviews-v3{
  --ink:#0f1a24;
  --muted:#555;
  --ring: var(--blue, #297eff);
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background:#f8fbff;
  padding: clamp(3.5rem, 5vw, 6rem) 1.25rem;
  position: relative;
  overflow: hidden;
}

.rv3-head{ text-align:center; max-width:1000px; margin:0 auto 2.6rem; }
.rv3-head h2{
  font:700 clamp(1.9rem,3.2vw,2.6rem)/1.15 'Inter',sans-serif; color:var(--ink);
}
.rv3-head h2 em{
  font-style:normal; background:linear-gradient(90deg,#0f1a24,var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.rv3-rating{
  margin-top: .9rem;
  display:flex; align-items:center; justify-content:center; gap:.6rem;
  color:#555; font-size:1rem;
}
.rv3-rating img{ height:20px; width:auto; object-fit:contain; }
.rv3-stars{ color:#ffb400; letter-spacing:2px; font-weight:700; }
.rv3-score strong{ color:#0f1a24; }

/* Wrapper */
.rv3-wrap{ max-width:1900px; margin:0 auto; padding: 0 1rem; }

/* Swiper */
.rv3-swiper{ overflow: visible; }
.rv3-swiper .swiper-wrapper{ align-items: stretch; }
.rv3-swiper .swiper-slide{ height: auto; display:flex; }
.rv3-swiper .swiper-pagination{
  position: static; margin-top: 1.2rem;
}
.rv3-swiper .swiper-pagination-bullet{
  width:10px;height:10px;border-radius:999px;background:#c8d4e6; opacity:1; transition: all .3s ease;
}
.rv3-swiper .swiper-pagination-bullet-active{
  width:26px; background: var(--ring);
}

/* Card */
.r-card{
  position:relative; z-index:1; overflow:hidden; border-radius:20px; isolation:isolate;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.76));
  border:1px solid rgba(41,126,255,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition: transform .35s ease, box-shadow .35s ease;
  display:flex; align-items:stretch;
}
.r-card:hover{ transform: translateY(-6px); box-shadow:0 18px 44px rgba(41,126,255,.18); }

/* ring + halo */
.r-ring{
  content:""; position:absolute; inset:-1px; border-radius:22px; padding:1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:0; transition: opacity .35s ease; pointer-events:none;
}
.r-halo{
  pointer-events:none; position:absolute; inset:0; border-radius:20px;
  background: radial-gradient(1000px 340px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.14), transparent 42%);
  opacity:0; transition: opacity .3s ease;
}
.r-card:hover .r-ring{ opacity:.9; }
.r-card:hover .r-halo{ opacity:1; }

/* inner content (tilt target) */
.r-inner{
  position:relative; z-index:2; padding: 1.6rem 1.6rem 1.4rem;
  width:100%;
  transition: transform .35s cubic-bezier(.22,.61,.36,1); /* ease-out on leave */
  display:flex; flex-direction:column; gap:.55rem; justify-content:flex-start;
  min-height: 210px;
}
.r-inner.is-tilting{ transition-duration: 0s; } /* instant while moving */

.r-stars{ font-size:1.25rem; color:#ffb400; line-height:1; }
.r-title{ font:700 1.1rem/1.2 'Inter',sans-serif; color:#0f1a24; margin:.2rem 0 .1rem; }
.r-text{ color:#25313d; font-size:.98rem; line-height:1.65; }
.r-author{ color:#555; font-weight:600; font-size:.92rem; margin-top:auto; }

/* Nav */
.rv3-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:46px; height:46px; border-radius:999px; display:grid; place-items:center;
  background:#fff; color:#0f1a24; font-size:1.5rem; cursor:pointer; z-index:5;
  border:2px solid rgba(0,0,0,.06);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rv3-nav:hover{ transform: translateY(calc(-50% - 4px)); border-color: var(--ring); box-shadow:0 14px 36px rgba(41,126,255,.18); }
.rv3-prev{ left: .25rem; }
.rv3-next{ right: .25rem; }

@media (max-width: 800px){
  .rv3-prev, .rv3-next{ display:none; }
}

/* Responsive tweaks */
@media (max-width: 640px){
  .r-inner{ padding: 1.25rem 1.1rem 1.1rem; min-height: 200px; }
  .r-title{ font-size:1.02rem; }
  .r-text{ font-size:.96rem; }
}

.reviews-v3 .rv3-wrap,
.reviews-v3 .rv3-swiper,
.reviews-v3 .rv3-swiper .swiper-wrapper,
.reviews-v3 .rv3-swiper .swiper-slide{
  overflow: visible !important;
}


/* === FOOTER === */
.footer {
  background-color: #0f1a24;
  color: white;
  padding: 3rem 2rem 2rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
}

.footer-logo img {
  height: 70px;
}

.footer-links {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary, #297eff);
}

.footer-links .divider {
  width: 1px;
  background-color: rgba(255,255,255,0.15);
  height: auto;
  opacity: 0.8;
}


/* CTA Button */
.footer-cta {
  align-self: center;
}

.footer-button {
  border: 2px solid #ffffff;
  border-radius: 17px;
  padding: 0.7rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-button .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-button:hover .arrow {
  transform: translateX(6px);
}

.footer-button:hover {
  background-color: #ffffff;
  color: #0f1a24;
}

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-social a {
  color: white;
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary, #297eff);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links .divider {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}


















/* ===== ABOUT v3 (scoped to this section) ===== */
.about-v3{
  --ink:#0f1a24;
  --muted:#555;
  --ring: var(--blue, #297eff);
  --grad: conic-gradient(from 180deg at 50% 50%, #297eff, #7aa9ff 25%, #9fd0ff 50%, #297eff 75%, #7aa9ff 100%);
  background:#fff;
  padding: clamp(3.5rem, 5vw, 6rem) 1.25rem;
}

.about-wrap{
  max-width:1400px; margin:0 auto;
  display:grid; gap: clamp(1.2rem, 2.4vw, 3rem);
  grid-template-columns: repeat(12, 1fr);
  align-items:center;
}

/* Layout: image left (7 cols), text right (5 cols) */
.about-media{ grid-column: 1 / span 7; }
.about-card { grid-column: 8 / span 5; }

/* ===== Media (tilt target) ===== */
.about-media{
  position:relative; border-radius:22px; overflow:hidden; background:#0b1220;
  min-height: clamp(300px, 36vw, 520px);
  will-change: transform;
}
.about-media img{
  width:100%; height:100%; object-fit:cover; display:block; border-radius:22px;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.about-v3 .about-media:hover img{ transform: scale(1.05); }

/* Conic ring + spotlight (like Services/Alternating) */
.about-ring{
  position:absolute; inset:-1px; border-radius:24px; padding:1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.55; transition: opacity .35s ease; pointer-events:none;
}
.about-halo{
  position:absolute; inset:0; border-radius:22px; pointer-events:none;
  background: radial-gradient(1200px 400px at var(--mx,50%) var(--my,50%), rgba(41,126,255,.14), transparent 40%);
  opacity:.0; transition: opacity .35s ease;
}
@media (hover:hover) and (pointer:fine){
  .about-media:hover .about-ring{ opacity:.9; }
  .about-media:hover .about-halo{ opacity:1; }
}

/* ===== Text card (glass) ===== */
.about-card{
  position:relative; z-index:2;
  backdrop-filter: blur(14px) saturate(1.08);
  background: linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,.74));
  border:1px solid rgba(41,126,255,.18);
  border-radius:18px;
  box-shadow:0 12px 34px rgba(0,0,0,.08);
  padding: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--ink);
}
.about-card .sv2-kicker{
  display:inline-block; font:600 .9rem/1 'Inter',sans-serif; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ring); padding:.35rem .7rem; border:1px solid rgba(41,126,255,.25); border-radius:999px;
  background: rgba(41,126,255,.06); margin-bottom:.9rem;
}
.about-card h2{
  font:700 clamp(1.8rem,3vw,2.4rem)/1.15 'Inter',sans-serif; color:var(--ink); margin:0;
}
.about-card h2 em{
  font-style:normal; background:linear-gradient(90deg,#0f1a24,var(--ring));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.about-sub{
  color:var(--muted); font-size:1.08rem; line-height:1.7; margin:.7rem 0 1.1rem;
}
.about-card p{ color:#25313d; font-size:1rem; line-height:1.7; margin:0 0 1rem; }

/* checklist */
.about-check{
  list-style:none; margin: .6rem 0 1.2rem; padding:0; display:grid; gap:.55rem;
}
.about-check li{
  display:flex; align-items:center; gap:.6rem; color:#203040; font-size:1rem;
}
.about-check i{ color:var(--ring); font-size:1.1rem; }

/* pills */
.about-pills{
  display:flex; flex-wrap:wrap; gap:.5rem .6rem; margin: .4rem 0 1.2rem;
}
.pill{
  display:inline-flex; align-items:center; gap:.45rem;
  font:600 .92rem/1 'Inter',sans-serif; color:#0f1a24;
  padding:.5rem .75rem; border-radius:999px;
  background:#fff; border:1px solid rgba(41,126,255,.18);
  box-shadow:0 8px 20px rgba(0,0,0,.05);
}
.pill i{ color:var(--ring); }

/* CTA arrow consistency */
.cta-button .arrow-btn{ display:inline-block; transition: transform .3s ease; }
.cta-button:hover .arrow-btn{ transform: translateX(6px); }

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .about-wrap{ grid-template-columns: 1fr; }
  .about-media{ grid-column: 1 / -1; aspect-ratio: 16 / 10; min-height: auto; border-radius:16px; }
  .about-media img{ border-radius:16px; }
  .about-card{ grid-column: 1 / -1; border-radius:16px; margin-top: -14px; } /* soft overlap */
}

/* tiny phones */
@media (max-width: 420px){
  .about-card{ padding: 1rem; border-radius:14px; }
  .about-media{ aspect-ratio: 4 / 3; }
}

/* Touch devices: disable image zoom halo for stability */
@media (hover:none), (pointer:coarse){
  .about-v3 .about-media:hover img{ transform:none; }
  .about-halo{ opacity:0 !important; }
}


.einsatzorte-section {
  padding: 6rem 2rem;
  background-color: #f8fbff;
  text-align: center;
}

.einsatzorte-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f1a24;
}

.einsatzorte-header p {
  font-size: 1.15rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.einsatzorte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}




/* === HERO STATIC IMAGE SECTION === */
.hero-static {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-static-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/img/4.jpg'); /* ← change this to your image */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-static-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.45);
  z-index: 2;
}

.hero-static-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 0 2rem;
}

.hero-static-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-static-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-static-content h1 {
    font-size: 2.2rem;
  }

  .hero-static-content p {
    font-size: 1rem;
  }

  .hero-static-content .cta-button {
    font-size: 0.9rem;
  }
}
/* ===== CONTACT FORM — no giant gaps, true grid, mobile-perfect ===== */

.contact-form-section {
  padding: 6rem 2rem;
  background: #fff;
  text-align: center;
}

.contact-form-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f1a24;
}

.contact-form-section p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
}

/* ---- Form shell becomes a GRID (kills weird vertical gaps) ---- */
.contact-form {
  --cf-gap-x: 1.0rem;     /* horizontal gap */
  --cf-gap-y: 0.85rem;    /* vertical gap */
  max-width: 900px;
  margin: 0 auto;
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 17px;
  border: 2px solid var(--blue);
  box-shadow: 0 8px 28px rgba(0,0,0,.05);

  display: grid !important;
  grid-template-columns: repeat(12, minmax(0,1fr));
  column-gap: var(--cf-gap-x);
  row-gap: var(--cf-gap-y);
}

/* Flatten row wrappers so they add ZERO extra space */
.contact-form .form-row {
  display: contents;  /* children participate directly in the parent grid */
}

/* Each group sits on 6/12 columns by default (2-up) */
.contact-form .form-group {
  grid-column: span 6;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;  /* label + control */
  row-gap: .35rem;                /* small label→input gap */
}

/* Full-width blocks */
.contact-form .form-group.full-width {
  grid-column: 1 / -1;
}

/* Labels & controls */
.contact-form label {
  text-align: left;
  font-weight: 600;
  color: #0f1a24;
  font-size: .95rem;
  margin: 0;                      /* nuke any default margins */
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  font: 1rem/1.3 'Inter', sans-serif;
  background: #fff;
  resize: vertical;
  margin: 0;                      /* ensure no field margins create gaps */
  min-height: 44px;               /* touch-friendly */
}

.contact-form textarea { min-height: 130px; }
.contact-form input[type="file"] {
  border: 1px dashed #ccc;
  padding: .8rem;
}

/* Submit + phone */
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: .4rem; }
.direct-call { margin-top: 1.6rem; text-align: center; }

/* ===== Breakpoints ===== */

/* Tablet – still 2 columns, a bit tighter padding */
@media (max-width: 1024px){
  .contact-form { padding: 1.6rem; }
}

/* Mobile – true 1 column (no gaps), compact rhythm */
@media (max-width: 768px){
  .contact-form-section { padding: 4rem 1.2rem; }
  .contact-form {
    grid-template-columns: 1fr;         /* stack everything */
    column-gap: 0;
    row-gap: .75rem;                    /* tight vertical spacing */
    padding: 1.2rem;
    border-radius: 14px;
  }
  .contact-form .form-group,
  .contact-form .form-group.full-width {
    grid-column: 1 / -1 !important;     /* force single column */
  }
  .contact-form textarea { min-height: 120px; }
}

/* Tiny phones */
@media (max-width: 420px){
  .contact-form { padding: 1rem; row-gap: .65rem; }
}




.referenzen-section {
  padding: 6rem 2rem;
  background-color: #fff;
  text-align: center;
}

.referenzen-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f1a24;
}

.referenzen-header p {
  font-size: 1.15rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 in a row on desktop */
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.referenz-card {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  border: 2px solid transparent;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  aspect-ratio: 4 / 3; /* Consistent card shape */
  width: 100%;
  background: #f2f2f2;
}

.referenz-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 17px;
  transition: transform 0.35s ease;
}

/* Hover animation */
.referenz-card:hover {
  transform: translateY(-6px);
  border-color: #297eff;
  box-shadow: 0 12px 40px rgba(41, 126, 255, 0.15);
}

.referenz-card:hover img {
  transform: scale(1.02);
}

/* Tablet: 2 per row */
@media (max-width: 1024px) {
  .referenzen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
  .referenzen-grid {
    grid-template-columns: 1fr;
  }

  .referenzen-header h2 {
    font-size: 2rem;
  }

  .referenzen-header p {
    font-size: 1rem;
  }
}
