/* --- reset.css --- */
/* ========================================
   CSS Reset – kiwebsites.com
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}


/* --- variables.css --- */
/* ========================================
   CSS Variables – kiwebsites.com
   Dual-State Design System
   ======================================== */

:root {
  /* ---- TYPOGRAPHY (System Font Stack) ---- */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  --fs-xs: clamp(0.75rem, 0.8vw + 0.5rem, 0.875rem);
  --fs-sm: clamp(0.875rem, 1vw + 0.6rem, 1rem);
  --fs-base: clamp(1rem, 1vw + 0.8rem, 1.125rem); /* ~16px to 18px */
  --fs-md: clamp(1.125rem, 1.2vw + 1rem, 1.25rem); /* ~18px to 20px */
  --fs-lg: clamp(1.2rem, 1.5vw + 1rem, 1.5rem);
  --fs-xl: clamp(1.4rem, 2vw + 1rem, 2rem);
  --fs-2xl: clamp(1.6rem, 3vw + 1rem, 2.5rem);
  --fs-3xl: clamp(1.8rem, 4vw + 1rem, 3.5rem);
  --fs-4xl: clamp(2.2rem, 5vw + 1rem, 4.5rem);
  --fs-5xl: clamp(2.5rem, 6vw + 1.2rem, 6rem);
  --fs-6xl: clamp(3rem, 8vw + 1.5rem, 8rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* ---- SPACING ---- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ---- BORDER RADIUS ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ---- TRANSITIONS ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 1500ms;

  /* ---- MAX WIDTHS ---- */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;

  /* ========================================
     GENERIC STATE (Pre-Reveal)
     Intentionally boring, standard, forgettable
     ======================================== */
  --gen-bg: #ffffff;
  --gen-bg-alt: #f5f5f5;
  --gen-text: #333333;
  --gen-text-muted: #666666;
  --gen-heading: #222222;
  --gen-accent: #df2232;
  --gen-accent-hover: #b81c2a;
  --gen-border: #e0e0e0;
  --gen-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --gen-card-bg: #ffffff;
  --gen-section-padding: var(--space-4xl) var(--space-xl);

  /* ========================================
     PREMIUM STATE (Post-Reveal)
     Luxurious, unique, impressive
     ======================================== */
  --pre-bg: #0a0a0a;
  --pre-bg-alt: #111111;
  --pre-bg-card: rgba(255, 255, 255, 0.03);
  --pre-text: #d4d4d4;
  --pre-text-muted: #737373;
  --pre-heading: #ffffff;
  --pre-accent-1: #df2232;
  --pre-accent-2: #ffffff;
  --pre-accent-3: #f04555;
  --pre-gradient-primary: linear-gradient(135deg, #df2232 0%, #ffffff 50%, #f04555 100%);
  --pre-gradient-accent: linear-gradient(135deg, #df2232 0%, #f04555 100%);
  --pre-gradient-warm: linear-gradient(135deg, #f04555 0%, #f87171 100%);
  --pre-border: rgba(255, 255, 255, 0.08);
  --pre-border-glow: rgba(223, 34, 50, 0.3);
  --pre-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --pre-shadow-glow: 0 0 40px rgba(223, 34, 50, 0.15);
  --pre-glass-bg: rgba(255, 255, 255, 0.04);
  --pre-glass-border: rgba(255, 255, 255, 0.08);
  --pre-glass-blur: 20px;
}


/* --- base.css --- */
/* ========================================
   Base Styles – kiwebsites.com
   ======================================== */

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--pre-text);
  background-color: var(--pre-bg);
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}

/* Light state */
body.revealed {
  color: var(--gen-text);
  background-color: var(--gen-bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

section {
  position: relative;
}

/* Generic section padding */
.section-padding {
  padding: var(--space-5xl) 0;
}

/* ---- GENERIC STATE TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--pre-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md) 0;
  transition: color 0.6s ease;
}

body.revealed h1,
body.revealed h2,
body.revealed h3,
body.revealed h4,
body.revealed h5,
body.revealed h6 {
  color: var(--gen-heading);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }

p {
  max-width: 65ch;
  transition: color 0.8s var(--ease-out);
}

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


/* --- nav.css --- */
/* ========================================
   Navigation – kiwebsites.com
   Default: DARK | body.revealed: LIGHT
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pre-border);
  transition: all 0.6s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

.nav__logo span {
  background: var(--pre-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s ease;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--pre-text-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pre-gradient-accent);
  transition: width 0.3s var(--ease-out), background 0.6s ease;
}

.nav__link:hover {
  color: var(--pre-heading);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  padding: var(--space-xs) var(--space-lg);
  background: var(--pre-gradient-accent);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(223, 34, 50, 0.3);
  transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
  box-shadow: 0 0 30px rgba(223, 34, 50, 0.5);
  transform: translateY(-2px);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pre-heading);
  transition: all 0.3s var(--ease-out);
}

/* ========================================
   LIGHT STATE – Navigation (body.revealed)
   ======================================== */

body.revealed .nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gen-border);
}

body.revealed .nav__logo {
  color: var(--gen-heading);
}

body.revealed .nav__logo span {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--gen-accent);
}

body.revealed .nav__link {
  color: var(--gen-text-muted);
}

body.revealed .nav__link:hover {
  color: var(--gen-heading);
}

body.revealed .nav__link::after {
  background: var(--gen-accent);
}

body.revealed .nav__cta {
  background: var(--gen-accent);
  box-shadow: none;
}

body.revealed .nav__cta:hover {
  background: var(--gen-accent-hover);
  transform: translateY(-1px);
}

body.revealed .nav__toggle span {
  background: var(--gen-heading);
}

/* ---- Dropdown Styles ---- */
.nav__dropdown {
  position: relative;
  display: inline-block;
}

.nav__dropdown > .nav__link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav__dropdown-icon {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown-content {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--pre-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
  pointer-events: none;
}

/* Invisible bridge so hover doesn't break */
.nav__dropdown-content::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
}

.nav__dropdown:hover .nav__dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
  pointer-events: auto;
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav__dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--pre-heading);
  padding-left: calc(var(--space-lg) + 6px);
}

