* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: #163a16;
    overscroll-behavior: none;
}

body {
    max-width: 100%;
    overflow-x: clip;
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Segoe UI', 'Mukta', Arial, sans-serif;
    background-color: #163a16;
    color: var(--text-color);
    line-height: 1.6;
    overscroll-behavior: none;
}

/* Chrome/Safari: clip statt hidden — verhindert Scroll-Container-Erstellung */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    html, body {
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 600px) {
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: clip;
    }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hidden utility class */
.hidden {
    display: none;
}

/* Blur effect when cookie banner is active */
body.cookie-banner-active .container,
body.cookie-banner-active .footer {
    filter: blur(4px);
    pointer-events: none;
}

/* Visually hidden - accessible to screen readers and crawlers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    #addressInput {
        border-width: 3px;
    }
    
    .search-suggestions {
        border-width: 2px;
    }
}
