/* ========================================
   PAGORA — Modern Landing Page Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0b;
  --color-bg-elevated: #111113;
  --color-bg-card: #16161a;
  --color-bg-card-hover: #1c1c21;
  --color-surface: #1e1e23;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  --color-text: #f0f0f2;
  --color-text-secondary: #8a8a96;
  --color-text-tertiary: #5a5a66;
  --color-primary: #6c5ce7;
  --color-primary-light: #a29bfe;
  --color-primary-dark: #5a4bd1;
  --color-accent: #00cec9;
  --color-accent-light: #55efc4;
  --color-gradient-1: #6c5ce7;
  --color-gradient-2: #00cec9;
  --color-gradient-3: #a29bfe;
  --color-success: #00b894;
  --color-warning: #fdcb6e;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(108, 92, 231, 0.15);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   Reveal Animation
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* GSAP Animation helpers */
.gsap-split-char {
  display: inline-block;
  will-change: transform, opacity;
}

.section-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.problems { position: relative; overflow: hidden; }
.solution { position: relative; overflow: hidden; }
.pakete { position: relative; overflow: hidden; }
.prozess { position: relative; overflow: hidden; }
.testimonials { position: relative; overflow: hidden; }
.kontakt { position: relative; overflow: hidden; }

.floating-particle {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.4);
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-1) 0%, var(--color-gradient-2) 50%, var(--color-gradient-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-hover);
}

.btn--outline:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  background: rgba(108, 92, 231, 0.05);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--color-text);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

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

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

.nav__links a.btn--primary {
  color: white;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 50% at 30% 0%, rgba(108, 92, 231, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 70% 10%, rgba(0, 206, 201, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 50% 5%, rgba(162, 155, 254, 0.1) 0%, transparent 50%);
  animation: aurora 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes aurora {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-20px) scale(1.05); opacity: 1; }
  100% { transform: translateY(10px) scale(0.98); opacity: 0.7; }
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(162, 155, 254, 0.1);
  top: 50%;
  left: 50%;
  animation-delay: -2s;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0, 206, 201, 0.08) 0%, transparent 50%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black, transparent);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(108, 92, 231, 0.12);
  top: 10%;
  left: 20%;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 206, 201, 0.08);
  bottom: 20%;
  right: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  text-align: left;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 32px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  margin-bottom: 24px;
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* Hero Showcase */
.hero__showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-stack {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1200px;
}

.showcase-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.showcase-card--back {
  width: 75%;
  height: 380px;
  top: 0;
  right: 0;
  transform: rotate(4deg) translateZ(-40px);
  opacity: 0.5;
  z-index: 1;
}

.showcase-card--mid {
  width: 78%;
  height: 400px;
  top: 20px;
  right: 30px;
  transform: rotate(2deg) translateZ(-20px);
  opacity: 0.75;
  z-index: 2;
}

.showcase-card--front {
  width: 82%;
  height: 420px;
  top: 40px;
  right: 60px;
  transform: rotate(0deg) translateZ(0);
  z-index: 3;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}


.showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.15);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary-light);
  z-index: 4;
  position: relative;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  margin-top: 4px;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid var(--color-border-hover);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator__dot {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-primary-light);
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ========================================
   Problems
   ======================================== */
.problems {
  padding: 120px 0;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}


.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.1);
  color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   Solution
   ======================================== */
.solution {
  padding: 120px 0;
}

.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution__content h2 {
  margin-bottom: 20px;
}

.solution__content > p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-list svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Browser Mockup */
.browser-mockup {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.browser-mockup__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.browser-mockup__dots {
  display: flex;
  gap: 6px;
}

.browser-mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-tertiary);
  opacity: 0.3;
}

