/*
Theme Name: Opel Bauer
Template: twentytwentyfive
Description: Child-Theme fuer Autohaus Bauer OHG, Viechtach
Version: 1.0.0
Text Domain: opel-bauer
*/
:root{--ob-yellow:#1259A8;--ob-black:#111;--ob-grey:#F4F4F2}
/* Header */
header.wp-block-template-part{position:sticky;top:0;z-index:100}
.admin-bar header.wp-block-template-part{top:32px}
@media (max-width:782px){.admin-bar header.wp-block-template-part{top:0}}
.ob-header{box-shadow:0 2px 14px rgba(0,0,0,.08)}
.ob-topbar a,.ob-footer a{color:inherit;text-decoration:none}
.ob-topbar a:hover,.ob-footer a:hover{color:var(--ob-yellow)}
.ob-topbar p{margin:0}
.ob-header .wp-block-navigation a{text-decoration:none}
.ob-header .wp-block-navigation a:hover{box-shadow:inset 0 -3px 0 var(--ob-yellow)}
@media (max-width:900px){.ob-hide-mobile{display:none!important}}
@media (max-width:600px){.ob-topbar .ob-hours{display:none}}
/* Slider */
.ob-slider{position:relative;overflow:hidden;margin-block-start:0!important}
.ob-slider>*{margin-block-start:0!important}
.ob-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.ob-track::-webkit-scrollbar{display:none}
.ob-track>.wp-block-cover{flex:0 0 100%;scroll-snap-align:start;margin:0!important}
.ob-slide .wp-block-cover__inner-container{width:100%!important;max-width:1240px;margin-inline:auto!important}
.ob-slide .wp-block-cover__inner-container>*{max-width:700px}
.ob-slide h1,.ob-slide h2{line-height:1.08;margin-top:.2em}
.ob-kicker{display:inline-block;background:var(--ob-yellow);color:var(--ob-black)!important;font-weight:700;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;padding:.35em .8em;border-radius:4px}
.ob-slide .is-style-outline .wp-block-button__link{color:#fff;border:2px solid #fff;background:transparent}
.ob-slide .is-style-outline .wp-block-button__link:hover{background:#fff;color:var(--ob-black)}
.ob-dots{position:absolute;left:0;right:0;bottom:22px;display:flex;justify-content:center;gap:10px}
.ob-dots button{width:12px;height:12px;border-radius:50%;border:2px solid #fff;background:transparent;padding:0;cursor:pointer}
.ob-dots button[aria-current]{background:var(--ob-yellow);border-color:var(--ob-yellow)}
.ob-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:rgba(0,0,0,.45);color:#fff;font-size:22px;cursor:pointer}
.ob-arrow:hover{background:var(--ob-yellow);color:var(--ob-black)}
.ob-prev{left:18px}.ob-next{right:18px}
@media (max-width:782px){.ob-arrow{display:none}.ob-slide{min-height:480px!important}}
/* Karten & Icons */
.ob-card{background:#fff;border:1px solid #E5E5E5;border-radius:10px;padding:28px;height:100%;transition:transform .2s,box-shadow .2s}
.ob-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,0,0,.08)}
.ob-card>*:first-child{margin-top:0}
.ob-card.ob-small{padding:22px;border-top:4px solid var(--ob-yellow)}
.ob-card.ob-small h4{margin:0 0 .4em}
.ob-card.ob-small p{margin:0;font-size:.95rem;color:#555}
.ob-more a{font-weight:700;text-decoration:none;box-shadow:inset 0 -2px 0 var(--ob-yellow)}
.ob-ico::before{content:"";display:block;width:56px;height:56px;border-radius:50%;margin-bottom:18px;background:var(--ob-yellow) center/28px no-repeat}
.ob-ico-car::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 16v-4l2.2-5h13.6L21 12v4M3 16h18'/><circle cx='7' cy='16.5' r='2'/><circle cx='17' cy='16.5' r='2'/></svg>")}
.ob-ico-tag::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/><circle cx='8' cy='8' r='1.5'/></svg>")}
.ob-ico-wrench::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/></svg>")}
/* Bereiche */
.ob-stats{gap:40px!important}
.ob-stats p{margin:0}
.ob-stat-num{font-size:2.2rem;font-weight:800;line-height:1}
.ob-stat-num::after{content:"";display:block;width:32px;height:4px;background:var(--ob-yellow);margin:8px 0}
.ob-rounded img{border-radius:12px}
.ob-logo-card{background:#fff;border-radius:12px;padding:24px}
.ob-btn-dark .wp-block-button__link{background:var(--ob-black);color:#fff}
.ob-btn-dark .wp-block-button__link:hover{background:#fff;color:var(--ob-black)}
.ob-dark-card{background:var(--ob-black);color:#fff;border-radius:10px;padding:28px;height:100%}
.ob-dark-card a{color:#fff}
.ob-phone{font-size:1.6rem;font-weight:800}
.ob-phone a{text-decoration:none;color:var(--ob-yellow)!important}
.ob-pagehead{border-bottom:4px solid var(--ob-yellow)}
.ob-footer .wp-block-separator{border-color:#333;opacity:1}
/* Inhalte aus dem alten Theme sauber darstellen */
.entry-content img,.wp-block-post-content img{max-width:100%;height:auto}
/* ---- Blau-Variante ---- */
p.ob-kicker{color:#fff!important}
.ob-arrow:hover{color:#fff}
.ob-topbar a:hover,.ob-footer a:hover{color:#7FB2F0}
.ob-phone a{color:#7FB2F0!important}
.has-accent-1-background-color{color:#fff}
.has-accent-1-background-color :where(h1,h2,h3,h4,p){color:inherit}
/* ---- Jubilaeums-Stempel ---- */
.ob-jubi{position:absolute;top:50%;right:0;transform:translateY(-50%) rotate(-8deg);width:190px;height:190px;border-radius:50%;background:var(--ob-yellow);color:#fff!important;border:5px solid #fff;box-shadow:0 12px 34px rgba(0,0,0,.4);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.15;font-weight:700;font-size:1rem;margin:0!important;max-width:none!important}
.ob-jubi strong{font-size:3.4rem;font-weight:800;line-height:1}
.ob-jubi small{font-weight:400;font-size:.8rem;opacity:.9;margin-top:4px}
@media (max-width:900px){.ob-jubi{position:static;transform:rotate(-6deg);width:118px;height:118px;font-size:.72rem;border-width:3px;margin:0 0 14px!important}.ob-jubi strong{font-size:2.1rem}}
/* ---- Foto-Verlauf im Slider ---- */
.ob-slide .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.5) 45%,rgba(0,0,0,.08) 100%)!important;opacity:1!important}
@media (max-width:782px){.ob-slide .wp-block-cover__background{background:rgba(0,0,0,.55)!important}}
/* ---- Slider heller ---- */
.ob-slide .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.22) 45%,rgba(0,0,0,0) 75%)!important;opacity:1!important}
.ob-slide h1,.ob-slide h2,.ob-slide p:not(.ob-kicker):not(.ob-jubi){text-shadow:0 2px 12px rgba(0,0,0,.65),0 1px 3px rgba(0,0,0,.5)}
@media (max-width:782px){.ob-slide .wp-block-cover__background{background:rgba(0,0,0,.35)!important}}
/* ---- Jubilaeum mit Lorbeerkranz ---- */
.ob-jubi{transform:translateY(-50%)!important;width:210px!important;height:210px!important;padding-top:6px}
.ob-jubi::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><path d='M90.5,167.3 L87.8,166.9 L85.0,166.3 L82.3,165.7 L79.6,164.9 L76.9,164.0 L74.3,163.0 L71.7,161.8 L69.2,160.6 L66.7,159.3 L64.3,157.9 L61.9,156.4 L59.6,154.7 L57.4,153.0 L55.3,151.2 L53.2,149.3 L51.2,147.4 L49.3,145.3 L47.5,143.2 L45.7,141.0 L44.1,138.7 L42.5,136.3 L41.1,133.9 L39.7,131.5 L38.5,129.0 L37.3,126.4 L36.3,123.8 L35.4,121.1 L34.5,118.4 L33.8,115.7 L33.2,113.0 L32.8,110.2 L32.4,107.4 L32.2,104.6 L32.0,101.8 L32.0,99.0 L32.1,96.2 L32.3,93.4 L32.7,90.6 L33.1,87.8 L33.7,85.1 L34.3,82.4 L35.1,79.7 L36.0,77.0 L37.0,74.4 L38.1,71.8 L39.3,69.3 L40.7,66.8 L42.1,64.4 L43.6,62.0 L45.2,59.7 L46.9,57.5 L48.7,55.3 L50.6,53.2 L52.6,51.3 L54.6,49.3 L56.8,47.5 L59.0,45.8 L61.3,44.1 L63.6,42.6 L66.0,41.1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/><ellipse cx='74.7' cy='169.5' rx='3.8' ry='9.0' transform='rotate(-215.0 74.7 169.5)' fill='white'/><ellipse cx='78.8' cy='158.3' rx='3.8' ry='9.0' transform='rotate(-285.0 78.8 158.3)' fill='white'/><ellipse cx='59.1' cy='161.7' rx='3.7' ry='8.7' transform='rotate(-201.4 59.1 161.7)' fill='white'/><ellipse cx='65.7' cy='151.7' rx='3.7' ry='8.7' transform='rotate(-271.4 65.7 151.7)' fill='white'/><ellipse cx='45.8' cy='150.4' rx='3.5' ry='8.4' transform='rotate(-187.9 45.8 150.4)' fill='white'/><ellipse cx='54.6' cy='142.2' rx='3.5' ry='8.4' transform='rotate(-257.9 54.6 142.2)' fill='white'/><ellipse cx='35.5' cy='136.3' rx='3.4' ry='8.1' transform='rotate(-174.3 35.5 136.3)' fill='white'/><ellipse cx='45.9' cy='130.4' rx='3.4' ry='8.1' transform='rotate(-244.3 45.9 130.4)' fill='white'/><ellipse cx='28.8' cy='120.1' rx='3.3' ry='7.8' transform='rotate(-160.8 28.8 120.1)' fill='white'/><ellipse cx='40.3' cy='116.9' rx='3.3' ry='7.8' transform='rotate(-230.8 40.3 116.9)' fill='white'/><ellipse cx='26.1' cy='102.9' rx='3.2' ry='7.5' transform='rotate(-147.2 26.1 102.9)' fill='white'/><ellipse cx='38.0' cy='102.4' rx='3.2' ry='7.5' transform='rotate(-217.2 38.0 102.4)' fill='white'/><ellipse cx='27.4' cy='85.5' rx='3.0' ry='7.2' transform='rotate(-133.7 27.4 85.5)' fill='white'/><ellipse cx='39.2' cy='87.8' rx='3.0' ry='7.2' transform='rotate(-203.7 39.2 87.8)' fill='white'/><ellipse cx='32.9' cy='68.9' rx='2.9' ry='6.9' transform='rotate(-120.1 32.9 68.9)' fill='white'/><ellipse cx='43.8' cy='73.9' rx='2.9' ry='6.9' transform='rotate(-190.1 43.8 73.9)' fill='white'/><ellipse cx='42.0' cy='54.0' rx='2.8' ry='6.6' transform='rotate(-106.6 42.0 54.0)' fill='white'/><ellipse cx='51.4' cy='61.5' rx='2.8' ry='6.6' transform='rotate(-176.6 51.4 61.5)' fill='white'/><ellipse cx='54.4' cy='41.7' rx='2.7' ry='6.3' transform='rotate(-93.0 54.4 41.7)' fill='white'/><ellipse cx='61.8' cy='51.1' rx='2.7' ry='6.3' transform='rotate(-163.0 61.8 51.1)' fill='white'/><ellipse cx='68.1' cy='37.0' rx='3' ry='7' transform='rotate(25 68.1 37.0)' fill='white'/><path d='M109.5,167.3 L112.2,166.9 L115.0,166.3 L117.7,165.7 L120.4,164.9 L123.1,164.0 L125.7,163.0 L128.3,161.8 L130.8,160.6 L133.3,159.3 L135.7,157.9 L138.1,156.4 L140.4,154.7 L142.6,153.0 L144.7,151.2 L146.8,149.3 L148.8,147.4 L150.7,145.3 L152.5,143.2 L154.3,141.0 L155.9,138.7 L157.5,136.3 L158.9,133.9 L160.3,131.5 L161.5,129.0 L162.7,126.4 L163.7,123.8 L164.6,121.1 L165.5,118.4 L166.2,115.7 L166.8,113.0 L167.2,110.2 L167.6,107.4 L167.8,104.6 L168.0,101.8 L168.0,99.0 L167.9,96.2 L167.7,93.4 L167.3,90.6 L166.9,87.8 L166.3,85.1 L165.7,82.4 L164.9,79.7 L164.0,77.0 L163.0,74.4 L161.9,71.8 L160.7,69.3 L159.3,66.8 L157.9,64.4 L156.4,62.0 L154.8,59.7 L153.1,57.5 L151.3,55.3 L149.4,53.2 L147.4,51.3 L145.4,49.3 L143.2,47.5 L141.0,45.8 L138.7,44.1 L136.4,42.6 L134.0,41.1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/><ellipse cx='125.3' cy='169.5' rx='3.8' ry='9.0' transform='rotate(-145.0 125.3 169.5)' fill='white'/><ellipse cx='121.2' cy='158.3' rx='3.8' ry='9.0' transform='rotate(-75.0 121.2 158.3)' fill='white'/><ellipse cx='140.9' cy='161.7' rx='3.7' ry='8.7' transform='rotate(-158.6 140.9 161.7)' fill='white'/><ellipse cx='134.3' cy='151.7' rx='3.7' ry='8.7' transform='rotate(-88.6 134.3 151.7)' fill='white'/><ellipse cx='154.2' cy='150.4' rx='3.5' ry='8.4' transform='rotate(-172.1 154.2 150.4)' fill='white'/><ellipse cx='145.4' cy='142.2' rx='3.5' ry='8.4' transform='rotate(-102.1 145.4 142.2)' fill='white'/><ellipse cx='164.5' cy='136.3' rx='3.4' ry='8.1' transform='rotate(-185.7 164.5 136.3)' fill='white'/><ellipse cx='154.1' cy='130.4' rx='3.4' ry='8.1' transform='rotate(-115.7 154.1 130.4)' fill='white'/><ellipse cx='171.2' cy='120.1' rx='3.3' ry='7.8' transform='rotate(-199.2 171.2 120.1)' fill='white'/><ellipse cx='159.7' cy='116.9' rx='3.3' ry='7.8' transform='rotate(-129.2 159.7 116.9)' fill='white'/><ellipse cx='173.9' cy='102.9' rx='3.2' ry='7.5' transform='rotate(-212.8 173.9 102.9)' fill='white'/><ellipse cx='162.0' cy='102.4' rx='3.2' ry='7.5' transform='rotate(-142.8 162.0 102.4)' fill='white'/><ellipse cx='172.6' cy='85.5' rx='3.0' ry='7.2' transform='rotate(-226.3 172.6 85.5)' fill='white'/><ellipse cx='160.8' cy='87.8' rx='3.0' ry='7.2' transform='rotate(-156.3 160.8 87.8)' fill='white'/><ellipse cx='167.1' cy='68.9' rx='2.9' ry='6.9' transform='rotate(-239.9 167.1 68.9)' fill='white'/><ellipse cx='156.2' cy='73.9' rx='2.9' ry='6.9' transform='rotate(-169.9 156.2 73.9)' fill='white'/><ellipse cx='158.0' cy='54.0' rx='2.8' ry='6.6' transform='rotate(-253.4 158.0 54.0)' fill='white'/><ellipse cx='148.6' cy='61.5' rx='2.8' ry='6.6' transform='rotate(-183.4 148.6 61.5)' fill='white'/><ellipse cx='145.6' cy='41.7' rx='2.7' ry='6.3' transform='rotate(-267.0 145.6 41.7)' fill='white'/><ellipse cx='138.2' cy='51.1' rx='2.7' ry='6.3' transform='rotate(-197.0 138.2 51.1)' fill='white'/><ellipse cx='131.9' cy='37.0' rx='3' ry='7' transform='rotate(-25 131.9 37.0)' fill='white'/></svg>") center/100% no-repeat;pointer-events:none}
.ob-jubi strong{font-size:3.1rem!important;line-height:.95!important}
.ob-jubi span{font-size:.72rem;line-height:1.35}
.ob-jubi span:first-of-type{letter-spacing:.2em;text-transform:uppercase;margin-top:4px}
.ob-jubi small{font-size:.66rem!important;margin-top:2px!important}
@media (max-width:900px){.ob-jubi{transform:none!important;width:132px!important;height:132px!important}.ob-jubi strong{font-size:1.9rem!important}.ob-jubi span{font-size:.5rem}.ob-jubi small{font-size:.45rem!important}}
.ob-jubi{border:5px solid #fff!important}
@media (max-width:900px){.ob-jubi{border-width:3px!important}}
/* ---- Unterseiten ---- */
.ob-lead{font-size:1.25rem;line-height:1.6;color:#333}
.ob-rounded img{border-radius:12px;width:100%}
.ob-timeline{max-width:760px;margin-inline:auto!important;border-left:3px solid var(--ob-yellow);padding-left:34px}
.ob-tl-item{position:relative;padding-bottom:30px}
.ob-tl-item:last-child{padding-bottom:0}
.ob-tl-item::before{content:"";position:absolute;left:-45px;top:4px;width:18px;height:18px;border-radius:50%;background:var(--ob-yellow);border:3px solid #fff;box-shadow:0 0 0 2px var(--ob-yellow)}
.ob-tl-year{font-size:1.9rem;font-weight:800;color:var(--ob-yellow);margin:0!important;line-height:1}
.ob-tl-item h3{margin:.3em 0 .2em!important}
.ob-tl-item p{margin:0}
.ob-cta-phone{font-size:2rem;font-weight:800;text-align:right;margin:0 0 12px}
.ob-cta-phone a{color:#fff!important;text-decoration:none}
.ob-cta .wp-block-buttons{justify-content:flex-end}
@media (max-width:782px){.ob-cta-phone{text-align:left}.ob-cta .wp-block-buttons{justify-content:flex-start}}
.wp-block-post-content>.ob-cta:last-child{margin-bottom:-72px}
.ob-card-media{padding:0!important;overflow:hidden}
.ob-card-media .ob-card-img{margin:0}
.ob-card-media .ob-card-img img{aspect-ratio:16/9;object-fit:cover;width:100%;border-radius:0;display:block}
.ob-card-body{padding:28px}
.ob-logo-wrap .ob-logo-card{box-shadow:0 6px 24px rgba(0,0,0,.08);border:1px solid #E5E5E5}
.ob-btn-outline-dark .is-style-outline .wp-block-button__link{color:var(--ob-black);border:2px solid var(--ob-black);background:transparent}
.ob-btn-outline-dark .is-style-outline .wp-block-button__link:hover{background:var(--ob-black);color:#fff}
.ob-dark-card h3{color:#fff}
.ob-dark-card .ob-more a{color:#fff;box-shadow:inset 0 -2px 0 var(--ob-yellow)}
.wpcf7 label{font-weight:600;display:block}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #CFCFCF;border-radius:6px;font:inherit;background:#fff;margin-top:6px}
.wpcf7 input:focus,.wpcf7 textarea:focus{outline:2px solid var(--ob-yellow);border-color:transparent}
.wpcf7 input[type=submit]{background:var(--ob-yellow);color:#fff;border:0;border-radius:6px;padding:14px 30px;font:inherit;font-weight:700;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--ob-black)}
/* ---- Logo-Groesse ---- */
.ob-header .wp-block-site-logo img{width:340px;height:auto}
@media (max-width:782px){.ob-header .wp-block-site-logo img{width:200px!important}}
/* ---- Seiten-Banner ---- */
.ob-pagehero{margin:0!important}
.ob-pagehero .wp-block-cover__inner-container{width:100%!important;max-width:1240px;margin-inline:auto!important}
.ob-pagehero .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.3) 50%,rgba(0,0,0,.05) 100%)!important;opacity:1!important}
.ob-pagehero .wp-block-post-title{color:#fff;margin-top:.3em;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.ob-pagehero:not(:has(img)){background:var(--ob-yellow)}
.ob-pagehero:not(:has(img)) .wp-block-cover__background{background:none!important}
.ob-pagehero:not(:has(img)) .ob-kicker{background:#fff;color:var(--ob-yellow)!important}
@media (max-width:782px){.ob-pagehero{min-height:240px!important}.ob-pagehero .wp-block-cover__background{background:rgba(0,0,0,.45)!important}}
/* ---- Kontakt-doppelt: Menuepunkt nur ausblenden, wenn der Button sichtbar ist ---- */
@media (min-width:901px){.ob-header .wp-block-navigation-item:has(> a[href$="/kontakt/"]){display:none}}
/* ---- Bild-gross ---- */
.ob-wide-img img{aspect-ratio:21/9;object-fit:cover;width:100%;box-shadow:0 14px 40px rgba(0,0,0,.12)}
.ob-under-img{margin-top:40px!important;gap:48px}
.ob-under-img h2{margin-top:0}
.ob-under-center{text-align:center}
.ob-under-center .wp-block-buttons{justify-content:center}
@media (max-width:782px){.ob-wide-img img{aspect-ratio:4/3}.ob-under-img{margin-top:24px!important;gap:12px}}
/* ---- Unter-Bild: untereinander ---- */
.ob-under-img.wp-block-columns{flex-direction:column;gap:16px!important}
.ob-under-img.wp-block-columns>.wp-block-column{flex-basis:auto!important;width:100%}
.ob-under-img h2{max-width:13ch}
.ob-under-img p{max-width:780px}
.ob-under-img h2{max-width:none}
/* ---- Oeffnungszeiten als Tabelle ---- */
p:has(> .ob-d){display:grid;grid-template-columns:auto 1fr;column-gap:22px;row-gap:12px;line-height:1.45}
.ob-d{font-weight:700}
.ob-dark-card a[href^="mailto"]{white-space:nowrap;font-size:.92rem}
/* ---- Klick-Rahmen nur bei Tastatur ---- */
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}
a,button{-webkit-tap-highlight-color:transparent}
/* ---- Fotos-neu: Slider-Hoehe und Bildausschnitte ---- */
.ob-slide{min-height:clamp(480px,42vw,760px)!important}
img[src*="opel-neuwagen"]{object-position:50% 85%!important}
img[src*="service-gebaeude"]{object-position:50% 40%!important}
img[src*="kfz-meisterbetrieb"]{object-position:50% 45%!important}
img[src*="50-jahre-jubilaeum"]{object-position:50% 15%!important}
/* ---- Slider: mehr Kontrast hinter dem Text ---- */
.ob-slide .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.65) 0%,rgba(0,0,0,.35) 40%,rgba(0,0,0,0) 72%)!important}
img[src*="werkstatt-service"]{object-position:50% 40%!important}
/* ---- Folie-2-Schild: Text unten, Verlauf von unten ---- */
.ob-slide.is-position-bottom-left{align-items:flex-end}
.ob-slide.is-position-bottom-left .wp-block-cover__inner-container{padding-bottom:64px}
.ob-slide.is-position-bottom-left .wp-block-cover__background{background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.4) 38%,rgba(0,0,0,0) 62%)!important}
img[src*="meisterbetrieb-slider"]{object-position:50% 60%!important}
img[src*="slide3-hof"]{object-position:50% 60%!important}
/* ---- Logo groesser + mehr Abstand ---- */
.ob-header{padding-top:28px!important;padding-bottom:28px!important}
.ob-header>.alignwide{gap:56px}
.ob-header .wp-block-site-logo img{width:400px!important}
@media (max-width:1300px){.ob-header .wp-block-site-logo img{width:320px!important}}
@media (max-width:782px){.ob-header{padding-top:16px!important;padding-bottom:16px!important}.ob-header .wp-block-site-logo img{width:220px!important}}
/* ---- Navi kompakter neben grossem Logo ---- */
.ob-header .wp-block-buttons .wp-block-button__link{font-size:.9rem;padding:10px 18px;white-space:nowrap}
.ob-header .wp-block-navigation{font-size:.95rem}
.ob-header .wp-block-navigation__container{gap:1.15rem}
.ob-header .wp-block-navigation-item__content{white-space:nowrap}
.ob-header>.alignwide>.wp-block-group{gap:22px!important;flex-wrap:nowrap}
@media (max-width:1300px){.ob-header .wp-block-navigation{font-size:.9rem}.ob-header .wp-block-navigation__container{gap:.9rem}}
/* ---- Slider ohne Springen beim Laden ---- */
.ob-slider>.wp-block-cover:not(:first-child){display:none}
/* ---- Handy: Kranz am Stempel, Platz fuer Slider-Punkte ---- */
@media (max-width:900px){
  .ob-jubi{position:relative!important;top:auto!important;right:auto!important}
  .ob-jubi::before{inset:0!important}
}
@media (max-width:782px){
  .ob-slide .wp-block-cover__inner-container{padding-bottom:56px}
}
/* ---- Handy-Optimierung ---- */
.ob-menu-cta{display:none}
/* Kranz sitzt am Stempel */
@media (max-width:900px){
  .ob-jubi{position:relative!important;top:auto!important;right:auto!important}
  .ob-jubi::before{inset:0!important}
}
/* Aufgeklapptes Menue */
.wp-block-navigation__responsive-container.is-menu-open{padding:24px 24px 40px!important}
.is-menu-open .wp-block-navigation__responsive-container-content{align-items:stretch!important;padding-top:48px!important}
.is-menu-open .wp-block-navigation__container{align-items:stretch!important;width:100%;gap:0!important}
.is-menu-open .wp-block-navigation-item{width:100%;align-items:flex-start!important;border-bottom:1px solid #E5E5E5}
.is-menu-open .wp-block-navigation-item__content{font-size:1.25rem!important;font-weight:700;padding:14px 0!important;display:block;width:100%;text-align:left}
.is-menu-open .wp-block-navigation__submenu-container{padding:0 0 10px 18px!important;gap:0!important;width:100%;border:0!important;box-shadow:none!important}
.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item{border:0}
.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:1.05rem!important;font-weight:500;padding:8px 0!important;color:#555}
.is-menu-open .wp-block-navigation-item:has(> a[href$="/kontakt/"]){display:flex!important}
.is-menu-open .ob-menu-cta{display:flex;flex-direction:column;gap:12px;margin-top:28px;width:100%}
.is-menu-open .ob-menu-cta a{display:block;text-align:center;padding:14px 18px;border-radius:6px;font-weight:700;text-decoration:none}
.ob-menu-call{background:var(--ob-yellow);color:#fff!important}
.ob-menu-contact{border:2px solid var(--ob-black);color:var(--ob-black)!important}
/* Slider auf dem Handy: Foto oben ganz sichtbar, Text darunter */
@media (max-width:782px){
  .ob-slide{flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-height:0!important;padding:0!important;background:#111}
  .ob-slide .wp-block-cover__image-background{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;flex:none}
  .ob-slide .wp-block-cover__background{display:none!important}
  .ob-slide .wp-block-cover__inner-container{padding:22px 20px 60px!important;width:100%!important}
  .ob-slide h1,.ob-slide h2{font-size:1.9rem!important;text-shadow:none}
  .ob-slide p:not(.ob-kicker):not(.ob-jubi){font-size:1.05rem!important;text-shadow:none}
  .ob-slide .wp-block-buttons{gap:10px}
  .ob-jubi{margin:0 0 12px!important}
  .ob-pagehero{min-height:200px!important}
}
/* ---- Handy-Feinschliff ---- */
@media (max-width:782px){
  .ob-kicker{white-space:normal;font-size:.72rem!important;max-width:100%;line-height:1.35}
  .ob-slide .wp-block-cover__inner-container{position:relative}
  .ob-jubi{position:absolute!important;top:-78px!important;right:16px!important;width:120px!important;height:120px!important;margin:0!important;z-index:3}
  .ob-jubi + .ob-kicker{margin-top:44px!important}
  .wp-block-post-content>.alignfull[style*="padding-top:80px"]{padding-top:48px!important;padding-bottom:48px!important}
  .wp-block-post-content>.alignfull[style*="padding-top:72px"]{padding-top:44px!important;padding-bottom:44px!important}
}
/* ---- Handy: nichts mehr abgeschnitten ---- */
@media (max-width:782px){
  .ob-slide,.ob-slide *{box-sizing:border-box}
  .ob-slide .wp-block-cover__inner-container{max-width:100%!important;overflow:visible}
  .ob-slide .wp-block-cover__inner-container>*{max-width:100%}
  .ob-jubi{right:14px!important;top:-66px!important;width:112px!important;height:112px!important}
  .ob-jubi + .ob-kicker{margin-top:56px!important}
  .ob-slide h1,.ob-slide h2{overflow-wrap:break-word;hyphens:auto}
}
