/* === Grunddesign an schulmanager.de angelehnt === */

:root {
    --primary: #2a6edc;
    --primary-light: #eaf1ff;
    --background: #f5f6fa;
    --text-dark: #222;
    --text-light: #666;
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

body {
    background: var(--background);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
header {
    background: white;
    border-bottom: 2px solid var(--primary-light);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header h1 {
    color: var(--primary);
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

header .subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* --- Hauptinhalt --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 4rem;
}

/* --- Link-Karten --- */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.link-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.link-card h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background: white;
    border-top: 2px solid var(--primary-light);
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

