/* Primärknapp */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 5rem;
    border: 2px solid #C2A878;
    background: #C2A878;
    color: #1F2933;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.6rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;

    transition: color .25s ease,
                border-color .25s ease,
                transform .1s ease,
                box-shadow .2s ease;
}

/* Hover-animation */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #A88C5C; /* mörkare guld */
    transition: width .35s ease;
    z-index: -1;
}

/* Ikon */
.btn-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    flex: 0 0 auto;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

/* Klick */
.btn:active {
    transform: scale(0.97);
	background: #A88C5C;
    border-color: #A88C5C;
    color: white;
    box-shadow: inset 0 3px 8px rgba(0,0,0,.25);
}

/* Tangentbordsfokus */
.btn:focus-visible {
    outline: 3px solid rgba(194, 168, 120, .4);
    outline-offset: 4px;
}

/*Outline*/ 
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 5rem;
    border: 2px solid #C2A878;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.6rem;
    transition: color .2s ease,
                background-color .2s ease,
                transform .1s ease,
                box-shadow .2s ease;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    background: #C2A878;
    transition: width .35s ease;
    z-index: -1;
}

.btn-outline:active {
    transform: scale(0.97);
    box-shadow: inset 0 3px 8px rgba(0,0,0,.25);
}

.btn-outline:focus-visible {
    outline: 3px solid rgba(194, 168, 120, .4);
    outline-offset: 4px;
}

.btn-outline .btn-icon {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
    transition: transform .2s ease;
    flex-shrink: 0;
}

.btn-outline-about {
    color: black;
     padding: 1.2rem 6.5rem;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 5rem;
    border: 2px solid #C2A878;
    background: #C2A878;
    color: #1F2933;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 0.6rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

@media (hover: hover) {

    .btn:hover::before {
        width: 100%;
    }

    .btn:hover {
        color: white;
        border-color: #A88C5C;
    }

    .btn:hover .btn-icon {
        transform: translateX(4px);
    }

    .btn-outline:hover::before {
        width: 100%;
    }

    .btn-outline:hover {
        color: #1F2933;
    }

    .btn-outline:hover .btn-icon {
        transform: translateX(4px);
    }

    .wpcf7-submit:hover {
        border-color: #A88C5C;
    }
}

