/* ============================================
   ELGA AG – Shared Styles
   ============================================ */

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

:root {
  --primary: #0A0A0A;
  --primary-light: #1F1F1F;
  --primary-dark: #000000;
  --accent: #E30613;
  --accent-hover: #B80510;
  --accent-light: #FFE5E7;
  --accent-glow: rgba(227, 6, 19, 0.25);
  --dark: #0A0A0A;
  --bg: #F7F7F7;
  --white: #FFFFFF;
  --text: #0A0A0A;
  --text-secondary: #555555;
  --text-light: rgba(255,255,255,0.7);
  --border: #E5E5E5;
  --success: #22C55E;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --nav-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Subtle noise texture for premium feel */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 10;
  pointer-events: none; opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
}
.nav-logo {
  display: flex; align-items: center; height: 100%;
}
.nav-logo img {
  height: 44px; width: auto; display: block;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s; position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: var(--white); padding: 10px 24px;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.9rem; transition: all var(--transition);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--primary);
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 32px 24px;
  flex-direction: column; gap: 4px; display: flex;
  clip-path: circle(0% at calc(100% - 40px) -10%);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 40px) -10%);
  pointer-events: auto;
}
.mobile-menu a {
  color: var(--text); font-size: 1.05rem; font-weight: 500;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta {
  margin-top: 16px; text-align: center; display: block;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm); font-size: 1rem;
  font-weight: 600; transition: all var(--transition);
  cursor: pointer; border: none; font-family: inherit;
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,6,19,0.25);
}
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); }

/* ============ SECTIONS ============ */
.section { padding: 120px 32px; }
.section-sm { padding: 80px 32px; }
.section-dark { background: var(--bg); }
.section-darker { background: var(--bg); }
.section-gray { background: var(--bg); }
.container { max-width: 1280px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--accent); margin-bottom: 12px;
  display: inline-block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px;
}
.section-dark .section-title { color: var(--text); }
.section-subtitle {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 600px;
  line-height: 1.8;
}
.section-dark .section-subtitle { color: var(--text-secondary); }

/* ============ HERO (HOME) ============ */
.hero {
  min-height: calc(80vh - var(--nav-height));
  display: flex; align-items: center;
  padding: 100px 32px 32px;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero::after {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-content { position: relative; }
.hero-visual {
  aspect-ratio: 3/2; width: 100%;
  border-radius: 20px; overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.hero-video,
.hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-video-caption {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  z-index: 2; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  pointer-events: none;
}
.hero-video-caption-pre {
  display: block;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  opacity: 0.92; margin-bottom: 6px;
}
.hero-video-caption-main {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.4px;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}
.hero-visual-badge {
  position: absolute; bottom: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  color: var(--text); padding: 10px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 2;
}
.hero-visual-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.2);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(227,6,19,0.08); border: 1px solid rgba(227,6,19,0.18);
  padding: 10px 20px; border-radius: 100px; margin-bottom: 32px;
  font-size: 0.85rem; color: var(--accent); font-weight: 600;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 12px rgba(227,6,19,0.5);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  color: var(--text); line-height: 1.08; margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-text {
  font-size: 1.1rem; color: var(--text-secondary);
  margin-bottom: 36px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 40px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--text);
  line-height: 1; margin-bottom: 4px;
}
.hero-stat-num .accent { color: var(--accent); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* ============ PAGE HERO (Sub-pages) ============ */
.page-hero {
  padding: 140px 32px 72px;
  background: var(--white);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800;
  color: var(--text); line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 640px; line-height: 1.7;
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 24px; font-size: 0.85rem; color: var(--text-secondary);
}
.page-hero .breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--accent); }

/* ============ SERVICE CARDS ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; transition: all var(--transition);
  display: block; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.4s; transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-xl);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius-sm);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; font-size: 1.6rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent); transform: scale(1.05);
}
.service-card:hover .service-icon svg path { fill: var(--white); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
  margin-top: 20px; transition: gap 0.3s;
}
.service-card:hover .card-link { gap: 12px; }

/* ============ FEATURE LIST ============ */
.feature-list { list-style: none; }
.feature-list li {
  padding: 12px 0 12px 32px; position: relative;
  color: var(--text-secondary); line-height: 1.7;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 20px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}

