/* =========================================================
   ANDREAS BRENDLE CONCEPTS – Stylesheet
   Farbkonzept nach Flyer: Petrol / Gold / Weiß
   ========================================================= */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --petrol: #144d66;
  --petrol-dark: #0c3346;
  --petrol-deep: #082636;
  --petrol-light: #1f6888;
  --gold: #b98c3e;
  --gold-light: #d4aa5f;
  --ink: #26323a;
  --muted: #5b6870;
  --line: #dde4e8;
  --bg: #ffffff;
  --bg-soft: #f2f5f7;

  --font: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.title {
  font-size: clamp(32px, 4.4vw, 54px);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--petrol);
}
.rule { display: block; width: 56px; height: 3px; background: var(--gold); margin: 26px 0 28px; border: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; }
.on-dark .title, .on-dark h3 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-petrol:hover { background: var(--petrol-light); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--petrol); text-decoration: none;
}
.link-arrow::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 42px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
.brand-name { font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; color: #fff; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { width: 100%; }
.main-nav .btn { padding: 12px 22px; }

/* Sprachumschalter DE / EN */
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.lang-switch > * { padding: 5px 7px; line-height: 1; }
.main-nav .lang-switch a:not(.btn) { font-size: 13px; padding: 5px 7px; opacity: .7; transition: opacity .2s; }
.main-nav .lang-switch a:not(.btn):hover { opacity: 1; }
.main-nav .lang-switch a:not(.btn)::after { display: none; }
.lang-switch .lang-current { color: var(--gold-light); border: 1px solid currentColor; border-radius: 2px; }
.lang-switch .sep { padding: 0; opacity: .4; color: #fff; }
.site-header.scrolled .lang-switch .lang-current, .site-header.solid .lang-switch .lang-current { color: var(--gold); }
.site-header.scrolled .lang-switch .sep, .site-header.solid .lang-switch .sep { color: var(--petrol); }

/* Navigation auf mittleren Breiten (kleine Laptops, Tablets quer) kompakter */
.main-nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1320px) {
  .main-nav a:not(.btn) { letter-spacing: .08em; }
  .site-header .brand-name { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav { gap: 12px; }
  .main-nav a:not(.btn) { font-size: 12px; letter-spacing: .04em; }
  .main-nav .btn { padding: 10px 14px; }
  .lang-switch > *, .main-nav .lang-switch a:not(.btn) { padding: 4px 5px; font-size: 12px; }
}

.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(12,51,70,.35);
  --header-h: 72px;
}
.site-header.scrolled .logo-light, .site-header.solid .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.solid .logo-dark { display: block; }
.site-header.scrolled .brand-name, .site-header.solid .brand-name,
.site-header.scrolled .main-nav a:not(.btn), .site-header.solid .main-nav a:not(.btn) { color: var(--petrol); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px;
  position: relative; z-index: 60;
}
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span { background: var(--petrol); }
.nav-open .nav-toggle span { background: #fff !important; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--petrol-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0 0 0 38%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -2;
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--petrol-dark); }
.hero-slides > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease-in-out;
}
.hero-slides > .active { opacity: 1; animation: kenburns 9s linear forwards; }
.hero-slides > .leaving { opacity: 0; animation: kenburns-out 1.6s linear forwards; }

/* Konstruktionszeichnung (erstes Slide) */
.hero-slides > .blueprint {
  transform: none; animation: none;
  background-color: var(--petrol);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.hero-slides > .blueprint.active, .hero-slides > .blueprint.leaving { animation: none; }
.bp-drawing {
  position: absolute; right: 5%; top: 46%; transform: translateY(-50%);
  width: min(64%, 600px); height: auto; max-height: 72%;
  overflow: visible;
}
.bp-drawing .ln {
  fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.bp-drawing .ln.t { stroke-width: 1.2; stroke: rgba(255,255,255,.6); }
.bp-drawing .ln.g { stroke: var(--gold-light); stroke-width: 1.3; }
.bp-drawing .ln.c { stroke: var(--gold-light); stroke-width: 1; opacity: .8; }
.bp-drawing .bp-text { font-family: var(--font); font-size: 13px; letter-spacing: .08em; fill: var(--gold-light); opacity: 0; }
.blueprint.active .bp-drawing .ln { animation: draw 1.1s var(--ease) forwards; }
.blueprint.leaving .bp-drawing .ln, .blueprint.leaving .bp-text { stroke-dashoffset: 0; opacity: 1; }
.blueprint.active .bp-text { animation: bpText .8s ease 4.3s forwards; }
@keyframes bpText { to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.02) translate(-1.5%, -1%); } }
@keyframes kenburns-out { from { transform: scale(1.02) translate(-1.5%, -1%); } to { transform: scale(1) translate(-1.8%, -1.2%); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,51,70,.72), rgba(12,51,70,.18) 55%, rgba(12,51,70,.05)),
    linear-gradient(0deg, rgba(12,51,70,.55), transparent 35%);
}

