/* Zuchau Website - Neues Design 2024 - Modern, Flexibel und Übersichtlich */

:root {
    /* Neue Farbpalette - Harmonisch und Zugänglich */
    --primary-color: #2563eb;      /* Klares Blau - modern und gut erkennbar */
    --secondary-color: #60a5fa;    /* Helleres Blau - frisch und freundlich */
    --accent-color: #f59e0b;       /* Warmes Gelb/Orange - einladend und auffällig */
    --success-color: #10b981;      /* Grün - frisch und positiv */
    --warning-color: #f97316;      /* Orange - wärmer und auffälliger */
    --danger-color: #ef4444;       /* Rot - klar und deutlich */
    --light-color: #f8fafc;        /* Sehr helles Grau - subtil und angenehm */
    --dark-color: #0f172a;         /* Sehr dunkles Blau - kontrastreich */
    --text-color: #1e293b;         /* Dunkles Blaugrau für Text - gut lesbar */
    --text-light: #ffffff;         /* Weiß */
    --text-muted: #64748b;         /* Gedämpftes Grau - zurückhaltend */
    
    /* Design-Elemente - Verbesserte Zugänglichkeit */
    --border-radius: 0.5rem;       /* Abgerundete Ecken */
    --border-radius-lg: 0.75rem;   /* Größere abgerundete Ecken */
    --border-radius-sm: 0.25rem;   /* Kleinere abgerundete Ecken */
    --box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 12px 16px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
    
    /* Abstände - Konsistent und luftig */
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 5rem;
}

body {
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--light-color);
    overflow-x: hidden;
    font-size: 1.05rem; /* Leicht größere Basisschriftgröße für bessere Lesbarkeit */
    font-weight: 400;
    scroll-behavior: smooth; /* Sanftes Scrollen für bessere Nutzererfahrung */
}

/* Verbesserte Typografie für alle Altersgruppen */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

h3 {
    font-size: 1.85rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
    position: relative;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Verbesserte Fokus-Stile für Barrierefreiheit */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
}

/* Textauswahl-Stil */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar - Neu gestaltet für bessere Zugänglichkeit und Übersichtlichkeit */
.navbar {
    padding: var(--spacing-md) 0;
    transition: all var(--transition-speed) ease;
}

.navbar-dark.bg-primary {
    background: var(--primary-color) !important;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--box-shadow-lg);
    background: rgba(37, 99, 235, 0.95) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    color: var(--text-light) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    transition: all var(--transition-speed) ease;
    margin-right: 0.75rem;
    height: 50px;
    width: auto;
}

.header-scrolled .navbar-brand img {
    transform: scale(0.9);
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.7rem 1.25rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    color: var(--text-light) !important;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--text-light) !important;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--text-light) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

/* Verbesserte Dropdown-Menüs */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    background-color: var(--light-color);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Hero-Bereich - Neu gestaltet für mehr Klarheit und Zugänglichkeit */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/zuchau-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12rem 0 10rem;
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(96, 165, 250, 0.6));
    z-index: 1;
    mix-blend-mode: multiply;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--light-color), transparent);
    z-index: 1;
    opacity: 0.15;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.hero .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease-out;
}

