@charset "UTF-8";

/* Startseite: Mobile-Bild nur auf index.html (Desktop ausgeblendet) */
#homeMobileImage {
    display: none;
}

#homeMobileReveal {
    display: none;
}

@media screen and (max-width: 900px) {

/* Footer-Offset: Fallback 80px, wird per JS an echte Footer-Höhe angepasst */
body.page-home {
    --home-vh: 100vh;
    --home-footer-offset: 80px;
    --home-hint-gap: 10px;
    --home-area-h: calc(var(--home-vh) - 70px - var(--home-footer-offset));
}

body.page-home #content {
    visibility: visible !important;
    height: var(--home-area-h) !important;
    margin-top: 70px;
    padding: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: none;
    background-color: rgb(0, 157, 224);
}

body.page-home #content::-webkit-scrollbar {
    display: none;
}

body.page-home #homeMobileImage {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: var(--home-area-h);
    z-index: 1;
    pointer-events: none;
}

body.page-home .home-mobile-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

body.page-home .home-mobile-hint {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--home-footer-offset) + var(--home-hint-gap));
    z-index: 11;
    margin: 0;
    padding: 0 12px;
    text-align: center;
    color: #fff;
    font-size: 0.75em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

body.page-home #content.scrolled .home-mobile-hint {
    opacity: 0;
}

body.page-home #homeMobileReveal {
    display: block;
    position: relative;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

body.page-home .home-reveal-spacer {
    height: calc(var(--home-area-h) + 80px);
    pointer-events: none;
}

body.page-home .home-reveal-inner {
    padding: 24px 16px 48px;
    will-change: transform;
    pointer-events: auto;
}

body.page-home .home-reveal-title {
    font-size: 1.55em;
    font-weight: bold;
    margin: 0 0 12px;
    text-align: center;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body.page-home .home-reveal-lead {
    font-size: 0.95em;
    line-height: 1.65;
    text-align: center;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

body.page-home .home-reveal-cards {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.page-home .home-reveal-cards li {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 12px;
    border-left: 4px solid rgba(172, 208, 220, 0.85);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body.page-home .home-reveal-cards li i {
    color: #ACD0DC;
    font-size: 1.2em;
    margin-bottom: 6px;
    display: block;
}

body.page-home .home-reveal-cards h3 {
    margin: 0 0 6px;
    font-size: 1.05em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

body.page-home .home-reveal-cards p {
    margin: 0;
    font-size: 0.88em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

body.page-home .home-reveal-cta {
    text-align: center;
    margin: 20px 0 0;
}

body.page-home .home-reveal-cta a {
    color: #ACD0DC;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

body.page-home .home-reveal-cta a:hover {
    color: #fff;
}

body.page-home #menuehome {
    display: none !important;
}

body.page-home #homeMobileImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.page-home #homeMobileImage .home-mobile-base {
    display: block;
}

body.page-home #homeMobileImage .home-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.45;
    pointer-events: none;
}

}
