/**
 * Spezifische Stile für die Impressum- und Datenschutzseiten
 */

/* Padding für den Hauptinhalt, damit er nicht vom Header überlagert wird */
body {
    padding-top: 80px; /* Platz für den sticky Header */
}

/* Header-Stile */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #212529;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    padding: 15px 0;
}

#header.header-scrolled {
    background: rgba(33, 37, 41, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Hero-Bereich für die Rechtsseiten */
.legal-hero {
    background-image: linear-gradient(135deg, #212529 0%, #343a40 100%); /* Fallback Gradient */
    background-size: cover;
    background-position: center;
    padding: 45px 0 30px;
    position: relative;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 20px;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.5);
    z-index: 1;
}

.legal-hero .container {
    position: relative;
    z-index: 2;
}

.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Anpassungen für die Page-Header-Sektion */
.page-header {
    padding: 0;
    margin-top: 0;
    margin-bottom: 30px;
    background-color: transparent;
    border-bottom: none;
    position: relative;
    z-index: 1;
}

/* Breadcrumb-Stile */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    color: #fff;
}

.breadcrumb-item a {
    color: #FF6600;
    opacity: 0.9;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #fff;
}

/* Anpassungen für die Content-Box */
.content-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Überschriften im Inhalt */
.content-box h2 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box h3 {
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.content-box h4 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* Textformatierung */
.content-box p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
}

.content-box ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-box ul li {
    margin-bottom: 8px;
    color: #666;
}

/* JavaScript für Sticky Header */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    transition: all 0.3s ease;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .legal-hero {
        padding: 80px 0 20px;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    body {
        padding-top: 70px;
    }
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 70px 0 15px;
    }
    
    .legal-hero h1 {
        font-size: 1.8rem;
    }
    
    .content-box {
        padding: 20px;
    }
    
    body {
        padding-top: 60px;
    }
} 