@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("./fonts/cormorant-garamond-600-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Fragment Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/fragment-mono-400-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Kosugi";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/kosugi-400-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lalezar";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/lalezar-400-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/lato-400-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("./fonts/lato-700-latin.woff2") format("woff2");
}

:root {
    --background: #f8f4ee;
    --ink: #000000;
    --service-back: #ecd3d6;
    --page-width: 1200px;
    color: var(--ink);
    background: var(--background);
    font-family: "Kosugi", monospace;
    font-synthesis: none;
    text-rendering: geometricPrecision;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--background);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--background);
}

a {
    color: inherit;
}

.site-shell {
    width: 100%;
    min-height: 100svh;
    margin: 0 auto;
    overflow: hidden;
    background: var(--background);
}

.brand {
    display: block;
    width: 100%;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: "Lalezar", sans-serif;
    font-size: 126px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--page-width);
    min-height: 66px;
    margin: 0 auto;
    padding: 18px 24px;
    gap: 30px;
}

.navigation__toggle {
    display: none;
}

.navigation__controls {
    position: absolute;
    right: 40px;
    display: flex;
    align-items: center;
    order: 2;
}

.navigation__links {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    gap: 30px;
}

.navigation__links a,
.navigation__language {
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    text-align: center;
    text-decoration: none;
}

.navigation__language a {
    text-decoration: none;
}

.navigation__language {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.navigation__language-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.navigation__links a:hover,
.navigation__links a:focus-visible,
.navigation__links a[aria-current="page"],
.navigation__language a:hover,
.navigation__language a:focus-visible,
.navigation__language-current {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-main {
    display: flex;
    min-height: calc(100svh + 120px);
    flex-direction: column;
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 0 48px;
}

.home-introduction {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 40px;
    gap: 24px;
}

.display-heading {
    width: 100%;
    margin: 0;
    font-family: "Kosugi", monospace;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
}

.body-copy {
    width: 100%;
    margin: 0;
    font-family: "Kosugi", monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-wrap: balance;
}

.home-tagline {
    font-size: 18px;
}

.products-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--page-width);
    min-height: calc(100svh + 120px);
    margin: 0 auto;
    padding: 40px;
    gap: 54px;
}

.product-hero {
    display: grid;
    align-items: center;
    width: 100%;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
}

.product-introduction {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 24px;
}

.product-kicker {
    margin: 0;
    font-family: "Fragment Mono", monospace;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
}

.product-title {
    margin: 0;
    font-size: 58px;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.product-subtitle {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 26px;
}

.product-actions a {
    font-size: 15px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-logo-panel {
    display: grid;
    min-width: 0;
    min-height: 460px;
    place-items: center;
}

.product-logo {
    display: grid;
    width: min(100%, 450px);
    justify-items: center;
}

.product-logo__cat {
    width: min(30%, 126px);
    height: auto;
    margin-bottom: 8px;
}

.product-logo__wordmark {
    display: block;
    width: 100%;
    height: auto;
}

.product-logo__sans {
    font-family: "Lato", sans-serif;
}

.product-logo__serif {
    font-family: "Cormorant Garamond", serif;
}

.services-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: var(--page-width);
    min-height: calc(100svh + 120px);
    margin: 0 auto;
    padding: 20px 40px;
    gap: 30px;
}

.service-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-tile {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--background);
    border: 1px solid var(--ink);
    border-radius: 12px;
    cursor: pointer;
    perspective: 1400px;
    text-align: left;
}

.service-tile:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.service-tile__inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 220px;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile[aria-expanded="true"] .service-tile__inner {
    transform: rotateY(180deg);
}

.service-tile__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 28px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-tile__front {
    justify-content: space-between;
    gap: 20px;
    background: var(--background);
}

.service-tile__back {
    justify-content: flex-start;
    overflow: auto;
    background: var(--service-back);
    transform: rotateY(180deg);
}

