/* ================================================================
   KEIL ERDBAU — Walter Keil Transporte und Erdbewegungen GmbH & Co.KG
   Industrial Premium & Dynamic Motion
   ================================================================ */

:root {
  --blue: #5068B0;
  --blue-deep: #3A4F8F;
  --blue-soft: #E8ECF6;
  --ink: #0B0D12;
  --ink-2: #1A1D26;
  --slate: #4B5163;
  --muted: #8A8F9E;
  --line: #E5E7EE;
  --bg: #FFFFFF;
  --bg-alt: #F6F7FB;
  --bg-dark: #0B0D12;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 80px);

  --shadow-sm: 0 2px 12px rgba(11, 13, 18, 0.04);
  --shadow-md: 0 14px 40px rgba(11, 13, 18, 0.08);
  --shadow-lg: 0 30px 80px rgba(11, 13, 18, 0.14);
  --shadow-blue: 0 18px 50px rgba(80, 104, 176, 0.30);

  --radius: 0px;          /* sharp geometry per brief */
  --radius-sm: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  display: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-pad { padding-block: clamp(80px, 12vw, 160px); }
.downloads.section-pad { padding-top: clamp(40px, 6vw, 80px); }

.fullwidth-photo {
  width: 100%;
  height: clamp(420px, 60vw, 780px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============== HEADER ============== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: center;
  transition: padding .35s var(--ease);
  background: transparent;
}
.header.scrolled {
  background: transparent;
  padding-block: 12px;
}
.header__logo {
  display: flex; align-items: center;
  color: white;
}
.header__logo img { height: 63px; width: auto; filter: brightness(0) invert(1); }

.nav {
  display: flex; gap: 36px; align-items: center;
}
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  transition: color .25s var(--ease);
  position: relative;
}
.header.scrolled .nav a { color: var(--ink); }
.nav a:hover { color: var(--blue); }

.nav a.cta {
  background: var(--blue);
  color: white !important;
  padding: 12px 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav a.cta:hover { background: var(--blue-deep); }
.nav a.cta svg { width: 12px; height: 12px; }

@media (max-width: 980px) {
  .nav { display: none; }
}
.menu-btn {
  display: flex; flex-direction: column; gap: 8px;
  width: 72px; height: 72px;
  justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer;
  position: absolute; right: var(--gutter);
  z-index: 200;
}
.menu-btn span { width: 44px; height: 3px; background: white; transition: all .3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.02em;
  color: white;
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu a.cta {
  background: var(--blue);
  color: white;
  padding: 16px 40px;
  font-size: clamp(16px, 2vw, 24px);
}
.mobile-menu__close {
  position: absolute;
  top: 24px; right: var(--gutter);
  width: 72px; height: 72px;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 0;
}
.mobile-menu__close span {
  display: block;
  width: 44px; height: 3px;
  background: white;
}
.mobile-menu__close span:nth-child(1) { transform: translateY(1.5px) rotate(45deg); }
.mobile-menu__close span:nth-child(2) { transform: translateY(-1.5px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: white;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: 100px;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,8,12,0.42) 0%, rgba(6,8,12,0.22) 40%, rgba(6,8,12,0.04) 70%),
    radial-gradient(60% 80% at 75% 30%, rgba(80,104,176,0.10) 0%, transparent 60%),
    radial-gradient(80% 90% at 10% 100%, rgba(80,104,176,0.08) 0%, transparent 55%),
    linear-gradient(160deg, rgba(17,20,28,0.16) 0%, rgba(11,13,18,0.16) 60%, rgba(6,8,12,0.22) 100%);
}
.hero__bg::after {
  /* faint grain */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  pointer-events: none;
}

.hero__noise {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,0.015) 60px 61px),
    repeating-linear-gradient(0deg,  transparent 0 60px, rgba(255,255,255,0.012) 60px 61px);
  pointer-events: none;
}
.hero__chevrons {
  position: absolute;
  right: -12%;
  top: 8%;
  width: 72%;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}
