
/* ---------- Navigation ---------- */

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 35px;
}

nav a {
    text-decoration: none;
    color: white;
    transition: .3s;
    font-size: 16px;
    letter-spacing: 1px;
}

nav a:hover {
    color: #c9a227;
}
/* Allgemeine Linkfarben */

a:link {
    color: #ffffff;
    text-decoration: underline;
}

a:visited {
    color: #cccccc;
}

a:hover {
    color: #c9a227;
}

a:active {
    color: #e6c65c;
}


:root {
    --bg: #0d0d0d;
    --panel: #171717;
    --gold: #c9a227;
    --white: #f4f1e8;
    --muted: #a9a9a9;
    --line: #555;
}

/* General */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #090909;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

/* Header */
header {
    padding: 22px 28px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand {
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    font-size: 19px;
}

.subbrand {
    font-size: 10px;
    letter-spacing: 3px;
    color: #ddd;
    margin-top: 5px;
}

/* Main layout */
main {
    max-width: 1500px;
    margin: auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
}

/* Controls */
.controls {
    background: var(--panel);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 20px;
    height: max-content;
}

h1 {
    font-size: 22px;
    margin: 0 0 6px;
}

.hint {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 20px;
}

label {
    display: block;
    color: #ddd;
    font-size: 12px;
    margin: 16px 0 7px;
    letter-spacing: .5px;
}

select,
input {
    width: 100%;
    background: #0d0d0d;
    color: white;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 11px;
    font-size: 14px;
}

/* Buttons */
button {
    background: var(--gold);
    color: #111;
    border: 0;
    border-radius: 8px;
    padding: 11px 14px;
    font-weight: 700;
    cursor: pointer;
}

button.secondary {
    background: #292929;
    color: #eee;
    border: 1px solid #555;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.actions button {
    flex: 1;
}

/* Preview area */
.stage-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.stage {
    width: min(100%, 620px);
    aspect-ratio: 9 / 16;
    background: #0d0d0d;
    border: 1px solid #444;
    box-shadow: 0 12px 40px #000;
    overflow: hidden;
}

.stage svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Note */
.note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 14px;
}

/* Mobile and tablet */
@media (max-width: 800px) {
    main {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 20px;
    }

    .controls {
        order: 0;
    }

    .stage-wrap {
        order: 1;
    }

    .stage {
        width: min(100%, 430px);
    }
}
