/*
Theme Name: Schunk CNC
Theme URI: https://schunk-cnc.de
Author: Schunk CNC
Description: Modernes, professionelles WordPress-Theme für Schunk CNC Präzisionsdreherei
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: schunk-cnc
*/

/* ===================================================
   CSS VARIABLES
=================================================== */
:root {
  --bg-dark:        #07080d;
  --bg-medium:      #0c0e18;
  --bg-card:        #10121c;
  --bg-teal:        #05161a;
  --accent:         #00d4d8;
  --accent-dim:     rgba(0, 212, 216, 0.12);
  --accent-glow:    rgba(0, 212, 216, 0.35);
  --accent-rgb:     0, 212, 216;
  --text-white:     #ffffff;
  --text-light:     #b0c4d0;
  --text-muted:     #4a5a68;
  --border:         #161e28;
  --border-bright:  rgba(0, 212, 216, 0.18);
  --font-display:   'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-heading:   'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:      'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:         2px;
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Thin custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), 0.4); border-radius: 2px; }

a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0 0 1rem; }

/* ===================================================
   SCROLL PROGRESS BAR
=================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.4));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ===================================================
   NAVIGATION
=================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 8, 13, 0.92);
  padding: 14px 60px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.site-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  text-shadow: 0 0 20px var(--accent-glow);
}
.site-logo span { color: rgba(255,255,255,0.35); }
.main-nav { display: flex; align-items: center; gap: 44px; }
.main-nav ul { display: flex; gap: 40px; }
.main-nav ul a {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s;
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
  box-shadow: 0 0 6px var(--accent-glow);
}
.main-nav ul a:hover { color: var(--accent); }
.main-nav ul a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-heading) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  padding: 9px 22px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
  z-index: -1;
}
.nav-cta:hover { color: #000 !important; box-shadow: 0 0 20px var(--accent-glow); }
.nav-cta:hover::before { transform: scaleX(1); }

/* ===================================================
   HERO
=================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-color: #06090e;
  filter: brightness(0.28) saturate(0.6);
  z-index: 0;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,8,13,0.2) 0%,
    rgba(7,8,13,0.0) 40%,
    rgba(7,8,13,0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 980px;
  padding: 0 24px;
}
.hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 6px 18px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 28px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) forwards 0.4s;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4);
}
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.9s;
}

/* Established badge */
.established-badge {
  position: absolute;
  top: 50%; right: 11%;
  transform: translateY(-55%) rotate(8deg);
  width: 128px; height: 128px;
  border: 1.5px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  text-align: center; z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.3));
}
.established-badge .est-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.46rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.established-badge .est-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; color: var(--accent); line-height: 1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}
.scroll-indicator-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: white;
  animation: scrollLine 1.6s ease-in-out infinite;
}
.scroll-indicator-label {
  font-family: var(--font-heading);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  margin-top: 4px;
}

/* ===================================================
   KEYFRAMES
=================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%   { top: -100%; opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}
@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { left: -60%; }
  100% { left: 120%; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.3); }
  70%  { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes borderPulse {
  0%, 100% { border-color: rgba(var(--accent-rgb), 0.2); }
  50%       { border-color: rgba(var(--accent-rgb), 0.5); }
}

/* ===================================================
   BUTTONS
=================================================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 17px 44px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: shimmer 2.5s ease infinite;
}
.btn-primary:hover {
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-2px);
  color: #000;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 40px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  position: relative; overflow: hidden;
  transition: color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
  z-index: -1;
}
.btn-outline:hover {
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-outline:hover::before { transform: scaleX(1); }

/* ===================================================
   STATS
=================================================== */
.stats-section {
  background: linear-gradient(135deg, #061820 0%, #0c2430 50%, #061c1c 100%);
  padding: 80px 60px;
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(var(--accent-rgb), 0.04), transparent);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.stat-item {
  padding: 44px 20px;
  border-right: 1px solid rgba(var(--accent-rgb), 0.12);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-ring-wrap {
  position: relative;
  width: 70px; height: 70px;
  margin: 0 auto 18px;
}
.stat-ring-svg {
  position: absolute; inset: 0;
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}
.stat-ring-bg {
  fill: none;
  stroke: rgba(var(--accent-rgb), 0.08);
  stroke-width: 1.5;
}
.stat-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 188;
  stroke-dashoffset: 188;
  transition: stroke-dashoffset 1.8s var(--ease-out-expo);
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
.stat-icon-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.stat-icon-inner svg {
  width: 22px; height: 22px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 4rem; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4), 0 0 60px rgba(var(--accent-rgb), 0.15);
}
.stat-divider { width: 28px; height: 1px; background: rgba(var(--accent-rgb),0.4); margin: 10px auto 14px; }
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================================================
   SECTION COMMON
=================================================== */
.section { padding: 100px 60px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
  padding-bottom: 6px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 560px; margin: 0 auto;
  line-height: 1.85;
}

/* ===================================================
   KERNKOMPETENZEN
=================================================== */
.kompetenzen-section { background: var(--bg-dark); }
.kompetenzen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
}

