/* 
 * CSS für ein modernes Aussehen der Landing-Page.
 */
:root {
    --background-color: #f4f4f9;
    --text-color: #333;
    --primary-color: #0052cc; /* Ein professioneller Blauton */
    --card-bg-color: #ffffff;
    --card-shadow: 0 4px 8px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
}

.container {
    max-width: 800px;
    width: 100%;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive Schriftgröße */
    margin-bottom: 0.5em;
}

p {
    font-size: clamp(1rem, 3vw, 1.15rem);
    color: #666;
    margin-bottom: 2.5em;
}

a.wordmark-plakativ {
    font-size: 1.8rem; /* Etwas größer */
    font-weight: 800; /* Extra-Fett (falls verfügbar) */
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Breiterer Abstand */
    color: var(--primary-color);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 0;
}

.link-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.link-card a {
    display: block;
    padding: 0; /* Padding wird jetzt vom card-content übernommen */
    text-decoration: none;
    color: var(--primary-color);
    height: 100%; /* Stellt sicher, dass der Link die ganze Karte füllt */
}

/* Neue Regeln für reichhaltigere Karten */
.card-content {
    padding: 30px 20px;
    text-align: left; /* Text in den Karten linksbündig für bessere Lesbarkeit */
}

.card-content h2 {
    font-size: 1.3rem; /* Etwas größer als der alte Link-Text */
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75em;
}

.card-content .card-description {
    font-size: 1rem; /* Standard-Absatzgröße */
    color: #555; /* Etwas dunkler als das globale p */
    line-height: 1.6;
    margin-bottom: 0; /* Margin unten entfernen */
}

/* Anpassung für den neuen "Über Uns"-Abschnitt */
.about-us-section p {
    font-size: 1.1rem;
    color: #444; /* Etwas dunkler für bessere Lesbarkeit des Fließtextes */
}

/* Neue Stile für die zusätzlichen Sektionen */
hr {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 3.5em auto;
    max-width: 100px;
}

.info-section {
    margin-top: 2.5em;
}

.info-section h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin-bottom: 0.5em;
    color: var(--text-color);
}

.info-section p {
    max-width: 650px; /* Für bessere Lesbarkeit bei breiten Bildschirmen */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Klasse für linksbündigen Text auf rechtlichen Seiten */
.info-section.legal-text {
    text-align: left;
}

.info-section a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Header- und Footer-Stile */
.header-section {
    margin-bottom: 2.5em;
    padding: 1em 0;
}

.header-section nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.header-section nav a:hover,
.header-section nav a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section {
    margin-top: 3em;
    padding-top: 1em;
}

.footer-section p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}