/* Light mode dropdown styling */
body.revealed .nav__dropdown-content {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--gen-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.revealed .nav__dropdown-link {
  color: var(--gen-text-muted);
}

body.revealed .nav__dropdown-link:hover {
  background: var(--gen-bg-alt);
  color: var(--gen-heading);
}


/* --- hero.css --- */
/* ========================================
   Hero Section – kiwebsites.com
   Default: DARK | body.revealed: LIGHT
   ======================================== */

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--pre-bg);
  transition: background 0.6s ease;
}

/* Subtle animated gradient background */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(223, 34, 50, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(240, 69, 85, 0.06) 0%, transparent 40%);
  animation: heroShift 12s ease-in-out infinite alternate;
  transition: opacity 0.8s var(--ease-out);
}

/* Background image layer */
.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/vibe-coding-website-hintergrund-dark.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
  transition: opacity 1s ease, background-image 1s ease;
  z-index: 0;
}

body.revealed .hero__bg-image {
  background-image: url('/assets/vibe-coding-website-hintergrund-light.webp');
  opacity: 1;
}

@keyframes heroShift {
  0% {
    transform: scale(1) translateX(0);
  }

  100% {
    transform: scale(1.05) translateX(2%);
  }
}

/* Inner container: side-by-side layout */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
}

/* ---- Hero content blur during ripple ---- */
.hero__inner {
  filter: blur(calc(var(--ripple-intensity, 0) * 6px));
  transition: filter 0.2s ease;
}

/* ---- SVG distortion filter applied to main content ---- */
.page-content.is-distorting {
  filter: url(#ripple-filter);
}

/* ---- Text content (left side) ---- */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5xl) var(--space-3xl) var(--space-5xl) var(--space-4xl);
  max-width: 55%;
}

