/* v8.6.6 - 2026-10-22 */
/* ═══════════════════════════════════════════════
   SONDERMASCHINENBAU HENNECKE – main.css v1.0
═══════════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:       #0C1E30;
  --navy-2:     #112842;
  --navy-3:     #163357;
  --steel:      #1A6FAF;
  --steel-lt:   #2A87CC;
  --sky:        #5AAAD9;
  --sky-pale:   #C5DFF2;
  --white:      #FFFFFF;
  --off-white:  #F5F8FB;
  --gray-1:     #E4EDF5;
  --gray-2:     #B8CCDD;
  --gray-3:     #7A9BB8;
  --gray-4:     #4A6A84;
  --text-dark:  #0C1E30;
  --text-mid:   #2E4A60;
  --text-muted: #6A8BA6;
  --border:     #D6E6F2;
  --border-dk:  rgba(255,255,255,0.12);
  --shadow:     0 2px 20px rgba(12,30,48,0.10);
  --shadow-lg:  0 8px 48px rgba(12,30,48,0.18);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--steel);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--sky); }
.eyebrow--light::before { background: var(--sky); }

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title--light { color: var(--white); }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 640px;
}
.lead--light { color: var(--sky-pale); }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}
.btn-primary:hover { background: var(--steel-lt); border-color: var(--steel-lt); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--steel);
  border-color: var(--steel);
}
.btn-outline:hover { background: var(--steel); color: var(--white); }

/* ══════════════════════════════════════════════
   WARTUNGSHINWEIS
══════════════════════════════════════════════ */
.maintenance-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: #b45309;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: 0.01em;
}
/* Schiebt Nav + Seitenanfang nach unten wenn Banner aktiv */
body:has(.maintenance-banner) #site-nav { top: 37px; }
body:has(.maintenance-banner) #hero,
body:has(.maintenance-banner) .page-hero { padding-top: calc(72px + 37px); }

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; }
/* WordPress custom logo wrapper */
.nav-logo .custom-logo-link img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--steel); }
.nav-cta {
  background: var(--steel) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  position: relative; /* ensure it doesn't overlap adjacent links */
  z-index: 1;
}
.nav-cta:hover { background: var(--steel-lt) !important; }

/* Phone number in nav */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--white) !important; }
.nav-phone svg { flex-shrink: 0; opacity: 0.8; }
.mobile-link--phone {
  color: var(--steel) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.2s;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 199;
  box-shadow: var(--shadow-lg);
}
.mobile-menu[hidden] { display: none; }
.mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-1);
  display: block;
  transition: color 0.15s;
}
.mobile-link:hover { color: var(--steel); }
.mobile-link--cta {
  margin-top: 16px;
  background: var(--steel);
  color: var(--white) !important;
  text-align: center;
  padding: 14px;
  border-bottom: none;
  font-weight: 600;
}
.mobile-link--cta:hover { background: var(--steel-lt); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  background: var(--navy);
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(26,111,175,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 0% 80%, rgba(12,30,48,0.8) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title span { color: var(--sky); }
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--sky-pale);
  margin-bottom: 44px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo-box {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 32px;
}
.hero-logo-img {
  max-width: 260px;
  width: 100%;
  background: rgba(255,255,255,0.92);
  padding: 10px 20px;
  display: block;
}
.hero-stats { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hero-stat {
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--steel);
}
.hero-stat-num {
  font-size: 36px; font-weight: 700;
  color: var(--white); line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-num sup { font-size: 20px; }
.hero-stat-label {
  font-size: 12px; color: var(--gray-2);
  margin-top: 4px; letter-spacing: 0.04em;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; opacity: 0.4;
}
.hero-scroll span {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ══════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════ */
#trust {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 16px;
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-text-title {
  font-size: 13px; font-weight: 600;
  color: var(--white); letter-spacing: 0.01em;
}
.trust-text-sub { font-size: 12px; color: var(--gray-3); margin-top: 2px; }

/* ══════════════════════════════════════════════
   PAIN POINTS
══════════════════════════════════════════════ */
#pain { background: var(--off-white); }
.pain-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.pain-list { display: flex; flex-direction: column; }
.pain-item {
  padding: 24px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start;
}
.pain-item:first-child { border-top: 1px solid var(--border); }
.pain-check {
  width: 24px; height: 24px;
  background: var(--steel); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.pain-check::after { content: '✓'; color: white; font-size: 13px; font-weight: 700; }
.pain-text { font-size: 15px; color: var(--text-mid); line-height: 1.6; }
.pain-text strong { color: var(--text-dark); font-weight: 600; }
.pain-conclusion {
  margin-top: 32px; padding: 24px;
  background: var(--navy); color: var(--sky-pale);
  font-size: 15px; line-height: 1.7;
  border-left: 4px solid var(--steel);
}
.pain-conclusion strong { color: var(--white); }

/* ══════════════════════════════════════════════
   LEISTUNGEN
══════════════════════════════════════════════ */
#leistungen { background: var(--white); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 56px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border);
}
.service-card {
  background: var(--white);
  padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.service-card:hover { background: var(--off-white); }
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: var(--steel);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px; color: var(--gray-1);
  font-weight: 600; line-height: 1;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.service-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  letter-spacing: .02em;
}
.service-more:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   BRANCHEN
══════════════════════════════════════════════ */
#branchen { background: var(--navy); padding: 80px 0; }
.branchen-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 52px;
}
.branchen-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--sky-pale);
  padding: 8px 16px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; transition: all 0.2s;
  cursor: default;
}
.tag:hover {
  background: rgba(26,111,175,0.25);
  border-color: var(--steel); color: var(--white);
}

