/* ============================================================
   Lechner Edelstahl – Premium CSS 2026
   Lokale Schriften: Inter-Dateien unter /assets/fonts/ ablegen.
   @font-face-Blöcke unten einkommentieren, sobald vorhanden.
   ============================================================ */

/* @font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
} */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --navy:          #1E1E1E;
  --navy-light:    #2A2A2A;
  --navy-mid:      #3A3A3A;
  --accent:        #D41474;
  --accent-hover:  #B8115F;
  --accent-soft:   rgba(212, 20, 116, 0.10);
  --white:         #ffffff;
  --off-white:     #F7F7F7;
  --gray-50:       #F2F2F2;
  --gray-100:      #E6E6E6;
  --gray-200:      #CCCCCC;
  --gray-400:      #8A8A8A;
  --gray-600:      #555555;
  --text:          #1A1A1A;
  --text-muted:    #555555;
  --border:        #E0E0E0;
  --surface:       #ffffff;

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);

  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
  --max-w: 1280px;
  --px: clamp(1.25rem, 4vw, 2.5rem);
  --section-py: clamp(4.5rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: var(--section-py);
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }

p { color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(212,20,116,0.30);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(212,20,116,0.40);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--accent-soft);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius);
  min-height: 52px;
}

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

/* ============================================================
   Section Tags & Headers
   ============================================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-desc {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section-header-left {
  margin-bottom: 1.75rem;
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(20, 20, 20, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px 10px;
}

.logo-img-mobile {
  height: 38px;
  padding: 3px 8px;
}

.logo-img-footer {
  height: 42px;
  margin-bottom: 1rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.12);
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: all; }

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.mobile-menu.open .mobile-menu-overlay { opacity: 1; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: background var(--transition);
}
.mobile-close:hover { background: rgba(255,255,255,0.1); }
.mobile-close svg { width: 22px; height: 22px; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 2rem; }
.mobile-nav-link {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.mobile-cta { width: 100%; justify-content: center; margin-bottom: 2rem; }

.mobile-contact-strip {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.mobile-contact-strip a { color: rgba(255,255,255,0.7); }
.mobile-contact-strip a:hover { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(15, 15, 15, 0.65) 0%,
      rgba(15, 15, 15, 0.25) 55%,
      rgba(15, 15, 15, 0.08) 100%
    ),
    linear-gradient(
      to top,
      rgba(15, 15, 15, 0.55) 0%,
      transparent 40%
    );
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(
      -52deg,
      transparent 0, transparent 3px,
      rgba(255,255,255,0.008) 3px, rgba(255,255,255,0.008) 4px
    );
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.hero-orb-1 {
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  top: -15%;
  right: -10%;
  border: 1px solid rgba(212,20,116,0.12);
}
.hero-orb-2 {
  width: clamp(200px, 25vw, 380px);
  height: clamp(200px, 25vw, 380px);
  bottom: 5%;
  right: 8%;
  border: 1px solid rgba(255,255,255,0.07);
}

.hero-inner {
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 3;
}

.hero-content { max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5vw + 1rem, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(130deg, #F06FAB 0%, var(--accent) 50%, #E8458C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stat strong {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  margin-inline: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
  z-index: 3;
}
.hero-scroll:hover { color: rgba(255,255,255,0.7); }
.hero-scroll-arrow {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--navy);
  padding-block: 1.75rem;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.trust-item div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.trust-item strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
}
.trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; color: var(--accent); }
.trust-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen { background: var(--white); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.leistung-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.leistung-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.leistung-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.leistung-icon svg { width: 30px; height: 30px; }

.leistung-card h3 {
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.leistung-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.leistung-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.leistung-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.ueber-uns { background: var(--off-white); }

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.ueber-content h2 { margin-bottom: 1.25rem; }
.ueber-content p { margin-bottom: 1rem; }

.ueber-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.ueber-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.ueber-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

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

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-sm); }
.stat-card.accent {
  background: var(--navy);
  border-color: var(--navy);
}
.stat-card.accent .stat-num, .stat-card.accent .stat-label {
  color: var(--white);
}
.stat-card.accent .stat-label { opacity: 0.65; }

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================================
   WERKSTOFFE
   ============================================================ */
.werkstoffe { background: var(--white); }

.werkstoffe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}

.werkstoff-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.werkstoff-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gray-200);
}
.werkstoff-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #FDF0F7 0%, var(--white) 100%);
}
.werkstoff-card.featured:hover { box-shadow: 0 8px 32px rgba(212,20,116,0.18); }

.werkstoff-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.werkstoff-grade {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.werkstoff-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.werkstoff-card p { font-size: 0.875rem; }

/* ============================================================
   PROZESS
   ============================================================ */
.prozess { background: var(--off-white); }

.prozess-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.prozess-step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: box-shadow var(--transition);
}
.prozess-step:hover { box-shadow: var(--shadow-sm); }

.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.step-body h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.step-body p { font-size: 0.875rem; }

.prozess-connector {
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(212,20,116,0.25));
  flex-shrink: 0;
  opacity: 0.5;
}

/* ============================================================
   REFERENZEN
   ============================================================ */
.referenzen { background: var(--white); }

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.referenz-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.referenz-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.referenz-img { aspect-ratio: 16/9; overflow: hidden; }

.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--gray-50) 0%, var(--gray-100) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  color: var(--gray-400);
  font-size: 0.8125rem;
  font-weight: 500;
}
.img-placeholder svg {
  width: 48px;
  height: 36px;
  opacity: 0.4;
}