/* ============ ABOUT / CONTENT ============ */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-image {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.content-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.content-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
}
.content-image-placeholder span {
  color: rgba(255,255,255,0.1); font-size: 5rem; font-weight: 800;
}
.content-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--accent);
}
.content-text p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; }
.content-text p:last-child { margin-bottom: 0; }

/* VALUES GRID */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 32px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; font-size: 1.3rem;
}
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.92rem; }

/* ============ TEAM ============ */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius);
  background: linear-gradient(135deg, #E2E6EE 0%, #CBD2DC 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; overflow: hidden; position: relative;
  transition: all var(--transition);
}
.team-photo:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.team-photo svg { width: 64px; height: 64px; opacity: 0.25; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 0.9rem; color: var(--accent); font-weight: 500; }
.team-card .desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 8px; }
.team-contact {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  align-items: center;
}
.team-contact-item {
  font-size: 0.82rem; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s;
  word-break: break-word;
}
.team-contact-item:hover { color: var(--accent); }
.team-contact-item svg {
  width: 14px; height: 14px; flex-shrink: 0;
  fill: var(--accent);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; padding: 24px; background: var(--bg);
  border-radius: var(--radius-sm); align-items: flex-start;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateX(4px); }
.contact-card-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: var(--radius-sm);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
}
.contact-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a {
  font-size: 0.92rem; color: var(--text-secondary);
}
.contact-card a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: 14px 18px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-map {
  border-radius: var(--radius); overflow: hidden;
  height: 400px; border: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.contact-map-header img { height: 36px; width: auto; }
.contact-map-header span {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-secondary);
}
.contact-card-logo {
  height: 36px; width: auto; margin-left: auto;
  align-self: center; opacity: 0.9;
}

/* ===== Standorte (Multi-Location) ===== */
.standorte-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin-top: 48px;
}
.standort-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.standort-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.standort-card-featured { border-color: var(--accent); }
.standort-map { height: 260px; background: #f3f4f6; }
.standort-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.standort-body { padding: 24px 28px 28px; }
.standort-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.standort-title { display: flex; align-items: center; gap: 14px; }
.standort-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(227,6,19,0.08);
  display: inline-flex; align-items: center; justify-content: center;
}
.standort-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.standort-title h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.standort-tag {
  display: inline-block; margin-top: 2px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent);
}
.standort-brand {
  font-weight: 800; letter-spacing: 0.5px;
  color: var(--text); font-size: 1.05rem;
}
.standort-logo { height: 32px; width: auto; opacity: 0.95; }
.standort-meta {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  font-size: 0.95rem; color: var(--text-secondary);
}
.standort-meta li {
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.55;
}
.standort-meta svg {
  width: 18px; height: 18px; min-width: 18px; margin-top: 3px;
  fill: var(--accent);
}
.standort-meta strong { color: var(--text); font-weight: 700; }
.standort-meta a { color: var(--text-secondary); transition: color 0.2s; }
.standort-meta a:hover { color: var(--accent); }
.standort-meta-address {
  display: block; text-decoration: none;
}
.standort-meta-address:hover strong { color: var(--accent); }
.contact-card-link {
  text-decoration: none; color: inherit;
}
.contact-card-link:hover h4 { color: var(--accent); }
@media (max-width: 900px) {
  .standorte-grid { grid-template-columns: 1fr; gap: 24px; }
  .standort-map { height: 220px; }
  .standort-body { padding: 20px 22px 24px; }
}
.form-success {
  background: rgba(34,197,94,0.08); color: #15803d;
  padding: 16px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; margin-top: 12px;
  border: 1px solid rgba(34,197,94,0.25);
}
.form-error {
  background: rgba(227,6,19,0.06); color: var(--accent);
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; margin-top: 12px;
  border: 1px solid rgba(227,6,19,0.25);
}
.form-hint {
  color: var(--text-secondary); font-size: 0.82rem;
  margin-top: 10px; line-height: 1.5;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  padding: 100px 32px; text-align: center;
  background: var(--bg);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-banner::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--text); margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-secondary); font-size: 1.1rem;
  max-width: 520px; margin: 0 auto 36px;
}