/* ══════════════════════════════════════════════
   REFERENZEN
══════════════════════════════════════════════ */
#referenzen { background: var(--off-white); }
.ref-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end; margin-bottom: 52px;
}
.nda-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  padding: 12px 18px; font-size: 12px;
  color: var(--text-muted); letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.nda-note::before { content: '🔒'; font-size: 14px; }
.ref-note { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.ref-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ref-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 36px; transition: box-shadow 0.25s, border-color 0.25s;
}
.ref-card:hover { box-shadow: var(--shadow-lg); border-color: var(--sky-pale); }
.ref-branch {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.ref-branch::before {
  content: ''; width: 16px; height: 2px;
  background: var(--steel); flex-shrink: 0;
}
.ref-title {
  font-size: 18px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 20px;
  line-height: 1.25; letter-spacing: -0.01em;
}
.ref-section-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px; margin-top: 16px;
}
.ref-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.ref-footer {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--gray-1);
  display: flex; justify-content: space-between; align-items: center;
}
.ref-type { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.ref-nda { font-size: 11px; color: var(--gray-2); display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════════════
   ÜBER UNS
══════════════════════════════════════════════ */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-placeholder {
  background: var(--navy);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.25);
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative; overflow: hidden;
}
.about-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(26,111,175,0.85);
  padding: 12px 20px; font-size: 11px;
  color: var(--sky-pale); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-accent {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic; font-size: 19px;
  color: var(--text-mid); line-height: 1.6;
  margin-bottom: 28px; padding-left: 20px;
  border-left: 3px solid var(--steel);
}
.about-points { display: flex; flex-direction: column; margin-top: 28px; }
.about-point {
  padding: 18px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
}
.about-point:first-child { border-top: 1px solid var(--border); }
.apoint-bullet { color: var(--steel); font-weight: 700; font-size: 18px; flex-shrink: 0; margin-top: -1px; }
.apoint-text { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.apoint-text strong { color: var(--text-dark); font-weight: 600; }

/* ══════════════════════════════════════════════
   VORGEHEN
══════════════════════════════════════════════ */
#process { background: var(--navy-3); }
.process-header { margin-bottom: 52px; }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.step:last-child { border-right: none; }
.step:hover { background: rgba(255,255,255,0.05); }
.step-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px; font-weight: 600;
  color: rgba(255,255,255,0.12); line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-size: 13px; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
  text-transform: uppercase; margin-bottom: 10px;
}
.step-text { font-size: 13px; color: var(--gray-2); line-height: 1.65; }

/* ══════════════════════════════════════════════
   KONTAKT
══════════════════════════════════════════════ */
#kontakt { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-info-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.ci-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 6px;
}
.ci-value { font-size: 16px; color: var(--text-dark); font-weight: 500; }
.ci-value a { color: var(--steel); }
.ci-value a:hover { text-decoration: underline; }
.ci-note { font-size: 13px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.f-label span { color: var(--steel); }
.f-input, .f-textarea, .f-select {
  background: var(--white); border: 1px solid var(--border);
  color: var(--text-dark); padding: 13px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px; outline: none; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-radius: 0; -webkit-appearance: none;
}
.f-input:focus, .f-textarea:focus, .f-select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(26,111,175,0.10);
}
.f-textarea { resize: vertical; min-height: 120px; }
.f-select option { background: var(--white); }
.f-privacy { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.f-privacy a { color: var(--steel); text-decoration: underline; }
.f-submit {
  background: var(--navy); color: var(--white);
  padding: 16px 36px; font-weight: 600;
  font-size: 14px; letter-spacing: 0.06em;
  border: none; cursor: pointer; align-self: flex-start;
  transition: background 0.2s; text-transform: uppercase;
}
.f-submit:hover { background: var(--steel); }
.f-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Form status messages */
.form-status {
  padding: 12px 16px; font-size: 14px;
  display: none; border-left: 3px solid;
}
.form-status.success {
  display: block; background: #e8f5e9;
  border-color: #2e7d32; color: #1b5e20;
}
.form-status.error {
  display: block; background: #ffebee;
  border-color: #c62828; color: #b71c1c;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
#site-footer {
  background: var(--navy);
  padding: 56px 0 32px;
  border-top: 3px solid var(--steel);
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px; margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 48px;
  width: auto;
  display: block;
}
.footer-tagline { font-size: 14px; color: var(--gray-3); line-height: 1.6; }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-3); margin-bottom: 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a, .footer-col-links span {
  font-size: 14px; color: var(--gray-2); transition: color 0.15s;
}
.footer-col-links a:hover { color: var(--white); }
.footer-address { font-size: 14px; color: var(--gray-2); line-height: 1.6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--gray-3); }
.footer-legal { display: flex; gap: 24px; }
/* WordPress nav menu reset in footer */
.footer-legal ul { list-style: none; display: flex; gap: 24px; }
.footer-legal li a, .footer-legal a {
  font-size: 13px; color: var(--gray-3); transition: color 0.15s;
}
.footer-legal li a:hover, .footer-legal a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   WORDPRESS ALIGNMENT HELPERS
══════════════════════════════════════════════ */
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* Entry content typography */
.entry-content h1, .entry-content h2, .entry-content h3 { margin: 32px 0 16px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 24px; }
.entry-content li { margin-bottom: 8px; line-height: 1.6; }
.entry-content a { color: var(--steel); text-decoration: underline; }
.entry-content a:hover { color: var(--steel-lt); }
.entry-content blockquote {
  border-left: 3px solid var(--steel);
  padding-left: 20px; margin: 24px 0;
  font-style: italic; color: var(--text-mid);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-logo-box { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 160px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; }
  .branchen-header { grid-template-columns: 1fr; }
  .ref-header { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 72px 0; }
  .hero-content { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; padding: 0 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-stat-num { font-size: 28px; }
}

/* ── ABOUT: Real image (uploaded via Customizer) ── */
.about-img-real {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.about-img-real:hover img {
  transform: scale(1.02);
}
.about-img-real .about-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,111,175,0.85);
  padding: 12px 20px;
  font-size: 11px;
  color: var(--sky-pale);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   KOMPONENTEN-SHOP
═══════════════════════════════════════════ */

/* ── Shop Hero ── */
.shop-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.shop-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.shop-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.shop-hero-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--sky-pale);
  margin-top: 20px;
}
.display {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.display--light { color: var(--white); }

/* ── Products Section ── */
.shop-products { padding: 80px 0 96px; background: var(--off-white); }
.shop-products .container { max-width: 1440px; padding-left: 24px; padding-right: 24px; }

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

/* ── Product Card ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-pale);
  transform: translateY(-3px);
}

/* Image */
.product-img {
  position: relative;
  background: var(--navy);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }

.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.2);
  font-family: 'SFMono-Regular', 'Consolas', 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Badge */