/* Wrapper for the two text states */
.hero__content-wrapper {
  position: relative;
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

/* Dark state title (default) */
.hero__text-dark .hero__title {
  color: var(--pre-heading);
}

.hero__text-dark .hero__title-accent {
  background: var(--pre-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Light state title */
.hero__text-light .hero__title {
  color: var(--gen-heading);
}

.hero__text-light .hero__title-accent {
  color: var(--gen-accent);
}

.hero__subtitle {
  font-size: var(--fs-xl);
  max-width: 600px;
  margin: 0 0 var(--space-2xl) 0;
  line-height: var(--lh-relaxed);
}

.hero__text-dark .hero__subtitle {
  color: var(--pre-text);
}

.hero__text-light .hero__subtitle {
  color: var(--gen-text);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  padding: var(--space-md) var(--space-2xl);
  color: #ffffff;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  align-self: flex-start;
}

.hero__text-dark .hero__cta {
  background: var(--pre-gradient-accent);
  box-shadow: 0 0 30px rgba(223, 34, 50, 0.3);
}

.hero__text-dark .hero__cta:hover {
  box-shadow: 0 0 50px rgba(223, 34, 50, 0.5);
  transform: translateY(-3px);
}

.hero__text-light .hero__cta {
  background: var(--gen-accent);
}

.hero__text-light .hero__cta:hover {
  background: var(--gen-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(223, 34, 50, 0.3);
}

.hero__cta-arrow {
  transition: transform 0.3s var(--ease-out);
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(4px);
}

/* ---- Portrait (right side) ---- */
.hero__portrait {
  position: relative;
  flex: 0 0 45%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

body.revealed .hero__portrait::before {
  background: var(--gen-accent);
  opacity: 0.15;
  box-shadow: none;
}

/* Decorative accent circle */
.hero__portrait::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.3;
  transition: all 0.6s ease;
  pointer-events: none;
}

body.revealed .hero__portrait::after {
  border-color: var(--gen-border);
  box-shadow: none;
}

.hero__portrait-img {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  transition: opacity 0.4s ease;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

/* Robot visible by default, fades out during transition */
.hero__portrait-robot {
  opacity: calc(1 - var(--text-progress, 0));
  object-fit: contain;
  max-width: 520px;
}

/* Human hidden by default, fades in during transition */
.hero__portrait-human {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: var(--text-progress, 0);
}

/* Portrait RGB glitch during swap */
.hero__portrait {
  animation: none;
}

@keyframes portraitGlitch {

  0%,
  100% {
    filter: none;
  }

  20% {
    filter: drop-shadow(2px 0 0 rgba(255, 0, 0, 0.7)) drop-shadow(-2px 0 0 rgba(0, 255, 255, 0.7));
  }

  40% {
    filter: drop-shadow(-1px 0 0 rgba(255, 0, 0, 0.5)) drop-shadow(1px 0 0 rgba(0, 255, 255, 0.5));
  }

  60% {
    filter: drop-shadow(3px 0 0 rgba(255, 0, 0, 0.6)) drop-shadow(-3px 0 0 rgba(0, 0, 255, 0.6));
  }

  80% {
    filter: drop-shadow(0 0 0 transparent);
  }
}

/* ---- Scroll Hint ---- */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--pre-text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollPulse 2.5s ease-in-out infinite;
  z-index: 3;
  transition: color 0.6s ease;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
  }
}

body.revealed .hero__scroll-hint {
  color: var(--gen-text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--pre-border);
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}

body.revealed .hero__scroll-line {
  background: var(--gen-border);
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--pre-gradient-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

body.revealed .hero__scroll-line::after {
  background: var(--gen-accent);
}

body.revealed .hero {
  background: var(--gen-bg);
}

body.revealed .hero__bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(223, 34, 50, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(223, 34, 50, 0.04) 0%, transparent 50%);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* --- generic.css --- */
/* ========================================
   Generic/Content Section Styles – kiwebsites.com
   Default: DARK | body.revealed: LIGHT
   
   These styles apply to all content sections.
   They start in dark/premium mode and transition
   to a clean light mode after the hero scroll.
   ======================================== */

/* ---- Generic Section Base ---- */
.generic-section {
  position: relative;
  transition: all 0.6s ease;
}

.generic-section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.generic-section__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .generic-section__title {
  color: var(--gen-heading);
}

/* Accent line under title */
.generic-section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--pre-gradient-accent);
  border-radius: 2px;
  transition: background 0.6s ease;
}

body.revealed .generic-section__title::after {
  background: var(--gen-accent);
}

.generic-section__subtitle {
  font-size: var(--fs-md);
  color: var(--pre-text-muted);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .generic-section__subtitle {
  color: var(--gen-text-muted);
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: var(--pre-glass-bg);
  border: 1px solid var(--pre-glass-border);
  backdrop-filter: blur(var(--pre-glass-blur));
  -webkit-backdrop-filter: blur(var(--pre-glass-blur));
}

body.revealed .service-card {
  background: var(--gen-card-bg);
  border-color: var(--gen-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

a.service-card:hover {
  transform: translateY(-4px);
}

body.revealed a.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(223, 34, 50, 0.25);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: rgba(223, 34, 50, 0.1);
  color: var(--pre-accent-1);
}

body.revealed .service-card__icon {
  background: var(--gen-bg-alt);
  color: var(--gen-accent);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .service-card__title {
  color: var(--gen-heading);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .service-card__text {
  color: var(--gen-text-muted);
}

/* ---- USP Items ---- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.usp-item {
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  transition: all 0.6s ease;
  background: var(--pre-glass-bg);
  border: 1px solid var(--pre-glass-border);
  position: relative;
  overflow: hidden;
}

body.revealed .usp-item {
  background: var(--gen-card-bg);
  border-color: var(--gen-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Top accent bar */
.usp-item__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--pre-gradient-accent);
  transition: background 0.6s ease;
}

body.revealed .usp-item__accent {
  background: linear-gradient(90deg, var(--gen-accent), #f04555);
}

/* Decorative icon */
.usp-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  transition: all 0.6s ease;
  background: rgba(223, 34, 50, 0.1);
  color: var(--pre-accent-1);
}

body.revealed .usp-item__icon {
  background: rgba(223, 34, 50, 0.08);
  color: var(--gen-accent);
}

.usp-item__number {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-black);
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: var(--pre-gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s ease;
}

body.revealed .usp-item__number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--gen-accent);
}

.usp-item__label {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-md);
  color: var(--pre-heading);
  transition: color 0.6s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.revealed .usp-item__label {
  color: var(--gen-heading);
}

/* Separator between label and text */
.usp-item__separator {
  width: 36px;
  height: 2px;
  background: var(--pre-gradient-accent);
  margin: 0 auto var(--space-lg);
  border-radius: 1px;
  transition: background 0.6s ease;
}

body.revealed .usp-item__separator {
  background: linear-gradient(90deg, var(--gen-accent), #f04555);
}

.usp-item__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
  max-width: 34ch;
  margin: 0 auto;
}

body.revealed .usp-item__text {
  color: var(--gen-text-muted);
}

/* ---- Process Steps ---- */
.process-steps {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  transition: all 0.6s ease;
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  transition: all 0.6s ease;
  /* Dark default */
  background: var(--pre-gradient-accent);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(223, 34, 50, 0.3);
}

body.revealed .process-step__number {
  background: var(--gen-accent);
  box-shadow: none;
}

.process-step__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-xs);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .process-step__title {
  color: var(--gen-heading);
}

.process-step__text {
  font-size: var(--fs-sm);
  color: var(--pre-text-muted);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .process-step__text {
  color: var(--gen-text-muted);
}

/* Connector arrow between steps */
.process-step::after {
  content: '→';
  position: absolute;
  right: calc(var(--space-xl) * -0.5 - 6px);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-lg);
  color: var(--pre-text-muted);
  transition: color 0.6s ease;
}

body.revealed .process-step::after {
  color: var(--gen-border);
}

.process-step:last-child::after {
  display: none;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  background: var(--pre-bg-alt);
  transition: background 0.6s ease;
}

body.revealed .cta-section {
  background: var(--gen-bg-alt);
}

.cta-section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--space-lg);
  color: var(--pre-heading);
  transition: color 0.6s ease;
}

body.revealed .cta-section__title {
  color: var(--gen-heading);
}

.cta-section__text {
  font-size: var(--fs-md);
  color: var(--pre-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-relaxed);
  transition: color 0.6s ease;
}

body.revealed .cta-section__text {
  color: var(--gen-text-muted);
}

.cta-section__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  padding: var(--space-lg) var(--space-3xl);
  border-radius: var(--radius-full);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  background: var(--pre-gradient-accent);
  box-shadow: 0 0 30px rgba(223, 34, 50, 0.3);
}

body.revealed .cta-section__btn {
  background: var(--gen-accent);
  box-shadow: none;
}

.cta-section__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(223, 34, 50, 0.5);
}