/* ============ FOOTER ============ */
.footer { background: var(--white); color: var(--text-secondary); padding: 80px 32px 32px; border-top: 1px solid var(--border); }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-logo { margin-bottom: 20px; display: block; }
.footer-logo img { height: 52px; width: auto; display: block; }
.footer-logo-contact { margin-bottom: 16px; }
.footer-logo-contact img { height: 38px; }
.footer-company-name { color: var(--text); font-weight: 700; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-about { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); max-width: 360px; }
.footer h4 {
  color: var(--text); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-secondary); font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 0.9rem; align-items: flex-start; color: var(--text-secondary);
}
.footer-contact-item svg {
  width: 16px; height: 16px; min-width: 16px; margin-top: 4px; fill: var(--accent);
}
.footer-contact-item a { color: var(--text-secondary); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1280px; margin: 56px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; flex-wrap: wrap; gap: 16px; color: var(--text-secondary);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: var(--text-secondary); font-size: 0.85rem; transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--accent); }
.footer-credit a { color: var(--text-secondary); transition: color 0.2s; }
.footer-credit a:hover { color: var(--accent); }

/* ============ LEGAL ============ */
.legal-content { padding: 120px 32px 80px; }
.legal-content h2 { font-size: 1.6rem; font-weight: 800; margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; }
.legal-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0; padding-left: 24px; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.7; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

/* ============ SERVICE DETAIL PAGE ============ */
.service-detail-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 64px;
}
.service-detail-content h2 {
  font-size: 1.4rem; font-weight: 700; margin: 36px 0 16px;
}
.service-detail-content p {
  color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 1.02rem;
}
.service-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--bg); border-radius: var(--radius); padding: 32px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--accent);
}
.sidebar-links { list-style: none; }
.sidebar-links li { margin-bottom: 0; }
.sidebar-links a {
  display: block; padding: 12px 16px; color: var(--text-secondary);
  font-size: 0.92rem; border-radius: var(--radius-xs);
  transition: all 0.2s; font-weight: 500;
}
.sidebar-links a:hover, .sidebar-links a.active {
  background: var(--white); color: var(--accent); padding-left: 20px;
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 1001; pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.1s linear;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============ ACCENT TEXT (static red) ============ */
.gradient-text {
  color: var(--accent);
}

/* ============ MARQUEE / TRUST BAR ============ */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.marquee-track {
  display: inline-flex; gap: 48px;
  animation: marqueeScroll 30s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.95rem; color: var(--text-secondary); font-weight: 500;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--white); padding: 60px 32px;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; max-width: 1280px; margin: 0 auto;
  text-align: center;
}
.stat-item { padding: 24px; }
.stat-number {
  font-size: 3rem; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 8px;
}
.stat-number .accent { color: var(--accent); }
.stat-label {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
}
.stat-divider {
  width: 40px; height: 3px; background: var(--accent);
  margin: 12px auto 0; border-radius: 3px;
}

/* ============ SERVICE DETAIL HERO (compact split) ============ */
.service-hero {
  padding: 120px 32px 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.service-hero-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center;
}
.service-hero-content .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.82rem; color: var(--text-secondary);
  margin-bottom: 16px;
}
.service-hero-content .breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.service-hero-content .breadcrumb a:hover { color: var(--accent); }
.service-hero-content .breadcrumb .sep { opacity: 0.5; }
.service-hero-content .section-label { margin-bottom: 14px; }
.service-hero-content h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800; color: var(--text);
  line-height: 1.12; letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.service-hero-content > p {
  font-size: 1.02rem; color: var(--text-secondary);
  line-height: 1.65; max-width: 520px;
}
.service-hero-image {
  aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  max-height: 420px;
}
.service-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 900px) {
  .service-hero { padding: 100px 20px 40px; }
  .service-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-hero-image { order: -1; aspect-ratio: 16/10; max-height: 260px; }
}

/* ============ ABOUT — STATS ROW ============ */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 48px 40px; background: var(--bg);
  border-radius: 20px;
}
.about-stat { text-align: center; position: relative; }
.about-stat:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: -12px;
  transform: translateY(-50%);
  width: 1px; height: 60%; background: var(--border);
}
.about-stat-num {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
  letter-spacing: -1px;
}
.about-stat-label {
  font-size: 0.88rem; color: var(--text-secondary);
  font-weight: 500;
}

