/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333333;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

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

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}


/* Hero Section - EduShield Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 15% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 85% 80%, rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.hero-gradient-3 {
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 250px at 50% 50%, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
    z-index: 1;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
}

/* Scroll Arrow */
.scroll-arrow {
    position: relative;
    margin-top: 2rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    display: inline-block;
}

.arrow-symbol {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 300;
    display: block;
    transition: color 0.3s ease;
}

.scroll-arrow:hover .arrow-symbol {
    color: #cccccc;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Apps Section */
.apps {
    padding: 6rem 0;
    background-color: #111111;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #000000;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text {
    max-width: 500px;
}

.about-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    text-align: left;
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #111111;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: #000000;
}

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

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333333;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Legal Pages - EduShield Style */
.legal-hero {
    padding: 6rem 0 4rem 0;
    background-color: #000000;
    text-align: center;
}

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

.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero-icon {
    margin-bottom: 2rem;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.legal-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.legal-hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 4rem 0;
    background-color: #000000;
}

.legal-content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.legal-card-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-card-icon {
    width: 40px;
    height: 40px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.legal-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.legal-card-body {
    padding: 2rem;
}

.legal-card-body p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-card-footer {
    padding: 1rem 2rem 2rem 2rem;
}

.legal-date {
    color: #888888;
    font-size: 0.9rem;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-list li::before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-list li strong {
    color: #ffffff;
}

/* Contact Page - EduShield Style */
.contact-hero {
    padding: 6rem 0 4rem 0;
    background-color: #000000;
    text-align: center;
}

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

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-icon {
    margin-bottom: 2rem;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 4rem 0;
    background-color: #000000;
}

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

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

.contact-form-card,
.contact-info-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    background-color: #000000;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
}

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

.form-submit {
    background-color: #007AFF;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #0056b3;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-info-value {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.support-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.support-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.support-day {
    color: #cccccc;
    font-size: 0.9rem;
}

.support-time {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.support-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.support-note strong {
    color: #007AFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
}

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

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333333;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: #555555;
}

.contact-item h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

.contact-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: #555555;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.modal-open .app-card:hover { transform: none; box-shadow: none; border-color: #333333; }


.app-icon {
    margin-bottom: 1.5rem;
}

.app-icon-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 1px solid #333333;
    transition: transform 0.3s ease;
}

.app-icon-image:hover {
    transform: scale(1.05);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.app-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background-color: #333333;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* App Store Section */
.appstore-section {
    text-align: center;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 3rem 2rem;
}

.appstore-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.appstore-description {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.btn-appstore {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #ffffff;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-appstore:hover {
    background-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.appstore-icon {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 4rem 0 2rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333333;
}

.footer-brand {
    max-width: 400px;
}

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

.footer-logo-image {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-link {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-divider {
    height: 1px;
    background-color: #333333;
    margin-bottom: 0.25rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.footer-powered {
    color: #888888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-powered-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-powered-link:hover {
    color: #ffffff;
}

.footer-dot {
    color: #007AFF;
}

.aivoro-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aivoro-link:hover {
    color: #ffffff;
}

.blue-dot {
    color: #007AFF;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .apps-container,
    .hero-container,
    .footer-container {
        padding: 0 1rem;
    }
}

/* Footer - Original EduShield Style */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 0 2rem 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links {
    display: contents;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column .footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #888888;
    font-size: 0.875rem;
    margin: 0;
}

.footer-powered {
    color: #888888;
    font-size: 0.875rem;
    margin: 0;
}

.footer-powered-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-powered-link:hover {
    color: #ffffff;
}

.footer-dot {
    color: #007AFF;
}

.aivoro-link {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.aivoro-link:hover {
    color: #ffffff;
}

.blue-dot {
    color: #007AFF;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .appstore-section {
        padding: 2rem 1rem;
    }
}

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

/* Favicon ohne weißen Rahmen */
link[rel="icon"] {
    border: none !important;
    outline: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Additional responsive styles for new sections */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2.6rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 2.1rem;
    }
}

/* Additional responsive styles for new sections */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .about-container,
    .contact-container,
    .faq-container,
    .legal-container {
        padding: 0 1rem;
    }
}

/* Modal */
.app-card { cursor: pointer; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    transition: opacity 0.2s ease;
}

.modal-overlay[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0b0b0b;
    border: 1px solid #232323;
    border-radius: 14px;
    width: min(720px, 92vw);
    max-height: 86vh;
    overflow: hidden;
    z-index: 2100;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.modal[aria-hidden="true"] { display: none; }

.modal-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid #1a1a1a;
}

.modal-app-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #333333; }
.modal-title { margin: 0; color: #ffffff; font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }
.modal-subtitle { margin: 0.2rem 0 0 0; color: #b5b5b5; font-size: 0.95rem; }

.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #888888;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-close:hover { color: #ffffff; }

.modal-body { padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }

.modal-preview { background: #0e0e0e; border: 1px solid #222222; border-radius: 10px; height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal-preview-placeholder { color: #666666; font-size: 0.95rem; }
.modal-preview-image { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* Screenshot Gallery */
.screenshot-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    height: 100%;
    align-items: center;
    scrollbar-width: thin;
    scrollbar-color: #333333 #0e0e0e;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: #0e0e0e;
    border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

.screenshot-image {
    height: 100%;
    min-width: 180px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #333333;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.screenshot-image:hover {
    transform: scale(1.02);
    border-color: #555555;
}
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: #ffffff; color: #000000; border-color: #ffffff; }
.btn-primary:hover { background: transparent; color: #ffffff; }
.btn-ghost { background: transparent; color: #ffffff; border-color: #333333; }
.btn-ghost:hover { border-color: #555555; }

/* Links im Modal neutralisieren */
.modal a { color: #ffffff; text-decoration: none; }
.modal a:hover { text-decoration: underline; }

/* Button-Farben im Modal mit höherer Spezifität fixen */
.modal .btn-primary { background: #ffffff !important; color: #000000 !important; border-color: #ffffff !important; }
.modal .btn-primary:hover { background: transparent !important; color: #ffffff !important; }
.modal .btn-ghost { background: transparent !important; color: #ffffff !important; border-color: #333333 !important; }

/* Scrollbarer Datenschutztext im Modal */
.modal-privacy-content { max-height: 60vh; overflow: auto; padding-right: 0.25rem; }
.modal-privacy-content h4 { margin: 0.5rem 0 0.5rem; color: #ffffff; }
.modal-privacy-content p { color: #cccccc; line-height: 1.7; }
.modal-privacy-content ul { margin-left: 1rem; color: #cccccc; line-height: 1.7; }

/* Legal Page Styles */
.legal-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

.legal-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
}

.legal-text {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-link {
    color: #ffffff;
    text-decoration: underline;
}

.legal-link:hover {
    color: #cccccc;
}

.legal-date {
    color: #888888;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #555555;
}

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

.form-submit {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background-color: #f0f0f0;
}

/* Legal Grid Layout */
.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Contact specific - wider layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

@media (max-width: 540px) {
    .modal { width: 92vw; }
    .modal-preview { height: 220px; }
}
