/* ============================================================================
   M&W MASCHINENHANDEL — LAYOUT & KOMPONENTEN
   Gestaltungswerte stehen in tokens.css — hier nur die Struktur.
   ========================================================================== */

/* ---------- 0. RESET ------------------------------------------------------ */
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h-small) + 16px)}
body{
  font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);
  color:var(--c-text);background:var(--c-bg);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg,video{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
ul{list-style:none;padding:0}
:focus-visible{outline:3px solid var(--c-focus);outline-offset:3px;border-radius:2px}

/* ---------- 1. GRUNDBAUSTEINE -------------------------------------------- */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--container-pad)}
.section{padding-block:var(--section-pad);position:relative}
.section--light{background:var(--c-bg-light);color:var(--c-text-dark)}
.section--light .lead,.section--light .muted{color:var(--c-muted-dark)}
.section--dark{background:var(--c-bg)}
.section--graphite{background:var(--c-graphite)}
.skip-link{position:absolute;left:-9999px;top:0;z-index:999;background:var(--c-accent);color:#fff;padding:12px 20px;font-weight:var(--fw-bold)}
.skip-link:focus{left:12px;top:12px}

h1,h2,h3,h4{font-family:var(--font-head);line-height:var(--lh-head);letter-spacing:var(--ls-head);text-wrap:balance}
h1{font-size:var(--fs-h1);font-weight:var(--fw-black);text-transform:uppercase}
h2{font-size:var(--fs-h2);font-weight:var(--fw-black);text-transform:uppercase}
h3{font-size:var(--fs-h3);font-weight:var(--fw-bold)}
.lead{font-size:var(--fs-lead);color:var(--c-text-muted);max-width:62ch}
.muted{color:var(--c-text-muted)}
.small{font-size:var(--fs-small)}

/* Ueberzeile mit roter technischer Linie (wiederkehrendes Designmotiv) ----- */
.eyebrow{
  display:flex;align-items:center;gap:14px;
  font-family:var(--font-head);font-size:var(--fs-eyebrow);font-weight:var(--fw-bold);
  letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--c-accent);margin-bottom:20px;
}
.eyebrow::before{content:"";width:38px;height:2px;background:var(--c-accent);flex:none}
.section-head{max-width:70ch;margin-bottom:var(--gap-lg)}
.section-head h2{margin-bottom:16px}

/* ---------- 2. BUTTONS ---------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
  padding:var(--btn-pad-y) var(--btn-pad-x);border-radius:var(--btn-radius);border:1px solid transparent;
  font-family:var(--font-head);font-size:var(--btn-fs);font-weight:var(--btn-weight);
  letter-spacing:var(--btn-ls);text-transform:uppercase;text-align:center;
  cursor:pointer;transition:transform var(--speed) var(--ease),background var(--speed),box-shadow var(--speed),border-color var(--speed);
  min-height:52px;
}
.btn svg{flex:none;transition:transform var(--speed) var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn:hover svg.arrow{transform:translateX(3px)}
.btn:active{transform:translateY(0)}

.btn--primary{background:var(--c-accent);color:#fff}
.btn--primary:hover{background:var(--c-accent-hi);box-shadow:var(--glow-accent)}

.btn--ghost{background:transparent;color:var(--c-text);border-color:var(--c-steel)}
.btn--ghost:hover{border-color:var(--c-text);background:rgba(255,255,255,.05)}
.section--light .btn--ghost{color:var(--c-text-dark);border-color:#C9C9C3}
.section--light .btn--ghost:hover{border-color:var(--c-text-dark);background:rgba(0,0,0,.04)}

.btn--wa{background:var(--c-gruen);color:#fff}
.btn--wa:hover{background:var(--c-gruen-hell);box-shadow:0 10px 30px -10px rgba(20,128,64,.55)}

.btn--block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- 3. NAVIGATION ------------------------------------------------- */
.nav{
  position:fixed;inset:0 0 auto 0;z-index:100;height:var(--nav-h);
  display:flex;align-items:center;
  background:rgba(17,17,17,.72);backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;overflow-x:clip;
  transition:height var(--speed) var(--ease),background var(--speed),border-color var(--speed);
}
.nav.is-scrolled{height:var(--nav-h-small);background:rgba(17,17,17,.96);border-bottom-color:var(--c-border)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,1.5vw,20px);width:100%}
/* Alles bleibt einzeilig: kein Umbruch innerhalb der Menuepunkte, und die
   Abstaende schrumpfen mit, bevor irgendetwas umbricht. */
.nav__links{display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(12px,1.4vw,21px);min-width:0}
.nav__links a{
  font-family:var(--font-head);font-size:clamp(.76rem,.9vw,.82rem);font-weight:var(--fw-medium);letter-spacing:.02em;
  color:var(--c-text-muted);position:relative;padding:6px 0;transition:color var(--speed);
  white-space:nowrap;flex:none;
}
.nav__links a::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--c-accent);transition:width var(--speed) var(--ease)}
.nav__links a:hover{color:var(--c-text)}
.nav__links a:hover::after{width:100%}
.nav__cta{padding:13px clamp(14px,1.4vw,20px);min-height:44px;font-size:clamp(.72rem,.8vw,.78rem);white-space:nowrap}
.nav__right{display:flex;align-items:center;gap:clamp(9px,1vw,13px);flex:none}
.nav__tel{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:var(--fw-bold);font-size:clamp(.78rem,.85vw,.86rem);color:var(--c-text);white-space:nowrap;flex:none}
.nav__tel svg{color:var(--c-gruen-hell)}

/* Logo ------------------------------------------------------------------- */
.logo{display:inline-flex;align-items:center;gap:12px;flex:none}
.logo__mark{
  width:42px;height:42px;flex:none;display:grid;place-items:center;
  background:var(--c-accent);border-radius:var(--r-sm);
  font-family:var(--font-head);font-weight:var(--fw-black);font-size:.98rem;color:#fff;letter-spacing:-.04em;
}
.logo__text{display:flex;flex-direction:column;line-height:1.15}
.logo__name{font-family:var(--font-head);font-weight:var(--fw-black);font-size:1.02rem;letter-spacing:-.02em;text-transform:uppercase}
.logo__sub{font-size:.63rem;letter-spacing:.2em;text-transform:uppercase;color:var(--c-text-muted)}

/* Burger ----------------------------------------------------------------- */
.burger{display:none;width:48px;height:48px;background:none;border:1px solid var(--c-border);border-radius:var(--r-sm);cursor:pointer;place-items:center}
.burger span{display:block;width:20px;height:2px;background:var(--c-text);position:relative;transition:background var(--speed)}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--c-text);transition:transform var(--speed) var(--ease)}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}

.mobilemenu{
  position:fixed;inset:var(--nav-h-small) 0 0 0;z-index:99;background:var(--c-black);
  padding:32px var(--container-pad) calc(var(--mobilebar-h) + 32px);
  overflow-y:auto;display:none;flex-direction:column;gap:6px;
}
.mobilemenu.is-open{display:flex}
.mobilemenu__link{
  font-family:var(--font-head);font-size:1.35rem;font-weight:var(--fw-bold);text-transform:uppercase;
  padding:16px 0;border-bottom:1px solid var(--c-border);
}
.mobilemenu .btn{margin-top:22px}