.hero__chevrons-blue {
  position: absolute;
  right: -5%;
  bottom: -12%;
  width: 50%;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(80,104,176,0.6));
}
.hero__chevrons-stack {
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__eyebrow {
  color: white;
  margin-bottom: 28px;
  font-size: 13px;
}
.hero__eyebrow::before { background: white; }

.hero__company {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.hero__slogan {
  font-size: clamp(45px, 8.8vw, 134px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 12px;
}
.hero__slogan em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(180deg, #6F89D4 0%, #5068B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  font-size: clamp(13px, 1.2vw, 17px);
  margin-top: 28px;
  margin-bottom: 36px;
}

.hero__desc {
  max-width: 560px;
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 40px;
  transform: translateY(20%);
}
.stat { position: relative; padding-right: 116px; }
.stat + .stat { padding-left: 25px; border-left: 1px solid rgba(255,255,255,0.14); }
.stat__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: white;
  display: flex; align-items: baseline; gap: 4px;
}
.stat__num .plus { color: var(--blue); }
.stat__label {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  letter-spacing: 0.08em;
}
.stat__icon {
  display: block;
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 32px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
  z-index: 3;
}
.hero__scroll .line {
  width: 60px; height: 1px; background: rgba(255,255,255,0.3); position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 30%; height: 100%; background: var(--blue);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat + .stat { padding-left: 0; border-left: none; }
}

/* ============== SECTION HEADER ============== */
.sec-head {
  display: grid;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: 80px;
  align-items: end;
}
.sec-head__title {
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.sec-head__title em {
  font-style: normal;
  color: var(--blue);
}
.sec-head__lead {
  font-size: 19px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 620px;
}
.sec-head__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  grid-column: 1 / -1;
}
.sec-head__two-col .sec-head__lead {
  max-width: none;
  font-size: 17px;
}
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ============== LEISTUNGEN ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  grid-column: span 4;
  background: white;
  padding: 44px 36px 36px;
  position: relative;
  transition: all .35s var(--ease);
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.service:hover {
  background: var(--ink);
  color: white;
  z-index: 2;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.service:hover h3 { color: white; }
.service:hover .service__num { color: var(--blue); }
.service:hover .service__desc { color: rgba(255,255,255,0.7); }
.service:hover .service__arrow { background: var(--blue); color: white; transform: translate(4px, -4px); }

.service__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 28px;
  transition: color .3s;
}
.service h3 {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.service__desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
  flex: 1;
  transition: color .3s;
}
.service__arrow {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: 36px; right: 36px;
  transition: all .35s var(--ease);
}
.service__arrow svg { width: 16px; height: 16px; }

.service__chev {
  position: absolute;
  right: -20px; bottom: -30px;
  width: 130px;
  opacity: 0.04;
  transition: opacity .35s;
}
.service:hover .service__chev { opacity: 0.18; }

@media (max-width: 980px) {
  .service { grid-column: span 6; }
}
@media (max-width: 620px) {
  .service { grid-column: span 12; }
}

/* ============== AKTUELLES ============== */
.aktuelles {
  background: var(--blue);
  color: white;
  position: relative;
  overflow: hidden;
}
.aktuelles__chev {
  position: absolute;
  right: -5%; top: -30%;
  width: 70%;
  opacity: 0.10;
  pointer-events: none;
}
.aktuelles__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
.aktuelles h2 {
  color: white;
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.aktuelles p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}
.aktuelles .btn { background: white; color: var(--blue); }
.aktuelles .btn:hover { background: var(--ink); color: white; }
.aktuelles .eyebrow { color: white; }
.aktuelles .eyebrow::before { background: white; }

@media (max-width: 880px) {
  .aktuelles__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== BUTTON ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--blue);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--ink); color: white; border-color: var(--ink); }
