/* =================================================================
   KM ROHRLEITUNGSBAU UND SCHWEISSTECHNIK GMBH
   Stylesheet - Corporate Design
   Hauptfarbe: #0a4774 | Akzente: #1a6fa8, #d62828
   Font: Montserrat
   ================================================================= */

/* -------- 1. CSS VARIABLES & RESET -------- */

:root {
  /* Brand Colors */
  --color-primary: #0a4774;
  --color-primary-light: #1a6fa8;
  --color-primary-dark: #062f4f;
  --color-primary-bg: #e8eff5;

  /* Accents */
  --color-accent: #d62828;          /* Schweißfunken-Rot, sparsam */
  --color-accent-light: #ff3a3a;

  /* Neutrals */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: #1a1d24;
  --color-text-muted: #5a6470;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #0a1929;
  --color-border: #dde3ec;
  --color-border-strong: #b8c4d1;

  /* Typography */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Caveat', 'Brush Script MT', cursive;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 1100px;
  --header-height: 96px;
  --header-height-scrolled: 72px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 71, 116, 0.08);
  --shadow-md: 0 6px 24px rgba(10, 71, 116, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 71, 116, 0.18);
  --shadow-blue: 0 8px 32px rgba(10, 71, 116, 0.25);

  /* Transitions */
  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-base: 280ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.4,0,.2,1);

  /* Geometric Chamfer (CI-typisches abgeschrägtes Element) */
  --chamfer: 14px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* -------- 2. TYPOGRAPHY -------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); }

p {
  margin-bottom: 1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-primary);
}

.eyebrow--light {
  color: rgba(255,255,255,0.9);
}

.eyebrow--light::before {
  background: rgba(255,255,255,0.6);
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: italic;
}

/* -------- 3. LAYOUT HELPERS -------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--alt {
  background: var(--color-bg-alt);
}

/* -------- 4. GEOMETRIC ACCENT ELEMENTS (aus CI) -------- */

/*
   Abgeschrägte Banner-Form aus dem Corporate Design
   (siehe Warenannahme-Schild und Notizblock)
*/
.chamfer-band {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  clip-path: polygon(
    0 0,
    calc(50% - 80px) 0,
    calc(50% - 60px) 100%,
    calc(50% + 60px) 100%,
    calc(50% + 80px) 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

/* Quadratischer Bullet-Point aus dem CI */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.bullet-list--dark li::before {
  background: var(--color-white);
}

/* Chamfered Corners – das markante Designelement aus dem CI */
.chamfer {
  clip-path: polygon(
    var(--chamfer) 0,
    100% 0,
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    0 100%,
    0 var(--chamfer)
  );
}

/* -------- 5. BUTTONS -------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--t-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--light:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--ghost-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* -------- 6. TOP-BAR (über Header) -------- */

.topbar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 60;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.topbar__contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

.topbar__contact a:hover {
  color: var(--color-white);
}

.topbar__contact svg {
  width: 14px;
  height: 14px;
}

.topbar__slogan {
  font-family: var(--font-script);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.topbar__social {
  display: flex;
  gap: 0.75rem;
}

.topbar__social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: all var(--t-fast);
}

.topbar__social a:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.topbar__social svg {
  width: 13px;
  height: 13px;
}

/* -------- 7. HEADER & NAVIGATION -------- */

.header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--t-base);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.header__logo {
  flex-shrink: 0;
  height: 64px;
  transition: height var(--t-base);
}

.header__logo img,
.header__logo svg {
  height: 100%;
  width: auto;
}

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

.nav__list {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  position: relative;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

/* Punkt 4: Bei Dropdown-Menüpunkten den Unterstrich NICHT anzeigen,
   solange das Dropdown offen ist – sonst kollidiert der blaue Strich
   optisch mit der grauen Dropdown-Fläche. Aktiver Zustand bleibt. */
.nav__item--has-dropdown:hover > .nav__link:not(.is-active)::after {
  transform: scaleX(0);
}

.nav__item--has-dropdown > .nav__link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.3rem;
  order: 2;
  transition: transform var(--t-fast);
}

.nav__item--has-dropdown:hover > .nav__link::before {
  transform: rotate(225deg) translateY(2px);
}

/* Dropdown – Megamenu-Style */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-bg-alt);
  min-width: 280px;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%
  );
}

/* Unsichtbare "Brücke" über dem 10px-Gap, damit der Hover beim
   Übergang vom Menüpunkt zum Dropdown nicht abreißt (Punkt 6). */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item--has-dropdown:hover .dropdown,
.nav__item--has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--t-fast);
  border-left: 3px solid transparent;
}

.dropdown__link::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.dropdown__link:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  padding-left: 1.25rem;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 100;
}

.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2.5px;
  background: var(--color-primary);
  transition: all var(--t-base);
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

.burger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* -------- 8. HERO -------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(6, 47, 79, 0.92) 0%,
      rgba(10, 71, 116, 0.85) 50%,
      rgba(6, 47, 79, 0.7) 100%
    );
  z-index: 2;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 80px,
      rgba(255,255,255,0.03) 80px,
      rgba(255,255,255,0.03) 81px
    );
  z-index: 3;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.1) brightness(0.85);
}

.hero__inner {
  position: relative;
  z-index: 4;
  padding: var(--space-2xl) 0 var(--space-xl);
  width: 100%;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

.hero__label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero__title .accent {
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin: 1rem 0 2rem;
  line-height: 1.1;
}

.hero__lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.hero__badge-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  max-width: 14ch;
  line-height: 1.3;
}

/* Hero geometric accent (CI Chamfer-Band rechts) */
.hero__geometric {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
}

.hero__geometric::before,
.hero__geometric::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero__geometric::after {
  inset: 80px;
}

/* -------- 9. SERVICES GRID (Leistungen) -------- */

.services {
  padding: var(--space-2xl) 0;
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.services__intro {
  max-width: 56ch;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--t-base);
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--color-primary);
}

.service-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

.service-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 50%,
    rgba(10, 71, 116, 0.85) 100%
  );
}

.service-card__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.service-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.service-card__link .arrow {
  transition: transform var(--t-fast);
}

.service-card:hover .service-card__link .arrow {
  transform: translateX(4px);
}

/* -------- 10. STATS COUNTER -------- */

.stats {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0,
    var(--color-primary) 30%,
    var(--color-primary-light) 30%,
    var(--color-primary-light) 60%,
    var(--color-primary-dark) 60%,
    var(--color-primary-dark) 100%
  );
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: left;
  padding: 1rem;
  border-left: 3px solid rgba(255,255,255,0.2);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-white);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.stat__suffix {
  font-size: 0.6em;
  color: rgba(255,255,255,0.7);
}

.stat__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

/* -------- 11. ABOUT TEASER -------- */

.about-teaser {
  padding: var(--space-2xl) 0;
}

.about-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-teaser__visual {
  position: relative;
}

.about-teaser__img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(
    32px 0,
    100% 0,
    100% calc(100% - 32px),
    calc(100% - 32px) 100%,
    0 100%,
    0 32px
  );
}

.about-teaser__badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  clip-path: polygon(
    18px 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0 18px
  );
  box-shadow: var(--shadow-lg);
}

.about-teaser__badge-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.about-teaser__badge-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  opacity: 0.85;
}

.about-teaser__content h2 {
  margin-bottom: 1.5rem;
}

.about-teaser__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.about-teaser__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  display: flex;
  gap: 1rem;
}

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.feature__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* -------- 12. CERTIFICATES STRIP -------- */

.certs {
  background: var(--color-bg-alt);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.certs__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.certs__label {
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
  flex-shrink: 0;
}

.certs__list {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.certs__item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.certs__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
}

/* -------- 13. CTA BANNER -------- */

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-banner::before {
  top: -150px;
  left: -100px;
}

.cta-banner::after {
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
}

.cta-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-banner__content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin: 0;
}

/* -------- 14. LINDE PARTNER BOX -------- */

.linde-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}

.linde-box__visual {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--color-white);
  text-align: center;
}

.linde-box__visual-title {
  font-size: 1.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.linde-box__visual-sub {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.linde-box__content {
  padding: 2rem 2.5rem;
}

.linde-box__content h3 {
  margin-bottom: 0.5rem;
}

.linde-box__content > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.linde-box__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}

.linde-box__list li {
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  padding-left: 1.25rem;
}

.linde-box__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--color-primary);
}

/* -------- 15. SUB-PAGE HEADER -------- */

.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 20px,
      rgba(255,255,255,0.025) 20px,
      rgba(255,255,255,0.025) 21px
    );
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span.sep {
  color: rgba(255,255,255,0.4);
}

.breadcrumb span.current {
  color: var(--color-white);
  font-weight: 600;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-hero__lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
}

/* -------- 16. CONTENT BLOCKS -------- */

.service-detail {
  padding: var(--space-2xl) 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.service-detail__main h2 {
  margin-bottom: 1rem;
}

.service-detail__main p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.service-detail__features {
  background: var(--color-bg-alt);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--color-primary);
}

.service-detail__features h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-detail__features .bullet-list li {
  font-size: 0.9375rem;
  font-weight: 500;
}

.service-detail__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.info-card {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2rem;
  margin-bottom: 1.5rem;
  clip-path: polygon(
    16px 0, 100% 0,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    0 100%, 0 16px
  );
}

.info-card h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