/* Technische Linien im Flyer-Stil */
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-lines path, .hero-lines circle {
  fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) forwards;
}
.hero-lines .thin { stroke: rgba(255,255,255,.55); stroke-width: .8; opacity: .35; }
.hero-lines :nth-child(2) { animation-delay: .25s; }
.hero-lines :nth-child(3) { animation-delay: .6s; }
.hero-lines :nth-child(4) { animation-delay: .9s; animation-duration: 3.2s; }
.hero-lines :nth-child(5) { animation-delay: 1.2s; animation-duration: 3.2s; }
.hero-lines :nth-child(6), .hero-lines :nth-child(7) { animation-delay: 1.6s; }
.hero-lines :nth-child(8) { animation-delay: 1.9s; }
.hero-lines circle { transform-origin: 1080px 380px; transform: rotate(-90deg); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Slide-Beschriftung + Fortschritt */
.hero-slide-ui {
  position: absolute; z-index: 2; bottom: 112px;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex; align-items: center; gap: 18px;
}
.hero-slide-caption {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85);
  transition: opacity .5s;
}
.hero-slide-caption.fade { opacity: 0; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button {
  position: relative; width: 34px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.25); overflow: hidden;
}
.hero-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dots button.done::after { transform: scaleX(1); }
.hero-dots button.current::after { animation: progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* Gestaffelte Einblendung beim Laden */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.site-header .brand, .site-header .nav-toggle { animation: fadeDown .8s var(--ease) both; }
@media (min-width: 901px) {
  .site-header .main-nav { animation: fadeDown .8s var(--ease) .15s both; }
}
.hero .rule { transform-origin: left; animation: growX .8s var(--ease) .55s both; }
.hero-sub { animation: fadeUp .8s var(--ease) .7s both; }
.hero p.hero-text { animation: fadeUp .8s var(--ease) .85s both; }
.hero-actions { animation: fadeUp .8s var(--ease) 1s both; }
.hero-facts li { animation: fadeUp .8s var(--ease) both; }
.hero-facts li:nth-child(1) { animation-delay: 1.2s; }
.hero-facts li:nth-child(2) { animation-delay: 1.32s; }
.hero-facts li:nth-child(3) { animation-delay: 1.44s; }
.hero-slide-ui { animation: fadeUp .8s var(--ease) 1.6s both; }
.scroll-hint { animation: fadeUp .8s var(--ease) 1.8s both; }
.hero::before {
  /* diagonaler Petrol-Keil wie im Flyer */
  content: ""; position: absolute; z-index: -1;
  right: -6%; bottom: -1px; width: 46%; height: 34%;
  background: var(--petrol);
  clip-path: polygon(38% 100%, 100% 0, 100% 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  left: 0; top: 0; bottom: 0; width: 1px;
  background: transparent;
}
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 34px); padding-bottom: 110px; width: 100%; }
.hero-content { max-width: 640px; }
.hero .hero-title {
  font-size: clamp(44px, 7.4vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.hero .hero-title span { display: block; opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.hero .hero-title span:nth-child(2) { animation-delay: .12s; }
.hero .hero-title span:nth-child(3) { animation-delay: .24s; }
.hero .hero-title { margin: 0; }
.hero-kicker {
  font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5;
  color: var(--gold-light); margin: 0 0 22px;
  animation: fadeUp .8s var(--ease) .1s both;
}
.hero .rule { margin: 26px 0 20px; }
.hero-sub {
  font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 22px;
}
.hero p.hero-text { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.82); max-width: 50ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-facts {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-facts ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 56px; padding: 22px 0; }
.hero-facts li { display: flex; align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-facts strong { font-size: 26px; font-weight: 400; letter-spacing: 0; color: #fff; }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 90px;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.scroll-hint::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--petrol); color: #fff; overflow: hidden; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin: 0; }

/* Über uns */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-visual { position: relative; aspect-ratio: 1 / 1.02; }
.about-visual .diamond {
  position: absolute; inset: 0 8% 14% 0;
  clip-path: polygon(0 18%, 62% 0, 100% 62%, 34% 100%, 0 82%);
  overflow: hidden;
}
.about-visual .diamond img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .block {
  position: absolute; right: 0; bottom: 0; width: 56%; height: 46%;
  background: var(--petrol);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.about-visual .badge {
  position: absolute; right: 4%; bottom: 8%;
  background: #fff; padding: 22px 26px; border-left: 3px solid var(--gold);
  box-shadow: 0 20px 50px -20px rgba(12,51,70,.4);
}
.about-visual .badge strong { display: block; font-size: 46px; font-weight: 300; color: var(--petrol); line-height: 1; }
.about-visual .badge span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-text .highlight { color: var(--gold); font-weight: 500; font-size: 19px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 40px; }
.about-points li { border-top: 1px solid var(--line); padding-top: 16px; }
.about-points b { display: block; font-weight: 500; color: var(--petrol); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.about-points span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Porträt in "Über uns" */
.about-visual .diamond.portrait img { object-position: 50% 30%; }
.about-visual .badge strong.name, .about-visual .badge strong { font-size: clamp(24px, 2.4vw, 32px); }

/* Sondermaschinenbau – Kernkompetenz */
.sm-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sm-visual { position: relative; aspect-ratio: 1 / 1.08; }
.sm-main {
  position: absolute; left: 0; top: 0; width: 66%; height: 88%;
  overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.sm-sub {
  position: absolute; right: 0; bottom: 0; width: 58%; height: 50%;
  overflow: hidden; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  border-left: 0;
}
.sm-main img, .sm-sub img { width: 100%; height: 100%; object-fit: cover; }
.sm-visual::before {
  content: ""; position: absolute; right: 6%; top: 8%; width: 40%; height: 40%;
  background: var(--petrol); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); z-index: -1;
}
.sm-tag {
  position: absolute; left: 6%; bottom: 4%; max-width: 240px;
  background: var(--gold); color: #fff; padding: 18px 22px;
}
.sm-tag strong { display: block; font-size: 26px; font-weight: 400; text-transform: uppercase; line-height: 1.1; }
.sm-tag span { font-size: 14px; line-height: 1.4; display: block; margin-top: 4px; }

.competences { list-style: none; margin: 0; padding: 0; counter-reset: comp; display: grid; gap: 0; }
.competences li {
  counter-increment: comp; position: relative;
  padding: 26px 0 26px 74px; border-bottom: 1px solid var(--line);
}
.competences li:first-child { border-top: 1px solid var(--line); }
.competences li::before {
  content: "0" counter(comp);
  position: absolute; left: 0; top: 26px;
  font-size: 34px; font-weight: 300; line-height: 1; color: var(--gold);
}
.competences h3 { font-size: 22px; font-weight: 400; text-transform: uppercase; color: var(--petrol); margin-bottom: 8px; letter-spacing: .02em; }
.competences p { margin: 0; color: var(--muted); font-size: 16px; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--petrol-deep); }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-main { grid-column: span 2; aspect-ratio: 16 / 9; }
.v-tall { grid-column: 3; grid-row: 1 / span 2; }
.v-small { aspect-ratio: 16 / 9; }
.video-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(8,38,54,.85)); pointer-events: none;
}
.video-toggle {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(185,140,62,.92); display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s;
}
.video-toggle:hover { transform: scale(1.08); background: var(--gold-light); }
.video-toggle svg { width: 22px; height: 22px; fill: #fff; }
.video-toggle .i-pause { display: none; }
.video-card.playing .video-toggle .i-play { display: none; }
.video-card.playing .video-toggle .i-pause { display: block; }
.video-card:not(.playing) .video-toggle { top: 50%; right: 50%; transform: translate(50%, -50%); width: 72px; height: 72px; }
.video-card:not(.playing) .video-toggle svg { width: 30px; height: 30px; }
.video-card:not(.playing) .video-toggle:hover { transform: translate(50%, -50%) scale(1.08); }
.video-cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
}
.video-cta p { font-size: 20px; color: #fff !important; margin: 0; line-height: 1.35; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service {
  grid-column: span 2;
  position: relative;
  background: #fff;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(12,51,70,.45); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-media img { transform: scale(1.06); }
.service-num {
  position: absolute; top: 18px; left: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; color: #fff;
  background: var(--petrol); padding: 6px 10px;
}
.service-body { padding: 18px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 25px; text-transform: uppercase; color: var(--petrol); letter-spacing: .01em; }
.service .rule { margin: 18px 0 20px; width: 44px; }
.service ul li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid var(--line); font-size: 16px; }
.service ul li:last-child { border-bottom: 0; }
.service ul li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: translateY(-50%) rotate(45deg); }

/* Prozess */
.section-dark::before {
  content: ""; position: absolute; left: -10%; top: 0; width: 55%; height: 100%;
  background: var(--petrol-dark);
  clip-path: polygon(0 0, 70% 0, 30% 100%, 0 100%);
  opacity: .55;
}
.section-dark .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid rgba(255,255,255,.18); }
.step { padding: 40px 32px 10px 0; position: relative; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block; font-size: 15px; font-weight: 600; letter-spacing: .2em; color: var(--gold-light); margin-bottom: 26px;
}
.step::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg);
}
.step h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 14px; }
.step p { font-size: 16px; color: rgba(255,255,255,.72); }