/* Gradient border technique */
.kompetenz-card {
  background: var(--bg-card);
  padding: 52px 44px;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
.kompetenz-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.kompetenz-card::after {
  content: attr(data-number);
  position: absolute;
  bottom: -10px; right: 20px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}
.kompetenz-card:hover { background: #13151f; }
.kompetenz-card:hover::before { opacity: 1; }
.kompetenz-card:hover::after { color: rgba(var(--accent-rgb), 0.05); }

/* Accent top line on hover */
.kompetenz-card .card-top-line {
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.4s var(--ease-out-expo);
  box-shadow: 0 0 8px var(--accent-glow);
}
.kompetenz-card:hover .card-top-line { width: 100%; }

.kompetenz-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: background 0.3s, box-shadow 0.3s;
  position: relative;
}
.kompetenz-card:hover .kompetenz-icon {
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2);
}
.kompetenz-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.kompetenz-title {
  font-family: var(--font-heading);
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.kompetenz-text {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.9; margin: 0;
}

/* ===================================================
   TRADITION TRIFFT HIGHTECH
=================================================== */
.tradition-section {
  background: var(--bg-medium);
  padding: 120px 0; overflow: hidden;
}
.tradition-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px; align-items: start;
  max-width: 1380px; margin: 0 auto;
  padding: 0 60px;
}
.tradition-left { position: sticky; top: 120px; }
.tradition-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.tradition-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.tradition-heading {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 36px; color: #fff;
}
.tradition-heading strong {
  font-family: var(--font-heading);
  font-weight: 800; color: var(--accent);
  display: block; font-size: 1.15em;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.2);
}
.tradition-divider {
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: width 1.2s var(--ease-out-expo);
}
.tradition-divider.visible { width: 60px; }

.tradition-description {
  font-size: 1rem; color: var(--text-light);
  line-height: 1.95; margin-bottom: 48px;
}
.tradition-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tradition-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.tradition-feature:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.03);
}
.tradition-feature-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex; align-items: center; justify-content: center;
}
.tradition-feature-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round;
}
.tradition-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.05em; color: #fff;
  margin-bottom: 4px;
}
.tradition-feature p {
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.7; margin: 0;
}

/* ===================================================
   PARTNERS MARQUEE
=================================================== */
.partners-section {
  background: var(--bg-dark);
  padding: 80px 0; overflow: hidden;
}
.partners-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 56px;
  text-align: center;
}
.marquee-wrapper {
  position: relative;
  overflow: hidden;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 200px; z-index: 2; pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }
.marquee-track {
  display: flex; gap: 0;
  width: max-content;
  animation: marqueeLeft 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.partner-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: rgba(255,255,255,0.05);
  letter-spacing: 0.06em; line-height: 1;
  text-transform: uppercase;
  padding: 0 60px;
  transition: color 0.4s;
  cursor: default;
  white-space: nowrap;
}
.partner-name:hover { color: rgba(255,255,255,0.14); }
.partner-sep {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(var(--accent-rgb), 0.15);
  line-height: 1;
  align-self: center;
  padding: 0 20px;
}

/* ===================================================
   CONTACT / COMPANY
=================================================== */
.contact-section {
  background: var(--bg-medium);
  padding: 100px 60px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; max-width: 1160px;
  margin: 0 auto; align-items: start;
}
.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 22px; line-height: 1.1;
}
.contact-description {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 44px;
}
.contact-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.93rem; color: var(--text-light);
  padding: 14px 16px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}
.contact-item:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  background: rgba(var(--accent-rgb), 0.03);
}
.contact-item a, .contact-item address { color: inherit; font-style: normal; transition: color 0.2s; }
.contact-item:hover a { color: var(--accent); }
.contact-item-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent); fill: none; stroke-width: 1.5;
}

