/* Grundlegende Variablen */
:root {
    --primary-color: #002EAC;
    --secondary-color: #F4F4F4;
    --accent-color: #208ceb;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --spacing-unit: 1rem;
}

/* Allgemeine Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.logoleiste {
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logoleiste img {
  height: 80px;
  object-fit: contain;
}

.prelogo {
  max-width: 40%;
  height: auto;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .logoleiste img {
    height: 25px;
    max-width: 120px;
  }
    .prelogo {
        max-width: 80%;
    }
}


/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: var(--accent-color);
}

/* Navigation Styles */
.navbar {
    background-color: transparent !important; /* Transparent, um das Bild darunter sichtbar zu machen */
    position: absolute; /* Absolut positioniert über der Hero-Section */
    width: 100%; /* Damit die Navbar den gesamten Bildschirm abdeckt */
    z-index: 10; /* Überlagert die Inhalte der Hero-Section */
    box-shadow: none; /* Optional: Entfernt den Schatten */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Sanfter Übergang bei Scroll */
}

.navbar.scrolled {
    background-color: rgba(43, 76, 126, 0.8) !important; /* Halbdurchsichtige Farbe beim Scrollen */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Schatten beim Scrollen */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.5s ease;
    transition: 0.5s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    font-weight: bold;
    transition: 0.5s ease;
}

#logo {
    font-size: 2rem;
    padding: 0.5rem 1rem;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: var(--accent-color);
}


/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

#hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#hero .lead {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Hero Section Diashow */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dunkleres Overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Optional: Button-Stil für besseren Kontrast */
.hero-section .btn-primary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--secondary-color);
}

/* Sektionen */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: var(--spacing-unit);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Formular Styles */
.form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
}

footer a {
    color: var(--accent-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Listen Styles */
.list-group-item {
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0.5rem;
    }

    section {
        padding: 3rem 0;
    }

    #hero {
        min-height: 40vh;
    }
}

blockquote {
    background-color: white; /* oder */
}

.blockquote-footer {
    background-color: white; /
    * oder */
}

/* Animationen */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ScrollBar Styling */
::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 0px;
}