/* Maurer — maurer.in */
/* No external resources are required. */

:root {
    --background: #071a2f;
    --text: #f2f2f0;
    --muted: #92969d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 450;
    overflow: auto;
}


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

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: auto;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(80,100,125,.14),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071a2f 0%,
            #0d2945 52%,
            #061525 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            115deg,
            transparent 0 46%,
            rgba(255,255,255,.025) 50%,
            transparent 54%
        ),
        linear-gradient(
            25deg,
            transparent 0 58%,
            rgba(255,255,255,.018) 62%,
            transparent 66%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    width: min(1100px, 88vw);

    transform: translateY(-2vh);

    animation:
        reveal 1.4s cubic-bezier(.22,1,.36,1) both;
}

.eyebrow {
    margin: 0 0 24px;

    color: var(--muted);

    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .38em;
}

h1 {
    margin: 0;

    font-size: clamp(4.4rem, 12vw, 10.5rem);
    line-height: .82;

    font-weight: 500;

    letter-spacing: -.065em;
}

h1 span {
    color: #aeb2b8;
}

.line {
    width: min(240px, 35vw);
    height: 1px;

    margin: 42px 0 24px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.7),
            transparent
        );
}

.subtitle {
    margin: 0;

    color: var(--muted);

    font-size: .95rem;
    font-weight: 450;

    letter-spacing: .08em;
}


/* =========================
   DIRECTORY LINK
   ========================= */

.directory-link {
    position: absolute;

    top: 48px;
    right: 42px;

    color: #aeb2b8;

    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 500;

    letter-spacing: .06em;

    transition:
        color .25s ease,
        transform .25s ease;
}

.directory-link:hover,
.directory-link:focus-visible {
    color: var(--text);
    transform: translateX(-3px);
}


/* =========================
   AMBIENT BACKGROUND
   ========================= */

.ambient {
    position: absolute;
    z-index: -1;

    width: 38vw;
    height: 38vw;

    max-width: 600px;
    max-height: 600px;

    border-radius: 50%;

    filter: blur(80px);
    opacity: .13;

    pointer-events: none;
}

.ambient-one {
    top: -18%;
    right: -8%;

    background: #6f8eaa;

    animation:
        drift-one 14s ease-in-out infinite alternate;
}

.ambient-two {
    bottom: -25%;
    left: -12%;

    background: #49677f;

    animation:
        drift-two 18s ease-in-out infinite alternate;
}


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

.site-footer {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 12px;

    white-space: nowrap;

    color: #666b73;

    font-size: .72rem;
    font-weight: 450;

    letter-spacing: .08em;
}

.site-footer a,
.back,
.legal-content a {
    color: inherit;
    text-decoration: none;

    transition: color .25s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.back:hover,
.legal-content a:hover {
    color: var(--text);
}


/* =========================
   ANIMATIONEN
   ========================= */

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(2vh);
    }

    to {
        opacity: 1;
        transform: translateY(-2vh);
    }
}

@keyframes drift-one {
    from {
        transform: translate3d(-3%, 2%, 0) scale(1);
    }

    to {
        transform: translate3d(5%, 7%, 0) scale(1.12);
    }
}

@keyframes drift-two {
    from {
        transform: translate3d(4%, -2%, 0) scale(1);
    }

    to {
        transform: translate3d(-4%, -7%, 0) scale(1.1);
    }
}


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

.legal-page {
    min-height: 100vh;
    min-height: 100svh;

    overflow: auto;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(80,100,125,.14),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071a2f 0%,
            #0d2945 52%,
            #061525 100%
        );
}

.legal-content {
    width: min(760px, 88vw);

    margin: 0 auto;

    padding: 48px 0 80px;
}

.back {
    display: inline-block;

    margin-bottom: 90px;

    color: #777c84;

    font-size: .78rem;
    font-weight: 450;

    letter-spacing: .04em;
}

.legal-content h1 {
    font-size: clamp(3.5rem, 9vw, 7rem);

    margin-bottom: 70px;

    font-weight: 500;
}

.legal-content h2 {
    margin: 42px 0 14px;

    font-size: 1rem;
    font-weight: 500;
}

.legal-content p {
    color: #a3a7ad;

    font-size: .95rem;
    font-weight: 400;

    line-height: 1.8;
}

.legal-content strong {
    color: var(--text);
    font-weight: 500;
}

.email-address {
    color: #aeb2b8;
    user-select: text;
}


/* =========================
   DOMAIN-PORTFOLIO
   domains.html
   ========================= */

.domains-page {
    overflow: auto;
}

.domains-page .site-footer {
    position: static;

    left: auto;
    bottom: auto;

    transform: none;

    width: min(800px, 88vw);

    margin: 0 auto;

    padding-bottom: 35px;
}

.domain-list {
    width: min(800px, 88vw);

    margin: 60px auto 100px;
}

.domain-item {
    display: block;

    padding: 24px 0 26px;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    color: inherit;
    text-decoration: none;

    transition:
        padding-left .25s ease,
        border-color .25s ease;
}

.domain-item:first-child {
    border-top:
        1px solid rgba(255,255,255,.08);
}

.domain-name {
    display: flex;

    align-items: baseline;
    justify-content: space-between;

    gap: 25px;
}

.domain-item strong {
    color: var(--text);

    font-size: clamp(1.3rem, 3vw, 1.7rem);

    font-weight: 500;

    letter-spacing: -.025em;
}

.domain-claim {
    margin-top: 7px;

    color: #aeb2b8;

    font-size: .82rem;
    font-weight: 450;

    letter-spacing: .03em;
}

.domain-uses {
    margin-top: 12px;

    color: var(--muted);

    font-size: .75rem;
    font-weight: 400;

    line-height: 1.7;

    letter-spacing: .025em;
}

.domain-item:hover {
    padding-left: 10px;

    border-color:
        rgba(255,255,255,.2);
}

.domain-item:hover strong {
    color: #aeb2b8;
}

.domains-intro {
    max-width: 680px;

    margin: 28px auto 0;

    color: var(--muted);

    font-size: .95rem;
    font-weight: 450;

    line-height: 1.8;

    letter-spacing: .02em;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 650px) {

    .domain-name {
        display: block;
    }

    .domain-claim {
        margin-top: 7px;
    }

    .domain-list {
        margin-bottom: 80px;
    }
}


@media (max-width: 600px) {

    .hero-content {
        width: 84vw;

        transform:
            translateY(-5vh);
    }

    h1 {
        font-size:
            clamp(4rem, 20vw, 7rem);
    }

    .line {
        margin-top: 34px;
    }

    .directory-link {
        top: 34px;
        right: 28px;

        font-size: 1rem;
    }

    .site-footer {
        bottom: 22px;

        font-size: .65rem;
    }
}


/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}