.hero .btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Animationen für den Hero-Bereich */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Karten und Boxen - Neu gestaltet für bessere Lesbarkeit und Zugänglichkeit */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    background-color: #ffffff;
    box-shadow: 0 6px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.card:hover::before {
    opacity: 1;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.card:hover .card-title::after {
    width: 60px;
}

.card-text {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.card-footer {
    background-color: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Spezielle Karten-Stile für verschiedene Inhaltstypen */
.card.news-card {
    border-left: 4px solid var(--primary-color);
}

.card.event-card {
    border-left: 4px solid var(--accent-color);
}

.card.info-card {
    border-left: 4px solid var(--success-color);
}

/* Verbesserte Karten für Seitenleiste */
.sidebar-card {
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.sidebar-card .card-header {
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.sidebar-card .list-group-item {
    padding: var(--spacing-md) var(--spacing-lg);
    transition: all var(--transition-speed) ease;
    border-left: 3px solid transparent;
}

.sidebar-card .list-group-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary-color);
}

.sidebar-card .list-group-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Buttons - Neu gestaltet für bessere Zugänglichkeit und Benutzerfreundlichkeit */
.btn {
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #1d4ed8; /* Leicht dunkleres Blau für Hover */
    border: none;
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    border: none;
    color: white;
}

.btn-accent:hover {
    background-color: #ea580c; /* Dunkleres Orange für Hover */
    border: none;
    color: white;
}

.btn-outline-light {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn i {
    margin-right: 0.5rem;
    transition: transform var(--transition-speed) ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Barrierefreie Buttons mit verbesserten Fokus-Zuständen */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

.btn-accent:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.4);
}

.btn-outline-light:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* News und Events - Neu gestaltet für bessere Übersichtlichkeit */
.news-item, .event-item {
    margin-bottom: 2.5rem;
    position: relative;
    border-radius: var(--border-radius-lg);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.news-item:hover, .event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-content, .event-content {
    padding: 1.5rem;
}

.news-date, .event-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.news-date i, .event-date i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.news-image, .event-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.news-item:hover .news-image, .event-item:hover .event-image {
    transform: scale(1.05);
}

.news-title, .event-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 700;
}

.news-excerpt, .event-excerpt {
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.calendar-event {
    padding: 1rem;
    border-left: 3px solid var(--accent-color);
    background-color: rgba(245, 158, 11, 0.05);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 1.25rem;
    transition: all var(--transition-speed) ease;
}

.calendar-event:hover {
    background-color: rgba(245, 158, 11, 0.1);
    transform: translateX(3px);
}

.calendar-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.calendar-event h6 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Footer - Neu gestaltet für bessere Lesbarkeit und Zugänglichkeit */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-xl);
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-color);
    z-index: 2;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.05;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

footer h5:hover::after {
    width: 60px;
}

/* Verbesserte Footer-Links */
footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

footer a:hover {
    color: var(--text-light);
    transform: translateX(3px);
}

footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

footer .social-icons {
    margin-top: var(--spacing-md);
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    margin-right: 0.75rem;
    transition: all var(--transition-speed) ease;
}

footer .social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer address p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

footer address p i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--accent-color);
}

footer p {
    opacity: 0.85;
    line-height: 1.8;
    font-size: 0.95rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    opacity: 0.85;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

footer a:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateX(5px);
}

footer .list-unstyled li {
    margin-bottom: var(--spacing-sm);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: var(--spacing-xl) 0 var(--spacing-lg);
}

footer .list-inline-item:not(:last-child) {
    margin-right: var(--spacing-lg);
}

footer .social-icons {
    margin-top: var(--spacing-md);
    display: flex;
    gap: 10px;
}

footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: var(--spacing-sm);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

footer .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: -1;
}

footer .social-icons a:hover::before {
    opacity: 1;
}

footer .social-icons a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