/* ============ LEADERSHIP QUOTE ============ */
.leadership-block {
  max-width: 880px; margin: 0 auto; text-align: center;
  padding: 24px 0;
}
.leadership-quote-mark {
  font-size: 4rem; color: var(--accent); opacity: 0.25;
  font-family: Georgia, serif; line-height: 0.8;
  margin-bottom: 16px; user-select: none;
}
.leadership-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5;
  color: var(--text); font-weight: 500; letter-spacing: -0.3px;
  margin-bottom: 36px; max-width: 760px; margin-left: auto; margin-right: auto;
}
.leadership-quote em { color: var(--accent); font-style: normal; }
.leadership-author {
  display: inline-flex; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 2px solid var(--accent);
}
.leadership-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.5px;
  overflow: hidden;
}
.leadership-avatar img { width: 100%; height: 100%; object-fit: cover; }
.leadership-info { text-align: left; }
.leadership-name { font-weight: 800; color: var(--text); font-size: 1rem; }
.leadership-role { font-size: 0.85rem; color: var(--text-secondary); }

/* ============ CERTIFICATES ============ */
.certs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 20px; text-align: center;
  transition: all 0.2s;
}
.cert-card:hover {
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cert-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 12px; background: rgba(227,6,19,0.08);
  display: flex; align-items: center; justify-content: center;
}
.cert-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent); fill: none; stroke-width: 2;
}
.cert-name {
  font-weight: 800; color: var(--text);
  font-size: 1rem; margin-bottom: 4px; letter-spacing: -0.2px;
}
.cert-sub {
  font-size: 0.78rem; color: var(--text-secondary);
  line-height: 1.4;
}

/* ============ TEAM TEASER ============ */
.team-teaser-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 40px;
}
.team-teaser-card {
  aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #E2E6EE 0%, #CBD2DC 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: transform 0.3s;
}
.team-teaser-card:hover { transform: translateY(-4px); }
.team-teaser-card svg { width: 60px; height: 60px; opacity: 0.3; }
.team-teaser-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
}
.team-teaser-overlay {
  position: absolute; bottom: 18px; left: 18px;
  color: var(--white); z-index: 1;
}
.team-teaser-overlay strong { display: block; font-weight: 700; font-size: 0.95rem; }
.team-teaser-overlay span { font-size: 0.78rem; opacity: 0.85; }

@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .about-stat:not(:last-child)::after { display: none; }
  .team-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ HERO TRUST (RED FULL-WIDTH) ============ */
.hero-trust {
  background: var(--accent);
  padding: 28px 32px;
}
.hero-trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 40px 56px;
  color: var(--white);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 14px;
}
.hero-trust-item svg {
  width: 26px; height: 26px; flex-shrink: 0;
  stroke: var(--white); fill: none; stroke-width: 1.8;
}
.hero-trust-item strong {
  display: block; font-weight: 700; font-size: 0.98rem;
}
.hero-trust-item .sub {
  display: block; font-size: 0.82rem; opacity: 0.78;
  margin-top: 2px;
}

/* ============ SERVICES SPLIT ROWS (like HQE) ============ */
.services-rows {
  display: flex; flex-direction: column; gap: 96px;
}
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center;
}
.service-row.reverse > .service-row-image { order: 2; }
.service-row-image {
  aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  position: relative;
}
.service-row-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-row-image:hover img { transform: scale(1.05); }
.service-row-num {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent);
  font-weight: 700; margin-bottom: 12px;
  display: inline-block;
}
.service-row-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800; margin-bottom: 16px;
  letter-spacing: -0.6px; line-height: 1.15;
  color: var(--text);
}
.service-row-content > p {
  color: var(--text-secondary);
  font-size: 1rem; line-height: 1.7;
  margin-bottom: 24px; max-width: 520px;
}
.service-row-features {
  list-style: none; display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px; margin-bottom: 32px; max-width: 520px;
}
.service-row-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--text);
}
.service-row-features li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--accent); fill: none; stroke-width: 2.5;
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 32px; }
  .service-row.reverse > .service-row-image { order: 0; }
  .service-row-features { grid-template-columns: 1fr; }
  .services-rows { gap: 64px; }
  .hero-trust-inner { gap: 24px; }
  .hero-trust-item { flex-basis: calc(50% - 12px); }
}
@media (max-width: 520px) {
  .hero-trust-item { flex-basis: 100%; }
}

