* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Timer Container */
.timer-container {
    margin-top: 40px;
    margin-bottom: 30px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.timer-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
}

.time-unit {
    display: flex;
    gap: 8px;
}

.digit-box {
    background: #000000;
    color: #ffffff;
    width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    border: 3px solid #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.separator {
    display: flex;
    align-items: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 5px;
}

/* Vinyl Container */
.vinyl-container {
    position: relative;
    width: 500px;
    height: 300px; /* Angepasst für zugeschnittene Bilder */
    margin-top: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.vinyl-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.vinyl-container:hover .vinyl-wrapper {
    transform: scale(1.075);
}

.cover {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: transform 0.5s ease;
}

.cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vinyl {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    transform: translateX(-50px);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.vinyl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vinyl-container:hover .vinyl,
.vinyl-container.vinyl-out .vinyl {
    transform: translateX(20px);
}

/* Content Row */
.content-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.vorbestellen-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 400px;
}

.vorbestellen-container h2,
.vorbestellen-container p {
    text-align: center;
}

.vorbestellen-btn {
    background: #000000;
    color: #ffffff;
    border: 3px solid #000000;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vorbestellen-btn:hover {
    background: #ffffff;
    color: #000000;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    width: 30px;
    height: 30px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background: #ffffff;
    color: #000000;
}

.quantity-input {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    line-height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input::-moz-number-spin-box {
    display: none;
}

/* Text Labels */
.text-labels {
    margin-top: 30px;
    text-align: center;
}

.text-labels p {
    font-size: 18px;
    margin: 8px 0;
    letter-spacing: 1px;
}

.presave {
    font-weight: bold;
    margin-top: 15px;
    color: black;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .content-row {
        flex-direction: column;
        gap: 30px;
    }

    .vorbestellen-container {
        width: 100%;
        max-width: 400px;
    }

    .vinyl-container {
        width: 100%;
        max-width: 500px;
        height: calc(width * 0.6);
    }

    .vorbestellen-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .quantity-btn {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .quantity-input {
        width: 40px;
        height: 25px;
        font-size: 14px;
    }

    .timer {
        gap: 10px;
    }

    .timer-unit {
        gap: 8px;
    }

    .timer-label {
        font-size: 11px;
    }

    .digit-box {
        width: 35px;
        height: 50px;
        font-size: 24px;
    }

    .separator {
        font-size: 24px;
        margin: 0 2px;
    }

    .text-labels p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        gap: 30px;
    }

    .vorbestellen-container {
        width: 100%;
        max-width: 400px;
    }

    .vinyl-container {
        width: 100%;
        max-width: 350px;
        height: calc(width * 0.6);
    }

    .vorbestellen-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .quantity-btn {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .quantity-input {
        width: 40px;
        height: 25px;
        font-size: 14px;
    }

    .timer {
        gap: 10px;
    }

    .timer-unit {
        gap: 8px;
    }

    .timer-label {
        font-size: 11px;
    }

    .digit-box {
        width: 35px;
        height: 50px;
        font-size: 24px;
    }

    .separator {
        font-size: 24px;
        margin: 0 2px;
    }

    .text-labels p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .content-row {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .vorbestellen-container {
        width: 100%;
        max-width: 400px;
    }

    .vinyl-container {
        width: 100%;
        max-width: 280px;
        height: calc(width * 0.6);
        margin-top: 0;
    }

    .vorbestellen-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .quantity-btn {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .quantity-input {
        width: 35px;
        height: 20px;
        font-size: 12px;
    }

    body {
        padding: 10px;
    }

    .timer-container {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .timer {
        gap: 6px;
    }

    .timer-unit {
        gap: 6px;
    }

    .timer-label {
        font-size: 9px;
    }

    .digit-box {
        width: 28px;
        height: 40px;
        font-size: 18px;
        border: 2px solid #000000;
    }

    .separator {
        font-size: 18px;
        margin: 0 1px;
    }

    .vinyl-container:hover .vinyl-wrapper {
        transform: scale(1.05);
    }

    .text-labels {
        margin-top: 20px;
    }

    .text-labels p {
        font-size: 14px;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    body {
        padding: 5px;
    }

    .timer-container {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .content-row {
        margin-top: 5px;
    }

    .vinyl-container {
        margin-top: 0;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    body {
        padding: 5px;
    }

    .timer-container {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .content-row {
        margin-top: 5px;
    }

    .vinyl-container {
        margin-top: 0;
    }
}

/* Legal Footer */
.legal-footer {
    width: 100%;
    max-width: 1200px;
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.footer-links a:hover {
    border-bottom: 2px solid #000;
}

.footer-copyright {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-footer {
        margin-top: 40px;
        padding: 20px 10px;
    }
}
