/* Explain: Added styles for cover lightbox and its related elements. */
.eyebrow {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-cinematic {
    position: relative;
    isolation: isolate;
}

.piano-hero-overlay {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--midnight-color) 92%, transparent), color-mix(in srgb, var(--midnight-color) 68%, transparent), color-mix(in srgb, var(--burgundy-color) 48%, transparent)),
        radial-gradient(circle at 72% 22%, color-mix(in srgb, var(--gold-color) 28%, transparent), transparent 23rem);
}

.piano-key-visual {
    position: absolute;
    right: -7vw;
    bottom: -3rem;
    width: min(54rem, 72vw);
    height: 15rem;
    transform: rotate(-8deg);
    opacity: 0.88;
    filter: drop-shadow(0 2rem 5rem rgba(0, 0, 0, 0.55));
}

.white-key,
.black-key {
    position: absolute;
    bottom: 0;
    border-radius: 0 0 1rem 1rem;
}

.white-key {
    width: 8.2%;
    height: 100%;
    background: linear-gradient(180deg, var(--ivory-color), color-mix(in srgb, var(--ivory-color) 74%, var(--slate-color)));
    border: 1px solid color-mix(in srgb, var(--midnight-color) 24%, transparent);
}

.black-key {
    z-index: 2;
    width: 4.3%;
    height: 62%;
    background: linear-gradient(180deg, #151923, var(--midnight-color));
    box-shadow: 0 0.8rem 1.4rem rgba(0, 0, 0, 0.45);
}

.note-float {
    position: absolute;
    color: color-mix(in srgb, var(--gold-color) 76%, transparent);
    opacity: 0.6;
    animation: noteDrift 7s ease-in-out infinite;
}

.note-float:nth-child(2) {
    animation-delay: -2s;
}

.note-float:nth-child(3) {
    animation-delay: -4s;
}

@keyframes noteDrift {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-1rem) rotate(6deg); }
}

.quote-card,
.contact-modal-card {
    position: relative;
    z-index: 10;
    border: 1px solid color-mix(in srgb, var(--gold-color) 32%, transparent);
    background: color-mix(in srgb, var(--surface-color) 74%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(24px);
}

.quote-card::before,
.contact-modal-card::before {
    content: "";
    position: absolute;
    inset: 0.7rem;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--ivory-color) 14%, transparent);
    border-radius: inherit;
}

.keyboard-form {
    border-top: 0.7rem solid var(--ivory-color);
    box-shadow: inset 0 0.34rem 0 var(--midnight-color);
}

.quote-status.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--gold-color) 48%, transparent);
    background: color-mix(in srgb, var(--gold-color) 18%, transparent);
    color: var(--ivory-color);
}

.quote-status.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--burgundy-color) 68%, transparent);
    background: color-mix(in srgb, var(--burgundy-color) 44%, transparent);
    color: var(--ivory-color);
}

.pain-card,
.service-card,
.photo-card,
.faq-card,
.timeline-card {
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--surface-color) 76%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
    backdrop-filter: blur(18px);
}

.review-card {
    border: 1px solid color-mix(in srgb, var(--ivory-color) 14%, transparent);
    border-radius: 2rem;
    background: color-mix(in srgb, var(--ivory-color) 8%, transparent);
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.pain-card:hover,
.service-card:hover,
.photo-card:hover,
.faq-card:hover,
.timeline-card:hover,
.review-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--gold-color) 50%, transparent);
    background: color-mix(in srgb, var(--surface-color) 92%, transparent);
}

.service-dot {
    display: inline-flex;
    height: 3.25rem;
    width: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--gold-color) 22%, transparent);
    color: var(--gold-color);
    border: 1px solid color-mix(in srgb, var(--gold-color) 40%, transparent);
}

.staff-divider {
    position: relative;
    overflow: hidden;
}

.staff-divider::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: 0;
    height: 6.5rem;
    opacity: 0.34;
    background: repeating-linear-gradient(180deg, transparent 0 0.72rem, color-mix(in srgb, var(--ivory-color) 26%, transparent) 0.76rem 0.82rem, transparent 0.86rem 1.34rem);
    transform: rotate(-2deg);
}

body.contact-modal-open {
    overflow: hidden;
}

.floating-contact-button {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem) scale(0.98);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

.floating-contact-button.floating-contact-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.contact-modal {
    z-index: 10000;
}

#hoerproben,
#spende,
#ueber-mich,
#entstehung,
#themen,
#werte,
#faq,
#kontakt {
    scroll-margin-top: 6.5rem;
}

.audio-progress-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: color-mix(in srgb, var(--ivory-color) 16%, transparent);
}

.audio-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-color), var(--primary-hover));
    transition: width 160ms linear;
}

.audio-sample-card.is-playing {
    border-color: color-mix(in srgb, var(--gold-color) 52%, transparent);
    background: color-mix(in srgb, var(--surface-color) 94%, transparent);
}

@media (min-width: 768px) {
    .floating-contact-button {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
        min-width: 14rem;
    }
}

.cover-lightbox.is-open {
    display: flex;
}

body.cover-lightbox-open {
    overflow: hidden;
}
