/* ============================================================
   SLM Industrie Service GmbH — Hauptstylesheet
   Design: Industrial Precision · B2B Professional
   Farben: Unternehmens-Farbschema (Navy, Dark Teal, Steel Blue)
   ============================================================ */

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  --navy:        #3d4a7a;
  --slate:       #9a9690;
  --dark-teal:   #122b35;
  --charcoal:    #2e2d33;
  --steel-blue:  #6b9fc5;
  --steel-light: #8fb6d4;
  --white:       #ffffff;
  --off-white:   #f4f5f7;
  --light-grey:  #e8e9ec;
  --text-dark:   #1a1c24;
  --text-body:   #3d3f4a;
  --text-muted:  #7a7d8a;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(18,43,53,0.08);
  --shadow-md: 0 8px 32px rgba(18,43,53,0.14);
  --shadow-lg: 0 24px 64px rgba(18,43,53,0.22);

  --transition:      0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.18s ease;

  --container:    1200px;
  --section-pad:  96px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Typografie ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem,   3.8vw, 3rem);   }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem);}
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section          { padding: var(--section-pad) 0; }
.section--dark    { background: var(--dark-teal); color: var(--white); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--charcoal h2,
.section--charcoal h3 { color: var(--white); }
.section--grey    { background: var(--off-white); }
.text-center      { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 10px;
}
.section-label--light { color: var(--steel-light); }
.section-title  { margin-bottom: 14px; }
.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.65;
}
.section-subtitle--white { color: rgba(255,255,255,0.68); }

