/**
 * ==========================================================
 * Front Page Styles
 * ==========================================================
 *
 * Ruhige, kompakte Startseite der Leinenzeit Manufaktur.
 */

.home-page {
    width: 100%;
    color: #222222;
    background-color: #faf7f0;
}

.home-section {
    padding: clamp(52px, 6vw, 76px) 0;
}

.home-eyebrow {
    margin: 0 0 9px;
    color: #8b6b47;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-section__title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.home-section__heading--centered {
    max-width: 620px;
    margin: 0 auto 26px;
    text-align: center;
}

.home-section__intro {
    max-width: 560px;
    margin: 13px auto 0;
    color: rgba(34, 34, 34, 0.68);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Buttons */

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 21px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease, transform 0.2s ease;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
}

.home-button:focus-visible {
    outline: 3px solid rgba(139, 107, 71, 0.2);
    outline-offset: 3px;
}

.home-button--primary {
    color: #ffffff;
    background-color: #8b6b47;
    border-color: #8b6b47;
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
    color: #ffffff;
    background-color: #725536;
    border-color: #725536;
}

.home-button--secondary {
    color: #4d3c29;
    background-color: transparent;
    border-color: rgba(139, 107, 71, 0.38);
}

.home-button--secondary:hover,
.home-button--secondary:focus-visible {
    color: #725536;
    background-color: rgba(139, 107, 71, 0.06);
    border-color: #8b6b47;
}

/* Einstieg */

.home-hero {
    padding: clamp(46px, 6vw, 76px) 0;
    background: radial-gradient(
        circle at 18% 24%,
        rgba(139, 107, 71, 0.075),
        transparent 34%
    );
}

.home-hero__container {
    display: block;
}

.home-hero__content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.home-hero__title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.2rem, 6vw, 5.1rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-hero__text {
    max-width: 620px;
    margin: 22px auto 0;
    color: rgba(34, 34, 34, 0.7);
    font-size: 1rem;
    line-height: 1.72;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 27px;
}

/* Manufaktur */

.home-manufactory {
    background-color: #f5f1e8;
    border-top: 1px solid rgba(34, 34, 34, 0.07);
    border-bottom: 1px solid rgba(34, 34, 34, 0.07);
}

.home-section__container {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 7vw, 88px);
}

.home-manufactory__content p {
    margin: 0;
    color: rgba(34, 34, 34, 0.7);
    font-size: 0.96rem;
    line-height: 1.75;
}

.home-manufactory__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b6b47;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.home-text-link span {
    transition: transform 0.2s ease;
}

.home-text-link:hover span,
.home-text-link:focus-visible span {
    transform: translateX(4px);
}

.home-dogs {
    display: flex;
    gap: 10px;
}

.home-dog {
    position: relative;
    overflow: hidden;
    width: 74px;
    height: 74px;
    margin: 0;
    background-color: #e9e1d5;
    border: 3px solid #faf7f0;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(69, 49, 27, 0.11);
}

.home-dog img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-dog:first-child img {
    object-position: center 42%;
}

.home-dog:last-child img {
    object-position: center 34%;
}

.home-dog figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 3px 2px 5px;
    color: #ffffff;
    background-color: rgba(34, 34, 34, 0.6);
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

/* Ratgeber */

.home-guides {
    padding-top: clamp(34px, 4vw, 48px);
    padding-bottom: clamp(28px, 4vw, 42px);
}

.home-guides__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-guide-card {
    display: grid;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    min-width: 0;
    padding: 20px 22px;
    color: #222222;
    background-color: rgba(245, 241, 232, 0.68);
    border: 1px solid rgba(139, 107, 71, 0.16);
    border-radius: 11px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-guide-card:hover,
.home-guide-card:focus-visible {
    border-color: rgba(139, 107, 71, 0.4);
    box-shadow: 0 8px 20px rgba(69, 49, 27, 0.07);
    transform: translateY(-2px);
}

.home-guide-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #8b6b47;
    background-color: #faf7f0;
    border-radius: 50%;
    font-size: 1.05rem;
}