.browser-mockup__dots span:first-child { background: #ff5f57; opacity: 0.8; }
.browser-mockup__dots span:nth-child(2) { background: #febc2e; opacity: 0.8; }
.browser-mockup__dots span:nth-child(3) { background: #28c840; opacity: 0.8; }

.browser-mockup__url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

.browser-mockup__content {
  padding: 32px;
  min-height: 300px;
}

/* Build Animation Elements */
.build-el {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.browser-mockup.building .build-el {
  opacity: 1;
  transform: translateY(0);
}

.browser-mockup.building .build-el:nth-child(1) { transition-delay: 0.3s; }
.browser-mockup.building .build-el:nth-child(2) { transition-delay: 0.7s; }
.browser-mockup.building .build-el:nth-child(3) { transition-delay: 1.2s; }
.browser-mockup.building .build-el:nth-child(4) { transition-delay: 1.7s; }
.browser-mockup.building .build-el:nth-child(5) { transition-delay: 2.3s; }
.browser-mockup.building .build-el:nth-child(6) { transition-delay: 2.7s; }

/* Nav */
.build-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.build-nav__logo {
  width: 60px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
}

.build-nav__links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.build-pill {
  width: 36px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.build-pill--cta {
  width: 48px;
  height: 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* Hero section inside mockup */
.build-hero-section {
  margin-bottom: 16px;
}

.build-line {
  border-radius: 4px;
  margin-bottom: 8px;
}

.build-line--lg {
  width: 65%;
  height: 18px;
  background: linear-gradient(90deg, rgba(108,92,231,0.35) 0%, rgba(0,206,201,0.25) 100%);
}

.build-line--md {
  width: 85%;
  height: 8px;
  background: rgba(255,255,255,0.07);
}

.build-line--sm {
  width: 50%;
  height: 8px;
  background: rgba(255,255,255,0.05);
}

.build-line--xs {
  width: 70%;
  height: 7px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 6px;
}

.build-line--xxs {
  width: 90%;
  height: 5px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 4px;
}

.build-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.build-btn {
  height: 22px;
  border-radius: var(--radius-full);
}

.build-btn--primary {
  width: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 2px 12px rgba(108, 92, 231, 0.3);
}

.build-btn--ghost {
  width: 60px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
}

.build-btn--wide {
  width: 100px;
}

/* Image placeholder */
.build-img {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(108,92,231,0.1) 0%, rgba(0,206,201,0.08) 50%, rgba(108,92,231,0.05) 100%);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.build-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: buildShimmer 2s ease-in-out infinite;
}

@keyframes buildShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Cards row */
.build-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.build-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
}

.build-card__icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(108,92,231,0.25) 0%, rgba(0,206,201,0.2) 100%);
  margin-bottom: 8px;
}

/* CTA bar */
.build-cta-bar {
  background: linear-gradient(135deg, rgba(108,92,231,0.08) 0%, rgba(0,206,201,0.05) 100%);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Footer bar */
.build-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.build-footer-links {
  display: flex;
  gap: 6px;
}

/* ========================================
   Portfolio
   ======================================== */
.portfolio {
  padding: 120px 0;
  background: var(--color-bg-elevated);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 20px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


.portfolio-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card__image {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid rgba(108, 92, 231, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
}

.portfolio-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 10, 11, 0.95) 30%);
  padding: 40px 20px 16px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__info {
  opacity: 1;
}


.portfolio-card--large .portfolio-card__info {
  opacity: 0;
  padding: 40px 24px 20px;
}

.portfolio-card--large:hover .portfolio-card__info {
  opacity: 1;
}

.portfolio-card__info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.portfolio-card--large .portfolio-card__info h3 {
  font-size: 1.1rem;
}

.portfolio-card__info p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  display: none;
}

.portfolio-card--large .portfolio-card__info p {
  display: block;
}

/* ========================================
   Pakete
   ======================================== */
.pakete {
  padding: 120px 0;
  background: var(--color-bg-elevated);
}

.pakete__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.paket-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}


.paket-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}


.paket-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.paket-card__header {
  padding: 40px 32px 24px;
}

.paket-card--featured .paket-card__header {
  padding-top: 56px;
}

.paket-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.paket-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.paket-card__price {
  margin-top: 16px;
}

.price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-type {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
  font-weight: 400;
  margin-left: 4px;
}

