
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #ffffff;
}
.maintenance-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.maintenance-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%,
        rgba(109, 151, 68, 0.03) 0%,
        transparent 50%);
    animation: ambientPulse 15s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ambientPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
}
.crane-scene {
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    animation: sceneEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes sceneEntrance {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.crane-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.08));
}
@keyframes jibRotation {
    0% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}
@keyframes hookSwing {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(4px) rotate(3deg);
    }
    75% {
        transform: translateX(-4px) rotate(-3deg);
    }
}
@keyframes trolleyMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.5;
    }
}
.crane-jib-assembly {
    animation: jibRotation 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-origin: 300px 115px;
    transform: translateZ(0);
    will-change: transform;
}
.crane-trolley {
    animation: trolleyMove 8s ease-in-out infinite;
    transform-origin: center;
    transform: translateZ(0);
    will-change: transform;
}
.crane-hook-system {
    animation: hookSwing 4s ease-in-out infinite;
    transform-origin: 383px 120px;
    transform: translateZ(0);
    will-change: transform;
}
.particle {
    animation: particleFloat 6s ease-in-out infinite;
    transform: translateZ(0);
    will-change: transform, opacity;
}
.p1 { animation-delay: 0s; }
.p2 { animation-delay: 1.2s; }
.p3 { animation-delay: 2.4s; }
.p4 { animation-delay: 3.6s; }
.p5 { animation-delay: 4.8s; }
@keyframes hookGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}
.hook-animation circle:last-child {
    animation: hookGlow 2s ease-in-out infinite;
}
.maintenance-text-content {
    animation: contentFadeIn 1s ease-out 0.4s backwards;
}
@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.maintenance-title {
    font-size: 4rem;
    font-weight: 800;
    color: #20234A;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.title-word {
    display: inline-block;
    animation: wordPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.word-1 { animation-delay: 0.5s; }
.word-2 {
    animation-delay: 0.65s;
    background: linear-gradient(135deg, #6D9744 0%, #5a7f37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.word-3 { animation-delay: 0.8s; }
.word-4 { animation-delay: 0.95s; }
.word-5 { animation-delay: 1.1s; }
@keyframes wordPop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.maintenance-description {
    font-size: 1.35rem;
    color: #4d5061;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: contentFadeIn 1s ease-out 0.8s backwards;
}
.btn-maintenance-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #6D9744 0%, #5a7f37 100%) !important;
    box-shadow:
        0 4px 12px rgba(109, 151, 68, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: contentFadeIn 1s ease-out 1s backwards;
    cursor: pointer;
    /* Improved touch target for mobile - WCAG 2.1 Level AA (minimum 44px) */
    min-height: 56px;
    touch-action: manipulation;
}
.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.btn-text {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.btn-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-maintenance-glass:hover {
    background: linear-gradient(135deg, #7aaa4d 0%, #6D9744 100%) !important;
    color: #ffffff !important; 
    box-shadow:
        0 6px 20px rgba(109, 151, 68, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.btn-maintenance-glass:hover .btn-icon {
    transform: translateX(10px);
}
.btn-maintenance-glass:active {
    background: linear-gradient(135deg, #5a7f37 0%, #4a6b2d 100%) !important;
    box-shadow:
        0 2px 8px rgba(109, 151, 68, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}
.btn-maintenance-glass:focus-visible {
    outline: 3px solid #20234A;
    outline-offset: 3px;
    box-shadow:
        0 4px 12px rgba(109, 151, 68, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 0 0 4px rgba(32, 35, 74, 0.2);
}
.btn-maintenance-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.6s;
    z-index: 1;
}
.btn-maintenance-glass:hover::before {
    left: 150%;
}
@media (max-width: 1200px) {
    .maintenance-title {
        font-size: 3.5rem;
    }
}
@media (max-width: 992px) {
    .maintenance-content {
        padding: 3rem 1.5rem;
    }
    .crane-scene {
        max-width: 500px;
        margin-bottom: 3rem;
    }
    .maintenance-title {
        font-size: 3rem;
    }
    .maintenance-description {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    .btn-maintenance-glass {
        padding: 1.3rem 3rem;
        font-size: 1.1rem;
    }
}
@media (max-width: 768px) {
    .maintenance-content {
        padding: 2.5rem 1rem;
    }
    .crane-scene {
        max-width: 400px;
        margin-bottom: 2.5rem;
    }
    .maintenance-title {
        font-size: 2.5rem;
        gap: 0.3rem;
    }
    .maintenance-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .btn-maintenance-glass {
        padding: 1.2rem 2.5rem;
        font-size: 1.05rem;
    }
}
@media (max-width: 576px) {
    .maintenance-content {
        padding: 2rem 1rem;
    }
    .crane-scene {
        max-width: 320px;
        margin-bottom: 2rem;
    }
    .maintenance-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.2rem;
    }
    .maintenance-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }
    .btn-maintenance-glass {
        padding: 1.1rem 2.2rem;
        font-size: 1rem;
        gap: 0.75rem;
        width: 100%;
        max-width: 350px;
        /* Enhanced mobile touch target */
        min-height: 56px;
    }
}
@media (max-width: 400px) {
    .crane-scene {
        max-width: 100%;
        padding: 0 1rem;
    }
    .maintenance-title {
        font-size: 1.75rem;
    }
    .maintenance-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .btn-maintenance-glass {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        /* Ensure adequate touch target */
        min-height: 56px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .crane-jib-assembly,
    .crane-trolley,
    .crane-hook-system,
    .particle,
    .maintenance-content::before,
    .btn-glow-layer,
    .btn-bg-layer {
        animation: none !important;
    }
    .btn-maintenance-glass {
        transition: none !important;
    }
    .btn-maintenance-glass::before {
        display: none;
    }
}
@media (prefers-contrast: high) {
    .maintenance-title {
        color: #000000;
        font-weight: 900;
    }
    .maintenance-description {
        color: #1a1a1a;
        font-weight: 600;
    }
    .btn-maintenance-glass {
        background: #000000 !important;
        border: 3px solid #000000;
        color: #ffffff;
    }
    .word-2 {
        margin-right: 10px;
        -webkit-text-fill-color: #000000;
        -webkit-background-clip: initial;
        background-clip: initial;
        background: none;
    }
}
@media print {
    .maintenance-content::before,
    .particles {
        display: none;
    }
    .crane-jib-assembly,
    .crane-trolley,
    .crane-hook-system {
        animation: none !important;
    }
    .btn-maintenance-glass {
        box-shadow: none;
        border: 2px solid #6D9744;
        color: #000000 !important;
        background: #ffffff !important;
    }
}
.maintenance-content.loading {
    opacity: 0;
}
body:not(.loading) .maintenance-content {
    animation: pageReady 0.6s ease-out;
}
@keyframes pageReady {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (hover: none) and (pointer: coarse) {
    .btn-maintenance-glass {
        /* Enhanced mobile touch target (WCAG 2.1 Level AAA) */
        min-height: 56px;
        color: white !important;
        padding: 1.2rem 2.5rem;
        /* Prevent double-tap zoom on iOS */
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(109, 151, 68, 0.3);
    }
    .btn-maintenance-glass:active {
        transform: scale(0.97);
        background: linear-gradient(135deg, #7aaa4d 0%, #6D9744 100%) !important;
    }
    /* Improve crane visibility on touch devices */
    .crane-scene {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Mobile Performance Optimierung (Lösung 1) */
@media (max-width: 992px) {
    /* 1. SVG-Filter deaktivieren (Hauptursache für Lags auf Mobilgeräten) */
    .crane-container, 
    .crane-cabin, 
    .hook-animation circle:last-child {
        filter: none !important;
    }
    /* 2. Hintergrund-Animation stoppen (spart GPU-Leistung) */
    .maintenance-content::before {
        animation: none !important;
        /* Statischer Gradient statt Animation */
        background: radial-gradient(circle at 50% 50%, rgba(109, 151, 68, 0.05) 0%, transparent 70%);
    }
    /* 3. Button-Schatten vereinfachen */
    .btn-maintenance-glass {
        box-shadow: 0 4px 10px rgba(109, 151, 68, 0.3) !important;
        backdrop-filter: none !important;
    }
}