
:root{
  --red:#cf0017;
  --red-dark:#950010;
  --yellow:#ffd500;
  --black:#111111;
  --cream:#f4f0e7;
  --white:#ffffff;
  --max:1180px;
}

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

html{
  width:100%;
  overflow-x:hidden;
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  width:100%;
  min-width:0;
  margin:0;
  overflow-x:hidden;
  background:var(--cream);
  color:var(--black);
  font-family:Arial,Helvetica,sans-serif;
}

img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,p,figure{margin-top:0}
h1,h2,h3{
  font-family:"Arial Narrow",Arial,Helvetica,sans-serif;
  font-weight:900;
  text-transform:uppercase;
}

/* HEADER / HERO */
.hero{
  width:100%;
  background:var(--red);
  color:var(--white);
  padding:0 max(20px,5vw) 64px;
}

.nav{
  width:min(100%,var(--max));
  margin:0 auto;
  min-height:88px;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.25);
}

.brand-full{
  display:flex;
  flex-direction:column;
  color:var(--yellow);
  text-transform:uppercase;
  line-height:1;
  letter-spacing:.04em;
}
.brand-full span{
  font-size:14px;
  font-weight:800;
  letter-spacing:.14em;
  margin-bottom:4px;
}
.brand-full strong{
  font-size:clamp(24px,3vw,38px);
  font-weight:900;
}

.hero-content{
  width:min(100%,var(--max));
  margin:0 auto;
  padding-top:48px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px;
  align-items:center;
}

.hero-copy,
.hero-image{min-width:0}

.hero-image{
  height:520px;
  overflow:hidden;
  border:2px solid var(--yellow);
  box-shadow:12px 12px 0 var(--yellow);
}
.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
}

.badge{
  display:inline-block;
  margin-bottom:18px;
  padding:9px 14px;
  background:var(--yellow);
  color:var(--black);
  font-weight:900;
  letter-spacing:.08em;
}

