/* ============================================
   CSS VARIABLES & CONFIGURATION
   ============================================ */
:root {
    --primary: #F5A623;
    --primary-dark: #E59200;
    --background: #0A0E27;
    --background-secondary: #1A1E3F;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B7C3;
    --border: rgba(245, 166, 35, 0.1);
    --border-hover: rgba(245, 166, 35, 0.2);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ============================================
   CONTAINER & TYPOGRAPHY
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(245, 166, 35, 0.1);
    border-color: var(--primary-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:active {
    transform: scale(0.98);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.floating-call {
    right: 80px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.floating-call:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.floating-whatsapp {
    right: 20px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .floating-call {
        right: 70px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--background-secondary);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-buttons {
        display: none;
        position: absolute;
        top: 160px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        gap: 10px;
        width: calc(100% - 40px);
    }

    .nav-buttons.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-title .accent {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-large {
        width: 100%;
    }
}

/* ============================================
   VORTEILE SECTION
   ============================================ */
.vorteile {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vorteil-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.vorteil-card:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vorteil-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: var(--transition);
}

.vorteil-card:hover .vorteil-icon {
    transform: scale(1.1) rotate(5deg);
}

.vorteil-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.vorteil-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   LEISTUNGEN SECTION
   ============================================ */
.leistungen {
    padding: 80px 20px;
    background: var(--background);
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.leistung-item {
    background: var(--background-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
}

.leistung-item:hover {
    background: rgba(245, 166, 35, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
}

.leistung-item h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.leistung-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   ABLAUF SECTION
   ============================================ */
.ablauf {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--background-secondary) 0%, var(--background) 100%);
}

.ablauf-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    row-gap: 2rem;
}

.ablauf-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.ablauf-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    transition: var(--transition);
}

.ablauf-step:hover .ablauf-number {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}

.ablauf-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ablauf-step p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.ablauf-arrow {
    font-size: 2rem;
    color: var(--primary);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .ablauf-timeline {
        flex-direction: column;
        gap: 0;
    }

    .ablauf-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 80px 20px;
    background: var(--background);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(245, 166, 35, 0.05);
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(245, 166, 35, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

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

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-group.checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
}

.form-group.checkbox a {
    color: var(--primary);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--background-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary);
    margin-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   ACCESSIBILITY & ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Lazy loading placeholder */
[loading="lazy"] {
    background: var(--background-secondary);
}

/* Selection styling */
::selection {
    background-color: var(--primary);
    color: #000;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .floating-btn,
    .contact-form,
    .hero-buttons {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}
