/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #3b82f6;
  --primary-dark: #1e3a8a;
  --primary-light: #60a5fa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0a0f1e;
  --dark-2: #111827;
  --gray-700: #e2e8f0;
  --gray-500: #94a3b8;
  --gray-300: #1e2d40;
  --gray-100: #0d1526;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { font-size: 1.0625rem; }

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: var(--dark);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #0d1628;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition);
  /* Push content below the device status bar on phones with notch/island */
  padding-top: env(safe-area-inset-top, 0px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 20px; height: 20px; }

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-text span { color: var(--accent); }

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta { margin-left: 0.5rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(245,158,11,0.10) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--accent); }

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.15rem;
}

/* Hero email visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-mockup {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
}

.email-header {
  background: var(--primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.email-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.email-meta-from {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

.email-meta-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.email-open-rate {
  margin-left: auto;
  text-align: right;
}

.open-rate-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.open-rate-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.6);
}

.email-body {
  padding: 1.5rem;
}

.email-subject {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.email-preview-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.email-cta-btn {
  display: block;
  background: var(--accent);
  color: var(--dark);
  text-align: center;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.email-stats-row {
  display: flex;
  gap: 0.75rem;
}

.email-stat-pill {
  flex: 1;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 0.625rem;
  text-align: center;
}

.email-stat-pill-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.email-stat-pill-label {
  font-size: 0.6875rem;
  color: var(--gray-500);
}

/* ===== CLIENTS BAND ===== */
.clients-band {
  background: var(--dark-2);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.clients-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.client-logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: -0.01em;
}

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--dark); }

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

.section-header p {
  color: var(--gray-500);
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(245,158,11,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 26px; height: 26px; color: var(--accent); }

.service-card h3 {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.service-link:hover { gap: 0.625rem; }

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
}

/* ===== PROCESS ===== */
.process-section { background: var(--gray-100); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--dark); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--white);
}

.author-company {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 6rem 0;
}

.cta-section h2 { color: var(--white); }
.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin: 1rem auto 2.5rem;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 8rem 0 5rem;
  text-align: center;
}

.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255,255,255,0.65);
  margin-top: 1rem;
  font-size: 1.125rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== DIENSTEN PAGE ===== */
.diensten-detail {
  background: var(--dark);
  padding: 5rem 0;
}

.dienst-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.dienst-item:last-child { border-bottom: none; }

.dienst-item.reverse { direction: rtl; }
.dienst-item.reverse > * { direction: ltr; }

.dienst-content .section-label { text-align: left; }

.dienst-content h2 { font-size: 2rem; margin-bottom: 1rem; }

.dienst-content p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

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

.dienst-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.dienst-feature::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(30,64,175,0.1);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231e40af'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.dienst-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  justify-content: center;
}

.pricing-section {
  background: var(--gray-100);
  padding: 5rem 0;
}

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

.pricing-card {
  background: var(--dark-2);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

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

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.pricing-price sup {
  font-size: 1.25rem;
  vertical-align: super;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.pricing-feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.12);
  background: var(--dark-2);
  color: var(--gray-700);
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-img-inner {
  text-align: center;
  color: rgba(255,255,255,0.9);
}

.portfolio-img-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-img-label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.85;
}

.portfolio-results {
  display: flex;
  gap: 1.5rem;
  position: absolute;
  bottom: 1rem; right: 1rem;
}

.portfolio-result-badge {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.portfolio-metrics {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-300);
}

.portfolio-metric {
  display: flex;
  flex-direction: column;
}

.portfolio-metric-val {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.0625rem;
}

.portfolio-metric-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  background: var(--dark);
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo {
  position: relative;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 5rem;
  overflow: hidden;
  position: relative;
}

.photo-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.photo-badge-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
}

.photo-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-2);
}

.about-content h2 { margin-bottom: 1rem; }

.about-content p {
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.skill-tag {
  background: rgba(245,158,11,0.1);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  border: 1px solid rgba(245,158,11,0.2);
}

.values-section {
  background: var(--gray-100);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--gray-500); }