body.revealed .cta-section__btn:hover {
  background: var(--gen-accent-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ---- Section Padding ---- */
.section-padding {
  padding: var(--space-5xl) var(--space-xl);
}


/* --- vibe.css --- */
/* ========================================
   Vibe Coding Section – Chat Interface
   kiwebsites.com
   ======================================== */

/* ---- Section Base ---- */
.vibe-section {
  position: relative;
  overflow: hidden;
}

.vibe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(223, 34, 50, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(223, 34, 50, 0.02) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.6s ease;
}

body:not(.revealed) .vibe-section::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(223, 34, 50, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(240, 69, 85, 0.05) 0%, transparent 70%);
}


/* ========== CHAT LAYOUT ========== */
.vibe-chats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* ---- Chat Window ---- */
.vibe-chat {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.6s ease;
  background: var(--gen-card-bg);
  border: 1px solid var(--gen-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

body:not(.revealed) .vibe-chat {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--pre-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ---- Chat Header (macOS-style) ---- */
.vibe-chat__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 20px;
  transition: all 0.6s ease;
  background: var(--gen-bg-alt);
  border-bottom: 1px solid var(--gen-border);
}

body:not(.revealed) .vibe-chat__header {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--pre-glass-border);
}

.vibe-chat__header--pro {
  background: rgba(223, 34, 50, 0.04);
}

body:not(.revealed) .vibe-chat__header--pro {
  background: rgba(223, 34, 50, 0.1);
}

.vibe-chat__header-dots {
  display: flex;
  gap: 6px;
}

.vibe-chat__header-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: background 0.6s ease;
}

.vibe-chat--amateur .vibe-chat__header-dots span:nth-child(1) { background: #ff5f56; }
.vibe-chat--amateur .vibe-chat__header-dots span:nth-child(2) { background: #ffbd2e; }
.vibe-chat--amateur .vibe-chat__header-dots span:nth-child(3) { background: #27c93f; }

.vibe-chat--pro .vibe-chat__header-dots span:nth-child(1) { background: #ff5f56; }
.vibe-chat--pro .vibe-chat__header-dots span:nth-child(2) { background: #ffbd2e; }
.vibe-chat--pro .vibe-chat__header-dots span:nth-child(3) { background: #27c93f; }

.vibe-chat__header-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.6s ease;
  color: var(--gen-text-muted);
  margin-left: auto; /* Schiebt den Text nach rechts */
}

body:not(.revealed) .vibe-chat__header-title {
  color: var(--pre-text-muted);
}

.vibe-chat--pro .vibe-chat__header-title {
  color: var(--gen-accent);
}

body:not(.revealed) .vibe-chat--pro .vibe-chat__header-title {
  color: var(--pre-accent-1);
}

/* ---- Chat Body ---- */
.vibe-chat__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 420px;
}


/* ========== CHAT MESSAGES ========== */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  /* Stagger animation */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.chat-msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* User messages (right-aligned, amateur side) */
.chat-msg--user {
  align-self: flex-end;
}

.chat-msg--user .chat-msg__bubble {
  border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
  transition: all 0.6s ease;
  background: var(--gen-bg-alt);
  color: var(--gen-text);
}

body:not(.revealed) .chat-msg--user .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.07);
  color: var(--pre-text);
}

/* Developer messages (right-aligned, pro side) */
.chat-msg--dev {
  align-self: flex-end;
}

.chat-msg--dev .chat-msg__bubble {
  border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
  transition: all 0.6s ease;
  background: rgba(223, 34, 50, 0.08);
  color: var(--gen-text);
  border: 1px solid rgba(223, 34, 50, 0.15);
}

body:not(.revealed) .chat-msg--dev .chat-msg__bubble {
  background: rgba(223, 34, 50, 0.12);
  color: var(--pre-text);
  border-color: rgba(223, 34, 50, 0.25);
}

/* Correction message variant */
.chat-msg--correction .chat-msg__bubble {
  background: rgba(223, 34, 50, 0.12);
  border-color: rgba(223, 34, 50, 0.3);
}

body:not(.revealed) .chat-msg--correction .chat-msg__bubble {
  background: rgba(223, 34, 50, 0.18);
  border-color: rgba(223, 34, 50, 0.4);
}

.chat-msg__label {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  align-self: flex-end;
  transition: color 0.6s ease;
  color: var(--gen-accent);
}

body:not(.revealed) .chat-msg__label {
  color: var(--pre-accent-1);
}

/* AI messages (left-aligned) */
.chat-msg--ai {
  align-self: flex-start;
}

.chat-msg__name {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  transition: color 0.6s ease;
  color: var(--gen-text-muted);
  opacity: 0.6;
}

body:not(.revealed) .chat-msg__name {
  color: var(--pre-text-muted);
}

.chat-msg--ai .chat-msg__bubble {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
  transition: all 0.6s ease;
  background: var(--gen-card-bg);
  color: var(--gen-text);
  border: 1px solid var(--gen-border);
}

body:not(.revealed) .chat-msg--ai .chat-msg__bubble {
  background: rgba(255, 255, 255, 0.04);
  color: var(--pre-text);
  border-color: var(--pre-glass-border);
}

/* General bubble style */
.chat-msg__bubble {
  padding: 12px 16px;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* Code snippet inside bubble */
.chat-msg__code {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  transition: all 0.6s ease;
  background: rgba(0, 0, 0, 0.05);
  color: var(--gen-text);
}

body:not(.revealed) .chat-msg__code {
  background: rgba(0, 0, 0, 0.3);
  color: #d4d4d4;
}


/* ========== SYSTEM / VERDICT MESSAGES ========== */
.chat-msg--system {
  align-self: stretch;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  /* Reset stagger animation */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), background 0.6s ease, color 0.6s ease;
}

.chat-msg--system.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg__status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: var(--fw-black);
  flex-shrink: 0;
}

/* Fail verdict */
.chat-msg--fail {
  background: rgba(180, 60, 60, 0.08);
  color: #9c3030;
}

body:not(.revealed) .chat-msg--fail {
  background: rgba(180, 60, 60, 0.15);
  color: #e06060;
}

.chat-msg--fail .chat-msg__status-icon {
  background: rgba(180, 60, 60, 0.15);
  color: #b04040;
}

body:not(.revealed) .chat-msg--fail .chat-msg__status-icon {
  background: rgba(180, 60, 60, 0.25);
  color: #e06060;
}

/* Success verdict */
.chat-msg--success {
  background: rgba(34, 160, 80, 0.08);
  color: #1a8a4a;
}

body:not(.revealed) .chat-msg--success {
  background: rgba(34, 160, 80, 0.15);
  color: #40d080;
}

.chat-msg--success .chat-msg__status-icon {
  background: rgba(34, 160, 80, 0.15);
  color: #1a8a4a;
}

body:not(.revealed) .chat-msg--success .chat-msg__status-icon {
  background: rgba(34, 160, 80, 0.25);
  color: #40d080;
}


/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .vibe-chats {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .chat-msg {
    max-width: 95%;
  }

  .vibe-chat__body {
    padding: var(--space-md);
    min-height: auto;
  }
}


/* --- transitions.css --- */
/* ========================================
   Section Transitions & Dividers – kiwebsites.com
   Wave/angle SVG dividers + glassmorphism trust bar
   ======================================== */

/* ---- Section Background Images ---- */
#leistungen {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--pre-bg);
  /* Dark background */
}

/* 100% Zoomed CodePen Lava Lamp Background */
.lavalampe-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  /* Slight transparency so text is perfectly readable */
}

