:root {
    --dark-blue: #333;
    --light-blue: #007AFF;
    --green: #007AFF;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: #f5f5f7;
}

header {
    background: #ffffff !important;
    box-shadow: var(--shadow);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

 header nav {
    background: transparent !important;
 }

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

.logo {
    height: 40px;
}

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

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

nav a:hover {
    color: var(--light-blue);
}

 .apps-dropdown details {
     position: relative;
 }

 .apps-dropdown summary {
     cursor: pointer;
     font-weight: 500;
     list-style: none;
     color: var(--dark-blue);
 }

 .apps-dropdown summary::-webkit-details-marker {
     display: none;
 }

 .apps-dropdown-panel {
     position: absolute !important;
     top: calc(100% + 0.75rem);
     right: 0;
     min-width: 240px;
     background: #ffffff;
     border-radius: 12px;
     padding: 0.75rem;
     box-shadow: 0 10px 30px rgba(0,0,0,0.25);
     display: flex;
     flex-direction: column;
     gap: 0.25rem;
 }

 .apps-dropdown-panel a {
     color: var(--dark-blue);
     padding: 0.6rem 0.75rem;
     border-radius: 10px;
 }

 .apps-dropdown-panel a.active {
     color: var(--light-blue);
 }

 .apps-dropdown-panel a:hover {
     background: #f8f9fa;
     color: var(--dark-blue);
 }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.cta-button {
    display: inline-block;
    background: var(--light-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #0056b3;
}

.features {
    padding: 4rem 0;
    background: white;
    margin: 4rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

.health-metrics {
    margin: 4rem 0;
}

.health-metrics h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.metric-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.metric-card ul {
    list-style: none;
}

.metric-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.metric-card li::before {
    content: "✓";
    color: var(--green);
    position: absolute;
    left: 0;
}

/* Content Pages Styling */
.content-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-section:hover {
    transform: translateY(-2px);
}

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

.content-page h1 {
    color: var(--dark-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

.content-page section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.content-page h2 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

.content-page ul {
    list-style: none;
    margin-left: 1rem;
}

.content-page ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.content-page ul li::before {
    content: "•";
    color: var(--light-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* App-Vorschau Sektion */
.app-preview {
    margin: 4rem 0;
}

.app-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.8rem;
    color: #666;
}

.preview-image {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
}

.preview-image .app-image {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

footer {
    background: #ffffff;
    color: var(--dark-blue);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

     .apps-dropdown-panel {
         position: static;
         box-shadow: none;
         padding: 0.5rem 0;
         min-width: 0;
         background: transparent;
     }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .preview-image {
        flex-wrap: wrap;
    }

    .feature-list {
        text-align: left;
        display: inline-block;
    }
}