.info-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.info-card__contact a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--color-white);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery__item {
  aspect-ratio: 4/3;
  background: var(--color-primary-bg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  clip-path: polygon(
    12px 0, 100% 0,
    100% calc(100% - 12px), calc(100% - 12px) 100%,
    0 100%, 0 12px
  );
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,71,116,0.6) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.gallery__item:hover::after {
  opacity: 1;
}

/* Placeholder images */
.placeholder-img {
  background:
    linear-gradient(135deg, var(--color-primary-bg) 0%, #d8e3ec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
  width: 100%;
  height: 100%;
}

.placeholder-img::before {
  content: '';
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  opacity: 0.15;
  margin-bottom: 0.5rem;
  clip-path: polygon(
    8px 0, 100% 0,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    0 100%, 0 8px
  );
}

/* -------- 17. TEAM CARDS -------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.person-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--t-base);
  clip-path: polygon(
    16px 0, 100% 0,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    0 100%, 0 16px
  );
}

.person-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.person-card__img {
  aspect-ratio: 4 / 5;
  background: var(--color-primary-bg);
  overflow: hidden;
  position: relative;
}

.person-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* Köpfe bleiben vollständig sichtbar */
  filter: grayscale(0.3);
  transition: filter var(--t-base);
}

.person-card:hover .person-card__img img {
  filter: grayscale(0);
}

.person-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, #d8e3ec 100%);
}

.person-card__body {
  padding: 1.5rem;
}

.person-card__name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.person-card__role {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.person-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.person-card__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  transition: color var(--t-fast);
}

.person-card__contact a:hover {
  color: var(--color-primary);
}

.person-card__contact svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* -------- 18. CONTACT FORM -------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

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

.contact-info__block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-info__block:last-child {
  border-bottom: none;
}

.contact-info__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-info__text {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info__text a {
  display: block;
}

.contact-info__text a:hover {
  color: var(--color-primary);
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: all var(--t-fast);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(10,71,116,0.1);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0;
  line-height: 1.5;
}

.form-consent input {
  margin-top: 0.2rem;
}

/* -------- 19. CAREER -------- */

.career-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.career-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.career-hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.career-hero__lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.career-hero__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.benefit__icon svg { width: 20px; height: 20px; }

.benefit__title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.benefit__text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.jobs {
  padding: var(--space-2xl) 0;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--t-base);
  clip-path: polygon(
    14px 0, 100% 0,
    100% calc(100% - 14px), calc(100% - 14px) 100%,
    0 100%, 0 14px
  );
}

.job:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.job__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.4;
  min-width: 50px;
}

.job__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.job__meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.job__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.job__badge {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

/* -------- 20. FOOTER -------- */

.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 50%,
    var(--color-primary) 100%
  );
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand > img,
.footer__brand > svg,
.footer__logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1) saturate(0);
  margin-bottom: 1.25rem;
}

.footer__tagline {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  transition: all var(--t-fast);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.footer__list a {
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-fast);
}

.footer__list a:hover {
  color: var(--color-white);
  padding-left: 0.5rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a:hover {
  color: var(--color-white);
}

/* -------- 21. ANIMATIONS -------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

[data-anim] {
  opacity: 0;
}

[data-anim].is-visible {
  animation: fadeUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
}

[data-anim-delay="1"].is-visible { animation-delay: 0.1s; }
[data-anim-delay="2"].is-visible { animation-delay: 0.2s; }
[data-anim-delay="3"].is-visible { animation-delay: 0.3s; }
[data-anim-delay="4"].is-visible { animation-delay: 0.4s; }

/* -------- 22. RESPONSIVE -------- */

@media (max-width: 1100px) {
  .nav__list { gap: 0; }
  .nav__link { padding: 0.6rem 0.75rem; font-size: 0.875rem; }
}

@media (max-width: 960px) {
  .burger { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: var(--color-white);
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: -10px 0 40px rgba(0,0,0,0.25);
    transform: translateX(100%);
    transition: transform var(--t-base);
    overflow-y: auto;
    z-index: 80;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__item--has-dropdown .dropdown,
  .nav__item--has-dropdown:hover .dropdown,
  .nav__item--has-dropdown:focus-within .dropdown {
    position: static;
    left: auto;
    right: auto;
    margin: 0;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    border: none;
    border-top: none;
    background: transparent;
    padding: 0.5rem 0 0.5rem 1rem;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    clip-path: none;
    display: none;
  }

  .dropdown::before { display: none; }

  .nav__item--has-dropdown.is-expanded .dropdown {
    display: block;
  }

  /* Nav-Inhalte sind immer sichtbar – keine Scroll-Animation im Menü */
  .nav [data-anim] {
    opacity: 1;
    transform: none;
  }

  .header__cta { display: none; }

  .topbar__slogan { display: none; }

  .hero { min-height: 70vh; }

  .about-teaser__grid,
  .contact-grid,
  .service-detail__grid,
  .career-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-teaser__features { grid-template-columns: 1fr; }

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

  .linde-box { grid-template-columns: 1fr; }
  .linde-box__visual { padding: 1.5rem; }

  .job {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .job__num { display: none; }
}

@media (max-width: 640px) {
  .section { padding: var(--space-xl) 0; }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__contact { gap: 1rem; flex-wrap: wrap; justify-content: center; }

  .hero__inner { padding: var(--space-xl) 0; }

  .hero__badges { gap: 1rem; }

  .footer__main { grid-template-columns: 1fr; }

  .contact-form { padding: 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-teaser__badge {
    bottom: -15px;
    right: 0;
    padding: 1rem 1.5rem;
  }

  .about-teaser__badge-num { font-size: 2rem; }

  .career-hero__benefits { grid-template-columns: 1fr; }

  .linde-box__list { grid-template-columns: 1fr; }
}

/* -------- 23. UTILITY -------- */

.text-center { text-align: center; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mt-md { margin-top: 1.5rem; }

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* =================================================================
   ERWEITERUNGEN – Video-Hero, Bild-Ersetzungen, Layout-Helfer
   ================================================================= */

/* -------- Hero-Video Background -------- */
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* -------- Service-Card-Image Helper -------- */
.service-card__img img.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.service-card:hover .service-card__img img.service-img {
  transform: scale(1.06);
}

/* -------- About-Teaser-Image -------- */
.about-teaser__img-real {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(
    32px 0,
    100% 0,
    100% calc(100% - 32px),
    calc(100% - 32px) 100%,
    0 100%,
    0 32px
  );
}

/* -------- Linde-Visual mit Bild -------- */
.linde-box__visual--image {
  background: linear-gradient(135deg,
    rgba(10, 71, 116, 0.85) 0%,
    rgba(6, 47, 79, 0.95) 100%
  ), url('../img/partner/linde-aussenanlage.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* -------- About-Section Image Block (für Leistungen-Seite etc.) -------- */
.about-image-block {
  aspect-ratio: 4/5;
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
  overflow: hidden;
}

.about-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------- Gallery-Images (echte Bilder statt Placeholder) -------- */
.gallery__item img.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.gallery__item:hover img.gallery-img {
  transform: scale(1.08);
}

/* -------- Person-Card mit echtem Foto -------- */
.person-card__img img.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) brightness(1.02);
  transition: filter var(--t-base), transform var(--t-base);
}

.person-card:hover .person-card__img img.person-photo {
  filter: grayscale(0) brightness(1);
  transform: scale(1.04);
}

/* -------- Referenz-Card Layout-Helfer -------- */
.ref-card__meta {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* -------- Linde Service-Card (Sonderfall) -------- */
.service-card--linde {
  background: var(--color-primary);
  color: var(--color-white);
}

.service-card--linde .service-card__title,
.service-card--linde .service-card__link {
  color: var(--color-white);
}

.service-card--linde .service-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

.service-card__img--linde {
  background: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--color-white);
}

.service-card__img--linde .linde-stamp {
  text-align: center;
}

.service-card__img--linde .linde-stamp__name {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-card__img--linde .linde-stamp__sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  margin-top: 0.5rem;
  opacity: 0.8;
  text-transform: uppercase;
}

/* -------- Referenz-Filter-Buttons (sauberes Markup) -------- */
.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ref-filters__label {
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-right: 0.75rem;
}

.ref-filter {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
}

.ref-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.ref-filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* -------- Value-Card (Über uns) – aus Inline-Styles extrahiert -------- */
.value-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--color-primary);
  clip-path: polygon(
    14px 0, 100% 0,
    100% calc(100% - 14px), calc(100% - 14px) 100%,
    0 100%, 0 14px
  );
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  clip-path: polygon(
    10px 0, 100% 0,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    0 100%, 0 10px
  );
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* -------- Gas-Item (Linde-Seite) – aus Inline-Styles extrahiert -------- */
.gas-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
}

.gas-item__icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.gas-item__name {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 700;
}

.gas-item__sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.gas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .gas-grid { grid-template-columns: 1fr; }
}

/* -------- Zertifikat-Card – aus Inline-Styles extrahiert -------- */
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--t-base);
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
}

.cert-card__header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--color-white);
}