/* Referenz visual backgrounds */
.referenz-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.referenz-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.referenz-visual-label {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.referenz-body { padding: 1.5rem; }
.referenz-tag-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.referenz-body h3 {
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: 0.625rem;
}
.referenz-body p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.referenz-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.referenz-specs span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.referenzen-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.referenzen-footer p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Referenzen Logos strip */
.referenzen-logos {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.referenzen-logos-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.referenzen-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1rem;
  justify-content: center;
}
.referenzen-logos-grid span {
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.875rem;
  white-space: nowrap;
}

/* ============================================================
   STANDORT
   ============================================================ */
.standort { background: var(--off-white); }

.standort-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.standort-info h2 { margin-bottom: 1.5rem; }

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.contact-detail-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-detail-item strong {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.contact-detail-item address,
.contact-detail-item a,
.contact-detail-item span {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}
.contact-detail-item a:hover { color: var(--accent); text-decoration: underline; }

.map-placeholder {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  border: 1.5px solid var(--border);
}
.map-grid-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 48px);
  opacity: 0.6;
}
.map-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem;
}
.map-pin {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 16px rgba(212,20,116,0.40);
}
.map-pin svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  transform: rotate(45deg);
}
.map-center-content strong {
  font-size: 0.9375rem;
  color: var(--navy);
}
.map-center-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--white); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.kontakt-form { width: 100%; }

.form-row { display: flex; flex-direction: column; gap: 1rem; }
.form-row.two-cols { flex-direction: row; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--accent); }

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,20,116,0.15);
}
input.error, textarea.error { border-color: #E53E3E; }

textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6474' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row.two-cols { margin-bottom: 0; }

.form-group, .form-row {
  margin-bottom: 1.125rem;
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  background: var(--white);
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(212,20,116,0.20);
}
.checkbox-text a { color: var(--accent); text-decoration: underline; }

#form-submit {
  margin-bottom: 1rem;
}
#form-submit svg { width: 18px; height: 18px; }

.form-message {
  font-size: 0.9rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-message.success {
  display: block;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}
.form-message.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.kontakt-info-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.kontakt-info-card h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.info-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.info-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 52px;
}
a.info-row:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.info-row-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-row-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.info-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}
.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.info-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-divider {
  height: 1px;
  background: var(--border);
  margin-block: 1.25rem;
}
.info-shop-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); }

.footer-top { padding-block: clamp(3rem, 5vw, 4.5rem); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-contact-strip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
}
.footer-contact-strip a, .footer-contact-strip span {
  color: rgba(255,255,255,0.6);
}
.footer-contact-strip a:hover { color: var(--white); text-decoration: underline; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--white); }

.footer-wowobot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.wowobot-link {
  color: #22b8e0;
  font-weight: 700;
  transition: opacity var(--transition);
}
.wowobot-link:hover { opacity: 0.8; text-decoration: underline; }

/* ============================================================
   RESPONSIVE – Tablet 768px+
   ============================================================ */
@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }

  .ueber-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .standort-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .kontakt-grid {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-wowobot {
    justify-content: flex-end;
  }

  .prozess-steps { flex-wrap: nowrap; }
}

/* ============================================================
   RESPONSIVE – Desktop 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }

  .leistungen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .referenzen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVE – Small Mobile max 480px
   ============================================================ */
@media (max-width: 480px) {
  .form-row.two-cols {
    flex-direction: column;
  }
  .hero-stat-sep { display: none; }
  .hero-stats {
    gap: 0.75rem;
  }
  .hero-stat {
    flex-basis: calc(50% - 0.5rem);
  }
  .trust-sep { display: none; }
  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .prozess-connector { display: none; }
  .prozess-steps { flex-direction: column; }
  .prozess-step { flex: none; width: 100%; }
}

/* ============================================================
   AKTUELLES
   ============================================================ */
.aktuelles { background: var(--off-white); }

/* Hinweis-Banner */
.aktuell-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 3rem;
}
.aktuell-banner-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aktuell-banner-icon svg { width: 20px; height: 20px; color: var(--white); }
.aktuell-banner > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.aktuell-banner strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}
.aktuell-banner span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* News Cards Grid */
.aktuell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.aktuell-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.aktuell-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.aktuell-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.aktuell-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.aktuell-card:hover .aktuell-card-img img {
  transform: scale(1.04);
}

.aktuell-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.aktuell-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.aktuell-card-body h3 {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.35;
}
.aktuell-card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

/* Pfingsten/Highlight-Karte */
.aktuell-card--highlight {
  border-color: rgba(212,20,116,0.25);
  background: linear-gradient(to bottom, #fff 0%, #fef6fb 100%);
}
.aktuell-card--highlight .aktuell-date {
  color: var(--accent);
}

/* Bottom Grid: Legierung + Stelle */
.aktuell-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Legierungszuschläge */
.legierung-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.legierung-header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legierung-header h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}
.legierung-header p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.legierung-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.legierung-grade {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

.legierung-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.legierung-table tr {
  border-bottom: 1px solid var(--border);
}
.legierung-table tr:last-child {
  border-bottom: none;
}
.legierung-table td {
  padding: 0.45rem 0.25rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.legierung-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
}

.legierung-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin: 0;
}

/* Stellenanzeige */
.stelle-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stelle-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(212,20,116,0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.stelle-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.3;
}
.stelle-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.stelle-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.stelle-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.stelle-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Nachhaltigkeits-Banner */
.nachhaltig-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.nachhaltig-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nachhaltig-icon svg { width: 22px; height: 22px; color: var(--accent); }
.nachhaltig-banner > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nachhaltig-banner strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}
.nachhaltig-banner span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Aktuelles Responsive */
@media (min-width: 768px) {
  .aktuell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aktuell-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .aktuell-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .legierung-tables {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   FOCUS-VISIBLE – Accessible keyboard navigation
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
