/* styles.css */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

header {
    text-align: center;
    padding: 20px;
    background-color: #ff9800;
    color: white;
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

section {
    text-align: center;
    max-width: 600px;
    width: 100%; /* Sicherstellen, dass die Breite 100% nicht überschreitet */
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Inklusive Padding und Border in der Breite */
}

section h2 {
    font-size: 1.5em;
    color: #ff9800;
}

.highlight {
    background-color: #ff9800;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.disclaimer {
    font-size: 0.8em;
    color: #555;
    margin-top: 20px;
}

/* Allgemeine Link-Stile */
a {
    color: #1a0dab;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ff9800;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #e68900;
    text-decoration: none;
}

/* Spezifische Stile für Impressumslink und E-Mail-Link */
.impressum-link,
.email-link {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-weight: normal;
    color: #bbb;
}

.impressum-link:hover,
.email-link:hover {
    text-decoration: underline;
    color: #888;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
        padding: 15px;
    }
    
    section h2 {
        font-size: 1.2em;
    }

    .highlight {
        font-size: 1em;
        padding: 4px 8px;
    }

    a {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}
