* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Grundlayout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1f2d3d;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

/* Header */
.header {
    width: 100%;
    background: white;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.header a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.logo {
    width: 80px;
    background: white;
    padding: 5px;
    border-radius: 15px;
    object-fit: contain;
}

/* HERO SECTION */
.hero {
    width: 100%;
    min-height: 60vh;
    padding: 80px clamp(20px, 8vw, 120px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #8abff1, #8cd8ce);
    gap: 40px;
    overflow: hidden;
    /* verhindert Überbreite */
}

/* LINKER TEXTBEREICH */
.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    padding: 12px 20px;
    background: #1f73f1;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #155fcc;
}

/* LOGO-BEREICH */
.hero-logo img {
    width: 260px;
    max-width: 35vw;
    border-radius: 12px;
    background: white;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .hero-logo img {
        margin-top: 30px;
        width: 200px;
        max-width: 50vw;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-logo img {
        width: 160px;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
    }

    nav {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    nav a {
        font-size: 1rem;
        white-space: nowrap;
    }

    .header-left {
        justify-content: center;
    }
}

/* Navigation mobil nebeneinander */
@media (max-width: 600px) {
    nav {
        display: flex;
        gap: 12px;
        /* Abstand zwischen den Links */
        flex-wrap: nowrap;
        /* verhindert, dass sie umbrechen */
    }

    nav a {
        font-size: 0.9rem;
        white-space: nowrap;
        /* verhindert Zeilenumbruch innerhalb eines Links */
    }

    .header-inner {
        flex-wrap: wrap;
        /* Logo links, Navigation rechts → bleibt aber in Reihe */
    }
}

/* Button */
.btn {
    display: inline-block;
    margin-top: 20px;
    background: #1f8fff;
    padding: 12px 22px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

/* Features */
.features {
    padding: 60px 40px;
    text-align: center;
}

.feature-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgb(218, 218, 218);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.397);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: #1f8fff;
    color: white;
    margin-top: auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Abstand zwischen Logo und H2 */
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2d3d;
}

a:hover {
    color: #1f8fff;
}

a {
    font-weight: 1200;
    font-size: large;
}

.card-title {
    display: flex;
    flex-direction: column;
    /* Icon über Text */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-title img {
    width: 36px;
    /* Icongröße */
    height: 36px;
    object-fit: contain;
}

/* Neuer Über-uns Hero */
.about-hero {
    background: linear-gradient(135deg, #8abff1, #8cd8ce);
    text-align: center;
    padding: 80px 20px;
    color: #1f2d3d;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Mission-Abschnitt */
.about-section {
    padding: 70px 40px;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-image img {
    width: 320px;
    max-width: 40vw;
    border-radius: 15px;
    background: white;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Werte / Values */
.about-values {
    background: #f8f9fa;
    padding: 22px 40px;
    padding-bottom: 48px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e2e2e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-card img {
    width: 45px;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
}

/* Responsives Layout */
@media (max-width: 900px) {
    .about-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Download Hero */
.download-hero {
    background: linear-gradient(135deg, #8abff1, #8cd8ce);
    text-align: center;
    padding: 80px 20px;
    color: #1f2d3d;
}

.download-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.download-hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.download-btn {
    display: inline-block;
    background: #1f73f1;
    color: white;
    padding: 15px 25px;
    font-size: 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.download-btn:hover {
    background: #155fcc;
}

.file-info {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Sections */
.download-section {
    padding: 60px 40px;
    max-width: 900px;
    margin: auto;
}

.changelog-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 2px solid #e2e2e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Anforderungen Grid */
.requirements-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.req-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e2e2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

@media (min-width: 900px) {
    .requirements-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* immer 4 nebeneinander */
        gap: 25px;
    }

    h2 {
        text-align: center;
    }
}

/* Weniger Abstand zwischen Sektionen */
.download-section {
    padding: 40px 40px;
    /* vorher 60 */
}

/* Überschriften kompakter */
.download-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    /* vorher 40+ */
}

/* Changelog Card näher an der Überschrift */
.changelog-card {
    margin-top: 0;
}

/* Systemanforderungen-Grid enger */
.requirements-grid {
    margin-top: 20px;
    /* vorher ~40 */
    gap: 20px;
}

/* Desktop-Version: 4 schöne Spalten */
@media (min-width: 900px) {
    .requirements-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Requirement-Karten kompakter */
.req-card {
    padding: 18px 15px;
}

/* Impressum Hero */
.impressum-hero {
    background: linear-gradient(135deg, #8abff1, #8cd8ce);
    text-align: center;
    padding: 80px 20px;
    color: #1f2d3d;
}

.impressum-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.impressum-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Impressum Inhalt */
.impressum-section {
    padding: 60px 30px;
    display: flex;
    justify-content: center;
}

.impressum-box {
    max-width: 900px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #e1e1e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.impressum-box h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #1f2d3d;
}

.impressum-box p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Impressum Layout Fix */
.impressum-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.impressum-box {
    max-width: 800px;
    background: white;
    padding: 40px 50px;
    border-radius: 15px;
    border: 2px solid #e1e1e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    line-height: 1.7;
}

.impressum-box h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #1f2d3d;
    text-align: left;
}

.impressum-box p {
    margin-bottom: 15px;
}

nav a.active {
    color: #1f8fff;
    font-weight: 700;
    border-bottom: 3px solid #1f8fff;
    padding-bottom: 3px;
}

nav a.active {
    background: #e6f2ff;
    border-radius: 6px;
    padding: 6px 12px;
}

/* Changelog Box — breiter & schöner */
.changelog-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 30px;
    border-radius: 12px;
    border: 2px solid #e2e2e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Überschrift */
.changelog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Bullet-Points Abstand */
.changelog-card ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.card {
    text-align: center;
}

.features,
.about-values {
    min-height: 20vh;
}