.btn--dark { background: var(--ink); color: white; }
.btn--dark:hover { background: var(--blue); }

/* ============== TIMELINE / GESCHICHTE ============== */
.geschichte { background: var(--bg-alt); }
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 200px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 60px;
  padding: 40px 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.tl-row:last-child { border-bottom: none; }
.tl-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.tl-row::before {
  content: "";
  position: absolute;
  left: 194px;
  top: 56px;
  width: 14px; height: 14px;
  background: var(--blue);
  z-index: 2;
}
.tl-content { padding-left: 60px; padding-top: 8px; }
.tl-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}
.tl-content p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
}
.tl-quote {
  margin-top: 60px;
  padding: 50px 60px;
  background: white;
  border-left: 4px solid var(--blue);
  position: relative;
}
.tl-quote p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tl-quote .quote-mark {
  position: absolute;
  top: 30px; right: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 140px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.12;
  line-height: 1;
}

@media (max-width: 720px) {
  .timeline::before { left: 12px; }
  .tl-row { grid-template-columns: 1fr; gap: 12px; padding-left: 40px; }
  .tl-row::before { left: 6px; top: 12px; }
  .tl-content { padding-left: 0; }
  .tl-year { font-size: 32px; }
}

/* ============== TEAM small ============== */
.team-small {
  background: var(--ink);
  color: white;
}
.team-small__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.team-small h2 { color: white; font-size: clamp(36px,5vw,72px); }
.team-small p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 480px; margin-block: 20px 32px; }
.team-small__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team-small__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 880px) { .team-small__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ============== JOBS ============== */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}
.job {
  border: 1px solid var(--line);
  padding: 44px;
  background: white;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.job:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue); }
.job__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 28px;
}
.job h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.job__loc {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 32px;
  display: flex; gap: 14px; align-items: center;
}
.job__loc span { display: flex; gap: 6px; align-items: center; }
.job__loc svg { width: 14px; height: 14px; color: var(--blue); }
.job__block { margin-bottom: 24px; }
.job__block h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.job__block ul {
  list-style: none;
  display: grid; gap: 8px;
}
.job__block li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
}
.job__block li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--blue);
  margin-top: 7px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media (max-width: 880px) { .jobs-grid { grid-template-columns: 1fr; } }

