/* plus-jakarta-sans-500 - cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../font/plus-jakarta-sans-v12-cyrillic-ext_latin_latin-ext_vietnamese-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* plus-jakarta-sans-700 - cyrillic-ext_latin_latin-ext_vietnamese */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../font/plus-jakarta-sans-v12-cyrillic-ext_latin_latin-ext_vietnamese-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* 
https: //dbushell.com/2025/09/12/css-reset/ 
https: //git.dbushell.com/dbushell/patchwork/src/branch/main/static/css/base/reset.css 
*/
*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:where(html) {
    color-scheme: light dark;
    hanging-punctuation: first allow-end last;
    interpolate-size: allow-keywords;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

:where(html.translated-rtl) {
    direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
    :where(html) {
        scroll-behavior: auto;
    }
}

:where(body) {
    min-block-size: 100svb;
    min-inline-size: 300px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:where(canvas, img, picture, svg, video) {
    block-size: auto;
    border: none;
    display: block;
    max-inline-size: 100%;
}

:where(button, input, progress, select, textarea) {
    appearance: none;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    hanging-punctuation: none;
    line-height: inherit;
    text-align: start;
    touch-action: manipulation;
}

:where(button) {
    cursor: pointer;
    user-select: none;
}

:where(textarea) {
    resize: vertical;
}

:where(textarea:not([rows])) {
    field-sizing: content;
}

:where(fieldset, iframe) {
    border: none;
}

:where(p, li, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word;
    text-wrap: pretty;
}

:where(abbr[title]) {
    border: none;
    text-decoration: none;
}

:where(cite) {
    font-style: inherit;
}

:where(small) {
    font-size: inherit;
}

:where(li, ol, ul) {
    list-style: none;
}

:where(dialog, [popover]) {
    background: transparent;
    border: none;
    color: inherit;
    margin: auto;
    max-block-size: none;
    max-inline-size: none;
    position: fixed;
}

:where([popover]) {
    inset: auto;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
    display: none;
}

:where([hidden]:not([hidden="until-found"])) {
    display: none !important;
}




:root {
    --color-primary: #1D1D1F;
    --color-primary-shade: #86868B;
    --color-primary-light: #F5F5F7;
    --color-secondary: #FFF;
    --color-highlight: #E72619;
    --color-lowlight: #3B0703;

    --trans-easing-default: cubic-bezier(0.64, 0.57, 0.67, 1);
    --trans-duration-default: 162ms;

    --msr-default: 20px;
    --rds-default: 23px;
}

h1,
h2,
h3,
p,
span,
em {
    font-weight: 500;
}


html {
    background: var(--color-secondary);
    color: var(--color-primary);
}

h1,
h2,
h3,
p:not(:last-child) {
    margin-bottom: 1em;
}

h1,
h2 {
    font-size: clamp(36px, 2.5vw, 72px);
    line-height: 116.2%;
}

h2.alt,
.faq h3 {
    font-size: clamp(27px, 2.5vw, 46px);
    line-height: 116.2%;
}


h3,
p {
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 133%;
}

main span {
    font-size: clamp(16px, 2.5vw, 20px);
}

p {
    max-width: 784px;
    line-height:142%;
}


p,
img,
small {
    color: var(--color-primary-shade);
}


a {
    color: var(--color-primary);
    text-decoration: none;
}

em {
    font-style: normal;
    color: var(--color-primary-shade);
}

span.badge {
    color: var(--color-highlight);
    text-transform: uppercase;
}


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

.container {
    padding: var(--msr-default);
    margin-bottom:var(--msr-default);
}

.row:not(.row-full) {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
    flex-direction: row;
}

.flex:not(.flex-pers) {
    justify-content: space-between;
    gap: var(--msr-default);
    place-items: center;
}

.grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: var(--msr-default)
}



.button {
    background: var(--color-lowlight);
    border-radius: var(--rds-default);
    color: var(--color-highlight);
    display: inline-block;
    font-weight: bold;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    transition: filter var(--trans-duration-default) var(--trans-easing-default);
    cursor: pointer;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.button-more-designs.button.button-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: .62em 2.38em;
}

.button:not(.button-language):hover {
    filter: brightness(1.33);
}

.button:not(.button-language):active {
    filter: none;
    transform: scale(.9938) translateY(1px);
    filter: brightness(.838);
    transition: none;
}


.button:not(.button-secondary):after {
    content: ' →';
}

.button.button-secondary {
    background: var(--color-primary-shade);
    color: var(--color-secondary);
}





figure {
    border-radius: var(--rds-default);
    overflow: hidden;
    block-size: auto;
    inline-size: 100%;
    margin: 0;
}

.row-hero {
    aspect-ratio: 2.33;
}


.row-hero {
    background: var(--color-highlight);
}

.row-hero p {
    color: var(--color-secondary);
    position: absolute;
    z-index: 1;
    width: calc(100% - (2 * var(--msr-default)));
    padding: calc(2 * var(--msr-default));
}

.row-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}