/* Animations that mimic the TweenMax from the CodePen */
#blob0,
#blob1,
#blob2,
#blob3,
#blob4 {
  animation: blobAnim ease-in-out infinite alternate;
  animation-play-state: paused;
}

#leistungen.is-playing #blob0,
#leistungen.is-playing #blob1,
#leistungen.is-playing #blob2,
#leistungen.is-playing #blob3,
#leistungen.is-playing #blob4 {
  animation-play-state: running;
}

#blob0 {
  animation-duration: 18s;
  animation-delay: -22s;
}

#blob1 {
  animation-duration: 25s;
  animation-delay: -29s;
}

#blob2 {
  animation-duration: 15s;
  animation-delay: -21s;
}

#blob3 {
  animation-duration: 32s;
  animation-delay: -34s;
}

#blob4 {
  animation-duration: 21s;
  animation-delay: -25s;
}

@keyframes blobAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(260px);
  }
}

#leistungen>.container {
  position: relative;
  z-index: 1;
}

/* Override colors for colorful Leistungen bg */
#leistungen .generic-section__title {
  color: #ffffff !important;
}

#leistungen .generic-section__subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
}

#leistungen .service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#leistungen a.service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#leistungen .service-card__title {
  color: #ffffff !important;
}

#leistungen .service-card__text {
  color: rgba(255, 255, 255, 0.8) !important;
}

#leistungen .service-card__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}


#vibe-coding {
  position: relative;
}

#vibe-coding::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/section-bg-vibe.png') center / cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

#vibe-coding>.container {
  position: relative;
  z-index: 1;
}

/* ---- Glassmorphism Trust Bar ---- */
.tech-stack-glass {
  position: relative;
  z-index: 10;
  max-width: 740px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-2xl);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.tech-stack-glass__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: var(--fw-bold);
  color: var(--gen-text-muted);
  margin-bottom: var(--space-md);
  text-align: center;
  display: inline-block;
}

.tech-stack-glass__logos {
  display: flex;
  gap: var(--space-3xl);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
}

.tech-stack-glass__logos span {
  font-weight: var(--fw-black);
  font-size: 1.15rem;
}

.tech-stack-glass__logos span:nth-child(2),
.tech-stack-glass__logos span:nth-child(3) {
  font-family: var(--font-mono);
}

/* Restyle glass bar for the colorful FAQ section */
.faq-colorful .tech-stack-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin: var(--space-3xl) auto 0;
}

.faq-colorful .tech-stack-glass__label {
  color: rgba(255, 255, 255, 0.85);
}

.faq-colorful .tech-stack-glass__logos {
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

/* ---- SVG Wave Dividers ---- */

/* Generic wave divider base class */
.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Divider: Leistungen → Warum wir (soft wave, white to light grey) */
.divider--wave-down {
  margin-top: -1px;
}

.divider--wave-down svg {
  fill: var(--gen-bg-alt);
}

/* Divider: Warum wir → Vibe Coding (light grey to white) */
.divider--wave-up {
  margin-bottom: -1px;
}

.divider--wave-up svg {
  fill: var(--gen-bg);
}

/* Divider variant: angled */
.divider--angle {
  margin-top: -1px;
}

.divider--angle svg {
  fill: var(--gen-bg);
}

/* Specific section-to-section dividers using background color matching */
.divider--to-grey svg {
  fill: var(--gen-bg-alt);
}

.divider--to-white svg {
  fill: var(--gen-bg);
}

/* ---- Colorful FAQ Section ---- */
.faq-colorful {
  position: relative;
  background: url('/assets/faq-hintergrund-ki-websites.png') center / cover no-repeat;
  overflow: hidden;
}

.faq-colorful::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.faq-colorful>.container {
  position: relative;
  z-index: 1;
}

/* Override heading colors for dark bg */
.faq-colorful .generic-section__title {
  color: #ffffff !important;
}

/* Remove off-center red line for cleaner design */
.faq-colorful .generic-section__title::after {
  display: none !important;
}

.faq-colorful .generic-section__subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ---- Glassy FAQ Accordion ---- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.faq-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-left-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.faq-glass[open] {
  background: rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.4);
}

