@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    font-variant: normal;
    font-style: normal;
    font-optical-sizing: auto;
}

.hero-image {
    position: absolute;
    top: 20px;
    left: 20px;
    background-position: center;
    object-fit: cover;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    border-radius: 30px 0 30px 30px;
    z-index: 2
}

.hero-h1 {
    position: absolute;
    left: 50%;
    top: 210px;
    transform: translate(-50%);
    z-index: 99;
    font-size: 150px;
    font-family: switzer, switzer, sans-serif;
    font-weight: 300;
    color: #fff;
    text-shadow: #333 2px 2px 30px;
    text-align: center;
    line-height: 150px;
    width: calc(100vw - 120px)
}

.hero-h1 span {
    font-family: boska, serif;
    font-weight: 600;
}

.hero-h2 {
    z-index: 99;
    position: absolute;
    top: 360px;
    width: 100%;
    text-align: center;
    font-weight: 300;
    color: #fff;
    text-shadow: #000000 2px 2px 20px
}

.main-homepage {
    margin-top: calc(100vh - 70px)
}

.bg-dark-violet {
    background-color: #1f0033;
    color: #fff
}

.signature-form {
    border: 1.5px solid #fff;
    color: #fff;
    padding: 50px;
    border-radius: 30px 0 30px 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 15px;
    padding: 0 4rem !important;
}

.portfolio-card-large {
    color: #fff !important;
    background-size: cover;
    border-radius: 30px 0 30px 30px;
    padding: 20px 70px;
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px #00000008;
}

.portfolio-card-small {
    background-size: cover;
    border-radius: 30px 0 30px 30px;
    border: 1.5px solid #fff;
    padding: 0;
    aspect-ratio: 6 / 5;
    display: grid;
    align-items: end;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px #00000008;
}

.portfolio-card-small h3 {
    font-size: 20px
}

.portfolio-card-title {
    position: relative;
    margin-bottom: 10px;
    left: 10px;
    padding: 10px 15px;
    border-radius: 20px 0 20px 20px;
    width: calc(100% - 50px);
    background: #ffffff8c;
    box-shadow: 0 4px 32px #1f435a1a;
    backdrop-filter: blur(7px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(7px) saturate(180%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, .18)
}

.portfolio-card-small {
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease
}

.portfolio-card-small:hover {
    transform: translateY(-3px)
}

.portfolio-card-small img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.portfolio-card-small:hover img {
    transform: scale(1.05)
}

.portfolio-card-small {
    position: relative
}

.portfolio-card-title {
    position: absolute;
    z-index: 10
}

.clients-section {
    padding-bottom: 100px
}

.clients-grid {
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 30px 0 30px 30px;
    margin: 30px 0 -90px;
    width: calc(100% - 60px)
}

.clients-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%
}

.clients-grid img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain
}

.mood-pic {
    background-size: cover;
    height: 370px;
    background-color: #1f0033;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 1.5rem;
    color: #666;
    border-radius: 16px 0 16px 16px;
    margin: 94px auto 100px;
    position: relative;
    overflow: visible
}

.kategorien-bg {
    width: 100vw;
    height: 100vh;
    margin-top: -62px;
    background-color: #925c5c;
    z-index: -1
}

.autocomplete-wrapper * {
    overflow: hidden !important
}

.autocomplete-wrapper {
    position: absolute;
    width: calc(80% - 6rem);
    max-width: 600px;
    top: 500px;
    left: 50%;
    transform: translate(-50%);
    margin-bottom: 0;
    padding: 0 45px;
    z-index: 900;
    background: #ffffff8c;
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 27px !important;
    box-shadow: 0 4px 15px #00000008;
    display: flex;
    flex-direction: column;
    transition: border-radius 0s cubic-bezier(.4, 2, .6, 1), box-shadow .3s;
    min-height: 49px;
    height: 49px
}

.autocomplete-wrapper.expanded {
    border-radius: 30px 30px 16px 16px;
    box-shadow: 0 8px 32px #1f435a21
}

