/* WEL-COME Diamant Bohr & Sägetechnik – Nachbau der Wix-Studio-Seite */
:root {
  --blue: #42aad4;
  --red: #e23f33;
  --darkred: #97231d;
  --field: #ededed;
  --black: #000;
  --white: #fff;
  --poppins: 'Poppins', Arial, sans-serif;
  --madefor: 'Wix Madefor Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --madefor-display: 'Wix Madefor Display', 'Wix Madefor Text', Arial, sans-serif;
  --secular: 'Secular One', 'Poppins', sans-serif;
  --helvetica: Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--poppins);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
ul { margin: 0; }
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 159px;
  padding: 24px 69px 0 70px;
}
.site-header.is-static { position: relative; }
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding: 0 19px 0 26px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 1.547px 6.188px 0 rgba(0, 0, 0, .6);
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--black); }
.brand img { width: 102px; height: 68px; object-fit: contain; }
.brand-claim {
  width: 249px;
  font-family: var(--poppins);
  font-size: 18.77px;
  line-height: 20.65px;
  padding-top: 18px;
}
.main-nav ul { display: flex; list-style: none; padding: 0; gap: 0; }
.main-nav li { padding: 0 12.5px; }
.main-nav a {
  display: block;
  padding: 2px 8px;
  font-family: var(--madefor);
  font-weight: 700;
  font-size: 17px;
  line-height: 23.8px;
  color: var(--black);
  text-decoration: none;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--black); margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 907px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: #000;
  overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; width: 905px; max-width: calc(100% - 32px); }
.hero h1 {
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 40.5px;
  line-height: 44.55px;
}
.hero .hero-sub {
  max-width: 725px;
  margin: 12px auto 0;
  font-size: 23.4px;
  line-height: 25.74px;
}
.hero .hero-sub.wide { max-width: 814px; line-height: 37.44px; margin-top: 12px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 21px; }
.hero-buttons.single { margin-top: 39px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 254px;
  height: 42px;
  padding: 0 16px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--madefor);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  transition: background-color .2s ease;
}
.btn:hover { background: #2f93bb; }
.btn.upper { text-transform: uppercase; }

/* ---------- Blaues Banner ---------- */
.banner {
  height: 139px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.banner img { width: 451px; height: 86px; object-fit: cover; }

/* ---------- Leistungen (4 Spalten) ---------- */
.services { padding: 74px 0 73px; text-align: center; }
.section-lead {
  font-weight: 500;
  font-size: 23.4px;
  line-height: 37.44px;
}
.section-lead + .section-sub { margin-top: -2px; }
.section-sub {
  color: var(--blue);
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 274px);
  justify-content: space-between;
  width: 1229px;
  max-width: calc(100% - 32px);
  margin: 36px auto 0;
}
.service img { width: 294px; max-width: none; height: 176px; object-fit: cover; margin: 0 -10px; }
.service h3 {
  margin-top: 14px;
  font-weight: 700;
  font-size: 16.2px;
  line-height: 21.06px;
}
.service p { font-weight: 300; font-size: 16.2px; line-height: 21.06px; }

.service-detail { text-align: left; padding: 0 9px; }
.service-detail h3, .service-detail > p { text-align: center; }
.service-detail .fit {
  margin-top: 20px;
  font-weight: 700;
  font-size: 16.2px;
  line-height: 21.06px;
}
.service-detail ul {
  margin-top: 18px;
  padding-left: 29px;
  font-size: 16.2px;
  line-height: 21.06px;
}
.service-detail ul.big li.l { font-size: 18px; line-height: 23.4px; }
.service-detail ul ul { margin-top: 0; padding-left: 29px; list-style: circle; }

/* ---------- Laufband-Galerie ---------- */
.marquee { overflow: hidden; padding: 42px 0; background: var(--white); }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  width: 215px; height: 161px;
  object-fit: cover;
  background: var(--field);
  flex: none;
}
.marquee.small .marquee-track { gap: 20px; }
.marquee.small .marquee-track img { width: 216px; height: 162px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Über uns (Startseite) ---------- */
.about-teaser { padding: 90px 16px 91px; text-align: center; }
.about-teaser h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 46.8px;
  text-transform: uppercase;
}
.about-teaser .text { max-width: 724px; margin: 19px auto 0; }
.about-teaser .text p, .light {
  font-weight: 300;
  font-size: 16px;
  line-height: 25.6px;
}
.about-teaser .text p + p { margin-top: 25.6px; }
.about-teaser .text p.tight { margin-top: 0; }
.certs { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; }
.certs img:nth-child(1), .certs img:nth-child(3) { width: 72px; height: 72px; object-fit: contain; }
.certs img:nth-child(2) { width: 139px; height: 72px; object-fit: cover; }
.about-teaser .btn { margin-top: 30px; }

