/* =========================================================
   CORINNA HERING
   style.css
   Vollständige Version
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.8;

    color: #2F4858;
    background: #FAF9F6;

    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;

    max-width: 100%;
    height: auto;

    border-radius: 0;
}

a {
    color: inherit;
    text-decoration: none;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

button,
input,
textarea {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.container-small {
    width: min(850px, 90%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(250, 249, 246, 0.96);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.header.header-small {
    background: rgba(250, 249, 246, 0.98);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);
}

.header .container {
    position: relative;

    min-height: 95px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    flex-direction: column;

    flex-shrink: 0;
}

.logo h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;
    font-weight: 500;

    line-height: 1.05;

    letter-spacing: 0.05em;

    color: #2F4858;
}

.logo span {
    margin-top: 4px;

    font-size: 13px;

    line-height: 1.3;

    letter-spacing: 0.08em;

    color: #87bfd3;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.navigation {
    display: block;
}

.navigation ul {
    display: flex;
    align-items: center;

    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.navigation li {
    margin: 0;
    padding: 0;
}

.navigation a {
    position: relative;

    display: inline-block;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.4;

    color: #2F4858;

    white-space: nowrap;
}

.navigation a:hover,
.navigation a.active {
    color: #87bfd3;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #87bfd3;

    transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENÜ
========================================================= */

.menu-button {
    display: none;

    width: 45px;
    height: 45px;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #2F4858;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   ALLGEMEINE BUTTONS
========================================================= */

.button {
    display: inline-block;

    padding: 16px 34px;

    border: none;
    border-radius: 50px;

    background: #87bfd3;

    color: #ffffff;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.button:hover {
    background: #6fb0c8;

    transform: translateY(-2px);
}

.button-outline {
    display: inline-block;

    padding: 16px 34px;

    border: 2px solid #87bfd3;
    border-radius: 50px;

    background: transparent;

    color: #2F4858;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.button-outline:hover {
    background: #87bfd3;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   HERO – STARTSEITE
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;
    height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 120px 20px 70px;

    text-align: center;

    /*
       WICHTIG:
       style.css liegt im Ordner css.
       Deshalb muss der Pfad zu images
       mit ../ beginnen.
    */

    background-image: url("../images/hero.jpg");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background: rgba(250, 249, 246, 0.30);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: min(900px, 100%);

    margin: 0 auto;

    padding: 40px 30px;

    text-align: center;
}


/* =========================================================
   HERO KICKER
========================================================= */

.hero-kicker {
    display: block;

    margin-bottom: 28px;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    letter-spacing: 0.28em;

    text-transform: uppercase;

    color: #87bfd3;
}


/* =========================================================
   HERO ÜBERSCHRIFT
========================================================= */

.hero h1 {
    margin: 0 0 32px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(58px, 7vw, 96px);

    font-weight: 300;

    line-height: 0.98;

    letter-spacing: 0.01em;

    color: #2F4858;

    text-shadow:
        0 2px 15px rgba(255, 255, 255, 0.45);
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {
    max-width: 680px;

    margin: 0 auto;

    font-size: 21px;

    line-height: 1.65;

    color: #405563;

    text-shadow:
        0 1px 10px rgba(255, 255, 255, 0.6);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 42px;
}


/* =========================================================
   SECTIONS
========================================================= */

.featured {
    padding: 120px 0;
}

.about {
    padding: 140px 0;

    background: #F4F5F2;
}

.exhibitions {
    padding: 120px 0;

    background: #FAF9F6;
}

.courses {
    padding: 120px 0;

    background: #F4F5F2;
}

.contact {
    padding: 130px 0;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    margin-bottom: 70px;

    text-align: center;
}

.section-title span,
.section-kicker {
    display: block;

    margin-bottom: 18px;

    font-size: 14px;

    letter-spacing: 0.25em;

    text-transform: uppercase;

    color: #87bfd3;
}

.section-title h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 64px;

    font-weight: 300;

    line-height: 1.1;

    color: #2F4858;
}


/* =========================================================
   STARTSEITE GALERIE
========================================================= */

.gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}

.card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 0;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.14);
}

.card img {
    width: 100%;
    height: 430px;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;

    text-align: center;
}

.card-content h3 {
    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;

    font-size: 36px;

    font-weight: 400;

    color: #2F4858;
}

.card-content p {
    margin-bottom: 25px;

    font-size: 16px;

    color: #7A8A93;
}


/* =========================================================
   DETAILS BUTTON
========================================================= */