.price-recurring {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-top: 4px;
}

.price-info {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

.paket-card__body {
  padding: 0 32px;
  flex: 1;
}

.paket-card__target {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.paket-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paket-features li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding-left: 24px;
  position: relative;
}

.paket-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.paket-card__rahmen {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-weight: 500;
}

.paket-card__ergebnis {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 12px;
  line-height: 1.6;
  font-style: italic;
}

.paket-card__footer {
  padding: 24px 32px 32px;
}

/* ========================================
   Wartung
   ======================================== */
.wartung {
  margin-top: 16px;
}

.wartung__inner {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.wartung__content h3 {
  margin-bottom: 8px;
}

.wartung__content p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.wartung__options {
  display: flex;
  gap: 24px;
}

.wartung__option {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  min-width: 200px;
}

.wartung__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.wartung__price {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary-light);
  margin-bottom: 4px;
}

.wartung__desc {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

/* ========================================
   Prozess
   ======================================== */
.prozess {
  padding: 120px 0;
}

.prozess__timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.prozess__step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.prozess__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.prozess__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex: 1;
  transition: all var(--transition-base);
}


.prozess__card h3 {
  margin-bottom: 10px;
}

.prozess__card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  padding: 120px 0;
  background: var(--color-bg-elevated);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-base);
}


.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--color-warning);
  margin-bottom: 20px;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--color-text-secondary);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 120px 0;
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq__item.active {
  border-color: var(--color-border-hover);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq__question svg {
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq__item.active .faq__question svg {
  transform: rotate(45deg);
  color: var(--color-primary-light);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer p {
  padding: 0 24px 20px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   Kontakt
   ======================================== */
.kontakt {
  padding: 120px 0;
  background: var(--color-bg-elevated);
}

.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.kontakt__content h2 {
  margin-bottom: 16px;
}

.kontakt__content > p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.kontakt__trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kontakt__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.kontakt__trust-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.kontakt__form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

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

/* Validation */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e17055;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #00b894;
}

.form-error {
  color: #e17055;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group--error .form-error {
  display: block;
}

.form-group--error input,
.form-group--error textarea {
  border-color: #e17055 !important;
}

/* Checkbox */
.form-group--checkbox {
  margin-bottom: 24px;
}

.form-group label.checkbox-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.checkbox-label a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-mark {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: var(--color-surface);
  position: relative;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-group--checkbox.form-group--error .checkbox-mark {
  border-color: #e17055;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand .logo-text {
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto 32px;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__showcase {
    max-width: 500px;
    margin: 0 auto;
  }

  .showcase-stack {
    height: 350px;
  }

  .showcase-card--back { height: 280px; }
  .showcase-card--mid { height: 300px; }
  .showcase-card--front { height: 320px; }

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

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 180px 180px 180px;
  }

  .portfolio-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .pakete__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .solution__inner,
  .kontakt__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wartung__inner {
    flex-direction: column;
    text-align: center;
  }

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

  .wartung__option {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .nav {
    background: transparent;
    backdrop-filter: none;
  }

  .nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links a {
    font-size: 1.2rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat__divider {
    width: 40px;
    height: 1px;
  }

  .problems__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }

  .portfolio-card--large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .showcase-stack {
    height: 280px;
  }

  .showcase-card--back { height: 220px; width: 80%; }
  .showcase-card--mid { height: 240px; width: 84%; right: 15px; }
  .showcase-card--front { height: 260px; width: 88%; right: 30px; }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .prozess__step {
    flex-direction: column;
    gap: 12px;
  }

  .prozess__number {
    width: auto;
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__links {
    gap: 40px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .problems,
  .solution,
  .pakete,
  .prozess,
  .testimonials,
  .faq,
  .kontakt {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

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

  .kontakt__form {
    padding: 24px;
  }
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text p {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn--cookie-reject {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn--cookie-reject:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
  .checkbox-label {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .checkbox-label span:last-child {
    font-size: 0.8rem;
  }
}