.faq-glass__question {
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: #ffffff;
  letter-spacing: 0.02em;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.faq-glass__question::-webkit-details-marker {
  display: none;
}

.faq-glass__icon {
  flex-shrink: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.3rem;
  transition: transform 0.4s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
  width: 32px;
  height: 32px;
  line-height: 0;
  padding-bottom: 4px; /* Optischer Ausgleich: Font-Baseline sitzt nativ zu tief */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); /* minimal heller, damit der Kreis klarer wirkt */
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-glass[open] .faq-glass__icon {
  transform: rotate(135deg);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.faq-glass__answer {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .tech-stack-glass {
    max-width: 90%;
    margin-top: var(--space-2xl);
    padding: var(--space-lg) var(--space-xl);
  }

  .tech-stack-glass__logos {
    gap: var(--space-xl);
  }

  .tech-stack-glass__logos span {
    font-size: 1rem;
  }

  .faq-glass {
    padding: var(--space-md) var(--space-lg);
  }
}

/* --- process.css --- */
/* ========================================
   Process Section – Horizontal Scroll Cards
   kiwebsites.com
   ======================================== */

#prozess {
  position: relative;
  height: 750px;
  background: #0a0a0a url('/assets/website-entwicklung-vibe-coding-prozess.webp') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

body.revealed #prozess {
  color: #fff;
}

.prozess-header {
  padding-top: 50px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

#prozess .prozess-header h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.prozess-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 50px;
}

.horizontal-track {
  display: flex;
  align-items: center;
  will-change: transform;
  padding: 0 40px;
  gap: 0;
}

/* ---- Step Cards ---- */
.step-card {
  position: relative;
  min-width: 420px;
  max-width: 460px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 40px 36px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  opacity: 0.12;
  transform: scale(0.9) translateY(20px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Bottom accent glow */
.step-card:not(.cta-card)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 34, 50, 0.25), transparent);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.step-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(223, 34, 50, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-card.active::after {
  opacity: 1;
}

/* ---- Hide the icon completely ---- */
.step-icon {
  display: none;
}

/* ---- Step Header: label+title left, duration top-right ---- */
.step-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.step-label {
  color: #f04555;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 6px;
}

#prozess .step-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black, 900);
  margin: 0;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ---- Duration badge – top-right ---- */
.step-duration {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.step-card.active .step-duration {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(223, 34, 50, 0.15);
  border-color: rgba(223, 34, 50, 0.3);
}

.step-duration svg {
  width: 12px;
  height: 12px;
  fill: #df2232;
}

/* ---- Step Content ---- */
.step-content {
  position: relative;
  z-index: 1;
}

#prozess .step-subtitle {
  color: #f04555;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

#prozess .step-text {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 0;
}

#prozess .step-card.active .step-text {
  color: rgba(255, 255, 255, 0.95);
}

/* ---- Arrow Connectors ---- */
.arrow-connector {
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.arrow-path {
  fill: none;
  stroke: #df2232;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.5s ease;
}

.flip-y {
  transform: scaleY(-1);
}

/* ---- CTA Card ---- */
#prozess .step-card.cta-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 340px;
}

#prozess .cta-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

#prozess .cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #df2232;
  color: #fff;
  border-radius: 200px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-card__btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(223, 34, 50, 0.4);
}

.cta-card__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  #prozess {
    height: auto;
    padding-bottom: 60px;
  }

  .prozess-header {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding-top: 40px;
    margin-bottom: 20px;
  }

  #prozess .prozess-header h2 {
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  }

  .prozess-wrap {
    padding-top: 100px;
  }

  .horizontal-track {
    flex-direction: column;
    padding: 0 20px;
    gap: 20px;
    transform: none !important;
  }

  .step-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 30px;
    transform: none !important;
    opacity: 1;
  }

  .step-card::after {
    opacity: 1 !important;
  }

  .step-title {
    font-size: 1.4rem;
  }

  .arrow-connector {
    width: 60px;
    height: 60px;
    margin: 10px auto;
    transform: rotate(90deg) !important;
  }

  .arrow-connector.flip-y {
    transform: rotate(90deg) scaleX(-1) !important;
  }
}

/* --- premium.css --- */
/* ========================================
   Premium Styles – kiwebsites.com
   
   NOTE: These styles are now merged into generic.css.
   This file is kept for the CSS import in head.php
   but contains only supplementary premium effects.
   ======================================== */

/* ---- Premium Orbs (Decorative floating orbs) ---- */
.premium-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}

body.revealed .premium-orb {
  opacity: 0;
}

.premium-orb--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(223, 34, 50, 0.06) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.premium-orb--2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

/* ---- Scroll reveal for sections ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- reveal.css --- */
/* ========================================
   Reveal Effect – kiwebsites.com
   Scroll-driven water ripple transition
   ======================================== */

/* ---- CSS Custom Properties (set by JS) ---- */
:root {
  --reveal-progress: 0;
  --ripple-intensity: 0;
  --text-progress: 0;
}

/* ---- SVG Filter Overlay ---- */
.reveal-filter {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ---- Reveal Overlay: Ripple Effect ---- */
.reveal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
}

/* Canvas for the water ripple animation */
#ripple-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Canvas for particle splash effects */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Concentric ripple rings */
.reveal-overlay__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

.reveal-overlay__ring:nth-child(1) {
  width: 60vmax;
  height: 60vmax;
  transform: translate(-50%, -50%) scale(calc(var(--reveal-progress) * 1.8));
  opacity: calc(var(--ripple-intensity) * 0.6);
  border-color: rgba(223, 34, 50, 0.15);
}

.reveal-overlay__ring:nth-child(2) {
  width: 100vmax;
  height: 100vmax;
  transform: translate(-50%, -50%) scale(calc(var(--reveal-progress) * 1.5));
  opacity: calc(var(--ripple-intensity) * 0.4);
  border-color: rgba(223, 34, 50, 0.1);
}

.reveal-overlay__ring:nth-child(3) {
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%) scale(calc(var(--reveal-progress) * 1.2));
  opacity: calc(var(--ripple-intensity) * 0.25);
  border-width: 2px;
  border-color: rgba(223, 34, 50, 0.06);
}

/* ---- SVG distortion filter applied to main content ---- */
.page-content.is-distorting {
  filter: url(#ripple-filter);
}

/* ---- Reveal Message (shown during transition) ---- */
.reveal-overlay__message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 9999;
  pointer-events: none;
  width: 90vw;
  max-width: 1100px;
}

.reveal-text {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Fill overlay: dark text, clipped by JS for wavy fill */
.reveal-text__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.reveal-text__fill .reveal-text {
  color: #111111;
}

#reveal-text-base {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
}

/* ---- Hero Wrapper: provides scroll distance ---- */
.hero-wrapper {
  position: relative;
  height: 250vh;
}

