/* =====================
   CORE RESET & VARIABLES
   ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Prevent flex/grid children from overflowing on narrow viewports */
*{ min-width: 0; }

/* Fluid media by default */
img, video, canvas, svg{
  max-width: 100%;
  height: auto;
}

:root{
  --bg0:#0e1112;
  --bg1:#121717;

  /* Accent palette (green) */
  --accent-0: #0f2a1e;
  --accent-1: #1f5a3d;
  --accent-2: #2f7a52;
  --accent-rgb: 47, 122, 82;
  --accent-0-rgb: 15, 42, 30;
  --accent-1-rgb: 31, 90, 61;

  --glass: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);

  --shadow: 0 26px 70px rgba(0,0,0,0.55);
  --inner: inset 0 1px 0 rgba(255,255,255,0.08);

  --r: 22px;
  --r2: 18px;

  /* Unified card style tokens */
  --warmBorder: rgba(var(--accent-rgb), 0.22);
  --card-bg: rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.10);
  --card-shadow: 0 26px 70px rgba(0,0,0,0.55);
  --card-inner: inset 0 1px 0 rgba(255,255,255,0.08);
  --card-blur: blur(22px) saturate(145%);
}

/* =====================
   HTML & BODY
   ===================== */
html, body{
  height: auto;
  min-height: 100%;
}

html{
  background: radial-gradient(1200px 700px at 50% 30%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  background-attachment: fixed;
  scroll-behavior: auto !important;
  scrollbar-gutter: stable;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  /* Keep snap/anchors from hiding under the fixed navbar */
  --snap-top: calc(env(safe-area-inset-top, 0px) + 86px);
  scroll-padding-top: var(--snap-top);
}

/* Services: snap to the real top (no previous section peeking above).
   We counteract html scroll-padding-top just for this section. */
#pricing{
  scroll-margin-top: calc(-1 * var(--snap-top));
}

/* Temporarily disable snap during programmatic smooth scrolls (navbar clicks, wheel assist)
   to avoid a second "snap" jump after the scroll animation. */
html.snap-disabled{
  scroll-snap-type: none !important;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 50% 30%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  background-attachment: fixed;
  overflow: visible;
  overflow-x: hidden;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: #00bcd4 #f0f0f0;
  -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
  width: 12px;
  transition: width 0.3s;
}

body::-webkit-scrollbar-track {
  background: #f0f0f0;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #00bcd4, #2196f3);
  border-radius: 6px;
  transition: background 0.3s;
}

body.scrolling::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #2196f3, #00bcd4);
}

/* Don't let the persistent swipe hint cover CTAs while typing/inside contact */
body.is-typing #swipeHint,
html.is-typing #swipeHint,
body.hide-swipehint #swipeHint{
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =====================
   INTRO OVERLAY & ANIMATIONS
   ===================== */
#introOverlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(16px, 3vw, 40px) 0;
  background: transparent;
  user-select: none;
  outline: none;
  opacity: 1;
  transition: opacity 180ms linear;
  cursor: none;
}

#introOverlay[aria-hidden="true"]{ 
  display:none !important; 
}

#marqueeRows{
  width: 100%;
  pointer-events: none;
  display: grid;
  gap: clamp(10px, 1.2vw, 16px);
}

.marquee-row{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 9vw, 96px);
  line-height: 1.08;
  padding-bottom: 0.12em;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 18px rgba(0,0,0,0.35);
}

.marquee-track{
  display: inline-flex;
  width: max-content;
  gap: clamp(18px, 3vw, 44px);
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  animation: marqueePx var(--dur, 12s) linear infinite;
}

.marquee-track span{
  padding-right: clamp(18px, 3vw, 44px);
  text-transform: none;
  display: inline-block;
}

@keyframes marqueePx{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--shift, 0px)),0,0); }
}

@keyframes wiggle {
  0%, 82%, 100% { transform: translate3d(-50%,0,0) rotate(0deg); }
  84% { transform: translate3d(calc(-50% - 2px), 0, 0) rotate(-0.4deg); }
  86% { transform: translate3d(calc(-50% + 2px), 0, 0) rotate( 0.4deg); }
  88% { transform: translate3d(calc(-50% - 2px), 0, 0) rotate(-0.4deg); }
  90% { transform: translate3d(calc(-50% + 2px), 0, 0) rotate( 0.4deg); }
  92% { transform: translate3d(calc(-50% - 1px), 0, 0) rotate(-0.2deg); }
  94% { transform: translate3d(calc(-50% + 1px), 0, 0) rotate( 0.2deg); }
  96% { transform: translate3d(-50%,0,0) rotate(0deg); }
}