.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--steel);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* Coming Soon Ribbon */
.product-coming-soon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 4;
}
.product-coming-soon::before {
  content: 'In K\00FCrze verf\00FCgbar!';
  display: block;
  position: absolute;
  top: 34px;
  left: -52px;
  width: 210px;
  padding: 9px 0;
  background: #C8000A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  line-height: 1;
}

/* Body */
.product-body {
  padding: 28px 28px 20px;
  flex: 1;
}
.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.product-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Configurations */
.product-configs {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 14px 16px;
}
.product-configs-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.product-configs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-configs-list li {
  font-size: 12px;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.product-configs-list li::before {
  content: '–';
  position: absolute; left: 0;
  color: var(--steel);
  font-weight: 600;
}

/* Footer */
.product-footer {
  padding: 16px 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--gray-1);
}
.product-price-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-style: italic;
}
.product-btn {
  padding: 10px 20px;
  font-size: 13px;
  white-space: nowrap;
}

/* Bottom note */
.shop-bottom-note {
  background: var(--navy);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.shop-note-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.shop-bottom-note strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.shop-bottom-note p {
  font-size: 14px;
  color: var(--sky-pale);
  line-height: 1.6;
  flex: 1;
}
.shop-bottom-note .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.shop-bottom-note .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-footer { flex-direction: column; align-items: flex-start; }
  .shop-bottom-note { flex-direction: column; text-align: center; align-items: center; }
}

/* ── Active nav link (current page) ── */
.nav-links .nav-active {
  color: var(--steel) !important;
  font-weight: 600;
}
.mobile-link--active {
  color: var(--steel) !important;
  font-weight: 600;
}

/* Shop hero back button */
.shop-hero-back { margin-top: 32px; }

/* ═══════════════════════════════════════════
   KOMPONENTEN: KONFIGURATIONS-DROPDOWN
═══════════════════════════════════════════ */
.product-configs { margin-top: 20px; }
.product-configs-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
/* ── Multi-select Konfigurations-Dropdown ── */
.cfg-ms {
  position: relative;
}
.cfg-ms-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 10px 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0;
  text-align: left;
  transition: border-color 0.15s;
  gap: 8px;
}
.cfg-ms-btn:hover { border-color: var(--gray-3); }
.cfg-ms-btn[aria-expanded="true"] { border-color: var(--steel); }
.cfg-ms-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-dark);
}
.cfg-ms-label.placeholder { color: var(--gray-3); }
.cfg-ms-arrow {
  flex-shrink: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s;
}
.cfg-ms-btn[aria-expanded="true"] .cfg-ms-arrow {
  transform: rotate(180deg);
}
.cfg-ms-list {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: var(--off-white);
  border: 1px solid var(--steel);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 200;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.cfg-ms-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.1s;
  user-select: none;
  line-height: 1.4;
}
.cfg-ms-item:hover { background: rgba(90,170,217,0.10); }
.cfg-ms-item[aria-selected="true"] { background: rgba(90,170,217,0.15); }
.cfg-ms-check {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--border);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 0.15s, border-color 0.15s;
}
.cfg-ms-item[aria-selected="true"] .cfg-ms-check {
  background: var(--steel);
  border-color: var(--steel);
}
.cfg-ms-item[aria-selected="true"] .cfg-ms-check::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* ═══════════════════════════════════════════
   KOMPONENTEN: MODAL
