* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #01A0FF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0a3d91;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    padding-left: 1.2rem;
}

/* ===== Layout ===== */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, #0b3c8c, #1358c8);
    color: white;
    padding: 32px 0 24px;
}

.site-title {
    margin: 0;
    font-size: 2.2rem;
}

.site-subtitle {
    margin: 8px 0 0;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* ===== Navigation oben ===== */
.top-nav {
    background-color: #0b3c8c;
    /*background-color: #ffffff;*/
    border-bottom: 1px solid #d7dce3;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 12px 0;
}

.top-nav a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
}

.top-nav a:hover,
.top-nav a.active {
    background-color: #e8f0ff;
    color: #0a3d91;
}

/* ===== Sidebar ===== */
.sidebar {
    background-color: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 76px;
}

.sidebar h2 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #0a3d91;
}

.sidebar h2:first-child {
    margin-top: 0;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar li + li {
    margin-top: 10px;
}

.sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background-color: #f5f8fd;
}

.sidebar a:hover {
    background-color: #e8f0ff;
    text-decoration: none;
}

/* ===== Hauptinhalt ===== */
.content {
    min-height: 500px;
}

.hero {
    background-color: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 14px;
    padding: 32px 24px;
    margin: 0 auto 20px auto;
    max-width: 700px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card {
    background-color: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.hero h2,
.card h3 {
    color: #0a3d91;
    margin-top: 0;
}

.hero h2 {
    font-size: 1.9rem;
    text-align: center;
}


/* ===== Footer ===== */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #d7dce3;
    padding: 20px 0;
    text-align: center;
    color: #555;
}

/* ===== Formulare ===== */
form {
    background-color: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
textarea,
button {
    width: 100%;
    font: inherit;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #bcc6d3;
    border-radius: 8px;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

button {
    background-color: #0b3c8c;
    color: white;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

button:hover {
    background-color: #082f6c;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .site-title {
        font-size: 1.8rem;
    }
}