.service-tile__title {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: "Fragment Mono", monospace;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-tile__cta {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: "Fragment Mono", monospace;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-tile__detail {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-family: "Fragment Mono", monospace;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.45;
}

.contact-link,
.home-services-link {
    display: inline-block;
    font-size: 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: var(--page-width);
    min-height: calc(100svh + 120px);
    margin: 0 auto;
    padding: 40px;
    gap: 28px;
}

.contact-introduction {
    max-width: 920px;
}

.contact-address {
    margin: 18px 0 64px;
    font-family: "Fragment Mono", monospace;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-footer {
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 28px;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    border-top: 1px solid var(--ink);
}

.legal-footer__copyright,
.legal-footer a {
    font-size: 15px;
    line-height: 1.4;
}

.legal-footer__copyright {
    justify-self: center;
}

.legal-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.legal-footer a {
    text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-footer {
    width: calc(100% - 80px);
    margin: auto 40px 0;
}

.legal-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100svh;
    margin: 0 auto;
    padding: 48px 40px;
    overflow: hidden;
    background: var(--background);
}

.legal-shell--impressum {
    padding-bottom: 48px;
}

.legal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    gap: 28px;
}

.legal-shell--datenschutz .legal-content {
    padding-top: 32px;
}

.legal-shell--impressum .legal-content {
    padding-top: 32px;
}

.legal-shell--datenschutz .legal-content,
.legal-shell--impressum .legal-content {
    margin-bottom: 40px;
}

.legal-footer--legal-page {
    width: 100%;
    max-width: 900px;
    margin: auto auto 0;
    flex-shrink: 0;
}

.legal-footer--legal-page a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.back-link {
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-title {
    width: 100%;
    margin: 0;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.legal-shell--impressum .legal-title {
    margin-left: -7px;
}

.legal-copy {
    width: 100%;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-wrap: balance;
}

.legal-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 18px;
}

.legal-section h2,
.legal-section h3 {
    width: 100%;
    margin: 0;
    font-weight: 400;
    line-height: 1.35;
}

.legal-section h2 {
    font-size: 26px;
}

.legal-section h3 {
    font-size: 20px;
}

.legal-list {
    width: 100%;
    margin: 0;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.legal-copy--uppercase {
    text-transform: uppercase;
}

.legal-address {
    font-style: normal;
}

.legal-meta {
    font-size: 14px;
}

@media (max-width: 809.98px) {
    .home-main {
        max-width: 100%;
        padding: 0 0 28px;
    }

    .brand {
        position: relative;
        left: 50%;
        width: calc(100vw - 32px);
        margin-top: 5px;
        transform: translateX(-50%);
        font-size: 42px;
    }

    .brand__digital {
        display: block;
    }

    .home-introduction {
        padding: 20px 40px 40px;
    }

    .home-footer {
        width: calc(100% - 80px);
        margin-right: 40px;
        margin-left: 40px;
    }

    .products-content {
        padding: 20px 40px 40px;
        gap: 40px;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title {
        font-size: 44px;
    }

    .product-logo-panel {
        min-height: 340px;
    }

    .navigation {
        flex-direction: column;
        padding-right: 16px;
        padding-left: 16px;
        gap: 12px;
    }

    .navigation__toggle {
        display: grid;
        width: 46px;
        height: 42px;
        padding: 0;
        place-items: center;
        color: var(--ink);
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .navigation__controls {
        position: relative;
        right: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        order: 1;
        padding-right: 24px;
        padding-left: 24px;
        gap: 20px;
    }

    .navigation__language {
        position: static;
        font-size: 17px;
    }

    .navigation__toggle {
        margin-left: auto;
    }

    .navigation__toggle:focus-visible {
        outline: 1px solid var(--ink);
        outline-offset: 3px;
    }

    .navigation__icon {
        position: relative;
        display: flex;
        width: 30px;
        height: 22px;
        flex-direction: column;
        justify-content: space-between;
    }

    .navigation__icon i {
        display: block;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform-origin: center;
        transition:
            transform 180ms ease,
            opacity 180ms ease;
    }

    .navigation__toggle[aria-expanded="true"] .navigation__icon i:first-child {
        transform: translateY(10px) rotate(45deg);
    }

    .navigation__toggle[aria-expanded="true"] .navigation__icon i:nth-child(2) {
        opacity: 0;
    }

    .navigation__toggle[aria-expanded="true"] .navigation__icon i:last-child {
        transform: translateY(-10px) rotate(-45deg);
    }

    .navigation__links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
        order: 2;
        padding: 4px 24px 16px;
        gap: 8px;
    }

    .navigation__links.is-open {
        display: flex;
    }

    .navigation__links a {
        width: auto;
        font-size: 17px;
        text-align: right;
    }

    .contact-content {
        padding: 20px 40px 40px;
    }

    .legal-footer {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legal-footer__copyright {
        justify-self: center;
    }

    .legal-footer__links {
        justify-self: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
        margin-top: 15px;
    }

    html[lang="de"] .service-tile,
    html[lang="de"] .service-tile__inner {
        min-height: 245px;
    }

    html[lang="de"] .service-tile__face {
        padding: 22px;
    }

    .legal-shell {
        padding: 28px 40px;
    }

    .legal-content {
        padding-top: 20px;
    }

    .legal-shell--impressum {
        padding-bottom: 28px;
    }

    .legal-footer--legal-page {
        padding-top: 28px;
    }

    .legal-shell--datenschutz .legal-content,
    .legal-shell--impressum .legal-content {
        margin-bottom: 48px;
    }
}

@media (max-width: 349.98px) {
    html[lang="de"] .service-tile,
    html[lang="de"] .service-tile__inner {
        min-height: 290px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
