/* =============== VARIABLES & RESET =============== */
:root {
    --primary: #d62880;         /* Brand Pink */
    --primary-dark: #b01e68;    /* Darker interactive Pink */
    --secondary: #1b365d;       /* Brand Dark Blue */
    --accent: #5b7da6;          /* Medium Blue */
    --accent-light: #f0f4f8;    /* Very light gray-blue for backgrounds */
    --text-main: #1e293b;       /* Dark slate for high contrast */
    --text-muted: #475569;      /* Medium slate for secondary text */
    --bg-main: #f8fafc;         /* Off-white background */
    --surface: #ffffff;         /* Pure white cards */
    --success: #22c55e;         /* WhatsApp Green */
    --success-hover: #16a34a;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-float: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    width: 100%;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--accent-light);
}

/* =============== BUTTONS & BADGES =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-text {
    background: none;
    color: var(--secondary);
    padding: 0.75rem;
}
.btn-text:hover {
    color: var(--primary);
}

.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* =============== NAVBAR =============== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: padding var(--transition-fast);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.brand-logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--secondary);
}

.logo-brand {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.25rem;
}

.logo-sub {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
}

.desktop-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width var(--transition-smooth);
}

.desktop-nav a:not(.btn):hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .desktop-nav a:not(.btn) { display: none; }
    
    .brand-logo { max-width: 32px; max-height: 32px; }
    .logo-brand { font-size: 1rem; }
    .logo-sub { font-size: 0.75rem; }
    
    .desktop-nav .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* =============== HERO SECTION =============== */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-light) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    border-bottom-left-radius: 50%;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.check-list {
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--secondary);
    font-weight: 500;
}

.check-list li i {
    color: var(--accent); /* Light blue checkmark */
    background: var(--accent-light);
    border-radius: 50%;
    padding: 0.25rem;
    font-size: 0.8rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 2rem;
    box-shadow: var(--shadow-float);
}

.image-wrapper img {
    border-radius: 2rem;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.floating-badge {
    position: absolute;
    background: var(--surface);
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.border {
    border: 2px solid var(--accent-light);
}

.floating-badge i {
    color: var(--primary);
}

.top-right {
    top: -1rem;
    right: -1rem;
    animation-delay: 1s;
}

.bottom-left {
    bottom: -1rem;
    left: -2rem;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-desc { max-width: 100%; margin: 0 auto 2rem; }
    .check-list li { justify-content: center; }
    .hero-actions { justify-content: center; }
    .floating-badge { display: none; } /* Hide logic for small screens to prevent overflow */
}

/* =============== TITLES & UNDERLINES =============== */
.section-title {
    margin-bottom: 3rem;
}

.section-title.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.underline {
    height: 4px;
    width: 60px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-top: 0.5rem;
}
.underline.left {
    margin-left: 0;
}

/* =============== ABOUT SECTION =============== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.slogan {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin: 2rem 0;
}

.info-box {
    background-color: var(--accent-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    text-align: left;
}

.info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* =============== SERVICES GRID =============== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}


/* =============== BENEFITS SECTION =============== */
.benefits {
    position: relative;
    overflow: hidden;
}

.Vorteile-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-text {
    flex: 1;
}

.benefits-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.benefits-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.benefit-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary);
}

.benefit-item span {
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .Vorteile-container {
        flex-direction: column;
    }
    .benefits-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }
}

/* =============== CONTACT FORM =============== */
.contact {
    background-color: var(--accent-light);
}

.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
}
.contact-item a:hover {
    color: var(--primary);
}

.whatsapp-hint {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--success);
    display: inline-block;
}

.contact-form-wrapper {
    flex: 1.2;
    background: var(--surface);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-float);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.hidden {
    display: none;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: #f8fafc;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: white;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    word-break: break-word;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.trust-text {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.trust-text i {
    color: var(--primary);
}

@media (max-width: 992px) {
    .container {
        padding: 0 1rem;
    }
    .contact-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* =============== FOOTER =============== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #cbd5e1;
}
.footer-links a:hover {
    color: white;
}

.footer-copy {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* =============== WHATSAPP FLOATING BUTTON =============== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--success);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--success-hover);
    color: white;
    transform: scale(1.1);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* =============== MICRO-ANIMATIONS (KEYFRAMES) =============== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============== WHATSAPP POPUP =============== */
.whatsapp-popup {
    position: fixed;
    bottom: 110px; 
    right: 40px;
    background-color: white;
    padding: 0.6rem 1rem;
    border-radius: 1.25rem 1.25rem 0 1.25rem; /* Speech bubble corner */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    border: 1px solid var(--accent-light);
}

.whatsapp-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 1px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 9px 0 0;
    border-color: white transparent transparent transparent;
}

.whatsapp-popup p {
    margin: 0;
    white-space: nowrap;
}

.close-popup {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-popup:hover {
    color: var(--primary);
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-5deg); }
    40% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    80% { transform: rotate(5deg); }
}

@media (max-width: 768px) {
    .whatsapp-popup {
        bottom: 80px;
        right: 20px;
    }
}