/* ---- Hero Text Crossfade ---- */
.hero__text-dark {
  opacity: calc(1 - var(--text-progress));
  transform: translateY(calc(var(--text-progress) * -20px));
  transition: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero__text-light {
  opacity: var(--text-progress);
  transform: translateY(calc((1 - var(--text-progress)) * 20px));
  transition: none;
}

.hero__content-wrapper {
  position: relative;
}

/* Fix severe text distortion on mobile rendering */
@media (max-width: 768px) {
  .page-content.is-distorting {
    filter: none !important;
  }
  #ripple-canvas {
    display: none !important;
  }
}


/* --- kontakt.css --- */
/* ========================================
   Kontakt Page – kiwebsites.com
   Always in revealed (light) state
   ======================================== */

/* ---- Page Hero ---- */
.kontakt-hero {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  background: var(--gen-bg-alt);
  position: relative;
  overflow: hidden;
}

.kontakt-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(223, 34, 50, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.kontakt-hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(223, 34, 50, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.kontakt-hero__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--gen-heading);
  margin-bottom: var(--space-md);
  position: relative;
}

.kontakt-hero__title span {
  color: var(--gen-accent);
}

.kontakt-hero__subtitle {
  font-size: var(--fs-md);
  color: var(--gen-text-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ---- Main Content ---- */
.kontakt-content {
  padding: var(--space-4xl) 0 var(--space-5xl);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* ---- Contact Form ---- */
.kontakt-form-card {
  background: var(--gen-card-bg);
  border: 1px solid var(--gen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--gen-shadow);
  min-height: 480px;
}

.kontakt-form-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--gen-heading);
  margin-bottom: var(--space-xs);
}

.kontakt-form-card__desc {
  font-size: var(--fs-sm);
  color: var(--gen-text-muted);
  margin-bottom: var(--space-xl);
  line-height: var(--lh-relaxed);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--gen-heading);
}

.form-group label .required {
  color: var(--gen-accent);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-base);
  font-family: var(--font-primary);
  color: var(--gen-text);
  background: var(--gen-bg);
  border: 1.5px solid var(--gen-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gen-accent);
  box-shadow: 0 0 0 3px rgba(223, 34, 50, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
  color: #ef4444;
  font-size: 13px;
  margin-top: 4px;
  animation: errorFadeIn 0.3s ease-out forwards;
}

@keyframes errorFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  font-family: var(--font-primary);
  color: #ffffff;
  background: var(--gen-accent);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--gen-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(223, 34, 50, 0.25);
}

.form-submit:active {
  transform: translateY(0);
}

.submit-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.loading-spinner {
  width: 18px;
  height: 18px;
  fill: currentColor;
  animation: form-spin 1s linear infinite;
  display: none;
}

@keyframes form-spin {
  100% { transform: rotate(360deg); }
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.form-submit.is-loading .submit-text {
  opacity: 0.8;
}

.form-submit.is-loading .submit-icon {
  display: none;
}

.form-submit.is-loading .loading-spinner {
  display: block;
}

/* ---- Multi-Step Form ---- */
.form-progress {
  width: 100%;
  height: 6px;
  background: var(--gen-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.form-progress__bar {
  height: 100%;
  background: var(--gen-accent);
  width: 33.33%;
  transition: width 0.4s var(--ease-out);
}

.contact-optional-fields {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.form-steps-wrapper {
  overflow: hidden;
  width: 100%;
}

.form-steps-container {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: flex-start;
}

.form-step {
  flex: 0 0 100%;
  width: 100%;
  transition: opacity 0.4s ease;
}

.form-trust {
  margin-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 11px;
  color: var(--gen-text-muted);
  opacity: 0.8;
}

.form-trust svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.form-step__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--gen-heading);
  margin-bottom: var(--space-lg);
}

.form-step__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  align-items: center;
}

.form-btn {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  font-family: var(--font-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
}

.form-btn--next {
  background: var(--gen-heading);
  color: #ffffff;
}

.form-btn--next:hover {
  background: var(--gen-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(223, 34, 50, 0.2);
}

.form-btn--back {
  background: transparent;
  color: var(--gen-text-muted);
  padding: var(--space-md) var(--space-md) var(--space-md) 0;
}

.form-btn--back:hover {
  color: var(--gen-heading);
}

/* ---- Contact Info Sidebar ---- */
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.kontakt-info-card {
  background: var(--gen-card-bg);
  border: 1px solid var(--gen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--gen-shadow);
}

.kontakt-info-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--gen-heading);
  margin-bottom: var(--space-lg);
}

.kontakt-person {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gen-border);
}

.kontakt-person__img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gen-border);
}

.kontakt-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gen-border);
  transition: transform 0.3s var(--ease-out);
}

.kontakt-info-item:hover {
  transform: translateX(4px);
}

.kontakt-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kontakt-info-item:first-child {
  padding-top: 0;
}

.kontakt-info-item__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gen-bg-alt);
  border-radius: var(--radius-md);
  color: var(--gen-accent);
  transition: background 0.3s ease, color 0.3s ease;
}

.kontakt-info-item:hover .kontakt-info-item__icon {
  background: var(--gen-accent);
  color: #ffffff;
}

.kontakt-info-item__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.kontakt-info-item__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kontakt-info-item__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--gen-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kontakt-info-item__value {
  font-size: var(--fs-base);
  color: var(--gen-heading);
  font-weight: var(--fw-medium);
}

.kontakt-info-item__value a {
  color: var(--gen-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease-out);
}

.kontakt-info-item__value a:hover {
  color: var(--gen-accent);
}

/* ---- CTA Card ---- */
.kontakt-cta-card {
  background: var(--gen-heading);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.kontakt-cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(223, 34, 50, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

body.revealed .kontakt-cta-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #ffffff;
  margin-bottom: var(--space-sm);
  position: relative;
}

.kontakt-cta-card__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  position: relative;
}

/* ---- Success Message ---- */
.kontakt-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.kontakt-success__icon {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-sm);
}

.kontakt-success__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #166534;
  margin-bottom: var(--space-xs);
}

.kontakt-success__text {
  font-size: var(--fs-sm);
  color: #15803d;
}