/* ---------- Kundenbewertungen ---------- */
.reviews {
  position: relative;
  height: 264px;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, .17), rgba(0, 0, 0, .17)), url(../img/beton-hintergrund-wel-come.webp) center / cover #9fa0a3;
}
.reviews-track {
  display: flex;
  gap: 32px;
  padding: 22px 0;
  transition: transform .6s ease;
  will-change: transform;
}
.reviews-track img { width: 412px; height: 220px; flex: none; object-fit: contain; }
.arrow {
  position: absolute;
  top: 50%;
  width: 50px; height: 50px;
  margin-top: -25px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .9);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.arrow svg { width: 12px; height: 21px; fill: none; stroke: var(--red); stroke-width: 1.5; }
.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }

/* ---------- Warum wir ---------- */
.why {
  position: relative;
  height: 950px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(90deg, #000 41.33%, rgba(0, 0, 0, .39) 100%);
  overflow: hidden;
}
.why > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .72;
}
.why-line {
  position: absolute; left: 56px; top: 67px; bottom: 68px;
  width: 1px; background: rgba(255,255,255,.75); z-index: 1;
}
.why-inner { position: relative; z-index: 1; width: 642px; margin: 0 auto; padding-top: 124px; }
.why .kicker { font-family: var(--helvetica); font-size: 14.55px; line-height: 20.36px; }
.why h2 {
  margin-top: 5px;
  font-weight: 800;
  font-size: 21.82px;
  line-height: 30.55px;
}
.why .copy {
  width: 453px; margin: 18px auto 0;
  font-family: var(--helvetica);
  font-size: 13.09px;
  line-height: 18.33px;
}
.why .copy p + p { margin-top: 18.33px; }
.why .btn { margin-top: 15px; }

/* ---------- Kontakt-Bereich ---------- */
.contact {
  position: relative;
  min-height: 758px;
  background: linear-gradient(rgba(0, 0, 0, .17), rgba(0, 0, 0, .17)), url(../img/beton-hintergrund-wel-come.webp) center / cover #9fa0a3;
  display: grid;
  grid-template-columns: 748px 1fr;
}
.contact-text { padding: 189px 0 0 116px; }
.contact-text h2 {
  max-width: 470px;
  font-family: var(--secular);
  font-size: 34.2px;
  line-height: 37.62px;
  letter-spacing: 1.71px;
}
.contact-text .copy { max-width: 541px; margin-top: 14px; }
.contact-text .copy p {
  font-size: 16.2px;
  line-height: 24.3px;
  letter-spacing: .81px;
}
.contact-text .copy p + p { margin-top: 24.3px; }
.contact-form-wrap { padding: 62px 0 62px 44px; }

