/*
Theme Name: Wiltfang Fahrzeugtechnik Modern
Theme URI: https://wiltfang-fahrzeugtechnik.de
Author: Ralf Ebert
Author URI: https://www.ralf-ebert-it.de
Description: Modernes, responsives One-Page-Theme für Wiltfang Fahrzeugtechnik.
Version: 5.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wiltfang-modern
*/
:root{
  --red:#ba0e0e;
  --red-strong:#d10c0c;
  --dark:#10161c;
  --bg:#edf0f3;
  --shadow:0 12px 30px rgba(15,22,28,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#dfe4e8;color:#182028;font-family:Inter,Segoe UI,Arial,sans-serif}
a{color:inherit}
img{max-width:100%;height:auto}
.site-shell{
  width:min(1520px,calc(100% - 26px));
  margin:12px auto;
  border-radius:30px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 20px 60px rgba(9,19,28,.16);
}
.hero{
  position:relative;
  min-height:600px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(3,10,17,.97) 0%,rgba(4,11,18,.90) 34%,rgba(5,10,15,.52) 52%,rgba(5,10,15,.10) 70%),
    url('assets/images/workshop-tires.jpg') right center/68% 100% no-repeat,
    linear-gradient(180deg,#eff1f3,#f7f8f9);
}
/* Soft ambient glow behind the transparent logo – no rectangular block */
.hero::before{
  content:"";
  position:absolute;
  left:-90px;
  top:-115px;
  width:900px;
  height:430px;
  background:radial-gradient(ellipse at 34% 34%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 24%, rgba(255,255,255,.72) 44%, rgba(255,255,255,.28) 60%, rgba(255,255,255,0) 76%);
  filter:blur(14px);
  opacity:.95;
  pointer-events:none;
  z-index:1;
}
.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0 auto;
  width:270px;
  height:100%;
  background:linear-gradient(135deg,transparent 36%,#c50d11 37%);
  pointer-events:none;
  z-index:1;
}
.brand-wrap{
  position:absolute;
  top:20px;
  left:24px;
  width:min(46%,700px);
  z-index:3;
}
.brand-logo{
  display:block;
  width:100%;
  height:auto;
  filter:
    drop-shadow(0 8px 26px rgba(255,255,255,.78))
    drop-shadow(0 20px 56px rgba(255,255,255,.32));
}
.hero-copy{
  position:relative;
  z-index:4;
  padding:270px 34px 28px;
  max-width:720px;
  color:#fff;
}
.hero-copy h1{
  margin:0;
  font-size:clamp(46px,5vw,78px);
  line-height:1.04;
  font-weight:900;
  font-style:italic;
  letter-spacing:-1.8px;
  text-shadow:0 4px 14px rgba(0,0,0,.56);
}
.hero-copy .accent{
  width:62px;height:6px;border-radius:999px;background:var(--red-strong);margin:18px 0 18px;
}
.hero-copy p{
  margin:0;
  max-width:560px;
  font-size:clamp(20px,2.1vw,31px);
  line-height:1.25;
  font-style:italic;
  color:#f4f6f8;
  text-shadow:0 3px 10px rgba(0,0,0,.45);
}
.trust-row{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:22px;margin-top:28px}
.trust{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center}
.trust .icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e01515,#980000);color:#fff;box-shadow:0 10px 18px rgba(0,0,0,.24);font-size:28px;font-weight:800}
.trust b{display:block;font-size:18px;color:#fff}
.trust span{display:block;font-size:13px;color:#e2e5e8;line-height:1.15}
.contact,.services{background:#f4f6f8;padding-left:34px;padding-right:34px}
.contact{padding-top:8px;padding-bottom:6px}
.services{padding-top:8px;padding-bottom:20px}
.section-title{margin:0 0 20px;text-align:center;font-size:clamp(34px,4vw,58px);line-height:1.05;font-weight:900;font-style:italic;color:#1b222a}
.section-title::after{content:"";display:block;width:74px;height:5px;margin:10px auto 0;border-radius:999px;background:var(--red)}
.contact-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.contact-card{display:flex;align-items:center;gap:14px;min-height:86px;padding:14px 16px;background:#fff;border-radius:18px;box-shadow:var(--shadow)}
.contact-card .cicon{width:50px;height:50px;flex:0 0 50px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#de1518,#980000);color:#fff;font-size:25px;font-weight:800}
.contact-card strong{display:block;font-size:17px;line-height:1.15;color:#222a32}
.contact-card div:last-child{font-size:17px;line-height:1.22;color:#232c35}
.call{display:inline-block;margin-top:5px;color:var(--red);text-decoration:none;font-weight:800}
.call:hover{text-decoration:underline}
.service-grid{max-width:1230px;margin:0 auto;display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.service-card{background:#fff;border-radius:18px;border:1px solid #edf0f3;min-height:145px;padding:16px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:var(--shadow)}
.service-card .sicon{font-size:40px;line-height:1;color:var(--red);margin-bottom:16px}
.service-card strong{font-size:18px;line-height:1.18;color:#222b33}
.categories{max-width:1150px;margin:22px auto 6px;background:#fff;border-radius:999px;padding:12px 20px;text-align:center;box-shadow:0 8px 20px rgba(12,19,26,.08);font-size:clamp(18px,1.9vw,26px);font-weight:800;color:#212931}
.categories i{font-style:normal;color:#222;padding:0 10px}
.site-footer{background:linear-gradient(90deg,#1a2027 0%,#18222b 55%,#141a21 100%);color:#fff;border-top:4px solid var(--red);padding:16px 18px 18px}
.footer-inner{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:1.2fr .6fr auto;gap:18px;align-items:center}
.footer-copy{color:#f3f4f6;font-size:16px;line-height:1.32}.footer-copy small{display:block;opacity:.95}.footer-author{text-align:center;font-size:16px;font-weight:700}.footer-author a,.footer-links a{color:#fff;text-decoration:underline;text-underline-offset:3px}.footer-links{display:flex;justify-content:flex-end;gap:36px;flex-wrap:wrap;white-space:nowrap;font-size:16px}.legal-page{max-width:980px;margin:0 auto;padding:44px 24px 50px}.back-home{display:inline-block;margin-top:30px;padding:12px 18px;border-radius:10px;background:var(--red);color:#fff;text-decoration:none;font-weight:700}.back-home:hover{background:#9c0b0b}

@media (max-width:1240px){
  .brand-wrap{width:min(50%,620px)}
  .hero::before{width:760px;height:390px}
  .service-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  .site-shell{width:calc(100% - 14px);margin:7px auto}
  .hero{min-height:540px;background:
    linear-gradient(90deg,rgba(3,10,17,.97) 0%,rgba(4,11,18,.92) 44%,rgba(5,10,15,.42) 62%,rgba(5,10,15,.08) 78%),
    url('assets/images/workshop-tires.jpg') 72% center/cover no-repeat,
    linear-gradient(180deg,#eff1f3,#f7f8f9)}
  .brand-wrap{width:min(56%,520px)}
  .brand-logo{filter:drop-shadow(0 6px 22px rgba(255,255,255,.72)) drop-shadow(0 14px 44px rgba(255,255,255,.28))}
  .hero::before{left:-80px;top:-105px;width:700px;height:360px}
  .hero-copy{padding-top:235px;max-width:600px}
  .trust-row{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr;justify-items:center;text-align:center}
  .footer-links{justify-content:center}
}
@media (max-width:720px){
  .site-shell{width:100%;margin:0;border-radius:0}
  .hero{min-height:465px;background:
    linear-gradient(180deg,rgba(3,10,17,.10) 0%,rgba(3,10,17,.18) 20%,rgba(4,10,15,.88) 46%,rgba(4,10,15,.97) 100%),
    url('assets/images/workshop-tires.jpg') 74% top/cover no-repeat,
    linear-gradient(180deg,#eff1f3,#f7f8f9)}
  .hero::before{left:-70px;top:-88px;width:520px;height:260px;filter:blur(12px);background:radial-gradient(ellipse at 34% 34%, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 30%, rgba(255,255,255,.58) 52%, rgba(255,255,255,.18) 66%, rgba(255,255,255,0) 80%)}
  .hero::after{width:130px;background:linear-gradient(145deg,transparent 43%,#c50d11 44%)}
  .brand-wrap{top:14px;left:14px;width:74%}
  .hero-copy{padding:185px 18px 24px;max-width:none}
  .hero-copy h1{font-size:34px;line-height:1.05}
  .hero-copy p{font-size:18px;max-width:380px}
  .trust-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .trust{grid-template-columns:42px 1fr;gap:9px}.trust .icon{width:42px;height:42px;font-size:20px}.trust b{font-size:15px}.trust span{font-size:12px}
  .contact,.services{padding-left:14px;padding-right:14px}
  .section-title{font-size:30px;margin-bottom:16px}
  .contact-grid{gap:12px}
  .contact-card{padding:12px 10px;gap:10px;min-height:74px;border-radius:16px}
  .contact-card .cicon{width:42px;height:42px;flex-basis:42px;font-size:21px}
  .contact-card strong{font-size:12px}.contact-card div:last-child{font-size:11px;line-height:1.16}
  .call{font-size:11px;margin-top:3px}
  .service-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .service-card{min-height:112px;padding:12px 8px;border-radius:16px}.service-card .sicon{font-size:28px;margin-bottom:10px}.service-card strong{font-size:13px}
  .categories{border-radius:18px;line-height:1.32;padding:12px 12px;font-size:14px}
  .site-footer{padding:14px 14px 16px}.footer-copy,.footer-author,.footer-links{font-size:14px}
}
@media (max-width:430px){
  .brand-wrap{width:76%}
  .hero-copy{padding-top:198px}
  .trust-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .trust b{font-size:14px}.trust span{font-size:11px}
  .contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .contact-card{padding:10px 8px;gap:8px}.contact-card .cicon{width:38px;height:38px;flex-basis:38px;font-size:18px}.contact-card strong{font-size:11px}.contact-card div:last-child{font-size:10px}
  .service-card strong{font-size:12px}
}