.cert-card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.cert-card__title {
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.cert-card__sub {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.cert-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* -------- Process-Step (Karriere) – aus Inline-Styles extrahiert -------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------- Linde-Visual (linde-gase.html) – aus Inline-Styles extrahiert -------- */
.linde-stamp-large {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 2rem;
  text-align: center;
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
  position: relative;
  overflow: hidden;
}

.linde-stamp-large__name {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.linde-stamp-large__sub {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}

.linde-stamp-large__info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9375rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Standortzeichnung (Über uns) – aus Inline-Styles extrahiert */
.zentrale-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3rem;
  margin-top: 4rem;
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 20px) 100%,
    0 100%, 0 20px
  );
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.zentrale-banner h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.zentrale-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 720px) {
  .zentrale-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

/* -------- Zwei-Spalten-Section (Über uns + Leistungen Trust) – aus Inline-Styles -------- */
.two-col,
.two-col--reverse {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.two-col {
  grid-template-columns: 1fr 1.2fr;
}

.two-col--reverse {
  grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 900px) {
  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* -------- Map-Section – aus Inline-Styles extrahiert -------- */
.map-section {
  background: var(--color-bg-alt);
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

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

@media (max-width: 900px) {
  .map-section__grid {
    grid-template-columns: 1fr;
  }
}

/* -------- Section-Heading-Centered – aus Inline-Styles extrahiert -------- */
.section__heading--centered {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section__heading--centered .eyebrow {
  justify-content: center;
}

/* -------- Cert-Hinweis-Box – aus Inline-Styles extrahiert -------- */
.cert-hint {
  background: var(--color-bg-alt);
  padding: 3rem;
  margin-top: 4rem;
  border-left: 4px solid var(--color-primary);
}

.cert-hint p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .cert-hint { padding: 2rem 1.5rem; }
}

/* -------- Form-Consent Label-Fix -------- */
.form-consent label {
  text-transform: none;
  letter-spacing: normal;
  font-weight: normal;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin: 0;
}

.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* -------- Contact-Social-Icons – aus Inline-Styles extrahiert -------- */
.contact-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--t-fast);
}

.contact-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* -------- Submit-Button Full-Width -------- */
.btn--block {
  width: 100%;
  justify-content: center;
}


/* =================================================================
   V3-ERWEITERUNGEN
   Punkt 1: Schnellkontakt  |  Punkt 4: Nav-Toggle
   Punkt 6: Dropdown mobil  |  Punkt 7: Mobile-Optimierung
   ================================================================= */

/* -------- Nav-Toggle-Button (Pfeil für Dropdowns) -------- */
.nav__toggle {
  display: none;          /* nur mobil sichtbar */
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Desktop: Pfeil-Indikator am Dropdown-Parent (ersetzt ::before-Logik sauber) */
.nav__item--has-dropdown > .nav__link {
  /* Platz für den Pfeil ist bereits durch ::before geregelt */
}

/* =================================================================
   PUNKT 1 – SCHNELLKONTAKT (STICKY)
   Desktop: vertikale Leiste am rechten Rand
   Mobile : horizontale Leiste am unteren Rand
   ================================================================= */

.quickcontact {
  position: fixed;
  z-index: 90;
  display: flex;
}

/* ---- Desktop: rechts mittig, vertikal ---- */
@media (min-width: 769px) {
  .quickcontact {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 2px;
  }

  .quickcontact__item {
    display: flex;
    align-items: center;
    gap: 0;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: var(--color-primary);
    color: var(--color-white);
    transition: width var(--t-base), background var(--t-base);
    position: relative;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .quickcontact__item:first-child {
    /* V5-Fix: clip-path entfernt – das hat die Labels von Phone/Standort abgeschnitten */
  }
  .quickcontact__item:last-child {
    border-bottom: none;
    /* V5-Fix: clip-path entfernt */
  }

  .quickcontact__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quickcontact__icon svg {
    width: 22px;
    height: 22px;
  }

  .quickcontact__label {
    /* V4: wird durch späteren Block neu definiert */
  }

  .quickcontact__item:hover {
    /* V4: Item bleibt 52px schmal, Label fährt links aus */
  }

  .quickcontact__item:hover .quickcontact__label {
    /* V4: wird durch späteren Block überschrieben */
  }

  .quickcontact__item--whatsapp { background: #25D366; }
  .quickcontact__item--whatsapp:hover { background: #1da851; }
  .quickcontact__item--phone:hover { background: var(--color-primary-dark); }
  .quickcontact__item--mail:hover { background: var(--color-primary-dark); }
  .quickcontact__item--route:hover { background: var(--color-primary-dark); }
}

/* ---- Mobile: untere Leiste, horizontal, volle Breite ---- */
@media (max-width: 768px) {
  .quickcontact {
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    gap: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
  }

  .quickcontact__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.55rem 0.25rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-primary);
    color: var(--color-white);
    min-height: 60px;
    border-right: 1px solid rgba(255,255,255,0.14);
  }

  .quickcontact__item:last-child { border-right: none; }
  .quickcontact__item--whatsapp { background: #25D366; }

  .quickcontact__icon svg {
    width: 22px;
    height: 22px;
  }

  .quickcontact__label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  /* Platz für die fixe Schnellkontakt-Leiste am DUNKLEN Footer schaffen –
     nicht am weißen Body (sonst weißer Leerraum unter dem Footer). */
  body { padding-bottom: 0; }
  .footer { padding-bottom: 84px; }

  /* Footer-Abstand zusätzlich, damit letzte Links nicht klemmen */
  .footer__bottom {
    margin-bottom: 0.5rem;
  }
}

/* =================================================================
   PUNKT 7 – UMFASSENDE MOBILE-OPTIMIERUNG
   ================================================================= */

/* ---- Nav-Toggle nur mobil, als Pfeil-Button ---- */
@media (max-width: 960px) {
  .nav__item--has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav__item--has-dropdown > .nav__link {
    flex: 1;
  }

  /* ::before-Pfeil des Desktop-Parents mobil ausblenden */
  .nav__item--has-dropdown > .nav__link::before {
    display: none;
  }

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .nav__toggle::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--t-fast);
  }

  .nav__item--has-dropdown.is-expanded .nav__toggle::after {
    transform: rotate(225deg) translateY(2px);
  }

  .dropdown {
    flex-basis: 100%;
  }
}

/* ---- Allgemeine Mobile-Verbesserungen ---- */
@media (max-width: 768px) {

  /* Container-Padding mobil */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Headlines kleiner */
  h1 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  h3 { font-size: clamp(1.2rem, 4.5vw, 1.5rem); }

  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .page-hero__title { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* ===== ALLE BUTTONS MOBIL VOLLE BREITE (Punkt 7) ===== */
  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Ausnahmen: Buttons, die nebeneinander in einer Flex-Gruppe stehen,
     dürfen via Eltern-Gap trotzdem volle Breite je Zeile einnehmen */
  .hero__actions,
  .cta-banner__actions,
  .page-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero__actions .btn,
  .cta-banner__actions .btn {
    width: 100%;
  }

  /* Header-CTA bleibt versteckt (burger aktiv), quickcontact übernimmt */

  /* Topbar kompakter */
  .topbar { font-size: 0.75rem; }
  .topbar__contact a span,
  .topbar__contact svg { flex-shrink: 0; }

  /* Service-/Karten-Grids einspaltig */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .values-grid,
  .process-grid,
  .gas-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Zwei-Spalten-Layouts brechen um */
  .two-col,
  .two-col--reverse,
  .map-section__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Service-Detail Sidebar unter den Content */
  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  /* Zentrale-Banner (Ansprechpartner) einspaltig + zentriert */
  .zentrale-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  /* Cert-Cards einspaltig */
  .cert-hint {
    padding: 1.75rem 1.25rem;
  }

  /* Tabellen/Filter scrollbar */
  .ref-filters {
    gap: 0.4rem;
  }
  .ref-filter {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }

  /* Kontakt-Formular volle Breite, weniger Padding */
  .contact-form {
    padding: 1.5rem 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* About-/Bild-Blöcke nicht zu hoch */
  .about-image-block {
    aspect-ratio: 4/3;
  }

  /* Stat-Grid 2-spaltig auf Mobil */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* Certs-Strip horizontal scrollbar */
  .certs__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  /* Hero-Badges 2-spaltig */
  .hero__badges {
    grid-template-columns: 1fr 1fr;
  }

  /* Career Hero einspaltig */
  .career-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .career-hero__benefits {
    grid-template-columns: 1fr;
  }

  /* Info-Card / Sidebar Buttons */
  .info-card .btn {
    width: 100%;
  }
}

/* ---- Sehr kleine Geräte ---- */
@media (max-width: 400px) {
  .stats__grid,
  .hero__badges {
    grid-template-columns: 1fr;
  }

  .quickcontact__label {
    font-size: 0.5625rem;
  }

  h1 { font-size: 1.7rem; }
  .hero__title { font-size: 1.9rem; }
}

/* -------- Sidebar Cert-Hint Variante (ersetzt Inline-Styles) -------- */
.cert-hint--sidebar {
  margin-top: 1.5rem;
  padding: 1.75rem;
}
.cert-hint--sidebar .eyebrow {
  margin-bottom: 0.75rem;
}
.cert-hint--sidebar h4 {
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
}
.bullet-list--sm {
  font-size: 0.8125rem;
}
.cert-hint--sidebar .service-card__link {
  margin-top: 1rem;
}

/* =================================================================
   V4 – Punkte aus der zweiten Iteration
   ================================================================= */

/* -----------------------------------------------------------------
   PUNKT 1: ALLE BOXEN UND BUTTONS ALS GESCHLOSSENE KONTUREN
   Statt clip-path (abgeschnittene Ecken) jetzt border-radius 0 +
   Pseudo-Elementen für die kleine abgeschrägte Akzent-Ecke.
   Wir behalten den Industrie-Look, aber als geschlossene Kontur.
   ----------------------------------------------------------------- */

/* Buttons: zurück zu klassisch eckig (geschlossen) mit dezenter
   diagonalen Akzent-Ecke unten rechts statt offen abgeschnitten */
.btn {
  clip-path: none;
  -webkit-clip-path: none;
  border-radius: 0;
  position: relative;
}

/* Service-Cards */
.service-card,
.value-card,
.cert-card,
.linde-stamp-large,
.zentrale-banner,
.info-card,
.about-teaser__img-real,
.about-image-block {
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* Stattdessen: kleine Akzent-Ecke unten rechts via Pseudo-Element
   (geschlossene Kontur bleibt, kleines Detail signalisiert Stil) */
.service-card,
.value-card,
.cert-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.service-card::after,
.value-card::after,
.cert-card::after,
.info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(135deg, transparent 50%, var(--color-primary) 50%);
  pointer-events: none;
  z-index: 3;
}

/* About-/Teaser-Image: weiches Rechteck statt clip-path */
.about-teaser__img-real,
.about-image-block {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

/* Geschnittene Ecke "fake" via decorative corner-svg unten-rechts */
.about-image-block::after,
.about-teaser__img-real::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 32px;
  height: 32px;
  background: var(--color-white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* Zentrale-Banner und Linde-Stamp: harte Kante mit dezentem Border */
.zentrale-banner,
.linde-stamp-large {
  border: 2px solid rgba(255,255,255,0.15);
}

/* Dropdown bleibt ohne clip-path */
.dropdown {
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* -----------------------------------------------------------------
   PUNKT 3 + neu: SCHNELLKONTAKT VON LINKS AUSFAHREN (nicht rechts!)
   Desktop: bleibt am rechten Rand, aber Label fährt nach LINKS aus
   ----------------------------------------------------------------- */
@media (min-width: 769px) {
  .quickcontact {
    /* bleibt rechts oben angedockt */
    flex-direction: column;
    gap: 2px;
  }

  .quickcontact__item {
    /* Reset – wir bauen neu auf */
    display: flex;
    align-items: center;
    width: 52px;
    height: 52px;
    overflow: visible;
    background: var(--color-primary);
    color: var(--color-white);
    transition: background var(--t-base);
    position: relative;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    clip-path: none;
    -webkit-clip-path: none;
  }

  .quickcontact__item:last-child { border-bottom: none; }

  .quickcontact__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: inherit;
  }

  .quickcontact__icon svg { width: 22px; height: 22px; }

  /* Label fährt von rechts nach LINKS aus (statt umgekehrt) */
  .quickcontact__label {
    position: absolute;
    right: 52px;             /* startet links neben dem Icon */
    top: 0;
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity var(--t-base), transform var(--t-base);
    border-right: 1px solid rgba(255,255,255,0.12);
  }

  .quickcontact__item:hover .quickcontact__label,
  .quickcontact__item:focus-visible .quickcontact__label {
    opacity: 1;
    transform: translateX(0);
  }

  /* WhatsApp-Spezialfarbe auch für Label */
  .quickcontact__item--whatsapp { background: #25D366; }
  .quickcontact__item--whatsapp .quickcontact__label { background: #25D366; }
  .quickcontact__item--whatsapp:hover { background: #1da851; }
  .quickcontact__item--whatsapp:hover .quickcontact__label { background: #1da851; }

  .quickcontact__item--phone:hover,
  .quickcontact__item--mail:hover,
  .quickcontact__item--route:hover {
    background: var(--color-primary-dark);
  }
  .quickcontact__item--phone:hover .quickcontact__label,
  .quickcontact__item--mail:hover .quickcontact__label,
  .quickcontact__item--route:hover .quickcontact__label {
    background: var(--color-primary-dark);
  }
}

/* -----------------------------------------------------------------
   PUNKT 4: LINDE-GASPARTNER – Bild nicht mehr abgeschnitten
   Vorher: clip-path schnitt das Bild ab. Jetzt: sauberer Rahmen,
   Bild wird komplett angezeigt mit Overlay-Gradient.
   ----------------------------------------------------------------- */
.linde-box__visual--image {
  background: none;            /* Gradient kommt jetzt aufs <img> */
  background-image: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linde-box__visual--image > * {
  position: relative;
  z-index: 2;
}

.linde-box__visual--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(10,71,116,0.78) 0%, rgba(6,47,79,0.92) 100%),
    var(--linde-bg, none);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* -----------------------------------------------------------------
   PUNKT 6: DROPDOWN-MENÜ unter dem Menüpunkt (nicht am Container-Rand)
   Vorher: position:absolute am Header → ging an rechten Rand.
   Jetzt: links: 0 vom .nav__item (relativ positioniert).
   ----------------------------------------------------------------- */
.nav__item--has-dropdown {
  position: relative;
}

.dropdown {
  left: 0;
  right: auto;
  transform: translateY(10px);
  min-width: 260px;
}

.nav__item--has-dropdown:hover .dropdown,
.nav__item--has-dropdown:focus-within .dropdown {
  transform: translateY(0);
}

/* -----------------------------------------------------------------
   PUNKT 10: FOOTER – Design | InGlory.de
   ----------------------------------------------------------------- */
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--t-fast);
}

.footer__credit:hover {
  color: var(--color-white) !important;
}

.footer__credit-sep {
  opacity: 0.4;
}

.footer__credit-brand {
  font-weight: 700;
}

.footer__credit-mark {
  width: 22px;
  height: 14px;
  margin-left: 0.25rem;
}

/* -----------------------------------------------------------------
   Footer-Kontakt-Links: vereinheitlichen, alles klickbar
   ----------------------------------------------------------------- */
.footer__contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}

.footer__contact-item a:hover {
  color: var(--color-white);
}

/* -----------------------------------------------------------------
   PUNKT 9: REFERENZEN – Lightbox-Galerie
   ----------------------------------------------------------------- */
.ref-gallery {
  margin-top: 1.5rem;
}

.ref-category {
  margin-bottom: 4rem;
}

.ref-category__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary);
}

.ref-category__title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin: 0;
}

.ref-category__count {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.ref-category__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ref-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
}

.ref-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 960px) { .ref-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ref-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

.ref-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: zoom-in;
  position: relative;
  border: 1px solid var(--color-border);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.ref-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.ref-thumb:hover img { transform: scale(1.06); }

.ref-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,71,116,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast), background var(--t-fast);
}

.ref-thumb:hover .ref-thumb__overlay {
  opacity: 1;
  background: rgba(10,71,116,0.5);
}

.ref-thumb__overlay svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 10, 20, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__inner {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__btn {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-family: inherit;
  font-weight: 700;
  transition: background var(--t-fast);
}

.lightbox__btn:hover { background: rgba(255,255,255,0.2); }

.lightbox__btn--close {
  top: -64px;
  right: 0;
}

.lightbox__btn--prev {
  left: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: -64px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .lightbox { padding: 1rem; }
  .lightbox__btn--prev { left: 0; }
  .lightbox__btn--next { right: 0; }
  .lightbox__btn--close { top: 0; right: 0; background: rgba(0,0,0,0.5); }
  .lightbox__img { max-width: 100%; max-height: 70vh; }
}

/* -----------------------------------------------------------------
   TEAMBILD-SEKTION (großes Banner für Karriere oder Über uns)
   ----------------------------------------------------------------- */
.team-banner {
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
  border: 1px solid var(--color-border);
}

.team-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

.team-banner__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(0deg, rgba(6,25,41,0.85) 0%, rgba(6,25,41,0) 100%);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .team-banner__caption {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
  }
}

/* =================================================================
   V5 – Iteration 5: Loading Screen, Hero-Farben, Filter, Standort
   ================================================================= */

/* -----------------------------------------------------------------
   PUNKT 1: LOADING SCREEN
   ----------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  width: min(420px, 75vw);
  height: auto;
  animation: preloader-fade 0.8s ease-out;
}

.preloader__bar {
  width: min(260px, 50vw);
  height: 3px;
  background: rgba(10, 71, 116, 0.12);
  overflow: hidden;
  position: relative;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--color-primary);
  animation: preloader-bar 1.4s ease-in-out infinite;
}

.preloader__tagline {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0;
  animation: preloader-fade 0.8s ease-out 0.3s forwards;
  margin: -0.5rem 0 0;
}

@keyframes preloader-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloader-bar {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* Body während Preloader aktiv */
body.preloading {
  overflow: hidden;
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  .preloader__bar::after { animation: none; }
  .preloader__logo, .preloader__tagline { animation: none; opacity: 1; }
}

/* -----------------------------------------------------------------
   PUNKT 2: Home – Border über Highlight-Streifen (stats__grid)
   ----------------------------------------------------------------- */
/* Der ausgefranste Strich kommt vom services-Section border-bottom
   oder vom stats border-top. Wir entfernen alle Border in dieser
   Übergangszone. */
.services { border-bottom: none !important; }
.stats {
  border-top: none !important;
  margin-top: 0 !important;
}
/* Auch eventuelle ::before/::after-Trennlinien neutralisieren */
.stats::before,
.stats::after {
  display: none !important;
}

/* -----------------------------------------------------------------
   PUNKT 3: Hero – "Präzision, die" weiß statt blau, Punkt rot
   ----------------------------------------------------------------- */
.hero__title {
  color: var(--color-white);
}
.hero__title .accent {
  color: var(--color-white);
}
/* Roter Punkt nach "verbindet" (wie der Streifen oben im Hero) */
.hero__title .dot-red {
  color: #d62828;
}

/* -----------------------------------------------------------------
   PUNKT 4: Referenzen – Filter sauber im Container,
                         Anzahl-Counter entfernen
   ----------------------------------------------------------------- */
.ref-nav {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

.ref-nav .ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
}

.ref-nav .ref-filters__label {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-right: 1rem;
  white-space: nowrap;
}

.ref-nav .ref-filter {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--t-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ref-nav .ref-filter:hover,
.ref-nav .ref-filter:focus {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-white);
}

@media (max-width: 768px) {
  .ref-nav {
    padding: 1rem 0;
  }
  .ref-nav .ref-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .ref-nav .ref-filter { white-space: nowrap; flex: 0 0 auto; }
}

/* Anzahl-Counter ausblenden (Punkt 4) */
.ref-category__count { display: none !important; }

/* -----------------------------------------------------------------
   PUNKT 5: Über uns – Standort-Bild Layout
   ----------------------------------------------------------------- */
.about-image-block.standort {
  aspect-ratio: 16 / 11;
  height: 100%;
  min-height: 380px;
}

.about-image-block.standort img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zwei-Spalten-Section bei Standort: gleichmäßige Höhen via align-items */
.two-col--reverse {
  align-items: stretch;
}

.two-col--reverse > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -----------------------------------------------------------------
   PUNKT 6: Kontakt – Social-Icons feste Größe wie Footer
   ----------------------------------------------------------------- */
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-social a {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--t-fast);
}

.contact-social a svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.contact-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* -----------------------------------------------------------------
   PUNKT 7: Schnellkontakt – Label-Anzeige für ALLE Items
   (Phone und Standort wurden nicht angezeigt → Selektor-Spezifität)
   ----------------------------------------------------------------- */
@media (min-width: 769px) {
  /* Item-Default-Backgrounds garantieren (gegen Cascade-Überschreibungen) */
  .quickcontact__item--phone,
  .quickcontact__item--mail,
  .quickcontact__item--route {
    background: var(--color-primary) !important;
  }
  .quickcontact__item--whatsapp {
    background: #25D366 !important;
  }

  /* Label im Default-Zustand: unsichtbar, aber MIT Hintergrundfarbe vorbereitet */
  .quickcontact__item .quickcontact__label {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    background: var(--color-primary);  /* Default für Phone/Mail/Standort */
  }

  .quickcontact__item--whatsapp .quickcontact__label {
    background: #25D366;
  }

  /* Hover: Label sichtbar + dunklerer Item-Background */
  .quickcontact__item:hover .quickcontact__label,
  .quickcontact__item:focus-visible .quickcontact__label,
  .quickcontact__item:focus-within .quickcontact__label {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  /* Item + Label haben beim Hover dieselbe (dunklere) Farbe */
  .quickcontact__item--phone:hover,
  .quickcontact__item--mail:hover,
  .quickcontact__item--route:hover {
    background: var(--color-primary-dark) !important;
  }
  .quickcontact__item--phone:hover .quickcontact__label,
  .quickcontact__item--mail:hover .quickcontact__label,
  .quickcontact__item--route:hover .quickcontact__label {
    background: var(--color-primary-dark);
  }

  .quickcontact__item--whatsapp:hover {
    background: #1da851 !important;
  }
  .quickcontact__item--whatsapp:hover .quickcontact__label {
    background: #1da851;
  }
}

/* -----------------------------------------------------------------
   PUNKT 8: Header & Footer – konsistente Logo-Größe überall
   Wir nutzen jetzt das echte transparente Logo
   ----------------------------------------------------------------- */
.header__logo {
  display: inline-flex;
  align-items: center;
}

.header__logo img {
  height: 56px;
  width: auto;
  display: block;
  /* Logo ist transparent: keine Filter, kein Hintergrund */
}

@media (max-width: 768px) {
  .header__logo img { height: 44px; }
}

/* Footer: Logo soll auf dunklem Grund weiß erscheinen */
.footer__logo {
  height: 70px !important;
  width: auto !important;
  /* Invert + Brightness → weißes Logo auf dunklem BG */
  filter: brightness(0) invert(1) !important;
  margin-bottom: 1.25rem;
}

/* Preloader-Logo darf nicht invertiert werden */
.preloader__logo {
  filter: none !important;
}

/* -----------------------------------------------------------------
   LINDE-BOX – Bild korrekt im Container (V5)
   ----------------------------------------------------------------- */
.linde-box__visual--image {
  position: relative;
  overflow: hidden;
  background: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  min-height: 320px;
  padding: 0;
  display: block;
}

/* Vorheriges ::before-Image neutralisieren */
.linde-box__visual--image::before {
  display: none;
}

.linde-box__visual-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.linde-box__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,71,116,0.78) 0%, rgba(6,47,79,0.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  z-index: 2;
}

.linde-box__visual-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.linde-box__visual-sub {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0.9;
}

/* ============================================================
   V6 — PREMIUM INDUSTRIE REDESIGN (2026)
   Markenkern bleibt: Blau #0a4774 / Rot #d62828 / Caveat-Slogan.
   Hebt Tiefe, Rhythmus, Typografie & Motion deutlich an.
   Dieser Block steht bewusst am Ende und gewinnt per Cascade.
   ============================================================ */
:root {
  /* Erweiterte Palette */
  --ink:        #0b1f33;
  --ink-deep:   #071626;
  --steel-50:   #f5f8fc;
  --steel-100:  #eef3f9;
  --steel-200:  #dde6f0;
  --primary-600:#0d568c;
  --primary-700:#083a60;
  --gold:       #e3a008;   /* warmer Funken-Akzent, sehr sparsam */

  /* Fluide Type-Scale */
  --fs-display: clamp(2.7rem, 6vw, 5rem);
  --fs-h2:      clamp(1.85rem, 3.4vw, 2.75rem);
  --fs-h3:      clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-lead:    clamp(1.05rem, 1.25vw, 1.2rem);

  /* Premium-Schatten (mehrlagig, weich) */
  --sh-1: 0 1px 2px rgba(11,31,51,.05), 0 3px 8px rgba(11,31,51,.06);
  --sh-2: 0 8px 20px rgba(11,31,51,.09), 0 16px 40px rgba(11,31,51,.08);
  --sh-3: 0 24px 60px rgba(11,31,51,.18);
  --sh-blue: 0 22px 54px rgba(10,71,116,.30);

  --r:    6px;
  --r-lg: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body { background: var(--color-white); }

/* Wiederverwendbare Blueprint-Textur (für dunkle Sektionen) */
.bp-grid { position: relative; }
.bp-grid::before {
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 80%);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display:inline-flex; align-items:center; gap:.6rem;
  font-size:.78rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content:''; width:26px; height:2px; background:var(--color-accent); border-radius:2px;
  position:static; display:inline-block;
}
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--light::before { background: var(--color-accent-light); }

/* ---------- Überschriften-Feinschliff ---------- */
.section h2, .services__header h2, .about-teaser h2, .cta-banner h2 {
  font-size: var(--fs-h2); font-weight:800; letter-spacing:-.02em; line-height:1.08;
  color: var(--ink);
}
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--r); font-weight:700; letter-spacing:.01em;
  padding: .95rem 1.6rem; transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--primary-600) 100%);
  box-shadow: var(--sh-blue); border:none;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px rgba(10,71,116,.40); background: linear-gradient(135deg, var(--primary-600) 0%, var(--color-primary) 100%); }
