/*
Theme Name: MB Fahrzeugtechnik
Author: Happy Heroes
Description: Schlankes Theme für mbfahrzeugtechnik.info, abgeleitet von der freigegebenen Landingpage (Variante B, 26.09.2026).
Version: 1.0.0
Requires PHP: 7.4
Text Domain: mbf
*/
/* MBF Landingpage – Entwurf. Variante A (.va): hell. Variante B (.vb): dunkler Hero + Kurzprofil. */
/* Überschriften: Poppins Bold (SIL Open Font License, fonts/OFL-Poppins.txt), selbst gehostet. Ersetzt Dexa Pro (Lizenz ungeklärt, Jan 16.10.). */
@font-face{font-family:"Poppins";src:url("fonts/poppins-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";src:url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2");font-weight:700;font-display:swap;unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{--bg:#fff;--bg-alt:#f5f5f5;--ink:#111;--muted:#555;--line:#e3e3e3;--dark:#0a0a0a;--dark2:#161616;
 --accent:#FDB201;--accent-dk:#e6a000;--head:"Poppins",system-ui,sans-serif;--body:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
*{box-sizing:border-box}
body{margin:0;font-family:var(--body);color:var(--ink);background:var(--bg);line-height:1.55;font-size:17px}
img{max-width:100%;display:block}
h1,h2{font-family:var(--head);font-weight:700;line-height:1.08;margin:0 0 .45em;text-transform:uppercase;letter-spacing:.005em}
h1{font-size:clamp(36px,4.6vw,62px)}
h2{font-size:clamp(26px,3vw,38px)}
h3{font-family:var(--head);font-weight:700;font-size:19px;line-height:1.25;margin:0 0 .4em}
p{margin:0 0 1em}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
section{padding:76px 0}
.sub{font-size:19px;color:var(--muted);max-width:720px;margin:-4px 0 40px}
.vb .on-dark .sub{color:#c9c9c9}
/* Knöpfe */
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;padding:15px 24px;border-radius:8px;text-decoration:none;border:2px solid transparent;line-height:1.2;white-space:nowrap;font-family:var(--body);cursor:pointer}
.btn svg{width:20px;height:20px;flex:none}
.btn-primary{background:var(--accent);color:var(--ink);border-color:var(--accent)}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.vb .on-dark .btn-outline,.vb .site-head .btn-outline{color:#fff;border-color:#fff}
.btn-sm{padding:11px 16px;font-size:15px}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Kopfzeile */
.site-head{padding:14px 0;border-bottom:1px solid var(--line)}
.vb .site-head{background:var(--dark);border-bottom-color:#222}
.head-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo img{height:62px;width:auto}
.va .logo-dunkel{display:none}.vb .logo-hell{display:none}
.head-right{display:flex;align-items:center;gap:12px}
.hours{color:var(--muted);font-size:15px;margin-right:6px}
.vb .hours{color:#bbb}
/* Hero */
.hero{position:relative;overflow:hidden;padding:84px 0 80px}
.va .hero{background:linear-gradient(180deg,#f5f5f5 0%,#fff 100%)}
.vb .hero{background:var(--dark) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><path d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23ffffff' stroke-opacity='0.055'/></svg>");color:#fff}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;position:relative;z-index:1}
.overline{font-weight:700;font-size:15px;letter-spacing:.04em;text-transform:uppercase;margin:0 0 18px;display:flex;align-items:center;gap:12px}
.overline::before{content:"";width:34px;height:4px;background:var(--accent);flex:none}
.va .overline{color:var(--muted)}
.vb .overline{color:var(--accent)}
.lead{font-size:20px;max-width:560px;margin-bottom:28px}
.vb .on-dark .lead{color:#e6e6e6}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.or{font-size:16px;color:var(--muted);margin:0 0 26px}
.vb .hero .or{color:#bbb}
.or a{font-weight:700;color:inherit}
.checks{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.checks li{display:flex;align-items:flex-start;gap:10px;font-size:16px}
.checks .icon{width:22px;height:22px;flex:none;stroke:var(--accent);stroke-width:2.6;margin-top:1px}
.va .checks .icon{stroke:#111;background:var(--accent);border-radius:50%;padding:3px}
.hero-media{margin:0;position:relative}
.hero-media img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 40%;border-radius:14px}
.va .hero-media img{box-shadow:0 24px 60px rgba(0,0,0,.14)}
.vb .hero-media img{outline:1px solid rgba(255,255,255,.12)}
.tag{position:absolute;left:14px;bottom:14px;background:rgba(17,17,17,.82);color:#fff;font-size:13px;padding:6px 10px;border-radius:6px}
.hero-cars{display:none}
.vb .hero-cars{display:block;position:absolute;right:-40px;bottom:-30px;width:46%;opacity:.18;pointer-events:none}
.hero-rating{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit;margin:-6px 0 22px;padding:10px 16px;border-radius:999px;font-size:16px}
.va .hero-rating{background:#fff;border:1px solid var(--line)}
.vb .hero-rating{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14)}
.hero-rating .gstars{color:var(--accent);font-size:18px;letter-spacing:2px;line-height:1}
.hero-rating b{font-weight:700}
.vb .hero-rating span:last-child{color:#c9c9c9}
.va .hero-rating span:last-child{color:var(--muted)}
.zusagen{list-style:none;padding:0;margin:-20px 0 30px;display:flex;flex-wrap:wrap;gap:10px 28px;color:#333;font-size:16px}
.zusagen li{display:flex;align-items:center;gap:8px}
.zusagen .icon{width:20px;height:20px;stroke:#111;background:var(--accent);border-radius:50%;padding:3px;flex:none}
/* Mobile Leiste (im Entwurf statisch gezeigt) */
.mobilebar-demo{display:none}
/* Vertrauensleiste */
.trust{padding:0;border-bottom:1px solid var(--line)}
.trust ul{list-style:none;margin:0;padding:28px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.trust li{border-left:4px solid var(--accent);padding-left:16px}
.trust li b{display:block;font-family:var(--head);font-size:25px;line-height:1.05;margin-bottom:6px;text-transform:uppercase;white-space:nowrap}
.trust li span{color:var(--muted);font-size:15px;line-height:1.4;display:block}
.plate{width:40px;height:40px;border-radius:10px;background:var(--dark);display:grid;place-items:center;flex:none}
.plate .icon{stroke:var(--accent);width:22px;height:22px}
/* Leistungen */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px 24px 22px;display:flex;flex-direction:column}
.card>img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;margin-bottom:18px}
.card .plate{width:54px;height:54px;border-radius:14px;margin-bottom:18px}
.card .plate .icon{width:28px;height:28px}
.card p{color:var(--muted);font-size:16px;flex:1}
.card a{font-weight:700;text-decoration:none;color:var(--ink);border-bottom:3px solid var(--accent);align-self:flex-start;padding-bottom:2px}
.rest{margin-top:28px;color:var(--muted);font-size:16px;max-width:900px}
.rest strong{color:var(--ink)}
.card-wide{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px;align-items:center;margin-bottom:22px;border-left:6px solid var(--accent);padding:24px}
.card-wide>img{aspect-ratio:3/2;margin:0;height:100%;border-radius:10px}
.card-wide .kicker{display:inline-block;font-weight:700;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#7A5600;margin-bottom:8px}
.card-wide h3{font-size:26px;text-transform:uppercase}
.card-wide p{font-size:17px;color:#333;margin-bottom:14px}
/* Kundenstimmen */
.stimmen{background:var(--bg-alt)}
.stat{display:inline-flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 18px 8px 8px;font-weight:700;margin-bottom:36px}
.stat b{background:var(--dark);color:var(--accent);border-radius:999px;padding:6px 14px;font-family:var(--head);font-size:20px}
.quotes{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.quote{background:#fff;border-radius:14px;padding:22px 24px 24px;border:1px solid var(--line);position:relative}
.quote::before{content:"„";font-family:var(--head);font-size:56px;line-height:.9;color:var(--accent);display:block;height:34px;margin:-6px 0 14px}
.quote p{font-size:16px;margin-bottom:14px}
.quote footer{font-weight:700;font-size:15px}
.quote footer span{display:block;color:var(--muted);font-weight:400}
.footnote{color:var(--muted);font-size:14px;margin:22px 0 0}
.gbadge{display:inline-flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 20px 8px 8px;text-decoration:none;color:var(--ink);margin-bottom:36px}
.gscore{background:var(--dark);color:var(--accent);border-radius:999px;padding:8px 16px;font-family:var(--head);font-size:22px;font-weight:700}
.gstars{color:var(--accent);font-size:22px;letter-spacing:2px;line-height:1}
.gcount{font-size:15px;color:var(--muted)}.gcount b{color:var(--ink)}
.footnote a{color:var(--ink)}
/* Kurzprofil */
.va .profil{background:#fff;border-top:1px solid var(--line)}
.vb .profil{background:var(--dark2);color:#fff}
.profil-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
.profil-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
.profil .role{font-weight:700;color:var(--muted);margin:-8px 0 18px}
.vb .profil .role{color:#c9c9c9}
.profil blockquote{margin:22px 0 26px;padding-left:18px;border-left:4px solid var(--accent);font-family:var(--head);font-size:22px;line-height:1.3}
/* FAQ */
.faq details{border-bottom:1px solid var(--line);padding:18px 0}
.faq summary{font-family:var(--head);font-weight:700;font-size:19px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::after{content:"+";color:var(--accent);font-size:26px;line-height:1;flex:none}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:12px 0 0;color:#333;max-width:820px}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
/* Formular */
.anfrage{background:var(--bg-alt)}
.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:40px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px}
.form-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:15px}
.form-grid input,.form-grid select,.form-grid textarea{font:inherit;font-weight:400;font-size:16px;padding:13px 14px;border:1.5px solid #cfcfcf;border-radius:8px;background:#fff;color:var(--ink);width:100%}
.form-grid textarea{resize:vertical}
.form-grid small{font-weight:400;color:var(--muted);font-size:13px}
.span2{grid-column:1/-1}
fieldset{border:0;padding:0;margin:0}
fieldset legend{font-weight:700;font-size:15px;margin-bottom:8px}
.radio-row{display:flex;gap:24px;flex-wrap:wrap}
.radio-row label{flex-direction:row;align-items:center;font-weight:400;font-size:16px}
.radio-row input,.check input{width:20px;height:20px;accent-color:var(--accent);margin:0}
.check{flex-direction:row!important;align-items:flex-start!important;font-weight:400!important;font-size:15px!important;gap:12px!important;color:#333}
.check a{text-decoration:underline}
.form-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.form-actions .btn{font-size:17px;padding:16px 30px}
.form-actions .or{margin:0}
/* Fuß */
.site-foot{background:var(--dark);color:#ddd;padding:48px 0 32px;font-size:15px}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:32px;align-items:start}
.site-foot img{height:70px;width:auto}
.site-foot h2,.site-foot h4{color:#fff;font-family:var(--head);font-size:15px;text-transform:uppercase;margin:0 0 10px;letter-spacing:.04em}
.site-foot a{color:#fff;text-decoration:none}
.foot-bottom{border-top:1px solid #2a2a2a;margin-top:32px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;color:#999;font-size:14px;flex-wrap:wrap}
/* Mobil */
@media(max-width:767px){
 section{padding:52px 0}
 .hero{padding:44px 0 40px}
 .hero-grid{grid-template-columns:1fr;gap:28px}
 .hero-media{order:-1}
 .head-right .hours,.head-right .btn-outline{display:none}
 .logo img{height:48px}
 .cta-row .btn{width:100%;justify-content:center}
 .hero-rating{width:100%;justify-content:center;flex-wrap:wrap;border-radius:14px}
 .zusagen{flex-direction:column;gap:8px}
 .vb .hero-cars{width:80%;right:-20%;bottom:-10px;opacity:.12}
 .mobilebar-demo{display:block;background:var(--bg-alt);padding:16px 20px;border-bottom:1px solid var(--line)}
 .mobilebar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;background:var(--dark);padding:10px;border-radius:12px}
 .mobilebar .btn{justify-content:center;padding:12px 8px;font-size:14px;color:#fff;border-color:#444}
 .mobilebar .btn-primary{color:var(--ink);border-color:var(--accent)}
 .demo-note{margin:10px 0 0;font-size:13px;color:var(--muted);text-align:center}
 .trust ul{grid-template-columns:1fr 1fr;gap:18px 16px}
 .trust li b{font-size:24px}
 .cards,.quotes{grid-template-columns:1fr}
 .card-wide{grid-template-columns:1fr;gap:16px;padding:18px}
 .card-wide h3{font-size:22px}
 .gbadge{flex-wrap:wrap;border-radius:16px;gap:10px}
 .profil-grid{grid-template-columns:1fr;gap:26px}
 .profil-grid img{aspect-ratio:1/1}
 .faq-grid{grid-template-columns:1fr}
 .form-card{padding:24px 18px}
 .form-grid{grid-template-columns:1fr}
 .foot-grid{grid-template-columns:1fr;gap:22px}
}

/* ---- Website (Theme) ---- */
.site-nav{display:flex;gap:22px;align-items:center}
.site-nav a{color:#ddd;text-decoration:none;font-size:15px}
.site-nav a:hover{color:var(--accent)}
.menu-toggle{display:none}
.mobilebar-demo{display:none!important}
.mobilebar{display:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-error{background:#fde8e8;border:1px solid #f5b5b5;color:#7a1010;border-radius:10px;padding:12px 16px;margin-bottom:16px}
.legal{padding:64px 0 90px}
.legal .wrap{max-width:820px}
.legal h1{margin-bottom:28px}
.legal h2{font-size:22px;margin:34px 0 10px;text-transform:none}
.legal h3{font-size:18px;margin:24px 0 8px}
.legal p,.legal li{color:#333;line-height:1.65}
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;z-index:99;background:#fff;padding:8px 12px}
@media(max-width:980px){.site-nav{display:none}}
@media(max-width:767px){
 .mobilebar{display:grid;position:fixed;left:10px;right:10px;bottom:10px;z-index:50;box-shadow:0 8px 30px rgba(0,0,0,.35)}
 body{padding-bottom:84px}
}

/* ---- Barrierefreiheit (Prüfung 16.10.2026) ---- */
:focus-visible{outline:2px solid #111;outline-offset:2px;box-shadow:0 0 0 4px var(--accent);border-radius:4px}
.on-dark :focus-visible,.site-head :focus-visible,.site-foot :focus-visible,.mobilebar :focus-visible{outline-color:#fff}
.site-nav a{display:inline-block;padding:12px 2px}
.gbadge .gstars{color:#946600}
.pflicht{font-size:14px;color:#555;margin:0 0 14px}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Tablet: vier Leistungskarten passen erst ab ~1100 px nebeneinander. */
@media(min-width:768px) and (max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}}
.hero-rating{flex-wrap:wrap;row-gap:4px}.hero-rating b,.hero-rating span{white-space:nowrap}