/* ---------- 4. HERO ------------------------------------------------------- */
.hero{
  position:relative;padding-top:calc(var(--nav-h) + 56px);padding-bottom:72px;
  background:
    radial-gradient(1100px 620px at 78% 12%, rgba(180,0,11,.20), transparent 62%),
    linear-gradient(180deg,#0C0C0C 0%,var(--c-black) 62%,#0E0E0E 100%);
  overflow:hidden;
}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--c-accent),transparent);opacity:.5}
.hero__grid{display:grid;grid-template-columns:55fr 45fr;gap:clamp(32px,4vw,64px);align-items:center}
.hero h1{margin-bottom:22px}
.hero h1 .hl{color:var(--c-accent);display:block}
.hero__sub{font-size:var(--fs-lead);color:var(--c-text-muted);max-width:56ch;margin-bottom:30px}
.hero__trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 26px;margin-bottom:34px;max-width:600px}
.hero__trust li{display:flex;align-items:flex-start;gap:11px;font-size:.97rem;font-weight:var(--fw-medium)}
.hero__trust svg{flex:none;margin-top:4px;color:var(--c-accent)}
.hero__call{margin-top:20px;font-size:.95rem;color:var(--c-text-muted)}
.hero__call a{color:var(--c-text);font-family:var(--font-head);font-weight:var(--fw-bold);border-bottom:1px solid var(--c-accent);padding-bottom:2px}

.hero__media{position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--c-border);box-shadow:var(--shadow-lift)}
.hero__media img{width:100%;aspect-ratio:4/5;object-fit:cover}
.hero__badge{
  position:absolute;left:18px;bottom:18px;right:18px;
  background:rgba(12,12,12,.82);backdrop-filter:blur(8px);border:1px solid var(--c-border);
  border-left:3px solid var(--c-accent);border-radius:var(--r-sm);padding:14px 18px;
}
.hero__badge strong{display:block;font-family:var(--font-head);font-size:.9rem;text-transform:uppercase;letter-spacing:.04em}
.hero__badge span{font-size:.83rem;color:var(--c-text-muted)}

/* ---------- 5. TRUST BAR -------------------------------------------------- */
.trustbar{background:var(--c-graphite);border-block:1px solid var(--c-border)}
.trustbar__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--c-border)}
.trustbar__item{background:var(--c-graphite);display:flex;align-items:center;gap:15px;padding:28px 26px}
.trustbar__item svg{flex:none;color:var(--c-accent)}
.trustbar__item strong{display:block;font-family:var(--font-head);font-size:.95rem;font-weight:var(--fw-bold)}
.trustbar__item span{font-size:.82rem;color:var(--c-text-muted)}

/* ---------- 6. MASCHINEN-KARTEN ------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{
  position:relative;background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--r-md);
  padding:var(--card-pad);display:flex;flex-direction:column;gap:14px;min-height:190px;
  transition:transform var(--speed) var(--ease),border-color var(--speed),background var(--speed),box-shadow var(--speed);
  overflow:hidden;
}
.card::before{content:"";position:absolute;left:0;top:0;height:2px;width:34px;background:var(--c-accent);transition:width var(--speed) var(--ease)}
.card:hover{transform:translateY(-5px);border-color:#4A4E55;background:var(--c-surface-2);box-shadow:var(--shadow-card)}
.card:hover::before{width:100%}
.card__icon{width:42px;height:42px;color:var(--c-accent)}
.card h3{margin-top:auto;padding-right:26px}
.card p{font-size:.87rem;color:var(--c-text-muted)}
.card__arrow{position:absolute;right:18px;bottom:20px;color:var(--c-steel);transition:color var(--speed),transform var(--speed) var(--ease)}
.card:hover .card__arrow{color:var(--c-accent);transform:translateX(3px)}

/* ---------- 7. PROBLEM / LOESUNG ------------------------------------------ */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,64px);align-items:start}
.checklist li{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--c-border-light);font-weight:var(--fw-medium)}
.section--dark .checklist li,.section--graphite .checklist li{border-bottom-color:var(--c-border)}
.checklist li svg{flex:none;margin-top:3px;color:var(--c-accent)}
.panel{background:var(--c-graphite);color:var(--c-text);border-radius:var(--r-lg);padding:clamp(26px,3vw,40px);border:1px solid var(--c-border);border-top:3px solid var(--c-accent)}
.panel h3{margin-bottom:20px}
.steplist{counter-reset:s}
.steplist li{counter-increment:s;display:flex;gap:16px;align-items:baseline;padding:13px 0;border-bottom:1px solid var(--c-border)}
.steplist li:last-child{border-bottom:0}
.steplist li::before{content:counter(s,decimal-leading-zero);font-family:var(--font-head);font-weight:var(--fw-black);color:var(--c-accent);font-size:.85rem;letter-spacing:.06em;flex:none}

/* ---------- 8. ABLAUF / TIMELINE ------------------------------------------ */
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative}
.timeline__line{position:absolute;top:26px;left:6%;right:6%;height:2px;background:var(--c-border);overflow:hidden}
.timeline__line::after{content:"";position:absolute;inset:0 100% 0 0;background:var(--c-accent);transition:inset 1.4s var(--ease)}
.timeline.is-in .timeline__line::after{inset:0 0 0 0}
.step{position:relative;padding-top:70px}
.step__num{
  position:absolute;top:0;left:0;width:54px;height:54px;border-radius:50%;
  display:grid;place-items:center;background:var(--c-bg);border:2px solid var(--c-accent);
  font-family:var(--font-head);font-weight:var(--fw-black);font-size:1rem;color:var(--c-accent);z-index:1;
}
.section--light .step__num{background:var(--c-bg-light)}
.step h3{margin-bottom:10px}
.step p{font-size:.92rem;color:var(--c-muted-dark)}
.section--dark .step p,.section--graphite .step p{color:var(--c-text-muted)}