═══════════════════════════════════════════ */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12,30,48,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.shop-modal-overlay[hidden] { display: none; }

.shop-modal-box {
  background: var(--white);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.shop-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-1);
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}
.shop-modal-close:hover { background: var(--navy); color: white; }

.shop-modal-header {
  background: var(--navy);
  padding: 32px 40px 28px;
  border-bottom: 3px solid var(--steel);
}
.shop-modal-header .eyebrow { color: var(--sky); }
.shop-modal-header .eyebrow::before { background: var(--sky); }
.shop-modal-product-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0;
}
.shop-modal-config-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: rgba(26,111,175,0.25);
  border: 1px solid rgba(90,170,217,0.4);
  padding: 5px 14px;
  font-size: 13px;
  color: var(--sky-pale);
  font-weight: 500;
}
.shop-modal-config-badge::before {
  content: '⚙';
  font-size: 12px;
}

.shop-modal-box form {
  padding: 32px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Prevent body scroll when modal open */
body.modal-open { overflow: hidden; }

/* Responsive modal */
@media (max-width: 600px) {
  .shop-modal-box { max-height: 100vh; }
  .shop-modal-header { padding: 24px 20px 20px; }
  .shop-modal-box form { padding: 24px 20px 28px; }
  .shop-modal-actions { flex-direction: column; }
  .shop-modal-actions .btn-ghost { width: 100%; text-align: center; }
}

/* Price note update */
.product-price-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   DOWNLOADS PAGE
═══════════════════════════════════════════ */

/* Hero */
.dl-hero {}

/* Section */
.dl-section { background: var(--off-white); padding: 72px 0 96px; }

/* Empty state */
.dl-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border: 1px solid var(--border);
}
.dl-empty-icon { font-size: 56px; margin-bottom: 24px; }
.dl-empty h2 { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.dl-empty p  { font-size: 15px; color: var(--text-muted); }

/* Category Filter Tabs */
.dl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.dl-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.01em;
  border-radius: 0;
}
.dl-tab:hover { border-color: var(--steel); color: var(--steel); }
.dl-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.dl-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  color: inherit;
}
.dl-tab:not(.active) .dl-tab-count {
  background: var(--gray-1);
  color: var(--text-muted);
}

/* Download Grid */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* Download Card */
.dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.dl-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-pale);
  transform: translateY(-2px);
}
.dl-card.dl-hidden { display: none; }

/* Icon – linke Spalte, feste Breite */
.dl-card-icon {
  width: 64px;
  flex-shrink: 0;
  background: rgba(var(--ft-color, 74,106,132), 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  border-right: 1px solid var(--border);
}
.dl-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--ft-color, var(--steel));
}
.dl-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* Rechte Seite: Text + Button untereinander */
.dl-card-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dl-card-body {
  flex: 1;
  padding: 14px 16px 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dl-card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  word-break: break-word;
}
.dl-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.dl-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.dl-card-size {
  display: inline-block;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--gray-1);
  padding: 2px 6px;
  border-radius: 2px;
  align-self: flex-start;
}