/* ============ PROCESS FILLED VARIANT (red circles) ============ */
.process-grid-filled .process-number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(227,6,19,0.18);
}
.process-grid-filled .process-step:hover .process-number {
  transform: scale(1.08);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.process-grid-filled::before {
  background: rgba(227,6,19,0.2);
}

/* ============ SERVICES MODERN (BENTO GRID) ============ */
.services-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  border-color: rgba(227,6,19,0.18);
}
.service-tile-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}
.service-tile-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-tile:hover .service-tile-img { transform: scale(1.04); }
.service-tile-num {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--text);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.service-tile-num::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.service-tile-body {
  padding: 22px 24px 22px;
  display: flex; flex-direction: column;
  flex: 1;
}
.service-tile h3 {
  color: var(--text); font-size: 1.2rem; font-weight: 700;
  line-height: 1.25; margin-bottom: 8px; letter-spacing: -0.2px;
}
.service-tile p {
  color: var(--text-secondary); font-size: 0.92rem;
  line-height: 1.55; margin-bottom: 16px; flex: 1;
}
.service-tile-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.88rem; color: var(--accent);
  align-self: flex-start;
  transition: gap 0.3s;
}
.service-tile:hover .service-tile-arrow { gap: 14px; }

/* Featured tile = first one, image left + text right */
.service-tile-featured {
  grid-column: span 2;
  flex-direction: row;
}
.service-tile-featured .service-tile-image-wrap {
  flex: 1.15;
  aspect-ratio: auto;
  min-height: 100%;
}
.service-tile-featured .service-tile-body {
  flex: 1;
  padding: 36px 36px 32px;
  justify-content: center;
}
.service-tile-featured h3 { font-size: 1.7rem; margin-bottom: 12px; }
.service-tile-featured p { font-size: 1rem; flex: 0 1 auto; margin-bottom: 22px; }

@media (max-width: 1024px) {
  .services-modern { grid-template-columns: repeat(2, 1fr); }
  .service-tile-featured { grid-column: span 2; }
}
@media (max-width: 768px) {
  .service-tile-featured { flex-direction: column; }
  .service-tile-featured .service-tile-image-wrap { aspect-ratio: 4/3; min-height: 0; }
  .service-tile-featured .service-tile-body { padding: 22px 24px; }
  .service-tile-featured h3 { font-size: 1.35rem; }
  .service-tile-featured p { font-size: 0.95rem; }
}
@media (max-width: 640px) {
  .services-modern { grid-template-columns: 1fr; }
  .service-tile-featured { grid-column: span 1; }
}

/* ============ SERVICE CARD ENHANCED ============ */
.service-card-enhanced {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block; position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.service-card-enhanced .card-image {
  height: 200px; overflow: hidden; position: relative;
}
.service-card-enhanced .card-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-card-enhanced .card-body { padding: 32px; }
.service-card-enhanced .card-number {
  font-size: 3.5rem; font-weight: 800; color: var(--border);
  line-height: 1; margin-bottom: 12px;
  transition: color 0.3s;
}
.service-card-enhanced:hover .card-number { color: var(--accent-light); }
.service-card-enhanced h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card-enhanced p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.service-card-enhanced .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 0.9rem;
  margin-top: 20px; transition: gap 0.3s;
}
.service-card-enhanced:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.service-card-enhanced:hover .card-link { gap: 14px; }