.btn--light { background:#fff; color:var(--color-primary); box-shadow: var(--sh-2); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-3); color: var(--primary-700); }
.btn--ghost-light { border:1.5px solid rgba(255,255,255,.45); color:#fff; background:transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-2px); }
.btn--outline { border:1.5px solid var(--color-border-strong); color:var(--color-primary); border-radius:var(--r); }
.btn--outline:hover { background:var(--color-primary); color:#fff; border-color:var(--color-primary); transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn .arrow { transition: transform var(--t-fast); }

/* ============================================================
   HERO — cineastisch, dunkel, layered
   ============================================================ */
.hero {
  position:relative; min-height: clamp(640px, 92vh, 960px);
  display:flex; align-items:center; overflow:hidden;
  background: var(--ink-deep);
}
.hero__media { position:absolute; inset:0; z-index:0; }
.hero__video { width:100%; height:100%; object-fit:cover; }
/* Mehrstufiges Overlay: links satt, rechts offen + Vignette + Farbstich */
.hero__media::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(7,22,38,.95) 0%, rgba(7,22,38,.82) 34%, rgba(8,28,46,.45) 64%, rgba(8,28,46,.28) 100%),
    radial-gradient(120% 90% at 80% 10%, rgba(10,71,116,.35) 0%, transparent 55%),
    linear-gradient(0deg, rgba(7,18,30,.9) 0%, transparent 30%);
}
/* Blueprint-Raster über dem Hero */
.hero::before {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.4;
  background-image:
    linear-gradient(rgba(120,170,210,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,210,.10) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 80% at 25% 40%, #000 20%, transparent 75%);
}
/* feines Korn */
.hero::after {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__geometric { display:none; }
.hero__inner { position:relative; z-index:3; padding-inline:24px; margin-inline:auto; }
.hero__inner > [data-anim] { max-width: 760px; }
.hero__label {
  display:inline-flex; align-items:center; gap:.7rem; color:rgba(255,255,255,.78);
  font-size:.8rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; margin-bottom:1.6rem;
}
.hero__label::before { content:''; width:34px; height:2px; background:var(--color-accent); }
.hero__title {
  font-size: var(--fs-display); font-weight:900; line-height:.98; letter-spacing:-.025em;
  color:#fff; margin:0 0 .3rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title .accent { color:#fff; }
.hero__title .dot-red { color:var(--color-accent); }
.hero__script {
  font-family:var(--font-script); font-size:clamp(1.8rem,3.2vw,2.9rem); color:#7fc4ff;
  font-weight:600; margin:.4rem 0 1.4rem; line-height:1;
}
.hero__lead {
  color:rgba(255,255,255,.82); font-size:var(--fs-lead); line-height:1.7; max-width:56ch; margin-bottom:2.2rem;
}
.hero__actions { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:3rem; }
.hero__badges {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; max-width:760px;
  border-top:1px solid rgba(255,255,255,.14); padding-top:2rem;
}
.hero__badge {
  position:relative; padding:.2rem 0 .2rem 1rem;
}
.hero__badge::before { content:''; position:absolute; left:0; top:.1rem; bottom:.1rem; width:3px; background:linear-gradient(var(--color-accent),transparent); border-radius:3px; }
.hero__badge-num { font-size:1.7rem; font-weight:800; color:#fff; letter-spacing:-.02em; line-height:1; white-space:nowrap; }
.hero__badge-label { font-size:.74rem; color:rgba(255,255,255,.62); margin-top:.45rem; line-height:1.3; }

/* ============================================================
   CERTS STRIP — technische Vertrauens-Leiste
   ============================================================ */
.certs {
  background: var(--steel-50); border-bottom:1px solid var(--color-border);
  padding-block: 1.4rem;
}
.certs__inner { display:flex; align-items:center; gap:1.6rem; flex-wrap:wrap; justify-content:center; }
.certs__label {
  font-size:.74rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--color-text-muted);
  position:relative; padding-left:1.3rem;
  border-left: none;   /* blauen „Strich" entfernen – roter Marker steht allein */
}
.certs__label::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:9px; height:9px; background:var(--color-accent); }
.certs__list { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; }
.certs__item {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.82rem; font-weight:600; color:var(--ink);
  background:#fff; border:1px solid var(--color-border); border-radius:var(--r);
  padding:.5rem .85rem; box-shadow:var(--sh-1); transition: all var(--t-fast);
}
.certs__item::before {
  content:''; width:7px; height:7px; background:var(--color-primary); border-radius:1px; flex:none;
}
.certs__item:hover { border-color:var(--color-primary); transform:translateY(-2px); box-shadow:var(--sh-2); }

/* ============================================================
   SERVICES — Bento-Grid mit Full-Bleed-Bildkacheln
   ============================================================ */
.services { background: linear-gradient(180deg, #fff 0%, var(--steel-50) 100%); }
.services__header { display:grid; grid-template-columns:1.1fr .9fr; gap:2rem; align-items:end; margin-bottom:3rem; }
.services__intro { color:var(--color-text-muted); font-size:var(--fs-lead); line-height:1.7; }

.services__grid {
  display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:280px; gap:1.1rem;
  grid-auto-flow:dense;
}
.service-card {
  position:relative; display:block; overflow:hidden; border-radius:var(--r-lg);
  background:var(--ink); box-shadow:var(--sh-2); border:none;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover { transform:translateY(-4px); box-shadow:var(--sh-3); }
/* Großkachel: Hauptgeschäft Rohrleitungsbau (2x2) */
.service-card:first-child { grid-column:span 2; grid-row:span 2; }
.service-card__img { position:absolute; inset:0; height:100%; margin:0; border-radius:0; overflow:hidden; }
.service-card__img img, .service-card .service-img {
  width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); filter:saturate(1.02);
}
.service-card:hover .service-img, .service-card:hover .service-card__img img { transform:scale(1.07); }
/* Lesbarkeits-Gradient */
.service-card__img::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(6,18,30,.94) 0%, rgba(6,18,30,.55) 38%, rgba(6,18,30,.10) 70%, rgba(6,18,30,.30) 100%);
  transition: opacity var(--t-base); z-index:1;
}
.service-card:hover .service-card__img::after { background: linear-gradient(to top, rgba(8,40,66,.95) 0%, rgba(6,18,30,.5) 42%, rgba(6,18,30,.12) 75%, rgba(10,71,116,.30) 100%); }
.service-card__num {
  position:absolute; top:.9rem; right:1.1rem; z-index:3;
  font-size:1.05rem; font-weight:800; color:rgba(255,255,255,.55); letter-spacing:.05em;
  font-variant-numeric:tabular-nums;
}
.service-card:first-child .service-card__num { font-size:1.5rem; }
.service-card__body {
  position:absolute; inset:auto 0 0 0; z-index:3; padding:1.3rem 1.4rem; color:#fff;
}
.service-card:first-child .service-card__body { padding:2rem; }
.service-card__title { color:#fff; font-size:1.18rem; font-weight:800; letter-spacing:-.01em; margin:0 0 .35rem; }
.service-card:first-child .service-card__title { font-size:clamp(1.6rem,2.4vw,2.2rem); }
.service-card__desc {
  color:rgba(255,255,255,.74); font-size:.88rem; line-height:1.5; margin:0;
  max-height:0; opacity:0; overflow:hidden; transition: max-height var(--t-base), opacity var(--t-base), margin var(--t-base);
}
.service-card:first-child .service-card__desc { max-height:none; opacity:.85; margin-top:.4rem; }
.service-card:hover .service-card__desc { max-height:6rem; opacity:.85; margin-top:.5rem; }
.service-card__link {
  display:inline-flex; align-items:center; gap:.5rem; margin-top:.7rem;
  color:#7fc4ff; font-weight:700; font-size:.85rem;
}
.service-card__link .arrow { transition: transform var(--t-fast); }
.service-card:hover .service-card__link .arrow { transform:translateX(5px); }
/* roter Akzentstrich oben, der bei Hover einläuft */
.service-card::after {
  content:''; position:absolute; top:0; left:0; height:3px; width:0; background:var(--color-accent); z-index:4;
  transition: width var(--t-base); border:none; transform:none; background-image:none;
}
.service-card:hover::after { width:100%; }

/* Linde-Kachel ohne Bild */
.service-card--linde .service-card__img--linde {
  position:absolute; inset:0; background:linear-gradient(140deg, var(--color-primary) 0%, var(--primary-700) 100%);
}
.service-card--linde .service-card__img--linde::after {
  content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(6,18,30,.7), transparent 60%);
}
.linde-stamp { position:absolute; top:1.1rem; left:1.3rem; z-index:2; }
.linde-stamp__name { font-size:1.6rem; font-weight:900; letter-spacing:.05em; color:#fff; }
.linde-stamp__sub { font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.7); }

/* ============================================================
   STATS — dunkles Band mit Count-up
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
  padding-block: clamp(3.5rem, 6vw, 5.5rem); position:relative; overflow:hidden;
}
.stats::before {
  content:''; position:absolute; inset:0; opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 30%, transparent 80%);
}
.stats::after { content:none; }
.stats__grid { position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
.stat { text-align:center; position:relative; }
.stat:not(:last-child)::after { content:''; position:absolute; right:-1rem; top:15%; bottom:15%; width:1px; background:rgba(255,255,255,.12); }
.stat__num { font-size:clamp(2.4rem,4vw,3.4rem); font-weight:900; color:#fff; letter-spacing:-.02em; line-height:1; }
.stat__suffix { color:var(--color-accent-light); }
.stat__label { color:rgba(255,255,255,.62); font-size:.86rem; margin-top:.7rem; letter-spacing:.02em; }

/* ============================================================
   ABOUT-TEASER
   ============================================================ */
.about-teaser { background:#fff; }
.about-teaser__grid { display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.about-teaser__visual { position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-3); }
.about-teaser__img-real { width:100%; height:100%; object-fit:cover; aspect-ratio:4/5; display:block; }
.about-teaser__badge {
  position:absolute; right:1.2rem; bottom:1.2rem; background:linear-gradient(135deg,var(--color-primary),var(--primary-700));
  color:#fff; padding:1rem 1.3rem; border-radius:var(--r); box-shadow:var(--sh-blue); z-index:2;
}
.about-teaser__badge-num { font-size:1.5rem; font-weight:900; letter-spacing:-.01em; }
.about-teaser__badge-label { font-size:.72rem; opacity:.8; margin-top:.3rem; line-height:1.3; }
.about-teaser__lead { color:var(--color-text-muted); font-size:var(--fs-lead); line-height:1.7; margin:1.2rem 0 2rem; }
.about-teaser__features { display:grid; grid-template-columns:1fr 1fr; gap:1.3rem 1.6rem; margin-bottom:2.2rem; }
.feature { display:flex; gap:.9rem; align-items:flex-start; }
.feature__icon {
  flex:none; width:44px; height:44px; border-radius:var(--r); display:grid; place-items:center;
  background:var(--steel-100); color:var(--color-primary); border:1px solid var(--color-border);
}
.feature__icon svg { width:22px; height:22px; }
.feature__title { font-weight:700; color:var(--ink); font-size:.96rem; }
.feature__text { color:var(--color-text-muted); font-size:.84rem; margin-top:.2rem; line-height:1.45; }

/* ============================================================
   CTA-BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--primary-700) 70%, var(--ink) 100%);
  position:relative; overflow:hidden; padding-block: clamp(3.5rem,6vw,5rem);
}
.cta-banner::before {
  content:''; position:absolute; inset:0; opacity:.4;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:44px 44px; mask-image:radial-gradient(ellipse 70% 100% at 80% 50%, #000, transparent 70%);
}
.cta-banner::after { content:none; }
.cta-banner__inner { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-banner h2 { color:#fff; }
.cta-banner p { color:rgba(255,255,255,.82); margin-top:.5rem; }
.cta-banner__actions { display:flex; gap:1rem; flex-wrap:wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .services__header { grid-template-columns:1fr; }
  .services__grid { grid-template-columns:repeat(2,1fr); grid-auto-rows:240px; }
  .service-card:first-child { grid-column:span 2; grid-row:span 1; }
  .about-teaser__grid { grid-template-columns:1fr; }
  .about-teaser__visual { max-width:520px; }
  .hero__badges { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2)::after { content:none; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns:1fr; grid-auto-rows:230px; }
  .service-card:first-child { grid-column:span 1; grid-row:span 1; }
  .service-card__desc { max-height:6rem; opacity:.8; margin-top:.4rem; }
  .stats__grid { grid-template-columns:repeat(2,1fr); gap:2rem 1rem; }
  .stat::after { content:none !important; }
  .about-teaser__features { grid-template-columns:1fr; }
  .hero__badges { gap:.8rem; }
  .hero__badge-num { font-size:1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .service-card:hover .service-img { transform:none; }
}

/* ============================================================
   V6.1 — ECKIGER LOOK + ANGESCHNITTENE ECKE (CI-Chamfer)
   + Page-Hero mit Leistungs-Bild
   ============================================================ */
:root {
  --chamfer: 22px;
  --r:    2px;   /* eckiger: minimale Radien bei Interaktiv-Elementen */
  --r-lg: 0px;   /* Karten/Flächen scharfkantig */
}

/* ---- Globaler eckiger Look ---- */
.btn { border-radius: 2px; }
.certs__item { border-radius: 2px; }
.feature__icon { border-radius: 2px; }
.about-teaser__badge { border-radius: 0; }
.info-card, .cert-hint { border-radius: 0; }
.about-teaser__visual { border-radius: 0; }

/* ---- Bento-Kacheln: scharfkantig + untere rechte Ecke angeschnitten ----
   Kein box-shadow (würde clip-path durchscheinen) -> drop-shadow folgt der Schräge.
   Unten-rechts ist frei von Text/Nummer -> sicher gem. CLAUDE.md (kein Kind wird abgeschnitten). */
.service-card {
  border-radius: 0;
  /* bewusst re-aktivierte, SICHERE Schräge unten-rechts (dort kein Text/Nummer).
     Überschreibt die V5-Regel `clip-path:none !important`. */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%) !important;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%) !important;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(11,31,51,.18));
  transition: transform var(--t-base), filter var(--t-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  filter: drop-shadow(0 18px 34px rgba(11,31,51,.28));
}
/* Nummer: transparent statt weißem Badge-Kasten (überschreibt V1-Stil) */
.service-card__num {
  background: transparent !important;
  width: auto; height: auto; top: .9rem; right: 1.1rem;
}
/* roter Akzentstrich entlang der oberen Kante bei Hover (wird an der Schräge sauber beschnitten) */
.service-card::after {
  content:''; position:absolute; top:0; left:0; bottom:auto; right:auto;
  height:3px; width:0; background:var(--color-accent);
  background-image:none; transform:none;
  z-index:5; transition: width var(--t-base);
}
.service-card:hover::after { width:100%; }

/* ============================================================
   PAGE-HERO mit Leistungs-Bild (cineastisch, konsistent zum Home-Hero)
   ============================================================ */
.page-hero { background: var(--ink-deep); }
.page-hero--image { padding-block: clamp(3.5rem, 7vw, 6rem); }
.page-hero__bg {
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.page-hero--image::before {
  /* Lesbarkeits-Overlay (links satt -> rechts offen) + Farbstich */
  content:''; position:absolute; inset:0; z-index:1; width:100%; height:100%;
  background:
    linear-gradient(100deg, rgba(7,22,38,.94) 0%, rgba(7,22,38,.80) 38%, rgba(8,28,46,.5) 70%, rgba(8,28,46,.35) 100%),
    linear-gradient(0deg, rgba(7,18,30,.85) 0%, transparent 40%);
  background-image:
    linear-gradient(100deg, rgba(7,22,38,.94) 0%, rgba(7,22,38,.80) 38%, rgba(8,28,46,.5) 70%, rgba(8,28,46,.35) 100%),
    linear-gradient(0deg, rgba(7,18,30,.85) 0%, transparent 40%);
}
/* dekorativer Kreis (::after) auf dem Bild dezenter */
.page-hero--image::after { opacity:.5; z-index:1; }
.page-hero__inner { position:relative; z-index:3; }
.page-hero--image .page-hero__title { text-shadow:0 2px 24px rgba(0,0,0,.4); font-weight:900; letter-spacing:-.02em; }

/* Reduced motion: Bento-Hover ohne Transform */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform:none; }
}

/* ============================================================
   V6.2 — Formular-Funktion, Honeypot, Trapez-Quickcontact,
   eckiger Look auf Container
   ============================================================ */

/* Honeypot unsichtbar (für Menschen), bleibt für Bots im DOM */
.hp-field { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

/* Formular-Status (Erfolg/Fehler) */
.form-status {
  padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .95rem; line-height: 1.5; font-weight: 600;
  border-left: 4px solid var(--color-primary); background: var(--steel-100); color: var(--ink);
}
.form-status--ok  { border-left-color: #2d8a4e; background: #eaf6ee; color: #1d5e36; }
.form-status--err { border-left-color: var(--color-accent); background: #fdecec; color: #9a1d1d; }
.form-status[hidden] { display:none; }

/* ---- Quick-Contact als Trapez (nur Desktop): Ecke oben-links + unten-links ---- */
@media (min-width: 769px) {
  .quickcontact {
    clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    -webkit-clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    filter: drop-shadow(-6px 0 16px rgba(11,31,51,.20));
  }
}

/* ---- Eckiger CI-Look auf Container: scharfe Kanten + Schräge unten-rechts ---- */
.contact-form, .info-card, .cert-hint, .gas-item, .job, .map-card, .value-card, .cert-card {
  border-radius: 0;
}
/* Schräge unten-rechts auf die prominenten „Karten"-Container.
   box-shadow -> drop-shadow, damit der Schatten der Schräge folgt. */
.contact-form, .info-card, .cert-hint, .job {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
  box-shadow: none;
}
.contact-form { filter: drop-shadow(0 10px 26px rgba(11,31,51,.12)); }
.info-card    { filter: drop-shadow(0 10px 24px rgba(10,71,116,.18)); }
.cert-hint    { filter: drop-shadow(0 8px 20px rgba(11,31,51,.10)); }
.job          { filter: drop-shadow(0 6px 16px rgba(11,31,51,.10)); transition: transform var(--t-base), filter var(--t-base); }
.job:hover    { transform: translateY(-4px); box-shadow:none; filter: drop-shadow(0 16px 30px rgba(11,31,51,.18)); }
/* die alte ::after-Deko-Ecke auf info-card deaktivieren (jetzt echte Schräge) */
.info-card::after { display:none; }

/* gas-item: dezente Schräge unten-rechts (kleiner) */
.gas-item {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

/* ============================================================
   V6.3 — Karriere-Aufhübschung (Bild-Hero + echtes Teambild)
   ============================================================ */
.career-hero { background: var(--ink-deep); }
.career-hero__bg {
  position:absolute; inset:0; z-index:0;
  background: url(../img/services/schweisstechnik.jpg) center/cover no-repeat;
}
.career-hero__bg::after {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(7,22,38,.95) 0%, rgba(7,22,38,.82) 42%, rgba(8,28,46,.6) 100%),
    linear-gradient(0deg, rgba(7,18,30,.85) 0%, transparent 45%);
}
.career-hero::before {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.35;
  background-image:
    linear-gradient(rgba(120,170,210,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,210,.10) 1px, transparent 1px);
  background-size:54px 54px;
  mask-image: radial-gradient(ellipse 90% 80% at 25% 40%, #000 20%, transparent 75%);
}
.career-hero__inner { z-index:2; }

/* Benefits als Glas-Kacheln mit kleiner Schräge */
.career-hero__benefits .benefit {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 1.1rem 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

/* Teambild-Banner: Überschrift + Schräge + Schatten */
.team-banner__head { max-width: 720px; margin: 0 auto 1.8rem; text-align: center; }
.team-banner {
  border: none; box-shadow: none; margin: 0 0 1rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  filter: drop-shadow(0 18px 40px rgba(11,31,51,.20));
}

/* ============================================================
   V6.4 — Fix: Icons in "Direkter Draht" (info-card-Sidebar) hatten
   als einziger Icon-Kontext KEINE Größenbegrenzung -> liefen riesig auf.
   ============================================================ */
.info-card__contact a svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ============================================================
   V6.5 — Mobile-Menü Politur
   - Logo + X bleiben über dem Drawer sichtbar
   - echtes Vollbild auf Handys
   - Anfrage-CTA + Kontaktzeile füllen die Fläche sinnvoll
   ============================================================ */
.nav__mobile { display: none; }   /* Desktop: ausgeblendet */

@media (max-width: 960px) {
  /* Header (Logo + Burger/X) über das Nav-Overlay heben */
  .header { z-index: 90; }
  /* Bei offenem Menü: hohe Topbar weg, Header sauber an die Oberkante pinnen */
  body.nav-open .topbar { display: none; }
  body.nav-open .header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(11,31,51,.06);
  }
  /* Logo über das Nav-Overlay heben (gleicher Stacking-Context: Nav hat z=80) */
  .header__logo { position: relative; z-index: 95; }
  .nav {
    z-index: 80;
    padding: 5.25rem 1.75rem 6rem;   /* oben unter dem Header, unten frei vom Sticky-Bar */
  }
  .nav__link { font-size: 1.05rem; padding: 0.85rem 0; }

  .nav__mobile {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    margin-top: auto;                /* schiebt CTA + Kontakt nach unten */
    padding-top: 1.75rem;
  }
  .nav__cta {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  .nav__mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--color-border);
  }
  .nav__mobile-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .nav__mobile-contact a svg { width: 18px; height: 18px; flex: none; color: var(--color-primary); }
}

/* Handys: Menü echtes Vollbild statt 380px-Drawer */
@media (max-width: 560px) {
  .nav { max-width: none; width: 100%; }
}

/* ============================================================
   V6.6 — Mobile-Menü Feinschliff: Aktiv-Marker + Dropdown-Pfeile
   ============================================================ */
@media (max-width: 960px) {
  /* Menüpunkte leicht eingerückt, Platz für den Akzent-Balken */
  .nav__link { padding: 0.9rem 0 0.9rem 0.95rem; }

  /* Aktiver Punkt: sauberer roter Balken LINKS statt versetztem Unterstrich */
  .nav__link::after {
    left: 0; right: auto; top: 0.7rem; bottom: 0.7rem;
    width: 3px; height: auto;
    background: var(--color-accent);
    transform: scaleY(0); transform-origin: center;
    border-radius: 2px;
  }
  .nav__link.is-active::after,
  .nav__item--has-dropdown:hover > .nav__link:not(.is-active)::after { transform: scaleY(0); }
  .nav__link.is-active::after { transform: scaleY(1); }
  .nav__link.is-active { color: var(--color-primary); }

  /* Dropdown-Pfeil sauber zentriert (kein diagonaler translate-Versatz mehr) */
  .nav__toggle { color: var(--color-primary); border-radius: 3px; cursor: pointer; }
  .nav__toggle:active { background: var(--steel-100); }
  .nav__toggle::after {
    width: 8px; height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;            /* nach unten zeigender Pfeil optisch mittig */
    transition: transform var(--t-fast), margin var(--t-fast);
  }
  .nav__item--has-dropdown.is-expanded .nav__toggle::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .nav__item--has-dropdown.is-expanded .nav__toggle { color: var(--color-accent); }
}

/* ============================================================
   V6.7 — Feinschliff-Runde (Hero-Badges, Counter, Service-Hover)
   ============================================================ */
/* (1) Alle 4 Badges in EINER Reihe; Zahl über Label gestapelt -> Label
   bekommt die volle Badge-Breite und passt in max. 2 Zeilen. */
.hero__badges { grid-template-columns: repeat(4, 1fr); max-width: 820px; gap: 1.25rem; }
.hero__badge { flex-direction: column; align-items: flex-start; gap: 0.3rem; padding-left: 0.9rem; }
.hero__badge-label { max-width: 100%; }
@media (max-width: 700px) { .hero__badges { grid-template-columns: repeat(2, 1fr); } }

/* (2) Roter Marker: solider Balken über die volle Badge-Höhe (hängt nicht mehr) */
.hero__badge::before {
  background: var(--color-accent);
  top: 0; bottom: 0;
  width: 3px;
  border-radius: 2px;
}

/* (3) „Mehr erfahren" beim Card-Hover rot */
.service-card:hover .service-card__link { color: var(--color-accent-light); }
.service-card:hover .service-card__link .arrow { color: var(--color-accent-light); }

/* (4) Counter-Zahl mittig (stat__num ist flex -> war linksbündig) */
.stat__num { justify-content: center; }

/* (5) Dropdown bündig an die Navigationsleiste ansetzen (Desktop) */
@media (min-width: 961px) {
  .header__inner { padding-top: 0; padding-bottom: 0; min-height: var(--header-height); }
  .nav, .nav__list { align-self: stretch; }
  /* ALLE Nav-Items volle Höhe -> Aktiv-Unterstrich liegt exakt auf der Nav-Kante */
  .nav__item { align-self: stretch; display: flex; align-items: stretch; }
  .nav__link { display: flex; align-items: center; height: 100%; }
  .nav__link::after { bottom: 0; }   /* genau auf der Unterkante, kein Abstand */
  /* Dropdown linksbündig zum Menüpunkt (nicht zentriert/links versetzt) */
  .dropdown {
    top: 100%;
    left: 0;
    transform: translateY(0);
    margin-top: 0;
  }
  .nav__item--has-dropdown:hover .dropdown,
  .nav__item--has-dropdown:focus-within .dropdown {
    transform: translateY(0);
  }
  .dropdown::before { top: -2px; height: 2px; }
}

/* (11) Quick-Contact: an den Rand gedockt, Icons mittig, Aufklappen beim Hover.
   WICHTIG: Trapez-clip-path raus – es beschnitt die ausfahrenden Labels
   (Aufklappen unsichtbar) und verschob die Icons optisch nach rechts. */
@media (min-width: 769px) {
  .quickcontact {
    right: 0;                 /* an den Rand docken, kein Abstand */
    clip-path: none; -webkit-clip-path: none;
    filter: none;
    box-shadow: -6px 0 22px rgba(11,31,51,.16);
  }
  .quickcontact__item { width: 56px; height: 56px; }
  .quickcontact__icon { width: 56px; height: 56px; flex: 0 0 56px; }   /* quadratisch -> Icon exakt mittig */
  .quickcontact__icon svg { width: 24px; height: 24px; }
  .quickcontact__label { right: 56px; height: 56px; }
  .quickcontact__label .qc-short { display: none; }
  .quickcontact__label .qc-full  { display: inline; }
}
@media (max-width: 768px) {
  .quickcontact__label .qc-full  { display: none; }
  .quickcontact__label .qc-short { display: inline; }
}

/* (6) Leistungsunterseiten: Aufzählungspunkte bei „Was wir für Sie leisten" rot */
.service-detail__features .bullet-list li::before { background: var(--color-accent); }

/* (9) Karriere: Bewerbungs-Ablauf als nummerierter Flow mit Verbindungslinie */
.process__intro { max-width: 620px; margin: 1rem auto 0; color: var(--color-text-muted); font-size: var(--fs-lead); line-height: 1.7; }
.process-flow {
  list-style: none; margin: 3.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.process-flow__step { position: relative; text-align: center; padding: 0 0.5rem; }
.process-flow__step:not(:last-child)::after {
  content: ''; position: absolute; top: 38px; left: calc(50% + 46px); width: calc(100% - 92px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--color-primary) 0 7px, transparent 7px 14px);
  opacity: .4;
}
.process-flow__marker {
  position: relative; z-index: 1; width: 76px; height: 76px; margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  background: #fff; color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: var(--sh-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.process-flow__step:hover .process-flow__marker { transform: translateY(-4px); background: var(--color-primary); color: #fff; }
.process-flow__marker svg { width: 32px; height: 32px; }
.process-flow__num {
  position: absolute; top: -10px; left: -10px; z-index: 2;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--color-accent); color: #fff; font-weight: 800; font-size: 0.95rem;
}
.process-flow__title { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 0.5rem; }
.process-flow__text { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.55; max-width: 250px; margin: 0 auto; }
.process__cta { text-align: center; margin-top: 3.5rem; }

@media (max-width: 860px) {
  .process-flow { grid-template-columns: 1fr 1fr; gap: 2.75rem 1.5rem; }
  .process-flow__step::after { display: none; }   /* Verbindungslinie nur im 4er-Raster */
}
@media (max-width: 520px) {
  .process-flow { grid-template-columns: 1fr; }
}

/* (10) Kontakt: Google-Maps-Embed + Route-Button */
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed__route { margin-top: 1.1rem; }

/* ============================================================
   V6.8 — Einheitlicher CI-Look: ALLE Buttons mit abgeschrägter
   Ecke unten-rechts (wie Karten/Marker). box-shadow -> drop-shadow,
   damit der Schatten der Schräge folgt.
   ============================================================ */
.btn {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform var(--t-fast), filter var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn--primary { box-shadow: none; filter: drop-shadow(0 8px 18px rgba(10,71,116,.28)); }
.btn--primary:hover { box-shadow: none; filter: drop-shadow(0 12px 24px rgba(10,71,116,.40)); }
.btn--light { box-shadow: none; filter: drop-shadow(0 8px 16px rgba(11,31,51,.12)); }
.btn--light:hover { box-shadow: none; filter: drop-shadow(0 12px 22px rgba(11,31,51,.18)); }
/* Buttons ohne Füllung (Outline/Ghost): nur Schräge, kein Schatten */
.btn--outline, .btn--ghost-light { box-shadow: none; filter: none; }

/* ============================================================
   V6.9 — Mobile-Feinheiten
   ============================================================ */
@media (max-width: 768px) {
  /* Social-Icons über der Navigation entfernen – nur die schmale Kontaktzeile bleibt */
  .topbar__social { display: none; }

  /* Zertifizierungen NICHT neben „Zertifiziert nach" quetschen:
     Label oben, Badges darunter sinnvoll im Raster nebeneinander. */
  .certs__inner { flex-direction: column; align-items: center; gap: 1rem; }
  .certs__label { text-align: center; }
  .certs__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    width: 100%;
    max-width: 460px;
  }
  .certs__item { justify-content: center; }
}
@media (max-width: 330px) {
  .certs__list { grid-template-columns: 1fr; }
}

/* ============================================================
   V7.0 — eRecht24-Rechtstexte: Basisformatierung für API-HTML
   (Impressum/Datenschutz werden per erecht24.php nachgeladen)
   ============================================================ */
.legal-content h1, .legal-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--ink); }
.legal-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.8rem; color: var(--ink); }
.legal-content h4 { font-size: 1rem; margin: 1.3rem 0 0.6rem; color: var(--ink); }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { margin: 0 0 1rem 1.25rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--color-accent); }

