/* Schriften wie auf typello.de (dort per JS geladen), hier lokal */
@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(sio/raleway_regular.woff2) format("woff2")}
@font-face{font-family:Raleway;font-style:normal;font-weight:500;font-display:swap;src:url(sio/raleway_500.woff2) format("woff2")}
@font-face{font-family:Raleway;font-style:normal;font-weight:600;font-display:swap;src:url(sio/raleway_600.woff2) format("woff2")}
@font-face{font-family:Raleway;font-style:normal;font-weight:700;font-display:swap;src:url(sio/raleway_700.woff2) format("woff2")}
@font-face{font-family:Raleway;font-style:normal;font-weight:800;font-display:swap;src:url(sio/raleway_800.woff2) format("woff2")}
@font-face{font-family:Raleway;font-style:italic;font-weight:400;font-display:swap;src:url(sio/raleway_italic.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:400;font-display:swap;src:url(sio/playfairdisplay_regular.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:italic;font-weight:400;font-display:swap;src:url(sio/playfairdisplay_italic.woff2) format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:700;font-display:swap;src:url(sio/playfairdisplay_700.woff2) format("woff2")}
@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-display:swap;src:url(sio/opensans_700.woff2) format("woff2")}
@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(sio/roboto_regular.woff2) format("woff2")}
@font-face{font-family:TenorSans48388606;font-display:swap;src:url(fonts/TenorSans-Regular.woff2) format("woff2")}

/* Icons (freie Font-Awesome-SVGs statt Pro-Schrift) */
i.fas::before,i.far::before,i.fad::before,i.fad::after,i.fa::before{content:none!important;display:none!important}
.ico{width:1em;height:1em;fill:currentColor;display:inline-block;vertical-align:-.125em;overflow:visible}
[id^="carousel-"] > i{display:flex;align-items:center;justify-content:center}