/* Button – unterhalb des Textes, volle Breite */
.dl-card-action {
  padding: 8px 16px 14px;
  flex-shrink: 0;
  border-top: 1px solid var(--gray-1);
}
.dl-btn {
  width: 100%;
  justify-content: center;
  padding: 9px 14px;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.dl-btn-unavailable {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  display: block;
  padding: 4px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dl-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   KOMPONENTEN: KONFIGURATIONS-BILDWECHSEL
═══════════════════════════════════════════ */
.product-img { position: relative; }

/* Hidden cfg images – all in same container, switched by JS */
.product-cfg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-cfg-img.active {
  opacity: 1;
}
/* When a cfg img is active, fade out main image */
.product-img.cfg-active .product-img-main {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-img-main {
  transition: opacity 0.35s ease;
}

/* Navigation dots */
.product-img-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.product-img-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.2s;
  cursor: default;
}
.product-img-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ── STEP Download Button ── */
.product-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.product-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.product-btn {
  width: 100%;
  justify-content: center;
}
.product-step-btn {
  width: 100%;
  justify-content: center;
  padding: 9px 14px;
  font-size: 12px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  border-color: var(--border);
  cursor: pointer !important;
  pointer-events: auto !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-step-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.product-step-btn svg { flex-shrink: 0; }
@media (max-width: 480px) {
  .product-footer-actions { align-items: stretch; }
  .product-step-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════
   HERO: MASCHINENBILD RECHTS
═══════════════════════════════════════════ */
.hero-machine-img {
  width: 100%;
  max-width: 440px;
  position: relative;
}
.hero-machine-photo {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz)
═══════════════════════════════════════════ */
.legal-hero {
  background: var(--navy-2);
  padding: 120px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-hero .eyebrow { color: var(--sky); }
.legal-hero .eyebrow::before { background: var(--sky); }
.legal-hero h1 {
  font-size: clamp(28px,4vw,48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}
.legal-content h2 {
  font-size: 22px; font-weight: 700;
  color: var(--text-dark); margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-size: 17px; font-weight: 600;
  color: var(--text-dark); margin: 28px 0 8px;
}
.legal-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 20px 24px; }
.legal-content li { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--steel); text-decoration: underline; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--sky-pale); text-decoration: none;
  margin-top: 20px; transition: color 0.15s;
}
.legal-back:hover { color: var(--white); }

/* Hero: Maschinenbild + Stats kombiniert */
.hero-logo-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}
.hero-machine-img {
  width: 100%;
}
.hero-machine-photo {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Footer logo container – white box on dark background */
/* Logo native: 970x341px, ratio 2.845:1 */
.footer-logo-wrap {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  padding: 10px 14px;
  margin-bottom: 20px;
}
.footer-logo-wrap img {
  width: 196px;
  height: 69px; /* 196 / 2.845 = 68.9 */
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

/* ═══════════════════════════════════════════
   KOMPONENTEN-TEASER (Startseite)
═══════════════════════════════════════════ */
.komp-teaser {
  position: relative;
  background: var(--navy-3);
  overflow: hidden;
}
/* Decorative grid */
.komp-teaser::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.komp-teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12,30,48,0.92) 0%,
    rgba(22,51,87,0.80) 60%,
    rgba(26,111,175,0.25) 100%
  );
  pointer-events: none;
}
.komp-teaser-inner {
  position: relative; z-index: 1;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 32px 64px;
  align-items: center;
}
.komp-teaser-content { grid-column: 1; grid-row: 1; }
.komp-teaser-content .section-title { margin-bottom: 16px; }
.komp-teaser-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--sky-pale);
  max-width: 560px;
}

/* Product name tags */
.komp-teaser-products {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.komp-teaser-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--sky-pale);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.komp-teaser-tag::before {
  content: '⚙';
  font-size: 11px;
  opacity: 0.7;
}
.komp-teaser-tag:hover {
  background: rgba(26,111,175,0.3);
  border-color: var(--steel);
  color: var(--white);
}

/* CTA button column */
.komp-teaser-cta {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.komp-teaser-cta .btn-primary {
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(26,111,175,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.komp-teaser-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,111,175,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .komp-teaser-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .komp-teaser-cta {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .komp-teaser-inner { padding: 56px 20px; }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testi-section { background: var(--white); padding: 80px 0 96px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.testi-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 32px 28px 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-quote-mark {
  font-size: 72px; line-height: 0.8;
  color: var(--steel); opacity: 0.15;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  display: block;
}
.testi-text {
  font-size: 15px; line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  margin: 0 0 24px;
  border: none; padding: 0;
}
.testi-footer { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.testi-branch {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel); margin-top: 3px;
}

/* ═══════════════════════════════════════════
   WIZARD – PROJEKTANFRAGE
═══════════════════════════════════════════ */
.wizard-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 36px;
}
.wizard-step {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0.4; transition: opacity 0.3s;
}
.wizard-step.active, .wizard-step.done { opacity: 1; }
.wizard-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-1); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--text-mid);
  transition: all 0.3s;
}
.wizard-step.active .wizard-step-num {
  background: var(--steel); border-color: var(--steel); color: white;
}
.wizard-step.done .wizard-step-num {
  background: var(--navy); border-color: var(--navy); color: white;
}
.wizard-step-label { font-size: 11px; color: var(--text-muted); text-align: center; white-space: nowrap; }
.wizard-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px 20px; }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-panel-title { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 20px; }