/* ---------- 9. FORMULAR ---------------------------------------------------- */
.formwrap{display:grid;grid-template-columns:1fr 380px;gap:clamp(28px,4vw,56px);align-items:start}
.form{background:var(--c-graphite);border:1px solid var(--c-border);border-radius:var(--r-lg);padding:clamp(24px,3vw,38px)}
.form__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:8px}
.field--full{grid-column:1/-1}
.field label{font-family:var(--font-head);font-size:.82rem;font-weight:var(--fw-bold);letter-spacing:.05em;text-transform:uppercase;color:var(--c-text-muted)}
.field label .req{color:var(--c-accent)}
.field input,.field select,.field textarea{
  background:#141416;border:1px solid var(--c-border);border-radius:var(--r-sm);
  padding:14px 15px;color:var(--c-text);width:100%;min-height:52px;
  transition:border-color var(--speed),background var(--speed);
}
.field textarea{min-height:118px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--c-accent);background:#17171A;outline:none}
.field input::placeholder,.field textarea::placeholder{color:#6A6F76}
.field select{appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239BA0A6' stroke-width='2'><path d='M2 5l5 5 5-5'/></svg>");background-repeat:no-repeat;background-position:right 15px center}
.hint{font-size:.78rem;color:var(--c-text-muted)}

.dropzone{
  border:2px dashed var(--c-border);border-radius:var(--r-md);padding:30px 20px;text-align:center;
  cursor:pointer;transition:border-color var(--speed),background var(--speed);background:#141416;
}
.dropzone:hover,.dropzone.is-over{border-color:var(--c-accent);background:#3A4048}
.dropzone svg{margin:0 auto 12px;color:var(--c-accent)}
.dropzone strong{display:block;font-family:var(--font-head);font-size:.95rem}
.filelist{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.filechip{display:flex;align-items:center;gap:9px;background:#4A525C;border:1px solid var(--c-border);border-radius:var(--r-pill);padding:7px 8px 7px 14px;font-size:.8rem;max-width:100%}
.filechip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}
.filechip button{background:none;border:0;cursor:pointer;color:var(--c-text-muted);width:24px;height:24px;border-radius:50%;line-height:1}
.filechip button:hover{color:var(--c-accent)}

.consent{display:flex;gap:13px;align-items:flex-start;font-size:.86rem;color:var(--c-text-muted)}
.consent input{width:22px;height:22px;min-height:0;flex:none;margin-top:2px;accent-color:var(--c-accent)}
.consent a{color:var(--c-text);text-decoration:underline;text-underline-offset:3px}

.form__aside{position:sticky;top:calc(var(--nav-h-small) + 24px);display:flex;flex-direction:column;gap:18px}
.aside-card{background:var(--c-graphite);border:1px solid var(--c-border);border-left:3px solid var(--c-accent);border-radius:var(--r-md);padding:24px}
.aside-card h3{margin-bottom:12px;font-size:1.05rem}
.aside-card p,.aside-card li{font-size:.88rem;color:var(--c-text-muted)}
.aside-card li{padding:6px 0;display:flex;gap:10px}
.aside-card li svg{flex:none;margin-top:4px;color:var(--c-accent)}

.formstate{display:none;text-align:center;padding:46px 24px}
.formstate.is-visible{display:block}
.formstate svg{margin:0 auto 20px;color:var(--c-gruen-hell)}
.formstate h3{margin-bottom:12px;font-size:1.5rem}
.formerror{display:none;margin-top:16px;padding:14px 16px;border:1px solid var(--c-accent);border-radius:var(--r-sm);background:rgba(180,0,11,.12);font-size:.88rem}
.formerror.is-visible{display:block}

/* ---------- 10. WHATSAPP LANE --------------------------------------------- */
.wa{
  background:linear-gradient(135deg,#131518 0%,#0F1A13 100%);
  border:1px solid var(--c-border);border-radius:var(--r-lg);padding:clamp(28px,4vw,52px);
  display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(28px,4vw,52px);align-items:center;
}
.wa__steps{display:grid;gap:14px}
.wa__step{display:flex;gap:15px;align-items:center;background:rgba(255,255,255,.035);border:1px solid var(--c-border);border-radius:var(--r-md);padding:15px 18px}
.wa__step b{font-family:var(--font-head);color:var(--c-gruen-hell);font-size:.9rem;flex:none}

/* ---------- 11. HERSTELLER ------------------------------------------------- */
.brands{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:var(--c-border-light);border:1px solid var(--c-border-light);border-radius:var(--r-md);overflow:hidden}
.section--dark .brands,.section--graphite .brands{background:var(--c-border);border-color:var(--c-border)}
.brand{
  background:var(--c-bg-light);display:grid;place-items:center;padding:26px 12px;text-align:center;
  font-family:var(--font-head);font-weight:var(--fw-bold);font-size:.92rem;letter-spacing:.02em;
  color:var(--c-text-dark);transition:background var(--speed),color var(--speed);min-height:86px;
}
.section--dark .brand,.section--graphite .brand{background:var(--c-surface);color:var(--c-text)}
.brand:hover{background:var(--c-accent);color:#fff}

/* ---------- 12. VORTEILE / WARUM ------------------------------------------- */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.why__item{display:flex;gap:14px;padding:24px;background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--r-md)}
.why__item svg{flex:none;color:var(--c-accent);margin-top:2px}
.why__item strong{display:block;font-family:var(--font-head);margin-bottom:5px}
.why__item p{font-size:.86rem;color:var(--c-text-muted)}

/* ---------- 12b. HERVORHEBUNG (ein einzelnes starkes Versprechen) --------- */
.highlight{
  display:flex;gap:18px;align-items:flex-start;
  background:rgba(180,0,11,.08);border:1px solid rgba(180,0,11,.34);
  border-left:3px solid var(--c-accent);border-radius:var(--r-md);
  padding:20px 22px;
}
.highlight svg{flex:none;color:var(--c-accent);margin-top:2px}
.highlight strong{display:block;font-family:var(--font-head);font-size:1.05rem;margin-bottom:5px}
.highlight p{font-size:.9rem;color:var(--c-text-muted)}
.section--light .highlight{background:rgba(180,0,11,.06);border-color:rgba(180,0,11,.28)}
.section--light .highlight p{color:var(--c-muted-dark)}

/* ---------- 13. UEBER UNS -------------------------------------------------- */
.owner{display:flex;gap:20px;align-items:center;margin-top:30px;padding-top:30px;border-top:1px solid var(--c-border)}
.section--light .owner{border-top-color:var(--c-border-light)}
.owner__avatar{
  width:76px;height:76px;flex:none;border-radius:50%;display:grid;place-items:center;
  background:var(--c-accent);color:#fff;font-family:var(--font-head);font-weight:var(--fw-black);font-size:1.5rem;
}
.owner__name{font-family:var(--font-head);font-weight:var(--fw-bold);font-size:1.1rem}
.owner__role{font-size:.88rem;color:var(--c-muted-dark)}
.section--dark .owner__role,.section--graphite .owner__role{color:var(--c-text-muted)}

/* ---------- 14. FAQ --------------------------------------------------------- */
.faq{max-width:900px;margin-inline:auto;border-top:1px solid var(--c-border)}
.section--light .faq{border-top-color:var(--c-border-light)}
.faq__item{border-bottom:1px solid var(--c-border)}
.section--light .faq__item{border-bottom-color:var(--c-border-light)}
.faq__q{
  width:100%;background:none;border:0;cursor:pointer;text-align:left;
  display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 4px;
  font-family:var(--font-head);font-size:1.03rem;font-weight:var(--fw-bold);transition:color var(--speed);
}
.faq__q:hover{color:var(--c-accent)}
.faq__q .ico{flex:none;width:22px;height:22px;position:relative}
.faq__q .ico::before,.faq__q .ico::after{content:"";position:absolute;background:var(--c-accent);transition:transform var(--speed) var(--ease)}
.faq__q .ico::before{left:0;top:10px;width:22px;height:2px}
.faq__q .ico::after{left:10px;top:0;width:2px;height:22px}
.faq__q[aria-expanded="true"] .ico::after{transform:rotate(90deg) scaleX(0)}
.faq__a{overflow:hidden;height:0;transition:height var(--speed) var(--ease)}
.faq__a p{padding:0 4px 24px;max-width:80ch;color:var(--c-muted-dark)}
.section--dark .faq__a p,.section--graphite .faq__a p{color:var(--c-text-muted)}

/* ---------- 15. FINAL CTA --------------------------------------------------- */
.finalcta{
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(180,0,11,.22), transparent 65%),
    var(--c-black);
  text-align:center;border-top:1px solid var(--c-border);
}
.finalcta .btn-row{justify-content:center}
.finalcta .lead{margin-inline:auto}

/* ---------- 16. FOOTER ------------------------------------------------------ */
.footer{background:#0B0B0B;border-top:1px solid var(--c-border);padding-block:64px 0}
.footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px}
.footer h4{font-family:var(--font-head);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--c-accent);margin-bottom:18px}
.footer li{padding:6px 0;font-size:.9rem;color:var(--c-text-muted)}
.footer a:hover{color:var(--c-text)}
.footer__bottom{margin-top:52px;border-top:1px solid var(--c-border);padding-block:24px;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;font-size:.82rem;color:var(--c-text-muted)}
.placeholder{color:#C9A227;background:rgba(201,162,39,.1);border:1px dashed rgba(201,162,39,.45);border-radius:3px;padding:1px 7px;font-size:.85em;font-family:var(--font-head)}

/* ---------- 17. MOBILE ACTION BAR ------------------------------------------- */
.mobilebar{
  position:fixed;left:0;right:0;bottom:0;z-index:98;display:none;
  grid-template-columns:1fr 1fr 1.35fr;height:var(--mobilebar-h);
  background:rgba(12,12,12,.97);backdrop-filter:blur(12px);border-top:1px solid var(--c-border);
}
.mobilebar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-family:var(--font-head);font-size:.68rem;font-weight:var(--fw-bold);letter-spacing:.05em;text-transform:uppercase;border-right:1px solid var(--c-border)}
.mobilebar a:last-child{border-right:0;background:var(--c-accent);color:#fff}
.mobilebar a svg{width:19px;height:19px}

/* ---------- 18. COOKIE BANNER ----------------------------------------------- */
.cookie{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:120;max-width:560px;
  background:var(--c-graphite);border:1px solid var(--c-border);border-top:3px solid var(--c-accent);
  border-radius:var(--r-md);padding:22px;box-shadow:var(--shadow-lift);display:none;
}
.cookie.is-visible{display:block}
.cookie p{font-size:.86rem;color:var(--c-text-muted);margin-bottom:16px}
.cookie .btn{min-height:46px;padding:12px 20px;font-size:.78rem}

/* ---------- 19. UNTERSEITEN (Impressum / Datenschutz) ----------------------- */
.pagehead{padding-top:calc(var(--nav-h) + 60px);padding-bottom:44px;background:linear-gradient(180deg,#0C0C0C,var(--c-black))}
.breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:.8rem;color:var(--c-text-muted);margin-bottom:18px}
.breadcrumb a:hover{color:var(--c-accent)}
.prose{max-width:76ch}
.prose h2{font-size:clamp(1.3rem,2.4vw,1.7rem);margin:44px 0 14px}
.prose h3{margin:26px 0 10px}
.prose p,.prose li{color:var(--c-text-muted);margin-bottom:12px}
.prose ul{list-style:disc;padding-left:22px;margin-bottom:16px}
.prose strong{color:var(--c-text)}
.note{border:1px dashed rgba(201,162,39,.5);background:rgba(201,162,39,.07);border-radius:var(--r-md);padding:20px 22px;margin:24px 0}
.note strong{color:#E0BC4A}

/* ---------- 20. ANIMATIONEN -------------------------------------------------- */
/* Sicherheitsnetz: unsichtbar wird nur gestartet, wenn JavaScript laeuft.
   Ohne JavaScript ist die komplette Seite sofort lesbar. */
.reveal{transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js .reveal{opacity:0;transform:translateY(26px)}
.js .reveal.is-in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}
.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}
.zoomable{overflow:hidden}
.zoomable img{transition:transform .8s var(--ease)}
.zoomable:hover img{transform:scale(1.03)}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
  .timeline__line::after{inset:0}
}

/* ---------- 21. RESPONSIVE ---------------------------------------------------- */
@media (max-width:1200px){
  .cards{grid-template-columns:repeat(3,1fr)}
  .brands{grid-template-columns:repeat(4,1fr)}
  .footer__grid{grid-template-columns:1fr 1fr}
}
/* NUR die Navigation: ab hier wird es fuer sieben Menuepunkte plus Telefon
   und Button zu eng — dann uebernimmt das Hamburger-Menue, statt dass
   irgendein Eintrag in zwei Zeilen umbricht. */
@media (max-width:1240px){
  .nav__links,.nav__tel,.nav__cta{display:none}
  .burger{display:grid}
  .nav{height:var(--nav-h-small)}
}

/* Ab hier aendert sich das Seitenlayout (Hero, Formular, Zeitleiste). */
@media (max-width:1080px){
  .hero__grid{grid-template-columns:1fr;gap:40px}
  .hero{padding-top:calc(var(--nav-h-small) + 40px)}
  .hero__media img{aspect-ratio:16/11}
  .formwrap{grid-template-columns:1fr}
  .form__aside{position:static}
  .wa{grid-template-columns:1fr}
  .timeline{grid-template-columns:1fr 1fr;gap:34px}
  .timeline__line{display:none}
  .pagehead{padding-top:calc(var(--nav-h-small) + 40px)}
}
@media (max-width:820px){
  .trustbar__grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .why{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  body{padding-bottom:var(--mobilebar-h)}
  .mobilebar{display:grid}
  .cookie{bottom:calc(var(--mobilebar-h) + 12px)}
  .hero h1{font-size:clamp(2.1rem,9vw,2.9rem)}
  .hero__trust{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .brands{grid-template-columns:repeat(2,1fr)}
  .timeline{grid-template-columns:1fr;gap:0}
  .step{padding-top:0;padding-left:70px;padding-bottom:36px;border-left:2px solid var(--c-border);margin-left:27px}
  .step:last-child{border-left-color:transparent;padding-bottom:0}
  .step__num{left:-28px;top:-4px}
  .form__grid{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr}
  .btn-row .btn{width:100%}
  .btn-row{gap:11px}
  .trustbar__item{padding:20px 18px}
  .section-head{margin-bottom:30px}
}

/* ============================================================================
   22. HELLES GRUNDLAYOUT (Silber statt Schwarz)
   ----------------------------------------------------------------------------
   Die Website steht jetzt auf einer hellen Silberflaeche. Dunkle Abschnitte
   sind Stahlgrau und werden gezielt als Kontrast eingesetzt.
   Dieser Block steht bewusst am Ende, damit er die Grundregeln oben ueberlagert
   und jederzeit als Ganzes wieder entfernt werden koennte.
   ========================================================================== */

/* ---------- Grundflaeche ---------------------------------------------------- */
body{background:var(--c-bg-light);color:var(--c-text-dark)}
.lead{color:var(--c-muted-dark)}
.muted{color:var(--c-muted-dark)}

/* ---------- Dritter Sektionston: Silber ------------------------------------ */
.section--silver{background:var(--c-bg-silver);color:var(--c-text-dark)}

/* ---------- Abschnitte, die dunkel bleiben --------------------------------- */
.section--dark,
.section--graphite,
.hero,
.pagehead,
.trustbar,
.finalcta,
.footer,
.nav,
.mobilemenu,
.mobilebar,
.cookie,
.panel,
.kaufbox,
.filterbar,
.anfrage__box,
.pathband__item,
.form{color:var(--c-text)}

.section--dark .lead,.section--graphite .lead,
.hero .lead,.pagehead .lead,.finalcta .lead,
.panel .lead,.kaufbox .lead{color:var(--c-text-muted)}
.section--dark .muted,.section--graphite .muted,
.footer .muted,.kaufbox .muted,.anfrage__box .muted{color:var(--c-text-muted)}

/* ---------- Weichere Schatten auf hellem Grund ----------------------------- */
.section--light .card,.section--silver .card,
.section--light .mcard,.section--silver .mcard,
.section--light .why__item,.section--silver .why__item{
  background:var(--c-white);border-color:var(--c-border-light);color:var(--c-text-dark);
  box-shadow:0 1px 2px rgba(25,29,34,.05);
}
.section--light .card:hover,.section--silver .card:hover,
.section--light .why__item:hover,.section--silver .why__item:hover{
  background:var(--c-white);border-color:#B6BEC7;box-shadow:0 16px 34px -20px rgba(25,29,34,.35);
}
.section--light .mcard:hover,.section--silver .mcard:hover{
  border-color:#B6BEC7;box-shadow:0 18px 38px -20px rgba(25,29,34,.38);
}
.section--light .card p,.section--silver .card p,
.section--light .why__item p,.section--silver .why__item p,
.section--light .mcard__meta span,.section--silver .mcard__meta span{color:var(--c-muted-dark)}
.section--light .card__arrow,.section--silver .card__arrow{color:#A7B0BA}
.section--light .mcard__titel,.section--silver .mcard__titel,
.section--light .mcard__preis b,.section--silver .mcard__preis b{color:var(--c-text-dark)}
.section--light .mcard__preis,.section--silver .mcard__preis,
.section--light .mcard__aktion,.section--silver .mcard__aktion{border-top-color:var(--c-border-light)}
.section--silver .mcard__meta span{background:#EFF2F5;border-color:var(--c-border-light)}

/* ---------- Listen und Trennlinien auf hell -------------------------------- */
.section--silver .checklist li{border-bottom-color:var(--c-border-light)}
.section--silver .faq,.section--silver .faq__item{border-color:var(--c-border-light)}
.section--silver .faq__a p{color:var(--c-muted-dark)}
.section--silver .step p{color:var(--c-muted-dark)}
.section--silver .step__num{background:var(--c-bg-silver)}
.section--silver .brands{background:var(--c-border-light);border-color:var(--c-border-light)}
.section--silver .brand{background:var(--c-white);color:var(--c-text-dark)}
.section--silver .owner__role{color:var(--c-muted-dark)}
.section--silver .owner{border-top-color:var(--c-border-light)}
.section--silver .btn--ghost{color:var(--c-text-dark);border-color:#BCC4CC}
.section--silver .btn--ghost:hover{border-color:var(--c-text-dark);background:rgba(25,29,34,.05)}
.section--light .btn--ghost{border-color:#BCC4CC}

/* ---------- Kopfbereich der Unterseiten ------------------------------------ */
.pagehead{background:linear-gradient(180deg,var(--c-steel-900),var(--c-steel-800))}

/* ---------- Navigation etwas heller ---------------------------------------- */
.nav{background:rgba(51,57,65,.84)}
.nav.is-scrolled{background:rgba(51,57,65,.97)}

/* ---------- Hero: Stahlverlauf statt Schwarz -------------------------------- */
.hero{
  background:
    radial-gradient(1100px 620px at 78% 10%, rgba(180,0,11,.20), transparent 62%),
    linear-gradient(180deg,#2E343B 0%,var(--c-steel-900) 55%,#3A4149 100%);
}
.finalcta{
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(180,0,11,.20), transparent 65%),
    linear-gradient(180deg,var(--c-steel-900),#2C323A);
}
.footer{background:#2C3239}

/* ---------- Formularfelder ------------------------------------------------- */
.field input,.field select,.field textarea{background:#2F353D;border-color:#575F6A}
.field input:focus,.field select:focus,.field textarea:focus{background:#343B43}
.dropzone{background:#2F353D;border-color:#575F6A}

/* ---------- Firmenlogo im Kopfbereich und Footer ---------------------------- */
.logo__mark{
  background:transparent;border-radius:var(--r-sm);overflow:hidden;
  width:46px;height:46px;padding:0;box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.logo__mark img{width:100%;height:100%;object-fit:cover;display:block}
.nav.is-scrolled .logo__mark{width:40px;height:40px}
@media (max-width:640px){ .logo__mark{width:40px;height:40px} }

/* Grosses Logo als eigenstaendiges Element (Footer, Ueber uns) --------------- */
.logo-gross{
  width:clamp(84px,9vw,110px);height:auto;border-radius:var(--r-sm);
  box-shadow:0 10px 26px -14px rgba(0,0,0,.55);
}

/* ---------- Bildflaechen in Sektionen -------------------------------------- */
.bildbox{
  position:relative;border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--c-border-light);box-shadow:0 18px 40px -26px rgba(25,29,34,.5);
}
.section--dark .bildbox,.section--graphite .bildbox{border-color:var(--c-border)}
.bildbox img{width:100%;height:100%;object-fit:cover;display:block}
.bildbox--breit img{aspect-ratio:16/9}
.bildbox--hoch img{aspect-ratio:4/5}
.bildbox--quad img{aspect-ratio:4/3}
.bildbox__zeile{
  position:absolute;left:16px;right:16px;bottom:16px;
  background:rgba(51,57,65,.88);backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.12);border-left:3px solid var(--c-accent);
  border-radius:var(--r-sm);padding:12px 16px;color:var(--c-text);font-size:.85rem;
}

/* ---------- Bildband ueber die volle Breite --------------------------------- */
.bildband{position:relative;margin:0}
.bildband img{width:100%;height:clamp(240px,34vw,420px);object-fit:cover;display:block}
.bildband figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:clamp(20px,4vw,44px);
  background:linear-gradient(to top,rgba(38,43,50,.9),rgba(38,43,50,.15) 70%,transparent);
  color:var(--c-text);
}
.bildband__ueber{
  display:block;font-family:var(--font-head);font-size:var(--fs-eyebrow);font-weight:var(--fw-bold);
  letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--c-accent-light);margin-bottom:8px;
}
.bildband figcaption strong{
  display:block;font-family:var(--font-head);font-weight:var(--fw-black);
  font-size:clamp(1.15rem,2.4vw,1.9rem);text-transform:uppercase;letter-spacing:-.02em;max-width:26ch;
}

/* ---------- Hersteller-Kacheln mit Logo-Moeglichkeit ------------------------ */
.brand{position:relative;padding:22px 14px}
.brand__logo{max-width:82%;max-height:46px;width:auto;height:auto;object-fit:contain;
  filter:grayscale(1) contrast(.95);opacity:.85;transition:filter var(--speed),opacity var(--speed)}
.brand:hover .brand__logo{filter:grayscale(0);opacity:1}
.brand__name{display:none}
.brand--text .brand__name{display:block}
.section--dark .brand__logo,.section--graphite .brand__logo{filter:grayscale(1) brightness(2.4) contrast(.9)}
.section--dark .brand:hover .brand__logo,.section--graphite .brand:hover .brand__logo{filter:grayscale(0) brightness(1)}

/* ---------- Lesbarkeit: nachgemessene Korrekturen --------------------------- */
/* Dunkle Flaechen bekommen eine echte Hintergrundfarbe, nicht nur einen
   Verlauf — sonst scheint bei Ladefehlern die helle Grundflaeche durch. */
.hero,.finalcta{background-color:var(--c-steel-900)}
.bildband{background-color:var(--c-steel-900)}

/* Das dunkle Rot ist auf dunklem Grund zu schwach — dort heller setzen. */
.section--dark .eyebrow,.section--graphite .eyebrow,.hero .eyebrow,
.finalcta .eyebrow,.pagehead .eyebrow,.panel .eyebrow,.kaufbox .eyebrow{color:var(--c-accent-light)}
.section--dark .eyebrow::before,.section--graphite .eyebrow::before,.hero .eyebrow::before,
.finalcta .eyebrow::before,.pagehead .eyebrow::before,.panel .eyebrow::before{background:var(--c-accent-light)}
.pathband__eyebrow{color:var(--c-accent-light)}

/* Geisterbuttons auf dunklen Kacheln innerhalb heller Sektionen */
.section--silver .pathband__item .btn--ghost,.section--light .pathband__item .btn--ghost,
.section--silver .panel .btn--ghost,.section--light .panel .btn--ghost{
  color:var(--c-text);border-color:var(--c-steel-500);
}
.section--silver .pathband__item .btn--ghost:hover,.section--light .pathband__item .btn--ghost:hover,
.section--silver .panel .btn--ghost:hover,.section--light .panel .btn--ghost:hover{
  border-color:var(--c-text);background:rgba(255,255,255,.07);
}

/* Nebentext im Hervorhebungskasten auf hellem Grund */
.section--silver .highlight p,.section--light .highlight p{color:var(--c-muted-dark)}

/* Preisangabe und Demo-Kennzeichen auf hellen Karten */
.section--light .aufanfrage,.section--silver .aufanfrage{color:var(--c-muted-dark)}
.section--light .badge--demo,.section--silver .badge--demo{
  background:rgba(122,95,9,.12);color:#6B5308;border-color:rgba(122,95,9,.5);
}

/* WhatsApp-Gruen: alle Werte kommen aus tokens.css */

/* Grosse rote Headline auf dunklem Grund: etwas heller, sonst zu schwach */
.hero h1 .hl{color:#F5464E}
.footer h4{color:var(--c-accent-light)}

/* ---------- Mobile Aktionsleiste: WhatsApp in Markenfarbe ------------------- */
/* Die Leiste war noch fast schwarz — jetzt Stahl, passend zum Rest.
   Die drei Felder sind farblich unterscheidbar:
   Anrufen = Stahl, WhatsApp = Gruen, Maschine verkaufen = Rot. */
.mobilebar{background:rgba(51,57,65,.97)}
.mobilebar a[data-mw-href="wa"],
.mobilebar a#m-wa-mobil{background:var(--c-gruen);color:#fff;border-right-color:rgba(255,255,255,.18)}
.mobilebar a[data-mw-href="wa"]:active,
.mobilebar a#m-wa-mobil:active{background:#1AA054}
.mobilebar a[data-mw-href="wa"] svg,
.mobilebar a#m-wa-mobil svg{color:#fff}

/* Bildunterschrift im Hero ebenfalls aus dem Schwarz holen */
.hero__badge{background:rgba(51,57,65,.86)}

/* ---------- Symbole auf dunklen Flaechen ------------------------------------
   Das dunkle Rot verschwindet auf dem aufgehellten Grau. Symbole und kleine
   Akzenttexte nutzen dort das hellere Rot. Buttons bleiben unveraendert. */
.hero__trust svg,
.trustbar__item svg,
.dropzone svg,
.aside-card li svg,
.panel .checklist li svg,
.panel .steplist li::before,
.kaufbox .checklist li svg,
.filterbar__anzahl b,
.section--dark .checklist li svg,
.section--graphite .checklist li svg,
.section--dark .why__item svg,
.section--graphite .why__item svg,
.section--dark .card__icon,
.section--graphite .card__icon,
.section--dark .mcard__art,
.section--graphite .mcard__art,
.section--dark .highlight svg,
.section--graphite .highlight svg{color:var(--c-accent-light)}


/* ============================================================================
   23. HERO IN GLASOPTIK
   ----------------------------------------------------------------------------
   Der Hero besteht aus drei Ebenen, von hinten nach vorn:

     1. Hintergrund — dasselbe Foto, stark weichgezeichnet und abgedunkelt
     2. Schleier    — Stahlton plus roter Lichtschein, haelt den Text lesbar
     3. Glas        — halbtransparente Flaechen, die den Hintergrund weichzeichnen

   Alles Einstellbare steht in den Werten direkt hier unten.
   ========================================================================== */
:root{
  --glas-flaeche:    rgba(38,44,52,.72);    /* Fuellung der Glasflaechen      */
  --glas-kante:      rgba(255,255,255,.14); /* Kante der Glasflaechen         */
  --glas-glanz:      rgba(255,255,255,.13); /* Lichtkante oben                */
  --glas-weich:      18px;                  /* Weichzeichnung hinter dem Glas */
  --hero-bild-weich: 34px;                  /* Weichzeichnung des Hintergrunds*/
  --hero-bild-dunkel: .78;                  /* Helligkeit: kleiner = dunkler  */
}

.hero{
  position:relative;isolation:isolate;overflow:hidden;
  background:var(--c-steel-900);
}

/* Ebene 1 — unscharfes Hintergrundbild */
.hero::before{
  content:"";position:absolute;inset:-7%;z-index:-2;
  background:url("../img/ansprechpartner-hero.jpg") 50% 40%/cover no-repeat;
  filter:blur(var(--hero-bild-weich)) saturate(.82) brightness(var(--hero-bild-dunkel));
  transform:scale(1.05);
}

/* Ebene 2 — Farbschleier und die rote Abschlusslinie unten */
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;height:auto;opacity:1;pointer-events:none;
  background:
    linear-gradient(90deg,transparent,var(--c-accent),transparent) left bottom/100% 2px no-repeat,
    radial-gradient(920px 540px at 82% 12%, rgba(180,0,11,.30), transparent 62%),
    linear-gradient(180deg, rgba(35,40,47,.34) 0%, rgba(35,40,47,.52) 55%, rgba(45,51,59,.70) 100%);
}

/* Ebene 3 — die Glasflaeche mit dem Text */
.hero__glas{
  position:relative;border-radius:var(--r-lg);
  padding:clamp(24px,3vw,42px);
  background:var(--glas-flaeche);
  border:1px solid var(--glas-kante);
  box-shadow:inset 0 1px 0 var(--glas-glanz), 0 26px 60px -30px rgba(0,0,0,.7);
  backdrop-filter:blur(var(--glas-weich)) saturate(1.15);
  -webkit-backdrop-filter:blur(var(--glas-weich)) saturate(1.15);
}
/* feiner Lichtverlauf ueber die Glasflaeche */
.hero__glas::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(150deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 44%);
}
.hero__glas > *{position:relative;z-index:1}

/* Trustpunkte als kleine Glasplaettchen */
.hero__trust li{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r-sm);padding:11px 14px;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}

/* Bildrahmen und Bildunterschrift bekommen dieselbe Glaskante */
.hero__media{
  border-color:rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 34px 70px -34px rgba(0,0,0,.75);
}
.hero__badge{
  background:rgba(35,40,47,.62);border-color:rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15);
}

/* Rueckfallebene fuer Browser ohne Weichzeichnung: deckendere Flaechen */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .hero__glas{background:rgba(38,44,51,.93)}
  .hero__badge{background:rgba(38,44,51,.95)}
  .hero__trust li{background:rgba(255,255,255,.09)}
}

/* Wer im System weniger Transparenz eingestellt hat, bekommt klare Flaechen */
@media (prefers-reduced-transparency:reduce){
  .hero__glas,.hero__badge{
    background:rgba(38,44,51,.96);backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  .hero__trust li{backdrop-filter:none;-webkit-backdrop-filter:none}
}

@media (max-width:640px){
  :root{--hero-bild-weich:26px;--glas-weich:14px}
  .hero__glas{padding:20px 18px}
}

/* ============================================================================
   24. MARKEN-WAND
   ----------------------------------------------------------------------------
   Solange keine Logodateien vorliegen, wird der Herstellername als Wortmarke
   gesetzt. Sobald eine Datei in assets/img/hersteller/ liegt, ersetzt das Logo
   den Text automatisch — ohne Codeaenderung. Siehe ANLEITUNG Kapitel 22.
   ========================================================================== */
.brands{
  grid-template-columns:repeat(6,1fr);
  gap:1px;border-radius:var(--r-md);overflow:hidden;
  background:var(--c-border-light);border:1px solid var(--c-border-light);
}
.brand{
  position:relative;min-height:96px;padding:18px 12px;
  display:grid;place-items:center;text-align:center;
  background:var(--c-white);
  transition:background var(--speed) var(--ease),transform var(--speed) var(--ease);
}
.section--silver .brand,.section--light .brand{background:var(--c-white)}
.section--dark .brand,.section--graphite .brand{background:var(--c-surface)}

/* Der Name als Wortmarke: kompakt, kraeftig, leicht gesperrt */
.brand__name{
  display:block;font-family:var(--font-head);font-weight:var(--fw-black);
  font-size:clamp(.82rem,1.05vw,.98rem);letter-spacing:.03em;text-transform:uppercase;
  line-height:1.15;color:var(--c-text-dark);
  transition:color var(--speed);
}
.section--dark .brand__name,.section--graphite .brand__name{color:var(--c-text)}

/* Feine rote Markierung beim Darueberfahren statt voller Farbfuellung */
.brand::after{
  content:"";position:absolute;left:50%;bottom:16px;translate:-50% 0;
  width:0;height:2px;background:var(--c-accent);transition:width var(--speed) var(--ease);
}
.brand:hover{background:var(--c-bg-light)}
.section--dark .brand:hover,.section--graphite .brand:hover{background:var(--c-surface-2)}
.brand:hover::after{width:26px}
.brand:hover .brand__name{color:var(--c-accent)}
.section--dark .brand:hover .brand__name,
.section--graphite .brand:hover .brand__name{color:var(--c-accent-light)}

/* Echte Logodateien, sobald vorhanden */
.brand__logo{
  max-width:78%;max-height:42px;width:auto;height:auto;object-fit:contain;
  filter:grayscale(1) contrast(.92);opacity:.72;
  transition:filter var(--speed),opacity var(--speed);
}
.brand:hover .brand__logo{filter:grayscale(0) contrast(1);opacity:1}
.section--dark .brand__logo,.section--graphite .brand__logo{filter:grayscale(1) brightness(2.6) contrast(.85)}
.section--dark .brand:hover .brand__logo,
.section--graphite .brand:hover .brand__logo{filter:none}

@media (max-width:1200px){ .brands{grid-template-columns:repeat(4,1fr)} }
@media (max-width:820px){  .brands{grid-template-columns:repeat(3,1fr)} .brand{min-height:84px} }
@media (max-width:520px){  .brands{grid-template-columns:repeat(2,1fr)} }

/* ---------- Sicherheitsnetz: jeder WhatsApp-Button ist gruen ----------------
   Greift auch, wenn irgendwo versehentlich die neutrale Button-Variante
   gesetzt wird. So kann kein WhatsApp-Button mehr grau erscheinen. */
.btn[data-mw-href="wa"],
a.btn[href^="https://wa.me"]{
  background:var(--c-gruen);color:#fff;border-color:transparent;
}
.btn[data-mw-href="wa"]:hover,
a.btn[href^="https://wa.me"]:hover{
  background:var(--c-gruen-hell);color:#fff;
  box-shadow:0 10px 30px -10px rgba(20,128,64,.55);
}
.btn[data-mw-href="wa"] svg,
a.btn[href^="https://wa.me"] svg{color:#fff}

/* ============================================================================
   25. KORREKTUREN FUER DIE HANDY-ANSICHT
   ========================================================================== */

/* ---------- Hero-Bild: der Inhaber darf nicht angeschnitten werden ---------
   Das Foto ist hochkant (4:5). Auf schmalen Bildschirmen wurde es vorher auf
   Querformat beschnitten — dabei verschwand die Person. Jetzt bleibt das
   Seitenverhaeltnis erhalten, und die Bildunterschrift liegt darunter statt
   darueber. */
@media (max-width:1080px){
  .hero__media img{aspect-ratio:4/5;object-position:50% 42%}
}
@media (max-width:900px){
  .hero__media{display:flex;flex-direction:column}
  .hero__media img{aspect-ratio:4/5}
  .hero__badge{
    position:static;left:auto;right:auto;bottom:auto;
    border-radius:0;border-left-width:3px;border-top:1px solid var(--c-border);
    backdrop-filter:none;-webkit-backdrop-filter:none;
    background:rgba(45,51,59,.96);padding:14px 16px;
  }
}

/* ---------- Bildband: Beschriftung muss sicher lesbar sein -----------------
   Die Ueberzeile stand vorher fast ohne Abdunklung auf dem Foto. Der Verlauf
   reicht jetzt hoeher und ist deutlich dichter. */
.bildband figcaption{
  background:linear-gradient(to top,
    rgba(26,30,36,.96) 0%,
    rgba(26,30,36,.90) 42%,
    rgba(26,30,36,.62) 74%,
    rgba(26,30,36,0) 100%);
  padding-top:clamp(46px,9vw,90px);
}
.bildband__ueber{
  color:#FFB0B5;
  text-shadow:0 1px 4px rgba(0,0,0,.7);
}
.bildband figcaption strong{text-shadow:0 2px 8px rgba(0,0,0,.6)}

/* Auf schmalen Bildschirmen wird das Band hoeher, damit der Text Platz hat */
@media (max-width:640px){
  .bildband img{height:clamp(300px,62vw,380px)}
  .bildband figcaption{padding:60px 20px 22px}
  .bildband figcaption strong{font-size:1.25rem;max-width:20ch}
}

/* ============================================================================
   26. NEBENBUTTONS SICHTBAR MACHEN
   ----------------------------------------------------------------------------
   Die zurueckhaltende Button-Variante war nur ein duenner Rahmen ohne Flaeche.
   Auf hellem Grund ging sie unter. Jetzt hat sie ueberall eine eigene Flaeche.
   ========================================================================== */

/* Auf hellen Flaechen: weisse Fuellung mit kraeftigerem Rahmen */
.section--light .btn--ghost,
.section--silver .btn--ghost{
  background:var(--c-white);
  border-color:#7B8794;
  color:var(--c-text-dark);
  box-shadow:0 1px 2px rgba(25,29,34,.08);
}
.section--light .btn--ghost:hover,
.section--silver .btn--ghost:hover{
  background:#E9EEF3;border-color:var(--c-text-dark);
  box-shadow:0 6px 16px -8px rgba(25,29,34,.35);
}

/* Auf weissen Karten: leicht getoente Fuellung, sonst unsichtbar */
.section--light .mcard .btn--ghost,
.section--silver .mcard .btn--ghost{
  background:var(--c-bg-light);border-color:#BCC5CE;
}
.section--light .mcard .btn--ghost:hover,
.section--silver .mcard .btn--ghost:hover{background:#E4EAF0}

/* Auf dunklen Flaechen: helle, halbtransparente Fuellung.
   Steht bewusst NACH den hellen Regeln, damit dunkle Kacheln innerhalb
   heller Abschnitte (Panel, Zwei-Wege-Band) richtig bleiben. */
.section--dark .btn--ghost,
.section--graphite .btn--ghost,
.hero .btn--ghost,
.finalcta .btn--ghost,
.panel .btn--ghost,
.kaufbox .btn--ghost,
.aside-card .btn--ghost,
.filterbar .btn--ghost,
.cookie .btn--ghost,
.mobilemenu .btn--ghost,
.pathband__item .btn--ghost,
.anfrage__box .btn--ghost{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.42);
  color:var(--c-text);
  box-shadow:none;
}
.section--dark .btn--ghost:hover,
.section--graphite .btn--ghost:hover,
.hero .btn--ghost:hover,
.finalcta .btn--ghost:hover,
.panel .btn--ghost:hover,
.kaufbox .btn--ghost:hover,
.aside-card .btn--ghost:hover,
.filterbar .btn--ghost:hover,
.cookie .btn--ghost:hover,
.mobilemenu .btn--ghost:hover,
.pathband__item .btn--ghost:hover,
.anfrage__box .btn--ghost:hover{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.55);
}

/* Anruf-Buttons bekommen das Telefonsymbol in Gruen — wie oben im Kopfbereich */
.btn--ghost[data-mw-href="tel"] svg,
.btn[data-mw-href="tel"] svg{color:var(--c-gruen-hell)}
.btn--primary[data-mw-href="tel"] svg{color:#fff}

/* ============================================================================
   27. HERO-BILD IM HOCHFORMAT
   ----------------------------------------------------------------------------
   Das Hero-Foto steht rechts neben dem Textblock. In dieser schmalen, hohen
   Spalte wirkt ein hochkantes Foto deutlich besser als ein querformatiges.

   object-position steuert, welcher Teil des Fotos sichtbar bleibt, wenn die
   Spalte breiter oder schmaler wird. 50% = waagerecht mittig,
   25% = der obere Teil des Bildes (damit das Gesicht nicht abgeschnitten wird).
   ========================================================================== */
.hero__media img{aspect-ratio:4/5;object-position:50% 25%}

/* Das Messefoto ist sehr farbig — der unscharfe Hintergrund wird deshalb
   staerker entsaettigt, damit das Rot der Marke die Buehne behaelt.
   Der Dateiname steht nur einmal, in Abschnitt 23. */
.hero::before{filter:blur(var(--hero-bild-weich)) saturate(.42) brightness(.66)}

/* ============================================================================
   28. HERO NEBENEINANDER
   ----------------------------------------------------------------------------
   Textblock links, Foto rechts daneben — nicht mehr untereinander.

   Beide Spalten sind exakt gleich hoch: das Foto wird auf die Hoehe des
   Textblocks gezogen und der ueberstehende Teil abgeschnitten. Dadurch
   bleibt rechts keine leere Flaeche stehen.

   Breitenverhaeltnis aendern: die beiden Zahlen bei grid-template-columns.
   "55fr 45fr" heisst Text 55 %, Bild 45 %. Soll das Bild groesser werden:
   z. B. "50fr 50fr".

   Ab 980 px Fensterbreite (Tablet) rutscht das Foto wieder unter den Text,
   weil zwei Spalten dort zu schmal wuerden.
   ========================================================================== */
.hero__grid{
  grid-template-columns:55fr 45fr;
  gap:clamp(28px,3.4vw,56px);
  align-items:stretch;
}
.hero__glas{width:100%}

/* Die Trustpunkte stehen im schmaleren Textblock zweispaltig */
.hero__trust{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* Das Foto fuellt seine Spalte vollstaendig aus.
   Es liegt deckend im Rahmen (position:absolute), damit es wirklich genau so
   hoch wird wie der Textblock daneben. Eine Angabe in Prozent reicht dafuer
   nicht aus — der Browser kennt die Spaltenhoehe dann noch nicht. */
.hero__media{width:100%;align-self:stretch;min-height:clamp(420px,40vw,640px)}
.hero__media img{
  position:absolute;inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:50% 25%;
}

/* Tablet und Handy: wieder untereinander, Bild wieder im Textfluss */
@media (max-width:980px){
  .hero__grid{grid-template-columns:1fr;gap:32px}
  .hero__media{min-height:0}
  .hero__media img{position:static;inset:auto;height:auto;aspect-ratio:16/10;object-position:50% 28%}
}
@media (max-width:640px){
  .hero__trust{grid-template-columns:1fr}
  .hero__media img{aspect-ratio:4/5;object-position:50% 22%}
}

/* ============================================================================
   29. ZWEI-WEGE-BAND
   ----------------------------------------------------------------------------
   Die beiden Kacheln unter der Trust-Leiste: "Ich habe eine Maschine" und
   "Ich loese einen Betrieb auf". Die Regeln lagen frueher in shop.css; seit
   der Verkaufsbereich entfallen ist, stehen sie hier.
   ========================================================================== */
.pathband{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--c-border)}
.pathband__item{
  background:var(--c-graphite);padding:clamp(24px,3vw,38px);
  display:flex;flex-direction:column;gap:12px;align-items:flex-start;
  transition:background var(--speed) var(--ease);position:relative;overflow:hidden;
}
.pathband__item::before{content:"";position:absolute;left:0;top:0;height:3px;width:0;background:var(--c-accent);transition:width var(--speed) var(--ease)}
.pathband__item:hover{background:var(--c-surface-2)}
.pathband__item:hover::before{width:100%}
.pathband__eyebrow{
  font-family:var(--font-head);font-size:var(--fs-eyebrow);font-weight:var(--fw-bold);
  letter-spacing:var(--ls-eyebrow);text-transform:uppercase;color:var(--c-accent-light);
}
.pathband h3{font-size:clamp(1.2rem,2vw,1.6rem);text-transform:uppercase}
.pathband p{font-size:.92rem;color:var(--c-text-muted);max-width:44ch}
.pathband .btn{margin-top:6px}

@media (max-width:820px){ .pathband{grid-template-columns:1fr} }

/* ==========================================================================
   30. PORTRAETFOTO STATT INITIALEN
   ----------------------------------------------------------------------------
   Im Abschnitt "Ueber uns" stand bisher ein roter Kreis mit den Buchstaben
   "JK". Dort steht jetzt ein echtes Foto. Groesse und runde Form kommen
   weiterhin aus .owner__avatar (Abschnitt 13).
   ========================================================================== */
img.owner__avatar{
  object-fit:cover;
  object-position:50% 30%;
  background:var(--c-silver-200);
  border:2px solid var(--c-border);
}
.section--light img.owner__avatar{border-color:var(--c-border-light)}