@keyframes barPulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: .7; }
}

#introPill{
  position: fixed;
  left: 50%;
  bottom: clamp(40px, 6vh, 90px);
  z-index: 10000;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: wiggle 3.6s ease-in-out infinite;
}

#introPill .pill-bar{
  height: 6px;
  width: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  animation: barPulse 1.8s ease-in-out infinite;
}

#introPill .pill-text{
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

#introCursor{
  position: fixed;
  left: 0;
  top: 0;
  transform: translate3d(-9999px, -9999px, 0);
  z-index: 10001;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0.95;
  will-change: transform;
}

#introCursor.is-down{
  opacity: 1;
  transform: translate3d(var(--x, -9999px), var(--y, -9999px), 0) scale(0.92);
}

/* =====================
   SWIPE HINT
   ===================== */
@keyframes shimmerMove {
  0%   { transform: translateX(-120%); opacity: 0; }
  10%  { opacity: 1; }
  50%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

#swipeHint{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9000;
  pointer-events: none;
  display: none;
}

#swipeHint.is-visible{ 
  display: block; 
}

#swipeHint .swipeHint-inner{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#swipeHint .swipeHint-shimmer{
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 200%;
  left: -50%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0.10) 35%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.10) 65%,
    transparent 100%
  );
  animation: shimmerMove 2.2s ease-in-out infinite;
}

#swipeHint .swipeHint-bar{
  height: 6px;
  width: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  animation: barPulse 1.6s ease-in-out infinite;
}

#swipeHint .swipeHint-text{
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

/* =====================
   SITE CONTENT
   ===================== */
#siteContent{
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms cubic-bezier(.4,0,.2,1);
}