.search-input {
    font-family: switzer, switzer, sans-serif;
    font-weight: 500;
    position: relative;
    margin: 0;
    z-index: 1;
    width: calc(100vw - 18rem);
    max-width: 560px;
    padding: 14px;
    border: none;
    outline: none;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: none;
    transition: border-radius .3s cubic-bezier(.4, 2, .6, 1);
    color: #333;
    background-color: transparent
}

.search-input:focus {
    outline: none;
    box-shadow: none
}

.search-input::placeholder {
    color: #333;
    opacity: 1
}

.autocomplete-wrapper.expanded .search-input {
    border-radius: 30px
}

.autocomplete-list {
    position: static;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    z-index: 2;
    list-style: none;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s cubic-bezier(.4, 2, .6, 1), max-height .3s cubic-bezier(.4, 2, .6, 1)
}

.autocomplete-list.visible {
    opacity: 1;
    pointer-events: auto
}

.autocomplete-list li {
    background: transparent;
    padding: .7rem 15px;
    cursor: pointer;
    border: none;
    transition: background .2s, opacity .3s cubic-bezier(.4, 2, .6, 1);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInListItem .3s forwards;
    animation-delay: var(--delay, 0s);
    font-size: 1rem;
    display: flex;
    align-items: center;
    min-height: 1.2em;
    font-family: switzer, switzer, sans-serif;
    font-weight: 300
}

.autocomplete-list li:last-of-type {
    background: transparent;
    margin-bottom: 15px
}

@keyframes fadeInListItem {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.autocomplete-list li:hover,
.autocomplete-list li.active {
    border-radius: 8px
}

.category {
    margin-top: 2rem;
    margin-bottom: 2rem
}

.category h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    overflow-y: auto;
    padding: 1rem;
    margin: 0 -1rem
}

.card {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 4px #00000008;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.1rem
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px #0000000f
}

.projekte-hero {
    background-size: cover;
    background-position: 35% 10%;
    height: 370px;
    border-radius: 30px 0 30px 30px;
    margin: 120px auto 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    background-color: #1f0033
}

.projekte-hero .hero-h1 {
    position: static;
    transform: none;
    text-align: center;
    width: auto;
    font-size: 120px;
    line-height: 1
}

.project-gallery {
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    grid-auto-rows: 8px
}

.project-gallery a,
.project-gallery a:hover {
    text-decoration: none;
    border-radius: 30px 0 30px 30px !important
}

.projekt-karte {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-bottom: 30px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: #fff;
    border-radius: 30px 0 30px 30px;
    padding: 1.5rem;
    transition: transform .3s ease;
    -webkit-transition: -webkit-transform .3s ease;
    text-decoration: none;
    color: #333;
    box-sizing: border-box;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden
}

.projekt-karte:hover {
    transform: translateY(-5px) translateZ(0);
    -webkit-transform: translateY(-5px) translateZ(0)
}

.projekt-karte .projekt-bild {
    width: 100%;
    height: auto;
    border-radius: 16px 0 16px 16px;
    margin-bottom: 1.5rem;
    object-fit: cover
}

.projekt-karte h3 {
    font-size: 2rem;
    font-family: "Bodoni Moda", serif;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1f0033
}

.projekt-karte p {
    font-family: switzer, switzer, sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1.5rem
}

.projekt-kurzinfo {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: .75rem 1.25rem;
    margin-top: 1rem
}

.projekt-kurzinfo ul {
    font-family: switzer, switzer, sans-serif;
    font-size: .9rem;
    padding-left: 0;
    list-style: none;
    margin: 0
}

.projekt-kurzinfo li {
    margin-bottom: .5rem
}

.projekt-kurzinfo li:last-child {
    margin-bottom: 0
}

@media(max-width:768px) {
    .project-gallery {
        column-width: 90%
    }

    .projekte-hero .hero-h1 {
        font-size: 80px
    }
}

.button-design {
    background-color: #1f0033;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .75rem 1.5rem;
    font-family: switzer, switzer, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .3s ease, box-shadow .3s ease;
    -webkit-transition: background-color .3s ease, box-shadow .3s ease;
    text-decoration: none;
    display: inline-block
}

.button-design:hover {
    background-color: #3a0055;
    box-shadow: 0 4px 8px #0000001a
}