.row-leads,
.row-cta,
.container-cta,
.container-sticky-cta {
    background-color: var(--color-primary-light);
}

.container-sticky-cta {
    margin-bottom:0;
}

.container-sticky-cta .button {
    margin-left:13px;
}


header .branding.flex {
    gap:8px;
}

header .branding span {
    font-size: 40px;
    position:relative;
    bottom:4px;
}


header .nav-flex {
    display:flex;
    gap:3px;
}

header .button-menu {
    position: relative;
}

header .button-menu svg {
    position: absolute;
    left:-1px;
    top:-3px;
}


.faq {
    border-top: 1px solid var(--color-primary-shade);
    margin-bottom: 1em;
    padding-top:1em;
    padding-bottom:1em;
    position:relative;
}

.faq:after {
    content:'';
    width:33px;
    height:33px;
    background:url(../img/icon-more.svg);
    display:block;
    position:absolute;
    right:var(--msr-default);
    top:1.5em;
    transition:all var(--trans-duration-default) var(--trans-easing-default);
}

.faq.open:after {
    transform:rotate(45deg);
    opacity:.62;
}

.faq h3 {
    color: var(--color-primary-shade);
    margin-bottom:0;
    cursor: pointer;
    transition: all var(--trans-duration-default) var(--trans-easing-default);
    padding-right:62px;
}

.faq h3:hover {
    filter:brightness(1.33);
    color: var(--color-highlight);
}

.faq h3:active {
    transition: none;
    filter:brightness(.838);
    transform:translateY(1px);
}

.faq-content {
    height: 0;
    overflow: hidden;
    transition: all calc(2 * var(--trans-duration-default)) var(--trans-easing-default);
}

.faq.open h3 {
    color:var(--color-highlight)
}

.faq-content p {
    color:var(--color-primary);
    max-width:none;
}

.faq.open .faq-content {
    height: auto;
    margin-top:1.75em;
}

.faq:last-child {
    margin:0
}



.container-cta .button {
    font-size:22px;
    padding:.68em 4em;
}


.row-leads {
    padding:calc(2 * var(--msr-default));
    border-radius:var(--rds-default);
}


.row-leads .badge {
    display:block;
    margin-bottom:1em;
}

.row-leads h3 {
    font-weight:bold;
}


.row-leads,
.container-cta .row.text-center {
        height: 62vh;
        min-height:540px;
        display: flex;
        align-items: center;
        justify-content: center;
}

.row-leads {
    height:auto
}

.row-leads .row {
    margin-top:calc(6 * var(--msr-default));
}



#sticky-cta {
    position: fixed;
    /* Hält die Leiste am Bildschirmrand */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Stellt sicher, dass sie über anderen Inhalten liegt */

    /* Sanfter Übergang für das Ein- und Ausblenden */
    transition: transform calc(2 * var(--trans-duration-default)) var(--trans-easing-default);
}

/* Diese Klasse schiebt die Leiste aus dem sichtbaren Bereich */
.translate-y-full {
    transform: translateY(100%);
}

.row {
    margin-bottom:calc(6 * var(--msr-default));
}


.flex.flex-center-vert {
    align-items: center;
    gap:calc(2 * var(--msr-default));
}