/* ============ PROCESS / TIMELINE ============ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px; background: var(--border);
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.3rem; font-weight: 800;
  color: var(--primary); transition: all 0.4s;
}
.process-step:hover .process-number {
  background: var(--accent); border-color: var(--accent);
  color: var(--white); transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(227,6,19,0.25);
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-secondary); }

/* ============ TESTIMONIAL ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 20px; left: 32px;
  font-size: 4rem; color: var(--accent); opacity: 0.2;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card p {
  font-size: 1.1rem; line-height: 1.8; color: var(--text);
  font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--accent);
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.85rem; color: var(--text-secondary); }

/* ============ ANIMATED BORDER GRADIENT ============ */
.gradient-border {
  position: relative; border-radius: var(--radius); padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover), var(--primary-light), var(--accent));
  background-size: 300% 300%;
  animation: gradientBorder 4s ease infinite;
}
.gradient-border > * {
  background: var(--white); border-radius: calc(var(--radius) - 2px);
}
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============ NOTFALL BADGE (24h tel) ============ */
.notfall-badge {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  background: var(--accent); color: var(--white);
  padding: 16px 24px; border-radius: 14px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(227,6,19,0.35);
  display: flex; align-items: center; gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.notfall-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(227,6,19,0.45);
}
.notfall-badge .pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22C55E; position: relative; flex-shrink: 0;
}
.notfall-badge .pulse-dot::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; border: 2px solid #22C55E;
  animation: pulseRing 2s infinite;
}
.notfall-badge .notfall-text { display: flex; flex-direction: column; line-height: 1.2; }
.notfall-badge .notfall-label { font-size: 0.72rem; font-weight: 600; opacity: 0.85; letter-spacing: 0.5px; text-transform: uppercase; }
.notfall-badge .notfall-tel { font-size: 1rem; font-weight: 800; letter-spacing: 0.3px; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ============ TRUST ROW ============ */
.trust-row {
  background: var(--white); padding: 24px 32px 40px;
  border-bottom: 1px solid var(--border);
}
.trust-row-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 16px;
}
.trust-item:not(:last-child) {
  border-right: 1px solid var(--border);
}
.trust-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 10px; background: rgba(227,6,19,0.06);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }
.trust-text h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.trust-text p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ============ MOTTO BREAK ============ */
.motto-break {
  padding: 100px 32px; text-align: center; background: var(--white);
}
.motto-break .motto-line {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -1px; line-height: 1.2;
  color: var(--text); max-width: 900px; margin: 0 auto;
}
.motto-break .motto-line em {
  font-style: normal; color: var(--accent);
}
.motto-break .motto-sub {
  font-size: 0.85rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 3px;
  margin-top: 24px; font-weight: 600;
}

/* ============ REGION / EINSATZGEBIET ============ */
.region-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center;
}
.region-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px;
}
.region-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; font-size: 0.95rem;
  color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.region-item svg {
  width: 14px; height: 14px;
  fill: var(--accent); flex-shrink: 0;
}
.region-note {
  font-size: 0.9rem; color: var(--text-secondary);
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.section-header.center .region-note {
  max-width: 560px; margin-left: auto; margin-right: auto;
  margin-top: 28px;
}

/* ============ PARTNERS / BRANDS ============ */
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.partner-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100px; transition: all 0.2s; gap: 6px;
}
.partner-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partner-card .partner-name {
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.3px;
  color: var(--text);
}
.partner-card .partner-cat {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-secondary); font-weight: 600;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 56px 20px 24px;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  position: relative; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; top: 50%; right: 22px;
  transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--accent);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 22px; color: var(--text-secondary);
  line-height: 1.7; font-size: 0.98rem;
}

/* ============ CAREER ============ */
.career-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.career-image {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.career-image img { width: 100%; height: 100%; object-fit: cover; }
.career-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--accent); color: var(--white);
  padding: 8px 16px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.career-list {
  list-style: none; margin: 24px 0 32px;
}
.career-list li {
  position: relative; padding: 10px 0 10px 32px;
  color: var(--text-secondary); line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.career-list li:last-child { border-bottom: none; }
.career-list li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 16px; height: 2px; background: var(--accent);
}