/* ── Scroll-Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.1s; }
.reveal-delay-2          { transition-delay: 0.2s; }
.reveal-delay-3          { transition-delay: 0.3s; }
.reveal-delay-4          { transition-delay: 0.4s; }
.reveal-delay-5          { transition-delay: 0.5s; }
.reveal-delay-6          { transition-delay: 0.6s; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--steel-blue);
  color: var(--white);
  border-color: var(--steel-blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  outline: none;
}
.btn-dark {
  background: var(--dark-teal);
  color: var(--white);
  border-color: var(--dark-teal);
}
.btn-dark:hover, .btn-dark:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  outline: none;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(18,43,53,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo img {
  height: 96px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav__logo-text {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav__logo-sub {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  outline: none;
}
.nav__links .nav-cta {
  background: var(--steel-blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  margin-left: 6px;
}
.nav__links .nav-cta:hover {
  background: var(--navy);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--dark-teal);
  padding: 16px 24px 24px;
  z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition-fast);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--steel-light); padding-left: 6px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-teal);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Hero_Section.png');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.28) saturate(0.55);
  transform: scale(1.05);
  transition: transform 10s ease;
}
.hero.loaded .hero__bg { transform: scale(1); }

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(107,159,197,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,159,197,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 1;
}
/* Directional gradient */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    125deg,
    rgba(18,43,53,0.96) 0%,
    rgba(18,43,53,0.72) 55%,
    rgba(18,43,53,0.35) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 130px 24px 90px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero__eyebrow-line {
  width: 36px; height: 2px;
  background: var(--steel-blue);
  flex-shrink: 0;
}
.hero__eyebrow-text {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.hero__title {
  color: var(--white);
  max-width: 780px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s ease 0.5s forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--steel-blue);
}
.hero__subtitle {
  font-size: 1.18rem;
  color: var(--steel-light);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s ease 0.7s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s ease 0.9s forwards;
}
.hero__stats {
  display: flex;
  gap: 52px;
  margin-top: 68px;
  padding-top: 36px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease 1.1s forwards;
}
.hero__stat-value {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-value em {
  font-style: normal;
  color: var(--steel-blue);
}
.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.4s forwards;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: pulse 2.4s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

/* ── Über uns ────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__image-wrap { position: relative; }
.about__image-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about__image-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute;
  top: -20px; left: -20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about__badge-year {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--steel-light);
  line-height: 1;
  display: block;
}
.about__badge-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 4px;
}
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.about__feature {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.about__feature-icon {
  width: 38px; height: 38px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.about__feature-icon svg { width: 18px; height: 18px; }
.about__feature-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.about__feature-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Leistungen ──────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.services__grid .service-card:first-child,
.services__grid .service-card:last-child {
  grid-column: 1 / -1;
}
.service-card {
  background: var(--white);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--steel-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  background: var(--dark-teal);
  transform: translateY(-5px);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover h3,
.service-card:hover p { color: var(--white); }
.service-card:hover .service-card__icon {
  background: rgba(107,159,197,0.18);
  color: var(--steel-light);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--navy);
  transition: var(--transition);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 12px; transition: var(--transition); color: var(--steel-light); }
.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  transition: var(--transition);
  margin: 0;
}

/* ── Branchen ────────────────────────────────────────────── */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.industry-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.industry-item:hover {
  background: rgba(107,159,197,0.13);
  border-color: rgba(107,159,197,0.38);
  transform: translateY(-4px);
}
.industry-item__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.industry-item__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.industry-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Vorteile ────────────────────────────────────────────── */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.advantage-item--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  background: linear-gradient(135deg, #2d5a3d 0%, #3d7a52 100%) !important;
  border-left-color: #5ab876 !important;
}
.advantage-item--full .advantage-item__number,
.advantage-item--full h4 {
  color: #ffffff !important;
}
.advantage-item--full p {
  color: rgba(255,255,255,0.85) !important;
}
.advantage-item--full strong {
  color: #a8e6b8;
}
.advantage-item--full .advantage-item__number {
  grid-row: 1 / 3;
  font-size: 4rem;
  align-self: center;
}
.advantage-item--full h4 {
  font-size: 1.35rem;
  align-self: end;
  padding-right: 160px;
}
.advantage-item--full p {
  font-size: 1rem;
  line-height: 1.7;
  padding-right: 160px;
}
.advantage-item {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border-left: 4px solid var(--steel-blue);
  transition: var(--transition);
}
.advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--navy);
}
.advantage-item__number {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--steel-light);
  line-height: 1;
  margin-bottom: 8px;
}
.advantage-item h4 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.advantage-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Impressionen Galerie ────────────────────────────────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 250px 250px;
  gap: 6px;
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery__item { overflow: hidden; position: relative; }
.gallery__item:nth-child(1)  { grid-column: 1 / 6;  grid-row: 1; }
.gallery__item:nth-child(2)  { grid-column: 6 / 9;  grid-row: 1; }
.gallery__item:nth-child(3)  { grid-column: 9 / 13; grid-row: 1; }
.gallery__item:nth-child(4)  { grid-column: 1 / 5;  grid-row: 2; }
.gallery__item:nth-child(5)  { grid-column: 5 / 9;  grid-row: 2; }
.gallery__item:nth-child(6)  { grid-column: 9 / 13; grid-row: 2; }
.gallery__item:nth-child(7)  { grid-column: 1 / 5;  grid-row: 3; }
.gallery__item:nth-child(8)  { grid-column: 5 / 9;  grid-row: 3; }
.gallery__item:nth-child(9)  { grid-column: 9 / 13; grid-row: 3; }
.gallery__item:nth-child(10) { grid-column: 1 / 6;  grid-row: 4; }
.gallery__item:nth-child(11) { grid-column: 6 / 9;  grid-row: 4; }
.gallery__item:nth-child(12) { grid-column: 9 / 13; grid-row: 4; }
.gallery__item:nth-child(13) { grid-column: 1 / 5;  grid-row: 5; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,43,53,0.65) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.gallery__item:hover .gallery__item__overlay { opacity: 1; }
.gallery__item__caption {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Kontakt ─────────────────────────────────────────────── */
.contact {
  background: var(--dark-teal);
  padding: var(--section-pad) 0;
}
.contact h2,
.contact h3,
.contact h4 {
  color: var(--white) !important;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
  align-items: start;
}
.contact__info-list { margin-top: 32px; }
.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact__info-item:last-child { border-bottom: none; }
.contact__info-icon {
  width: 44px; height: 44px;
  background: rgba(107,159,197,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--steel-light);
}
.contact__info-icon svg { width: 20px; height: 20px; }
.contact__info-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}
.contact__info-value {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}
.contact__info-value a {
  color: var(--steel-light);
  transition: var(--transition-fast);
}
.contact__info-value a:hover { color: var(--white); }

