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

.hamburger {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: #ffffff;
    color: #1f2937;
}

.header-site {
    background: #fff;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 10px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 48px;
    border-radius: 6px;
}

.opening-hours {
    font-size: 0.9rem;
    color: #6b7280;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #98AECA;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #98AECA;
}

.main-nav a:hover::after {
    width: 100%;
}

.language-switcher a {
    position: relative;
    display: inline-block;
    transition: transform 0.25s ease;
}

.language-switcher a::after {
    content: none !important;
}

.language-switcher a:hover {
    transform: scale(1.2);
}

.language-switcher a:hover .fi {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.required-label {
    font-weight: bold;
}

.required-label span.required-mark {
    color: red;
    margin-left: 4px;
}

.language-switcher a.active,
.language-switcher a.active:hover {
    transform: scale(1);
    box-shadow: none;
}

.language-switcher .fi {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    display: inline-block;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 20px;
}

.container-startconversation {
    display: flex;
    justify-content: center;
}

.start-a-conversation:hover {
    background-color: #2C3E57;
    transform: translateY(-2px);
}


.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f3f4f2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn .fi {
    font-size: 22px;
    transform: scale(1.1);
}

.chatbot-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 20px 160px;
    height: auto;
}


.chatbot-container {
    width: min(900px, 95%);
    min-height: 600px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.char-counter {
    font-size: 12px;
    color: #aaa;
    margin-right: 6px;
    user-select: none;
    min-width: 25px;
    text-align: right;
    transition: color 0.2s ease;
    font-family: Arial, sans-serif;
}

.chat-output {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 75%;
    word-break: break-word;
    line-height: 1.4;
    font-size: 0.95rem;
}

.msg.user {
    align-self: flex-end;
    background: #98AECA;
    color: #fff;
}

.chatbot-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.chat-suggestion {
    padding: 16px 24px;
    border-radius: 30px;
    border: 1px solid #dfe7db;
    cursor: pointer;
    white-space: nowrap;
    color: white;
    text-align: left;
}

.chat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.chat-answer {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #1f2937;
    display: none;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.chat-item {
    position: relative;
}

.chat-answer.show {
    display: block;
}

.chat-answer p {
    margin-bottom: 1rem;
}

.chat-answer a {
    color: #2c3e57;
    font-weight: 500;
    text-decoration: underline;
}

.chat-answer strong {
    font-weight: 600;
    color: #1f2937;
}

.chat-answer ul {
    padding-left: 1.25rem;
    margin: 1rem 0;
}

.chat-answer li {
    margin-bottom: 0.5rem;
}


.chat-answer.show {
    display: block;
}

.chat-answer a {
    color: #2c3e57;
    text-decoration: underline;
}

.video-text {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.chat-suggestion:hover {
    background: #98AECA;
    border-color: #98AECA;
    color: #1f2937;
    transform: translateY(-2px);
}

.chat-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f9faf9;
    border: 1px solid #dfe7db;
    border-radius: 16px;
    padding: 10px 12px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    outline: none;
}

.chat-input-area button {
    background: #98AECA;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-input-area button:hover {
    background: #98AECA;
    transform: scale(1.05);
}

#chatInput:disabled,
#sendButton:disabled,
.chat-suggestion:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.screenreader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

footer {
    background: #ffffff;
    color: #98AECA;
    text-align: center;
    padding: 18px 0;
    font-size: 0.9rem;
    border-top: 2px solid #e5e7eb;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);

    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

footer p {
    color: #4b5563;
}

.hero {
    background-color: #98AECA;
    padding: 120px 20px 140px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

#blue {
    background: #2C3E57;
    color: white;

}

#lightblue {
    background-color: #98AECA;
    color: white;
}

.start-a-conversation {
    display: flex;
    background: #2C3E57;
    color: white;
    border-radius: 20px;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    width: 500px;
    max-width: 90%;
    padding: 10px 10px;
}

.hero-lower {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    margin-bottom: 40px;
    color: white;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-video {
    width: 100%;
    height: auto;
    display: block;
}

.btn-primary {
    background-color: white;
    color: #2C3E57;
    padding: 10px 80px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

.video-area {
    margin-top: -140px;
    position: relative;
    z-index: 10;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.video-block {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.faq-title {
    font-size: 1.8rem;
    margin: 5px auto 20px auto;
    text-align: center;
    width: 100%;
    display: block;
}

.info-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9faf9 100%);
    padding: 80px 20px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.info-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.info-image {
    width: 300px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.info-text {
    max-width: 600px;
}

.info-text h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 12px;
}

.info-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.thankyou-page {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f2 100%);
    padding-bottom: 40px;
}

.thankyou-hero {
    background: linear-gradient(135deg, #98AECA 0%, #98AECA 100%);
    color: #fff;
    text-align: center;
    padding: 10vw 5vw 8vw;
    clip-path: ellipse(110% 100% at 50% 0%);
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff10;
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 6vw 5vw;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.vimeo-wrapper {
    position: relative;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
}

.vimeo-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.thankyou-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.thankyou-content p {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-page .contact-hero {
    background: linear-gradient(135deg, #98AECA 0%, #98AECA 100%);
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.contact-page .contact-hero::after {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    clip-path: ellipse(80% 100% at 50% 100%);
}

.contact-page .contact {
    position: relative;
    z-index: 1;
}

.contact-page .contact h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-page .contact p {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 600px;
    opacity: 0.9;
}

.contact-page .contact-form-section {
    display: flex;
    justify-content: center;
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f9faf9 100%);
}

.contact-page .contact-form-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
}

.contact-page .contact-form {
    flex: 1 1 500px;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.contact-page .contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-page .contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

.contact-page .btn-primary {
    background: linear-gradient(135deg, #98AECA 0%, #98AECA 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-page .btn-primary:hover {
    background: linear-gradient(135deg, #98AECA 0%, #98AECA 100%);
    transform: translateY(-3px);
}

.contact-page .contact-info {
    flex: 1 1 300px;
    background: #f9faf9;
    padding: 2.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.contact-page .contact-info h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-page .contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.contact-page .contact-info li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.order-form-section {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.order-form-container {
    background: #fff;
    width: min(500px, 90%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.order-form-container h2 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.order-form-subtext {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.5;
}

.vimeo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
}

.vimeo-wrapper iframe {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.35s ease;
    border: none;
}

.video-loading-spinner {
    position: absolute;
    inset: 0;
    background: #000000cc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.35s ease;
}

.video-loading-spinner::after {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid #ffffff33;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}

.order-form label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.order-form input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #1f2937;
    box-sizing: border-box;
}

.order-form input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.button-submit {
    background: #98AECA;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.button-submit:hover {
    background: #98AECA;
    transform: translateY(-2px);
}

.contact-form input.error,
.contact-form textarea.error,
.order-form input.error {
    border: 2px solid #e74c3c;
    background-color: #fff5f5;
    outline: none;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 4px;
}

.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0.9;
}

#chatMessages {
    scroll-margin-top: 120px;
}

.contact-page .contact-info a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .header-site {
        background: #fff;
        padding: 10px 16px;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .header-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .site-logo {
        height: 32px;
        width: auto;
    }

    .opening-hours {
        font-size: 0.8rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        width: 42px;
        height: 42px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .hamburger span {
        width: 24px;
        height: 3px;
        background: #1f2937;
        border-radius: 2px;
        margin: 4px 0;
    }

    .main-nav {
        display: none;
    }

    .main-nav.show {
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        z-index: 999;
    }

    .hero {
        padding: 100px 20px 120px;
    }

    .video-area {
        margin-top: -120px;
    }

    .video-block {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .service-video {
        width: 100%;
        border-radius: 12px;
    }

    .chatbot-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 90%;
        max-width: 500px;
        margin: 0 auto 22px auto !important;
    }

    .chat-suggestion {
        width: 100% !important;
        font-size: 1rem;
        padding: 16px 20px !important;
        border-radius: 30px;
        white-space: normal;
        text-align: left;
    }

    .container-startconversation {
        display: flex;
        justify-content: center;
        margin: 0 auto 40px auto;
        width: 100%;
    }

    .start-a-conversation {
        width: 90% !important;
        max-width: 500px !important;
        padding: 12px 10px !important;
        border-radius: 30px;
        font-size: 1rem !important;
        text-align: center;
    }

    .chatbot-section {
        padding: 40px 10px 120px;
    }

    .chatbot-container {
        width: 100% !important;
        max-width: 600px !important;
        padding: 20px !important;
    }

    .chat-output {
        max-height: 400px !important;
        overflow-y: auto !important;
    }

    .info-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .info-image {
        width: 90%;
        margin: 0 auto;
    }

    .contact-form-section,
    .order-form-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-form-container {
        flex-direction: column;
    }

    .chat-item:nth-of-type(1) .chat-suggestion {
        background-color: #2C3E57 !important;
        color: white !important;
    }

    .chat-item:nth-of-type(2) .chat-suggestion {
        background-color: #98AECA !important;
        color: white !important;
    }

    .chat-item:nth-of-type(3) .chat-suggestion {
        background-color: #2C3E57 !important;
        color: white !important;
    }

    .chat-item:nth-of-type(4) .chat-suggestion {
        background-color: #98AECA !important;
        color: white !important;
    }

    .start-a-conversation {
        background-color: #2C3E57 !important;
        color: white !important;
    }
}


.vimeo-wrapper iframe {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.video-loading-spinner {
    position: absolute;
    inset: 0;
    background: #000000cc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.35s ease;
}

.video-loading-spinner::after {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid #ffffff33;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -----------------------------------------
   MOOIE OPMAAK VOOR LANGE BOT-ANTWOORDEN
   ----------------------------------------- */

.msg.bot.long-answer {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    padding: 22px 26px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    align-self: flex-start !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07) !important;
    line-height: 1.65 !important;
    font-size: 1rem !important;
}

/* Titels zoals bij mij */
.msg.bot.long-answer h1,
.msg.bot.long-answer h2,
.msg.bot.long-answer h3 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    margin-top: 20px;
}

/* Alinea’s */
.msg.bot.long-answer p {
    margin-bottom: 14px;
    color: #374151;
}

/* Lijsten */
.msg.bot.long-answer ul,
.msg.bot.long-answer ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.msg.bot.long-answer li {
    margin-bottom: 6px;
}

/* Links */
.msg.bot.long-answer a {
    color: #2C3E57;
    text-decoration: underline;
    font-weight: 600;
}

/* Vetgedrukt */
.msg.bot.long-answer strong {
    font-weight: 700;
    color: #1f2937;
}
