/* Zusätzliche Stile für die Blackice Consulting Website */

/* Verbesserte Animationen */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 0.8s ease-in-out forwards;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 0.8s ease-in-out forwards;
}

.slide-in-bottom {
    transform: translateY(50px);
    opacity: 0;
    animation: slideInBottom 0.8s ease-in-out forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Verbesserte Hover-Effekte */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(168, 208, 230, 0.2);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

/* Verbesserte Typografie */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.5px;
}

.subtitle {
    letter-spacing: 0.5px;
}

/* Verbesserte Formulare */
input:focus, textarea:focus, select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 208, 230, 0.2);
}

.error {
    border-color: var(--warning-color) !important;
}

.error-message {
    color: var(--warning-color);
    font-size: 14px;
    margin-top: 5px;
}

.success-message {
    background-color: rgba(93, 78, 140, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Verbesserte mobile Navigation */
.mobile-menu-btn, .close-menu-btn {
    transition: transform 0.3s;
}

.mobile-menu-btn:hover, .close-menu-btn:hover {
    transform: rotate(90deg);
}

.mobile-nav {
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

/* Verbesserte Abschnitte */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--secondary-color) 1px, transparent 1px),
        radial-gradient(var(--secondary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.02;
    z-index: 0;
}

/* Verbesserte Kontaktseite */
.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.contact-method:hover {
    transform: translateX(10px);
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--secondary-color);
}

/* Verbesserte Studiengangsseite */
.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--text-light);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: transform 0.3s, background-color 0.3s;
}

.card:hover .step-number {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

/* Verbesserte Dienstleistungsseite */
.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
    transition: transform 0.3s, color 0.3s;
}

.card:hover .service-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Verbesserte Über-Uns-Seite */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid var(--accent-color);
}

/* Verbesserte Startseite */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Verbesserte Footer */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Verbesserte Barrierefreiheit */
:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.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 Druckansicht */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    header, footer, .mobile-menu-btn, .btn {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .card {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
