/* 
* MinimalDesign - Hauptstylesheet
* Erstellt von: Frontend Team
* Version: 1.0.0
*/

/* ---------- GRUNDEINSTELLUNGEN & VARIABLEN ---------- */
:root {
    /* Primäre Farbpalette */
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --primary-light: #75a8ff;
    --secondary: #8338ec;
    --accent: #ff006e;
    
    /* Neutrale Farben */
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --background: #f8f9fa;
    
    /* Abstände */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Andere Werte */
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ---------- RESET & BASISSTILE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---------- TYPOGRAFIE ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    margin: 1rem auto 0;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.nav-links a i {
    font-size: 1.1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background-color: rgba(58, 134, 255, 0.1);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--dark);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.85) 0%, rgba(131, 56, 236, 0.85) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--primary);
    color: white;
}

.btn-form {
    background-color: var(--primary);
    color: white;
    border: none;
    width: 100%;
    justify-content: center;
}

.btn-form:hover {
    background-color: var(--primary-dark);
}

/* ---------- FEATURES SECTION ---------- */
.features {
    padding: var(--spacing-xl) 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-img {
    margin: -2rem -2rem 2rem;
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature:hover .feature-img img {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    display: inline-block;
    background-color: rgba(58, 134, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    transition: var(--transition);
}

.feature:hover .feature-icon {
    color: white;
    background-color: var(--primary);
    transform: rotate(360deg);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding-bottom: 3px;
}

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

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

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

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials {
    background-color: var(--light);
    padding: var(--spacing-xl) 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial {
    height: 100%;
}

.testimonial-content {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.2;
    margin-bottom: var(--spacing-sm);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-author i {
    font-size: 3rem;
    color: var(--gray);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    margin-top: 2px;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.contact-form {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.25);
}

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

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    margin-top: var(--spacing-sm);
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
    padding: 3px 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* ---------- ANIMATIONEN ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ---------- RESPONSIVES DESIGN ---------- */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: var(--spacing-md);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-lg) 0;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: var(--spacing-sm) 0;
    }

    .nav-links a {
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}