#page-nav {
    margin: 20px 0 40px
}

#page-nav a {
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #3a0055;
    color: #fff;
    text-decoration: none;
    box-shadow: #e4e4e4 0 2px 7px;
    border-radius: 8px;
    font-family: switzer, switzer, sans-serif;
    font-weight: 500;
    transition: background-color .3s ease
}

#page-nav a:hover {
    background-color: #1f0033
}

.detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: #00000050 15px;
    border-radius: 30px 0 30px 30px;
    margin: 120px 0 4rem;
    overflow: hidden
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000004d;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px)
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem
}

.detail-hero h1,
.detail-hero h2,
.detail-hero p {
    color: #fff
}

.detail-hero h1 {
    font-size: 100px
}

.detail-hero .h-klein {
    font-weight: 300
}

.detail-hero-beschreibung {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    line-height: 1.5
}

.detail-hero .projekt-kurzinfo {
    background-color: #ffffff1a;
    border: 1px solid rgba(100, 100, 100, .2);
    margin-top: 2rem
}

.projekt-kurzinfo {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px)
}

main.max-width {
    padding-bottom: 4rem
}

.text-content {
    margin: 0 0 4rem
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem
}

.text-content h3 {
    margin-top: 3rem;
    color: #1f0033
}

.gallery-item {
    display: block;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 0;
    border-radius: 30px 0 30px 30px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform .3s ease
}

.lg-backdrop {
    background-color: #fff !important
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover
}

.pdf-embed-wrapper {
    border-radius: 30px 0 30px 30px;
    overflow: hidden;
    margin: 2rem 0 1rem;
    box-shadow: 0 4px 15px #0000000d;
    border: 1px solid #eee;
    height: 800px
}

.pdf-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none
}

.pdf-download-btn {
    display: block;
    width: fit-content;
    margin: 1rem auto 4rem
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 30px 0 30px 30px;
    margin: 2rem 0 4rem;
    box-shadow: 0 4px 15px #0000000d
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
}

@media only screen and (max-width:1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto
    }

    .portfolio-card-large {
        min-height: 400px;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2
    }

    .portfolio-card-small {
        grid-column-start: auto;
        grid-column-end: auto;
        grid-row-start: auto;
        grid-row-end: auto
    }
}

@media only screen and (max-width:1200px) {
    .hero-h1 {
        font-size: 90px;
        line-height: 90px
    }

    .hero-h2 {
        top: 300px
    }
}

