/* Baustoff-Transporte · Landingpage
   Keine externen Ressourcen: Systemschriften, keine Fonts oder Skripte von Dritten. */

:root {
  --red: #8e0000;
  --red-hi: #ad1010;
  --ink: #1a1c1f;
  --ink-2: #363a40;
  --muted: #646870;
  --bg: #f5f4f1;
  --surface: #ffffff;
  --stone: #e9e6e0;
  --line: #dcd8d1;
  --dark: #15171a;
  --on-dark: #eceae6;
  --on-dark-muted: #a7abb1;

  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(20, 22, 25, .06), 0 18px 40px -18px rgba(20, 22, 25, .35);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.45rem; letter-spacing: -.01em; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* Kennzeichnung: schräge Fläche wie im Logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ""; flex: none;
  width: 22px; height: 10px;
  background: currentColor;
  transform: skewX(-24deg);
}
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--red-hi); }

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.4rem;
  background: var(--red); color: #fff;
  border-radius: var(--radius);
  font-weight: 700; text-decoration: none; line-height: 1.2;
  overflow-wrap: anywhere;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--red-hi); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-small { padding: .6rem 1.05rem; font-size: .92rem; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--stone); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none; color: var(--ink);
}
.link-arrow span { transition: transform .2s; color: var(--red); }
.link-arrow:hover span { transform: translateX(4px); }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 241, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 24px -20px rgba(0, 0, 0, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand img { width: clamp(160px, 21vw, 228px); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--red); }

/* Einstieg */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lead { margin-top: 1.5rem; max-width: 34em; font-size: clamp(1.08rem, 1.4vw, 1.24rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

.hero-media { position: relative; isolation: isolate; aspect-ratio: 1 / .9; }
.hm { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-main { inset: 0 13% 20% 0; }
.hm-side { right: 0; bottom: 0; width: 44%; aspect-ratio: 1 / 1; border: 6px solid var(--bg); }
.hero-slant {
  position: absolute; z-index: -1;
  right: 4%; top: -7%; width: 40%; height: 62%;
  background: var(--red);
  transform: skewX(-14deg);
  border-radius: 2px;
}

/* Auf einen Blick */
.facts { background: var(--dark); color: var(--on-dark); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; flex-direction: column; gap: .35rem; padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 36px); }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, .12); }
.fact:first-child { padding-left: 0; }
.fact strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.fact span { color: var(--on-dark-muted); font-size: .98rem; }

/* Abschnitte */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-stone { background: var(--stone); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* Leistungen */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.5vw, 40px); align-items: start; }
.service { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-offset { margin-top: clamp(0px, 7vw, 88px); }
.service-media { aspect-ratio: 16 / 9; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.service:hover .service-media img { transform: scale(1.04); }
.service-body { position: relative; padding: clamp(28px, 3.5vw, 40px); padding-top: 44px; }
.service-body > p { margin-top: .75rem; color: var(--ink-2); }
.tag {
  position: absolute; top: -18px; left: clamp(28px, 3.5vw, 40px);
  display: inline-grid; place-items: center;
  width: 58px; height: 36px;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: .95rem; letter-spacing: .04em;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 12px; height: 6px; background: var(--red); transform: skewX(-24deg);
}

/* Betrieb */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.split-media { position: relative; aspect-ratio: 1 / .82; }
.sm { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.sm img { width: 100%; height: 100%; object-fit: cover; }
.sm-a { inset: 0 18% 16% 0; }
.sm-b { right: 0; bottom: 0; width: 42%; aspect-ratio: 1 / 1.1; border: 6px solid var(--stone); }
.split-copy p:not(.eyebrow) { margin-top: 1.1rem; color: var(--ink-2); max-width: 32em; }
.split-copy h2 + p { margin-top: 1.5rem; }

/* Bilder: langsam laufendes Band */
.gallery { padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.marquee {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; align-items: flex-start; gap: 16px; width: max-content; padding-inline: var(--gutter); }
.marquee figure {
  flex: none;
  height: clamp(180px, 24vw, 300px);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.marquee figure:nth-child(even) { margin-top: 36px; }
.marquee img { width: auto; height: 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.marquee figure:hover img { transform: scale(1.04); }
.marquee.is-animated { overflow: hidden; }
.marquee.is-animated .marquee-track { padding-inline: 0; animation: drift var(--duration, 90s) linear infinite; }
.marquee.is-animated:hover .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(calc(-50% - 8px)); } }

/* Stellenangebot */
.jobs { background: var(--red); color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.jobs::after {
  content: ""; position: absolute; right: -6%; top: -40%; width: 38%; height: 180%;
  background: rgba(255, 255, 255, .06); transform: skewX(-18deg); pointer-events: none;
}
.jobs-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem 4rem; }
.jobs h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.jobs p:not(.eyebrow) { margin-top: 1rem; max-width: 46em; color: rgba(255, 255, 255, .86); }
.jobs .btn { flex: none; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 7vw, 96px); align-items: end; }
.contact-mail {
  display: inline-block; margin-top: 2rem;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  font-size: clamp(1.35rem, 3.6vw, 2.6rem);
  color: var(--ink); text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 4px no-repeat;
  padding-bottom: .2em;
  transition: color .2s, background-size .3s;
}
.contact-mail:hover { color: var(--red); }
.contact-facts { margin: 0; display: grid; gap: 1.5rem; padding: clamp(24px, 3vw, 36px); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-facts dd { margin: .3rem 0 0; }
.contact-facts a { text-decoration: none; font-weight: 600; }
.contact-facts a:hover { color: var(--red); }

/* Fußzeile */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-block: 28px; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Rechtliche Seiten */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .6rem; letter-spacing: -.01em; }
.legal p + p { margin-top: .8rem; }
.legal .notice {
  margin-top: 2.5rem; padding: 4px clamp(18px, 3vw, 28px) clamp(18px, 3vw, 24px);
  background: var(--surface); border: 2px solid var(--red); border-radius: var(--radius);
}
.legal .notice h2 { margin-top: 1.25rem; color: var(--red); }
.legal-date { margin-top: 2.5rem; color: var(--muted); font-size: .92rem; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsiv */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .services { grid-template-columns: 1fr; }
  .service-offset { margin-top: 0; }
  .jobs-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .header-inner { height: 64px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:first-child { padding: 22px 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hm-main { inset: 0 8% 22% 0; }
  .hm-side { width: 46%; border-width: 4px; }
  .sm-b { border-width: 4px; }
  .marquee figure:nth-child(even) { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-media img, .marquee img { transition: none; }
}
