/* The decorative path is copied from the original Atwater Social SVG. */
@keyframes logo-line-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-100}}
#start .logo-outline path:nth-of-type(-n+2){stroke:url(#hero-left)}#start .logo-outline path:nth-of-type(n+3){stroke:url(#hero-right)}
#team .logo-outline path:nth-of-type(-n+2){stroke:url(#about-left)}#team .logo-outline path:nth-of-type(n+3){stroke:url(#about-right)}
#kontakt .logo-outline path:nth-of-type(-n+2){stroke:url(#contact-left)}#kontakt .logo-outline path:nth-of-type(n+3){stroke:url(#contact-right)}
.logo-outline .logo-frame-base{stroke-width:1.3;stroke-dasharray:none;animation:none;opacity:.4;vector-effect:non-scaling-stroke}
.logo-outline .logo-frame-runner{stroke-width:2;stroke-dasharray:28 72;stroke-linecap:round;animation:logo-line-flow 12s linear infinite;opacity:1;vector-effect:non-scaling-stroke}
.hero-visual>.hero-frame{mask-image:none;transform:none;inset:17% -5% 10%;width:110%;height:73%;opacity:.95}
.cutout-photo .logo-outline{inset:15% -2% 0;width:104%;height:82%;transform:none;opacity:.85}
/* All reference cards use one start point, speed and phase. */
.partner-track .partner-logo:nth-child(n)::after{animation-delay:0s;animation-duration:8s;animation-timing-function:linear}
/* Reserve room so typing never moves the surrounding FAQ. */
.faq-typing-stage{position:relative;min-height:180px;display:flex;align-items:center;width:100%}
.faq-typing-stage .typing-title{line-height:1.12;width:100%;min-height:2.24em;transition:opacity .15s}
.typing-dots{display:none!important;position:absolute;left:2px;top:44%;margin:0!important}
.typing-ready .typing-dots{display:flex!important}
.typing-ready .typing-title{opacity:0}
.typing-active .typing-dots,.typing-complete .typing-dots{display:none!important}
.typing-active .typing-title,.typing-complete .typing-title{opacity:1}
.typing-cursor{display:none;width:2px;height:.78em;background:var(--orange);vertical-align:baseline;margin-left:5px;animation:typing-blink .65s steps(1) infinite}
.typing-active .typing-cursor{display:inline-block}
@keyframes typing-blink{50%{opacity:0}}
.faq-replay{position:absolute;right:29px;bottom:48px;border:0;background:none;color:var(--light-orange);padding:10px;width:40px;height:40px;opacity:0;pointer-events:none;transition:opacity .2s;display:grid;place-items:center;border-radius:50%}
.faq-replay svg{width:18px;height:18px}.typing-complete .faq-replay{opacity:.45;pointer-events:auto}.typing-complete:hover .faq-replay,.typing-complete .faq-replay:focus-visible{opacity:1}.faq-replay:hover{background:rgb(255 138 0 / .08)}
.cutout-photo .photo-window img{transform:scale(1.16);transform-origin:50% 100%}.cutout-photo .photo-window{mask-image:linear-gradient(#000 82%,transparent 100%)}
@media(max-width:760px){.hero-visual>.hero-frame{inset:12% 2% 8%;width:96%;height:74%}.cutout-photo .logo-outline{inset:16% -2% 0;height:79%}.cutout-photo .photo-window img{transform:scale(1.23)}.faq-typing-stage{min-height:150px}.faq-replay{right:28px;bottom:42px}}
@media(prefers-reduced-motion:reduce){.logo-outline .logo-frame-runner{animation:none;stroke-dasharray:none;opacity:.65}.typing-cursor{animation:none}.typing-dots i{animation:none}}
/* Override the former static hero path rule, including its element specificity. */
#start .hero-frame .logo-frame-base{animation:none;stroke-dasharray:none;stroke-width:1.3}
#start .hero-frame .logo-frame-runner{animation:logo-line-flow 12s linear infinite;stroke-dasharray:28 72;stroke-width:2}
@media(prefers-reduced-motion:reduce){#start .hero-frame .logo-frame-runner{animation:none;stroke-dasharray:none}}
/* A permanent orange outline; only its illumination travels. */
:is(#start,#team,#kontakt) .logo-outline path.logo-frame-base{stroke:var(--orange);stroke-width:1.25;opacity:.65;stroke-dasharray:none;animation:none;filter:none}
:is(#start,#team,#kontakt) .logo-outline path.logo-frame-base:nth-of-type(3){display:none}
:is(#start,#team,#kontakt) .logo-outline path.logo-frame-runner{stroke:var(--cream);stroke-width:2;stroke-dasharray:3 97;stroke-linecap:round;opacity:.95;filter:drop-shadow(0 0 3px var(--light-orange));animation:logo-line-flow 12s linear infinite}
:is(#start,#team,#kontakt) .logo-outline path.logo-frame-runner:nth-of-type(4){stroke:var(--orange);stroke-width:9;stroke-dasharray:12 88;filter:blur(5px);opacity:.85}
/* Thin constant card border plus a soft moving specular highlight. */
.partner-track>a.partner-logo:nth-child(n),.services .flip-face{border:1px solid rgb(255 138 0 / .6)}
.partner-logo::after,.services .flip-face::after{background:conic-gradient(from var(--outline-turn),transparent 0deg,transparent 12deg,rgb(255 138 0 / .15) 21deg,var(--light-orange) 28deg,var(--cream) 32deg,var(--light-orange) 36deg,rgb(255 138 0 / .15) 44deg,transparent 55deg,transparent 360deg);padding:1.5px}
.partner-logo::before,.services .flip-face::before{content:'';display:block;position:absolute;inset:-1px;transform:none;border:0;border-radius:inherit;padding:3px;background:conic-gradient(from var(--outline-turn),transparent 0deg,transparent 8deg,var(--orange) 25deg,var(--light-orange) 32deg,var(--orange) 40deg,transparent 60deg,transparent 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:blur(4px);opacity:.7;pointer-events:none;animation:outline-orbit 8s linear infinite}
.partner-track .partner-logo:nth-child(n)::before,.partner-track .partner-logo:nth-child(n)::after,.services .flip-card:nth-child(n) .flip-face::before,.services .flip-card:nth-child(n) .flip-face::after{animation:outline-orbit 8s linear infinite;animation-delay:0s}
/* Keep the restaurants' actual artwork colors. */
.partner-logo img,.clip-identity>img{filter:none}
/* The halo extends past the image, becoming transparent before its lower edge. */
.cutout-photo:before{inset:12% -8% -12%;background:radial-gradient(ellipse at 50% 43%,rgb(255 138 0 / .14) 0%,rgb(255 138 0 / .07) 25%,rgb(255 138 0 / .025) 46%,transparent 70%);mask-image:linear-gradient(to bottom,#000 0%,#000 40%,rgb(0 0 0 / .75) 60%,rgb(0 0 0 / .3) 78%,transparent 98%)}
.cutout-photo .photo-window{mask-image:linear-gradient(to bottom,#000 0%,#000 64%,rgb(0 0 0 / .97) 75%,rgb(0 0 0 / .75) 85%,rgb(0 0 0 / .3) 94%,transparent 100%)}
.bubble-outline path.bubble-frame-base{stroke:var(--orange);opacity:.65}
.bubble-outline path.bubble-frame-light{stroke:var(--cream);stroke-width:1.8;stroke-dasharray:3 97;opacity:.9;filter:drop-shadow(0 0 3px var(--light-orange));animation:logo-line-flow 12s linear infinite}
.bubble-outline path.bubble-frame-glow{stroke:var(--orange);stroke-width:8;stroke-dasharray:12 88;opacity:.7;filter:blur(5px);animation:logo-line-flow 12s linear infinite}
@media(prefers-reduced-motion:reduce){:is(#start,#team,#kontakt) .logo-outline path.logo-frame-runner,.bubble-outline path.bubble-frame-light,.bubble-outline path.bubble-frame-glow{animation:none;display:none}.partner-track .partner-logo:nth-child(n)::before,.partner-track .partner-logo:nth-child(n)::after,.services .flip-card:nth-child(n) .flip-face::before,.services .flip-card:nth-child(n) .flip-face::after{animation:none;opacity:.25}}
/* One shared rhythm: two opposing orange arms with soft fading ends. */
.dual-outline,.dual-highlight,.partner-logo::before,.partner-logo::after,.flip-face::before,.flip-face::after{--frame-arms:conic-gradient(from var(--outline-turn),transparent 0deg,rgba(0,0,0,.08) 14deg,#000 40deg,#000 102deg,rgba(0,0,0,.35) 135deg,transparent 160deg,transparent 180deg,rgba(0,0,0,.08) 194deg,#000 220deg,#000 282deg,rgba(0,0,0,.35) 315deg,transparent 340deg,transparent 360deg);--frame-light-mask:conic-gradient(from var(--outline-turn),transparent 0deg,transparent 45deg,rgba(0,0,0,.15) 55deg,#000 70deg,rgba(0,0,0,.15) 85deg,transparent 95deg,transparent 225deg,rgba(0,0,0,.15) 235deg,#000 250deg,rgba(0,0,0,.15) 265deg,transparent 275deg,transparent 360deg);--frame-colored-arms:conic-gradient(from var(--outline-turn),transparent 0deg,rgba(255,138,0,.08) 14deg,var(--orange) 40deg,var(--orange) 102deg,rgba(255,138,0,.35) 135deg,transparent 160deg,transparent 180deg,rgba(255,138,0,.08) 194deg,var(--orange) 220deg,var(--orange) 282deg,rgba(255,138,0,.35) 315deg,transparent 340deg,transparent 360deg);--frame-colored-light:conic-gradient(from var(--outline-turn),transparent 0deg,transparent 45deg,rgba(255,138,0,.15) 55deg,var(--light-orange) 65deg,var(--cream) 70deg,var(--light-orange) 75deg,rgba(255,138,0,.15) 85deg,transparent 95deg,transparent 225deg,rgba(255,138,0,.15) 235deg,var(--light-orange) 245deg,var(--cream) 250deg,var(--light-orange) 255deg,rgba(255,138,0,.15) 265deg,transparent 275deg,transparent 360deg)}
:is(#start,#team,#kontakt) svg.logo-outline.dual-outline,svg.bubble-outline.dual-outline{mask-image:var(--frame-arms);animation:outline-orbit 8s linear infinite;animation-delay:0s;opacity:1}
:is(#start,#team,#kontakt) svg.logo-outline.dual-highlight,svg.bubble-outline.dual-highlight{mask-image:var(--frame-light-mask);animation:outline-orbit 8s linear infinite;animation-delay:0s;opacity:1}
:is(#start,#team,#kontakt) svg.logo-outline path.dual-line,.bubble-outline path.dual-line{stroke:var(--orange);stroke-width:1.4;stroke-dasharray:none;animation:none;filter:none;opacity:.85;vector-effect:non-scaling-stroke}
:is(#start,#team,#kontakt) svg.logo-outline path.dual-halo,.bubble-outline path.dual-halo{stroke:var(--orange);stroke-width:8;stroke-dasharray:none;animation:none;filter:blur(4px);opacity:.65;vector-effect:non-scaling-stroke}
:is(#start,#team,#kontakt) svg.logo-outline path.dual-light,.bubble-outline path.dual-light{stroke:var(--cream);stroke-width:1.7;stroke-dasharray:none;animation:none;filter:drop-shadow(0 0 3px var(--light-orange));opacity:.85;vector-effect:non-scaling-stroke}
.partner-track>a.partner-logo:nth-child(n),.services .flip-face{border-color:transparent}
.partner-track .partner-logo:nth-child(n)::after,.services .flip-card:nth-child(n) .flip-face::after{background:var(--frame-colored-arms);animation:outline-orbit 8s linear infinite;animation-delay:0s;opacity:1;padding:1.5px}
.partner-track .partner-logo:nth-child(n)::before,.services .flip-card:nth-child(n) .flip-face::before{background:var(--frame-colored-light);animation:outline-orbit 8s linear infinite;animation-delay:0s;opacity:.8;filter:blur(2px);padding:2.5px}
@media(prefers-reduced-motion:reduce){:is(#start,#team,#kontakt) svg.logo-outline.dual-outline,:is(#start,#team,#kontakt) svg.logo-outline.dual-highlight,svg.bubble-outline.dual-outline,svg.bubble-outline.dual-highlight,.partner-track .partner-logo:nth-child(n)::before,.partner-track .partner-logo:nth-child(n)::after,.services .flip-card:nth-child(n) .flip-face::before,.services .flip-card:nth-child(n) .flip-face::after{animation:none}}

/* Transparent Hans im Glück logo tile and a softer lower-right portrait contour. */
.partner-track>a.partner-logo:nth-child(5){background:transparent}
:is(#team,#kontakt) svg.logo-outline.dual-outline{-webkit-mask-image:var(--frame-arms),linear-gradient(135deg,#000 0%,#000 50%,rgb(0 0 0 / .8) 63%,rgb(0 0 0 / .3) 79%,transparent 96%);mask-image:var(--frame-arms),linear-gradient(135deg,#000 0%,#000 50%,rgb(0 0 0 / .8) 63%,rgb(0 0 0 / .3) 79%,transparent 96%);-webkit-mask-composite:source-in;mask-composite:intersect}
:is(#team,#kontakt) svg.logo-outline.dual-highlight{-webkit-mask-image:var(--frame-light-mask),linear-gradient(135deg,#000 0%,#000 50%,rgb(0 0 0 / .8) 63%,rgb(0 0 0 / .3) 79%,transparent 96%);mask-image:var(--frame-light-mask),linear-gradient(135deg,#000 0%,#000 50%,rgb(0 0 0 / .8) 63%,rgb(0 0 0 / .3) 79%,transparent 96%);-webkit-mask-composite:source-in;mask-composite:intersect}

/* Original photograph stays visible; only the extracted alpha hides the studio background. */
.cutout-photo .photo-window img.team-exact-photo{object-fit:cover!important;object-position:center bottom!important;transform:none}

/* Static orange frame on both sides of each service card. */
.services .flip-card:nth-child(n) .flip-face {
  border: 1px solid rgb(255 138 0 / .65);
}
.services .flip-card:nth-child(n) .flip-face::before,
.services .flip-card:nth-child(n) .flip-face::after {
  content: none;
  animation: none;
}