/* Verfahren / Tabs */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.tab-list { display: flex; flex-direction: column; border-left: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 30px); }
.tab-btn {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px 0 16px 26px; margin-left: -1px;
  border-left: 3px solid transparent;
  font-size: 18px; font-weight: 400; color: var(--muted); letter-spacing: .02em;
  transition: color .25s, border-color .25s, padding .3s var(--ease);
}
.tab-btn:hover { color: var(--petrol); }
.tab-btn[aria-selected="true"] { color: var(--petrol); border-left-color: var(--gold); font-weight: 500; padding-left: 32px; }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; animation: fade .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
.tab-panel .media img { width: 100%; height: 100%; object-fit: cover; }
.tab-panel h3 { font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; color: var(--petrol); }
.tab-panel .claim { color: var(--gold); font-weight: 500; font-size: 18px; margin-top: 14px; }
.tab-panel p { color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.specs div { background: #fff; padding: 20px 16px; }
.specs strong { display: block; font-size: 24px; font-weight: 400; color: var(--petrol); line-height: 1.1; white-space: nowrap; }
.specs span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Nachhaltigkeit */
.green { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.green-cards { display: grid; gap: 18px; }
.green-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; padding: 28px 30px; border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.green-card .figure { font-size: 30px; font-weight: 300; color: var(--petrol); line-height: 1; }
.green-card h4 { font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--petrol); margin-bottom: 6px; }
.green-card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Referenzen / Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery button {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--petrol); border-radius: var(--radius);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.gallery button:hover img { transform: scale(1.06); opacity: .75; }
.gallery button::after {
  content: attr(data-caption);
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(8,38,54,.85));
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
}
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8,38,54,.94);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; animation: fade .3s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; width: 54px; height: 54px; display: grid; place-items: center; }
.lb-btn svg { width: 30px; height: 30px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Qualität */
.quality { display: grid; grid-template-columns: auto 1fr auto; gap: 50px; align-items: center; background: #fff; padding: 46px 52px; border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(12,51,70,.4); }
.quality img { width: 140px; border: 1px solid var(--line); }
.quality h3 { font-size: 30px; text-transform: uppercase; color: var(--petrol); margin-bottom: 10px; }
.quality p { margin: 0; color: var(--muted); }

/* Karriere */
.career { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.job {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(12,51,70,.45);
}
.job-head { background: var(--petrol); color: #fff; padding: 34px 40px; position: relative; overflow: hidden; }
.job-head::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 180px; background: var(--petrol-light); clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); opacity: .5; }
.job-head .tag { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.job-head h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; margin-top: 10px; position: relative; z-index: 1; }
.job-body { padding: 34px 40px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
.job-body h4 { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: 12px; }
.job-body li { position: relative; padding: 5px 0 5px 20px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.job-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.job-body .full { grid-column: 1 / -1; }
.job-foot { padding: 0 40px 40px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.contact-list { display: grid; gap: 26px; margin-top: 40px; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; text-decoration: none; }
.contact-list .ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.contact-list a:hover .ico { background: var(--gold); border-color: var(--gold); }
.contact-list svg { width: 21px; height: 21px; color: #fff; }
.contact-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.contact-list span { color: #fff; font-size: 18px; }
.socials { display: flex; gap: 12px; margin-top: 40px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .3s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 19px; height: 19px; fill: #fff; }

.form { background: #fff; color: var(--ink); padding: clamp(28px, 4vw, 50px); border-radius: var(--radius); position: relative; }
.form h3 { font-size: 28px; text-transform: uppercase; color: var(--petrol); margin-bottom: 8px; }
.form > p { color: var(--muted); font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  padding: 14px 16px; font-size: 16px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--petrol); background: #fff; box-shadow: 0 0 0 3px rgba(20,77,102,.12); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--petrol); }
.consent a { color: var(--petrol); }
.form .btn { margin-top: 24px; }
.form-note { font-size: 14px; margin-top: 14px; color: var(--petrol); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--petrol-deep); color: rgba(255,255,255,.7); padding: 80px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer img { height: 46px; width: auto; margin-bottom: 20px; }
.site-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); }

/* Rechtstexte */
.legal-hero { background: var(--petrol); color: #fff; padding: calc(var(--header-h) + 80px) 0 70px; position: relative; overflow: hidden; }
.legal-hero::after { content: ""; position: absolute; right: -5%; top: 0; bottom: 0; width: 40%; background: var(--petrol-dark); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; }
.legal { max-width: 820px; padding: 70px var(--gutter) 110px; margin: 0 auto; }
.legal h2 { font-size: 26px; text-transform: uppercase; color: var(--petrol); margin: 50px 0 16px; }
.legal h3 { font-size: 19px; font-weight: 500; color: var(--petrol); margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0 0 1em 1.2em; list-style: disc; }
.legal a { color: var(--petrol); word-break: break-word; }

/* Scroll-Reveal */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--gold); color: #fff; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { grid-column: span 1; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tab-btn { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 14px 18px; margin: 0 0 -1px; }
  .tab-btn[aria-selected="true"] { border-bottom-color: var(--gold); padding-left: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--petrol-dark);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav-open .main-nav { opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { font-size: 22px; color: #fff !important; }
  .lang-switch { font-size: 16px; }
  .main-nav .lang-switch a:not(.btn) { font-size: 16px; }
  .lang-switch .sep { color: #fff !important; }
  .lang-switch .lang-current { color: var(--gold-light) !important; }
  .nav-open .brand .logo-dark { display: none !important; }
  .nav-open .brand .logo-light { display: block !important; position: relative; z-index: 60; }
  .nav-open .brand-name { color: #fff !important; position: relative; z-index: 60; }

  .hero-media { inset: 0; clip-path: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(12,51,70,.6), rgba(12,51,70,.92) 70%); }
  .hero::before { width: 70%; height: 22%; }
  .hero-facts ul { grid-template-columns: 1fr; gap: 8px; }
  .scroll-hint { display: none; }
  .hero-slide-caption { display: none; }
  .hero-slide-ui { bottom: 176px; }
  .hero-dots button { width: 22px; }
  .hero-lines { opacity: .6; }
  .hero-inner { padding-bottom: 190px; }

  .section-head, .about, .green, .career, .contact { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; }
  .sm-feature { grid-template-columns: 1fr; }
  .sm-visual { max-width: 620px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .v-main { grid-column: 1 / -1; }
  .v-tall { grid-column: 1; grid-row: 2 / span 2; aspect-ratio: auto; }
  .v-small { grid-row: 2; }
  .video-cta { grid-row: 3; }
  .v-small { grid-column: 2; }
  .video-cta { grid-column: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel .media { aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .quality { grid-template-columns: 1fr; text-align: left; padding: 34px 28px; gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { display: none; }
  .services { grid-template-columns: 1fr; }
  .service-body { padding: 14px 24px 28px; }
  .about-points { grid-template-columns: 1fr; }
  .competences li { padding-left: 58px; }
  .competences li::before { font-size: 28px; }
  .competences h3 { font-size: 19px; }
  .sm-tag { max-width: 200px; padding: 14px 16px; }
  .sm-tag strong { font-size: 21px; }
  .video-grid { grid-template-columns: 1fr; }
  .v-main, .v-tall, .v-small, .video-cta { grid-column: auto; grid-row: auto; }
  .v-tall { aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .gallery .wide { grid-column: span 2; }
  .job-head, .job-body, .job-foot { padding-left: 24px; padding-right: 24px; }
  .job-body { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 10px; }
  .btn { padding: 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .hero-title span { opacity: 1; transform: none; }
}
