/* Grundgerüst */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
	/* Nutze 'min-height', damit der Body bei wenig Text trotzdem den Schirm füllt */
    
	 /* Platz für Header und Footer */
    padding: 80px 0 80px 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
	/* Verhindert horizontales Scrollen durch unkontrollierte Elemente */
    overflow-x: hidden;
}

/* Fixierter Header */
header {
    background-color: #2c3e50;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

nav a:hover {
    color: #3498db;
}

/* Container für Inhalte */
.container {
	width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: white;
    /* Kleineres Padding auf Handys */
	padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
	/* Wichtig für lange Texte: */
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.card h2 {
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    color: #2c3e50;
}

main {
    display: block;
    width: 100%;
}

h1 { color: #2c3e50; }

/* Fixierter Footer */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 13px;
}

@media (min-width: 768px) {
    .card {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    nav a {
        margin: 0 8px;
        font-size: 12px;
    }
}