
:root {
    --hdr-bg: #222;
    --hdr-fg: #fff;
    --ovl: rgba(0,0,0,.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #e0e0e0;
    background: #111;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header */
header {
    background: var(--hdr-bg);
    color: var(--hdr-fg);
    padding: .75rem 3rem; /* statt 1rem → mehr Platz innen */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header, footer {
    color: #ccc;
    text-decoration: none;
}

.brand {
    font-size: clamp(1.4rem, 2.8vw + .5rem, 2.2rem);
    font-weight: 800;
    letter-spacing: .5px;
}

.menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .menu-btn .burger {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff; /* Linienfarbe */
        position: relative;
    }

        .menu-btn .burger::before,
        .menu-btn .burger::after {
            content: "";
            position: absolute;
            left: 0;
            width: 24px;
            height: 2px;
            background: #fff;
            transition: transform .3s ease;
        }

        .menu-btn .burger::before {
            top: -7px; /* obere Linie */
        }

        .menu-btn .burger::after {
            top: 7px; /* untere Linie */
        }

/* Main: Bild mittig, auf verfügbaren Platz begrenzt */
main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

    main img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

/* Footer */
footer {
    background: #2b2b2b;
    color: #e9e9e9;
    padding: .75rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

    footer span {
        opacity: .9;
    }

/* Off-canvas Panel + Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: var(--ovl);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(90vw, 340px);
    max-width: 100%;
    background: #fff;
    color: #111;
    box-shadow: -12px 0 28px rgba(0,0,0,.35);
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
}

    .drawer header {
        background: #fff;
        color: #111;
        border-bottom: 1px solid #eee;
        padding: 1rem;
        justify-content: space-between;
    }

        .drawer header h2 {
            font-size: 1.1rem;
            font-weight: 700;
        }

.close-btn {
    background: transparent;
    border: 0;
    font-size: 1.25rem;
    cursor: pointer;
    padding: .25rem .5rem;
}

.drawer nav {
    padding: .75rem 1rem 1rem;
}

.drawer a {
    display: block;
    padding: .625rem .5rem;
    border-radius: .5rem;
    color: #111;
    text-decoration: none;
}

    .drawer a:hover {
        background: #f2f2f2;
    }

/* Offen-Status */
.drawer.open {
    transform: translateX(0);
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Animations-Respekt */
@media (prefers-reduced-motion: reduce) {
    .drawer, .overlay {
        transition: none;
    }
}

footer a, header a , a.mail{
    color: #ccc; /* weiß */
    text-decoration: none; /* optional: Unterstreichung weg */
}

    footer a:hover,
    footer a:visited,
    footer a:active, header a:hover, header a:visited, header a:active, a.mail:hover, a.mail:visited,a.mail:active {
        color: #ccc; /* bleibt weiß in allen Zuständen */
    }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #555;
    border-radius: 6px;
    background: #1a1a1a;
    color: #eee;
    font-size: 1rem;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #70b5ff;
        outline: none;
    }

.contact-form button {
    background: #70b5ff;
    color: #111;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

    .contact-form button:hover {
        background: #559adf;
    }

    section{
        margin-top: 20px;
    }

    h2{
        margin-top: 20px;
    }

.app-grid {
    display: grid;
    margin-top: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-card {
    background: #222;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .2s ease;
}

    .app-card:hover {
        transform: translateY(-5px);
    }

.app-image {
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 24px;
    object-fit: cover;
    background: #fff;
}

.app-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #eee;
    text-align:center;
}

.app-card .btn {
    display: inline-block;
    background-color: #f52768;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-family: sans-serif;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .app-card .btn:hover {
        background-color: #bd1e65;
    }