@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/satoshi.woff2') format('woff2'),
         url('/assets/fonts/satoshi.woff')  format('woff'),
         url('/assets/fonts/satoshi.ttf')   format('truetype');
    font-weight: 300 900;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'CabinetGrotesk';
    src: url('/assets/fonts/cabinetgrotesk.woff2') format('woff2'),
         url('/assets/fonts/cabinetgrotesk.woff')  format('woff'),
         url('/assets/fonts/cabinetgrotesk.ttf')   format('truetype');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --clr-background: hsl(30, 6%, 7%);

    --clr-primary-200: hsl(42, 38%, 88%);
    --clr-primary-300: hsl(41, 37%, 67%);
    --clr-primary-400: hsl(42, 54%, 56%);
    --clr-primary-500: hsl(41, 34%, 48%);

    --clr-black-400: hsl(41, 49%, 5%);

    --clr-white-400: hsl(0, 0%, 86%);
    --clr-white-500: hsl(0, 0%, 80%);
    --clr-white-600: hsl(0, 0%, 65%);

    --ff-header: CabinetGrotesk, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial;
    --ff-body: Satoshi, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial;

    --fs-400: 1rem;
    --fs-500: 1.25rem;
    --fs-600: 1.5rem;
    --fs-700: 2rem;
    --fs-800: 4rem;
    --fs-900: 6rem;
}
@media (max-width: 960px) {
    :root {
        --fs-500: 1.125rem;
        --fs-600: 1.25rem;
        --fs-700: 1.75rem;
        --fs-800: 3.5rem;
        --fs-900: 5rem;
    }
}
@media (max-width: 768px) {
    :root {
        --fs-500: 1.125rem;
        --fs-600: 1.175rem;
        --fs-700: 1.5rem;
        --fs-800: 2.5rem;
        --fs-900: 4rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--clr-background);
    font-family: var(--ff-body), sans-serif;
    margin: 0;
    color: var(--clr-white-400);
}

.wrapper {
    --container-width: 1600px;
    --container-padding: 1.5rem;

    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}
@media (max-width: 668px) {
    .wrapper {
        --container-padding: 1rem;
    }
}

.error-page {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-row-gap: 2rem;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block: 1rem;
}
nav .brand-logo {
    width: 8rem;
}
nav .nav-toggle {
    display: none;
}
nav .nav-links aside {
    display: none;
    margin-top: 1.5rem;
}
nav .nav-links aside a {
    display: block;
    font-size: var(--fs-500);
    color: inherit;
    line-height: 1.5;
}
nav .nav-links .nav-links-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
@media (max-width: 968px) {
    nav .brand-logo {
        width: 6rem;
    }
    nav .nav-links {
        --nav-width: 40%;

        display: none;
        background: var(--clr-background);
        position: fixed;
        width: var(--nav-width);
        height: 100%;
        padding: 1rem 1.5rem;
        top: 0;
        right: 0;
        z-index: 10;
    }
    nav .nav-links[aria-expanded] {
        display: grid;
        grid-template-rows: [nav-m-close] auto [nav-m-links] auto [nav-m-aside] 1fr;
        grid-row-gap: 1rem;
    }
    nav .nav-links::before {
        background: rgba(0, 0, 0, .5);
        position: fixed;
        width: 100%;
        height: 100%;
        inset: 0;
        content: "";
        z-index: -1;
    }
    nav .nav-links .nav-toggle {
        justify-self: end;
    }
    nav .nav-links .btn {
        width: 100%;
        justify-content: center;
    }
    nav .nav-links aside {
        display: block;
    }
    nav .nav-toggle {
        display: block;
    }
}
@media (max-width: 668px) {
    nav .nav-links {
        --nav-width: 60%;
    }
}

main > header {
    margin-top: 4rem;
}