/* ============ REFERENCES ============ */
.ref-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.ref-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-card-image { aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.ref-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ref-card-body { padding: 24px; }
.ref-card-meta {
  font-size: 0.78rem; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 10px; font-weight: 600;
}
.ref-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.ref-card p {
  color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6;
  margin-bottom: 16px;
}
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tag {
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(227,6,19,0.08); color: var(--accent);
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.gap-24 { gap: 24px; }

/* ============ RESPONSIVE ============ */

/* ---------- TABLET (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .section { padding: 100px 24px; }
  .section-sm { padding: 72px 24px; }
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-grid.reverse { direction: ltr; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; max-width: 640px; }
  .hero-visual { aspect-ratio: 3/2; max-height: none; }
  .hero { padding: 110px 24px 32px; min-height: 0; }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.2rem, 5.5vw, 3rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 2.4rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .region-wrap { grid-template-columns: 1fr; gap: 40px; }
  .career-section { grid-template-columns: 1fr; gap: 40px; }
  .career-image { max-height: 380px; }
  .career-image img { height: 380px; object-fit: cover; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .legal-content { padding: 110px 24px 72px; }
}

/* ---------- MOBILE / TABLET (≤ 900px) — hide desktop nav ---------- */
@media (max-width: 900px) {
  .nav-links, .nav > .nav-inner > .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav { height: 64px; }
  .nav-inner { padding: 0 20px; }
  .nav-logo img { height: 36px; }
  .mobile-menu { top: 64px; }
  html { scroll-padding-top: 64px; }
}

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {
  .section { padding: 72px 20px; }
  .section-sm { padding: 56px 20px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section-subtitle { font-size: 1rem; }

  /* Buttons */
  .btn { padding: 13px 26px; font-size: 0.95rem; }
  .btn-lg { padding: 15px 30px; font-size: 1rem; }

  /* Hero */
  .hero { padding: 88px 20px 28px; }
  .hero::after { width: 360px; height: 360px; top: -80px; right: -80px; }
  .hero-badge { padding: 8px 14px; font-size: 0.78rem; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); letter-spacing: -0.4px; margin-bottom: 18px; }
  .hero-text { font-size: 1rem; margin-bottom: 28px; line-height: 1.6; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; }
  .hero-visual { aspect-ratio: 3/2; max-height: none; }

  /* Page Hero */
  .page-hero { padding: 100px 20px 48px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .page-hero p { font-size: 1rem; }
  .page-hero .breadcrumb { margin-bottom: 18px; font-size: 0.8rem; flex-wrap: wrap; }

  /* Trust row */
  .trust-row { padding: 18px 20px 28px; }
  .trust-row-inner { grid-template-columns: 1fr; gap: 20px; }
  .trust-item { padding: 0; }
  .trust-item:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 18px; }

  /* Marquee */
  .marquee { padding: 18px 0; }
  .marquee-item { font-size: 0.85rem; gap: 8px; }
  .marquee-track { gap: 32px; }

  /* Stats */
  .stats-bar { padding: 40px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item { padding: 16px 8px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.82rem; }

  /* Services modern (bento) — new white-card layout */
  .services-modern { grid-template-columns: 1fr; gap: 14px; }
  .service-tile-featured { grid-column: span 1; flex-direction: column; }
  .service-tile-featured .service-tile-image-wrap { flex: none; aspect-ratio: 4/3; min-height: 0; }
  .service-tile-featured .service-tile-body { flex: none; padding: 22px 22px 20px; }
  .service-tile-featured h3 { font-size: 1.25rem; margin-bottom: 8px; }
  .service-tile-featured p { font-size: 0.92rem; margin-bottom: 14px; }
  .service-tile-body { padding: 20px 22px 18px; }
  .service-tile h3 { font-size: 1.1rem; }
  .service-tile p { font-size: 0.9rem; margin-bottom: 14px; }
  .service-tile-num { top: 12px; left: 12px; padding: 5px 11px; font-size: 0.66rem; }

  /* Services grid (cards) */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px; }

  /* Motto */
  .motto-break { padding: 56px 20px; }
  .motto-break .motto-line { font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -0.4px; }
  .motto-break .motto-sub { font-size: 0.72rem; letter-spacing: 2px; margin-top: 16px; }

  /* References */
  .ref-grid { grid-template-columns: 1fr; }
  .ref-card-body { padding: 20px; }

  /* Content grids */
  .content-grid { gap: 40px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-card { padding: 24px; }

  /* Region */
  .region-list { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .region-item { font-size: 0.88rem; padding: 8px 2px; }

  /* Process */
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .process-grid::before { display: none; }
  .process-number { width: 60px; height: 60px; font-size: 1.1rem; margin-bottom: 14px; }
  .process-step h3 { font-size: 0.98rem !important; }
  .process-step p { font-size: 0.85rem !important; }

  /* Partners */
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .partner-card { padding: 22px 14px; min-height: 88px; }
  .partner-card .partner-name { font-size: 1rem; }
  .partner-card .partner-cat { font-size: 0.66rem; letter-spacing: 1.2px; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card p { font-size: 1rem; line-height: 1.65; }

  /* FAQ */
  .faq-item summary { padding: 18px 46px 18px 18px; font-size: 0.95rem; }
  .faq-item summary::after { right: 18px; font-size: 1.5rem; }
  .faq-item .faq-answer { padding: 0 18px 18px; font-size: 0.92rem; }

  /* Career */
  .career-section { grid-template-columns: 1fr; gap: 32px; }
  .career-image { max-height: 280px; aspect-ratio: 16/10; }
  .career-image img { height: 100%; }
  .career-list li { padding: 8px 0 8px 28px; font-size: 0.92rem; }

  /* Team — let auto-fit handle column count for 3 members */
  .team-grid { gap: 16px; }
  .team-card h3 { font-size: 0.98rem; }
  .team-card .role { font-size: 0.82rem; }

  /* CTA banner */
  .cta-banner { padding: 72px 20px; }
  .cta-banner::after { width: 360px; height: 360px; }
  .cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-banner p { font-size: 1rem; margin-bottom: 28px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 18px; gap: 14px; }
  .contact-map { height: 280px; }
  .contact-card-logo { height: 30px; }
  .contact-map-header img { height: 30px; }
  .contact-map-header span { font-size: 0.7rem; letter-spacing: 1.4px; }

  /* Footer */
  .footer { padding: 56px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo img { height: 44px; }
  .footer-logo-contact img { height: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; margin-top: 40px; }
  .footer-bottom-links { justify-content: center; }

  /* Legal */
  .legal-content { padding: 90px 20px 56px; }
  .legal-content h2 { font-size: 1.35rem; }

  /* Service detail */
  .service-detail-content h2 { font-size: 1.2rem; margin-top: 28px; }
  .service-detail-content p { font-size: 0.98rem; }
  .sidebar-card { padding: 24px; }

  /* About stats */
  .about-stats { padding: 28px 18px; gap: 14px; }
  .about-stat-num { font-size: 1.8rem; }
  .about-stat-label { font-size: 0.78rem; }

  /* Leadership */
  .leadership-quote { font-size: 1.05rem; margin-bottom: 28px; }
  .leadership-quote-mark { font-size: 3rem; }
  .leadership-avatar { width: 48px; height: 48px; font-size: 1rem; }

  /* Certs */
  .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cert-card { padding: 20px 14px; }

  /* Team teaser */
  .team-teaser-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Notfall badge */
  .notfall-badge { bottom: 14px; right: 14px; padding: 10px 14px; gap: 8px; border-radius: 12px; }
  .notfall-badge .pulse-dot { width: 8px; height: 8px; }
  .notfall-badge .notfall-label { font-size: 0.6rem; }
  .notfall-badge .notfall-tel { font-size: 0.82rem; }
}

/* ---------- SMALL MOBILE (≤ 480px) ---------- */
@media (max-width: 480px) {
  .section { padding: 56px 16px; }
  .section-sm { padding: 44px 16px; }
  .section-header { margin-bottom: 32px; }

  .hero { padding: 80px 16px 24px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { gap: 10px; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 86px; }
  .hero-stat-num { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.72rem; }

  .page-hero { padding: 90px 16px 40px; }
  .page-hero h1 { font-size: 1.7rem; }

  .trust-row { padding: 14px 16px 24px; }
  .stats-bar { padding: 32px 16px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.76rem; }

  .services-modern { grid-template-columns: 1fr; }
  .service-tile-featured { grid-column: span 1; }
  .service-tile-featured h3 { font-size: 1.2rem; }
  .service-tile-body { padding: 18px 18px 16px; }
  .service-tile h3 { font-size: 1.05rem; }
  .service-tile p { font-size: 0.88rem; }

  /* Contact narrow */
  .contact-card-logo { display: none; }
  .contact-map-header { gap: 10px; }
  .contact-map-header img { height: 28px; }

  .motto-break { padding: 44px 16px; }
  .cta-banner { padding: 56px 16px; }
  .footer { padding: 48px 16px 24px; }
  .legal-content { padding: 80px 16px 48px; }

  .region-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .certs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-teaser-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { padding: 24px 20px; }

  /* Notfall badge — super kompakt */
  .notfall-badge { bottom: 12px; right: 12px; padding: 9px 12px; }
  .notfall-badge .notfall-tel { font-size: 0.78rem; }
  .notfall-badge .notfall-label { font-size: 0.58rem; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important;
  }
  .marquee-track { animation: none !important; }
  .notfall-badge .pulse-dot::after { animation: none !important; }
}