.certifications-section {
  background: var(--dark);
  padding: 5rem 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.cert-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.cert-logo {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.cert-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.cert-year {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--dark);
  padding: 5rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(245,158,11,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--accent); }

.contact-detail-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9375rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.social-link svg { width: 18px; height: 18px; }

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--gray-700);
  background: #0a1628;
  transition: border-color var(--transition);
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.visible { display: block; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-500); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .site-header {
    padding-top: max(env(safe-area-inset-top, 0px), 8px);
  }

  .nav-links {
    position: fixed;
    top: calc(70px + max(env(safe-area-inset-top, 0px), 8px));
    left: 0; right: 0;
    z-index: 1002;
    background: #0d1526;
    flex-direction: column;
    padding: 0.5rem 0.75rem 1rem;
    gap: 0;
    /* hide with opacity so it never affects layout */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta { margin-left: 0; }

  /* All links — identical size and style, including Contact */
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block !important;
    width: auto !important;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
    white-space: normal;
    transition: background 0.2s, color 0.2s;
    transform: none !important;
  }
  .nav-links li a:hover {
    background: rgba(255,255,255,0.07) !important;
    color: var(--white) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .nav-links li a.active {
    background: rgba(255,255,255,0.07) !important;
    color: var(--white) !important;
  }
  .nav-links li a::after { display: none !important; }

  /* Hero */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(86px + max(env(safe-area-inset-top, 0px), 8px));
    padding-bottom: 4rem;
  }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .hero-stats { justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
  .hero p { margin-left: auto; margin-right: auto; }

  /* Sections */
  section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .dienst-item { grid-template-columns: 1fr; gap: 2rem; }
  .dienst-item.reverse { direction: ltr; }

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

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .photo-badge { bottom: 1rem; right: 1rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA & page hero */
  .cta-section { padding: 4rem 0; }
  .page-hero { padding: 6rem 0 3.5rem; }
  .page-hero p { font-size: 1rem; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hero-stats { flex-direction: column; align-items: center; gap: 1.25rem; }
  .hero-stat-value { font-size: 1.5rem; }

  .stat-value { font-size: 2.25rem; }

  .showcase-title { font-size: clamp(1.75rem, 9vw, 2.5rem); }

  .cta-section { padding: 3rem 0; }
  .cta-section p { font-size: 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .clients-logos { gap: 1.5rem; }

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

  .email-marquee-outer::before,
  .email-marquee-outer::after { width: 60px; }
}

/* ===== EMAIL MOCKUP — KEEP LIGHT (intentional white preview) ===== */
.email-mockup { background: #ffffff !important; }
.email-subject { color: #0f172a !important; }
.email-preview-text { color: #6b7280 !important; }
.email-stat-pill { background: #f3f4f6 !important; }
.email-stat-pill-val { color: #1e40af !important; }
.email-stat-pill-label { color: #6b7280 !important; }

/* ===== EMAIL SHOWCASE SLIDESHOW ===== */
/* ===== EMAIL SHOWCASE MARQUEE ===== */
.email-showcase {
  background: #06091a;
  padding: 5rem 0 0;
  overflow: hidden;
}

.email-showcase .section-label {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.showcase-title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 3.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.showcase-title span { color: var(--accent); }

/* Marquee container */
.email-marquee-outer {
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}
.email-marquee-outer::before,
.email-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.email-marquee-outer::before { left: 0; background: linear-gradient(to right, #06091a 0%, transparent 100%); }
.email-marquee-outer::after  { right: 0; background: linear-gradient(to left,  #06091a 0%, transparent 100%); }

@keyframes emailMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.email-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: emailMarquee 28s linear infinite;
  padding: 0 8px;
  align-items: flex-start;
}
.email-marquee-outer:hover .email-marquee-track {
  animation-play-state: paused;
}

/* Individual email card */
.email-card {
  width: 230px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  user-select: none;
}

/* Card: top header bar */
.ec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.875rem;
}
.ec-brand {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.ec-nav {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
}

/* Card: hero section */
.ec-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem 1rem 1.5rem;
  color: #fff;
  gap: 0.3rem;
}
.ec-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.ec-headline {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0.2rem 0;
}
.ec-sub {
  font-size: 0.7rem;
  opacity: 0.7;
  line-height: 1.4;
}
.ec-btn {
  margin-top: 0.875rem;
  padding: 0.45rem 0.875rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Card: body */
.ec-body {
  padding: 0.875rem 0.875rem 1rem;
  background: #fff;
}
.ec-body p {
  font-size: 0.72rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.ec-products {
  display: flex;
  gap: 0.5rem;
}
.ec-product {
  flex: 1;
  background: #f8f8f8;
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
}
.ec-product-img {
  width: 100%;
  height: 52px;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}
.ec-product-name {
  font-size: 0.6rem;
  color: #444;
  font-weight: 600;
  line-height: 1.3;
}
.ec-product-price {
  font-size: 0.65rem;
  font-weight: 700;
  color: #222;
  margin-top: 0.2rem;
}
.ec-sale { color: #dc2626; }

/* Card: footer */
.ec-footer {
  padding: 0.5rem 0.875rem;
  background: #f4f4f4;
  font-size: 0.58rem;
  color: #bbb;
  text-align: center;
  border-top: 1px solid #eee;
}
