/* ============================================================
   STUDIO WESTONIA — Over Ons, Contact, Privacy, Cookies
   ============================================================ */

/* --- Over Ons --- */
.about-hero {
    padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 6rem));
    padding-bottom: 0;
}

.about-intro {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin-top: 2rem;
}

.about-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: clamp(3rem, 6vw, 5rem);
}

.about-profile {
    position: relative;
}

.about-profile__img-wrap {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
}

.about-profile__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-profile__icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: auto;
    fill: var(--blue);
    opacity: 0.4;
}

.about-profile__name {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--font-bold);
    margin-bottom: 0.25rem;
}

.about-profile__role {
    font-size: 0.85rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.about-profile__bio {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.about-profile__achievement {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 255, 0.1);
    border: 1px solid rgba(0, 0, 255, 0.3);
    border-radius: 0;
    font-size: 0.8rem;
    color: var(--blue);
}

/* --- Contact --- */
.contact-hero {
    padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 6rem));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 6rem);
    margin-top: clamp(2rem, 4vw, 4rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.form-group label .required {
    color: var(--blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--black);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-success {
    display: none;
    padding: 2.5rem 1.75rem;
    background: rgba(0, 0, 255, 0.06);
    border: 1px solid rgba(0, 0, 255, 0.25);
    text-align: center;
}

.form-success.is-visible {
    display: block;
    animation: form-success-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes form-success-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-success__animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.4rem;
    color: var(--blue);
}

.form-success__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.form-success__ring circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    /* circumference = 2π × 46 ≈ 289 */
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
}

.form-success.is-visible .form-success__ring circle {
    animation: form-success-ring 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}

@keyframes form-success-ring {
    to { stroke-dashoffset: 0; }
}

.form-success__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38%;
    height: auto;
    fill: currentColor;
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(0.88);
}

.form-success.is-visible .form-success__icon {
    animation: form-success-icon 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

@keyframes form-success-icon {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.form-success__title {
    font-family: var(--font);
    font-weight: var(--font-bold);
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    line-height: 1.2;
    margin: 0 0 0.6rem;
}

.form-success__msg {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
    .form-success.is-visible,
    .form-success.is-visible .form-success__ring circle,
    .form-success.is-visible .form-success__icon {
        animation: none;
    }
    .form-success.is-visible .form-success__ring circle {
        stroke-dashoffset: 0;
    }
    .form-success.is-visible .form-success__icon {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info__block h3 {
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.contact-info__block a,
.contact-info__block p {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--white);
    display: block;
    transition: color var(--transition);
    line-height: 1.6;
}

@media (hover:hover){
.contact-info__block a:hover {
    color: var(--blue);
}
}

.contact-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition);
}

@media (hover:hover){
.contact-socials a:hover {
    border-color: var(--blue);
    background: var(--blue);
}
}

@media (hover:hover){
.contact-socials a:hover svg {
    fill: var(--white);
}
}

.contact-socials svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* --- Privacy & Cookies --- */
.legal-hero {
    padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 6rem));
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: var(--font-bold);
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--black);
}

.legal-content h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: var(--font-medium);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.legal-content p {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.6);
    list-style: disc;
    margin-bottom: 0.4rem;
}

.legal-content li::marker {
    color: var(--blue);
}

.legal-content a {
    color: var(--blue);
    transition: opacity var(--transition);
}

@media (hover:hover){
.legal-content a:hover {
    opacity: 0.7;
}
}

.legal-content strong {
    color: var(--black);
    font-weight: var(--font-medium);
}

.legal-updated {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.4);
    margin-top: 0.5rem;
}

/* --- Light-mode overrides (over-ons, diensten, portfolio pages) --- */
.section--light .about-intro {
    color: rgba(0, 0, 0, 0.6);
}

.section--light .about-profile__bio {
    color: rgba(0, 0, 0, 0.6);
}

.section--light .form-group label {
    color: rgba(0, 0, 0, 0.5);
}

.section--light .form-group input,
.section--light .form-group select,
.section--light .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--black);
}

.section--light .form-group input::placeholder,
.section--light .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.section--light .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(0,0,0,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
}

.section--light .form-group select option {
    background: var(--white);
    color: var(--black);
}

.section--light .form-success {
    background: rgba(0, 0, 255, 0.04);
}

.section--light .form-success__msg {
    color: rgba(0, 0, 0, 0.65);
}

.section--light .dienst-detail-content p {
    color: rgba(0, 0, 0, 0.65);
}

.section--light .dienst-detail-content li {
    color: rgba(0, 0, 0, 0.6);
}

/* Contact page light-theme overrides */
.section--light .contact-info__block h3 {
    color: rgba(0, 0, 0, 0.4);
}

.section--light .contact-info__block a,
.section--light .contact-info__block p {
    color: var(--black);
}

.section--light .contact-socials a {
    border-color: rgba(0, 0, 0, 0.1);
}

.section--light .contact-socials svg {
    fill: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .about-profiles {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.85rem;
        font-size: 16px; /* prevent iOS auto-zoom on focus */
    }

    .form-group textarea {
        min-height: 100px;
    }

    .form-group label {
        font-size: 0.75rem;
    }
}