.details-button {
    display: inline-block;

    padding: 0;

    border: none;

    border-bottom: 2px solid transparent;

    background: transparent;

    color: #87bfd3;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.details-button:hover {
    color: #2F4858;

    border-color: #87bfd3;
}


/* =========================================================
   ÜBER MICH
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;

    border-radius: 0;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
    margin-bottom: 35px;

    font-family: "Cormorant Garamond", serif;

    font-size: 60px;

    font-weight: 300;

    line-height: 1.15;

    color: #2F4858;
}

.about-content p {
    margin-bottom: 25px;

    color: #556670;
}


/* =========================================================
   AUSSTELLUNGEN
========================================================= */

.exhibition-card {
    max-width: 900px;

    margin: 60px auto 0;

    padding: 60px;

    text-align: center;

    background: #ffffff;

    border-radius: 0;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);
}

.exhibition-card h3 {
    margin-bottom: 20px;

    font-family: "Cormorant Garamond", serif;

    font-size: 44px;

    font-weight: 400;

    color: #2F4858;
}

.exhibition-card p {
    margin-bottom: 35px;

    color: #556670;
}


/* =========================================================
   KURSE
========================================================= */

.course-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 40px;

    margin-top: 60px;
    margin-bottom: 50px;
}

.course-card {
    padding: 45px;

    background: #ffffff;

    border-radius: 0;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.course-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.14);
}

.course-card h3 {
    margin-bottom: 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: 38px;

    font-weight: 400;

    color: #2F4858;
}

.center {
    text-align: center;
}


/* =========================================================
   KONTAKTFORMULAR
========================================================= */

#kontaktformular {
    display: flex;

    flex-direction: column;

    gap: 22px;

    margin-top: 50px;
}

#kontaktformular > div {
    width: 100%;
}

#kontaktformular label {
    display: block;

    margin-bottom: 7px;

    font-size: 15px;
    font-weight: 500;

    color: #2F4858;
}

#kontaktformular input,
#kontaktformular textarea {
    width: 100%;

    padding: 18px 22px;

    border: 1px solid #d8d8d8;

    border-radius: 0;

    background: #ffffff;

    font-size: 16px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

#kontaktformular input:focus,
#kontaktformular textarea:focus {
    outline: none;

    border-color: #87bfd3;

    box-shadow:
        0 0 0 3px rgba(135, 191, 211, 0.2);
}

#kontaktformular textarea {
    min-height: 180px;

    resize: vertical;
}

#kontaktformular button {
    align-self: flex-start;
}

#kontaktformular button:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}

.hidden-field {
    display: none !important;
}

.privacy {
    font-size: 14px;

    color: #7A8A93;
}

.privacy a {
    color: #87bfd3;
}

.privacy a:hover {
    color: #2F4858;
}


/* =========================================================
   KONTAKT STATUS
========================================================= */

.kontakt-status {
    display: none;

    margin: 0 auto 30px;

    padding: 18px 22px;

    border-radius: 0;

    font-size: 15px;

    line-height: 1.6;

    text-align: center;
}

.kontakt-status.success {
    display: block;

    background: #E8F3EE;

    color: #355B49;

    border: 1px solid #C8E2D5;
}

.kontakt-status.error {
    display: block;

    background: #F8ECEA;

    color: #754A45;

    border: 1px solid #E7CCC8;
}


/* =========================================================
   WERKE – SEITENHEADER
========================================================= */

.page-hero {
    padding: 180px 0 100px;

    background: #F4F5F2;
}

.page-hero .container-small {
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 25px;

    font-family: "Cormorant Garamond", serif;

    font-size: 72px;

    font-weight: 300;

    line-height: 1.05;

    color: #2F4858;
}

.page-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #556670;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   WERKE – GALERIE
========================================================= */

.works-gallery {
    padding: 100px 0 140px;

    background: #FAF9F6;
}

.works-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}

.work-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 0;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.work-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.13);
}

.work-image {
    width: 100%;
    height: 430px;

    overflow: hidden;

    background: #e9e9e6;

    border-radius: 0;
}

.work-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    border-radius: 0;

    transition:
        transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.04);
}

.work-info {
    padding: 30px;

    text-align: center;
}

.work-category {
    display: block;

    margin-bottom: 10px;

    color: #87bfd3;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.work-info h2 {
    margin-bottom: 8px;

    font-family: "Cormorant Garamond", serif;

    font-size: 38px;

    font-weight: 400;

    line-height: 1.15;

    color: #2F4858;
}