/* Company card */
.company-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  box-shadow: 0 0 12px var(--accent-glow);
}
.company-card-title {
  font-family: var(--font-heading);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 32px;
  display: flex; align-items: center; gap: 10px;
}
.company-card-title svg {
  width: 14px; height: 14px;
  stroke: var(--text-muted); fill: none; stroke-width: 1.5;
}
.company-data-table { width: 100%; border-collapse: collapse; }
.company-data-table tr { border-bottom: 1px solid var(--border); }
.company-data-table tr:last-child { border-bottom: none; }
.company-data-table td { padding: 13px 0; font-size: 0.85rem; vertical-align: top; }
.company-data-table .data-label {
  font-family: var(--font-heading);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); width: 38%; padding-right: 20px;
}
.company-data-table .data-value { color: #fff; }

/* ===================================================
   CTA
=================================================== */
.cta-section {
  background: var(--bg-teal);
  padding: 100px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 30% 50%, rgba(var(--accent-rgb), 0.06), transparent),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(var(--accent-rgb), 0.04), transparent);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.cta-text {
  font-size: 1rem; color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 480px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}

/* ===================================================
   SITE FOOTER
=================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 30px 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.3);
}
.footer-copy { font-size: 0.76rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.76rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ===================================================
   PAGE HERO (subpages)
=================================================== */
.page-hero {
  background: var(--bg-medium);
  padding: 160px 60px 90px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.025) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}
.page-hero::after {
  content: attr(data-title);
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 16rem);
  color: rgba(255,255,255,0.022);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  line-height: 1;
}
.page-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  position: relative;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: 0.06em; color: #fff;
  line-height: 0.9; margin-bottom: 22px;
  position: relative;
}
.page-hero-subtitle {
  font-size: 1rem; color: var(--text-muted);
  max-width: 540px; margin: 0 auto;
  line-height: 1.85; position: relative;
}

/* ===================================================
   FERTIGUNG PAGE
=================================================== */
.fertigung-intro {
  background: var(--bg-dark);
  padding: 100px 60px;
}
.fertigung-intro-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; max-width: 1200px;
  margin: 0 auto; align-items: start;
}
.fertigung-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.9rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; margin-bottom: 22px; line-height: 1.15;
}
.fertigung-intro h2 span { color: var(--accent); }
.fertigung-intro p {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 18px;
}
.spec-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-light);
  display: flex; align-items: center; gap: 12px;
  transition: color 0.2s;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  flex-shrink: 0; transform: rotate(45deg);
  box-shadow: 0 0 4px rgba(var(--accent-rgb), 0.4);
}
.spec-list li:hover { color: #fff; }

.leistungen-section { background: var(--bg-medium); padding: 100px 60px; }
.leistungen-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; max-width: 1100px;
  margin: 0 auto; background: var(--border);
}

/* Card with image placeholder at top */
.leistung-card {
  background: var(--bg-card);
  padding: 0;
  position: relative; overflow: hidden;
  transition: background 0.3s;
  display: flex; flex-direction: column;
}
.leistung-card:hover { background: #13151f; }
.leistung-card .card-top-line {
  position: absolute; top: 0; left: 0; z-index: 2;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.5s var(--ease-out-expo);
  box-shadow: 0 0 8px var(--accent-glow);
}
.leistung-card:hover .card-top-line { width: 100%; }

/* Image placeholder */
.leistung-img {
  width: 100%; height: 200px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.leistung-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.leistung-img-icon {
  position: relative; z-index: 1;
  width: 72px; height: 72px;
  stroke: var(--accent); fill: none;
  stroke-width: 1; stroke-linecap: round;
  opacity: 0.18;
  transition: opacity 0.35s;
}
.leistung-card:hover .leistung-img-icon { opacity: 0.35; }
.leistung-img-label {
  position: relative; z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
  border: 1px dashed rgba(var(--accent-rgb), 0.18);
  padding: 5px 14px; margin-top: 14px;
  transition: border-color 0.3s, color 0.3s;
}
.leistung-card:hover .leistung-img-label {
  border-color: rgba(var(--accent-rgb), 0.35);
  color: rgba(var(--accent-rgb), 0.7);
}

/* Card body */
.leistung-body { padding: 36px 40px 40px; flex: 1; }

.leistung-number {
  font-family: var(--font-display);
  font-size: 4.5rem; color: rgba(var(--accent-rgb), 0.09);
  line-height: 1; margin-bottom: -10px;
  transition: color 0.3s;
}
.leistung-card:hover .leistung-number { color: rgba(var(--accent-rgb), 0.16); }
.leistung-title {
  font-family: var(--font-heading);
  font-size: 1.12rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.leistung-text {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 4px;
}

/* ─── ACCORDION ─── */
.accordion { margin-top: 20px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 13px 0;
  background: none; border: none;
  color: var(--text-light);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.86rem; font-weight: 500;
  text-align: left; line-height: 1.4;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: #fff; }
.accordion-trigger:hover .acc-icon { border-color: var(--accent); color: var(--accent); }
.acc-icon {
  width: 22px; height: 22px; min-width: 22px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  font-family: 'Barlow', sans-serif; font-weight: 300;
  color: rgba(var(--accent-rgb), 0.5);
  transition: transform 0.35s var(--ease-out-expo),
              border-color 0.25s, color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.accordion-item.open .acc-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
}
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s var(--ease-out-expo);
}
.accordion-item.open .accordion-body { max-height: 220px; }
.accordion-content {
  padding: 2px 0 16px;
  font-size: 0.83rem; color: var(--text-muted);
  line-height: 1.8;
}

.maschinen-section { background: var(--bg-dark); padding: 100px 60px; }
.maschinen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; max-width: 1100px;
  margin: 0 auto; background: var(--border);
}
.maschine-card {
  background: var(--bg-card);
  padding: 44px 32px; text-align: center;
  transition: background 0.3s;
}
.maschine-card:hover { background: #13151f; }
.maschine-number {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--accent); line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}
.maschine-name {
  font-family: var(--font-heading);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.maschine-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ===================================================
   UNTERNEHMEN PAGE
=================================================== */
.geschichte-section { background: var(--bg-dark); padding: 100px 60px; }
.geschichte-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; max-width: 1200px;
  margin: 0 auto; align-items: start;
}
.geschichte-left { position: sticky; top: 120px; }
.geschichte-left .section-title { text-align: left; margin-bottom: 24px; }
.geschichte-text { font-size: 0.98rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 18px; }

.timeline { position: relative; padding-left: 44px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.2;
}
.timeline-item { position: relative; margin-bottom: 44px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -48px; top: 8px;
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15), 0 0 10px rgba(var(--accent-rgb), 0.4);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--accent);
  margin-bottom: 4px; line-height: 1;
}
.timeline-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.05em; color: #fff; margin-bottom: 8px;
}
.timeline-item p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.75; margin: 0; }