/* =====================
   REDUCED MOTION
   ===================== */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none !important; transform:none !important; }
  #introOverlay, #siteContent{ transition:none !important; }
  #introOverlay{ cursor: auto; }
  #introCursor{ display: none !important; }
  #introPill, #introPill .pill-bar{ animation: none !important; }
  #swipeHint .swipeHint-shimmer,
  #swipeHint .swipeHint-bar{ animation: none !important; }

  /* Scroll reveal: keep content visible without animation */
  .reveal-ready{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =====================
   SCREEN READER ONLY
   ===================== */
.sr-only{
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================
   LAYOUT & SECTIONS
   ===================== */
.hero,
.pricing-section,
.about-section,
.seo-geo-section,
.contact-section{
  min-height: 100vh;
  scroll-snap-align: start;
}

.imprint-section{
  min-height: 100vh;
  scroll-snap-align: start;
}

/* =====================
   SCROLL REVEAL (SECTIONS)
   ===================== */
/* Only becomes active when JS adds .reveal-ready, so no-JS stays readable */
main.page > section.reveal-ready{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(4px);
  transition:
    opacity 520ms cubic-bezier(.22,1,.36,1),
    transform 520ms cubic-bezier(.22,1,.36,1),
    filter 520ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform, filter;
}

main.page > section.reveal-in{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* =====================
   CONTACT (HOME) CENTERING
   ===================== */
.contact-us-section{
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  /* Leave space for the fixed navbar + bottom swipe hint */
  /* Scroll snapping/anchors already respect the fixed navbar via html scroll-padding-top.
     Keep only a modest internal spacing so the form doesn't sit too low. */
  padding-top: clamp(1.25rem, 3.5vh, 2.5rem);
  padding-bottom: clamp(1.75rem, 5vh, 3rem);
  display: block;
}

/* Mobile keyboard handling:
   - iOS/Android viewport height changes can re-center flex content causing "jumping".
   - While typing, pin the form to the top with consistent padding and reserve space for the keyboard.
*/
html.is-typing .contact-us-section,
body.is-typing .contact-us-section{
  align-items: flex-start;
  padding-top: calc(env(safe-area-inset-top, 0px) + 92px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px + var(--kb, 0px));
}

.contact-us-section .page-content{
  width: 100%;
  padding-top: 0 !important;
}

.contact-us-section .outer-container{
  width: 100%;
  align-items: center;
  min-height: auto;
}

/* Contact page: keep the form card visually centered + a bit narrower */
.contact-us-section .step-circle-container{
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-us-section .contact-form-actions{
  justify-content: center;
}

/* A bit more comfortable writing space on small screens */
@media (max-width: 600px){
  .contact-us-section{
    padding-top: calc(env(safe-area-inset-top, 0px) + 92px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  }

  .contact-us-section .text-area{
    min-height: 160px;
  }
}

.imprint-section{
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding-top: clamp(5.5rem, 10vh, 7.5rem);
  padding-bottom: clamp(2.25rem, 6vh, 3.5rem);
  display: flex;
  align-items: flex-start;
}

.imprint-section .page-content{
  width: 100%;
  padding-top: 0 !important;
}

.imprint-section .outer-container{
  width: 100%;
  align-items: flex-start;
  min-height: 100%;
}

/* ===== Imprint (Home) ===== */
.imprint-home-head{
  text-align: center;
  margin-bottom: 1.1rem;
}

.imprint-home-title{
  margin-top: 6px;
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: rgba(255,255,255,0.94);
}

.imprint-home-grid{
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px){
  .imprint-home-grid{ grid-template-columns: 1fr; }
}

.imprint-home-panel{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 18px 55px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 16px 16px;
  overflow: hidden;
}

.imprint-home-panel::before{
  content: "";
  position: absolute;
  inset: -120px -140px auto auto;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.20), rgba(var(--accent-rgb), 0) 62%),
    radial-gradient(circle at 55% 50%, rgba(82,39,255,0.14), rgba(82,39,255,0) 62%);
  pointer-events: none;
  opacity: 0.95;
}

.imprint-home-kicker{
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,0.62);
}

.imprint-home-strong{
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}

.imprint-home-lines{
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
}

.imprint-home-kv{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.imprint-home-chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  background: rgba(var(--accent-rgb), 0.22);
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease, border-color 180ms ease;
}

.imprint-home-chip:hover{ filter: brightness(1.06); transform: translateY(-1px); }

.imprint-home-chip--ghost{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.imprint-home-chip--ghost:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

.imprint-home-bullets{
  position: relative;
  z-index: 1;
  margin-top: 10px;
  padding-left: 1.1rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

.imprint-home-bullets li{ margin-top: 0.5rem; }

.imprint-home-actions{
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-lead{
  margin-top: 12px;
  max-width: 70ch;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.app { 
  min-height: 100vh; 
  position: relative;
  will-change: auto;
}

.page { 
  width: 100%; 
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

/* Ensure no accidental horizontal overflow in wrappers */
#siteContent,
.app,
main.page{
  overflow-x: hidden;
}

/* =====================
   NAVBAR
   ===================== */
.navbar-container{
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
}

.navbar-pill{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.10);
}

.nav-link{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.70);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
}

.nav-link.active{
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

.nav-link:focus-visible{
  outline: 2px solid rgba(var(--accent-2-rgb, var(--accent-rgb)), 0.65);
  outline-offset: 3px;
}

/* =====================
   SWIPE BANNER
   ===================== */
.swipe-banner{
  position: fixed;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
}

.swipe-pill{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}

.swipe-track{
  width: 70px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.swipe-track::after{
  content:"";
  position:absolute;
  top: 50%;
  left: 10px;
  width: 22px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: rgba(255,255,255,0.55);
  animation: swipeHint 1.8s ease-in-out infinite;
}

@keyframes swipeHint{
  0%{ transform: translate(0, -50%); opacity: 0.55; }
  50%{ transform: translate(26px, -50%); opacity: 0.9; }
  100%{ transform: translate(0, -50%); opacity: 0.55; }
}

.swipe-text{
  color: rgba(255,255,255,0.70);
  font-weight: 800;
  white-space: nowrap;
}

/* =====================
   UTILITIES & BUTTONS
   ===================== */
.service-progress{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  user-select: none;
}

.pill-btn{
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  cursor: pointer;
}

.pill-btn:focus-visible{
  outline: 2px solid rgba(var(--accent-2-rgb, var(--accent-rgb)), 0.65);
  outline-offset: 3px;
}

/* =====================
   HERO SECTION
   ===================== */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  padding: 110px 24px 70px;
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 800px at 30% 60%, rgba(255,255,255,0.08), rgba(255,255,255,0) 62%),
    radial-gradient(900px 700px at 70% 50%, rgba(255,255,255,0.06), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(16,20,20,1), rgba(10,12,12,1));
}

.hose{
  position: absolute;
  right: -220px;
  top: -140px;
  width: 780px;
  height: 1400px;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 35% 25%, rgba(255,255,255,0.16), rgba(255,255,255,0) 65%),
    linear-gradient(135deg,
      rgba(var(--accent-2-rgb, var(--accent-rgb)), 0.72),
      rgba(var(--accent-1-rgb), 0.50),
      rgba(var(--accent-0-rgb), 0.28)
    );
  border-radius: 999px;
  opacity: 0.95;
  transform: rotate(18deg);
  box-shadow: 0 60px 140px rgba(0,0,0,0.55);
}

.hose::after{
  content:"";
  position:absolute;
  inset: 38% 10% 6% 10%;
  border-radius: 999px;
  background: repeating-linear-gradient(45deg, rgba(30,20,16,0.70) 0 10px, rgba(30,20,16,0) 10px 22px);
  opacity: 0.40;
}

.hero-shell{
  position: relative;
  z-index: 5;
  width: min(1300px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(280px, 26vw, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero-shell--single{
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy{
  max-width: 860px;
  padding: 10px 4px;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}

.hero-offer-row{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-offer-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-offer-text{
  font-size: 0.98rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.5;
}



@media (max-width: 520px){
  .hero-offer-text{ font-size: 0.95rem; }
}

.hero-title{
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.3vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: rgba(255,255,255,0.94);
}

.hero-sub{
  margin-top: 14px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.74);
  max-width: 58ch;
}

.hero-cta-row{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background: rgba(var(--accent-rgb), 0.28);
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hero-cta:hover{
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), 0.34);
  border-color: rgba(var(--accent-rgb), 0.54);
}

.hero-cta--ghost{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.hero-cta--ghost:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

/* =====================
   UNIFIED BUTTON STYLE (EXCEPT NAV + SEND/WEITER)
   ===================== */
/* Apply the requested button look to most buttons/CTAs.
   Exclusions:
   - Navbar links (.nav-link)
   - Stepper/Form controls (.next-button = Weiter/Senden, .back-button = Zurück)
*/

/* Base (shared) */
a.hero-cta,
a.contact-mail,
button:not(.next-button):not(.back-button){
  position: relative;
  display: inline-block;
  padding: 12px 22px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.9px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 10px;
}

/* Primary (Book Room style) */
a.hero-cta:not(.hero-cta--ghost),
a.contact-mail{
  background: rgba(79, 79, 79, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

a.hero-cta:not(.hero-cta--ghost):hover,
a.contact-mail:hover{
  background: rgba(156, 156, 156, 0.23);
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

a.hero-cta:not(.hero-cta--ghost):active,
a.contact-mail:active{
  transform: translateY(0);
}

/* Secondary (Check-in style) */
a.hero-cta.hero-cta--ghost{
  background: transparent;
  transition: ease-out 0.5s;
  box-shadow: inset 0 0 0 0 #725AC1;
}

a.hero-cta.hero-cta--ghost:hover{
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

a.hero-cta.hero-cta--ghost:active{
  transform: translateY(0);
}

/* =====================
   GLASS CARDS
   ===================== */
.card.glass{
  position: relative !important;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--shadow), var(--inner);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  transform: translateZ(0);
}

.card.glass::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(900px 260px at 18% 6%, rgba(255,255,255,0.10), rgba(255,255,255,0) 62%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  mix-blend-mode: screen;
}

.card-inner{
  position: relative;
  z-index: 1;
  padding: 22px;
}

.left-card{ 
  width: 100%; 
  height: 520px; 
}

/* =====================
   SERVICES/PRICING CARDS
   ===================== */

.services-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.services-eyebrow{
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.services-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  margin-bottom: 0.7rem;
  line-height: 1.15;
}

.services-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Services feature cards (replacement for old animation) */
.services-feature-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 960px){
  .services-feature-grid{
    grid-template-columns: 1fr;
    max-width: 700px;
  }
}

.services-feature-card{
  position: relative;
  background: var(--card-bg);
  border-radius: 22px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow), var(--card-inner);
  padding: 22px;
  color: rgba(255,255,255,0.92);
  overflow: hidden;
  -webkit-backdrop-filter: var(--card-blur);
  backdrop-filter: var(--card-blur);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms cubic-bezier(.2,.8,.2,1),
    border-color 220ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.services-feature-card::before{
  content: "";
  position: absolute;
  inset: -140px -140px auto auto;
  width: 280px;
  height: 280px;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.24), rgba(var(--accent-rgb), 0) 62%),
    radial-gradient(circle at 55% 50%, rgba(82,39,255,0.16), rgba(82,39,255,0) 62%);
  pointer-events: none;
  opacity: 0.9;
}

.services-feature-card::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.10) 18%,
      rgba(255,255,255,0.00) 36%
    );
  transform: translate3d(-120%, 0, 0);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease;
}

.services-feature-card:hover{
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.30);
  box-shadow: 0 34px 90px rgba(0,0,0,0.60), inset 0 1px 0 rgba(255,255,255,0.10);
}

.services-feature-card:hover::after{
  transform: translate3d(120%, 0, 0);
  opacity: 1;
}

.services-feature-card:focus-visible{
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18), var(--card-shadow), var(--card-inner);
}

.services-feature-kicker{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,0.62);
}

.services-feature-title{
  margin-top: 10px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.services-feature-text{
  margin-top: 10px;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
  font-size: 0.98rem;
}

.services-feature-footer{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
}

.services-feature-arrow{
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms ease, border-color 220ms ease;
}

.services-feature-card:hover .services-feature-arrow{
  transform: translateX(2px);
  background: rgba(var(--accent-rgb), 0.16);
  border-color: rgba(var(--accent-rgb), 0.26);
}

/* Scroll-reveal for cards (enabled via JS; no-JS stays visible) */
.services-feature-card.reveal-ready{
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.99);
  filter: blur(6px);
}

.services-feature-card.reveal-ready.reveal-in{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity 520ms cubic-bezier(.2,.8,.2,1),
    transform 520ms cubic-bezier(.2,.8,.2,1),
    filter 520ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms cubic-bezier(.2,.8,.2,1),
    border-color 220ms cubic-bezier(.2,.8,.2,1);
}

@media (prefers-reduced-motion: reduce){
  .services-feature-card,
  .services-feature-card::after,
  .services-feature-arrow{
    transition: none !important;
  }
  .services-feature-card.reveal-ready{
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* =====================
   LEFT SIDEBAR (Services Navigation)
   ===================== */
.left-list{ 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.left-item{
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.70);
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.left-item:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  transform: translateY(-1px);
  color: rgba(255,255,255,0.78);
}
.left-item.is-active{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
}

.left-divider{
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 18px 0;
}

.left-preview{ display: flex; flex-direction: column; gap: 14px; }

.pill-btn{
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  cursor: pointer;
}

.preview-box{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.12);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.preview-title{
  font-weight: 800;
  color: rgba(255,255,255,0.84);
  margin-bottom: 8px;
}

.preview-sub{
  color: rgba(255,255,255,0.62);
  line-height: 1.35;
}

/* =====================
   MAIN CARD (Service Details)
   ===================== */
.main-card{ 
  width: 100%; 
  height: 520px;
  transition: opacity 0.15s ease-in-out;
}

.main-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-name{
  font-size: clamp(2.2rem, 3.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.product-sub{
  margin-top: 10px;
  color: rgba(255,255,255,0.62);
  font-weight: 600;
}

.badges{
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

.badge{
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.badge-warm{
  background: rgba(var(--accent-rgb), 0.20);
  border-color: rgba(var(--accent-rgb), 0.26);
  color: rgba(255,255,255,0.86);
}

.stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-card{
  border-radius: var(--r2);
  background: rgba(0,0,0,0.16);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.stat-card-warm{
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(0,0,0,0.14));
  border-color: var(--warmBorder);
}

.stat-k{
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.stat-v{
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(255,255,255,0.86);
}

.key-specs{ margin-top: 24px; }

.key-title{
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.chip-strong{
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.82);
}

.main-bottom{
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dots{ display: flex; gap: 10px; align-items: center; }

.dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}
.dot.is-active{ background: rgba(255,255,255,0.55); }

.nav-btns{ display: flex; gap: 10px; }

.nav-btn{
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.nav-btn:focus-visible,
.nav-link:focus-visible,
.left-item:focus-visible,
.pill-btn:focus-visible{
  outline: 2px solid rgba(var(--accent-2-rgb, var(--accent-rgb)), 0.65);
  outline-offset: 3px;
}

.nav-btn-warm{
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.22);
  color: rgba(255,255,255,0.86);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px){
  .hero-shell{
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .left-card, .main-card{ height: auto; }

  .main-bottom{
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 18px;
  }

  .hose{ opacity: 0.75; right: -340px; }
}

@media (max-width: 520px){
  .stats{ grid-template-columns: 1fr; }
  .swipe-text{ display: none; }
}

/* =====================================================
   PRICING SECTION STYLES (Services Info)
   ===================================================== */
.pricing-section {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow-x: hidden;
}

.pricing-section .page-content {
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.pricing-hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  line-height: 1.7;
}

.services-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.intro-text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.service-card {
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  padding: 1.2rem;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.09);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.service-header h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  flex: 1;
}

.service-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-arrow {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.9);
  transform: translateX(3px);
}

.service-description {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 400;
}

/* Make service cards feel like long rows on desktop */
@media (min-width: 980px) {
  .service-card {
    padding: 1.3rem 1.5rem;
  }

  .service-header {
    margin-bottom: 0;
  }

  .service-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* Title/arrow on top, description slightly constrained for readability */
  .service-description {
    max-width: 72ch;
  }
}

.tech-stack {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.tech-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.tech-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

/* =====================
   ABOUT (Home)
   Keep consistent spacing + card styling with the rest
   ===================== */
.about-section{
  min-height: 100vh;
  padding: 6rem 24px 4rem;
  position: relative;
}

.about-section .page-content{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.about-section .about-hero{
  text-align: center;
  max-width: 72ch;
  margin: 0 auto;
}

/* The global .section-title is used across sections; tighten just for About */
.about-section .section-title{
  margin-bottom: 14px;
}

.about-section .section-lead{
  margin: 10px auto 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* About profile card: same glass feel, better proportions */
.about-section .glass-card{
  border-radius: var(--r);
  padding: clamp(18px, 3vw, 32px);
}

.about-section .mission-section{ margin: 0; }

.about-section .mission-section h3{
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}

.about-section .mission-section p{
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  margin-top: 10px;
}

.about-section .mission-section p:first-of-type{ margin-top: 14px; }

.about-section .about-contact{
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.60);
}

.about-section .about-contact-link{
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}

.about-section .about-contact-link:hover{
  color: rgba(255,255,255,0.86);
  border-bottom-color: rgba(255,255,255,0.38);
}

.about-section .about-contact-link:focus-visible{
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.values-section {
  margin-bottom: 6rem;
}

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

.value-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.value-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.stats-section {
  margin-bottom: 6rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.stats-section .stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stats-section .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.team-section {
  margin-bottom: 6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.team-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.cta-section {
  margin-top: 4rem;
  padding-bottom: 4rem;
}

/* =====================
   SEO & GEO TEASER (Home)
   ===================== */
.seo-geo-section{
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.seo-geo-section .page-content{
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.seo-geo-head{
  text-align: center;
  margin-bottom: 3rem;
}

.seo-geo-eyebrow{
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

.seo-geo-sub{
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

/* Animated gradient text (calm) */
.grad-shift{
  background-image: linear-gradient(90deg,
    rgba(82,39,255,0.98),
    rgba(0,188,212,0.92),
    rgba(47,122,82,0.92),
    rgba(82,39,255,0.98)
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradShift 14s ease-in-out infinite;
}

@keyframes gradShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 70% 50%; }
  100%{ background-position: 0% 50%; }
}

.seo-geo-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 auto;
}

@media (max-width: 960px){
  .seo-geo-grid{ grid-template-columns: 1fr; }
}

.seo-geo-card{
  position: relative;
  background: rgba(255,255,255,0.07);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 55px rgba(0,0,0,0.34);
  padding: 22px;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  overflow: hidden;
}

.seo-geo-card::before{
  content: "";
  position: absolute;
  inset: -160px -160px auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(82,39,255,0.18), rgba(82,39,255,0) 60%);
  pointer-events: none;
}

.seo-geo-card-kicker{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255,255,255,0.65);
}

.seo-geo-card-title{
  margin-top: 10px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.94);
}

.seo-geo-card-text{
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  font-size: 0.98rem;
}


@media (prefers-reduced-motion: reduce){
  .grad-shift{ animation: none !important; background-position: 50% 50%; }
}

.seo-geo-float{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.geo-pin{
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.25));
  box-shadow: 0 10px 26px rgba(82,39,255,0.18);
  opacity: 0.85;
  animation: geoFloat 5.5s ease-in-out infinite;
}

.geo-pin::after{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(82,39,255,0.22), rgba(82,39,255,0) 55%);
}

.geo-pin--1{ left: 10%; top: 22%; animation-delay: -0.6s; }
.geo-pin--2{ right: 14%; top: 28%; animation-delay: -2.1s; }
.geo-pin--3{ left: 22%; bottom: 18%; animation-delay: -1.2s; }

.geo-ring{
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: radial-gradient(circle, rgba(255,255,255,0.05), rgba(255,255,255,0));
  filter: blur(0.2px);
  opacity: 0.6;
  animation: geoPulse 6.8s ease-in-out infinite;
}

.geo-ring--1{ right: -60px; top: 90px; animation-delay: -1.4s; }
.geo-ring--2{ left: -80px; bottom: 40px; animation-delay: -3.1s; }

@keyframes geoFloat{
  0%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(0,-14px,0); }
  100%{ transform: translate3d(0,0,0); }
}

@keyframes geoPulse{
  0%{ transform: scale(1); opacity: 0.45; }
  50%{ transform: scale(1.05); opacity: 0.75; }
  100%{ transform: scale(1); opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce){
  .geo-pin, .geo-ring{ animation: none !important; }
}

.cta-glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-glass-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-glass-card p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.btn-cta {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-section,
  .about-section {
    padding: 5rem 1.5rem 3rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .values-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Contact Stepper CSS (extern) ===== */

.contact-section { padding: 6rem 0; }

.outer-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.step-circle-container {
  width: 100%;
  max-width: 52rem; /* größer */
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,12,0.65);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.35),
    0 10px 10px -5px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.step-indicator-row {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 2.75rem; /* größer */
  user-select: none;
}

.step-content-default { position: relative; overflow: hidden; height: auto; }

.step-default { padding: 1.35rem 2.75rem 0; color: rgba(255,255,255,0.9); }

/* Used by Contact/Imprint blocks on the home page */
.step-default--padded{ padding: 2.25rem 2.75rem; }

.footer-container { padding: 0 2.75rem 2.75rem 2.75rem; }

.footer-nav { margin-top: 2rem; display: flex; gap: 1rem; }
.footer-nav.spread { justify-content: space-between; }
.footer-nav.end { justify-content: flex-end; }

.back-button {
  transition: all 250ms;
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
}
.back-button:hover { color: rgba(255,255,255,0.85); }

.next-button {
  transition: all 250ms;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(var(--accent-rgb), 0.85);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.55rem 1.05rem;
  cursor: pointer;
  border: 0;
  font-size: 14px;
}

.step-indicator { cursor: pointer; outline: none; }

.step-indicator-inner {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 250ms;
  box-sizing: border-box;
}

.active-dot {
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background-color: #fff;
}

.step-number { font-size: 0.875rem; }

.step-connector {
  margin: 0 0.6rem;
  height: 0.125rem;
  flex: 1;
  overflow: hidden;
  border-radius: 0.25rem;
  background-color: rgba(255,255,255,0.18);
}

.step-connector-inner {
  height: 100%;
  width: 0%;
  background-color: rgba(var(--accent-rgb), 1);
  transition: width 400ms;
}

.check-icon { height: 1rem; width: 1rem; color: #fff; display: block; }

.stage { overflow: hidden; padding-bottom: 0.25rem; }

.slide {
  transition: transform 400ms ease, opacity 400ms ease;
  will-change: transform, opacity;
}

.slide.enter-from-right { transform: translateX(10%); opacity: 0; }
.slide.enter-from-left { transform: translateX(-10%); opacity: 0; }
.slide.center { transform: translateX(0%); opacity: 1; }

.text-input {
  margin-top: 0.75rem;
  padding: 0.65rem 0.8rem;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-size: 16px; /* iOS/Android: prevents input zoom on focus */
  line-height: 1.25;
  outline: none;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}

/* Touch-friendly input height (avoid "jump" when keyboard opens) */
input.text-input{
  min-height: 44px;
}

.text-input::placeholder { color: rgba(255,255,255,0.45); }

.text-input:focus {
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.text-area { resize: vertical; min-height: 120px; }

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.contact-status {
  min-height: 2.4em; /* reserve space to avoid layout shifts on validation */
  margin-top: 0.15rem;
  font-size: 0.95rem;
}

.contact-status.is-ok { color: rgba(167, 243, 208, 0.95); }
.contact-status.is-err { color: rgba(254, 202, 202, 0.95); }
.contact-status.is-info { color: rgba(255, 255, 255, 0.75); }

.next-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.muted { color: rgba(255,255,255,0.65); }

.inline-link{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.45);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}

.inline-link:hover{
  color: rgba(255,255,255,0.98);
  border-color: rgba(var(--accent-rgb), 0.75);
}

.inline-link:focus-visible{
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

/* (Removed inner scroll container) main.page is now a normal flow container. */
.page{
  width: 100%;
  min-height: 100%;
  overflow: visible;
}

/* Snap-Ziele */
.hero,
.pricing-section,
.about-section,
.seo-geo-section,
.contact-section,
.contact-us-section,
.faq-section,
.imprint-section{
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;  /* optional, macht Snap “härter” */
}

/* Desktop: keep a small top spacing (avoid overly low placement) */
@media (min-width: 900px){
  .contact-us-section{
    padding-top: clamp(1.25rem, 3vh, 2.25rem);
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }
}

.imprint-section{
  scroll-snap-stop: always;
}


/* =====================================================
   UNIFY BACKGROUNDS (make cards consistent)
   ===================================================== */

/* Optional class if you want to use it in HTML */
.unified-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  box-shadow: var(--card-shadow), var(--card-inner);
}

/* Force same background across common containers (no HTML change needed) */
.card.glass,
.service-card,
.glass-card,
.value-card,
.stats-section .stat-card,
.team-card,
.preview-box,
.step-circle-container{
  background: var(--card-bg) !important;
  border-color: var(--card-border) !important;
  backdrop-filter: var(--card-blur) !important;
  -webkit-backdrop-filter: var(--card-blur) !important;
  box-shadow: var(--card-shadow), var(--card-inner) !important;
}

/* ================= Intro Cursor "click" ================= */
#introOverlay{
  cursor: none; /* echten Cursor im Intro ausblenden */
}

#introCursor{
  position: fixed;
  left: 0;
  top: 0;
  transform: translate3d(-9999px, -9999px, 0);
  z-index: 10001;
  pointer-events: none;

  padding: 8px 12px;
  border-radius: 999px;

  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;

  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  opacity: 0.95;
  will-change: transform;
}

/* Klick-Feedback */
#introCursor.is-down{
  transform: translate3d(var(--x, -9999px), var(--y, -9999px), 0) scale(0.92);
  opacity: 1;
}

/* Reduced motion: normaler Cursor behalten, kein Custom Cursor */
@media (prefers-reduced-motion: reduce){
  #introOverlay{ cursor: auto; }
  #introCursor{ display: none !important; }
}

/* =====================
   MOBILE (iPhone)
   ===================== */
@media (max-width: 600px){
  /* iOS Safari can feel janky with fixed backgrounds */
  html, body{ background-attachment: scroll; }

  /* Navbar: keep it on one line and allow horizontal scroll */
  .navbar-container{
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    justify-content: center;
    padding: 0 8px;
  }

  .navbar-pill{
    max-width: calc(100vw - 20px);
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 22px;
  }

  .nav-link{
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  /* Hide imprint in mobile navbar */
  .navbar-pill a[href="#imprint"]{ display: none; }

  /* Sections: reduce side padding */
  .hero{ padding: calc(120px + env(safe-area-inset-top, 0px)) 14px 52px; }
  .pricing-section,
  .about-section,
  .seo-geo-section{ padding: 4.75rem 1rem 3rem; }

  .contact-section{ padding: 4.75rem 0; }

  /* Scroll snap feels too aggressive on iPhone */
  html{ scroll-snap-type: y proximity; }
  .hero,
  .pricing-section,
  .about-section,
  .seo-geo-section,
  .contact-section,
  .contact-us-section,
  .faq-section,
  .imprint-section{ scroll-snap-stop: normal; }

  /* Contact stepper: shrink paddings */
  .outer-container{ padding: 0.75rem; }
  .step-indicator-row{ padding: 1.25rem; flex-wrap: wrap; gap: 10px; }
  .step-default{ padding: 1rem 1.25rem 0; }
  .step-default--padded{ padding: 1.25rem !important; }
  .footer-container{ padding: 0 1.25rem 1.25rem 1.25rem; }
  .footer-nav{ gap: 0.75rem; flex-wrap: wrap; }

  /* Buttons: bigger tap targets */
  .back-button,
  .next-button{ padding: 0.7rem 1.05rem; font-size: 15px; }

  /* Bottom hint respects safe area */
  #swipeHint{ bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

.animation-mouse{
  font-size: 30px;
}

/* =====================
   FAQ (minimal styling, keeps existing look)
   ===================== */
.faq-section{
  padding: 6rem 2rem 4rem;
}

.faq-list{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  box-shadow: var(--card-shadow), var(--card-inner);
  overflow: hidden;
}

.faq-item > summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}

.faq-item > summary::-webkit-details-marker{ display: none; }

.faq-answer{
  padding: 0 18px 16px 18px;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
}

/* While typing in forms (mobile keyboards), disable snap to avoid "jumping" */
html.is-typing,
body.is-typing{
  scroll-snap-type: none;
}