.home-guide-card__content,
.home-guide-card__label,
.home-guide-card__title {
    display: block;
    min-width: 0;
}

.home-guide-card__label {
    margin-bottom: 3px;
    color: #8b6b47;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-guide-card__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.38rem;
    font-weight: 600;
    line-height: 1.18;
}

.home-guide-card__arrow {
    color: #8b6b47;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.home-guide-card:hover .home-guide-card__arrow,
.home-guide-card:focus-visible .home-guide-card__arrow {
    transform: translateX(4px);
}

/* Shop-Hinweis */

.home-news {
    padding-top: 0;
}

.home-news__container {
    display: grid;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    padding: 26px 30px;
    background-color: #f5f1e8;
    border: 1px solid rgba(139, 107, 71, 0.16);
    border-radius: 13px;
}

.home-news__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #faf7f0;
    background-color: #8b6b47;
    border-radius: 50%;
    font-size: 1.1rem;
}

.home-news__title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.08;
}

.home-news__text {
    max-width: 660px;
    margin: 8px 0 0;
    color: rgba(34, 34, 34, 0.68);
    font-size: 0.9rem;
    line-height: 1.6;
}

.home-news__links {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
}

.home-news__instagram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(34, 34, 34, 0.68);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
}

.home-news__instagram:hover,
.home-news__instagram:focus-visible {
    color: #8b6b47;
}

/* Tablet */

@media (max-width: 900px) {
    .home-section__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-section__heading,
    .home-manufactory__content {
        max-width: 680px;
    }

    .home-news__container {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .home-news__links {
        align-items: flex-start;
        grid-column: 2;
    }
}

/* Smartphone */

@media (max-width: 600px) {
    .home-section {
        padding: 40px 0;
    }

    .home-eyebrow {
        margin-bottom: 7px;
        font-size: 0.68rem;
    }

    .home-section__title {
        font-size: 2rem;
    }

    .home-hero {
        padding: 34px 0 38px;
    }

    .home-hero__title {
        font-size: clamp(2.65rem, 12.5vw, 3.2rem);
        line-height: 1;
    }

    .home-hero__text {
        margin-top: 17px;
        font-size: 0.91rem;
        line-height: 1.62;
    }

    .home-hero__actions {
        margin-top: 22px;
    }

    .home-button {
        min-height: 43px;
        padding: 9px 17px;
        font-size: 0.87rem;
    }

    .home-manufactory__footer {
        align-items: flex-end;
        gap: 14px;
        margin-top: 17px;
    }

    .home-dogs {
        gap: 7px;
    }

    .home-dog {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .home-dog figcaption {
        font-size: 0.56rem;
    }

    .home-section__heading--centered {
        margin-bottom: 20px;
    }

    .home-guides {
        padding-top: 28px;
        padding-bottom: 18px;
    }

    .home-section__intro {
        margin-top: 10px;
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .home-guides__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-guide-card {
        gap: 13px;
        padding: 15px 16px;
    }

    .home-guide-card__icon {
        width: 38px;
        height: 38px;
        font-size: 0.92rem;
    }

    .home-guide-card__title {
        font-size: 1.22rem;
    }

    .home-guide-card__arrow {
        font-size: 1rem;
    }

    .home-news {
        padding-top: 0;
    }

    .home-news__container {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px 20px;
        text-align: center;
    }

    .home-news__badge {
        width: 44px;
        height: 44px;
        margin: 0 auto;
    }

    .home-news__title {
        font-size: 1.9rem;
    }

    .home-news__text {
        margin-top: 7px;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .home-news__links {
        align-items: center;
        grid-column: auto;
    }
}

@media (max-width: 380px) {
    .home-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-button {
        width: 100%;
    }
}
