/* Grundkonfiguration */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    /* Dein Logo-Grau für den Haupttext */
    color: #4D4D4D; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout für die Landingpage-Mitte (index.html) */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Container für Logo (SVG) */
.logo-container {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Überschrift auf Landingpage */
h1 {
    font-weight: 300;
    color: #4D4D4D; /* Dein Logo-Grau */
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Layout für Textseiten (Impressum/Datenschutz) */
.content-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h1 {
    font-weight: bold;
    color: #4D4D4D; /* Dein Logo-Grau */
    border-bottom: 2px solid #F7931E; /* Dein Logo-Orange als Akzent */
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.card h2 {
    font-size: 1.1rem;
    color: #4D4D4D;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Hyperlinks in deinem Logo-Orange #F7931E */
a {
    color: #F7931E;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Dezenter zweizeiliger Footer */
footer {
    background-color: #fff;
    padding: 15px 10px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

.footer-links {
    margin-top: 5px;
}

.footer-links a {
    color: #4D4D4D; /* Footer-Links in Grau für Dezentheit */
    margin: 0 10px;
}

.footer-links a:hover {
    color: #F7931E; /* Orange erst beim Hover */
}

.footer-links span {
    color: #ddd;
    font-size: 0.8rem;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .content-container {
        margin: 20px auto;
    }
    h1 {
        font-size: 1.1rem;
    }
}

/* --- Portal Navigation (Ghost Buttons) --- */

.portal-nav {
    display: flex;
    gap: 15px;              /* Abstand zwischen den Buttons */
    margin-top: 30px;       /* Abstand zur Überschrift */
    flex-wrap: wrap;        /* Umbruch auf kleinen Handys erlauben */
    justify-content: center;
}

.portal-btn {
    display: inline-block;
    padding: 10px 25px;
    
    /* Dezenter Look: Weißer Hintergrund, feiner grauer Rand */
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;     /* Leicht abgerundete Ecken */
    
    /* Typografie */
    color: #4D4D4D;         /* Dein Logo-Grau (nicht Orange!) */
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    
    /* Sanfte Animation */
    transition: all 0.2s ease;
}

/* Hover-Effekt: Erst jetzt wird es Orange */
.portal-btn:hover {
    border-color: #F7931E;       /* Rahmen wird Orange */
    color: #F7931E;              /* Text wird Orange */
    transform: translateY(-2px); /* Button schwebt leicht hoch */
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(247, 147, 30, 0.1); /* Ganz zarter Schatten */
    text-decoration: none;       /* Unterstreichung verhindern */
    opacity: 1;                  /* Opacity-Regel von globalen Links überschreiben */
}

/* Mobile Anpassung: Auf sehr kleinen Screens untereinander */
@media (max-width: 400px) {
    .portal-nav {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .portal-btn {
        width: 100%;
        text-align: center;
    }
}