.hero {
    margin-block: 8rem;
}
.hero header {
    justify-items: center;
}
.hero header h1 {
    font-family: var(--ff-header), sans-serif;
    font-size: var(--fs-900);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.18rem;
    animation: up 600ms ease;
}
.hero header > p {
    font-size: var(--fs-700);
    line-height: 1.35;
    margin-top: 1rem;
    margin-inline: auto;
    animation: up 600ms ease;
}
.hero header .cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.20rem;
}
.hero header .cta a {
    justify-content: center;
    margin-left: 0;
}
.hero header .social-proof {
    display: flex;
}
.hero header .social-proof p {
    font-size: var(--fs-400);
    margin-top: 1.25rem;
}
.hero header .social-proof i {
    vertical-align: bottom;
}
@media (max-width: 960px) {
    .hero {
        margin-block: 4rem;
    }
}
@media (max-width: 507px) {
    .hero header .cta a {
        flex-grow: 1;
    }
}
@keyframes up {
    from {
        transform: translateY(2rem);
        opacity: 0.2;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (prefers-reduced-motion) {
    @keyframes up {
        from {
            transform: unset;
            opacity: unset;
        }
    }
}

.hero .showcase {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}
.hero .showcase picture {
    transition: translate 200ms;
    animation: up var(--anim-delay) ease;
}
.hero .showcase picture:hover {
    translate: 0 -1rem;
}
.hero .showcase picture:nth-child(1) {
    --anim-delay: 200ms;
}
.hero .showcase picture:nth-child(2) {
    --anim-delay: 400ms;
}
.hero .showcase picture:nth-child(3) {
    --anim-delay: 600ms;
}
.hero .showcase img {
    width: 26rem;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 1px;
}
@supports (background-clip: text) {
    .hero header h1 {
        background: linear-gradient(90deg,
            #DBDBDB 0%, #DBDBDB 0.75%, #DBDBDB 2.92%, #DBDBDA 6.37%, #DBDAD9 10.97%,
            #DADAD8 16.59%, #DAD9D6 23.1%, #D9D7D3 30.37%, #D8D5CF 38.27%, #D7D3CA 46.66%,
            #D6D0C3 55.41%, #D4CCBC 64.39%, #D2C8B2 73.47%, #D0C3A7 82.52%, #CDBD9B 91.41%, #CAB68C 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}
@media (max-width: 960px) {
    .hero .showcase picture:last-child {
        display: none;
    }
    .hero .showcase picture:hover {
        translate: unset;
    }
}
@media (max-width: 668px) {
    .hero .showcase {
        flex-wrap: wrap;
    }
}

.about figure img {
    width: 80%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
@media (max-width: 960px) {
    .about figure img {
        width: 100%;
    }
}
@media (max-width: 668px) {
    .about figure img {
        aspect-ratio: 1;
    }
}

.services-list {
    --service-min: 32rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--service-min), 1fr));
    gap: 1rem;
}
.service {
    display: grid;
    grid-template-columns: [service-content] 1fr [service-icon] auto;
    padding: 1.5rem 2.25rem;
    text-align: left;
    border: 1px solid #60502F;
    border-radius: 0.0625rem;
}
.service:first-child {
    border-color: var(--clr-primary-300);
}
.service h3 {
    font-size: var(--fs-600);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.03rem;
}
.service aside {
    grid-column: service-icon;
}
.service-detail {
    margin-top: 1.25rem;
    grid-column: service-content;
}
.service-detail h4 {
    font-size: var(--fs-500);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.025rem;
    color: var(--clr-white-500);
}
.service-detail small {
    font-size: var(--fs-400);
    line-height: 1.35;
    color: var(--clr-white-600);
}
.service-detail aside {
    display: inline-flex;
    background: var(--clr-primary-300);
    font-size: var(--fs-400);
    font-weight: 500;
    padding: 0.15rem 0.3rem;
    color: var(--clr-black-400);
    margin-left: 0.5rem;
}
.service-detail + .service-detail {
    margin-top: 0.75rem;
}
@media (max-width: 668px) {
    .services-list {
        --service-min: 20rem;
    }
    .service {
        padding: 1rem 1.5rem;
    }
}

.testimonials-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.testimonial {
    display: grid;
    grid-template-columns: [testimonial-content] 1fr [testimonial-icon] auto;
    grid-template-rows: 1fr auto;
    flex: 1 1 34rem;
    gap: 2.5rem;
    border: 1px solid var(--clr-primary-300);
    padding: 1.5rem 2rem;
}
.testimonial blockquote {
    font-size: var(--fs-600);
    line-height: 1.35;
    color: var(--clr-primary-200);
    text-wrap: balance;
    margin: 0;
    grid-column: testimonial-content;
}
.testimonial .author {
    color: var(--clr-primary-200);
    font-size: var(--fs-500);
    font-weight: 500;
    grid-column: testimonial-content;
}
.testimonial .icon {
    grid-column: testimonial-icon;
    grid-row: 1;
}
@media (max-width: 1200px) {
    .testimonials-list {
        gap: 1rem;
    }
}

.gallery .gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1rem;
}
.gallery .gallery-list img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: translate 200ms;
}
.gallery .gallery-list img:hover {
    translate: 0 -1rem;
}
.gallery aside {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 1rem;
}
.gallery aside .social-links {
    display: flex;
    gap: 0.75rem;
    margin-left: 1.5rem;
}

.faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.faq article {
    margin-top: 0;
}
.faq details {
    display: flex;
    flex-wrap: wrap;
    color: var(--clr-primary-300);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--clr-primary-300);
}
.faq details summary {
    display: grid;
    grid-template-columns: auto 1fr;
    font-size: var(--fs-500);
    list-style: none;
    cursor: pointer;
}
.faq details summary::-webkit-details-marker {
    display: none;
}
.faq details summary::before {
    --icon-url: url("/assets/icons/caret-down.svg");
    display: inline-flex;
    background: var(--icon-url) center / cover no-repeat;;
    justify-content: center;
    width: 1.5rem;
    aspect-ratio: 1;
    margin-right: 1rem;
    vertical-align: sub;
    content: "";
}
.faq details[open] summary {
    font-weight: 500;
}
.faq details[open] summary::before {
    --icon-url: url("/assets/icons/caret-up.svg");
}
.faq details p {
    font-size: var(--fs-500);
    color: var(--clr-white-500);
    margin-top: 0.5rem;
}
.faq details + details {
    margin-top: 1.5rem;
}
@media (max-width: 1366px) {
    .faq {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.appointment article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1rem;
}
.appointment article h3 {
    margin-bottom: 1.5rem;
}
.appointment article .contact,
.appointment article .route {
    padding: 1.5rem 2.25rem;
    text-align: left;
    border: 1px solid #60502F;
    border-radius: 0.0625rem;
}
.appointment article .contact {
    border-color: var(--clr-primary-300);
}
.appointment article .contact a {
    color: var(--clr-primary-200);
}
.appointment article aside {
    margin-top: 0.25rem;
}
.appointment address {
    display: inline-flex;
    justify-content: center;
    font-style: normal;
}
.appointment address a {
    font-size: var(--fs-500);
    color: var(--clr-primary-200);
    margin-left: 0.75rem;
}
@media (max-width: 996px) {
    .appointment article {
        grid-template-columns: 1fr;
        grid-row-gap: 1rem;
    }
}
@media (max-width: 396px) {
    .appointment address a {
        font-size: var(--fs-400);
    }
}

footer {
    margin-block: 2rem;
}
footer img {
    max-width: 15rem;
}
footer h3 {
    font-size: var(--fs-500);
    font-weight: 400;
    color: var(--clr-white-400);
    margin-top: 2rem;
}
footer address {
    font-size: var(--fs-400);
    font-weight: 400;
    font-style: normal;
    color: var(--clr-white-500);
    margin-top: 0.85rem;
}
footer .socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
.footer-links p {
    color: var(--clr-white-600);
}
.footer-links ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-links ul li + li {
    margin-left: 1.75rem;
}
.footer-links ul li a {
    color: var(--clr-white-400);
}
@media (max-width: 576px) {
    .footer-links,
    .footer-links ul {
        display: block;
    }

    .footer-links ul li + li {
        margin-left: 0;
    }
}

.appointment {
    text-align: center;
}
.appointment .search {
    background: var(--clr-black-400);
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem;
    color: var(--clr-white-500);
    border: none;
    outline: none;
}
.appointment-body {
    max-width: 60%;
    margin-inline: auto;
    text-align: left;
    padding: 1.5rem 2rem;
    border: 1px solid var(--clr-primary-500);
}
.appointment-body header {
    text-align: left;
}
.appointment-body header h3 {
    font-size: var(--fs-600);
}
.appointment-services {
    display: grid;
    grid-template-columns: [service-description] 1fr [service-quote] auto [service-btn] auto;
    grid-row-gap: 1rem;
    grid-column-gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}
.appointment-services h4 {
    font-size: var(--fs-400);
    text-transform: uppercase;
    font-weight: 500;
    grid-column: 1 / -1;
}
.appointment-services .service {
    display: contents;
}
.appointment-services h5 {
    font-size: var(--fs-500);
}
.appointment-services .service-quote {
    font-weight: 700;
}

.imprint header h1,
.privacy header h1,
.error h1 {
    font-family: var(--ff-header), sans-serif;
    font-size: var(--fs-800);
    font-weight: 400;
    hyphens: auto;
}
.privacy header h1 + p {
    color: var(--clr-white-400);
}
.imprint address,
.privacy address {
    font-style: normal;
    margin-block: 1rem;
}
.imprint section,
.privacy section {
    margin-block: 2rem;
}
.imprint p,
.privacy p {
    font-size: var(--fs-500);
}
.general h2 + p,
.privacy h2 + p,
.error h1 + p {
    margin-top: 0.5rem;
}
.info p {
    color: var(--clr-white-600);
}
.info a {
    color: var(--clr-primary-200);
}
.disclaimer h2 {
    font-size: var(--fs-700);
}
.disclaimer h3 {
    font-size: var(--fs-600);
}
.disclaimer p,
.privacy p {
    font-size: var(--fs-500);
    max-width: 80ch;
}
.disclaimer p {
    margin-top: 0.5rem;
}
.disclaimer p + h3 {
    margin-top: 2rem;
}
section.disclaimer {
    margin-block: 5rem;
}

.privacy h1 + p,
.privacy p + ul li {
    font-size: var(--fs-500);
    color: var(--clr-white-600);
    max-width: 80ch;
    margin-top: 1rem;
}
.privacy p + ul li {
    margin-top: 0.5rem;
}
.privacy section + section {
    margin-top: 2.5rem;
}
.privacy a {
    color: var(--clr-white-600);
}

.error header {
    margin-top: 0;
}
.error .btn {
    margin-top: 2rem;
}

section {
    margin-block: 10rem;
}
section.centered header,
section.centered header p,
section.centered article {
    margin-inline: auto;
    text-align: center;
    width: 100%;
}
header h2 {
    font-family: var(--ff-header), sans-serif;
    font-size: var(--fs-800);
    font-weight: 500;
    letter-spacing: 0.08rem;
}
header p {
    font-size: var(--fs-600);
    line-height: 1.35;
    letter-spacing: 0.03rem;
    color: var(--clr-white-500);
    max-width: 55ch;
}
header h2 + p {
    margin-top: 0.5rem;
}
header p + p {
    margin-top: 1.25rem;
}
header + article {
    margin-top: 2.5rem;
}
@media (max-width: 668px) {
    section {
        margin-block: 5rem;
    }
}

.btn {
    --transition-time: 200ms;

    display: inline-flex;
    background: unset;
    font-weight: 500;
    width: fit-content;
    padding: 1.5rem 2rem;
    cursor: pointer;
}
.btn-primary {
    background: var(--clr-primary-500);
    color: var(--clr-black-400);
    transition: background var(--transition-time);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--clr-primary-400);
}
.btn-secondary {
    color: var(--clr-primary-500);
    border: 1px solid var(--clr-primary-500);
    transition: color var(--transition-time),
                border-color var(--transition-time);
}
.btn-secondary:hover, .btn-secondary:focus {
    color: var(--clr-primary-400);
    border-color: var(--clr-primary-400);
}
.btn-small {
    color: var(--clr-primary-500);
    padding: 1rem 1.5rem;
    border: 1px solid var(--clr-primary-500);
    transition: color var(--transition-time),
    border-color var(--transition-time);
}

