/*
Theme Name: Ing.-Büro Lier
Theme URI: https://ivl-eb.de/
Author: Ing.-Büro Lier
Description: Individuelles Theme für Ing.-Büro Lier – Energieberatung, Thermografie und Schimmelberatung.
Version: 2.1.0
Text Domain: ing-buero-lier
*/
:root{--blue:#0d4f86;--blue2:#083b67;--light:#f4f8fb;--line:#d9e4ec;--text:#17324d;--muted:#5d7184;--yellow:#f6c430;--red:#cc1f2f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.55}.container{width:min(1180px,calc(100% - 36px));margin:auto}.top{background:#fff;border-bottom:1px solid var(--line)}.top-inner{display:grid;grid-template-columns:150px 1fr 140px 330px;gap:20px;align-items:center;padding:14px 0}.brand-logo{width:150px;height:115px;object-fit:contain;background:#fff}.nameblock h1{margin:0;font-family:Georgia,serif;font-size:2.6rem;color:#153f6e;line-height:1}.nameblock .sub{font-family:Georgia,serif;font-size:1.55rem;margin-top:4px}.nameblock .claim{font-style:italic;margin-top:8px;color:#255f95}.portrait{width:140px;height:140px;object-fit:cover;object-position:center 20%;border-radius:4px;border:1px solid var(--line)}.badges{display:flex;flex-direction:column;gap:9px;min-width:300px}.badge-expert,.badge-vz{border-radius:7px;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.08)}.badge-expert{background:#eaf7ff;color:#0581c9;padding:12px 14px;font-weight:800}.badge-expert small{display:block;color:#2f6786;font-weight:600}.badge-vz{display:grid;grid-template-columns:48% 52%;min-height:72px}.badge-vz .red{background:var(--red);color:#fff;padding:10px 8px;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:.95rem;white-space:nowrap}.badge-vz .yellow{background:var(--yellow);padding:10px 12px;font-weight:700;font-size:.88rem;display:flex;align-items:center}nav{background:linear-gradient(90deg,var(--blue2),var(--blue));position:relative;z-index:20}.nav-inner{display:flex;gap:2px;flex-wrap:wrap}nav a{color:#fff;text-decoration:none;padding:15px 20px;display:block;font-weight:700}nav a:hover,nav a:focus{background:rgba(255,255,255,.13);outline:none}.hero{min-height:650px;position:relative;display:flex;align-items:center;background-position:0% 48%;background-size:cover;background-repeat:no-repeat}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,42,73,.50) 0%,rgba(7,42,73,.16) 42%,rgba(7,42,73,0) 76%);pointer-events:none}.hero-inner{position:relative;z-index:2;width:100%;padding:0 1vw}.hero-card{max-width:545px;background:rgba(255,255,255,.90);padding:32px 36px;border-radius:10px;margin:0;box-shadow:0 4px 18px rgba(0,0,0,.08)}.hero-card h2{font-family:Georgia,serif;font-size:3rem;line-height:1.08;margin:0 0 20px;color:#164d7e}.hero-card ul{list-style:none;padding:0;margin:0}.hero-card li{margin:10px 0;font-size:1.15rem}.hero-card li:before{content:"✓";font-weight:900;color:var(--blue);margin-right:10px}.hero-card .scribble{font-style:italic;font-size:1.35rem;color:#164d7e;margin-top:22px}.services{padding:26px 0 38px;background:#fff}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-link{display:block;text-decoration:none;color:inherit;border-radius:10px;min-width:0}.service{display:grid;grid-template-columns:38% 62%;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--light);min-height:220px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.service-link:hover .service,.service-link:focus .service{transform:translateY(-2px);box-shadow:0 7px 20px rgba(0,0,0,.10);border-color:#b9cfdd}.service .fakeimg{width:100%;height:100%;min-height:205px;display:flex;align-items:center;justify-content:center;font-size:4rem}.energy{background:linear-gradient(135deg,#ecf4e6,#c9deb7)}.thermo{background:linear-gradient(135deg,#0c4972,#10a0b5 40%,#f4b02b 65%,#b32630)}.mold{background:linear-gradient(135deg,#d4d8d4,#8b9d8d 65%,#4d5b50)}.service-content{padding:22px 18px;min-width:0}.service h3{font-family:Georgia,serif;color:#154c7d;font-size:1.35rem;margin:0 0 8px;overflow-wrap:anywhere}.service p{color:var(--muted);margin:0 0 14px}.more{font-weight:700;color:var(--blue)}.detail{padding:54px 0;border-top:1px solid var(--line);scroll-margin-top:70px}.detail:nth-of-type(even){background:#f8fbfd}.detail h2{font-family:Georgia,serif;color:#154c7d;font-size:2rem;margin-top:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.benefits{border-top:1px solid var(--line);background:#f8fbfd;padding:22px 0}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.benefit{display:flex;gap:12px;align-items:center}.benefit .ico{font-size:2rem}footer{background:linear-gradient(90deg,#0d4f86,#083b67);color:#fff;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}footer a{color:#fff}.contactline{margin:5px 0}.legal{margin-top:14px;display:flex;gap:16px;flex-wrap:wrap}section[id],footer[id]{scroll-margin-top:70px}.legal-page{padding:48px 0;min-height:60vh}.legal-page h1,.legal-page h2{font-family:Georgia,serif;color:#154c7d}
@media(max-width:1050px){.top-inner{grid-template-columns:140px 1fr 120px}.badges{grid-column:1/-1;flex-direction:row}.badge-expert,.badge-vz{flex:1}.portrait{width:120px;height:120px}.brand-logo{width:140px;height:105px}.service-grid{grid-template-columns:1fr}.benefit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.top-inner{grid-template-columns:1fr 1fr}.nameblock{grid-column:1/-1;order:-1}.badges{flex-direction:column}.hero{min-height:470px;background-position:60% center}.hero-inner{padding:20px}.hero-card{padding:26px 24px}.hero-card h2{font-size:2.15rem}.service{grid-template-columns:1fr}.detail-grid,.benefit-grid,.footer-grid{grid-template-columns:1fr}.portrait{justify-self:end}.brand-logo{width:145px;height:105px}}

/* v1.4: approved final hero artwork */
.hero{min-height:0;aspect-ratio:1920/768;background-image:url('assets/hero-final.png') !important;background-size:cover;background-position:center center;background-repeat:no-repeat;display:block}
.hero:before,.hero-inner{display:none}
@media(max-width:700px){.hero{min-height:0;aspect-ratio:1920/768;background-position:center center}}

/* v1.5: service subpages in the established IVL design */
.subpage-hero{background:linear-gradient(90deg,#eaf3fa,#fff);border-bottom:1px solid var(--line);padding:46px 0}.subpage-hero h1{font-family:Georgia,serif;color:#154c7d;font-size:2.65rem;margin:0 0 8px}.subpage-hero p{font-size:1.15rem;max-width:850px;margin:0;color:var(--muted)}.subpage-section{padding:48px 0;border-bottom:1px solid var(--line)}.subpage-section.alt{background:#f8fbfd}.subpage-section h2{font-family:Georgia,serif;color:#154c7d;font-size:2rem;margin:0 0 14px}.subpage-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:38px;align-items:start}.info-box{background:#f4f8fb;border:1px solid var(--line);border-radius:10px;padding:24px}.info-box h3{font-family:Georgia,serif;color:#154c7d;margin-top:0}.checklist{list-style:none;padding:0;margin:0}.checklist li{margin:10px 0;padding-left:26px;position:relative}.checklist li:before{content:"✓";position:absolute;left:0;color:var(--blue);font-weight:900}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.step{border:1px solid var(--line);border-radius:10px;padding:22px;background:#fff}.step b{display:block;color:#154c7d;margin-bottom:7px}.cta-band{background:#154c7d;color:#fff;padding:34px 0}.cta-band h2{color:#fff;margin-top:0}.cta-band a{display:inline-block;background:#fff;color:#154c7d;text-decoration:none;font-weight:700;padding:11px 18px;border-radius:6px;margin-top:8px}@media(max-width:700px){.subpage-grid,.steps{grid-template-columns:1fr}.subpage-hero h1{font-size:2.15rem}}


/* v1.7: flacheres, ruhigeres Startseitenbild */
.hero{aspect-ratio:auto !important;height:430px;min-height:0 !important;background-size:cover !important;background-position:center 48% !important;}
@media(max-width:1050px){.hero{height:360px;}}
@media(max-width:700px){.hero{height:250px;background-position:center center !important;}}


/* v1.8: Originalfoto, getrennte Leistungsseiten und korrigierte Verbraucherzentrale */
.hero.hero-original{height:430px !important;min-height:0 !important;aspect-ratio:auto !important;background-size:cover !important;background-position:center 42% !important;display:flex !important;align-items:center !important}
.hero.hero-original:before{display:block !important}.hero.hero-original .hero-inner{display:block !important}
.hero.hero-original .hero-card{max-width:500px;padding:24px 28px}.hero.hero-original .hero-card h2{font-size:2.35rem}
.badge-vz{grid-template-columns:56% 44% !important;min-width:330px}.badge-vz .red{justify-content:flex-start !important;gap:7px;padding:7px 10px !important;font-size:.88rem !important;white-space:nowrap}.vz-v{font-size:2.5rem;line-height:.8;font-weight:900}.badge-vz .yellow{font-size:.80rem !important;padding:8px 9px !important}
.service-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.heating{background:linear-gradient(135deg,#e7f0f7,#aac9dd)}
.service-grid.four .service{min-height:190px}.service-grid.four .service .fakeimg{min-height:190px}
@media(max-width:1050px){.hero.hero-original{height:360px !important}.badge-vz{min-width:0}.service-grid.four{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.hero.hero-original{height:320px !important;background-position:center center !important}.hero.hero-original .hero-card{max-width:88%;padding:18px}.hero.hero-original .hero-card h2{font-size:1.65rem}.hero.hero-original .hero-card li{font-size:.95rem;margin:5px 0}.hero.hero-original .hero-card .scribble{font-size:1rem;margin-top:12px}.service-grid.four{grid-template-columns:1fr}.badge-vz{grid-template-columns:1fr}.badge-vz .red{justify-content:center !important}}


/* v1.9: breite frühere Gebäudeansicht + vollständig lesbare Verbraucherzentrale */
.hero.hero-original{height:auto !important;aspect-ratio:1920/768 !important;min-height:0 !important;background-size:100% 100% !important;background-position:center !important;background-repeat:no-repeat !important;display:block !important}
.hero.hero-original:before,.hero.hero-original .hero-inner{display:none !important}
.badges{min-width:390px !important}
.badge-vz{grid-template-columns:58% 42% !important;min-width:390px !important}
.badge-vz .red{justify-content:flex-start !important;gap:8px !important;padding:8px 10px !important;font-size:.84rem !important;white-space:nowrap !important;overflow:visible !important}
.badge-vz .red span:last-child{font-size:.84rem !important;letter-spacing:-.15px}
.vz-v{font-size:2.55rem !important;flex:0 0 auto}
.badge-vz .yellow{font-size:.76rem !important;padding:8px 8px !important}
@media(max-width:1050px){.badges{min-width:0 !important}.badge-vz{min-width:0 !important}.hero.hero-original{aspect-ratio:1920/768 !important;height:auto !important}}
@media(max-width:700px){.hero.hero-original{aspect-ratio:1920/768 !important;height:auto !important}.badge-vz{grid-template-columns:58% 42% !important}.badge-vz .red{justify-content:flex-start !important}}


/* v2.0: restore the approved wide hero view exactly; keep functional service pages */
.hero.hero-original{
  height:auto !important;
  aspect-ratio:1920/768 !important;
  background-image:url('assets/hero-wide-oldview.png') !important;
  background-size:100% 100% !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  display:block !important;
}
.hero.hero-original:before,.hero.hero-original .hero-inner{display:none !important}

/* v2.0: make Verbraucherzentrale fully readable */
.top-inner{grid-template-columns:150px 1fr 140px 410px !important}
.badges{min-width:410px !important}
.badge-vz{grid-template-columns:62% 38% !important;min-width:410px !important}
.badge-vz .red{justify-content:flex-start !important;gap:8px !important;padding:8px 10px !important;white-space:nowrap !important;overflow:visible !important}
.badge-vz .red .vz-v{font-size:2.55rem !important;line-height:.8 !important;flex:0 0 auto}
.badge-vz .red span:last-child{font-size:.82rem !important;letter-spacing:-.2px !important;white-space:nowrap !important}
.badge-vz .yellow{font-size:.73rem !important;line-height:1.35 !important;padding:8px !important}
@media(max-width:1050px){.top-inner{grid-template-columns:140px 1fr 120px !important}.badges{grid-column:1/-1;min-width:0 !important}.badge-vz{min-width:0 !important}}
@media(max-width:700px){.top-inner{grid-template-columns:1fr 1fr !important}.badge-vz{grid-template-columns:62% 38% !important}.hero.hero-original{aspect-ratio:1920/768 !important}}


/* v2.1: original IVL logo + original portrait; clean street hero without lamps/fence */
.hero.hero-original{
  height:auto !important;
  aspect-ratio:1851/634 !important;
  min-height:0 !important;
  background-image:url('assets/hero-clean-street.png') !important;
  background-size:100% 100% !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  display:block !important;
}
.hero.hero-original:before,.hero.hero-original .hero-inner{display:none !important}
.brand-logo{object-fit:contain !important;background:#fff !important}
.portrait{object-fit:cover !important;object-position:center 22% !important}
@media(max-width:1050px){.hero.hero-original{aspect-ratio:1851/634 !important;height:auto !important}}
@media(max-width:700px){.hero.hero-original{aspect-ratio:1851/634 !important;height:auto !important}}