.work-info p {
    margin-bottom: 20px;

    color: #7A8A93;

    font-size: 16px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 25px;

    background: rgba(36, 55, 70, 0.94);

    overflow: hidden;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;

    width: min(1100px, 94vw);

    height: min(760px, 88vh);

    display: grid;

    grid-template-columns: 60% 40%;

    overflow: hidden;

    background: #FAF9F6;

    border-radius: 0;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-image-wrapper {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #e9e9e6;

    border-radius: 0;
}

.lightbox-image-wrapper img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    border-radius: 0;
}

.lightbox-info {
    height: 100%;

    padding: 50px 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow-y: auto;
}

.lightbox-info h2 {
    margin-bottom: 12px;

    font-family: "Cormorant Garamond", serif;

    font-size: 54px;

    font-weight: 400;

    line-height: 1.1;

    color: #2F4858;
}

.lightbox-info p {
    color: #556670;

    line-height: 1.7;
}

.lightbox-line {
    width: 60px;
    height: 2px;

    margin: 20px 0 25px;

    background: #87bfd3;
}


/* =========================================================
   LIGHTBOX SCHLIESSEN
========================================================= */

.close-lightbox {
    position: absolute;

    top: 15px;
    right: 18px;

    z-index: 1000;

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: rgba(250, 249, 246, 0.95);

    color: #2F4858;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.12);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.close-lightbox:hover {
    background: #87bfd3;

    color: #ffffff;

    transform: rotate(90deg);
}

.close-lightbox:focus-visible {
    outline: 2px solid #87bfd3;

    outline-offset: 3px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #243746;

    color: #ffffff;

    padding-top: 80px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;
}

.footer h3 {
    margin-bottom: 15px;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;
}

.footer h4 {
    margin-bottom: 20px;

    font-size: 18px;
}

.footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #ffffff;
}

.footer a:hover {
    color: #87bfd3;
}

