/* Explain: Styles for site header, buttons, cards, form elements, and image gallery. */
.site-header {
    background: #F7F1E8;
    border-bottom: 1px solid var(--border-color);
}

.logo-title {
    display: block;
    font-family: var(--font-logo);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.logo-subtitle {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.logo-title.is-light {
    color: #F7F1E8;
}

.logo-subtitle.is-light {
    color: #E0B48F;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 200ms ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-terracotta,
.btn-green,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.btn-terracotta {
    border: 1px solid transparent;
    background: var(--primary-color);
    color: #FFF7F0;
    box-shadow: var(--shadow-button);
}

.btn-terracotta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-green {
    border: 1px solid transparent;
    background: var(--primary-color);
    color: #F7F1E8;
}

.btn-green:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #F7F1E8;
    transform: translateY(-2px);
}

.btn-sm {
    min-height: 2.75rem;
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
}

.phone-cta-desktop {
    display: none;
}

@media (min-width: 768px) {
    .phone-cta-desktop {
        display: inline-flex;
    }
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.italic-accent {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 500;
    color: var(--primary-color);
}

.card-soft {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--card-bg);
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.card-soft:hover {
    border-color: rgba(181, 88, 42, 0.32);
    box-shadow: 0 26px 60px rgba(43, 38, 32, 0.1);
    transform: translateY(-5px);
}

.adv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--terracotta-soft);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.placeholder-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 1.5px dashed rgba(181, 88, 42, 0.45);
    border-radius: 1.25rem;
    background: repeating-linear-gradient(45deg, rgba(181, 88, 42, 0.05) 0 12px, transparent 12px 24px);
    color: var(--primary-color);
    text-align: center;
}

.field-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.field-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--field-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(181, 88, 42, 0.14);
}

textarea.field-input {
    min-height: 8rem;
    resize: vertical;
}

input[type="file"].field-input {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
}

.form-status {
    font-size: 0.9rem;
}

.form-status.success {
    color: var(--secondary-color);
    font-weight: 600;
}

.form-status.error {
    color: #A3301B;
    font-weight: 600;
}

.link-inline {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(181, 88, 42, 0.45);
    text-underline-offset: 3px;
    transition: text-decoration-color 200ms ease;
}

.link-inline:hover {
    text-decoration-color: var(--primary-color);
}

.link-on-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #F7F1E8;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(247, 241, 232, 0.45);
    text-underline-offset: 4px;
    transition: color 200ms ease;
}

.link-on-dark:hover {
    color: #F0C9A8;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 1.15rem;
    background: var(--card-bg);
    transition: border-color 250ms ease;
}

.faq-item[open] {
    border-color: rgba(181, 88, 42, 0.4);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    list-style: none;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 250ms ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.35rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.legal-block h2 {
    font-size: 1.35rem;
    font-weight: 600;
}

.legal-block p {
    margin: 0.6rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.call-fab {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #FFF7F0;
    box-shadow: 0 14px 30px rgba(181, 88, 42, 0.35);
    transition: transform 250ms ease, background-color 250ms ease;
}

.call-fab:hover {
    background: var(--primary-hover);
    transform: scale(1.06);
}

@media (min-width: 1024px) {
    .call-fab {
        display: none;
    }
}

.galerie-item {
    display: block;
    cursor: zoom-in;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
}

.galerie-item img {
    transition: transform 400ms ease;
}

.galerie-item:hover img {
    transform: scale(1.04);
}

.galerie-legende {
    padding: 1rem 1.25rem 1.35rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(20, 17, 14, 0.92);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: min(94vw, 68rem);
    max-height: 92vh;
    margin: 0;
    text-align: center;
}

.lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82vh;
    margin: 0 auto;
    border-radius: 0.85rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #F7F1E8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.lightbox-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(247, 241, 232, 0.16);
    color: #F7F1E8;
    font-size: 1.2rem;
    transition: background-color 200ms ease;
}

.lightbox-close:hover {
    background: rgba(247, 241, 232, 0.3);
}