@media only screen and (max-width:744px) {
    .hero-h2 {
        top: 390px
    }

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

@media only screen and (max-width:600px) {
    .detail-hero {
        margin-top: 60px
    }

    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .portfolio-card-large {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2
    }

    .portfolio-card-small {
        grid-column-start: auto;
        grid-column-end: auto;
        grid-row-start: auto;
        grid-row-end: auto
    }

    h1 {
        font-size: 60px;
        line-height: 60px
    }

    h2 {
        font-size: 40px
    }

    h3 {
        font-size: 30px
    }

    .hero-h1 {
        font-size: 50px;
        line-height: 50px
    }

    .hero-h2 {
        font-size: 20px;
        top: 280px
    }

    .detail-hero-content h1 {
        font-size: 50px !important
    }

    .max-width {
        padding: 30px 40px !important;
    }

    .search-input {
        width: 100%;
        margin: 0;
        padding: 13px 0 !important
    }

    .autocomplete-wrapper {
        width: calc(100vw - 15rem)
    }

    header h1 {
        display: none
    }

    .signature-form {
        padding: 40px 25px;
    }

    .card-container {
        grid-template-columns: 1fr
    }

    .footer-nav {
        flex-direction: column;
        align-items: start;
        row-gap: 70px;
        text-align: left !important
    }

    .footer-logo {
        margin-left: 20px
    }

    .footer-nav-link {
        text-align: left !important
    }

    .mood-pic {
        margin: 94px -2rem 2rem
    }

    /* Mobile Hero Text Positioning */
    .hero-text {
        position: absolute;
        bottom: 80px;
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 100;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero-text .hero-h1,
    .hero-text .hero-h2 {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 0;
    }

    .hero-text .hero-h2 {
        margin-top: 10px;
    }
}

@media only screen and (max-width:450px) {
    .header-nav {
        margin: 0 25px;
        padding: 15px 20px;
        width: calc(100vw - 90px)
    }

    .hamburger-nav-overlay {
        width: 200px
    }

    .portfolio-card-large {
        padding: 20px 35px
    }
}

@media only screen and (max-width:466px) {
    .hero-h2 {
        top: 320px
    }

    .clients-grid {
        grid-template-columns: 1fr
    }
}

@media only screen and (max-width:350px) {
    .header-nav-links {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        row-gap: .3rem
    }

    .card-container {
        grid-template-columns: 1fr
    }

    .header-nav-link {
        text-align: center
    }

    h2 {
        font-size: 35px
    }
}

.form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Bodoni Moda", serif;
    font-weight: 400;
    font-size: 3rem
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

::placeholder {
    color: #d0d0d0;
    opacity: 1;
}


.block {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
    border: 1px solid rgba(221, 221, 221, 0.08) !important;
    font-family: switzer, sans-serif;
    font-size: 1rem;
    color: rgb(255, 255, 255) !important;
    transition: 0.3s;
    border-radius: 50px !important;
    padding: 1.2rem 2rem !important;
}

.block:focus {
    outline: none;
    border-color: #1f0033;
    box-shadow: 0 8px 20px #1f00331a;
    transform: translateY(-2px)
}

textarea.block {
    resize: vertical;
    min-height: 150px
}

select.block {
    appearance: none;
    -webkit-appearance: none;
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231f0033%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: right 1.5rem top 50%;
    background-size: .8rem auto;
    cursor: pointer
}

.submit {
    align-self: flex-start;
    background-color: #1f0033;
    color: #fff;
    padding: 1.2rem 4rem;
    border: none;
    border-radius: 50px;
    font-family: switzer, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 15px #1f003333;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px #1f00334d;
    background-color: #30004f
}

.form-section {
    max-width: 1200px;
    padding: 4rem;
    margin: 0 auto
}

.form-section h2 {
    text-align: left
}

@media(max-width:768px) {
    .form-section {
        padding: 4rem 2rem
    }
}

.form-section {
    max-width: none;
    padding: 6rem 0
}

.form-section h2 {
    text-align: left;
    margin-left: 0
}

.block {
    border-radius: 30px 0 30px 30px
}

select.block {
    background-position: right 2rem top 50%
}

.form-section {
    margin: 0 auto;
    padding: 4rem;
}

.block {
    border-radius: 50px !important;
    padding: 1.2rem 2rem !important;
    border: 1px solid #ddd;
    background-color: #fff;
    font-family: switzer, sans-serif;
    font-size: 1rem;
    color: #333;
    transition: all .3s ease
}

textarea.block {
    border-radius: 30px !important
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%
}

@media(min-width:768px) {
    .form-row {
        flex-direction: row
    }

    .form-row>* {
        flex: 1;
        width: 100%
    }
}

select.block {
    appearance: none;
    -webkit-appearance: none;
    background-position: right 2rem top 50% !important;
    padding-right: 3rem !important
}

.form-section {
    max-width: 1200px !important
}

.submit {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    border-radius: 50px !important;
    background-color: #1f0033;
    color: #fff;
    border: 2px solid #1f0033;
    font-family: switzer, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    box-shadow: 0 4px 6px #1f00331a;
    align-self: center
}

.submit:hover {
    background-color: transparent;
    color: #1f0033;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px #1f003333
}

.submit:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #1f003333
}

@media(min-width:768px) {
    .submit {
        width: auto;
        min-width: 300px;
        align-self: flex-start
    }
}

.submit {
    border-radius: 12px !important;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    transition: all .2s ease
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px #1f003326;
    background-color: #30004f;
    color: #fff
}

.submit {
    border-radius: 50px !important;
    padding: .9rem 2.5rem !important;
    width: auto !important;
    min-width: 0 !important;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500
}

@media(min-width:768px) {
    .submit {
        width: auto !important;
        min-width: 0 !important
    }
}