/* Kristina Wichmann – Grundstil (Entwurf v2, November 2026) */
@font-face{font-family:'Italiana';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/italiana.woff2) format('woff2')}
@font-face{font-family:'Noto Serif';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/noto-serif.woff2) format('woff2')}
@font-face{font-family:'Noto Serif';font-style:italic;font-weight:400 700;font-display:swap;src:url(/fonts/noto-serif-italic.woff2) format('woff2')}

html,body{margin:0;background:#f8f3ed;color:#171213;font-family:'Noto Serif',Georgia,serif;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
a{color:inherit;text-decoration:none}
*{box-sizing:border-box}
img{max-width:100%}
:focus-visible{outline:2px solid #4a1b27;outline-offset:3px}
::selection{background:#b47a79;color:#f8f3ed}
input,textarea,select{font:inherit;color:inherit}
input::placeholder,textarea::placeholder{color:#8a7f80}

/* Einblenden beim Scrollen */
[data-reveal]{opacity:1}
[data-wipe]{clip-path:none}
@supports (animation-timeline: view()){
  [data-reveal]{animation:rise 1s cubic-bezier(.2,.6,.2,1) both;animation-timeline:view();animation-range:entry 0% entry 45%}
  [data-wipe]{animation:wipe 1.1s cubic-bezier(.76,0,.24,1) both;animation-timeline:view();animation-range:entry 0% entry 55%}
}
/* Fallback ohne Scroll-Timeline (Klasse setzt site.js) */
.io-reveal [data-reveal]{transition:opacity 1s cubic-bezier(.2,.6,.2,1),transform 1s cubic-bezier(.2,.6,.2,1)}
.io-reveal [data-reveal]:not(.in){opacity:0;transform:translateY(28px)}
.io-reveal [data-wipe]{transition:clip-path 1.2s cubic-bezier(.76,0,.24,1)}
.io-reveal [data-wipe]:not(.in){clip-path:inset(0 100% 0 0)}

@keyframes wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes up{from{transform:translateY(110%)}to{transform:none}}
@keyframes loaderOut{0%{transform:translateY(0)}99%{transform:translateY(-100%);visibility:visible}100%{transform:translateY(-100%);visibility:hidden}}

/* Ladeanimation Startseite (blendet sich per CSS selbst aus) */
#loader{position:fixed;inset:0;z-index:50;background:#f8f3ed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;animation:loaderOut .9s cubic-bezier(.76,0,.24,1) 1.7s forwards;pointer-events:none}

/* Der Shift: Zeilen werden beim Scrollen nacheinander „umgelegt" */
.shift-row .shift-from{opacity:.55}
.shift-row .shift-strike{transform:scaleX(1)}
.shift-js .shift-row:not(.on){opacity:.35;transform:translateX(12px)}
.shift-js .shift-row:not(.on) .shift-from{opacity:1}
.shift-js .shift-row:not(.on) .shift-strike{transform:scaleX(0)}
.shift-js .shift-row:not(.on) .shift-arrow{opacity:.3}
.shift-js .shift-row:not(.on) .shift-to{opacity:0;transform:translateY(10px)}

.strip::-webkit-scrollbar{display:none}
#hdr{transition:transform .4s cubic-bezier(.2,.6,.2,1)}
.hdr-hidden{transform:translateY(-100%)}

/* Formular */
form input:not([type=checkbox]),form textarea{width:100%;min-width:0;max-width:100%}
form label{min-width:0}
form button[disabled]{opacity:.6;cursor:wait}
.form-status:empty{display:none}

/* Rechtstexte */
.legal h1{font-family:Italiana,serif;font-weight:400;font-size:clamp(1.85rem,6vw,4.5rem)!important;line-height:1.06!important;margin:0 0 clamp(28px,4vw,48px)!important}
.legal h2{font-family:Italiana,serif;font-weight:400;font-size:clamp(1.4rem,2.6vw,2rem)!important;line-height:1.2!important;margin:2em 0 .6em!important}
.legal p,.legal li{max-width:68ch}
.legal a{border-bottom:1px solid rgba(23,18,19,.3)}
.legal a:hover{color:#4a1b27;border-bottom-color:#4a1b27}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important}
  #loader{display:none}
}
@media (max-width:760px){
  h1,h2,h3{overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
  [data-sticky]{position:static!important;top:auto!important}
  [data-mobile-auto]{min-height:0!important}
  [data-shiftrow]{grid-template-columns:1fr!important;gap:6px!important}
  [data-shiftrow] [data-arrow]{display:none!important}
  header nav,header nav+a,header nav+a+div{flex:1 1 100%!important;justify-content:center!important}
  header nav+a{display:flex!important}
}
@media (max-width:420px){
  [data-tight]{padding-left:16px!important;padding-right:16px!important}
}
/* Hero-Video: auf dem Handy im Hochformat die Hochkant-Fassung in 9:16 */
@media (max-width:767px) and (orientation:portrait){
  #heroclip{aspect-ratio:9/16!important;width:100%;max-height:82vh;background:#171213 url(/assets/leadershift-hoch-poster.webp) center/cover no-repeat!important}
  #herovideo{object-fit:cover!important}
}
/* automatisch erzeugt aus style-hover / style-focus der Entwürfe */
.h1:hover{border-bottom-color:#4a1b27!important;color:#4a1b27!important}
.h2:hover{color:#4a1b27!important}
.h3:hover{background:#171213!important;color:#f8f3ed!important;gap:18px!important}
.h4:hover{background:#f8f3ed!important;color:#4a1b27!important;gap:18px!important}
.h5:hover{padding-left:12px!important}
.h6:hover{background:#4a1b27!important;color:#f8f3ed!important}
.h7:hover{background:#171213!important;color:#f8f3ed!important}
.h8:hover{transform:scale(1.05)!important}
.h9:hover{color:#f8f3ed!important;border-bottom-color:#f8f3ed!important}
.f1:focus{border-bottom-color:#171213!important;outline:none!important}
/* Social Media: festes Raster mit 5 Beiträgen */
@media (max-width:900px){.insta-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:560px){.insta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.insta-grid>a:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - clamp(7px,1vw,14px))}}
