/* General Styles */
:root {
    --primary-color: #0056b3;    /* Kontrastreicherer Blau für bessere Barrierefreiheit */
    --primary-dark: #004085;     /* Dunkleres Blau */
    --primary-light: #9ec5fe;    /* Helleres Blau */
    --secondary-color: #495057;  /* Kontrastreicherer Grau für bessere Barrierefreiheit */
    --accent-color: #0dcaf0;     /* Bootstrap Türkis */
    --text-color: #212529;       /* Bootstrap Dunkel */
    --light-gray: #f8f9fa;       /* Bootstrap Hellgrau */
    --white: #ffffff;
}

/* Optimierte CSS-Variablen für bessere Performance */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    font-size: 1rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section mit Parallax */
.hero-section {
    background: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-section:hover .container {
    transform: translateY(-10px);
}

.hero-section h1 {
    color: rgba(255, 255, 255, 1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0;
}

.hero-section .nav-link {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: white;
    margin: 0 1rem;
}

.hero-section .nav-link:hover {
    color: #0d6efd;
}

/* Navigation mit verbesserten Kontrasten */
.navbar {
    background: rgba(25, 55, 109, 0.95) !important;  /* Dunkleres Blau */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1rem;
}

.navbar-brand {
    font-weight: bold;
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-brand:hover {
    color: #1a5f7a !important;
}

.navbar-brand .company-name {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

.navbar-brand:hover .company-name {
    color: #ffffff;
}

.navbar-brand .company-legal {
    font-size: 0.85rem;
    color: #e0e0e0;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s ease;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

.navbar-brand:hover .company-legal {
    color: #e0e0e0;
}

.company-slogan {
    color: #ffffff;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.navbar-brand .small-text {
    font-size: 0.8rem;
    font-weight: normal;
    vertical-align: middle;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    color: #ffffff !important;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #1a5f7a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #1a5f7a !important;
}

/* Mobile Navigation Styles */
@media (max-width: 991px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        transition: transform 0.3s ease;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        max-width: 160px;
        height: 65vh;
        background: rgba(106, 17, 203, 0.95);
        padding: 0.75rem;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        margin-top: 60px;
        border-radius: 10px 0 0 10px;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        padding: 0.75rem 0;
    }

    .nav-item {
        margin: 0.25rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9) !important;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        padding-left: 0.8rem;
    }

    /* Overlay when menu is open */
    .navbar-collapse::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .navbar-collapse.show::before {
        opacity: 1;
        visibility: visible;
    }

    /* Adjust navbar toggler position */
    .navbar-toggler {
        position: relative;
        z-index: 1060;
        padding: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.2s ease;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    }

    .company-slogan-mobile {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        margin-top: 0.2rem;
        padding: 0.2rem 0;
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Icons */
.fa-3x {
    color: var(--primary-color);
}

/* Contact Form */
.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Contact Section mit modernen Effekten */
.contact-info {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(13, 110, 253, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-info:hover::before {
    opacity: 1;
}

.contact-item {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem;
    border-radius: 8px;
    flex: 1;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(13, 110, 253, 0.05);
}

.contact-item:hover::after {
    width: 100%;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item:hover i {
    transform: scale(1.2) rotate(360deg);
    color: var(--accent-color);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-item:hover h3 {
    color: var(--primary-color);
}

.contact-item p {
    margin: 0;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.contact-item:hover p {
    color: var(--text-color);
}

.whatsapp-link {
    color: #1a5f7a;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1e9e5a;
    transition: width 0.3s ease;
}

.whatsapp-link:hover {
    color: #1e9e5a;
}

.whatsapp-link:hover::after {
    width: 100%;
}

/* Responsive Anpassungen für Kontaktbereich */
@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-content .lead {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.about-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.about-content ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.about-content ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .about-content .lead {
        font-size: 1.1rem;
    }
}

/* Aktuelles Section */
.blog-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    text-decoration-color: #007bff;
    text-underline-offset: 10px;
}

.aktuelles-date {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.aktuelles-title {
    font-size: 1.3rem;
    margin: 0.8rem 0;
    color: var(--primary-color);
    font-weight: 600;
}

.aktuelles-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Aktuelles iframe Container */
.aktuelles-iframe-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.aktuelles-iframe-container:hover {
    transform: translateY(-5px);
}

.aktuelles-iframe-container iframe {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Aktuelles Section Header */
#aktuelles h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

#aktuelles h2::after {
    display: none;  /* Unterstreichung entfernen */
}

/* Section Headers */
section {
    padding: 2rem 0;
}

section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Services Section */
.service-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--secondary-color);
    font-weight: normal;
}

.contact-item i {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Aktuelles Section */
head1 {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }
    
    html {
        scroll-padding-top: 60px;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .hero-section {
        height: 60vh;
        padding-top: 40px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about-content h3,
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
    }
    
    .aktuelles-content {
        padding: 1.5rem;
    }
    
    .aktuelles-item {
        padding: 1.2rem;
    }
    
    .aktuelles-title {
        font-size: 1.2rem;
    }
    
    .about-content h3 {
        font-size: 1.75rem;
    }
    
    .about-content .lead {
        font-size: 1.1rem;
    }
}

/* Sections */
.bg-light {
    background-color: var(--light-gray) !important;
}

/* Service Items */
.service-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(13, 110, 253, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-item:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: var(--primary-color);
    transform: rotate(360deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon i {
    color: var(--white);
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--secondary-color);
    flex-grow: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 1.5rem 0;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

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

footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Höhe der Navigation */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        padding-top: 40px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .about-content,
    .service-item,
    .contact-info {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo,
    .footer-button {
        max-width: 150px;
        margin: 1rem auto;
    }
}

/* E-Mail Link Styling */
.email-link {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link:hover {
    color: #004085;
    text-decoration: underline;
}

/* Performance Optimierungen */
img {
    max-width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

/* Lazy Loading für Bilder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #343a40;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.cookie-banner a {
    text-decoration: underline;
}

.cookie-banner .btn {
    padding: 0.5rem 1.5rem;
}

.cookie-banner .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cookie-banner .btn-outline-light {
    border-color: white;
    color: white;
}

.phone-link {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.phone-link:hover {
    color: #004085;
    text-decoration: none;
}

.phone-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0056b3;
    transition: width 0.3s ease;
}

.phone-link:hover::after {
    width: 100%;
}

/* Container Anpassungen */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Services Section */
.services-list {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

/* Contact Section */
.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Aktuelles Section */
.aktuelles-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .about-content,
    .services-list,
    .contact-info,
    .aktuelles-content {
        padding: 1rem;
    }
    
    .about-content,
    .service-item,
    .contact-info {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo,
    .footer-button {
        max-width: 150px;
        margin: 1rem auto;
    }
}

.company-slogan-mobile {
    font-size: 0.9rem;
    color: white;
    margin-top: 0.5rem;
    padding: 0 1rem;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .company-legal {
        font-size: 0.7rem;
    }
}

/* Verbesserte mobile Lesbarkeit */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section {
        padding: 2rem 0;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p, li {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .service-item {
        margin-bottom: 1.5rem;
    }

    .aktuelles-content iframe {
        min-height: 400px;
    }
}

/* Optimierte Übergänge */
* {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Verbesserte Kontraste für Barrierefreiheit */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Verbesserte Fokus-Stile */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Verbesserte Lesbarkeit */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Verbesserte Kontraste */
.contact-item h3,
.service-item h3 {
    color: var(--text-color);
}

.contact-item p,
.service-item p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Verbesserte Touch-Targets */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    .contact-item,
    .service-item {
        min-height: 44px;
        padding: 12px 16px;
    }
    
    .navbar-toggler {
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Optimierte Animationen */
@media (prefers-reduced-motion: no-preference) {
    .service-item:hover,
    .contact-info:hover,
    .footer-logo:hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

/* Optimierte Media Queries */
@media (max-width: 768px) {
    :root {
        --font-size-base: 0.9rem;
    }
    
    body {
        font-size: var(--font-size-base);
    }
    
    .container {
        padding: 0 10px;
    }
}

.phone-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 15px 0;
    text-align: left;
    z-index: 2;
}

.phone-stripe span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-stripe i {
    font-size: 1.1rem;
}

.glossar-section {
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

.glossar-section .container-fluid {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

.glossar-section .row {
    margin: 0;
}

.glossar-section .col-md-8 {
    padding: 0;
}

.glossar-content {
    margin: 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .glossar-section {
        padding: 0;
        margin: 0;
    }
    
    .glossar-content {
        margin: 0;
        padding: 20px;
        border-radius: 0;
    }
}

.alphabet-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.alphabet-nav a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.alphabet-nav a:hover {
    color: #004085;
}

.glossar-content h1 {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.glossar-content {
    text-align: left;
}

@media (max-width: 768px) {
    .alphabet-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
} 