.flex-center-vert .flex-primary {
    max-width:62%;
    width:100%;
}


.row-leads-image-outer {
    width: 100%;
    justify-items: flex-end;
}

.row-leads-image-outer > * {
    max-width: 50%;
    min-width: 230px;
}



footer .container {
    margin-bottom:0;
}

footer .row {
    margin-bottom:0;
}

footer .branding.text-center {
    justify-items: anchor-center;
}

footer .branding img + small {
    margin-top:13px;
    font-size:13px;
    display:block;
}


footer a {
    transition: all var(--trans-duration-default) var(--trans-easing-default);
}

footer a:hover {
    filter: brightness(1.33);
    color: var(--color-highlight);
}

footer a:active {
    transition: none;
    filter: brightness(.838);
    transform: translateY(1px);
}


footer .grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

footer .grid > *:first-child {
    justify-self: start;
}

footer .grid > *:last-child {
    justify-self: end;
}


.button.button-secondary.button-language {
    background:var(--color-primary-secondary);
    color:var(--color-primary);
    border:2px solid var(--color-primary);
}

.button.button-secondary.button-language > span {
    font-weight:bold;
}

/* --- Language Switcher --- */
.language-switcher {
    margin-right:12px;
    position: relative;
    /* Wichtig für das Dropdown */
}

.button-language {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-language .icon-language,
.button-language .icon-arrow {
    width: 20px;
    height: 20px;
}

.language-switcher:hover .icon-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    /* Position unter dem Button */
    right: 0;
    background: var(--color-primary-secondary);
    border: 1px solid var(--color-primary-shade);
    border-radius: var(--rds-default);
    padding: 5px;
    width: 100%;
    z-index: 10;
    text-align: center;

    /* Standardmäßig versteckt */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all var(--trans-duration-default) var(--trans-easing-default);

    background:var(--color-secondary);
}

.language-switcher:hover .language-dropdown {
    /* Sichtbar beim Hovern */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: .5em 1em .62em;
    border-radius: 18px;
    font-size: 16px;
    color: var(--color-primary);
}

.language-dropdown a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.language-dropdown a.active {
    background: var(--color-highlight);
    color: var(--color-secondary);
    font-weight: bold;
}





/* --- Modal / Popup --- */
#modal-container {
    position: fixed;
    inset: 0;
    /* Deckt den ganzen Bildschirm ab (top, right, bottom, left = 0) */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Standardmäßig versteckt */
    opacity: 0;
    visibility: hidden;

    transition: opacity calc(4 * var(--trans-duration-default)) var(--trans-easing-default), visibility calc(4 * var(--trans-duration-default)) var(--trans-easing-default);

}

#modal-container.open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--color-secondary);
    border-radius: var(--rds-default);
    padding: calc(2 * var(--msr-default));
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Animation */
    transform: scale(0.95);
    transition: transform calc(2 * var(--trans-duration-default)) var(--trans-easing-default);
}

#modal-container.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    font-weight: 200;
    line-height: 1;
    color: var(--color-primary-shade);
    background: none;
    border: none;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-highlight);
}

.modal-hidden-content {
    display: none;
}





#designs .row:not(:last-child) {
    margin-bottom:2em;
}

#designs h2 {
    margin-bottom:1em;
}



/* --- Show More Designs --- */
#designs-toggle>div:nth-child(n+4) {
    display: none;
}

#designs-toggle.show-all>div {
    display: block;
}








/* --- Fade-in on Scroll Effekt --- */

/* 1. Der Ausgangszustand: Unsichtbar und leicht nach unten verschoben. */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    /* Startet 30px weiter unten */
    transition: opacity calc( 4 * var(--trans-duration-default) ) var(--trans-easing-default), transform calc( 4 * var(--trans-duration-default) ) var(--trans-easing-default);
}

/* 2. Der Endzustand, wenn die Klasse 'is-visible' hinzugefügt wird. */
.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
    /* Bewegt sich an die finale Position */
}




footer .grid .flex {
    align-items: flex-start;
}