.footer-bottom {
    padding: 25px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   RECHTLICHE SEITEN
========================================================= */

.legal-page {
    padding: 80px 0 130px;

    background: #FAF9F6;
}

.legal-block {
    margin-bottom: 55px;
}

.legal-block h2 {
    margin-bottom: 20px;

    font-family: "Cormorant Garamond", serif;

    font-size: 38px;

    font-weight: 400;

    line-height: 1.2;

    color: #2F4858;
}

.legal-block p {
    margin-bottom: 15px;

    color: #556670;

    line-height: 1.8;
}

.legal-block a {
    color: #87bfd3;
}

.legal-block a:hover {
    color: #2F4858;
}

.legal-list {
    margin: 20px 0 0 25px;

    list-style: disc;

    color: #556670;
}

.legal-list li {
    margin-bottom: 10px;

    padding-left: 5px;
}

.legal-back {
    margin-top: 70px;

    text-align: center;
}


/* =========================================================
   ÜBER-MICH SEITE
========================================================= */

.about-page {
    padding-top: 45px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .hero h1 {
        font-size: 68px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

    .work-image {
        height: 390px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero h1 {
        font-size: 62px;
    }

    .lightbox-content {
        width: 92vw;

        height: 88vh;

        grid-template-columns: 1fr;

        grid-template-rows: 55% 45%;
    }

    .lightbox-info {
        padding: 30px 35px;

        justify-content: flex-start;
    }

    .lightbox-info h2 {
        font-size: 44px;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .navigation {
        display: none;
    }

    .navigation.open {
        position: absolute;

        top: 100%;
        left: 0;

        display: block;

        width: 100%;

        padding: 25px 20px 30px;

        background: #FAF9F6;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .navigation.open ul {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }

    .navigation.open li {
        width: 100%;
    }

    .navigation.open a {
        display: block;

        padding: 12px 5px;

        font-size: 17px;
    }

    .menu-button {
        display: flex;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    body {
        font-size: 16px;
    }

    .container,
    .container-small {
        width: calc(100% - 30px);
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .header .container {
        min-height: 80px;
    }

    .logo h2 {
        font-size: 28px;
    }

    .logo span {
        max-width: 240px;

        font-size: 10px;

        letter-spacing: 0.06em;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        min-height: 100svh;
        height: 100svh;

        padding: 120px 15px 60px;

        background-position: center center;
    }

    .hero-content {
        padding: 20px 15px;
    }

    .hero-kicker {
        margin-bottom: 22px;

        font-size: 12px;

        letter-spacing: 0.22em;
    }

    .hero h1 {
        margin-bottom: 25px;

        font-size: 52px;

        line-height: 1.02;
    }

    .hero-text {
        max-width: 500px;

        font-size: 17px;

        line-height: 1.6;
    }

    .hero-buttons {
        margin-top: 32px;

        gap: 14px;
    }

    .button,
    .button-outline {
        padding: 14px 26px;
    }


    /* -----------------------------------------------------
       SECTIONS
    ----------------------------------------------------- */

    .featured,
    .about,
    .exhibitions,
    .courses,
    .contact {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 45px;
    }

    .section-title h2 {
        font-size: 46px;
    }

    .about-content h2 {
        font-size: 46px;
    }


    /* -----------------------------------------------------
       AUSSTELLUNGEN
    ----------------------------------------------------- */

    .exhibition-card {
        padding: 35px 25px;
    }

    .exhibition-card h3 {
        font-size: 36px;
    }


    /* -----------------------------------------------------
       KURSE
    ----------------------------------------------------- */

    .course-card {
        padding: 30px 25px;
    }

    .course-card h3 {
        font-size: 34px;
    }


    /* -----------------------------------------------------
       STARTSEITE GALERIE
    ----------------------------------------------------- */

    .gallery {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 360px;
    }


    /* -----------------------------------------------------
       KONTAKT
    ----------------------------------------------------- */

    #kontaktformular {
        margin-top: 35px;
    }

    #kontaktformular input,
    #kontaktformular textarea {
        font-size: 16px;
    }

    #kontaktformular button {
        width: 100%;

        align-self: stretch;
    }


    /* -----------------------------------------------------
       WERKE
    ----------------------------------------------------- */

    .page-hero {
        padding: 135px 0 65px;
    }

    .page-hero h1 {
        font-size: 50px;

        line-height: 1.08;
    }

    .page-hero p {
        font-size: 16px;
    }

    .works-gallery {
        padding: 70px 0 90px;
    }

    .works-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .work-image {
        height: 360px;
    }

    .work-info {
        padding: 25px 20px;
    }

    .work-info h2 {
        font-size: 34px;
    }


    /* -----------------------------------------------------
       LIGHTBOX
    ----------------------------------------------------- */

    .lightbox {
        padding: 10px;
    }

    .lightbox-content {
        width: 96vw;

        height: 94vh;

        grid-template-columns: 1fr;

        grid-template-rows: 48% 52%;

        border-radius: 0;
    }

    .lightbox-image-wrapper {
        min-height: 0;
    }

    .lightbox-info {
        min-height: 0;

        padding: 25px 22px;

        justify-content: flex-start;

        overflow-y: auto;
    }

    .lightbox-info h2 {
        font-size: 38px;
    }

    .close-lightbox {
        top: 8px;
        right: 8px;

        width: 42px;
        height: 42px;

        font-size: 28px;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 45px;

        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }


    /* -----------------------------------------------------
       RECHTLICH
    ----------------------------------------------------- */

    .legal-page {
        padding: 55px 0 80px;
    }

    .legal-block {
        margin-bottom: 40px;
    }

    .legal-block h2 {
        font-size: 32px;
    }

}


/* =========================================================
   SEHR KLEINE SMARTPHONES
========================================================= */

@media (max-width: 400px) {

    .logo h2 {
        font-size: 25px;
    }

    .logo span {
        max-width: 190px;

        font-size: 9px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section-title h2 {
        font-size: 40px;
    }

    .page-hero h1 {
        font-size: 44px;
    }

    .work-image {
        height: 320px;
    }

    .legal-block h2 {
        font-size: 29px;
    }

    .lightbox-content {
        width: 96vw;

        height: 95vh;
    }

    .close-lightbox {
        top: 7px;
        right: 7px;

        width: 40px;
        height: 40px;

        font-size: 27px;
    }

}
/* ==========================================
   WERKE GALERIE
========================================== */

.gallery-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(20, 20, 20, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gallery-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-content {
    max-width: 80vw;
    max-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-content img {
    max-width: 80vw;
    max-height: 80vh;

    object-fit: contain;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-counter {
    margin-top: 20px;

    color: white;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.gallery-close {
    position: absolute;
    top: 25px;
    right: 35px;

    border: none;
    background: none;

    color: white;

    font-size: 48px;
    font-weight: 300;

    cursor: pointer;

    line-height: 1;
}

.gallery-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: none;

    color: white;

    font-size: 70px;
    font-weight: 200;

    cursor: pointer;

    padding: 20px;

    transition: opacity 0.2s ease;
}

.gallery-arrow:hover {
    opacity: 0.6;
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

body.gallery-open {
    overflow: hidden;
}


/* MOBILE */

@media (max-width: 700px) {

    .gallery-content {
        max-width: 90vw;
    }

    .gallery-content img {
        max-width: 90vw;
        max-height: 75vh;
    }

    .gallery-arrow {
        font-size: 50px;
    }

    .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    }

    .gallery-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

}