/* ---------- services hub + service pages + the text part of the music page (services.py).
   Same system as the home page: Victor Mono headlines, Inter Tight (var(--font-sans)) text in 600,
   sections white / #F7F7F7 / #1C1C1C, cards 8px, panels 32px, stacking cards, FAQ accordion. */
.sv-sec{padding:clamp(80px,8vw,128px) 0;background:#FFF;color:#1C1C1C}
.sv--grey{background:#F7F7F7}
.sv--dark{background:#1C1C1C;color:#FFF}
.sv-wrap{max-width:1440px;margin:0 auto;padding:0 clamp(20px,4vw,48px);box-sizing:border-box}
.sv-h2{margin:0;max-width:20ch;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:clamp(36px,4.6vw,72px);line-height:1.02;letter-spacing:-0.02em;text-wrap:balance}
.sv-head{display:flex;flex-direction:column;gap:24px;margin-bottom:clamp(40px,5vw,72px)}
.sv-lead{margin:0;max-width:62ch;font:600 18px/1.35 var(--font-sans);letter-spacing:-0.02em;text-wrap:pretty}
.sv-p{margin:18px 0 0;max-width:62ch;font:600 16px/1.5 var(--font-sans);letter-spacing:-0.015em;color:#5E5E5E;text-wrap:pretty}
.sv--dark .sv-p,.sv--dark .sv-lead{color:#A8A8A8}
.sv-sec p a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.sv-num{font:600 14px/1 var(--font-sans);color:#8C8C8C}
.sv-link{color:inherit;font:600 16px/1 var(--font-sans);letter-spacing:-0.02em;text-decoration:none}
@media (hover:hover){.sv-link:hover{text-decoration:underline;text-underline-offset:4px}}

/* sections fill the screen like on the home page (min-height 100svh, content centred), so the scroll reveal of
   motion.js (sections open from the dark page background) works exactly as there - owner 25.10.2026 */
.sv-sec,.mu-sec{min-height:100svh;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
body:has(main[data-motion-page]){background:#1C1C1C}
body:has(main[data-motion-page]) [data-hdr-space]{background:#FFF}

/* hero (owner 26.10.2026, reference: Teamway - "the hero is too big, it presses"): compact instead of a full screen.
   Left 5 of 12 columns: crumbs + headline at the top, copy + buttons at the bottom. Right 7 columns: three columns
   of smaller tiles cut at different heights (62/38, 36/64, 50/50), so the grid steps; one yellow accent, two dark,
   the rest light grey; the page photo is the only picture. Tiles 24px round (smaller than the 32px panels below). */
/* one screen like every slide of the site (owner: only one slide visible at a time): the hero fills the window below
   the header and the tiles grow with it */
.sv-hero{display:flex;flex-direction:column;box-sizing:border-box;min-height:calc(100svh - 76px - var(--sat,0px));padding:clamp(16px,3vh,40px) clamp(16px,2.6vw,72px) clamp(16px,2.6vw,40px);background:#FFF}
.sv-bento{flex:1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;width:100%;min-height:480px}
.sv-b{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;min-height:0;padding:clamp(16px,1.4vw,24px);border-radius:24px;overflow:hidden;background:#F4F4F4;color:#1C1C1C;text-decoration:none}
.sv-b--head{grid-column:1 / 6;overflow:visible;background:transparent;padding:0 clamp(8px,2vw,40px) 0 0;gap:clamp(24px,4vh,40px)}
.sv-hero .sv-b__main{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.sv-hero__title{margin:0;max-width:16ch;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:clamp(34px,min(3.3vw,6vh),64px);line-height:1.02 !important;letter-spacing:-0.02em;text-wrap:balance}
.sv-b__side{display:flex;flex-direction:column;gap:20px}
.sv-hero__lead{margin:0;max-width:44ch;font:600 clamp(15px,1vw,18px)/1.4 var(--font-sans);letter-spacing:-0.02em;text-wrap:pretty}
.sv-hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.sv-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font:600 15px/1.2 var(--font-sans);letter-spacing:-0.02em;color:#707070}
.sv-crumbs a{color:#1C1C1C;text-decoration:none}
.sv-crumbs span[aria-hidden]{color:#B4B4B4}
@media (hover:hover){.sv-crumbs a:hover{text-decoration:underline;text-underline-offset:4px}}
.sv-hgrid{grid-column:6 / 13;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;padding-left:clamp(0px,1.6vw,32px)}
.sv-col{display:flex;flex-direction:column;gap:10px;min-height:0}
.sv-col > .sv-b{flex:1 1 0}
/* cut heights: photo 62 % | card 36 % then photo | photo 46 % then card (the reference rhythm) */
.sv-col--1 > :first-child{flex-grow:1.63}
.sv-col--2 > :last-child{flex-grow:1.78}
.sv-col--3 > :last-child{flex-grow:1.17}
.sv-b--photo{padding:0;background:#EFEFEF}
.sv-b--photo .bm-pic{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto !important}
.sv-b--accent{background:#FFDA03}
.sv-b--dark{background:#1C1C1C;color:#FFF}
.sv-b--grey{background:#F4F4F4}
.sv-b__label{font:600 13px/1.3 var(--font-sans);letter-spacing:-0.01em;opacity:.7;padding-right:48px}
.sv-b__value{font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:clamp(16px,1.25vw,22px);line-height:1.15;letter-spacing:-0.02em;text-wrap:balance;overflow-wrap:anywhere}
.sv-b__arrow{position:absolute;top:clamp(12px,1.1vw,18px);right:clamp(12px,1.1vw,18px);display:grid;place-items:center;width:40px;height:40px;border-radius:999px;background:#1C1C1C;color:#FFF;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.sv-b__arrow svg{display:block}
.sv-b--dark .sv-b__arrow{background:#FFF;color:#1C1C1C}
.sv-b--link{transition:transform .35s cubic-bezier(.22,1,.36,1)}
.sv-b--link:focus-visible{outline:2px solid #1C1C1C;outline-offset:3px}
@media (hover:hover){.sv-b--link:hover{transform:translateY(-3px)}.sv-b--link:hover .sv-b__arrow{transform:rotate(45deg)}}
/* the tiles enter through motion.js (collect): hidden from the first paint until their entrance starts */
html[data-motion-pending]:not([data-nav]) #start .sv-b:not(.sv-b--head){opacity:0}
/* ...but after a page transition the headline tile arrived with its texts in the curtain: it stays visible (the
   pre-paint guard in site.css would blank it for a frame) */
html[data-nav][data-motion-pending] #start .sv-b--head,html[data-nav][data-motion-pending] #start .sv-b--head [data-hero-br] > p{opacity:1}
/* after a page transition: the tiles continue the entrance they began in the curtain (transition.js), from the same
   point (negative delay = time already passed, set by nav-flag.js) - same values as the curtain (Apple bento) */
@keyframes sv-tile-in{from{opacity:0;transform:translate3d(0,40px,0) scale(.96)}to{opacity:1;transform:none}}
html[data-tiles-cont] #start .sv-b{animation:sv-tile-in 1000ms cubic-bezier(.28,.11,.32,1) backwards;animation-delay:calc(150ms + var(--i,0) * 80ms - var(--tiles-el,0ms))}

/* tablet and phone: headline first, then the tiles two by two; photo and link tiles across the full width,
   a fact left alone at the end too */
@media (max-width:1100px){
  .sv-hero{min-height:0}
  .sv-bento{display:flex;flex-direction:column;gap:clamp(24px,4vw,40px);min-height:0}
  .sv-b--head{padding:0;gap:28px}
  .sv-hero .sv-b__main{gap:24px}
  .sv-hgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-left:0}
  .sv-col{display:contents}
  .sv-hgrid .sv-b{min-height:132px}
  .sv-hgrid .sv-b--photo{min-height:44vw}
  .sv-col--1 > .sv-b--photo{grid-column:1 / -1;min-height:min(60vw,520px)}
  .sv-hgrid .sv-b--link{grid-column:1 / -1}
  .sv-col:last-child > .sv-b:last-child:first-child{grid-column:1 / -1}
}
@media (max-width:640px){
  .sv-hero{padding-top:4px}
  .sv-col--1 > .sv-b--photo{min-height:72vw}
  .sv-hero__title{font-size:min(40px,10vw)}
  /* phone: the button across the full column (it sat off-centre at 80 % width), the second link centred below it */
  .sv-hero__cta{flex-direction:column;align-items:stretch;gap:16px}
  .sv-hero__cta [data-btn]{width:100% !important;justify-content:center !important;box-sizing:border-box}
  .sv-hero__cta .sv-link{align-self:center}
}

/* opening statement */
.sv-intro__h2{margin-bottom:clamp(28px,3vw,44px)}
.sv-statement{margin:0;max-width:calc((100% - 110px) * 8 / 12 + 70px);font:600 clamp(22px,2.3vw,36px)/1.22 var(--font-sans);letter-spacing:-0.03em;text-wrap:pretty}
.sv-intro .sv-p{margin-top:28px}

/* headline left (sticky), text right */
.sv-split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:32px 10px;align-items:start}
.sv-split__head{grid-column:1 / 7;position:sticky;top:110px;max-width:none;padding-right:clamp(16px,3vw,48px)}
.sv-split__body{grid-column:7 / 13;padding-top:clamp(4px,.55vw,10px)}
.sv-split__body .sv-lead,.sv-split__body .sv-p{max-width:none}
@media (max-width:900px){.sv-split{grid-template-columns:1fr}.sv-split__head{position:static;max-width:20ch}}

/* numbered cards (lists) */
.sv-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sv-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sv-cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv-cards--flex{display:flex;flex-wrap:wrap}.sv-cards--flex > .sv-card{flex:1 1 calc(33.333% - 10px);min-width:260px;box-sizing:border-box}
@media (max-width:1100px){.sv-cards--3,.sv-cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.sv-cards--2,.sv-cards--3,.sv-cards--4{grid-template-columns:1fr}.sv-cards--flex > .sv-card{min-width:100%}}
.sv-card{display:flex;flex-direction:column;justify-content:space-between;gap:48px;padding:32px;border-radius:8px;background:#F4F4F4}
.sv--grey .sv-card{background:#FFF}
.sv-card__title{margin:0;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:22px;line-height:1.15;letter-spacing:-0.02em}
.sv-card__text{margin:10px 0 0;font:600 15px/1.45 var(--font-sans);letter-spacing:-0.015em;color:#707070}
.sv-card__big{margin:0;font:600 20px/1.25 var(--font-sans);letter-spacing:-0.03em;text-wrap:pretty}
.sv-note{margin-top:clamp(28px,3vw,40px)}
.sv-note .sv-p:first-child{margin-top:0}

/* steps: like "So läuft ein Content Day" on the home page, the last step dark */
.sv-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:10px;margin:0;padding:0;list-style:none}
.sv-step{display:flex;flex-direction:column;gap:40px;padding:28px;border-radius:8px;background:#F4F4F4}
.sv--grey .sv-step{background:#FFF}
.sv-step:last-child{background:#1C1C1C;color:#FFF}
.sv-step__title{margin:0;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:22px;line-height:1.15;letter-spacing:-0.01em}
.sv-step__text{margin:10px 0 0;font:600 15px/1.45 var(--font-sans);letter-spacing:-0.015em;color:#707070}
.sv-step:last-child .sv-step__text{color:#9A9A9A}
.sv-step:last-child .sv-num{color:#9A9A9A}

/* stacking cards ("slides"), the component of the home page services (stack-cards.js) */
.sv-stack__list{display:flex;flex-direction:column;gap:clamp(20px,3vh,40px);padding-bottom:clamp(24px,6vh,80px)}
.sv-stack__card{position:sticky;transform-origin:50% 0;will-change:transform;background:#1C1C1C;color:#FFF;border-radius:32px;overflow:hidden;box-shadow:rgba(0,0,0,.45) 0 -24px 60px -30px}
.sv-stack__veil{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;z-index:3;border-radius:inherit}
.sv-stack__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));grid-template-rows:minmax(0,1fr);gap:clamp(16px,2vw,24px);padding:clamp(16px,1.6vw,22px);height:min(620px,calc(100svh - var(--h)));min-height:460px;box-sizing:border-box}
.sv-stack__text{display:flex;flex-direction:column;gap:18px;padding:clamp(10px,1.8vw,28px);min-height:0}
.sv-stack__count{font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:14px;color:#8C8C8C} /* 5:1 on the dark card (#707070 was 3.4:1) */
.sv-stack__title{margin:auto 0 0;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:clamp(28px,2.8vw,44px);line-height:1.08;letter-spacing:-0.01em}
.sv-stack__p{margin:0 0 10px;max-width:52ch;font:600 16px/1.45 var(--font-sans);letter-spacing:-0.015em;color:#9A9A9A}
.sv-stack__p:last-child{margin-bottom:0}
.sv-stack__media{position:relative;min-height:0;height:100%;border-radius:20px;overflow:hidden;background:#2A2A2A}
.sv-stack__media .bm-pic{height:100%;aspect-ratio:auto !important}
@media (max-width:820px){
  .sv-stack__card{position:relative;top:auto !important;border-radius:24px}
  .sv-stack__grid{height:auto;min-height:0}
  .sv-stack__title{margin-top:28px}
  .sv-stack__media .bm-pic{aspect-ratio:4 / 3 !important}
}

/* FAQ: the dark accordion of the home page (open/close from site.js) */
.sv-faq__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:40px clamp(40px,6vw,96px);align-items:start}
.sv-faq__list{display:flex;flex-direction:column;gap:6px}
.sv-faq__item{border-radius:8px;background:#262626}
.sv-faq__item button{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:22px 24px;border:0;background:transparent;cursor:pointer;text-align:left;font:600 19px/1.3 var(--font-sans);letter-spacing:-0.025em;color:#FFF}
.sv-faq__item p{margin:0;padding:0 24px 24px;max-width:640px;font:600 16px/1.4 var(--font-sans);letter-spacing:-0.015em;color:#8C8C8C}
.sv-faq__item button:focus-visible{outline:2px solid #FFF;outline-offset:-2px;border-radius:8px}
.sv-faq__icon{position:relative;flex:0 0 18px;width:18px;height:18px}
.sv-faq__icon::before,.sv-faq__icon::after{content:"";position:absolute;left:0;top:8px;width:18px;height:2px;background:#FFF;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.sv-faq__icon::after{transform:rotate(90deg)}
[aria-expanded="true"] .sv-faq__icon::after{transform:rotate(0)}

/* service tiles (hub + "other services") */
.sv-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sv-tile{display:flex;flex-direction:column;min-width:0;border-radius:8px;overflow:hidden;background:#F4F4F4;color:#1C1C1C;text-decoration:none}
.sv--grey .sv-tile{background:#FFF}
.sv-tile .bm-pic img{transition:transform .8s cubic-bezier(.22,1,.36,1)}
.sv-tile__body{display:flex;flex:1;flex-direction:column;gap:10px;padding:24px 26px 28px}
.sv-tile__price{margin:0;font:600 14px/1.2 var(--font-sans);color:#707070}
.sv-tile__title{margin:2px 0 0;font-family:"Victor Mono",ui-monospace,monospace;font-weight:600;font-size:clamp(22px,1.9vw,28px);line-height:1.12;letter-spacing:-0.02em}
.sv-tile__text{margin:0;font:600 15px/1.45 var(--font-sans);letter-spacing:-0.015em;color:#707070;text-wrap:pretty}
.sv-tile__more{margin-top:auto;padding-top:14px;font:600 15px/1 var(--font-sans)}
.sv-tile--all{background:#1C1C1C !important;color:#FFF}
.sv-tile--all .sv-tile__body{justify-content:flex-end;min-height:260px}
.sv-tile--all .sv-tile__price,.sv-tile--all .sv-tile__text{color:#9A9A9A}
.sv-tile--all .sv-tile__price{margin-bottom:auto}
.sv-tile--all .sv-tile__title{font-size:clamp(28px,2.6vw,40px)}
.sv-tile:focus-visible{outline:2px solid #1C1C1C;outline-offset:3px}
@media (hover:hover){.sv-tile:hover .bm-pic img{transform:scale(1.04)}.sv-tile:hover .sv-tile__title{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}}
@media (max-width:1000px){.sv-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.sv-tiles{grid-template-columns:1fr}}

/* closing call to action */
.sv-final__h2{max-width:26ch;font-size:clamp(32px,3.6vw,56px)}
.sv-final .sv-span-6{margin-top:24px}
.sv-final__cta{margin-top:40px}

@media (max-width:640px){
  .sv-h2{font-size:min(38px,9.4vw)}
  .sv-card,.sv-step{padding:24px 20px;gap:32px}
}
@media (prefers-reduced-motion:reduce){.sv-tile .bm-pic img{transition:none}.sv-faq__icon::before,.sv-faq__icon::after{transition:none}}
.sv-join{padding-top:0}
.sv-intro__cards{margin-top:clamp(32px,4vw,56px)}

/* 12-column grid helpers (10px gaps = the card gaps): copy blocks end exactly on a card edge */
.sv-wrap,.mu-wrap{width:100%}
.sv-span-6{max-width:calc(50% - 5px)}
.sv-span-8{max-width:calc((100% - 110px) * 8 / 12 + 70px)}
.sv-span-6 .sv-lead,.sv-span-6 .sv-p,.sv-span-8 .sv-lead,.sv-span-8 .sv-p{max-width:none}
.sv-head > .sv-lead,.sv-head > .sv-p{max-width:calc((100% - 110px) * 8 / 12 + 70px)}
.sv-b__main{display:flex;flex-direction:column;gap:clamp(18px,2.4vh,32px)}
@media (max-width:900px){
  .sv-split__head,.sv-split__body{grid-column:1 / -1;padding:0}
  .sv-span-6,.sv-span-8,.sv-statement,.sv-head > .sv-lead,.sv-head > .sv-p{max-width:none}
}
/* music page blocks on the same 12-column grid: two columns = 6 + 6, composer photo 5 columns, text from column 7 */
.mu-split,.mu-comp{grid-template-columns:repeat(12,minmax(0,1fr)) !important;column-gap:10px !important}
.mu-split > :first-child{grid-column:1 / 7;padding-right:clamp(16px,3vw,48px)}
.mu-split > :last-child{grid-column:7 / 13}
.mu-comp > .mu-comp__media{grid-column:1 / 6}
.mu-comp > .mu-comp__text{grid-column:7 / 13}
@media (max-width:1000px){.mu-split > *,.mu-comp > *{grid-column:1 / -1 !important;padding-right:0}}
/* footer like on the home page: it lies fixed behind the page (motion.js layoutFooter) and the page slides off it -
   the page needs its own layer above the footer for that */
main[data-motion-page]{position:relative;z-index:1}
/* short sections: headline, then the text as a large statement (fills on scroll like on the home page) */
.sv-short .sv-statement{margin-top:clamp(28px,3.4vw,52px)}
.sv-short .sv-span-8{margin-top:clamp(20px,2vw,32px)}
.sv-short .sv-span-8 .sv-p:first-child{margin-top:0}
/* steps: columns by count, so no row ends with a lone card (owner 26.10.2026) - 6 = 3 + 3, 5 = 5, 4 = 4 */
.sv-steps--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sv-steps--3,.sv-steps--6,.sv-steps--9{grid-template-columns:repeat(3,minmax(0,1fr))}
.sv-steps--4,.sv-steps--8{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv-steps--5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){
  .sv-steps--4,.sv-steps--5,.sv-steps--6,.sv-steps--8{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sv-steps--5 > :last-child{grid-column:1 / -1}
}
@media (max-width:640px){.sv-steps[class*="sv-steps--"]{grid-template-columns:1fr}}