.form-card {
  width: 576px;
  max-width: 100%;
  padding: 24px 24px 24px;
  background: var(--white);
  border-radius: 16px;
}
.has-shadow .form-card { box-shadow: 2.78px 2.88px 12px 1px rgb(131, 131, 131); }
.is-jobs .contact-text { padding-top: 171px; }
.is-jobs .contact-form-wrap { padding: 150px 0 62px 58px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .form-label {
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .phone-wrap {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--field);
  font: 16px var(--poppins);
  color: var(--black);
  outline: none;
  transition: border-color .2s ease;
}
.form-field textarea { height: 92px; padding: 8px 12px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .phone-wrap:focus-within { border-color: var(--blue); }
.form-field input.invalid, .form-field textarea.invalid, .phone-wrap.invalid { border-color: var(--red); }
.phone-wrap { display: flex; align-items: center; padding: 0 0 0 12px; }
.phone-wrap select {
  width: 46px; flex: none;
  border: 0; background: transparent;
  font: 14px var(--poppins);
  appearance: none;
  padding-right: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000'/%3E%3C/svg%3E") right center no-repeat;
  cursor: pointer;
}
.phone-wrap input { border: 0; background: transparent; height: 38px; padding: 0 12px 0 6px; }
.upload-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; width: 189px;
  padding: 0 15px;
  background: var(--darkred);
  color: var(--white);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}
.upload-btn svg { width: 24px; height: 24px; fill: currentColor; opacity: 0; }
.upload-names { margin-top: 6px; font-size: 13px; line-height: 18px; color: #555; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 300; font-size: 16px; line-height: 24px; }
.consent input {
  appearance: none;
  flex: none;
  width: 16px; height: 16px;
  margin: 4px 0 0;
  border: 1px solid rgba(226, 63, 51, .6);
  background: var(--white);
  cursor: pointer;
  display: grid; place-content: center;
}
.consent input:checked { background: var(--red); border-color: var(--red); }
.consent input:checked::after {
  content: ''; width: 9px; height: 5px;
  border: solid #fff; border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translate(1px, -1px);
}
.consent input.invalid { border-color: var(--red); box-shadow: 0 0 0 2px rgba(226,63,51,.25); }
.consent a { text-decoration: underline; }
.submit-btn {
  width: 252px; height: 41px;
  border: 0; border-radius: 100px;
  background: var(--red);
  color: var(--white);
  font-weight: 300;
  font-size: 16px;
  transition: background-color .2s ease, opacity .2s ease;
}
.submit-btn.wide { width: 100%; }
.submit-btn:hover { background: #c9322a; }
.submit-btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 14px; line-height: 20px; min-height: 0; }
.form-status.ok { color: #1f7a3a; }
.form-status.err { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); }
.footer-main {
  display: flex;
  align-items: flex-start;
  padding: 72px 61px 26px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-logo { width: 234px; height: 188px; object-fit: contain; flex: 0 1 234px; min-width: 0; }
.footer-col { margin-left: clamp(24px, 7vw, 101px); width: 253px; flex: 0 1 253px; min-width: 0; }
.footer-col + .footer-col { margin-left: clamp(24px, 4.7vw, 68px); width: 191px; flex-basis: 191px; }
.footer-col .footer-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--red);
  margin-bottom: 24px;
}
.footer-col p, .footer-col a.mail {
  font-weight: 300;
  font-size: 18px;
  line-height: 28.8px;
}
.footer-col p + p { margin-top: 23px; }
.footer-col a.mail { display: block; width: 118px; margin-top: 25px; text-decoration: none; }
.footer-col a.mail:hover { color: var(--red); }
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav li { padding: 2px 8px; height: 41px; }
.footer-nav a {
  font-weight: 300;
  font-size: 18px;
  line-height: 25.2px;
  color: var(--red);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--black); }