/* Success Checkmark Animation */
.success-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #16a34a;
  stroke-miterlimit: 10;
  margin: 0 auto var(--space-md);
  box-shadow: inset 0px 0px 0px #16a34a;
  animation: success-fill .4s ease-in-out .4s forwards, success-scale .3s ease-in-out .9s both;
}

.success-checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #16a34a;
  fill: none;
  animation: success-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: success-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes success-stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes success-scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes success-fill {
  100% { box-shadow: inset 0px 0px 0px 32px rgba(22, 163, 74, 0.1); }
}

/* ---- Error Message ---- */
.kontakt-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.kontakt-error__text {
  font-size: var(--fs-sm);
  color: #991b1b;
}

/* ---- Availability Badge ---- */
.kontakt-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--radius-full);
  color: #166534;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
}

.kontakt-badge__dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  position: relative;
}

.kontakt-badge__dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: #16a34a;
  opacity: 0.4;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ---- Left Col & Steps Flow ---- */
.kontakt-left-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.kontakt-steps-card {
  background: var(--gen-bg-alt);
  border: 1px solid var(--gen-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.kontakt-steps__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--gen-heading);
  margin-bottom: var(--space-xl);
}

.kontakt-step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}

.kontakt-step-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 17px;
  width: 2px;
  background: var(--gen-border);
  z-index: 0;
}

.kontakt-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.kontakt-step__num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--gen-card-bg);
  border: 2px solid var(--gen-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--gen-accent);
}

.kontakt-step__text {
  font-size: var(--fs-sm);
  color: var(--gen-text-muted);
  line-height: var(--lh-relaxed);
  padding-top: 6px;
}

.kontakt-step__text strong {
  color: var(--gen-heading);
  display: block;
  margin-bottom: 2px;
}

/* ---- FAQ Section ---- */
.kontakt-faq {
  background: var(--gen-bg);
  border-top: 1px solid var(--gen-border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--gen-card-bg);
  border: 1px solid var(--gen-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--gen-shadow);
}

.faq-item__question {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--gen-heading);
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  font-size: var(--fs-xl);
  font-weight: var(--fw-light);
  color: var(--gen-accent);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--gen-text-muted);
  line-height: var(--lh-relaxed);
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-item__answer {
  border-top-color: var(--gen-border);
  padding-top: var(--space-lg);
}

.faq-item__answer p {
  margin-bottom: var(--space-sm);
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .kontakt-hero__title {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .kontakt-hero {
    padding: calc(70px + var(--space-3xl)) 0 var(--space-2xl);
  }

  .kontakt-form-card,
  .kontakt-info-card,
  .kontakt-cta-card {
    padding: var(--space-xl);
  }

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


/* --- responsive.css --- */
/* ========================================
   Responsive – kiwebsites.com
   ======================================== */

/* ---- Tablet (max 1024px) ---- */
@media (max-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .process-step {
    flex: 1 1 45%;
  }

  .process-step::after {
    display: none;
  }

  .hero__inner {
    gap: var(--space-xl);
  }

  .hero__portrait-img {
    width: 280px;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .section-padding {
    padding: var(--space-3xl) 0;
  }

  /* Navigation mobile */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: var(--space-xl);
    gap: var(--space-lg);
    background: #0a0a0f !important;
    border-bottom: 1px solid var(--pre-border);
    transition: background 0.8s var(--ease-out), border-color 0.8s var(--ease-out);
  }

  body.revealed .nav__links {
    background: #ffffff !important;
    border-bottom-color: var(--gen-border);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  /* Mobile Nav Dropdown */
  .nav__dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .nav__dropdown-icon {
    display: none;
  }

  .nav__dropdown-content {
    position: static;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
    padding-top: var(--space-sm);
    padding-bottom: 0;
    padding-left: var(--space-md);
    margin-top: var(--space-xs);
    border-left: 2px solid rgba(255,255,255,0.1) !important;
  }

  .nav__dropdown-content::before {
    display: none;
  }
  
  body.revealed .nav__dropdown-content {
    border-left-color: var(--gen-border) !important;
  }

  .nav__dropdown-link {
    padding: var(--space-xs) 0;
  }
  
  .nav__dropdown-link:hover {
    background: transparent !important;
    padding-left: 4px !important;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Vibe Chats auf Mobile */
  .vibe-chats {
    gap: var(--space-xl);
  }

  .vibe-chat {
    margin: 0 calc(var(--space-lg) * -1);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  /* USP grid */
  .usp-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Process steps */
  .process-steps {
    flex-direction: column;
  }

  .process-step {
    flex: 1 1 100%;
  }

  /* Hero */
  .hero__inner {
    flex-direction: column;
    filter: none !important;
  }
  
  .page-content {
    filter: none !important;
  }

  .hero__bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.92);
    transition: background 1s ease;
  }
  
  body.revealed .hero__bg-image::after {
    background: rgba(255, 255, 255, 0.95);
  }

  .hero__content {
    max-width: 100%;
    padding: calc(80px + var(--space-2xl)) var(--space-lg) var(--space-xl);
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .hero__content .hero__cta {
    align-self: center;
  }

  .hero__portrait {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
  }

  .hero__portrait-img {
    max-width: 320px;
  }

  .hero__portrait::before,
  .hero__portrait::after {
    display: none;
  }

  .hero__subtitle {
    font-size: var(--fs-base);
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 14px rgba(0,0,0,0.8);
  }

  .hero__title {
    text-shadow: 0 4px 24px rgba(0,0,0,0.9);
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Reveal message */
  .reveal-overlay__message-line {
    font-size: var(--fs-sm);
  }

  .reveal-overlay__message-highlight {
    font-size: var(--fs-xl);
  }

  /* Premium orbs – smaller on mobile */
  .premium-orb--1 {
    width: 150px;
    height: 150px;
  }

  .premium-orb--2 {
    width: 100px;
    height: 100px;
  }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .generic-section {
    padding: var(--space-3xl) 0;
  }

  .service-card {
    padding: var(--space-xl);
  }
}