/* ============== APPLICATION FORM ============== */
.bewerb {
  background: var(--bg-alt);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
.bewerb__chev {
  position: absolute;
  right: -10%; bottom: -40%;
  width: 60%;
  opacity: 0.05;
  pointer-events: none;
}
.bewerb h3 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.bewerb p { color: var(--slate); font-size: 16px; }
.bewerb__contact {
  margin-top: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.bewerb__contact span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.bewerb__contact a { color: var(--blue); text-decoration: none; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative; z-index: 2;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1/-1; }
.field label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-upload {
  border: 1px dashed var(--line);
  background: white;
  padding: 24px;
  display: flex; gap: 16px; align-items: center;
  cursor: pointer;
  transition: all .25s;
}
.field-upload:hover { border-color: var(--blue); background: white; }
.field-upload__icon {
  width: 44px; height: 44px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.field-upload__text { font-size: 14px; color: var(--slate); }
.field-upload__text strong { color: var(--ink); display: block; font-family: 'Montserrat'; font-weight: 700; }

@media (max-width: 880px) {
  .bewerb { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============== GALERIE ============== */
.galerie { background: var(--ink); color: white; }
.galerie h2, .galerie .sec-head__title { color: white; }
.galerie .sec-head__lead { color: rgba(255,255,255,0.7); }
.galerie .eyebrow { color: var(--blue); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 8px;
}
.tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease);
  background: var(--tile-bg, linear-gradient(135deg, #1A1D26 0%, #0B0D12 100%));
  isolation: isolate;
}
/* chevron layer (parallax-style decorative) */
.tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('assets/chevron-blue.svg');
  background-repeat: no-repeat;
  background-position: var(--chev-pos, 110% 60%);
  background-size: var(--chev-size, 110%);
  opacity: var(--chev-op, 0.16);
  transition: transform .8s var(--ease), opacity .4s;
  z-index: 0;
}
/* blueprint grid */
.tile::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  pointer-events: none;
}
.tile__num { display: none; }
.tile__big { display: none; }
.tile.t-lg .tile__big { font-size: clamp(80px, 11vw, 160px); }
.tile:hover { transform: translateY(-3px); }
.tile:hover::before { transform: scale(1.08) rotate(2deg); opacity: 0.28; }
.tile:hover .tile__big { color: rgba(80,104,176,0.35); }
.tile__label { display: none; }
.tile__label::before {
  content: "";
  position: absolute;
  inset: -60px -20px -20px -20px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,13,18,0.0) 30%, rgba(11,13,18,0.85) 100%);
  z-index: -1;
  pointer-events: none;
}
.tile__label span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tile.t-lg { grid-column: span 3; grid-row: span 2; }
.tile.t-md { grid-column: span 2; grid-row: span 2; }
.tile.t-sm { grid-column: span 2; grid-row: span 1; }
.tile.t-wide { grid-column: span 3; grid-row: span 1; }

@media (max-width: 980px) {
  /* At tablet the rich 6-col block pattern can't tile cleanly.
     Switch to a uniform 2-up grid so every row is guaranteed flush. */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .tile, .tile.t-lg, .tile.t-md, .tile.t-sm, .tile.t-wide {
    grid-column: span 1; grid-row: span 1;
  }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .tile, .tile.t-lg, .tile.t-md, .tile.t-sm, .tile.t-wide { grid-column: span 1; grid-row: span 1; }
}

/* ============== ACCORDION ============== */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 16px;
  cursor: pointer;
  transition: padding .3s;
}
.acc-head:hover .acc-title { color: var(--blue); }
.acc-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.acc-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .25s;
}
.acc-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.acc-icon svg { width: 16px; height: 16px; transition: transform .35s var(--ease); color: var(--ink); }
.acc-item.open .acc-icon { background: var(--blue); border-color: var(--blue); }
.acc-item.open .acc-icon svg { transform: rotate(45deg); color: white; }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
}
.acc-item.open .acc-body { max-height: 800px; }
.acc-body-inner {
  padding: 0 0 40px 112px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 32px;
}
.acc-body p {
  grid-column: 1/-1;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 760px;
}
.acc-body li {
  list-style: none;
  display: grid; grid-template-columns: 14px 1fr; gap: 12px;
  font-size: 15px;
  color: var(--slate);
}
.acc-body li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--blue);
  margin-top: 7px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.acc-cat-title {
  grid-column: 1/-1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.acc-cat-title:first-child { margin-top: 0; }

@media (max-width: 720px) {
  .acc-head { grid-template-columns: 1fr auto; gap: 16px; }
  .acc-num { display: none; }
  .acc-body-inner { padding-left: 0; }
}

/* ============== DOWNLOADS ============== */
.downloads { background: var(--bg-alt); overflow: hidden; }
.dl-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 380px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  margin-left: calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.dl-track::-webkit-scrollbar { height: 6px; }
.dl-track::-webkit-scrollbar-track { background: var(--line); }
.dl-track::-webkit-scrollbar-thumb { background: var(--blue); }
.dl-cat {
  background: white;
  padding: 36px 32px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  position: relative;
  border-top: 4px solid var(--blue);
}
.dl-cat__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.dl-cat__count {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 28px;
}
.dl-cat__list { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dl-cat__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--slate);
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: color .2s;
}
.dl-cat__list li:hover { color: var(--blue); }
.dl-cat__list li:hover svg { color: var(--blue); }
.dl-cat__list li svg { width: 14px; height: 14px; color: var(--muted); }