footer .social-icons a i {
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.25rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.15rem;
        max-width: 600px;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
        background-attachment: scroll;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    footer {
        padding: 4rem 0 2rem;
        clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
    }
    
    footer h5 {
        margin-top: 1.5rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    .btn {
        padding: 0.6rem 1.25rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
}

/* Moderne Animationen */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

.fade-in-delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-Animationen */
.reveal {
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal.active {
    transform: translateX(0);
    transform: translateY(0);
    transform: scale(1);
}

/* Hover-Effekte */
.hover-lift {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.hover-zoom {
    transition: transform var(--transition-speed) ease;
    overflow: hidden;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

.hover-zoom img {
    transition: transform var(--transition-speed) ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* Glassmorphism-Effekte */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Kontaktformular */
.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    background-color: #f9fafb;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
    background-color: white;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.contact-info h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
}

.contact-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-info i {
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    width: 20px;
    text-align: center;
}

.contact-info .contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info .contact-text {
    flex: 1;
}

/* Sektionen */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-padding {
    padding: 5rem 0;
}

.section-bg-light {
    background-color: #f9fafb;
}

.section-bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.section-bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.section-bg-primary .section-title {
    color: white;
}

.section-bg-primary .section-title::after {
    background: white;
}

/* Veranstaltungskalender */
.calendar-event {
    border-left: 4px solid var(--secondary-color);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.calendar-event:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.calendar-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 0;
}

.calendar-event:hover::before {
    opacity: 0.03;
}

.calendar-date {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.calendar-event h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.calendar-event p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.calendar-event .btn {
    margin-top: 0.5rem;
}

/* Events und News */
.event-item, .news-item {
    transition: all var(--transition-speed) ease;
    margin-bottom: 2rem;
}

.event-item:hover, .news-item:hover {
    transform: translateY(-5px);
}

.event-image, .news-image {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}

.event-image img, .news-image img {
    transition: all var(--transition-speed) ease;
}

.event-item:hover .event-image img, .news-item:hover .news-image img {
    transform: scale(1.05);
}

.event-date, .news-date {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--secondary-color);
    color: #2e54bd;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.pagination .page-item {
    margin: 0 0.125rem;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    box-shadow: 0 4px 6px rgba(66, 153, 225, 0.3);
    color: white;
}

.pagination .page-link {
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 0.6rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.pagination .page-link:hover {
    background-color: rgba(66, 153, 225, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-item {
    font-weight: 500;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--box-shadow);
    padding: 1.25rem;
    position: relative;
    border-left: 5px solid;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left-color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-left-color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-left-color: var(--warning-color);
}

.alert-info {
    background-color: rgba(66, 153, 225, 0.1);
    color: #1e40af;
    border-left-color: var(--secondary-color);
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: currentColor;
    opacity: 0.5;
    transition: opacity var(--transition-speed) ease;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

/* Zusätzliche Utility-Klassen für mehr Flexibilität */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: var(--box-shadow);
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg);
}

.rounded {
    border-radius: var(--border-radius);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-sm {
    border-radius: var(--border-radius-sm);
}

.rounded-circle {
    border-radius: 50%;
}

.border-light {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-glass {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-glass-dark {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Verbesserte Lesbarkeit und Abstände */
.container, .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.row {
    margin-left: -1rem;
    margin-right: -1rem;
}

.row > [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 992px) {
    .container, .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .row {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
    
    .row > [class*="col-"] {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Verbesserte Tabellen */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table-modern thead th {
    background: linear-gradient(to right, rgba(15, 76, 129, 0.05), rgba(66, 153, 225, 0.05));
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-modern tbody td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

.table-modern tbody tr {
    transition: all var(--transition-speed) ease;
}

.table-modern tbody tr:hover {
    background-color: rgba(66, 153, 225, 0.05);
}

/* Moderne Komponenten */
.feature-box {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-box .icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.feature-box:hover .icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.feature-box h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

/* Glassmorphism Komponenten */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
}

/* Moderne Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.badge-accent {
    background-color: var(--accent-color);
    color: white;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

.shadow {
    box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg) !important;
}

/* Hover-Effekte */
.hover-zoom {
    transition: transform var(--transition-speed) ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.hover-shadow:hover {
    box-shadow: var(--box-shadow-lg);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Zusätzliche Verbesserungen für Barrierefreiheit und Benutzerfreundlichkeit */
.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.4);
    border: 2px solid white;
}

/* Verbesserte Barrierefreiheit */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Verbesserte Fokus-Stile für Barrierefreiheit */
:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

/* Responsive Typografie */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.85rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
}

/* Verbesserte Kontraste für Barrierefreiheit */
.text-muted {
    color: #4b5563 !important; /* Dunkleres Grau für besseren Kontrast */
}

/* Verbesserte Lesbarkeit für Formulare */
input, select, textarea {
    font-size: 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid #d1d5db !important;
    transition: all var(--transition-speed) ease !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Verbesserte Tabellen */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-bottom: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(37, 99, 235, 0.05);
}

/* Verbesserte Lesbarkeit für ältere Nutzer */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Verbesserte Lesbarkeit für Inhalte */
.content-section {
    line-height: 1.8;
}

.content-section p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.content-section ul, .content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Verbesserte Wetter-Karte */
.weather-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, #60a5fa, #2563eb);
    color: white;
}

.weather-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-card .card-body {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Verbesserte Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background-color: rgba(37, 99, 235, 0.1);
    color: #1e40af;
    border-left: 4px solid #2563eb;
}

/* Neue Stile für die überarbeitete Startseite */
.hero-buttons {
    margin-top: 2rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.features-section {
    padding: 5rem 0;
}

.highlights-section {
    padding: 5rem 0;
    position: relative;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.highlights-section .container {
    position: relative;
    z-index: 1;
}

.highlights-section img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.highlights-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.highlights-section h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.highlights-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.highlights-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Verbesserte Karten für News und Events */
.news-card .card-img-top, .event-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

/* Verbesserte Wetter-Karte */
.weather-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, #60a5fa, #2563eb);
    color: white;
    margin-bottom: var(--spacing-lg);
}

.weather-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.weather-card .card-body {
    background-color: rgba(255, 255, 255, 0.1);
}

.weather-card .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.weather-card .list-inline {
    margin-bottom: 0;
}

.weather-card .list-inline-item {
    margin-bottom: 0.5rem;
}

/* Verbesserte Barrierefreiheit für Formulare */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Header Scroll Effect */
.header-scrolled {
    padding: 5px 0;
    box-shadow: var(--box-shadow);
}

.header-scrolled .navbar-brand img {
    height: 40px;
    transition: all var(--transition-speed) ease;
}

/* Abschnitte */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 0;
}

/* Testimonials */
.testimonial {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.breaking-news {
    background-color: #6271a9;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.5rem 0;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    z-index: 1000;
}

.news-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
