@charset "UTF-8";

/* =========================================
   GRUNDLAYOUT / BASIS (> 1800px)
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px !important; }

html, body { overflow-x: clip; }

body {
    background-color: #dddddd;
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HERO – Höhe folgt der BREITE (aspect-ratio), nicht der Viewport-Höhe.
   Kein Springen beim Scrollen, korrekt in Hoch- & Querformat. */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;                       /* natives Bildverhältnis 1920x1080 */
    background-image: url("img/bg2200.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    overflow: hidden;
}

/* Header / Logo */
.site-header { position: absolute; top: 124px; left: 108px; z-index: 10; }
.logo-link { display: inline-block; line-height: 0; }
.logo { height: 47px; width: auto; display: block; }

/* Hero-Texte */
.graphics-label {
    position: absolute;
    top: 18%;
    right: -3vw;
    color: #ffffff;
    -webkit-text-stroke: 2px #000000;
    font-size: 198px;
    font-weight: 500; font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: right;
    line-height: 0.85;
    z-index: 4;
}

.hero-tagline {
    position: absolute;
    top: 5.4%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: left;
    font-size: 33px;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.2;
    z-index: 3;
    white-space: nowrap;
    max-width: 92vw;
    overflow-wrap: break-word;
}

/* Content beginnt natürlich nach dem Hero */
main.content {
    padding-top: 86px;
    padding-bottom: 115px;
    position: relative;
    z-index: 1;
}

h1.headline {
    font-weight: 800; color: #000; font-style: italic;
    text-transform: uppercase; letter-spacing: 0.02em;
    text-align: center; font-size: 9.72rem; margin-top: 0;
}
h1.headline-kontakt { margin-top: 83px; }

/* Galerie */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    width: calc(100% - 54px);
    margin: 87px auto 0 auto;
    max-width: 100%;
}
.gallery-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.gallery-item { position: relative; display: block; margin: 0; aspect-ratio: 3/4; overflow: hidden; background-color: #f0f0f0; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: contain; object-position: center;
    display: block; transition: filter 0.3s ease;
}
.gallery-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease;
    pointer-events: none; background: rgba(34, 34, 34, 0.4);
}
@media (hover: hover) and (pointer: fine) {
    .gallery-link:hover .gallery-item img { filter: brightness(0.4); }
    .gallery-link:hover .gallery-overlay { opacity: 1; }
}

/* Kontakt-Details */
.contact-details {
    text-align: center; font-size: 2.3rem; line-height: 1.4;
    margin-top: 7.5px; margin-bottom: 30px; color: #000;
}
.contact-details p { margin: 0; }
.contact-details a { color: #000; text-decoration: none; font-weight: 400; }
.contact-details a:hover { opacity: 0.7; }

/* Footer */
.site-footer { height: 161px; }
#footer-mount { margin-top: auto; }

/* =========================================
   BREAKPOINT ≤ 1800px
========================================= */
@media (max-width: 1800px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg1800.webp");
        aspect-ratio: 16 / 11.6;
    }

    /* Header / Logo */
    .site-header { top: 115px; left: 100px; }
    .logo { height: 44px; }

    /* Hero-Texte */
    .graphics-label {
        top: 18%;
        font-size: 176px;
        -webkit-text-stroke: 2px #000000;
    }
    .hero-tagline {
        top: 5.4%;
        font-size: 31px;
    }

    /* Content */
    h1.headline { font-size: 9.03rem; }
    main.content { padding-top: 80px; padding-bottom: 105px; }
    h1.headline-kontakt { margin-top: 80px; }
    .contact-details { font-size: 2.15rem; margin-top: 7px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: calc(100% - 50px);
        margin-top: 80px;
    }
    .site-footer { height: 151px; }
}

/* =========================================
   BREAKPOINT ≤ 1500px
========================================= */
@media (max-width: 1500px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg1500.webp");
        aspect-ratio: 16 / 12.2;
    }

    /* Header / Logo */
    .site-header { top: 107px; left: 93px; }
    .logo { height: 41px; }

    /* Hero-Texte */
    .graphics-label {
        top: 18%;
        font-size: 148px;
        -webkit-text-stroke: 2.1px #000000;
    }
    .hero-tagline {
        top: 5.4%;
        font-size: 26px;
    }

    /* Content */
    h1.headline { font-size: 8.46rem; }
    main.content { padding-top: 73px; padding-bottom: 90px; }
    h1.headline-kontakt { margin-top: 73px; }
    .contact-details { font-size: 2rem; margin-top: 6.5px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: calc(100% - 46.5px);
        margin-top: 73px;
    }
    .site-footer { height: 141px; }
}