#about > .container > .row.text-center {
    margin-top:3em;
    margin-bottom: 6em;
}

@media(max-width:1280px) {
    #about > .container > .row.text-center {
        margin-top:0;
        margin-bottom: 2.62em;
    }
}

#about h2 {
    margin-top:.38em;
}


@media(max-width:2200px) {
    .row-hero {
        aspect-ratio: 2.162;
    }
}

@media(max-width:1980px) {
    .row-hero {
        aspect-ratio: 2;
    }
}

@media(max-width:1700px) {
    .row-hero {
        aspect-ratio: 16/9;
    }
}

@media(max-width:1000px) {
    .row-hero {
        aspect-ratio: 16/10;
    }
}

@media(max-width:800px) {
    .row-hero {
        aspect-ratio: 16/12;
    }
}

@media(max-width:700px) {
    .row-hero {
        aspect-ratio: 1;
    }
}

@media(max-width:600px) {
    .row-hero {
        aspect-ratio: 1/1.3;
    }
}

@media(max-width:520px) {
    .row-hero {
        aspect-ratio: .66;
    }
}

@media(max-width:480px) {
    .row-hero {
        aspect-ratio: 0.5;
    }

    .row-hero img {
        object-position: 68%;
        transform: scale(1.2);
    }
}

@media(max-width:440px) {
    .row-hero {
        aspect-ratio: 0.5;
    }

    .row-hero img {

        transform: scale(1);
    }
}

@media(max-width:420px) {
    .row-hero {
        aspect-ratio: 0.45;
    }

}

@media(max-width:400px) {
    .row-hero {
        aspect-ratio: 0.38;
    }

    .row-hero img {
        object-position: 67%;

    }

    :root {
        --msr-default: 13px
    }
}

@media(max-width:380px) {
    .row-hero {
        aspect-ratio: .3;
    }

    .row-hero img {
        object-position: 65.4%;

    }
}


@media(max-width:960px) {

    .grid {
        grid-template-columns: auto auto;
    }

}



@media(max-width:768px) {
    .flex:not(.flex-pers) {
        flex-direction: column;
    }

    .flex-center-vert .flex-primary {
        max-width:none;
    }

    .container-sticky-cta strong {
        display:block;
    }

    .container-sticky-cta .button {
        margin-left:0;
        margin-top:13px;
    }

    .flex.flex-reverse {
        flex-direction: column-reverse;
    }

    .row-leads-image-outer {
        justify-items: center;
    }

    .row-leads .row {
        margin-top:0;
    }

    header .branding.flex {
        align-self:flex-start;
    }

    header .branding span {
        font-size:34px;
        bottom:1px;
    }

    .language-switcher {
        position: absolute;
        right: 2px;
        top: 19px;
        margin-right: 0;
        transform: scale(0.8);
    }

    .button.button-secondary.button-language {
        border-color:var(--color-primary-shade);
        color: var(--color-primary-shade);
        border-width:1px;
    }

    .button.button-secondary.button-language>span {
        font-weight:500;
    }


    footer .grid {
        grid-template-columns: auto;
    }

    footer .grid>*:first-child,
    footer .grid>*:last-child {
        justify-self: center;
    }

    footer {
        padding-bottom:138px;
    }

    footer .branding.text-center {
        order:2;
        margin-top:2em;
    }

    footer .grid .flex {
        align-items: center;
    }

    footer .branding img {
        position: relative;
        left: 4px;
        margin-left: auto;
        margin-right: auto;
    }

    .flex.flex-center-vert.fade-in-element.flex-reverse {
        text-align:center;
    }
    
    #about .flex.flex-center-vert.fade-in-element.flex-reverse {
        text-align:left
    }


    .row-leads-image-outer>* {
        max-width: none;
        min-width: 230px;
        max-height: 290px;
        margin-top: 73px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(max-width:540px) {

    .grid {
        grid-template-columns: auto ;
    }

    .row-leads-image-outer>* {
        min-width: 170px;
        max-height: 200px;
        margin-top: 24px;
    }

}

@media(max-width:400px) {

    .language-switcher {
            right: 0;
            top: 14px;
    }
}