/* 3D-Schicht */
#ty-prelude{position:relative;height:240vh;background:#050505}
.ty-stage{position:relative;height:100vh;height:100svh;overflow:hidden;background:#050505;perspective:1200px}
#heroCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.ty-waves{position:absolute;top:-12%;bottom:-12%;right:0;width:clamp(90px,13vw,220px);z-index:2;pointer-events:none;transform-style:preserve-3d}
.ty-layer{position:absolute;inset:0;transform-style:preserve-3d}
.ty-layer svg{width:100%;height:100%;display:block;filter:drop-shadow(-6px 0 10px rgba(0,0,0,.35))}
.ty-logo{position:absolute;top:22px;left:clamp(16px,3vw,40px);width:60px;height:auto;z-index:3}
.ty-hint{position:absolute;left:50%;bottom:28px;width:1px;height:56px;background:rgba(255,249,240,.25);z-index:3;overflow:hidden}
.ty-hint span{position:absolute;inset:0;background:#ffd166;animation:tyhint 2.2s ease-in-out infinite}
@keyframes tyhint{0%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}
#heroLoader{position:absolute;left:0;bottom:0;height:3px;width:0;background:#ffd166;z-index:4;transition:width .2s,opacity .6s}
@media (max-width:768px){.ty-waves{width:70px}}
.no-motion #ty-prelude{height:100vh}
.no-motion .ty-hint{display:none}

/* Korrekturen an Fehlern der Originalseite (seitliches Wackeln auf Handy und Tablet) */
html,body{overflow-x:clip}
[id^="rawhtml-"] a{overflow-wrap:anywhere}

/* Seitliche Navigation: Lasche rechts, Fenster fährt von rechts ein */
.ty-tab{position:fixed;right:0;top:50%;z-index:1001;width:auto;height:min(23vh,215px);padding:0;margin:0;border:0;background:none;cursor:pointer;
  transform:translate3d(0,calc(-50% + var(--ty-dy,0px)),0);transition:transform .9s cubic-bezier(.7,0,.2,1),filter .4s;filter:drop-shadow(-8px 10px 22px rgba(0,0,0,.45));-webkit-tap-highlight-color:transparent}
.ty-tab img{display:block;height:100%;width:auto;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.ty-tab:hover img,.ty-tab:focus-visible img{transform:translateX(-8px) rotateY(-8deg)}
.ty-tab:focus-visible{outline:2px solid #ffd166;outline-offset:4px}
html.ty-open .ty-tab{transform:translate3d(calc(-1 * var(--ty-w)),-50%,0)}
:root{--ty-w:50vw}
.ty-nav{position:fixed;top:0;right:0;bottom:0;width:var(--ty-w);z-index:1000;background:#121111;color:#fff9f0;
  transform:translate3d(100%,0,0);transition:transform .9s cubic-bezier(.7,0,.2,1),visibility 0s linear .9s;visibility:hidden;overflow-y:auto;overscroll-behavior:contain;
  box-shadow:-30px 0 80px rgba(0,0,0,.35)}
html.ty-open .ty-nav{transform:none;visibility:visible;transition:transform .9s cubic-bezier(.7,0,.2,1),visibility 0s}
.ty-nav-in{min-height:100%;display:flex;flex-direction:column;padding:clamp(22px,3vw,40px) clamp(24px,4vw,64px) clamp(22px,3vw,36px)}
.ty-nav-top{display:flex;justify-content:space-between;align-items:center}
.ty-nav-logo img{width:60px;height:auto;display:block}
.ty-close{position:relative;width:44px;height:44px;border:1px solid rgba(255,249,240,.25);border-radius:50%;background:none;cursor:pointer;transition:border-color .3s,transform .5s}
.ty-close span{position:absolute;left:12px;right:12px;top:21px;height:1.5px;background:#fff9f0}
.ty-close span:first-child{transform:rotate(45deg)}.ty-close span:last-child{transform:rotate(-45deg)}
.ty-close:hover{border-color:#ffd166;transform:rotate(90deg)}
.ty-links{list-style:none;margin:auto 0;padding:clamp(24px,5vh,56px) 0;counter-reset:none}
.ty-links li{opacity:0;transform:translate3d(60px,0,0);transition:opacity .5s,transform .7s cubic-bezier(.2,.7,.2,1)}
html.ty-open .ty-links li{opacity:1;transform:none}
html.ty-open .ty-links li:nth-child(1){transition-delay:.35s}html.ty-open .ty-links li:nth-child(2){transition-delay:.4s}
html.ty-open .ty-links li:nth-child(3){transition-delay:.45s}html.ty-open .ty-links li:nth-child(4){transition-delay:.5s}
html.ty-open .ty-links li:nth-child(5){transition-delay:.55s}html.ty-open .ty-links li:nth-child(6){transition-delay:.6s}
html.ty-open .ty-links li:nth-child(7){transition-delay:.65s}.ty-links li:nth-child(8){transition-delay:.7s}
.ty-links a{display:grid;grid-template-columns:3.2em 1fr;column-gap:.4em;padding:clamp(8px,1.4vh,14px) 0;border-bottom:1px solid rgba(255,249,240,.1);color:#fff9f0;text-decoration:none}
.ty-links .n{grid-row:span 2;font:400 13px/2.4 Raleway,sans-serif;color:#ffd166;letter-spacing:.1em}
.ty-links .t{font-family:TenorSans48388606,serif;text-transform:uppercase;font-size:clamp(20px,2.1vw,32px);line-height:1.15;letter-spacing:.04em;transition:color .3s,transform .4s cubic-bezier(.2,.7,.2,1)}
.ty-links .s{font:400 14px/1.5 Raleway,sans-serif;color:rgba(255,249,240,.55);margin-top:2px}
.ty-links a:hover .t,.ty-links a:focus-visible .t{color:#ffd166;transform:translateX(8px)}
.ty-links a[aria-current] .t{color:#ffd166}
.ty-links a:focus-visible{outline:none}
.ty-nav-foot{display:flex;align-items:center;gap:20px;font:400 14px Raleway,sans-serif}
.ty-nav-foot a{color:rgba(255,249,240,.6);text-decoration:none}.ty-nav-foot a:hover{color:#ffd166}
.ty-stripes{display:flex;gap:4px;margin-right:auto}
.ty-stripes i{display:block;width:26px;height:4px;border-radius:2px}
.ty-stripes i:nth-child(1){background:#c9232c}.ty-stripes i:nth-child(2){background:#f4b41a}.ty-stripes i:nth-child(3){background:#4b6b4c}.ty-stripes i:nth-child(4){background:#1d5aa6}
.ty-veil{position:fixed;inset:0;z-index:999;background:rgba(10,10,10,.45);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .7s}
html.ty-open .ty-veil{opacity:1}

@media (max-width:900px){:root{--ty-w:100vw} html.ty-open .ty-tab{opacity:0;pointer-events:none}}
@media (max-width:768px){.ty-tab{height:min(15vh,105px)}.ty-links a{grid-template-columns:2.4em 1fr}.ty-links .t{font-size:clamp(14px,4.2vw,24px);letter-spacing:.02em}}
.no-motion .ty-tab,.no-motion .ty-nav,.no-motion .ty-links li,.no-motion .ty-veil{transition:none!important}
.ty-tab::before{content:"";position:absolute;top:-8px;bottom:-8px;left:-18px;right:0}

/* Platzhalter in Impressum/Datenschutz, bis Tina die Angaben liefert */
.ty-ph{background:#ffd166;color:#121111;padding:0 .3em;border-radius:3px}

/* Bestätigung nach Formular-Absendung */
.ty-form-msg{margin:0;padding:18px 22px;border-radius:6px;background:#121111;color:#fff9f0;font:400 18px/1.5 Raleway,sans-serif}
.ty-form-msg strong{color:#ffd166;font-weight:700}

/* Neue Datenschutzerklaerung: Abstaende fuer Lesbarkeit */
#rawhtml-4b687198 h1{margin:0 0 .6em}
#rawhtml-4b687198 h2{margin:1.6em 0 .5em}
#rawhtml-4b687198 h3{margin:1.1em 0 .3em}
#rawhtml-4b687198 p,#rawhtml-4b687198 ul{margin:0 0 .8em}
#rawhtml-4b687198 a{overflow-wrap:anywhere}

/* Handy: feste Hintergründe wie auf dem iPhone behandeln (iOS kennt "fixed" nicht), damit alle Geräte gleich aussehen */
@media only screen and (max-width:800px){
  section[id^="section-"],.dagkju{background-attachment:scroll!important}
}
/* H1 ohne Browser-Standardstil, Aussehen kommt weiter aus den Seitenklassen (22.11.2026) */
:where(h1.ty-h1){margin:0;padding:0;font-size:inherit;font-weight:inherit;line-height:inherit}