.footer-nav a[aria-current="page"] { color: var(--black); }
.map-box {
  position: relative;
  flex: 0 1 439px;
  min-width: 0;
  margin-left: 32px;
  width: 439px; height: 300px;
  border: 1px solid rgba(226, 63, 51, .3);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  padding: 20px 21px;
  text-align: center;
  color: var(--red);
  font-weight: 300;
  font-size: 16px;
  line-height: 25.6px;
}
.map-placeholder svg { width: 17px; height: 17px; margin: 0 auto 13px; display: block; stroke: var(--red); fill: none; }
.map-placeholder button {
  border: 0; background: none; padding: 0;
  color: var(--darkred);
  font-weight: 300;
  text-decoration: underline;
}
.footer-bar {
  max-width: 1331px;
  margin: 18px auto 0;
  border-top: 2px solid var(--red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px 29px;
}
.footer-bar nav { display: flex; gap: 20px; }
.footer-bar a, .footer-bar button, .footer-bar p {
  font-weight: 300;
  font-size: 16px;
  line-height: 25.6px;
  color: var(--black);
  text-decoration: none;
  background: none; border: 0; padding: 0;
}
.footer-bar a:hover, .footer-bar button:hover { color: var(--red); }

/* ---------- Leistungen: Ablauf ---------- */
.process { position: relative; height: 381px; max-width: 1440px; margin: 0 auto; }
.process-badge {
  position: absolute; left: 5.347%; top: 145px;
  width: 196px; height: 75px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border-radius: 22.77px;
  box-shadow: 0 1.125px 4.5px 0 rgba(0,0,0,.6);
  font-family: var(--madefor-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 31px;
  text-align: center;
  z-index: 1;
}
.process-line { position: absolute; left: 18.958%; top: 184px; width: 71.250%; height: 3px; background: var(--black); }
.process-icon { position: absolute; left: 90.347%; top: 151px; width: 72px; height: 60px; object-fit: contain; }
.step { position: absolute; padding-left: 16px; border-left: 3px solid var(--black); }
.step h3 {
  font-family: var(--madefor);
  font-weight: 700;
  font-size: 18px;
  line-height: 19.8px;
  color: var(--blue);
}
.step p { margin-top: 6px; font-weight: 300; font-size: 16.2px; line-height: 17.82px; }
.step.up { top: 91px; height: 94px; }
.step.down { top: 187px; height: 95px; padding-top: 22px; }
.step.s1 { left: 21.667%; width: 22.917%; }
.step.s2 { left: 24.375%; width: 25.000%; }
.step.s3 { left: 48.889%; width: 28.472%; }
.step.s4 { left: 49.722%; width: 25.000%; }
.step.s5 { left: 74.097%; width: 22.917%; }

/* ---------- Leistungen: Partner + Stärken ---------- */
.partner {
  position: relative;
  height: 728px;
  background: linear-gradient(rgba(0, 0, 0, .17), rgba(0, 0, 0, .17)), url(../img/beton-hintergrund-wel-come.webp) center / cover #9fa0a3;
  border-bottom: 1px solid #555;
}
.partner-text { position: absolute; left: 136px; top: 262px; width: 526px; }
.partner-text h2 {
  font-family: var(--secular);
  font-size: 40.5px;
  line-height: 44.55px;
  letter-spacing: 2.03px;
}
.partner-text .copy { width: 445px; margin-top: 18px; }
.partner-text .copy p { font-size: 16.2px; line-height: 24.3px; letter-spacing: .81px; }
.partner-text .copy p + p { margin-top: 24.3px; }
.strengths {
  position: absolute; left: 809px; top: 101px;
  width: 495px; height: 555px;
  padding: 29px 39px 0;
  border-radius: 45.54px;
  background: var(--blue);
  box-shadow: 0 1.13px 4.55px 0 rgba(0,0,0,.6);
  color: var(--white);
}
.strengths h2 {
  font-family: var(--secular);
  font-size: 30px;
  line-height: 33px;
  text-align: center;
}
.strengths ul { list-style: none; padding: 0; margin-top: 24px; }
.strengths li {
  display: flex; align-items: center; gap: 22px;
  min-height: 50px;
  font-size: 17px;
  line-height: 18.7px;
}
.strengths li + li { margin-top: 18px; }
.strengths li svg { width: 50px; height: 50px; flex: none; fill: none; stroke: #fff; stroke-width: 3; }
.strengths li span { width: 343px; }

/* ---------- Leistungen: Projekte ---------- */
.project { height: 567px; position: relative; max-width: 1440px; margin: 0 auto; }
.project-text { position: absolute; left: 102px; top: 0; bottom: 0; width: 516px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.project-text h3 {
  font-weight: 700;
  font-size: 31.27px;
  line-height: 40.65px;
}
.project-text .copy { margin-top: 21px; }
.project-text .copy p { font-weight: 300; font-size: 18px; line-height: 28.8px; }
.project-text .copy p + p { margin-top: 28.8px; }
.project-text .press {
  display: inline-block;
  margin-top: 28.8px;
  font-weight: 300; font-size: 18px; line-height: 25px;
  font-style: italic;
  text-decoration: underline;
}
.gallery { position: absolute; left: 833px; top: 85px; width: 499px; height: 397px; display: flex; gap: 10px; }
.gallery-thumbs {
  width: 120px; height: 397px; flex: none;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.gallery-thumbs button {
  flex: none;
  width: 120px; height: 120px;
  padding: 0; border: 0;
  background: var(--white) center / cover no-repeat;
  opacity: 1;
  transition: opacity .2s ease;
}
.gallery-thumbs button[aria-current="true"] { opacity: .5; }
.gallery-thumbs { padding-top: 5px; }
.gallery-main { position: relative; width: 369px; height: 397px; overflow: hidden; flex: none; }
.gallery-main .slides { display: flex; height: 100%; transition: transform .5s ease; }
.gallery-main .slides img { width: 369px; height: 397px; flex: none; object-fit: cover; }
.gallery-main .arrow { right: 23px; }
.gallery-main .arrow.prev { left: 18px; right: auto; display: none; }

/* ---------- Karriere ---------- */
.jobs { position: relative; height: 816px; max-width: 1440px; margin: 0 auto; }
.jobs-left { position: absolute; left: 143px; top: 214px; width: 465px; text-align: center; color: var(--red); }
.jobs-left h2 { font-weight: 600; font-size: 58.79px; line-height: 64.67px; text-align: left; }
.jobs-left p { width: 350px; margin: -4px auto 0; font-size: 28.76px; line-height: 31.63px; }
.jobs-left img { width: 294px; height: 196px; object-fit: contain; margin: 37px auto 0; }
.jobs-right { position: absolute; left: 690px; top: 84px; width: 607px; }
.jobs-right h3 { font-weight: 700; font-size: 20.36px; line-height: 32.58px; }
.jobs-right ul { padding-left: 37px; margin: 0; }
.jobs-right li { font-weight: 300; font-size: 20.36px; line-height: 32.58px; }
.jobs-right .spacer { height: 32.58px; }

/* ---------- Über uns ---------- */
.about-full { position: relative; height: 649px; max-width: 1440px; margin: 0 auto; }
.about-full .text { position: absolute; left: 4.028%; top: 44px; width: 42.014%; text-align: center; }
.about-full h2 { font-weight: 700; font-size: 36px; line-height: 46.8px; text-transform: uppercase; }
.about-full .copy { width: 97.4%; margin: 19px auto 0; }
.about-full .copy p { font-weight: 300; font-size: 14.4px; line-height: 23.04px; }
.about-full .copy p + p { margin-top: 23.04px; }
.about-full .copy p.tight { margin-top: 0; }
.about-full .copy .motto { color: var(--red); font-weight: 500; }
.about-full .photo {
  position: absolute; left: 53.958%; top: 98px;
  width: 42.083%; height: auto; aspect-ratio: 606 / 454; object-fit: cover;
  box-shadow: 0 6px 22px rgba(66, 90, 180, .35);
}
.timeline { text-align: center; padding: 32px 0 86px; }
.timeline h2 { font-weight: 700; font-size: 36px; line-height: 46.8px; text-transform: uppercase; }
.timeline .sub { font-size: 22.5px; line-height: 29.25px; color: var(--red); text-transform: uppercase; }
.timeline img { width: 1426px; max-width: calc(100% - 14px); height: auto; margin: 49px auto 0; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 116px 0 86px; }
.legal-inner { max-width: 1440px; margin: 0 auto; padding-left: 197px; display: grid; grid-template-columns: 330px 827px; }
.legal-logo { width: 192px; height: 154px; object-fit: contain; margin: 45px 0 0; }
.legal-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 0 45px 9px rgba(0, 0, 0, .05);
  padding: 45px 58px 58px;
}
.legal-card h1 {
  font-family: var(--helvetica);
  font-weight: 300;
  font-size: 40.73px;
  line-height: 50px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--blue);
  margin-bottom: 13px;
}
.legal-card p, .legal-card li { font-weight: 300; font-size: 14.55px; line-height: 23.27px; overflow-wrap: anywhere; }
.legal-card strong { font-weight: 600; }
.legal-card h2 { font-weight: 600; font-size: 14.55px; line-height: 23.27px; margin-top: 23.27px; }
.legal-card h3 { font-weight: 600; font-size: 14.55px; line-height: 23.27px; margin-top: 23.27px; }
.legal-card p + p { margin-top: 23.27px; }
.legal-card p.tight { margin-top: 0; }
.legal-card ul { padding-left: 22px; margin: 0; }
.legal-card a { text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { padding: 260px 16px 140px; text-align: center; }
.notfound h1 { font-weight: 600; font-size: 40.5px; line-height: 44.55px; }
.notfound p { margin: 16px auto 28px; max-width: 560px; font-size: 18px; line-height: 28px; font-weight: 300; }

/* ---------- Cookie-Banner (Usercentrics-Aufbau) ---------- */
.cc-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.cc-backdrop.open { display: flex; }
.cc-modal {
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  color: #303030;
  border-top: 4px solid var(--blue);
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  font-family: var(--poppins);
}
.cc-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 24px 32px 22px;
}
.cc-tabs { display: flex; gap: 24px; border-bottom: 1px solid #ddd; margin-bottom: 12px; }
.cc-tab {
  border: 0; background: none; padding: 6px 0 8px;
  font-weight: 600; font-size: 15px; color: #303030;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.cc-tab[aria-selected="true"] { border-bottom-color: var(--red); color: var(--black); }
.cc-title { font-weight: 700; font-size: 16px; line-height: 24px; margin-bottom: 4px; }
.cc-text { font-size: 13.5px; line-height: 20px; }
.cc-links { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.cc-links a { color: var(--blue); text-decoration: underline; }
.cc-toggles { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 16px; }
.cc-toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.cc-switch { position: relative; width: 44px; height: 24px; flex: none; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch span {
  position: absolute; inset: 0; border-radius: 24px;
  background: #303030; transition: background-color .2s ease;
}
.cc-switch span::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); transition: transform .2s ease;
}
.cc-switch input:checked + span { background: var(--blue); }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-switch input:disabled + span { background: #b7b7b7; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.cc-details { display: none; }
.cc-details.active, .cc-consent.active { display: block; }
.cc-consent { display: none; }
.cc-cat { border-bottom: 1px solid #eee; padding: 10px 0; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-cat-name { font-size: 14px; font-weight: 700; }
.cc-cat p { font-size: 13px; line-height: 19px; margin-top: 4px; }
.cc-cat ul { font-size: 12.5px; line-height: 18px; margin-top: 4px; padding-left: 18px; }
.cc-buttons { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cc-buttons button {
  height: 48px; border: 0;
  background: var(--blue);
  color: var(--white);
  font-weight: 600; font-size: 14px;
  transition: background-color .2s ease;
}
.cc-buttons button:hover { background: #2f93bb; }

/* ---------- Responsiv ---------- */
@media (max-width: 1360px) {
  .site-header { padding: 24px 24px 0; }
  .main-nav li { padding: 0 4px; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .service img { width: 100%; margin: 0; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact-text { padding-left: 48px; }
  .footer-main { padding: 72px 32px 26px; }
  .footer-col, .footer-col + .footer-col { margin-left: 32px; width: auto; flex: 1; }
  .map-box { width: 360px; margin-left: 32px; }
  .footer-logo { width: 200px; }
  .process, .project, .jobs, .about-full, .partner { height: auto; }
  .process { padding: 60px 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .process-badge { position: static; grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; }
  .process-line, .process-icon { display: none; }
  .step, .step.up, .step.down { position: static; width: auto; height: auto; padding-top: 0; }
  .partner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 80px 48px; }
  .partner-text, .strengths { position: static; width: auto; height: auto; }
  .strengths { padding: 29px 32px 32px; }
  .strengths h2 { margin: 0 auto; }
  .partner-text .copy { width: auto; }
  .project { display: grid; grid-template-columns: 1fr 499px; gap: 40px; padding: 85px 48px; }
  .project-text, .gallery { position: static; width: auto; }
  .gallery { width: 499px; }
  .jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 84px 48px; }
  .jobs-left, .jobs-right { position: static; width: auto; }
  .jobs-left { padding-top: 130px; }
  .about-full { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px 48px; }
  .about-full .text, .about-full .photo { position: static; width: 100%; }
  .about-full .copy { width: auto; }
  .about-full .photo { height: auto; aspect-ratio: 606 / 454; margin-top: 54px; }
  .legal-inner { grid-template-columns: 240px 1fr; padding: 0 32px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 24px; right: 24px; top: 140px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 1.547px 6.188px rgba(0,0,0,.6);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 0; }
  .main-nav li { padding: 0; }
  .main-nav a { padding: 12px 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .contact { grid-template-columns: 1fr; }
  .contact-text { padding: 80px 32px 0; }
  .contact-form-wrap { padding: 32px 32px 80px; }
  .form-card { margin: 0 auto; }
  .footer-main { flex-wrap: wrap; row-gap: 32px; }
  .footer-col, .footer-col + .footer-col { margin-left: 0; flex: 1 1 40%; }
  .footer-logo { flex-basis: 100%; object-position: left; }
  .footer-main .map-box { width: 100%; margin-left: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .partner, .project, .jobs, .about-full { grid-template-columns: 1fr; padding-left: 32px; padding-right: 32px; }
  .project { padding-top: 60px; padding-bottom: 20px; }
  .gallery { width: 100%; max-width: 499px; }
  .jobs-left { padding-top: 0; }
  .about-full .photo { margin-top: 0; }
  .legal-inner { grid-template-columns: 1fr; padding: 0 16px; }
  .legal-logo { margin: 0 auto 32px; }
  .cc-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px 16px 0; height: auto; }
  .header-box { height: 80px; padding: 0 12px 0 16px; }
  .brand img { width: 78px; height: 52px; }
  .main-nav { left: 16px; right: 16px; top: 104px; }
  .hero { height: 640px; }
  .hero h1 { font-size: 30px; line-height: 34px; }
  .hero .hero-sub, .hero .hero-sub.wide { font-size: 17px; line-height: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn { width: 254px; max-width: 100%; }
  .banner { height: auto; padding: 24px 16px; }
  .banner img { width: 100%; max-width: 451px; height: auto; aspect-ratio: 451 / 86; }
  .services { padding: 56px 0; }
  .section-lead { font-size: 19px; line-height: 28px; padding: 0 16px; }
  .service-grid { grid-template-columns: 1fr; max-width: 320px; }
  .about-teaser { padding: 64px 16px; }
  .about-teaser h2, .about-full h2, .timeline h2 { font-size: 28px; line-height: 36px; }
  .reviews { height: auto; }
  .reviews-track { gap: 16px; padding: 22px 16px; }
  .reviews-track img { width: calc(100vw - 32px); height: auto; aspect-ratio: 412 / 220; }
  .why { height: auto; padding: 80px 16px; }
  .why-line { display: none; }
  .why-inner { width: auto; padding-top: 0; }
  .why .copy { width: auto; }
  .contact-text { padding: 64px 16px 0; }
  .contact-text h2 { font-size: 28px; line-height: 32px; }
  .contact-form-wrap { padding: 24px 16px 64px; }
  .form-card { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { flex-direction: column; padding: 56px 16px 16px; }
  .footer-col, .footer-col + .footer-col { flex: none; width: 100%; }
  .footer-logo { width: 180px; height: auto; }
  .footer-bar { flex-direction: column; gap: 12px; padding: 20px 16px 24px; margin: 18px 16px 0; text-align: center; }
  .footer-bar p { text-align: center; }
  .process { grid-template-columns: 1fr; padding: 48px 16px; }
  .partner { padding: 64px 16px; }
  .partner-text h2 { font-size: 30px; line-height: 36px; }
  .strengths { border-radius: 30px; padding: 24px 20px; }
  .strengths h2 { width: auto; }
  .strengths li span { width: auto; }
  .project { padding: 48px 16px 8px; }
  .project-text h3 { font-size: 24px; line-height: 32px; }
  .project-text .copy p { font-size: 16px; line-height: 26px; }
  .gallery { height: auto; flex-direction: column-reverse; }
  .gallery-thumbs { flex-direction: row; width: 100%; height: 80px; overflow-x: auto; }
  .gallery-thumbs button { width: 80px; height: 80px; }
  .gallery-main { width: 100%; height: auto; aspect-ratio: 369 / 397; }
  .gallery-main .slides img { width: 100%; height: 100%; }
  .jobs { padding: 56px 16px; }
  .jobs-left h2 { font-size: 40px; line-height: 46px; text-align: center; }
  .jobs-left p { font-size: 22px; line-height: 26px; }
  .jobs-right li, .jobs-right h3 { font-size: 17px; line-height: 27px; }
  .about-full { padding: 48px 16px; }
  .about-full .copy p { font-size: 15px; line-height: 24px; }
  .timeline img { max-width: none; width: 900px; }
  .timeline .scroll { overflow-x: auto; padding: 0 16px; }
  .legal { padding: 140px 16px 56px; }
  .legal-card { padding: 28px 20px 40px; }
  .legal-card h1 { font-size: 32px; line-height: 40px; }
  .cc-inner { padding: 18px 16px; }
  .cc-toggles { gap: 12px 20px; }
}

/* ---------- Handy: Feinabgleich mit der Wix-Mobilansicht ---------- */
@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand-claim { display: block; width: 130px; padding-top: 6px; font-size: 9px; line-height: 11px; }
  .header-box { height: 84px; }
  .hero { height: 650px; }
  .hero-inner { margin-top: 10px; }
  .hero h1 { font-size: 30px; line-height: 36px; }
  .hero .hero-sub, .hero .hero-sub.wide { font-size: 19px; line-height: 25px; margin-top: 14px; }
  .hero-buttons { flex-direction: row; justify-content: center; gap: 28px; margin-top: 34px; }
  .hero-buttons .btn { width: 160px; height: 46px; padding: 0 10px; font-size: 15px; line-height: 18px; text-align: center; }
  .hero-buttons .btn.upper { width: 220px; }
  .banner { padding: 0; height: 120px; }
  .banner img { width: 230px; max-width: 230px; }
  .services { padding: 64px 0 72px; }
  .section-lead { font-size: 25px; line-height: 31px; max-width: 330px; margin: 0 auto; }
  .section-sub { font-size: 19px; line-height: 30px; max-width: 260px; margin: 6px auto 0; }
  .service-grid { max-width: 220px; row-gap: 64px; margin-top: 64px !important; }
  .service img { width: 180px; height: 120px; margin: 0 auto; }
  .service h3, .service p { font-size: 18px; line-height: 23px; }
  .service h3 { margin-top: 20px; }
  .about-teaser .text { max-width: 270px; }
  .about-teaser .text p { font-size: 16px; line-height: 26px; }
  .about-teaser .text p + p { margin-top: 26px; }
  .about-teaser .text p.tight { margin-top: 0; }
  .marquee { padding: 36px 0; }
  .marquee-track img { width: 180px; height: 135px; }
}

/* ---------- Handy: Überlauf verhindern + Abgleich Unterseiten ---------- */
.project > *, .contact > *, .jobs > *, .partner > *, .about-full > *, .form-grid > *, .gallery-main { min-width: 0; }
.phone-wrap input { min-width: 0; flex: 1; }
@media (max-width: 640px) {
  .contact-text, .project, .jobs, .partner, .about-full { padding-left: 28px; padding-right: 28px; }
  .contact-text .copy p, .partner-text .copy p, .jobs-right li { font-size: 16px; line-height: 26px; letter-spacing: .5px; }
  .partner-text .copy { text-align: center; }
  .project-text .copy p { font-size: 16px; line-height: 26px; }
  .gallery { flex-direction: row; width: 270px; height: 126px; gap: 8px; margin-top: 28px; }
  .gallery-thumbs { flex-direction: column; width: 110px; height: 126px; overflow: hidden; padding-top: 0; }
  .gallery-thumbs button { width: 110px; height: 110px; }
  .gallery-main { width: 152px; height: 126px; aspect-ratio: auto; }
  .gallery-main .slides img { width: 152px; height: 126px; }
  .gallery-main .arrow { width: 36px; height: 36px; margin-top: -18px; right: 10px; }
  .jobs-left img { width: 160px; height: 107px; margin-top: 12px; }
  .timeline img { width: calc(100% - 14px); max-width: none; }
  .timeline .scroll { overflow: visible; padding: 0; }
}
.form-field { position: relative; }
.legal-inner > * { min-width: 0; }
.legal-card h1, .legal-card h2, .legal-card h3 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .process { display: none; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
/* ---------- Sehr schmale Handys und lange Wörter ---------- */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.jobs-left p { max-width: 100%; }
@media (max-width: 359px) {
  .brand-claim { display: none !important; }
  .project-text h3 { font-size: 21px; line-height: 28px; }
}
.footer-bar nav { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
/* ---------- Tablet (641–1080 px) ---------- */
@media (max-width: 1080px) {
  .brand-claim { font-size: 16px; line-height: 18px; width: 220px; padding-top: 12px; }
  .hero { height: 760px; }
  .why { height: auto; padding: 110px 24px; }
  .why-line { top: 40px; bottom: 40px; left: 24px; }
  .why-inner { width: auto; max-width: 642px; padding-top: 0; }
  .footer-main .map-box { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .brand-claim { font-size: 9px; line-height: 11px; width: 130px; padding-top: 6px; }
  .why { padding: 80px 16px; }
}
