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

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section mit Titelbild */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2faccb);
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Standard: Desktop (füllend, kann abgeschnitten sein) */
#hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Mobile: immer komplett sichtbar */
@media (max-width: 768px) {
    #hero-image {
        object-fit: contain;
        background-color: #000; /* optional, falls Balken entstehen */
    }
}

.hero-subtitle {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -10rem;
}

.hero-subtitle h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #f39c12;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* Navigation */
.navigation {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 6rem;
}

.nav-link {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.8rem;
    padding: 0.3rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1.2;
}


.nav-link:hover {
    background-color: #f39c12;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f39c12;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Sections */
.section {
    padding: 4rem 0;
    background-color: #1a1a1a;
}

.section:nth-child(even) {
    background-color: #2c2c2c;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Discover Section */
.discover-section {
    margin-top: 3rem;
    text-align: center;
}

.discover-section h3 {
    font-family: 'Montserrat', sans-serif;
    color: #f39c12;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #2c3e50;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    min-width: 120px;
}

.feature-item span:last-child {
    font-weight: 600;
    color: #f39c12;
}

/* Cases List */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background-color: #2c3e50;
    padding: 0;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    max-width: 800px;
    margin: 0 auto;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.case-cover-small {
    width: 300px;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.case-cover-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.case-card:hover .case-cover-small img {
    transform: scale(1.05);
}

.case-content {
    padding: 2rem;
    flex: 1;
}

.btn-case {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-case:hover {
    background-color: #f39c12;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Coming Soon Small */
.coming-soon-small {
    text-align: center;
    padding: 1rem;
    color: #95a5a6;
    font-style: italic;
    font-size: 0.9rem;
}

/* Comments Section */
.comments-section {
    background-color: #2c3e50;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.support-section {
    background-color: #2c3e50;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
}

.support-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.paypal-link {
    display: inline-block;
    background-color: #0070ba;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.paypal-link:hover {
    background-color: #005ea6;
    transform: translateY(-2px);
}

.qr-code {
    text-align: center;
}

.qr-code img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
}

.contact-info {
    background-color: #2c3e50;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #3498db;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #34495e;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
}

.btn-primary {
    background-color: #3498db;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #f39c12;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Comments Section */
.comments-list {
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    background-color: #34495e;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #f39c12;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: bold;
    color: #f39c12;
}

.comment-date {
    color: #95a5a6;
    font-size: 0.9rem;
}

.comment-text {
    color: #ecf0f1;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #34495e;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero {
        height: 80vh;
        min-height: 300px;
    }
    
    .hero-subtitle h2 {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .features-list {
        flex-direction: column;
        align-items: center;
    }
    
    .case-card {
        flex-direction: column;
    }
    
    .case-cover-small {
        width: 100%;
        height: 200px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 200px;
    }
    
    .hero-subtitle h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .feature-card,
    .case-card,
    .contact-info,
    .support-section {
        padding: 1.5rem;
    }
}

/* Animation für das Laden der Seite */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Fall Detail Pages */
.case-hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.case-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.case-cover {
    text-align: center;
}

.case-cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.case-info h1 {
    text-align: left;
    margin-bottom: 1rem;
}

.case-info h1 {
    font-family: 'Montserrat', sans-serif;
}

.case-details-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.case-details-info p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.case-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ecf0f1;
    margin-bottom: 2rem;
}

.equipment-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    text-indent: -1rem;
}

.case-details {
    padding: 4rem 0;
    background-color: #1a1a1a;
}

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

.case-echo {
    margin-bottom: 4rem;
    text-align: center;
}

.case-echo h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.echo-image {
    max-width: 600px;
    margin: 0 auto;
}

.echo-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.case-downloads h2 {
    text-align: left;
    margin-bottom: 2rem;
}

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

.download-item {
    background-color: #2c3e50;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-info h3 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.download-info p {
    margin-bottom: 1.5rem;
    color: #bdc3c7;
}

.btn-download {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Responsive Design für Fall-Seiten */
@media (max-width: 768px) {
    .case-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .case-info h1 {
        text-align: center;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .case-details-info {
        text-align: center;
    }
}
/* Navigation und Feature-Felder auf Smartphones ausblenden */
@media (max-width: 768px) {
    /* Navigation nur auf normalen Seiten ausblenden */
    body:not(.case-page) .navigation {
        display: none;
    }

    /* Features-Liste bleibt generell ausgeblendet */
    .features-list {
        display: none;
    }
}

/* Fall-Seite: Fließtext linksbündig */
.case-info p {
    text-align: left;
}

/* Hover-Effekte für bessere Interaktivität */
.nav-link,
.feature-card,
.case-card,
.btn-primary,
.btn-case,
.download-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} 

/* Titelbild: unterschiedliche Versionen für Desktop & Mobile */
#hero-image {
    content: url("images/titelbild.png"); /* Standard Desktop-Version */
}

@media (max-width: 768px) {
    #hero-image {
        content: url("images/titelbild-mobile.png"); /* Mobile Version */
    }
}