/* =========================================================
   Autowerkstatt Sadegh – Stylesheet
   Design im Stil von NEXUS Automotive: dunkel, Orange-Akzent,
   riesige Typografie, ruhige Scroll-Animationen.
   ========================================================= */

:root{
    --black:        #0a0a0b;
    --black-2:      #111114;
    --white:        #ffffff;
    --grey:         #9a9aa2;
    --grey-2:       #1b1b20;
    --orange:       #ED7303;
    --orange-hover: #F39200;
    --border:       rgba(255,255,255,.12);
    --container:    1320px;
    --ease:         cubic-bezier(.16,1,.3,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
    background:var(--black);
    color:var(--white);
    font-family:'Inter',system-ui,-apple-system,sans-serif;
    font-size:17px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
b{ font-weight:700; }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 28px; }
.accent{ color:var(--orange-hover); }

/* ---------- Typo helpers ---------- */
.eyebrow{
    font-size:.8rem; letter-spacing:.22em; text-transform:uppercase;
    font-weight:600; color:var(--orange-hover);
}
.section-title{
    font-size:clamp(2rem,5vw,3.6rem); font-weight:800;
    letter-spacing:-.02em; line-height:1.05; margin:.4em 0;
}
.section-sub{ color:var(--grey); max-width:620px; font-size:1.05rem; }
.section-head{ max-width:760px; margin-bottom:60px; }

/* ---------- Buttons ---------- */
.btn{
    display:inline-flex; align-items:center; gap:.5em;
    padding:16px 30px; border-radius:100px; font-weight:600; font-size:.98rem;
    transition:all .35s var(--ease); border:1px solid transparent; cursor:pointer;
}
.btn--primary{ background:var(--orange); color:#fff; }
.btn--primary:hover{ background:var(--orange-hover); transform:translateY(-3px); box-shadow:0 12px 30px rgba(237,115,3,.35); }
.btn--ghost{ border-color:var(--border); color:#fff; }
.btn--ghost:hover{ border-color:var(--orange-hover); color:var(--orange-hover); }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader{
    position:fixed; inset:0; z-index:9999; background:var(--black);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:26px; transition:opacity .6s ease, visibility .6s ease;
}
.preloader.is-done{ opacity:0; visibility:hidden; }
.preloader__logo{ display:flex; align-items:center; gap:14px; }
.preloader__mark{
    width:54px; height:54px; border-radius:12px; background:var(--orange);
    display:grid; place-items:center; font-weight:900; font-size:1.7rem;
}
.preloader__text{ font-weight:800; letter-spacing:.18em; font-size:1rem; }
.preloader__bar{ width:200px; height:3px; background:var(--grey-2); border-radius:3px; overflow:hidden; }
.preloader__bar span{ display:block; height:100%; width:0; background:var(--orange); }

/* =========================================================
   HEADER
   ========================================================= */
.header{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    transition:background .4s var(--ease), backdrop-filter .4s, padding .4s;
    padding:10px 0;
}
.header.is-scrolled{ background:rgba(10,10,11,.82); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); }
.header__inner{ display:flex; align-items:center; justify-content:space-between; max-width:var(--container); margin:0 auto; padding:0 28px; height:64px; }

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ height:44px; width:auto; max-width:180px; object-fit:contain; background:#fff; padding:5px 10px; border-radius:8px; }
.brand .brand__name{ display:none; } /* Name steht bereits im Logo */
.brand__name{ font-weight:700; letter-spacing:.12em; font-size:.92rem; }
.brand__name b{ color:var(--orange-hover); font-weight:800; }

.nav{ display:flex; align-items:center; gap:34px; }
.nav a{ font-size:.95rem; font-weight:500; color:#e7e7ea; position:relative; transition:color .3s; }
.nav a:not(.nav__cta)::after{
    content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--orange-hover); transition:width .3s var(--ease);
}
.nav a:not(.nav__cta):hover{ color:#fff; }
.nav a:not(.nav__cta):hover::after{ width:100%; }
.nav__cta{ background:var(--orange); color:#fff; padding:11px 22px; border-radius:100px; font-weight:600; transition:all .3s; }
.nav__cta:hover{ background:var(--orange-hover); transform:translateY(-2px); }

.hamburger{ display:none; flex-direction:column; gap:6px; width:42px; height:42px; background:none; border:0; cursor:pointer; align-items:center; justify-content:center; }
.hamburger span{ display:block; width:26px; height:2px; background:#fff; transition:transform .35s var(--ease), opacity .35s; }
.hamburger.is-open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; }
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; transform:scale(1.05); animation:heroZoom 14s ease-out forwards; }
@keyframes heroZoom{ to{ transform:scale(1); } }
.hero__overlay{
    position:absolute; inset:0;
    background:linear-gradient(180deg,rgba(10,10,11,.65) 0%,rgba(10,10,11,.4) 40%,rgba(10,10,11,.92) 100%);
}
.hero__content{ position:relative; z-index:2; padding-top:120px; padding-bottom:80px; }
.hero__huge{
    font-weight:900; letter-spacing:-.03em; line-height:.92;
    font-size:clamp(2.1rem,7.5vw,6.5rem); margin:.18em 0 .35em;
    text-transform:uppercase;
}
.hero__huge span{ display:block; }
.hero__lead{ max-width:600px; font-size:1.2rem; color:#dfdfe4; }
.hero__lead b{ color:#fff; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:36px; }

.hero__scroll{ position:absolute; bottom:34px; left:50%; transform:translateX(-50%); z-index:2; width:26px; height:44px; border:2px solid rgba(255,255,255,.5); border-radius:20px; }
.hero__scroll span{ position:absolute; top:8px; left:50%; transform:translateX(-50%); width:4px; height:8px; background:#fff; border-radius:3px; animation:scrollDot 1.6s infinite; }
@keyframes scrollDot{ 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,16px)} 100%{opacity:0} }

/* =========================================================
   INTRO / STATS
   ========================================================= */
.intro{ padding:120px 0 100px; border-bottom:1px solid var(--border); }
.intro__claim{
    font-size:clamp(1.8rem,4.2vw,3.2rem); font-weight:800; letter-spacing:-.02em;
    line-height:1.12; max-width:1000px; margin:.4em 0 0;
}
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; margin-top:70px; }
.stat{ border-left:2px solid var(--orange); padding-left:22px; }
.stat__num{ display:block; font-size:clamp(2.4rem,5vw,3.6rem); font-weight:900; letter-spacing:-.02em; line-height:1; }
.stat__label{ color:var(--grey); font-size:.95rem; margin-top:8px; display:block; }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ padding:120px 0; }
.services__grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:260px; gap:18px; }
.card{
    position:relative; border-radius:18px; overflow:hidden; background:var(--black-2);
    border:1px solid var(--border); isolation:isolate; min-height:260px;
}
.card--lg{ grid-column:span 2; }
.card::before{
    content:""; position:absolute; inset:0; z-index:-2; background-image:var(--bg);
    background-size:cover; background-position:center; transform:scale(1.02); transition:transform .7s var(--ease); opacity:.55;
}
.card::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(10,10,11,.1),rgba(10,10,11,.92)); }
.card:hover::before{ transform:scale(1.12); opacity:.7; }
.card__body{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:26px; }
.card__no{ font-size:.85rem; font-weight:700; color:var(--orange-hover); letter-spacing:.1em; }
.card h3{ font-size:1.4rem; font-weight:800; letter-spacing:-.01em; margin:8px 0 6px; }
.card p{ font-size:.95rem; color:#cfcfd6; max-height:0; opacity:0; overflow:hidden; transition:max-height .5s var(--ease), opacity .4s, margin .4s; }
.card:hover p{ max-height:140px; opacity:1; }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ padding:120px 0; background:var(--black-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.about__grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.about__media{ position:relative; }
.about__imgwrap{ border-radius:20px; }
.about__media img{ width:100%; height:560px; object-fit:cover; border-radius:20px; display:block; }
.about__badge{
    position:absolute; right:-18px; bottom:38px; background:var(--orange); color:#fff;
    padding:22px 26px; border-radius:16px; box-shadow:0 18px 40px rgba(0,0,0,.4); text-align:center;
}
.about__badge b{ display:block; font-size:1.5rem; font-weight:900; letter-spacing:-.02em; }
.about__badge span{ font-size:.85rem; opacity:.9; }
.ticks{ list-style:none; margin:28px 0 34px; display:grid; gap:14px; }
.ticks li{ position:relative; padding-left:34px; color:#dcdce1; }
.ticks li::before{
    content:""; position:absolute; left:0; top:3px; width:20px; height:20px; border-radius:50%;
    background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* =========================================================
   BIG TYPO BAND
   ========================================================= */
.band{ background:var(--orange); color:#1a0f02; padding:110px 0; overflow:hidden; }
.band__huge{ text-align:center; font-weight:900; letter-spacing:-.04em; line-height:.92; font-size:clamp(3rem,13vw,12rem); text-transform:uppercase; }
.band__media{ max-width:1000px; margin:48px auto; border-radius:18px; overflow:hidden; }
.band__media img{ width:100%; height:clamp(220px,40vw,460px); object-fit:cover; }
.band__text{ max-width:680px; margin:0 auto; text-align:center; font-size:1.25rem; font-weight:600; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{ padding:120px 0; }
.gallery__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gallery figure{ border-radius:16px; overflow:hidden; aspect-ratio:4/3; }
.gallery figure img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.gallery figure:hover img{ transform:scale(1.07); }
.gallery__note{ margin-top:26px; color:var(--grey); font-size:.92rem; }
.gallery__note code{ background:var(--grey-2); padding:2px 8px; border-radius:6px; color:var(--orange-hover); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ padding:120px 0; background:var(--black-2); border-top:1px solid var(--border); }
.contact__grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:60px; align-items:start; }
.contact__list{ list-style:none; margin:34px 0; display:grid; gap:26px; }
.contact__list li{ border-top:1px solid var(--border); padding-top:18px; font-size:1.1rem; }
.contact__label{ display:block; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--orange-hover); margin-bottom:8px; font-weight:600; }
.contact__list a:hover{ color:var(--orange-hover); }
.contact__list em{ color:var(--grey); font-style:italic; }
.contact__map{ border-radius:18px; overflow:hidden; border:1px solid var(--border); }
.contact__map iframe{ width:100%; height:440px; border:0; filter:grayscale(.3) contrast(1.05); }
.contact__maplink{ display:block; padding:16px 22px; background:var(--black); font-weight:600; color:var(--orange-hover); }
.contact__maplink:hover{ background:#000; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ padding:80px 0 30px; }
.footer__inner{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid var(--border); }
.footer__brand p{ color:var(--grey); margin-top:14px; font-size:.95rem; }
.footer__nav{ display:flex; flex-direction:column; gap:12px; }
.footer__nav a{ color:#d8d8dd; }
.footer__nav a:hover{ color:var(--orange-hover); }
.footer__meta p{ color:var(--grey); }
.footer__bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:24px; color:var(--grey); font-size:.88rem; }

/* ---------- Floating call button ---------- */
.fab{
    position:fixed; right:22px; bottom:22px; z-index:900; width:58px; height:58px; border-radius:50%;
    background:var(--orange); color:#fff; display:grid; place-items:center;
    box-shadow:0 12px 30px rgba(237,115,3,.45); transition:transform .3s var(--ease), background .3s;
    animation:fabPulse 2.4s infinite;
}
.fab:hover{ background:var(--orange-hover); transform:scale(1.08); }
@keyframes fabPulse{ 0%{box-shadow:0 0 0 0 rgba(237,115,3,.5)} 70%{box-shadow:0 0 0 16px rgba(237,115,3,0)} 100%{box-shadow:0 0 0 0 rgba(237,115,3,0)} }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{ opacity:0; transform:translateY(40px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
    .services__grid{ grid-template-columns:repeat(2,1fr); }
    .card--lg{ grid-column:span 2; }
    .about__grid{ gap:40px; }
}
@media (max-width:820px){
    body{ font-size:16px; }
    .nav{
        position:fixed; inset:0; flex-direction:column; justify-content:center; gap:30px;
        background:rgba(10,10,11,.97); backdrop-filter:blur(10px);
        transform:translateX(100%); transition:transform .5s var(--ease); z-index:999;
    }
    .nav.is-open{ transform:none; }
    .nav a{ font-size:1.6rem; }
    .hamburger{ display:flex; z-index:1001; }
    .stats{ grid-template-columns:repeat(2,1fr); gap:30px 20px; }
    .about__grid{ grid-template-columns:1fr; }
    .about__media img{ height:420px; }
    .about__badge{ right:18px; }
    .contact__grid{ grid-template-columns:1fr; gap:40px; }
    .footer__inner{ grid-template-columns:1fr; gap:30px; }
    .services{ padding:80px 0; }
    .intro,.about,.gallery,.contact{ padding:80px 0; }
}
@media (max-width:560px){
    .services__grid{ grid-template-columns:1fr; grid-auto-rows:230px; }
    .card--lg{ grid-column:span 1; }
    .gallery__grid{ grid-template-columns:repeat(2,1fr); }
    .card p{ max-height:140px; opacity:1; } /* auf Mobil immer Text zeigen */
    .hero__lead{ font-size:1.05rem; }
}

/* =========================================================
   PREMIUM-EFFEKTE
   ========================================================= */

/* ---------- Scroll-Fortschrittsbalken ---------- */
.scroll-progress{
    position:fixed; top:0; left:0; height:3px; width:0%; z-index:2000;
    background:linear-gradient(90deg,var(--orange),var(--orange-hover));
    box-shadow:0 0 12px rgba(243,146,0,.6);
    transition:width .1s linear;
}

/* ---------- Bild-Reveal (Orange-Wisch + Zoom) ---------- */
.reveal-img{ position:relative; overflow:hidden; }
.reveal-img img{ transform:scale(1.18); transition:transform 1.4s var(--ease); will-change:transform; }
.reveal-img::after{
    content:""; position:absolute; inset:0; z-index:3; background:var(--orange);
    transform:scaleX(1); transform-origin:left; transition:transform 1s var(--ease);
}
.reveal-img.is-visible::after{ transform:scaleX(0); transform-origin:right; }
.reveal-img.is-visible img{ transform:scale(1); }

/* ---------- Parallax ---------- */
[data-speed]{ will-change:transform; }
.hero__bg{ will-change:transform; }

/* ---------- Laufband / Marquee ---------- */
.marquee{
    background:var(--black-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    overflow:hidden; padding:26px 0; white-space:nowrap;
}
.marquee__track{ display:inline-flex; align-items:center; gap:36px; animation:marquee 28s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
.marquee span{
    font-size:clamp(1.6rem,3.6vw,3rem); font-weight:900; letter-spacing:-.02em;
    text-transform:uppercase; color:transparent; -webkit-text-stroke:1.2px rgba(255,255,255,.35);
}
.marquee span.fill{ color:var(--orange-hover); -webkit-text-stroke:0; }
.marquee .dot{ color:var(--orange); -webkit-text-stroke:0; font-size:1.4rem; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Animierter Farbverlauf (große Band-Wörter) ---------- */
.band__huge div{
    background:linear-gradient(90deg,#1a0f02 0%,#5a3a08 25%,#fff5e6 50%,#5a3a08 75%,#1a0f02 100%);
    background-size:200% auto; -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    animation:shine 6s linear infinite;
}
@keyframes shine{ to{ background-position:-200% center; } }

/* ---------- 3D-Tilt auf Karten ---------- */
.services__grid{ perspective:1200px; }
.card{ transition:transform .3s var(--ease), box-shadow .4s var(--ease); transform-style:preserve-3d; }
.card:hover{ box-shadow:0 30px 60px -20px rgba(0,0,0,.7); }

/* ---------- Hero-Wörter: Maske + Slide-up ---------- */
.hero__huge span{ overflow:hidden; }

@media (prefers-reduced-motion:reduce){
    *{ animation:none !important; transition:none !important; }
    .reveal{ opacity:1; transform:none; }
    .reveal-img img{ transform:none; }
    .reveal-img::after{ display:none; }
    [data-speed]{ transform:none !important; }
}