/* =========================================
   BREAKPOINT ≤ 1024px
========================================= */
@media (max-width: 1024px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg1024.webp");
        aspect-ratio: 16 / 12.8;
    }

    /* Header / Logo */
    .site-header { top: 90px; left: 79px; }
    .logo { height: 35px; }

    /* Hero-Texte */
    .graphics-label {
        top: 18%;
        font-size: 106px;
        -webkit-text-stroke: 1.9px #000000;
    }
    .hero-tagline {
        top: 5.4%;
        font-size: 20px;
    }

    /* Content */
    h1.headline { font-size: 7.10rem; }
    main.content { padding-top: 54px; padding-bottom: 70px; }
    h1.headline-kontakt { margin-top: 56px; }
    .contact-details { font-size: 1.71rem; margin-top: 5.5px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 39.5px);
        margin-top: 56px;
    }
    .site-footer { height: 120px; }
}

/* =========================================
   BREAKPOINT ≤ 800px
========================================= */
@media (max-width: 800px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg800.webp");
        aspect-ratio: 16 / 16.5;
    }

    /* Header / Logo */
    .site-header { top: 80px; left: 70px; }
    .logo { height: 31px; }

    /* Hero-Texte */
    .graphics-label {
        top: 20%;
        font-size: 96px;
        -webkit-text-stroke: 1.7px #000000;
    }
    .hero-tagline {
        top: 16%;
        font-size: 20px;
    }

    /* Content */
    h1.headline { font-size: 6.35rem; }
    main.content { padding-top: 47px; padding-bottom: 60px; }
    h1.headline-kontakt { margin-top: 48px; }
    .contact-details { font-size: 1.52rem; margin-top: 5px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 35px);
        margin-top: 48px;
    }
    .site-footer { height: 106px; }
}

/* =========================================
   BREAKPOINT ≤ 600px
========================================= */
@media (max-width: 600px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg400.webp");
        aspect-ratio: 16 / 19.5;
    }

    /* Header / Logo */
    .site-header { top: 70px; left: 61px; }
    .logo { height: 27px; }

    /* Hero-Texte */
    .graphics-label {
        top: 22.5%;
        font-size: 76px;
        -webkit-text-stroke: 1.7px #000000;
    }
    .hero-tagline {
        top: 16.5%;
        font-size: 20px;
    }

    /* Content */
    h1.headline { font-size: 5.49rem; }
    main.content { padding-top: 40px; padding-bottom: 50px; }
    h1.headline-kontakt { margin-top: 40px; }
    .contact-details { font-size: 1.32rem; margin-top: 4.5px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 30.5px);
        margin-top: 40px;
    }
    .site-footer { height: 93px; }
}

/* =========================================
   BREAKPOINT ≤ 400px
========================================= */
@media (max-width: 400px) {
    /* Hintergrund */
    .hero {
        background-image: url("img/bg400.webp");
        aspect-ratio: 16 / 21;
    }

    /* Header / Logo */
    .site-header { top: 59px; left: 51px; }
    .logo { height: 22px; }

    /* Hero-Texte */
    .graphics-label {
        top: 25%;
        font-size: 50.5px;
        -webkit-text-stroke: 1.5px #000000;
    }
    .hero-tagline {
        top: 18.5%;
        font-size: 12.8px;
    }

    /* Content */
    h1.headline { font-size: 4.18rem; }
    main.content { padding-top: 28.8px; padding-bottom: 36px; }
    h1.headline-kontakt { margin-top: 28.8px; }
    .contact-details { font-size: 1.08rem; margin-top: 3.5px; }

    /* Galerie / Footer */
    .gallery-container {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 25.5px);
        margin-top: 28.8px;
    }
    .site-footer { height: 76px; }
}

/* =========================================
   QUERFORMAT – HANDYS (alle Größen)
   Steht bewusst NACH allen Breiten-Blöcken,
   damit es im Querformat zuverlässig gewinnt.
========================================= */
@media (orientation: landscape) and (max-height: 720px) {
    /* Hintergrund flacher */
    .hero {
        aspect-ratio: 16 / 16.5;
    }

    /* Hero-Texte */
    .graphics-label {
        top: 20%;
        font-size: 96px;
        -webkit-text-stroke: 1.75px #000000;
        line-height: 0.85;
    }
    .hero-tagline {
        top: 16%;
        font-size: 20px;
        line-height: 1.2;
    }
}

/* =========================================
   COOKIE-FREE ZONE / COPYRIGHT
========================================= */
.cookie-free-zone {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background-color: #EEFF00; color: #000000;
    padding: 3px 10px; font-size: 0.4rem; font-weight: 900;
    letter-spacing: 0.05em; border-radius: 0;
    z-index: 1000; pointer-events: none;
}
.fixed-copyright {
    position: fixed; top: 124px; right: 20px;
    color: #878787; font-size: 1.5rem; text-decoration: none;
    font-weight: bold; z-index: 9999;
    transition: transform 0.2s ease, color 0.2s ease; line-height: 1;
}
.fixed-copyright:hover { transform: scale(1.2); color: #cc0000; text-decoration: none; }
@media (max-width: 600px) {
    .fixed-copyright { top: 75px; right: 15px; font-size: 1.2rem; }
}