.eyebrow{
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

h1{
  margin-bottom:20px;
  font-size:clamp(54px,7vw,96px);
  line-height:.88;
  letter-spacing:-.03em;
}
h1 span{color:var(--yellow)}

.lead{
  margin-bottom:0;
  max-width:620px;
  font-size:20px;
  line-height:1.5;
}

.actions{
  margin-top:24px;
  display:grid;
  gap:10px;
  max-width:520px;
}

.button{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border:2px solid transparent;
  text-align:center;
  text-decoration:none;
  font-weight:900;
}

.button-yellow{
  background:var(--yellow);
  color:var(--black);
}
.button-map{
  border-color:var(--yellow);
  color:var(--white);
  background:transparent;
}
.button-outline{
  border-color:var(--white);
  color:var(--white);
  background:transparent;
}

/* MAIN */
main{
  width:100%;
  overflow:hidden;
}

.intro{
  width:min(100%,var(--max));
  margin:0 auto;
  padding:78px max(20px,5vw) 46px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:54px;
  align-items:end;
}

h2{
  margin-bottom:0;
  font-size:clamp(42px,5vw,70px);
  line-height:.92;
}

.intro-text{
  margin-bottom:0;
  font-size:18px;
  line-height:1.65;
}

/* SERVICES */
.services{
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto 68px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:2px;
  background:var(--black);
}

.services article{
  min-width:0;
  background:var(--white);
  padding:28px 24px;
}

.services span{
  color:var(--red);
  font-size:13px;
  font-weight:900;
}

.services h3{
  margin:28px 0 9px;
  font-size:32px;
  line-height:1;
}

.services p{
  margin-bottom:0;
  font-size:14px;
  line-height:1.5;
}

/* PHOTO SEQUENCE — no text between photos */
.photo-sequence{
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto 72px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.photo-sequence figure{
  width:100%;
  height:360px;
  margin:0;
  overflow:hidden;
  background:#222;
  border:2px solid var(--yellow);
}

.photo-sequence img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* CONTACT */
.contact{
  width:100%;
  padding:70px max(20px,5vw);
  background:var(--red);
  color:var(--white);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:50px;
}

.contact > *{
  width:min(100%,560px);
}
.contact > :first-child{
  justify-self:end;
}
.contact-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  font-size:18px;
  line-height:1.55;
}
.contact-card p{margin-bottom:8px}
.contact-card a:not(.button){color:var(--white)}
.contact-card .button{margin-top:8px}

/* FOOTER */
footer{
  width:100%;
  background:var(--black);
  color:var(--white);
  padding:42px max(20px,5vw) 64px;
}

.footer-brand,
.footer-links,
.impressum{
  width:min(100%,var(--max));
  margin-left:auto;
  margin-right:auto;
}

.footer-brand{
  color:var(--yellow);
  font-weight:900;
  letter-spacing:.06em;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  margin-top:20px;
  margin-bottom:38px;
}

.impressum{
  max-width:850px;
  margin-left:auto;
  margin-right:auto;
  padding-top:26px;
  border-top:1px solid #444;
  color:#ddd;
  line-height:1.65;
}

.impressum h2{
  margin-bottom:18px;
  color:var(--white);
  font-size:42px;
}

.impressum a{color:var(--yellow)}
.notice{font-size:14px;color:#aaa}

.external-links-note{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid #444;
}
.external-links-note h3{
  margin-bottom:9px;
  color:var(--white);
  font-size:26px;
}
.external-links-note p{margin-bottom:10px}

/* TABLET */
@media(max-width:850px){
  .hero-content{
    grid-template-columns:1fr;
    gap:30px;
  }
  .hero-image{
    order:-1;
    height:390px;
  }
  .intro,
  .contact{
    grid-template-columns:1fr;
  }
  .contact > :first-child,
  .contact > *{
    justify-self:stretch;
    width:100%;
  }
  .services{
    grid-template-columns:1fr 1fr;
  }
}

/* MOBILE */
@media(max-width:520px){
  .hero{
    padding:0 18px 32px;
  }

  .nav{
    min-height:72px;
  }

  .brand-full span{
    font-size:10px;
  }
  .brand-full strong{
    font-size:19px;
  }

  .hero-content{
    padding-top:24px;
    gap:20px;
  }

  .hero-image{
    height:270px;
    box-shadow:7px 7px 0 var(--yellow);
  }

  .badge{
    margin-bottom:14px;
    padding:8px 11px;
    font-size:13px;
  }

  .eyebrow{
    font-size:10px;
  }

  h1{
    font-size:45px;
    line-height:.9;
  }

  .lead{
    font-size:16px;
    line-height:1.45;
  }

  .button{
    min-height:50px;
    padding:12px 14px;
    font-size:14px;
  }

  .button-yellow{
    font-size:17px;
  }

  .intro{
    padding:54px 18px 36px;
    gap:18px;
  }

  h2{
    font-size:40px;
  }

  .intro-text{
    font-size:16px;
  }

  .services{
    width:calc(100% - 36px);
    margin-bottom:52px;
    grid-template-columns:1fr;
  }

  .services article{
    padding:22px 18px;
  }

  .services h3{
    margin-top:15px;
    font-size:30px;
  }

  .photo-sequence{
    width:calc(100% - 36px);
    margin-bottom:54px;
    gap:10px;
  }

  .photo-sequence figure{
    height:210px;
  }

  .contact{
    padding:54px 18px;
    gap:22px;
  }

  .contact-card{
    font-size:16px;
  }

  footer{
    padding:36px 18px 54px;
  }

  .footer-links{
    gap:10px 18px;
  }

  .impressum h2{
    font-size:36px;
  }
}

/* Very small phones */
@media(max-width:360px){
  h1{font-size:40px}
  .brand-full strong{font-size:17px}
  .photo-sequence figure{height:190px}
}


/* Fahrzeugbeschreibungen */
.vehicle-card{
  width:100%;
  background:#fff;
}
.vehicle-card figure{
  width:100%;
  margin:0;
}
.vehicle-copy{
  padding:18px 20px 24px;
  border-left:2px solid var(--yellow);
  border-right:2px solid var(--yellow);
  border-bottom:2px solid var(--yellow);
}
.vehicle-copy h3{
  margin:0 0 8px;
  font-size:28px;
  line-height:1;
  color:var(--red);
}
.vehicle-copy p{
  margin:0;
  font-size:15px;
  line-height:1.55;
}
@media(max-width:520px){
  .vehicle-copy{
    padding:15px 16px 18px;
  }
  .vehicle-copy h3{
    font-size:25px;
  }
  .vehicle-copy p{
    font-size:14px;
    line-height:1.5;
  }
}


/* ===== Cross-device responsive hardening ===== */
html{
  width:100%;
  min-width:0;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  width:100%;
  min-width:0;
  overflow-x:hidden;
}
*,
*::before,
*::after{
  box-sizing:border-box;
}
img,
video,
iframe{
  max-width:100%;
}
img{
  height:auto;
}
.hero,
main,
footer,
.nav,
.hero-content,
.intro,
.services,
.photo-sequence,
.contact,
.impressum,
.vehicle-card,
.vehicle-copy{
  min-width:0;
}

/* Keep desktop layout centered and visually close to the current version */
@media (min-width: 1100px){
  .hero-content,
  .nav,
  .intro,
  .services,
  .photo-sequence,
  .footer-brand,
  .footer-links,
  .impressum{
    max-width:1180px;
    margin-left:auto;
    margin-right:auto;
  }

  .photo-sequence{
    width:min(calc(100% - 80px),1180px);
  }

  .photo-sequence figure{
    height:420px;
  }
}

/* Tablets / landscape phones */
@media (min-width: 521px) and (max-width: 1099px){
  .hero{
    padding-left:28px;
    padding-right:28px;
  }

  .hero-content{
    grid-template-columns:1fr;
    gap:28px;
  }

  .hero-image{
    order:-1;
    height:420px;
  }

  .intro{
    grid-template-columns:1fr;
    gap:22px;
  }

  .services{
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:calc(100% - 56px);
  }

  .photo-sequence{
    width:calc(100% - 56px);
  }

  .photo-sequence figure{
    height:330px;
  }

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

/* iPhone + Android phones */
@media (max-width: 520px){
  body{
    font-size:16px;
  }

  .hero{
    width:100%;
    padding-left:16px;
    padding-right:16px;
  }

  .nav{
    width:100%;
    min-height:70px;
  }

  .brand-full{
    max-width:100%;
  }

  .brand-full span{
    font-size:10px;
  }

  .brand-full strong{
    font-size:18px;
    line-height:1.05;
  }

  .hero-content{
    width:100%;
    grid-template-columns:1fr;
    gap:20px;
  }

  .hero-image{
    order:-1;
    width:100%;
    height:260px;
    box-shadow:6px 6px 0 var(--yellow);
  }

  h1{
    font-size:clamp(38px,12vw,48px);
    line-height:.92;
  }

  .lead{
    font-size:16px;
  }

  .actions{
    width:100%;
    max-width:none;
  }

  .button{
    width:100%;
    min-height:50px;
    padding:12px 14px;
  }

  .intro{
    width:100%;
    padding-left:16px;
    padding-right:16px;
  }

  .services{
    width:calc(100% - 32px);
    grid-template-columns:1fr;
  }

  .services article{
    width:100%;
  }

  .photo-sequence{
    width:calc(100% - 32px);
    margin-left:auto;
    margin-right:auto;
    gap:14px;
  }

  .vehicle-card{
    width:100%;
  }

  .vehicle-card figure{
    width:100%;
    height:220px;
    overflow:hidden;
  }

  .vehicle-card figure img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .vehicle-copy{
    width:100%;
  }

  .vehicle-copy h3{
    font-size:24px;
  }

  .vehicle-copy p{
    font-size:14px;
    line-height:1.5;
  }

  .contact{
    width:100%;
    padding-left:16px;
    padding-right:16px;
    grid-template-columns:1fr;
  }

  footer{
    padding-left:16px;
    padding-right:16px;
  }

  .footer-links{
    flex-direction:column;
    gap:8px;
  }
}

/* Small Android / compact iPhone widths */
@media (max-width: 390px){
  .brand-full strong{
    font-size:16px;
  }

  h1{
    font-size:38px;
  }

  .hero-image{
    height:235px;
  }

  .vehicle-card figure{
    height:200px;
  }
}

/* Hero ohne Titelbild */
.hero-content{grid-template-columns:1fr !important;max-width:900px}
.hero-copy{width:100%}
.hero-company{margin:0 0 30px;text-transform:uppercase}
.hero-company strong{display:block;color:var(--yellow);font-size:clamp(34px,6vw,72px);line-height:.94;font-weight:900;letter-spacing:-.025em}
.hero-company span{display:block;margin-top:16px;color:#fff;font-size:clamp(18px,2.4vw,28px);line-height:1.25;font-weight:700;text-transform:none;letter-spacing:0}
@media(max-width:520px){
 .hero-content{padding-top:28px}
 .hero-company{margin-bottom:24px}
 .hero-company strong{font-size:clamp(32px,10vw,44px)}
 .hero-company span{margin-top:12px;font-size:18px}
}

/* Finaler Firmenkopf */
.hero-company-clean{
  margin:0 0 30px;
  color:#fff;
  font-size:clamp(36px,6vw,72px);
  line-height:.98;
  font-weight:900;
  letter-spacing:-.025em;
}
.hero-company-clean span{
  display:block;
  margin-top:14px;
  color:#fff;
  font-size:clamp(20px,2.5vw,30px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
}
@media(max-width:520px){
  .hero-company-clean{
    font-size:clamp(34px,10vw,46px);
    margin-bottom:28px;
  }
  .hero-company-clean span{
    font-size:20px;
    margin-top:12px;
  }
}

/* Letzte Anpassung: großer gelber Firmenname, keine weiße Wiederholung */
.hero-company-clean{display:none!important}
.nav{padding:38px 0 34px;min-height:0;align-items:flex-start}
.brand-full{display:block;width:100%;line-height:.92;letter-spacing:-.025em}
.brand-full strong{display:block;font-size:clamp(48px,6.7vw,88px);line-height:.92;font-weight:900;color:var(--yellow)}
@media(max-width:520px){.nav{padding:32px 0 28px}.brand-full strong{font-size:clamp(40px,11vw,52px);line-height:.92}}
@media(max-width:390px){.brand-full strong{font-size:40px}}


/* Final: Firmenüberschrift + 50-Jahre-Hinweis */
.brand-full strong{
  display:block;
  color:var(--yellow);
  font-size:clamp(48px,6.7vw,88px);
  line-height:.92;
  font-weight:900;
  text-transform:uppercase;
}
.brand-subline{
  display:block;
  margin-top:22px;
  color:#fff;
  font-size:clamp(20px,2.3vw,30px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}
@media(max-width:520px){
  .brand-full strong{
    font-size:clamp(40px,11vw,52px);
  }
  .brand-subline{
    margin-top:18px;
    font-size:20px;
  }
}
@media(max-width:390px){
  .brand-full strong{font-size:40px}
  .brand-subline{font-size:18px}
}


/* FINAL hero poster */
.hero.hero-poster {
  min-height: 0;
  padding: 0;
  background: #d90019;
  display: block;
}
.hero-poster-wrap {
  position: relative;
  width: min(100%, 1024px);
  margin: 0 auto;
  line-height: 0;
  background: #d90019;
}
.hero-poster-image {
  display: block;
  width: 100%;
  height: auto;
}
.hero-hotspot {
  position: absolute;
  left: 4.5%;
  width: 91%;
  z-index: 3;
  display: block;
}
.hero-call { top: 76.1%; height: 8.0%; }
.hero-map { top: 84.7%; height: 6.5%; }
.hero-facebook { top: 91.3%; height: 6.4%; }
@media (min-width: 1025px) {
  .hero.hero-poster { padding: 24px 0; }
  .hero-poster-wrap { box-shadow: 0 18px 50px rgba(0,0,0,.22); }
}

/* Bild 6: Actros vollständig zeigen statt beschneiden */
.vehicle-card:nth-child(6) figure{
  height:auto !important;
  overflow:visible !important;
  background:#fff;
}
.vehicle-card:nth-child(6) figure img{
  display:block;
  width:100%;
  height:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
}

/* Bilder 3 und 4: vollständiges Fahrzeugfoto ohne Beschnitt */
.vehicle-card:nth-child(3) figure,
.vehicle-card:nth-child(4) figure{
  height:auto !important;
  overflow:visible !important;
  background:#fff;
}
.vehicle-card:nth-child(3) figure img,
.vehicle-card:nth-child(4) figure img{
  display:block;
  width:100%;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
}

/* Fuhrpark: roter Rahmen/Hintergrund wie im oberen und unteren Seitenbereich */
.vehicle-card{
  background:var(--red) !important;
  padding:8px !important;
}
.vehicle-card figure{
  background:var(--red) !important;
}
.vehicle-copy{
  background:var(--white);
  border-left:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
}
@media(max-width:520px){
  .vehicle-card{padding:6px !important;}
}

/* Einheitlicher roter Website-Hintergrund wie im oberen Bereich */
body,
main{
  background:var(--red) !important;
}

/* Einleitung auf rotem Hintergrund gut lesbar */
.intro{
  color:var(--white);
}

/* Weiße Inhaltskarten bleiben klar abgesetzt */
.services article,
.vehicle-copy{
  background:var(--white) !important;
  color:var(--black);
}

/* Keine cremefarbenen Zwischenflächen im Fuhrpark */
.photo-sequence{
  background:var(--red);
}


/* ===== PC: Bilder 1, 2 und 5 vollständig anzeigen =====
   Keine feste Bildhöhe und kein Beschnitt auf Desktop/Notebook. */
@media (min-width: 801px) {
  .photo-sequence .vehicle-card:nth-child(1) figure,
  .photo-sequence .vehicle-card:nth-child(2) figure,
  .photo-sequence .vehicle-card:nth-child(5) figure {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .photo-sequence .vehicle-card:nth-child(1) figure img,
  .photo-sequence .vehicle-card:nth-child(2) figure img,
  .photo-sequence .vehicle-card:nth-child(5) figure img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
