/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #ef4444;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --border-color: #e5e7eb;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

/* Header */
.header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    margin: 20px 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Main Content */
main {
    margin-top: 110px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

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

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--bg-light);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 1.5rem;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    font-weight: 400;
    margin-top: 0.25rem;
}

.features {
    list-style: none;
    margin: 0 0 2rem;
    flex-grow: 1;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Pricing Disclaimer */
.pricing-disclaimer {
    margin-top: 3rem;
    text-align: center;
}

.pricing-disclaimer p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* Memberships Section */
.memberships {
    background: var(--bg-light);
    text-align: center;
}

.memberships h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.memberships-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.membership-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.membership-logo img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.membership-logo img:hover {
    filter: grayscale(0);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Tasks Grid */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.task-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.faq-item p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.faq-item p:last-child {
    margin-bottom: 0;
}


/* Datenschutz Grid */

.ds h1 {
    font-size: 1rem;
}

.ds h2 {
    margin-bottom: 0.2rem;
    font-size: 1.3rem;
    margin-top: 1rem;

}

.ds h3 {
    font-size: 1rem;
}

.ds-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ds-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.ds-item p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.ds-item p:last-child {
    margin-bottom: 0;
}

/* E-Learning Section */
.elearning {
    background: var(--bg-color);
}

.elearning-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.elearning-text p {
    text-align: justify;
}


.elearning-partner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.univado-logo {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.univado-logo img {
    max-height: 60px;
    width: auto;
}


/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Website Check */
.website-check {
    background: var(--accent-color);
    color: white;
    text-align: center;
}

.website-check h2 {
    color: white;
}

/* About Section */
.about {
    text-align: center;
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-nav {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        height: 80px;
        padding: 0 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
    
    main {
        margin-top: 80px;
    }
    
    .hero {
        padding: 3rem 0 4rem 0;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }
    
    .hero .container {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid,
    .pricing-grid,
    .process-steps,
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .memberships-logos {
        flex-direction: column;
        gap: 2rem;
    }
    
    .membership-logo img {
        max-height: 60px;
        max-width: 150px;
    }
    
    .pricing-card {
        min-height: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .service-card,
    .pricing-card,
    .step,
    .task-item,
    .faq-item {
        padding: 1.5rem;
    }
    
    .elearning-content {
        grid-template-columns: 1fr;   /* nur eine Spalte */
        gap: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .elearning-text {
        grid-area: text;
    }
    
    .elearning-partner {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.service-card,
.pricing-card,
.step,
.task-item,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus States for Accessibility */
.btn:focus,
.nav a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta,
    .website-check {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}