/* ============================================================
   GLOBAL
   ============================================================ */

html {
    font-size: clamp(14px, 1.4vw, 18px);
}

body {
    margin: 0 auto;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 17px;
    background-color: rgb(13, 13, 77);
    color: rgb(178, 155, 45);
    line-height: 1.6;
    letter-spacing: 0.1px;
padding: 0;
    -webkit-text-size-adjust: 100%;
}

p {
    margin-bottom: 1.2em;
}

h1, h2, h3 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Content Images */
section img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 20px auto;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
    text-align: center;
    padding: 30px 20px;
}

header img {
    display: block;
    margin: 0 auto;
    width: 200px;
    max-width: 70%;
}

/* ============================================================
   NAVIGATION — Desktop & Mobile (Hamburger)
   ============================================================ */

.navbar {
    background: rgb(10, 10, 63);
    border-bottom: 2px solid rgba(255,215,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* LOGO */
.nav-logo {
    color: rgb(255,215,0);
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

/* DESKTOP MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: rgb(255,215,0);
    text-decoration: none;
    font-size: 18px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    text-decoration: underline;
}

/* HAMBURGER (hidden desktop) */
.nav-hamburger {
    display: none;
    font-size: 30px;
    color: rgb(255,215,0);
    cursor: pointer;
}

/* ============================================================
   MOBILE MENU — SLIDE DOWN + RIGHT SIDEBAR
   ============================================================ */

@media (max-width: 768px) {

    .nav-container {
        position: relative;
    }

    .nav-hamburger {
        display: block;
        font-size: 32px;
        padding: 5px;
        z-index: 3000;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;

        min-width: 200px;
        max-width: 260px;

        background: rgb(10, 10, 63);
        padding: 10px 0;
        border: 1px solid rgba(255,215,0,0.3);
        border-radius: 10px 0 10px 10px;

        box-shadow: 0 8px 20px rgba(0,0,0,0.5);

        z-index: 2000;

        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-menu.show {
        display: flex;
        flex-direction: column;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-menu li {
        padding: 10px 20px;
        text-align: right;
    }

    .nav-menu li a {
        display: block;
        font-size: 1rem;
        padding: 5px 0;
    }
}

/* ============================================================
   CONTENT AREA
   ============================================================ */

section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: left;
    line-height: 1.7;
}

section a,
section a:visited {
    color: rgb(255, 165, 0);
    text-decoration: underline;
}

section a:hover {
    color: rgb(255, 140, 0);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    margin-top: 50px;
    background: rgb(10, 10, 63);
   border-top: 2px solid rgba(255,215,0,0.4);
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

footer a {
    color: rgb(255, 215, 0);
    text-decoration: none;
    margin: 0 13px;
}

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

/* ============================================================
   MANUAL CARDS
   ============================================================ */

.manual-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 🔥 Icons skalieren jetzt automatisch exakt auf Schriftgröße */
.manual-title svg,
.manual-accordion summary svg {
    width: 1em;
    height: 1em;
     stroke: rgb(255,165,0);  /* ORANGE – korrekt */
    stroke-width: 2.2;
    vertical-align: middle;
    margin-right: 0.35em;
    flex-shrink: 0;
    display: inline-block;
}

.manual-card {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.manual-card .hint {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-free { background: rgba(0, 128, 255, 0.2); }
.badge-basic { background: rgba(0, 255, 128, 0.2); }
.badge-pro { background: rgba(255, 0, 128, 0.2); }

/* ============================================================
   ACCORDION
   ============================================================ */

.manual-accordion {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    margin: 12px 0;
    padding: 0 16px;

    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);

    overflow: hidden;
}

.manual-accordion summary {
    cursor: pointer;
    font-weight: bold;
    padding: 14px 4px;
    list-style: none;

    display: flex;
    align-items: center;
    gap: 8px;
}

.manual-accordion summary::-webkit-details-marker {
    display: none;
}

.manual-accordion summary::after {
    content: "▾";
    margin-left: auto;
    opacity: 0.8;
}

.manual-accordion[open] summary::after {
    content: "▴";
}

.manual-accordion .accordion-content {
    padding: 0 4px 14px 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.25);
    margin-top: 8px;
}

/* ============================================================
   MOBILE CONTENT OPTIMIZATION
   ============================================================ */

@media (max-width: 600px) {

    section {
        padding: 16px;
        margin: 20px auto;
    }

    header img {
        width: 140px;
    }

    footer {
        font-size: 0.8rem;
        padding: 15px;
    }

    footer a {
        margin: 0 5px;
    }
}

/* ============================
   SCHNEEFALL (Hintergrund)
   ============================ */

#snow-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;   /* verhindert Klickblocker */
    overflow: hidden;
    z-index: -1;            /* hinter allem! */
}

.snowflake {
    position: absolute;
    color: rgba(255,255,255,0.9); /* helles Weiß */
    font-size: 12px;
    user-select: none;
    opacity: 0.8;
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    100% {
        transform: translateY(110vh) translateX(20px); /* leichte Drift */
        opacity: 0.2;
    }
}

/* kleiner Sprachschalter oben rechts */
.lang-switch-small {
    font-size: 0.8rem;
    opacity: 0.8;
    color: rgb(255,215,0);
}

.lang-switch-small a {
    color: rgb(255,215,0);
    text-decoration: none;
}

.lang-switch-small a:hover {
    text-decoration: underline;
}

.active-lang {
    font-weight: bold;
}

/* AppStore Badge */
.appstore-badge {
  width: 150px;
  height: auto;
}

