/* ============================================
   AURUM DETAILING – Global Stylesheet
   Premium Vehicle Detailing by Carma Automotive
   ============================================ */

/* ---------- Inter Font (local, DSGVO-konform) ---------- */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Metropolis Font ---------- */
@font-face { font-family: 'Metropolis'; src: url('/assets/fonts/Metropolis-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('/assets/fonts/Metropolis-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('/assets/fonts/Metropolis-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('/assets/fonts/Metropolis-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('/assets/fonts/Metropolis-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }

:root {
  /* Core palette – Dark Theme */
  --black: #0a0a0a;
  --dark: #0f0f0f;
  --darker: #141414;
  --white: #ffffff;
  --off-white: #0f0f0f;
  --light-1: #161616;
  --light-2: #1a1a1a;
  --light-3: #222222;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.06);

  /* Text */
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-faint: rgba(255, 255, 255, 0.25);

  /* Accent – Carma teal */
  --accent: #3ab4bf;
  --accent-dark: #2e9aa4;
  --accent-light: rgba(58, 180, 191, 0.12);
  --accent-glow: rgba(58, 180, 191, 0.1);

  /* Dark-section text helpers (same as main text on dark theme) */
  --text-on-dark: rgba(255, 255, 255, 0.85);
  --text-on-dark-muted: rgba(255, 255, 255, 0.6);
  --text-on-dark-faint: rgba(255, 255, 255, 0.35);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Metropolis', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;

  /* Motion */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Depth */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: #0a0a0a;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; font-weight: 700; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; font-weight: 600; line-height: 1.15; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1.5rem; }

.section-text {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 30px rgba(58, 180, 191, 0.3);
  transform: translateY(-2px);
}
.btn-primary:hover::after {
  left: 120%;
  transition: left 0.6s ease;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Outline on dark backgrounds */
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* White button for dark sections */
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo { height: 44px; width: auto; z-index: 1001; position: relative; }
.nav-logo svg, .nav-logo img { height: 100%; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.6rem !important;
  font-size: 0.78rem !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--white) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}
.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 Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 50%, #111 100%);
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.3) 70%, rgba(10,10,10,0.1) 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(58, 180, 191, 0.06) 0%, transparent 70%);
  opacity: 0.6;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero .section-text {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.hero .section-label {
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 7rem 0;
}

.section-dark { background: #0a0a0a; }
.section-darker { background: #0f0f0f; }
.section-black {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section-black h2,
.section-black h3,
.section-black h4 {
  color: var(--white);
}
.section-black p,
.section-black .section-text {
  color: var(--text-on-dark-muted);
}
.section-black .section-label {
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-text {
  margin: 0 auto;
}

/* ---------- Feature Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.features-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  background: rgba(58, 180, 191, 0.08);
  border-radius: 50%;
  padding: 12px;
}

a.feature-card { display: block; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; font-weight: 600; }

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

/* Feature cards on dark backgrounds */
.section-black .feature-card {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-dark);
}
.section-black .feature-card:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.section-black .feature-card h3 {
  color: var(--white);
}
.section-black .feature-card p {
  color: var(--text-on-dark-muted);
}
.section-black .feature-icon {
  color: var(--accent);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Stats on dark */
.section-black .stats-bar {
  border-color: var(--border-dark);
}
.section-black .stat-label {
  color: var(--text-on-dark-faint);
}

/* ---------- Service List ---------- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  padding-left: 3rem;
}

.service-item-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  min-width: 50px;
}

.service-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.service-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-arrow {
  font-size: 1.5rem;
  color: var(--text-faint);
  transition: var(--transition);
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ---------- Service Detail Grid ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-detail-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.service-detail-item:hover {
  border-color: rgba(58, 180, 191, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-detail-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(58, 180, 191, 0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-detail-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.service-detail-item p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.service-detail-item p:last-of-type {
  margin-bottom: 1.5rem;
}

.service-detail-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s ease;
}

.service-detail-link:hover {
  color: #6ed8e3;
}

/* ---------- Two Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-text .section-label { margin-bottom: 1rem; }
.two-col-text h2 { margin-bottom: 1.5rem; }
.two-col-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.two-col-visual {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.two-col-visual img {
  transition: transform 0.8s var(--ease-out-expo);
}

.two-col-visual:hover img {
  transform: scale(1.04);
}

.two-col-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--accent-glow));
  opacity: 0.5;
}

/* ---------- Advantages / Checklist ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Check-list on dark backgrounds */
.section-black .check-list li {
  color: var(--text-on-dark);
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
  transition: transform 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.45;
  display: block;
  margin-bottom: 1rem;
}

.process-step:hover::before {
  color: var(--accent);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* ---------- Gallery Grid (Projects) ---------- */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.55rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-filter-btn.active {
  background: var(--accent);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.gallery-item-overlay p {
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

/* Hide filtered-out items */
.gallery-item.hidden {
  display: none;
}

/* ---------- Pricing Table ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-card.featured::before {
  content: 'EMPFOHLEN';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.4rem;
}

.pricing-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.pricing-card .price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

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

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ---------- Team / Partner Grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  border: 2px solid rgba(58, 180, 191, 0.2);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ---------- Partner Highlight Card (Carma Partnership) ---------- */
.partner-highlight {
  padding: 4rem 0 5rem;
  background: transparent;
  position: relative;
}

.partner-glow {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 25;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --glow-padding: 40px;
  --cone-spread: 25;
  --glow-color: hsl(186deg 65% 60% / 100%);
  --glow-color-60: hsl(186deg 65% 60% / 60%);
  --glow-color-50: hsl(186deg 65% 60% / 50%);
  --glow-color-40: hsl(186deg 65% 60% / 40%);
  --glow-color-30: hsl(186deg 65% 60% / 30%);
  --glow-color-20: hsl(186deg 65% 60% / 20%);
  --glow-color-10: hsl(186deg 65% 60% / 10%);

  position: relative;
  border-radius: 26px;
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  display: grid;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: visible;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 1px 2px,
    rgba(0, 0, 0, 0.05) 0px 2px 4px,
    rgba(0, 0, 0, 0.05) 0px 4px 8px,
    rgba(0, 0, 0, 0.08) 0px 8px 16px,
    rgba(0, 0, 0, 0.06) 0px 16px 32px;
}

.partner-glow::before,
.partner-glow::after,
.partner-glow > .edge-light {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}

.partner-glow:not(:hover)::before,
.partner-glow:not(:hover)::after,
.partner-glow:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* Mesh-gradient border */
.partner-glow::before {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff 0 100%) padding-box,
    linear-gradient(rgb(0 0 0 / 0%) 0% 100%) border-box,
    radial-gradient(at 80% 55%, #5ACDD9 0px, transparent 50%) border-box,
    radial-gradient(at 20% 80%, #3ab4bf 0px, transparent 50%) border-box,
    radial-gradient(at 50% 10%, #6ed8e3 0px, transparent 50%) border-box,
    radial-gradient(at 10% 30%, #5ACDD9 0px, transparent 50%) border-box,
    radial-gradient(at 90% 40%, #3ab4bf 0px, transparent 50%) border-box,
    linear-gradient(#5ACDD9 0 100%) border-box;

  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center,
      black calc(var(--cone-spread) * 1%),
      transparent calc((var(--cone-spread) + 15) * 1%),
      transparent calc((100 - var(--cone-spread) - 15) * 1%),
      black calc((100 - var(--cone-spread)) * 1%)
    );
}

/* Mesh-gradient fill */
.partner-glow::after {
  border: 1px solid transparent;
  background:
    radial-gradient(at 80% 55%, #5ACDD9 0px, transparent 50%) padding-box,
    radial-gradient(at 20% 80%, #3ab4bf 0px, transparent 50%) padding-box,
    radial-gradient(at 50% 10%, #6ed8e3 0px, transparent 50%) padding-box,
    radial-gradient(at 10% 30%, #5ACDD9 0px, transparent 50%) padding-box,
    radial-gradient(at 90% 40%, #3ab4bf 0px, transparent 50%) padding-box,
    linear-gradient(#5ACDD9 0 100%) padding-box;

  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  mask-composite: subtract;
  -webkit-mask-composite: source-out;
  opacity: calc(0.4 * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* Outer glow layer */
.partner-glow > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;

  mask-image:
    conic-gradient(
      from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
    );

  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.partner-glow > .edge-light::before {
  content: '';
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px 0 var(--glow-color-60),
    inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px 0 var(--glow-color-60),
    0 0 3px 0 var(--glow-color-50),
    0 0 6px 0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20),
    0 0 50px 2px var(--glow-color-10);
}

.partner-glow-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding: 4rem 4.5rem;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}

.partner-glow-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(90, 205, 217, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.partner-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0e8a94;
  border: 1px solid rgba(14, 138, 148, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.partner-glow-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.partner-glow-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: #0e8a94;
  margin-bottom: 1.5rem;
}

.partner-glow-desc {
  font-size: 0.93rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.partner-glow-services {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.partner-glow-service {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.partner-glow-service svg {
  color: #0e8a94;
  flex-shrink: 0;
}

.btn-partner-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: #5ACDD9;
  color: #111;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-partner-glow:hover {
  background: #6ed8e3;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(90, 205, 217, 0.25);
}

.partner-glow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.partner-glow-logo {
  width: 240px;
  height: auto;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.partner-glow-inner:hover .partner-glow-logo {
  opacity: 1;
}

/* ---------- Partner Cards (simple grid) ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-card-logo {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.partner-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(58, 180, 191, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.partner-card-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.partner-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.partner-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: var(--transition);
  margin-top: auto;
}

.partner-card-link:hover {
  color: var(--accent-dark);
}

.partner-card-link span {
  display: inline-block;
  transition: transform var(--transition);
}

.partner-card-link:hover span {
  transform: translateX(4px);
}

/* ---------- Partners Logos Marquee ---------- */
.partners-marquee {
  overflow: hidden;
  padding: 3rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-marquee-track {
  display: flex;
  align-items: center;
  gap: 7rem;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
  animation-play-state: paused;
}

.partner-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--light-3);
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color var(--transition);
  user-select: none;
  flex-shrink: 0;
}

.partner-logo:hover { color: var(--text-muted); }

.partner-logo-img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.partner-logo-img:hover {
  opacity: 1;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 6rem 0;
  background: linear-gradient(135deg, #111 0%, #1a2a2d 50%, #111 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(58, 180, 191, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* Cursor glow on dark sections */
.cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 180, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 700;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.cta-banner .btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 0.82rem;
}

.cta-banner .btn-primary:hover {
  background: var(--accent-dark);
}

/* ---------- Contact / Anfrage Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group select option {
  background: #161616;
  color: rgba(255, 255, 255, 0.9);
}

/* Date input color scheme for dark theme */
.form-group input[type="date"] {
  color-scheme: dark;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(58, 180, 191, 0.2);
  color: var(--accent);
  background: rgba(58, 180, 191, 0.1);
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Checkbox Consent */
.checkbox-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.checkbox-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.checkbox-consent a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 1px; }

.accordion-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.accordion-header:hover { background: rgba(255, 255, 255, 0.03); }

.accordion-header h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Before/After Slider ---------- */
.before-after {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: col-resize;
}

.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after .before-img {
  clip-path: inset(0 50% 0 0);
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 2;
}

.before-after-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Dark testimonials */
.section-black .testimonial-card {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-dark);
}
.section-black .testimonial-card:hover {
  border-color: var(--accent);
}
.section-black .testimonial-text {
  color: var(--text-on-dark-muted);
}
.section-black .testimonial-name {
  color: var(--white);
}
.section-black .testimonial-role {
  color: var(--text-on-dark-faint);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.legal-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-block h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-block ul li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.legal-block a:hover {
  color: var(--accent-dark);
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  padding: 10rem 0 4rem;
  background: #0f0f0f;
  position: relative;
  overflow: hidden;
}

.page-header > img.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,17,17,0.93) 0%, rgba(17,17,17,0.75) 45%, rgba(17,17,17,0.35) 75%, rgba(17,17,17,0.15) 100%);
  z-index: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(58, 180, 191, 0.06) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 1;
}

.page-header .container { position: relative; z-index: 1; text-align: center; }

.page-header h1 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.page-header .section-label {
  color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0 2.5rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-logo { height: 40px; width: auto; margin-bottom: 0.5rem; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }

.footer-legal {
  display: flex;
  gap: 2rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}

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

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Cursor glow on dark sections */
.cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 180, 191, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Animated label line */
.label-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1rem;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-out-expo) 0.2s;
}

.reveal.visible .label-line,
.visible + .section-label ~ .label-line {
  transform: scaleX(1);
}

.section-header.reveal.visible .label-line {
  transform: scaleX(1);
}

/* ---------- Header Fade-In Animation ---------- */
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .section-label,
.page-header .section-label {
  opacity: 0;
  animation: headerFadeIn 1.2s var(--ease-out-expo) forwards;
  animation-delay: 0.2s;
}

.hero-content h1,
.page-header h1 {
  opacity: 0;
  animation: headerFadeIn 1.2s var(--ease-out-expo) forwards;
  animation-delay: 0.5s;
}

.hero-content .section-text,
.page-header > .container > p {
  opacity: 0;
  animation: headerFadeIn 1.2s var(--ease-out-expo) forwards;
  animation-delay: 0.8s;
}

.hero-buttons {
  opacity: 0;
  animation: headerFadeIn 1.2s var(--ease-out-expo) forwards;
  animation-delay: 1.05s;
}

/* ---------- Divider Line ---------- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem auto;
}

/* ---------- Responsive: 1024px ---------- */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-visual { order: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info {
    position: static;
    padding: 1.5rem;
    border-radius: 12px;
  }
  .contact-info-icon {
    width: 36px;
    height: 36px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive: 768px ---------- */
@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-detail-item { padding: 2rem 1.5rem; text-align: center; }
  .service-detail-number { font-size: 2.5rem; }
  /* Mobile: Center section text */
  .section,
  .section-label,
  .section-title,
  .section-text,
  .feature-card,
  .process-step,
  .two-col-text,
  .page-header,
  .cta-banner,
  .legal-content,
  .legal-block {
    text-align: center;
  }
  .section-label::before {
    margin: 0 auto 0.75rem;
  }
  /* Center buttons in two-col-text */
  .two-col-text > div[style*="flex"] {
    justify-content: center;
  }
  .two-col-text .btn {
    margin-left: auto;
    margin-right: auto;
  }
  /* Keep some elements left-aligned */
  .check-list,
  .contact-info,
  .contact-info-item,
  .contact-info-item h4,
  .contact-grid,
  .contact-grid h2,
  .contact-grid h3,
  .contact-grid p,
  .contact-grid form,
  .contact-grid label {
    text-align: left;
  }
  .feature-icon {
    margin: 0 auto 1rem;
    width: 36px;
    height: 36px;
  }
  /* Marquee on mobile */
  .partners-marquee-track {
    gap: 3rem;
  }
  .partner-logo-img {
    height: 36px;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(30px) translateX(0);
  }
  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0) translateX(0);
  }

  /* Mobile fullscreen menu */
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 0.9rem 0;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }
  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }
  /* Staggered animation */
  .nav-links.open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.32s; }
  .nav-links.open a:nth-child(6) { transition-delay: 0.38s; }
  .nav-links a::after { display: none !important; }
  .nav-links a.active { color: var(--accent); }
  .nav-links .nav-cta {
    margin-top: 2rem;
    font-size: 0.9rem !important;
    padding: 1rem 3rem !important;
    background: var(--accent) !important;
    color: var(--white) !important;
    border-radius: 0 !important;
  }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav.scrolled .nav-toggle { z-index: 1001; }

  /* Mobile: Smaller logo */
  .nav-logo { height: 32px; }

  /* Mobile: Tighter process step spacing */
  .process-steps { gap: 1rem; }
  .process-step { padding: 1.5rem 1rem; }
  .process-step::before { font-size: 2rem; }

  /* Mobile: Smaller round checkmarks */
  .check-list li::before { width: 18px; height: 18px; background-size: 10px; }

  /* Mobile: Remove animation from Anfrageformular */
  .contact-grid .reveal { opacity: 1; transform: none; transition: none; }

  /* Mobile: Sektions-Texte zentriert */
  .section,
  .section-label,
  .section-title,
  .section-text,
  .feature-card,
  .process-step,
  .two-col-text,
  .page-header,
  .cta-banner,
  .legal-content,
  .legal-block {
    text-align: center;
  }
  .section-label::before {
    margin: 0 auto 0.75rem;
  }
  .feature-icon {
    margin: 0 auto 1rem;
    width: 36px;
    height: 36px;
  }
  /* Check-List & Kontakt links lassen */
  .check-list,
  .contact-info,
  .contact-info-item,
  .contact-info-item h4,
  .contact-grid,
  .contact-grid h2,
  .contact-grid h3,
  .contact-grid p,
  .contact-grid form,
  .contact-grid label {
    text-align: left;
  }
  /* Buttons in two-col-text zentrieren */
  .two-col-text > div[style*="flex"] {
    justify-content: center;
  }
  .two-col-text .btn {
    margin-left: auto;
    margin-right: auto;
  }
  /* Reveal Richtungen auf Mobile: nur von unten */
  .reveal-left,
  .reveal-right {
    transform: translateY(30px) translateX(0);
  }
  .reveal-left.visible,
  .reveal-right.visible {
    transform: translateY(0) translateX(0);
  }

  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid.cols-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { flex-direction: row; gap: 1.5rem; justify-content: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-steps .process-step:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .contact-info { position: static; padding: 1.5rem; border-radius: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .page-header h1 { font-size: 2rem; }
  .hero { min-height: 50vh; padding: 6rem 0 3rem; }
  .page-header { padding: 7rem 0 3rem; min-height: auto; }
  .two-col-visual { aspect-ratio: 16/10; }
  .accordion-header { padding: 1.25rem 1.25rem; }
  .team-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Partner glow card responsive */
  .partner-glow { border-radius: 18px; overflow: hidden; }
  .partner-glow > .edge-light { display: none; }
  .partner-glow-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }
  .partner-glow-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .partner-glow-services {
    justify-content: center;
  }
  .partner-glow-visual {
    order: -1;
  }
  .partner-glow-logo {
    width: 180px;
  }
  .partner-glow-title {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  /* Mobile: Buttons full-width or centered */
  .two-col-text > div[style*="margin-top"] {
    text-align: center;
  }
  .two-col-text > div[style*="margin-top"] .btn,
  .cta-banner .btn,
  .section .btn {
    display: inline-flex;
    justify-content: center;
  }

  /* Mobile: Check-list card inline padding override */
  .check-list[style*="padding"] {
    padding: 1.5rem !important;
  }

  /* Mobile: Projekte vorher/nachher grid to 1 column */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:2rem"],
  div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 2rem"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Mobile: Contact checkbox grid 1 column at 768 */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Mobile: Section text max-width full */
  .section-text {
    max-width: 100%;
  }

  /* Mobile: Page header less padding */
  .page-header p {
    font-size: 0.95rem;
  }

  /* Mobile: Partner services column on small */
  .partner-glow-services {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
  .container { width: 92%; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
  .hero h1 { font-size: 1.6rem; line-height: 1.3; }
  .page-header h1 { font-size: 1.5rem; line-height: 1.3; }
  .hero { min-height: 45vh; padding: 5rem 0 2.5rem; }
  .page-header { padding: 6rem 0 2.5rem; }
  .page-header p { font-size: 0.9rem; padding: 0 0.5rem; }
  .hero .section-text { font-size: 0.95rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-steps .process-step:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
  .stats-bar { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.5rem; }
  /* Kontakt Checkboxen 1-spaltig */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .accordion-header { padding: 1rem; }
  .accordion-header h3 { font-size: 0.9rem; }
  .cta-banner { padding: 3rem 0; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.93rem; }
  .partner-glow-inner { padding: 2rem 1.5rem; border-radius: 16px; }
  .partner-glow-title { font-size: 1.7rem; }
  .partner-glow-tagline { font-size: 0.95rem; }
  .partner-glow-desc { font-size: 0.88rem; }
  .partner-glow-services { gap: 1rem; }
  .partner-glow-service { font-size: 0.8rem; }
  .partner-glow-logo { width: 150px; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.75rem; }
  .btn-partner-glow { padding: 0.8rem 1.5rem; font-size: 0.72rem; }
  .footer { padding: 3rem 0 2rem; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-col a { font-size: 0.85rem; }
  .legal-block h2 { font-size: 1rem; }
  .legal-block p { font-size: 0.9rem; }
  .legal-block ul li { font-size: 0.9rem; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card { padding: 2rem 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 0.4rem; }
  .gallery-filter-btn { padding: 0.45rem 1rem; font-size: 0.72rem; }
  .testimonial-card { padding: 1.5rem; }

  /* 480px: Buttons full-width */
  .two-col-text > div[style*="margin-top"] .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
  }

  /* 480px: Check-list card tighter padding */
  .check-list[style*="padding"] {
    padding: 1.25rem !important;
  }
  .check-list li {
    font-size: 0.88rem;
  }

  /* 480px: Partner services stay column */
  .partner-glow-services {
    flex-direction: column;
    align-items: center;
  }

  /* 480px: two-col gap tighter */
  .two-col {
    gap: 1.5rem;
  }

  /* 480px: Footer tighter */
  .footer-grid {
    gap: 1.5rem;
  }
  .footer-bottom {
    font-size: 0.75rem;
  }
  .footer-legal {
    gap: 1rem;
  }

  /* 480px: section header margin */
  .section-header {
    margin-bottom: 2rem;
  }
}

/* ---------- Responsive: 375px ---------- */
@media (max-width: 375px) {
  .container { width: 94%; }
  .hero h1 { font-size: 1.4rem; }
  .page-header h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.3rem; }
  .cta-banner h2 { font-size: 1.3rem; }
  .feature-card { padding: 1.25rem; }
  .feature-card h3 { font-size: 1.1rem; }
  .feature-card p { font-size: 0.88rem; }
  .process-step { padding: 1.25rem 0.75rem; }
  .process-step::before { font-size: 1.8rem; }
  .process-step h4 { font-size: 1rem; }
  .process-step p { font-size: 0.85rem; }
  .partner-glow-inner { padding: 1.5rem 1.25rem; }
  .partner-glow-title { font-size: 1.5rem; }
  .partner-glow-logo { width: 120px; }
  .partner-glow-desc { font-size: 0.85rem; }
  .btn-partner-glow { padding: 0.7rem 1.25rem; font-size: 0.7rem; }
  .gallery-filter-btn { padding: 0.4rem 0.75rem; font-size: 0.68rem; }
  .btn { padding: 0.7rem 1.25rem; font-size: 0.72rem; }
  .nav-logo { height: 28px; }
  .hero .section-text { font-size: 0.9rem; }
  .page-header p { font-size: 0.88rem; }
  .two-col-text p { font-size: 0.93rem; }
  .check-list li { font-size: 0.85rem; }
  .check-list li::before { width: 16px; height: 16px; background-size: 9px; }
}
