/*
Theme Name: one by one
Description: Theme für one-by-one.de (Redesign). Kopf, Fußzeile, Seminar-Detailseite mit Buchung.
Version: 1.0
Author: one by one EDV GmbH
*/
body{margin:0;font-family:Inter,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#3f3a52;background:#fff;line-height:1.6}
a{color:#6b21a8}a:hover{color:#581c87}
img{max-width:100%}
summary{list-style-position:outside}
input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #a8d8ff;outline-offset:2px}
h1,h2,h3{font-family:Inter,-apple-system,"Segoe UI",Arial,sans-serif}
#wpadminbar{position:fixed}

/* Einheitliche Schrift: Überschriften wie Fließtext (Inter), auch bei Inline-Styles in Seiteninhalten */
h1,h2,h3,h4,h5,h6{font-family:Inter,-apple-system,"Segoe UI",Arial,sans-serif !important}

.ob1-burger{display:none}
.ob1-mob{display:none}
@media (min-width:701px){.ob1-slim nav{display:none !important}.ob1-slim{margin-bottom:20px !important}}
.ob1-head a:hover{text-decoration:underline !important}
.ob1-head a[href^="tel:"]:hover{text-decoration:none !important}
/* Handy-Ansicht: Inline-Layouts der Seiten auf kleinen Bildschirmen umbrechen lassen */
@media (max-width:700px){
html,body{overflow-x:hidden}
h1{font-size:clamp(28px,8.5vw,40px) !important;line-height:1.15 !important}
h2{font-size:clamp(22px,6.5vw,30px) !important;line-height:1.2 !important}
[style*="flex: 1 1"],[style*="flex:1 1"]{flex-basis:100% !important;min-width:0 !important}
[style*="repeat(4"]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
[style*="repeat(3"],[style*="repeat(auto"]{grid-template-columns:minmax(0,1fr) !important}
[style*="padding: 0 32px"],[style*="padding:0 32px"]{padding-left:18px !important;padding-right:18px !important}
[style*="padding: 28px"],[style*="padding:28px"]{padding:20px !important}
.ob1-burger{display:flex !important;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;padding:0 11px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.4);border-radius:10px;cursor:pointer}
.ob1-burger span{display:block;height:2px;background:#fff;border-radius:2px}
.ob1-head .ob1-main{display:none !important}
.ob1-head .ob1-mob{display:block !important}
.ob1-head>div{gap:12px !important;flex-wrap:nowrap !important}
.ob1-head a[href^="tel:"]{padding:12px 14px !important}
.ob1-head:not(.ob1-open) nav{display:none !important}
.ob1-head.ob1-open nav{flex-direction:column !important;gap:2px !important;background:rgba(26,11,46,.35);border-radius:12px;padding:10px !important;border-top:0 !important}
.ob1-head.ob1-open nav a{padding:11px 14px}
}

@media (max-width:360px){.ob1-head>div>a:first-child,.ob1-burger{flex-shrink:0}.ob1-head a[href^="tel:"]{padding:10px 8px !important;font-size:14px}}

/* Fußzeile */
.ob1-foot{background:#1a0b2e;color:#d9d0ea;font-size:15px;line-height:1.6;margin-top:0}
.ob1-foot-in{max-width:1200px;margin:0 auto;padding:48px 32px 28px}
.ob1-foot a{color:#f3ecff;text-decoration:none}
.ob1-foot a:hover{color:#a8d8ff;text-decoration:underline}
.ob1-foot strong{display:block;color:#fff;font-size:16px;margin-bottom:10px}
.ob1-foot-nl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:12px 40px;align-items:center;padding-bottom:32px;margin-bottom:36px;border-bottom:1px solid rgba(255,255,255,.14)}
.ob1-foot-nl strong{font-size:19px;margin-bottom:4px}
.ob1-foot-nl form{display:flex;gap:10px;margin:0;position:relative}
.ob1-foot-nl input[type=email]{flex:1 1 auto;min-width:0;font:inherit;font-size:16px;padding:12px 14px;border:1px solid #4a3a66;border-radius:10px;color:#1a0b2e;background:#fff}
.ob1-foot-nl button{font:inherit;font-weight:700;font-size:16px;background:#a8d8ff;color:#1a0b2e;border:0;padding:12px 24px;border-radius:10px;cursor:pointer}
.ob1-foot-nl button:hover{background:#c5e5ff}
.ob1-foot-nl p{grid-column:1/-1;margin:0;font-size:13px;color:#b3a8c9}
.ob1-foot-nl p a{text-decoration:underline}
.ob1-foot-cols{display:grid;grid-template-columns:1.2fr 1.4fr 1fr 1fr;gap:32px 40px}
.ob1-foot-cols nav{display:flex;flex-direction:column;gap:7px;align-items:flex-start}
.ob1-foot-cols p{margin:14px 0 0}
.ob1-foot-c{margin:36px 0 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);font-size:13px;color:#b3a8c9}
@media (max-width:900px){.ob1-foot-cols{grid-template-columns:1fr 1fr}.ob1-foot-nl{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.ob1-foot-cols{grid-template-columns:1fr}.ob1-foot-in{padding:36px 18px 24px}.ob1-foot-nl form{flex-wrap:wrap}.ob1-foot-nl button{flex:1 1 100%}}

/* Feinschliff: weiche Übergänge, Karten heben sich beim Überfahren leicht an */
a,button{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}
article{transition:box-shadow .18s,transform .18s,border-color .18s}
article:hover{box-shadow:0 14px 32px rgba(46,16,101,.10);border-color:#d6c9ea !important}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* Startseite: Überschrift kompakter, damit die Knöpfe ohne Scrollen sichtbar sind */
@media (min-width:701px){.home h1{font-size:44px !important;margin-bottom:16px !important}.home section[style*="padding: 40px 32px 0"]{padding-top:8px !important}.home h1+p{margin-bottom:28px !important;font-size:19px !important}.home section>div[style*="flex: 1 1 480px"]{flex:1.35 1 480px !important}.home section>div>div[style*="min-height:380px"]{min-height:320px !important}.home section>div>div[style*="min-height:380px"] img{height:320px !important}}

/* Animationen (nur, wenn der Besucher Bewegung nicht abgeschaltet hat) */
@media (prefers-reduced-motion:no-preference){
.ob1-rv{opacity:0;transform:translateY(18px)}
.ob1-rv,.ob1-rv.in{transition:opacity .55s ease,transform .55s ease,box-shadow .18s,border-color .18s}
.ob1-rv.in{opacity:1;transform:none}
@keyframes ob1up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
h1{animation:ob1up .6s ease both}
h1+p{animation:ob1up .6s ease .12s both}
@keyframes ob1float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

article svg,.ob1-rel a span{transition:transform .2s ease}
article:hover svg{transform:scale(1.12) rotate(-5deg)}
.ob1-rel a:hover span{transform:translateX(4px);display:inline-block}
}

/* Startseite: Roboter berührt die Scheibe, Wellen laufen vom Fingerspitz nach außen (Skript in functions.php) */
.ob1-touch{position:absolute;left:0;top:0;pointer-events:none;z-index:2}
.ob1-touch>img{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;filter:drop-shadow(0 18px 24px rgba(26,11,46,.35))}
.ob1-touch.go>img{animation:ob1flash 1.9s ease-in-out .1s both}
.ob1-touch i{position:absolute;left:40.1%;top:30.4%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;border:2px solid rgba(214,236,255,.9);box-shadow:0 0 18px rgba(168,216,255,.55),inset 0 0 14px rgba(168,216,255,.35);opacity:0;transform:scale(.1)}
.ob1-touch.go i{animation:ob1ring 2.1s cubic-bezier(.15,.6,.3,1) both}
.ob1-touch.go i:nth-of-type(1){animation-delay:.15s}
.ob1-touch.go i:nth-of-type(2){animation-delay:.43s}
.ob1-touch.go i:nth-of-type(3){animation-delay:.71s}
.ob1-touch.go i:nth-of-type(4){animation-delay:.99s}
.ob1-touch b{position:absolute;left:40.1%;top:30.4%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:radial-gradient(circle,rgba(230,244,255,.95),rgba(168,216,255,0) 70%);opacity:0}
.ob1-touch.go b{animation:ob1dot .9s ease-out .1s both}
@keyframes ob1flash{0%{opacity:0}14%{opacity:1}55%{opacity:.85}100%{opacity:0}}
@keyframes ob1ring{0%{opacity:0;transform:scale(.1)}12%{opacity:.85}100%{opacity:0;transform:scale(7)}}
@keyframes ob1dot{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:scale(2.4)}}
@media (prefers-reduced-motion:reduce){.ob1-touch{display:none}}

/* Roboter im Kopfbereich der Unterseiten */
.ob1-hero-robo{position:absolute;right:max(4%,calc((100% - 1200px)/2 + 32px));bottom:0;height:calc(100% - 130px);max-height:380px;min-height:220px;aspect-ratio:720/894;z-index:0;pointer-events:none;clip-path:inset(-60px -60px 0 -60px)}
.ob1-hero-robo img{position:absolute;left:0;bottom:0;width:100%;height:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 16px 22px rgba(26,11,46,.35))}
body div[style*="linear-gradient(120deg"]>*:not(.ob1-hero-robo):not(.ob1-dove){position:relative;z-index:1}
.ob1-hero-robo.sq img{opacity:0}.ob1-hero-robo.sq img:first-child{opacity:1}
@media (max-width:899px){.ob1-hero-robo{display:none}}
@media (prefers-reduced-motion:no-preference){
.ob1-hero-robo{animation:ob1robin 1s cubic-bezier(.2,.8,.2,1) .25s both}
.ob1-hero-robo.r-ok{animation:ob1pop .8s cubic-bezier(.3,1.5,.5,1) .3s both}
.ob1-hero-robo.sq img,.ob1-hero-robo.sq img:first-child{opacity:0;animation:ob1seq 20s linear infinite}
}
@keyframes ob1robin{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes ob1pop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
@keyframes ob1seq{0%{opacity:0}4%{opacity:1}25%{opacity:1}29%{opacity:0}100%{opacity:0}}

/* Leitbild: eine kleine Taube fliegt von rechts nach links durch den Kopfbereich */
.ob1-dove{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;z-index:0}
.ob1-dove img{position:absolute;left:105%;top:40%;width:clamp(96px,10vw,150px);height:auto;opacity:0;filter:drop-shadow(0 8px 12px rgba(26,11,46,.3))}
@media (prefers-reduced-motion:no-preference){.ob1-dove img{animation:ob1fly 16s cubic-bezier(.35,0,.65,1) 1.5s infinite}}
@keyframes ob1fly{0%{left:105%;top:58%;opacity:0;transform:rotate(6deg) scale(.8)}4%{opacity:1}25%{top:34%;transform:rotate(-4deg) scale(1)}45%{top:46%;transform:rotate(3deg) scale(1.1)}62%{left:-22%;top:24%;opacity:1;transform:rotate(-6deg) scale(1.15)}64%,100%{left:-22%;opacity:0}}

.ob1-waves{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:2}
.ob1-wave,.ob1-drop{position:absolute;box-sizing:border-box;transform:translate(-50%,-50%);border-radius:50%;opacity:0}
.ob1-wave{width:0;height:0;border:5px solid rgba(255,255,255,.7);animation:ob1wave 6s cubic-bezier(.2,.5,.35,1) 1.6s infinite}
.ob1-drop{width:9px;height:9px;background:#fff;animation:ob1drop 6s ease-out 1.6s infinite}
@keyframes ob1wave{0%{width:0;height:0;opacity:0}3%{opacity:.8}60%,100%{width:var(--s);height:var(--s);opacity:0}}
@keyframes ob1drop{0%{transform:translate(-50%,-50%) scale(.2);opacity:0}2%{opacity:.95}10%{transform:translate(-50%,-50%) scale(1);opacity:.9}18%,100%{transform:translate(-50%,-50%) scale(.3);opacity:0}}
@media (prefers-reduced-motion:reduce){.ob1-waves{display:none}}
.ob1-w{display:inline-block;will-change:transform}
.ob1-hero-robo.r-zeige-links{aspect-ratio:821/894;clip-path:inset(-300px -300px 0 -300px)}

.ob1-hero-robo.r-cadzahn{aspect-ratio:600/815}

.ob1-hero-robo img.ob1-gear{filter:drop-shadow(0 0 12px rgba(120,230,255,.6));transform-origin:21.7% 33%}
@media (prefers-reduced-motion:no-preference){.ob1-hero-robo img.ob1-gear{animation:ob1gear 8s ease-in-out 1.4s infinite both}}
@keyframes ob1gear{0%{transform:scale(.12);opacity:0}18%{opacity:1}42%,72%{transform:scale(1.18);opacity:1}92%,100%{transform:scale(.12);opacity:0}}

.ob1-hero-robo img.ob1-wink{left:53.45%;top:22.92%;bottom:auto;width:7.33%;height:3.65%;object-fit:fill;filter:none;opacity:0}
@media (prefers-reduced-motion:no-preference){.ob1-hero-robo img.ob1-wink{animation:ob1wink 6s ease-in-out 2.2s infinite}}
@keyframes ob1wink{0%,86%{opacity:0}89%,95%{opacity:1}98%,100%{opacity:0}}

.ob1-hero-robo.r-soft{aspect-ratio:600/821}

.ob1-hero-robo img.ob1-sw{filter:none;transform-origin:19.17% 22.05%}
.ob1-hero-robo img.ob1-sw.s1{-webkit-mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,#000 0,#000 45%,transparent 65%);mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,#000 0,#000 45%,transparent 65%)}
.ob1-hero-robo img.ob1-sw.s2{-webkit-mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,transparent 45%,#000 65%,#000 80%,transparent 100%);mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,transparent 45%,#000 65%,#000 80%,transparent 100%)}
.ob1-hero-robo img.ob1-sw.s3{-webkit-mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,transparent 80%,#000 100%);mask-image:radial-gradient(ellipse 16.67% 12.18% at 19.17% 22.05%,transparent 80%,#000 100%)}
@media (prefers-reduced-motion:no-preference){.ob1-hero-robo img.ob1-sw.s1{animation:ob1swirl 8s linear infinite}.ob1-hero-robo img.ob1-sw.s2{animation:ob1swirl 11s linear infinite}.ob1-hero-robo img.ob1-sw.s3{animation:ob1swirl 15s linear infinite}}
@keyframes ob1swirl{from{transform:rotate(0)}to{transform:rotate(-360deg)}}

.ob1-hero-robo img.ob1-sm{filter:none;transform-origin:19.17% 22.05%;opacity:0}
@media (prefers-reduced-motion:no-preference){
.ob1-hero-robo img.ob1-sm.m1{animation:ob1more1 14s linear 2s infinite}
.ob1-hero-robo img.ob1-sm.m2{animation:ob1more2 14s linear 2s infinite}}
@keyframes ob1more1{0%,58%{opacity:0;transform:rotate(0) scale(.5)}68%{opacity:.95;transform:rotate(-70deg) scale(1.05)}88%{opacity:.95;transform:rotate(-220deg) scale(1.3)}100%{opacity:0;transform:rotate(-300deg) scale(1.45)}}
@keyframes ob1more2{0%,62%{opacity:0;transform:rotate(0) scale(.4)}74%{opacity:.9;transform:rotate(60deg) scale(.7)}90%{opacity:.9;transform:rotate(190deg) scale(.85)}100%{opacity:0;transform:rotate(250deg) scale(.95)}}

/* Animationen pausieren, wenn der Roboter nicht im Bild ist */
.ob1-hero-robo.ob1-off img{animation-play-state:paused}
.ob1-hero-robo img.ob1-gear{will-change:transform,opacity}
@keyframes ob1gear{0%{transform:scale(.12) rotate(-30deg);opacity:0}18%{opacity:1}42%{transform:scale(1.18) rotate(0)}72%{transform:scale(1.18) rotate(10deg);opacity:1}92%,100%{transform:scale(.12) rotate(24deg);opacity:0}}
.ob1-hero-robo.r-cadzahn{clip-path:inset(-300px -300px 0 -300px)}
.ob1-hero-robo.r-soft{clip-path:inset(-300px -300px 0 -300px)}
.ob1-hero-robo img.ob1-gear{transform-origin:20.8% 22.1%}
@keyframes ob1gear{0%{transform:translate(.73%,9.7%) scale(.12) rotate(-120deg);opacity:0}18%{opacity:1}42%{transform:translate(-.15%,-2%) scale(1.18) rotate(0)}72%{transform:translate(-.15%,-2%) scale(1.18) rotate(120deg);opacity:1}92%,100%{transform:translate(.73%,9.7%) scale(.12) rotate(240deg);opacity:0}}
