/* =========================================================
    BASIC SETUP
========================================================= */


:root {
    --as-ivory: #f3efe8;
    --as-ivory-soft: #f8f4ee;
    --as-ink: #1d1a18;
    --as-ink-soft: #524d49;
    --as-stone: #d7cfc4;
    --as-sand: #e7dfd4;
    --as-night: #181616;
    --as-night-soft: #2a2726;
    --as-white: #fffdf9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    background-color: var(--as-ivory);
    font-family: "Manrope", Arial, sans-serif;
    color: var(--as-ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

section[id],
footer[id] {
    scroll-margin-top: 0;
}

/* Die Navigation soll beim Section-Sprung keinen zusätzlichen Versatz erzeugen. */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 0;
    }

    section[id],
    footer[id] {
        scroll-margin-top: 0;
    }
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    margin: 0;
}

/* =========================================================
    HERO
========================================================= */

.as-hero {
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(180deg, rgba(18, 17, 17, 0.18), rgba(18, 17, 17, 0.28)),
        url('../img/bg-sky5.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.as-hero-copy {
    color: #fffdf9;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    top: 48%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1.2rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.as-hero-kicker {
    font-family: "Manrope", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.9;
}

.as-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.as-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.as-hero-button:hover,
.as-hero-button:focus-visible {
    transform: translateY(-2px);
    opacity: 0.96;
}

.as-hero-button--primary {
    background: rgba(255, 255, 255, 0.94);
    color: var(--as-ink);
}

.as-hero-button--secondary {
    background: rgba(21, 18, 17, 0.28);
    color: #fffdf9;
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
}

/* =========================================================
    WORK
========================================================= */

.as-work {
    width: 100%;
}

.as-work-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "image copy";
    height: 80vh;
}

.as-work-row--reverse {
    grid-template-areas: "copy image";
}

.as-work-image {
    grid-area: image;
    overflow: hidden;
}

.as-work-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-work-copy {
    grid-area: copy;
    background-color: var(--as-ivory-soft);
    color: var(--as-ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(2.5rem, 7vw, 7rem);
}

.as-work-copy h2 {
    font-size: clamp(2.4rem, 3.7vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 0.94;
    text-transform: uppercase;
    color: var(--as-ink);
}

.as-work-copy p {
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    font-weight: 400;
    line-height: 1.7;
    max-width: 34ch;
    margin: 0;
    color: var(--as-ink-soft);
}

.as-work-button {
    align-self: flex-start;
    width: fit-content;
}



@media (max-width: 768px) {
    .as-work-row {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .as-work-image img {
        height: 45vh;
        min-height: 45vh;
    }

    .as-work-copy {
        padding: 3rem 1.5rem;
    }
}

/* =========================================================
    ABOUT
========================================================= */

.as-about {
    background-color: var(--as-ivory);
    color: var(--as-ink);
}

.as-about-intro {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 6rem 8vw;
    color: #fffaf4;
    background-image:
        linear-gradient(90deg, rgba(20, 18, 17, 0.8), rgba(20, 18, 17, 0.58) 52%, rgba(20, 18, 17, 0.18)),
        url('../img/woman.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.as-about-copy {
    max-width: 1100px;
    margin: 0 auto;
}

.as-about-copy h2 {
    font-size: clamp(2.8rem, 5vw, 4.25rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.as-about-copy p {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 65ch;
    margin-bottom: 1rem;
    font-family: "Manrope", Arial, sans-serif;
    color: rgba(255, 249, 244, 0.92);
}

.as-about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 3rem 4rem;
    border-top: 1px solid rgba(36, 36, 36, 0.25);
    list-style: none;
}

.as-about-points li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(36, 36, 36, 0.25);
    font-size: 1.05rem;
    font-weight: 500;
    font-family: "Manrope", Arial, sans-serif;
    letter-spacing: 0.02em;
}

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

.as-footer {
    background: linear-gradient(180deg, #1d1a18 0%, #171412 100%);
    color: var(--as-white);
    padding: 5rem 1.5rem 4rem;
}

.as-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.as-footer-left,
.as-footer-right {
    display: flex;
    flex-direction: column;
}

.as-footer-left {
    gap: 1.5rem;
}

.as-footer-phone {
    position: relative;
    width: fit-content;
    color: inherit;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.95;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: -0.035em;
    transition: opacity 0.3s ease;
    opacity: 0.95;
}

.as-footer-phone::after,
.as-footer-button::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s cubic-bezier(.77, 0, .18, 1);
}

.as-footer-phone:hover,
.as-footer-phone:focus-visible,
.as-footer-button:hover,
.as-footer-button:focus-visible {
    opacity: 0.6;
}

.as-footer-phone:hover::after,
.as-footer-phone:focus-visible::after,
.as-footer-button:hover::after,
.as-footer-button:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.as-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem 2rem;
}

.as-footer-meta {
    margin-top: 1.5rem;
}

.as-footer-button {
    position: relative;
    display: inline-block;
    padding: 18px 0 8px;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.as-footer-address {
    font-family: "Manrope", Arial, sans-serif;
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.7;
    color: inherit;
}

.as-footer-right {
    justify-content: center;
    max-width: 540px;
    margin-left: auto;
}

.as-footer h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 0.96;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.as-footer-right p {
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    line-height: 1.6;
    max-width: 30ch;
    color: rgba(255, 253, 249, 0.88);
}

/* =========================================================
    MEDIA QUERIES
========================================================= */

@media (max-width: 768px) {
    .as-hero {
        min-height: 100svh;
    }

    .as-hero-copy {
        top: 50%;
        padding: 0 1.35rem;
    }

    .as-hero-kicker {
        letter-spacing: 0.14em;
        font-size: 0.62rem;
    }

    .as-hero-button {
        min-width: 0;
        width: 100%;
    }

    .as-hero-actions {
        width: 100%;
    }

    .as-about-intro {
        min-height: 90vh;
        padding: 4rem 1.5rem;
        background-image:
            linear-gradient(rgba(20, 20, 20, 0.58), rgba(20, 20, 20, 0.72)),
            url('../img/woman.jpg');
    }

    .as-about-copy h2 {
        font-size: 2.25rem;
    }

    .as-about-points {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.5rem 3rem;
    }

    .as-footer {
        padding: 4rem 1.5rem 3rem;
    }

    .as-footer-inner {
        grid-template-columns: 1fr;
    }

    .as-footer-right {
        margin-left: 0;
        max-width: 100%;
    }
}

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

    .as-footer-phone,
    .as-footer-button,
    .as-footer-phone::after,
    .as-footer-button::after {
        transition: none;
    }
}
