@font-face {
    font-family: 'inter';
    src: url('../fonts/Inter_18pt-Light.woff');
    /*src: url('../fonts/vh02-500-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vh02-500-webfont.woff?v=4') format('woff'),
         url('../fonts/vh02-500-webfont.ttf?v=4') format('truetype'),
         url('../fonts/vh02-500-webfont.svg#vh02dregular') format('svg');*/
    font-weight: normal;
    font-style: normal;

}
/*body,html{
	padding:0px 0px 0px 0px !important;
	margin:0px 0px 0px 0px !important;
	padding-bottom:0px !important;
	background-image:url(img/bg.webp);
	
}*/

:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
   /* --font-main: 'vh01regular', Helvetica,  sans-serif;*/
}

body, html {
    margin: 0; padding: 0;
    height: 100%;
    /*background: var(--bg-color);*/
    
    font-family: 'inter';
    color: var(--text-color);
    /* Verhindert das "Gummiband"-Scrollen am Desktop */
    /*text-rendering: optimizeLegibility;*/
    overflow: hidden; 
}

/* Der vertikale Feed */
.feed-container {
    height: 100dvh;
    background-image:url(../img/bg_s_h.webp?v=4);
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Einrasten beim vertikalen Scrollen */
}

.post {
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start; /* Wo der Post einrastet */
    position: relative;
    padding-bottom: env(safe-area-inset-bottom, 1rem);
    /*border-bottom:1px solid #7d7d7d*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    
    /* Wichtig: Damit der Schatten des oberen Posts auf dem unteren sichtbar ist */
    z-index: 1; 
}

/* Der horizontale Bilder-Slider (Instagram-Style) */
.image-slider {
    display: flex;
    width: 100%;
    max-width: 900px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Versteckt Scrollbar in Firefox */
}


.image-slider::-webkit-scrollbar { display: none; } /* Versteckt Scrollbar in Chrome/Safari */

.image-slider img, 
.slider-video {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: contain;
    max-height: 85vh;
}

/* Bildunterschrift & Info */
.caption {
    position:absolute;
    width: 100%;
    bottom:1.2rem;
    /*max-width: 800px;*/
    /*margin-top: 1.5rem;*/
    
    font-size: 0.95rem;
    line-height: 1.1;
}

.caption h2 { margin-left: 1.5rem;font-size: 0.95rem; margin-bottom: 0.1rem; font-weight:normal; }
h2{font-weight:normal !important; }
.caption p { margin-top:0; margin-bottom:0; margin-left: 1.5rem;}

section  p { margin-top:0; margin-bottom:0; padding:0}

.about-section {
    padding: 4rem 10vw;
    scroll-snap-align: start;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topright{
    position:fixed;
    top:0.5rem;
    right:10%;
}
.title-section {
   
    margin: 0;
    z-index: 100;
    
    /* Die Magie: Animation an das Scrollen binden */
    animation: fade-out linear both;
    animation-timeline: scroll(block nearest); /* Reagiert auf das Scrollen im Container */
    animation-range: 0vh 50vh; /* Startet bei 0, ist bei halber Scrollhöhe des ersten Bildes weg */
}

CSS

.dot-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
}

.dot {
    width: 6px;
    height: 6px;
    margin-left:0.3rem;
    margin-right:0.3rem;
    font-size:0.2rem;
    border-radius: 50%;
    background-color: #ccc; /* Inaktiver Punkt */
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #1a1a1a; /* Aktiver Punkt */
}

h2{
    font-size:0.95rem;
}
@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}


/* Standardmäßig verstecken (für Mobile/Touch) */
.click-overlay {
    display: none;
}

/* Nur anzeigen, wenn das Gerät eine Maus hat (Desktop-Logik) */
@media (pointer: fine) {
    .click-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Deckt das Bild ab */
        display: flex;
        z-index: 10;
    }

    .click-zone {
        flex: 1;
        height: 100%;
    }

    .zone-prev { cursor: w-resize; }
    .zone-next { cursor: e-resize; }

    /* Falls du lieber richtige Pfeil-Icons als Cursor willst, 
   könntest du hier auch eine .svg Datei verlinken:
   cursor: url('pfeil-rechts.svg'), auto; 
    */
}