/* Kontaktformular */
.contact__form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.contact__form-title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 7px;
}
.form-group label.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
  width: 100%;
}
.form-group label.form-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition-fast);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--steel-blue);
  background: rgba(107,159,197,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark-teal); color: var(--white); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-privacy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-top: 0;
}
.form-privacy a { color: var(--steel-light); text-decoration: underline; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; padding: 16px; }

/* Karte / Gebäude Bild */
.contact__building {
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact__building img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  padding: 40px 0 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo img {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.footer__logo-text {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-fast);
  font-weight: 500;
}
.footer__links a:hover { color: var(--steel-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer__cert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__cert svg { width: 16px; height: 16px; color: var(--steel-blue); }

/* ── Impressum & Datenschutz ─────────────────────────────── */
.legal-page { padding-top: 110px; }
.legal-hero {
  background: var(--dark-teal);
  padding: 64px 0 48px;
}
.legal-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.legal-hero p { color: rgba(255,255,255,0.6); margin: 0; }
.legal-content {
  padding: 64px 0 80px;
  max-width: 800px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-grey);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content a {
  color: var(--steel-blue);
  text-decoration: underline;
}
.legal-content a:hover { color: var(--navy); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 32px;
  transition: var(--transition-fast);
}
.legal-back:hover { color: var(--navy); gap: 12px; }
.legal-back svg { width: 16px; height: 16px; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image-wrap { max-width: 560px; margin: 0 auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__stats { gap: 28px; flex-wrap: wrap; }
  .services__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 20px; text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
}

@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery__item { height: 200px; }
  .contact__form-wrap { padding: 28px 20px; }
}

/* ── Skip Link (Barrierefreiheit) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--steel-blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ── Focus Styles ────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--steel-blue);
  outline-offset: 3px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.gallery__item {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
  max-height: 90vh;
  animation: lightbox-in 0.25s ease;
}
@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  display: block;
}
.lightbox__caption {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   LEGAL PAGES – Topbar mit Zurück-Link
   ============================================================ */
.legal-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 110px;
  background: rgba(18, 43, 53, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-back:hover { color: #fff; }
.legal-topbar .nav__logo {
  justify-self: center;
}
.legal-topbar .nav__logo img {
  height: 96px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ============================================================
   ZERTIFIKATE
   ============================================================ */
.cert__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 56px auto 0;
}
.cert__card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 28px 28px;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.cert__card:hover {
  background: #ffffff;
  border-color: rgba(0,0,0,0.15);
  box-shadow: var(--shadow-md);
}
.cert__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(0,80,120,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-blue);
}
.cert__info {
  flex: 1;
}
.cert__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 4px;
}
.cert__title {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.cert__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cert__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--steel-light);
  color: var(--dark-teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.cert__btn:hover {
  background: #fff;
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .cert__grid { grid-template-columns: 1fr; }
  .cert__card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cert__btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SUSTAINABILITY ICON
   ============================================================ */
.advantage-item--full {
  position: relative;
  overflow: hidden;
}
.sustainability-icon {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  opacity: 0.85;
  pointer-events: none;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.2));
}
.sustainability-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 700px) {
  .sustainability-icon { display: none; }
}

/* About feature link */
.about__feature-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.about__feature-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Advantage cert link */
.advantage-cert-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.advantage-cert-link:hover {
  opacity: 1;
}
