:root {
    --base-size: 1vw + 0.5vh; /* Grundlage für dynamische Größen */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    padding: calc(var(--base-size) * 2);
    background-color: #f5f5f5;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: calc(var(--base-size) * 3);
    padding: calc(var(--base-size) * 2);
    background-color: #49d08d;
    border-radius: calc(var(--base-size) * 1.5);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer am unteren Rand fixieren */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
}

h1 {
    font-size: clamp(24px, calc(var(--base-size) * 4.5), 48px);
    color: #333;
    margin-bottom: calc(var(--base-size) * 1.5);
}

p {
    font-size: clamp(14px, calc(var(--base-size) * 2), 18px);
    line-height: 1.6;
    color: #666;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--base-size) * 2);
    justify-content: center;
}

.link-box {
    background-color: white;
    border-radius: calc(var(--base-size) * 1.5);
    padding: calc(var(--base-size) * 2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: calc(100% - var(--base-size) * 2);
    max-width: calc(var(--base-size) * 60);
    min-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.link-box h2 {
    font-size: clamp(18px, calc(var(--base-size) * 2.5), 24px);
    margin-bottom: calc(var(--base-size) * 1.5);
    color: #444;
    font-weight: 700; /* Überschriften fett */
}

.link-list {
    list-style-type: none;
}

.link-list li {
    margin-bottom: calc(var(--base-size) * 1);
}

.link-list a {
    display: block;
    padding: calc(var(--base-size) * 0.8) calc(var(--base-size) * 1.2);
    background-color: #7ca8de;
    border-radius: calc(var(--base-size) * 0.8);
    text-decoration: none;
    color: #010b15;
    transition: all 0.3s;
    font-size: clamp(14px, calc(var(--base-size) * 1.5), 16px);
    text-align: left;      /* Links ausrichten */
    font-weight: 700;      /* Schrift fett */
    text-align: center;
}

.link-list a:hover {
    background-color: #53a27d;
    color: #000b05;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    
    .link-box {
        width: 90%;
        max-width: 400px;
    }
}