.branch-grid, .type-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px;
}
.branch-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 12px; background: var(--white);
  border: 1px solid var(--border); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--text-dark);
  transition: all 0.15s; text-align: center;
}
.branch-btn:hover { border-color: var(--steel); color: var(--steel); background: var(--off-white); }
.branch-btn.selected { border-color: var(--navy); background: var(--navy); color: white; }
.branch-icon { font-size: 24px; }
.wizard-hint { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.wizard-skip { background: none; border: none; color: var(--steel); cursor: pointer; font-size: 13px; font-weight: 500; padding: 0; }
.wizard-nav { display: flex; gap: 12px; margin-top: 20px; }

@media (max-width: 640px) {
  .branch-grid, .type-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-step-label { display: none; }
}

/* ═══════════════════════════════════════════
   FLOATING CTA
═══════════════════════════════════════════ */
.float-cta {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 500;
  display: flex; align-items: center; gap: 0;
  filter: drop-shadow(-4px 8px 24px rgba(12,30,48,0.35));
  transition: opacity 0.3s ease;
}
.float-cta--hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

.float-cta--scrolled { opacity: 1; }

.float-cta-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--steel);
  color: white; text-decoration: none;
  padding: 14px 18px 14px 16px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  transition: background 0.15s, transform 0.15s;
  border: none; cursor: pointer;
  border-radius: 6px 0 0 6px;
  box-shadow: -4px 0 20px rgba(12,30,48,0.25);
}
.float-cta-btn:hover { background: var(--navy); transform: translateX(-3px); color: white; }
.float-cta-btn svg { flex-shrink: 0; }
.float-cta-text { display: flex; flex-direction: column; gap: 2px; }
.float-cta-main { font-size: 14px; font-weight: 600; line-height: 1; }
.float-cta-sub { font-size: 11px; opacity: 0.8; font-weight: 400; line-height: 1; }

.float-cta-close {
  background: var(--navy); border: none;
  color: rgba(255,255,255,0.6); cursor: pointer;
  width: 24px; min-height: 52px;
  font-size: 11px; font-family: inherit;
  transition: color 0.15s;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0;
}
.float-cta-close:hover { color: white; }

@media (max-width: 480px) {
  .float-cta {
    top: auto; bottom: 16px;
    right: 16px; left: 16px;
    transform: none;
    border-radius: 0;
  }
  .float-cta-btn { flex: 1; border-radius: 0; }
  .float-cta--hidden { transform: translateY(20px) !important; }
}

/* ── Produkt: Lieferumfang ── */
.product-lieferumfang {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.product-lieferumfang-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 8px 0 0;
}
.product-lieferumfang-list li {
  font-size: 12px;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.product-lieferumfang-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--steel);
  font-weight: 700;
  font-size: 11px;
}

/* ═══════════════════════════════════════════
   EMAIL GATE MODAL (CAD Downloads)
═══════════════════════════════════════════ */
.dl-gate-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(12,30,48,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: gateIn 0.2s ease;
}
@keyframes gateIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.dl-gate-overlay[hidden] { display: none; }

.dl-gate-box {
  background: var(--white);
  max-width: 440px; width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  animation: gateSlide 0.25s ease;
  box-shadow: 0 24px 64px rgba(12,30,48,0.35);
}
@keyframes gateSlide {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.dl-gate-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none;
  font-size: 16px; cursor: pointer;
  color: var(--text-muted); line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.dl-gate-close:hover { color: var(--text-dark); }

.dl-gate-icon {
  width: 56px; height: 56px;
  background: var(--steel);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.dl-gate-title {
  font-size: 20px; font-weight: 700;
  color: var(--navy); margin: 0 0 4px;
}
.dl-gate-subtitle {
  font-size: 13px; color: var(--steel);
  font-weight: 500; margin: 0 0 16px;
  word-break: break-all;
}
.dl-gate-info {
  font-size: 14px; color: var(--text-mid);
  line-height: 1.6; margin-bottom: 20px;
}
.dl-gate-field { margin-bottom: 12px; }
.dl-gate-error {
  font-size: 13px; color: #c0392b;
  margin-top: 6px; padding: 6px 10px;
  background: #fdf0ef; border-left: 3px solid #c0392b;
}
.dl-gate-privacy {
  font-size: 11px; color: var(--text-muted);
  line-height: 1.5; margin: 12px 0 20px;
}
.dl-gate-submit { width: 100%; }

/* ── Email Gate: Nutzungsbedingungen ── */
.dl-gate-terms {
  margin: 16px 0 12px;
  padding: 14px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
}
.dl-gate-terms-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}
.dl-gate-terms-label input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--steel);
  cursor: pointer;
}

