:root {
    --primary: #222;
    --secondary: #292b2f;
    --accent: #009fe3;
    --text: #eee;
    --subtle: #444;
    --card: #32343a;
    --border-radius: 16px;
}

html, body {
    background: var(--primary);
    color: var(--text);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

header {
    width: 100%;
    background: var(--secondary);
    border-bottom: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-bottom: 0;
}

.header-img {
    width: 100%;
    height: 170px;
    background: #181a20 url('titelbild.png') center center/cover no-repeat;
    border-bottom: 2px solid var(--accent);
}

.header-title {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 1.2rem 0 0.5rem 0;
    color: var(--accent);
    text-align: center;
    font-weight: 700;
}

nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--secondary);
    padding: 0.7rem 0 0.7rem 0;
    gap: 0.7rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    padding: 0.45rem 1.2rem;
    border-radius: var(--border-radius);
    background: var(--subtle);
    transition: background 0.2s;
    font-size: 1rem;
    font-weight: 500;
}
nav a:hover, nav a.active {
    background: var(--accent);
    color: #fff;
}

main {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--card);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

h1, h2, h3 {
    color: var(--accent);
    margin-top: 1.3em;
    margin-bottom: 0.6em;
}

label {
    display: block;
    margin: 1em 0 0.4em;
    color: var(--text);
    font-weight: 500;
}
input, button, textarea {
    width: 100%;
    padding: 0.65em 0.9em;
    margin-bottom: 1em;
    background: var(--subtle);
    color: var(--text);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1em;
}
input:focus, textarea:focus {
    outline: 2px solid var(--accent);
}
button {
    background: var(--accent);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #007db6;
}
ul, ol {
    padding-left: 1.5em;
}

.blogentry {
    background: #27292d;
    border-left: 4px solid var(--accent);
    margin: 1.5em 0;
    padding: 1em 1em 0.5em 1.2em;
    border-radius: var(--border-radius);
    color: var(--text);
}

@media (max-width: 700px) {
    main {
        margin: 0.8rem;
        padding: 0.9rem;
    }
    .header-img {
        height: 110px;
    }
    .header-title {
        font-size: 1.4rem;
    }
    nav {
        gap: 0.3rem;
        font-size: 0.95rem;
    }
}