.icon {
    background: var(--icon-url) center / cover no-repeat;
    display: inline-flex;
    width: 2rem;
    aspect-ratio: 1;
}
.icon.icon-sm {
    width: 1.5rem;
}
.icon-phone {
    --icon-url: url("/assets/icons/phone.svg");
}
.icon-asterisk {
    --icon-url: url("/assets/icons/asterisk.svg");
}
.icon-dryer {
    --icon-url: url("/assets/icons/hair-dryer.svg");
}
.icon-palette {
    --icon-url: url("/assets/icons/palette.svg");
}
.icon-pin {
    --icon-url: url("/assets/icons/map-pin.svg");
}
.icon-scissors {
    --icon-url: url("/assets/icons/scissors.svg");
}
.icon-eye {
    --icon-url: url("/assets/icons/eye-closed.svg");
}
.icon-quotes {
    --icon-url: url("/assets/icons/quotes.svg");
}
.icon-instagram {
    --icon-url: url("/assets/icons/instagram.svg");
}
.icon-tiktok {
    --icon-url: url("/assets/icons/tiktok.svg");
}
.icon-list {
    --icon-url: url("/assets/icons/list.svg");
}
.icon-close {
    --icon-url: url("/assets/icons/close.svg");
}

h1, h2, p {
    color: var(--clr-white-400);
    text-wrap: balance;
    margin: 0;
}
p {
    color: var(--clr-white-500);
    line-height: 1.5;
}

a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

figure {
    margin: 0;
}
img, picture {
    display: block;
    max-width: 100%;
    height: auto;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    margin: 0;
}