/* ── Disclaimer Modal ── */
.dl-disclaimer-box {
  max-width: 520px;
}
.dl-disclaimer-icon {
  background: var(--navy);
}
.dl-disclaimer-scroll {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 16px 18px;
  margin-bottom: 16px;
  outline: none;
  scroll-behavior: smooth;
}
.dl-disclaimer-scroll:focus {
  box-shadow: 0 0 0 2px var(--steel);
}
.dl-disclaimer-list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}
.dl-disclaimer-list li {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.dl-disclaimer-list li:last-child { margin-bottom: 0; }
.dl-disclaimer-list li strong {
  color: var(--text-dark);
  font-weight: 600;
}
.dl-disclaimer-terms {
  margin-top: 0;
}
.dl-disclaimer-btn {
  width: 100%;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   FAQ – ACCORDION
═══════════════════════════════════════════ */
.faq-section {
  background: var(--white);
  padding: 80px 0 96px;
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.faq-header { position: sticky; top: 96px; }
.faq-intro {
  font-size: 16px; color: var(--text-mid);
  line-height: 1.65; margin-top: 16px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--steel); }
.faq-question[aria-expanded="true"] { color: var(--steel); }

.faq-icon {
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.25s ease;
  display: flex;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.faq-open {
  max-height: 600px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  padding-bottom: 22px;
  margin: 0;
}

@media (max-width: 900px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-header { position: static; }
}

/* ── FAQ Seite ── */
.faq-page-section { background: var(--off-white); padding: 64px 0 96px; }
.faq-page-inner { max-width: 800px; }
.faq-list--page { margin-bottom: 48px; }
.faq-cta {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
}
.faq-cta p { color: var(--text-mid); margin-bottom: 16px; font-size: 16px; }
/* ── Generischer Page-Hero (FAQ, zukünftige Unterseiten) ── */
.page-hero {
  background: var(--navy-3);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}
.page-hero-intro {
  font-size: 17px;
  color: var(--sky-pale);
  line-height: 1.65;
  margin: 0;
}
.page-hero .btn-outline-white { align-self: flex-start; margin-top: 8px; }

/* ── FAQ Seite ── */
.faq-page-section { background: var(--off-white); padding: 64px 0 96px; }
.faq-page-inner { max-width: 800px; }
.faq-list--page { margin-bottom: 48px; }
.faq-cta {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid var(--border);
}
.faq-cta p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
/* ──────────────────────────────────────────────────────────────
   AGB MODAL
────────────────────────────────────────────────────────────── */
.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.footer-legal-btn:hover { text-decoration-color: currentColor; }

.agb-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.agb-overlay[hidden] { display: none !important; }

.agb-box {
  background: var(--white, #fff);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.agb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  flex-shrink: 0;
}
.agb-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--navy, #0d1f3c);
  line-height: 1.3;
}
.agb-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted, #6b7280);
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.agb-close:hover { background: var(--off-white, #f5f5f5); color: var(--navy, #0d1f3c); }

.agb-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text, #374151);
  -webkit-overflow-scrolling: touch;
}
.agb-content p { margin: 0 0 12px; }
.agb-content h3 { font-size: 15px; font-weight: 700; margin: 20px 0 6px; color: var(--navy, #0d1f3c); }
.agb-content ol, .agb-content ul { padding-left: 20px; margin: 0 0 12px; }
.agb-content li { margin-bottom: 6px; }

.agb-actions {
  display: flex;
  gap: 12px;
  padding: 18px 28px 22px;
  border-top: 1px solid var(--border, #e5e7eb);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.agb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: 2px solid transparent;
}
.agb-btn--print {
  background: var(--off-white, #f5f5f5);
  color: var(--navy, #0d1f3c);
  border-color: var(--border, #e5e7eb);
}
.agb-btn--print:hover { background: #e8eaed; }
.agb-btn--download {
  background: var(--red, #C8000A);
  color: #fff;
}
.agb-btn--download:hover { background: #a30008; }

@media (max-width: 480px) {
  .agb-header { padding: 18px 18px 16px; }
  .agb-content { padding: 18px 18px; }
  .agb-actions { padding: 14px 18px 18px; }
}

/* ──────────────────────────────────────────────────────────────
   FEEDBACK WIDGET
────────────────────────────────────────────────────────────── */
.feedback-tab {
  position: fixed;
  right: 0;
  top: 28%;
  transform: translateY(-50%);
  background: var(--red, #C8000A);
  color: #fff;
  border: none;
  padding: 0;
  width: 34px;
  cursor: pointer;
  border-radius: 6px 0 0 6px;
  box-shadow: -2px 2px 10px rgba(0,0,0,0.25);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.2s ease, box-shadow 0.2s ease;
}
.feedback-tab:hover,
.feedback-tab:focus-visible {
  width: 40px;
  box-shadow: -3px 2px 14px rgba(0,0,0,0.32);
  outline: none;
}
.feedback-tab span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 0;
  user-select: none;
}

/* ── Overlay ── */
.feedback-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.feedback-overlay[hidden] { display: none !important; }

/* ── Box ── */
.feedback-box {
  background: var(--white, #fff);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  flex-shrink: 0;
}
.feedback-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--navy, #0d1f3c);
  line-height: 1.3;
}
.feedback-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted, #6b7280);
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.feedback-close:hover { background: var(--off-white, #f5f5f5); color: var(--navy, #0d1f3c); }

.feedback-intro {
  font-size: 14px;
  color: var(--text-muted, #6b7280);
  margin: 0;
  padding: 16px 26px 0;
  flex-shrink: 0;
}

/* ── Form area ── */
#feedback-form {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feedback-field { display: flex; flex-direction: column; gap: 5px; }

.feedback-error {
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #b91c1c;
}
.feedback-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #166534;
  text-align: center;
}
.feedback-submit { margin-top: 4px; }

.f-optional { font-weight: 400; color: var(--text-muted, #6b7280); font-size: 12px; }

@media (max-width: 480px) {
  .feedback-header { padding: 18px 18px 14px; }
  .feedback-intro  { padding: 14px 18px 0; }
  #feedback-form   { padding: 14px 18px 20px; }
}

/* ─────────────────────────────────────────
   PARTNER
───────────────────────────────────────── */
#partner {
  padding-block: 80px;
  background: var(--bg, #fff);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.partner-card {
  display: flex;
  flex-direction: column;
}

.partner-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px 28px;
  background: var(--off-white, #f8f9fa);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.partner-card-inner:hover,
a.partner-card-inner:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  border-color: var(--accent, #e63312);
}

.partner-logo-wrap {
  width: 100%;
  max-width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy, #0d1f3c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.partner-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #111827);
  margin: 0;
  line-height: 1.3;
}

.partner-fach {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
  margin: 0;
  line-height: 1.4;
}

.partner-visit {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent, #e63312);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
  .partner-grid { grid-template-columns: 1fr; gap: 16px; }
  #partner { padding-block: 56px; }
}

/* ═══════════════════════════════════════════════
   SERVICE PAGES — Montage & CAD-Konstruktion
   ═══════════════════════════════════════════════ */

/* Leistungen-Section */
.svc-section {
  padding-block: 80px;
  background: var(--surface, #f9fafb);
}

.svc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text, #111827);
  margin: 8px 0 40px;
  text-wrap: balance;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.svc-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #111827);
  margin: 0;
}

.svc-card p {
  font-size: 0.95rem;
  color: var(--text-muted, #6b7280);
  line-height: 1.65;
  margin: 0;
}

.svc-card-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Für-wen-Section */
.svc-audience {
  padding-block: 80px;
  background: var(--bg, #fff);
}

.svc-audience-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.svc-audience-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text, #111827);
  margin: 8px 0 16px;
  text-wrap: balance;
}

.svc-audience-inner p {
  color: var(--text-muted, #6b7280);
  line-height: 1.7;
  margin: 0;
}

.svc-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text, #111827);
  line-height: 1.5;
}

.svc-check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background-color: var(--accent, #e63312);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA-Section */
.svc-cta {
  padding-block: 72px;
  background: var(--navy, #0d1f3c);
  text-align: center;
}

.svc-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: balance;
}

.svc-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-audience-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .svc-section { padding-block: 56px; }
  .svc-audience { padding-block: 56px; }
  .svc-cta { padding-block: 56px; }
  .svc-card { padding: 24px 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   v8.7.5  PROZESSOPTIMIERUNG PAGE
   ═══════════════════════════════════════════════════════════════ */

/* Alternate section background */
.svc-section--alt {
  background: var(--bg, #fff);
}

.svc-section-lead {
  font-size: 1rem;
  color: var(--text-muted, #6b7280);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 40px;
}

/* Branchen-Grid */
.prozess-branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prozess-branche {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #111827);
}

.prozess-branche-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Check-CTA */
.prozess-check-cta {
  background: var(--navy, #0d1f3c);
  padding-block: 80px;
}

.prozess-check-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.prozess-check-text .eyebrow--light {
  margin-bottom: 10px;
}

.prozess-check-text h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  text-wrap: balance;
}

.prozess-check-text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

.prozess-check-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 220px;
}

.btn--large {
  padding: 16px 28px;
  font-size: 1rem;
}

@media (max-width: 960px) {
  .prozess-check-inner { grid-template-columns: 1fr; gap: 32px; }
  .prozess-check-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

@media (max-width: 700px) {
  .prozess-branchen-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .prozess-branchen-grid { grid-template-columns: 1fr; }
  .prozess-check-actions { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════
   v8.7.0  SONDERMASCHINEN-CHECK PAGE & TEASER
═══════════════════════════════════════════════════════════════ */

/* ── Check page wrapper ── */
.check-section {
  padding-block: 56px 72px;
  background: var(--bg-light, #f4f6f9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .check-section {
    background: var(--bg-dark, #0c111b);
  }
}
:root[data-theme="dark"] .check-section {
  background: var(--bg-dark, #0c111b);
}

.check-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ── Teaser card (front-page #pain + FAQ) ── */
.check-teaser {
  margin-top: 36px;
}

.check-teaser-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface, #fff);
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(13,31,60,0.08);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.check-teaser-link:hover {
  border-color: var(--accent, #e63312);
  box-shadow: 0 4px 20px rgba(230,51,18,0.12);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .check-teaser-link {
    background: var(--surface-dark, #131c2d);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
}
:root[data-theme="dark"] .check-teaser-link {
  background: var(--surface-dark, #131c2d);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.check-teaser-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(230,51,18,0.08);
  color: var(--accent, #e63312);
}

.check-teaser-body {
  flex: 1;
  min-width: 0;
}

.check-teaser-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #1a2436);
  margin-bottom: 3px;
}

.check-teaser-body span {
  font-size: 0.84rem;
  color: var(--text-muted, #64748b);
  line-height: 1.4;
}

.check-teaser-cta {
  flex-shrink: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent, #e63312);
  white-space: nowrap;
}

/* FAQ variant: full-width inside the faq-page-inner container */
.check-teaser--faq {
  margin-bottom: 32px;
}

@media (max-width: 600px) {
  .check-teaser-link {
    flex-wrap: wrap;
    gap: 12px;
  }
  .check-teaser-cta {
    width: 100%;
    text-align: right;
  }
}