.werte-section { background: var(--bg-medium); padding: 100px 60px; }
.werte-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; max-width: 1100px;
  margin: 0 auto; background: var(--border);
}
.wert-card {
  background: var(--bg-card);
  padding: 52px 40px; text-align: center;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.wert-card:hover { background: #13151f; }
.wert-icon {
  width: 60px; height: 60px;
  background: var(--accent-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  transition: box-shadow 0.3s;
  animation: borderPulse 3s ease infinite;
}
.wert-card:hover .wert-icon { box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.2); }
.wert-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.5; stroke-linecap: round;
}
.wert-title {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.wert-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; margin: 0; }

.team-section { background: var(--bg-dark); padding: 100px 60px; }
.team-card {
  max-width: 740px; margin: 0 auto;
  display: grid; grid-template-columns: 180px 1fr;
  gap: 50px; background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 50px; align-items: center;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
  box-shadow: 0 0 12px var(--accent-glow);
}
.team-avatar {
  width: 180px; height: 180px;
  background: linear-gradient(135deg, #0a2228, #071820);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 65px; height: 65px; stroke: var(--text-muted); fill: none; stroke-width: 1; }
.team-name { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; letter-spacing: 0.05em; color: #fff; margin-bottom: 4px; }
.team-role { font-family: var(--font-heading); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.team-bio { font-size: 0.88rem; color: var(--text-muted); line-height: 1.85; margin: 0; }

/* ===================================================
   ANIMATIONS
=================================================== */
.fade-in {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Stagger via CSS var */
.stagger-item { transition-delay: calc(var(--stagger-i, 0) * 0.08s); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1100px) {
  .site-header, .site-header.scrolled { padding-left: 32px; padding-right: 32px; }
  .section, .fertigung-intro, .leistungen-section, .maschinen-section,
  .geschichte-section, .werte-section, .team-section, .contact-section,
  .stats-section, .cta-section { padding-left: 32px; padding-right: 32px; }
  .tradition-inner { padding: 0 32px; gap: 50px; }
  .page-hero { padding: 140px 32px 70px; }
}
@media (max-width: 860px) {
  .main-nav ul { display: none; }
  .hero-title { font-size: clamp(3rem, 13vw, 5rem); }
  .established-badge { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(var(--accent-rgb), 0.12); }
  .stat-item:last-child { border-bottom: none; }
  .kompetenzen-grid { grid-template-columns: 1fr; }
  .tradition-inner { grid-template-columns: 1fr; gap: 40px; }
  .tradition-left { position: static; }
  .tradition-features { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .fertigung-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .maschinen-grid { grid-template-columns: repeat(2, 1fr); }
  .werte-grid { grid-template-columns: 1fr; }
  .geschichte-inner { grid-template-columns: 1fr; gap: 50px; }
  .geschichte-left { position: static; }
  .team-card { grid-template-columns: 1fr; max-width: 400px; text-align: center; }
  .team-avatar { margin: 0 auto; }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 30px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 560px) {
  .maschinen-grid { grid-template-columns: 1fr; }
}