.dl-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.dl-nav button {
  width: 56px; height: 56px;
  background: white;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s;
}
.dl-nav button:hover { background: var(--blue); border-color: var(--blue); color: white; }
.dl-nav button svg { width: 16px; height: 16px; }

/* ============== KONTAKT ============== */
.kontakt-head { display: block; margin-bottom: 80px; }
.kontakt-head .kontakt-slogan {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 9vw, 140px);
  letter-spacing: -0.04em;
  line-height: 1.07;
  text-align: center;
  width: 100%;
}
.kontakt-head .kontakt-slogan em {
  font-style: normal;
  color: var(--blue);
}

.kontakt-simple {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.kontakt-simple__lead {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 30px;
}
.kontakt-simple__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
}
.kontakt-simple__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 16px;
}
.kontakt-simple__block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}
.kontakt-simple__block a {
  color: inherit;
  text-decoration: none;
}
.kontakt-simple__block a:hover { color: var(--blue); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.locations {
  display: grid; gap: 8px;
}
.loc {
  background: white;
  border: 1px solid var(--line);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: start;
  transition: all .3s;
  cursor: pointer;
}
.loc:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.loc.primary { background: var(--ink); color: white; border-color: var(--ink); }
.loc.primary .loc__name { color: white; }
.loc.primary .loc__meta { color: rgba(255,255,255,0.65); }
.loc.primary .loc__pin { background: var(--blue); }
.loc.primary .loc__chev { color: var(--blue); }
.loc__pin {
  width: 36px; height: 36px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.loc__pin svg { width: 14px; height: 14px; }
.loc__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.loc__meta {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}
.loc__meta strong { color: var(--ink); font-weight: 600; }
.loc__meta a { color: var(--ink); text-decoration: none; }
.loc__meta a:hover { color: var(--blue); }
.loc.primary .loc__meta strong { color: white; }
.loc__chev {
  font-family: 'Montserrat'; font-weight: 800;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; gap: 8px; align-items: center;
}

.kontakt-right {
  display: flex; flex-direction: column; gap: 32px;
}
.kontakt-form {
  background: var(--bg-alt);
  padding: 44px;
}
.kontakt-form h3 {
  font-size: 28px;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.map-frame {
  height: 280px;
  background: url('img/Screenshot_19.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
}
.map-pin {
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 2;
}
.map-pin__icon {
  width: 44px; height: 44px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 10px 24px rgba(80,104,176,0.4);
}
.map-pin__label {
  margin-top: 8px;
  background: white;
  padding: 6px 12px;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.map-pulse {
  position: absolute; top: 45%; left: 50%;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -100%);
  opacity: 0.18;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translate(-50%, -100%) scale(0.6); opacity: 0.4; }
  100% { transform: translate(-50%, -100%) scale(2.5); opacity: 0; }
}

@media (max-width: 980px) {
  .kontakt-grid, .kontakt-head { grid-template-columns: 1fr; gap: 32px; }
  .loc { grid-template-columns: 36px 1fr; }
  .loc__chev { grid-column: 2; margin-top: 8px; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 100px var(--gutter) 32px;
  position: relative;
  overflow: hidden;
}
.footer__chev {
  position: absolute;
  right: -10%; top: -30%;
  width: 60%;
  opacity: 0.05;
  pointer-events: none;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  position: relative; z-index: 2;
}
.footer__brand img { height: 78px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer__col h5 {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  max-width: var(--container); margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
  position: relative; z-index: 2;
}
.footer__legal { display: flex; gap: 28px; }
.footer__legal a { color: white; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============== UTILITIES & DIVIDER ============== */
.chev-divider {
  display: flex;
  justify-content: center;
  padding: 60px 0;
  background: var(--bg);
}
.chev-divider img { height: 22px; opacity: 0.85; }

.fadein {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fadein.in { opacity: 1; transform: none; }