/* ============================================================
   V7.1 — InGlory Agentur-Standard (wie Artearth / Epoxy by Oxi)
   Footer: credit-badge · Impressum: inglory-note
   ============================================================ */
.credit-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  background: var(--ink-deep);
  color: #fff !important;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: transform var(--t-fast), background var(--t-fast);
}
.credit-badge:hover { color: #fff !important; transform: translateY(-1px); background: #000; }
.credit-badge__sep { opacity: .45; }
.credit-badge strong { font-weight: 700; }
.credit-badge__mark { width: 16px; height: 16px; margin-left: .15rem; color: #fff; transition: color var(--t-base), transform var(--t-base); }
.credit-badge:hover .credit-badge__mark { color: var(--color-accent-light); transform: scale(1.12); }

.inglory-note {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 3rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  filter: drop-shadow(0 10px 26px rgba(11,31,51,.18));
  transition: filter var(--t-base);
}
.inglory-note:hover { filter: drop-shadow(0 14px 32px rgba(214,40,40,.22)); }
.inglory-note__mark { width: 36px; height: 36px; flex: none; color: #fff; margin-top: .15rem; transition: color var(--t-base), transform var(--t-base); }
.inglory-note:hover .inglory-note__mark { color: var(--color-accent-light); transform: scale(1.06); }
.inglory-note__label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.inglory-note__name { font-size: 1.12rem; font-weight: 700; margin-top: .3rem; color: #fff; }
.inglory-note__meta { display: grid; gap: .35rem; font-size: .85rem; line-height: 1.6; margin-top: .6rem; color: rgba(255,255,255,.9); }
.inglory-note__meta span { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.inglory-note__meta svg { width: 15px; height: 15px; flex: none; color: rgba(255,255,255,.72); }
.inglory-note__meta a { color: #7fc4ff; }
.inglory-note__meta a:hover { color: var(--color-accent-light); }
@media (max-width: 560px) {
  .inglory-note { flex-direction: column; gap: .9rem; padding: 1.3rem 1.2rem; }
}
