/* Reset & Custom Properties */
:root {
    /* Atmospheric Watercolor Palette sampled directly from header painting */
    --color-bg: #0C0F14;          /* Deep evening lake midnight (replaces cold pitch black) */
    --color-bg-alt: #131820;      /* Muted dusk slate (replaces flat #121212) */
    --color-text: #F5F1E8;        /* Warm watercolor paper cream */
    --color-text-muted: #9BA4A8;  /* Muted mountain lake stone */
    
    /* Watercolor Accents */
    --color-accent: #D8A870;      /* Warm golden sunlight ochre */
    --color-accent-blue: #7D95A7; /* Serene mountain lake blue */
    --color-accent-sage: #8A9A78; /* Meadow hill sage */
    --color-accent-rose: #C2A5B0; /* Sunset cloud mauve */
    
    --color-border: rgba(125, 149, 167, 0.18);       /* Subtle lake-slate border */
    --color-border-hover: rgba(216, 168, 112, 0.4);   /* Warm golden sunlight hover */
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7.5vw, 6rem);
    font-weight: 700;
    line-height: 1.1; /* Increased height to not clip 'J' or 'Ä' */
    letter-spacing: -0.02em;
    text-transform: uppercase;
    padding-bottom: 0.2em; /* Gives the 'J' loop plenty of room to drop without getting clipped by the container! */
    padding-left: 0.05em; /* Just in case it clips the left side too */
}

.title.indent {
    padding-left: 2rem;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FFFFFF; /* Weisse Schrift */
    font-weight: 600;
    display: inline-block;
    background-color: #1F2124; /* Dunkles Anthrazit */
    padding: 0.4rem 1rem;
    border-radius: 2px;
    text-shadow: none;
}

.section-title {
    font-size: clamp(2rem, 3.3vw, 2.75rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
}

.body-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.mt-2 { margin-top: 2rem; }

/* Buttons – Standard-Stil (fuer Get in Touch & Send Message) */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    transition: transform var(--transition-fast);
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: color var(--transition-fast);
}

.btn:hover::before {
    transform: translateY(-100%);
}

.btn:hover {
    color: var(--color-text);
}

/* Nur der 1. Button ("Collaborate" in About): künstlerisch-malerischer Aquarell-Stil & Hover-Effekt */
.btn-collaborate {
    padding: 1.05rem 2.7rem;
    background-color: transparent;
    background-image:
        linear-gradient(
            120deg,
            rgba(226, 184, 192, 0.34) 0%,
            rgba(132, 174, 212, 0.38) 38%,
            rgba(238, 202, 132, 0.42) 74%,
            rgba(168, 190, 120, 0.36) 100%
        ),
        url('images/header painting.jpg');
    background-size: 200% 200%, 320% auto;
    background-position: 0% 50%, 20% 22%;
    color: #12151B;
    border: 1px solid rgba(235, 206, 158, 0.55);
    border-radius: 4px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.32),
        0 0 16px rgba(132, 174, 212, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
    transition:
        background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.btn-collaborate::before {
    display: none;
}

.btn-collaborate::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 15%,
        rgba(255, 248, 232, 0.45) 48%,
        rgba(242, 205, 138, 0.35) 58%,
        transparent 85%
    );
    transform: translateX(-120%);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}

.btn-collaborate:hover {
    background-position: 100% 50%, 82% 24%;
    color: #0B0D12;
    border-color: rgba(245, 218, 168, 0.9);
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.42),
        0 0 26px rgba(238, 202, 132, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-collaborate:hover::after {
    transform: translateX(120%);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
}

.btn-outline::before {
    background-color: var(--color-text);
}

.btn-outline:hover {
    color: var(--color-bg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2.6rem 0;
    z-index: 100;
    transition: padding 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .logo {
    color: #000000;
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .nav-links a {
    color: #000000;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width var(--transition-fast), background-color 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.navbar .hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #000000;
    transition: transform var(--transition-fast), opacity var(--transition-fast), background-color 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    left: 0;
}

.navbar.scrolled {
    padding: 1.4rem 0;
    border-bottom: none;
}

/* Milchglas-Hintergrund existiert erst beim Scrollen (nicht auf dem Startscreen bei scrollY=0) und blendet in beide Richtungen butterweich ein/aus */
.navbar.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -6.5rem;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(12, 15, 20, 0.72) 0%,
        rgba(12, 15, 20, 0.62) 32%,
        rgba(12, 15, 20, 0.44) 52%,
        rgba(12, 15, 20, 0.24) 68%,
        rgba(12, 15, 20, 0.10) 82%,
        rgba(12, 15, 20, 0.02) 92%,
        rgba(12, 15, 20, 0) 100%
    );
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 35%,
        rgba(0, 0, 0, 0.82) 50%,
        rgba(0, 0, 0, 0.52) 66%,
        rgba(0, 0, 0, 0.24) 80%,
        rgba(0, 0, 0, 0.06) 91%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 35%,
        rgba(0, 0, 0, 0.82) 50%,
        rgba(0, 0, 0, 0.52) 66%,
        rgba(0, 0, 0, 0.24) 80%,
        rgba(0, 0, 0, 0.06) 91%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.scrolled.on-dark::before {
    opacity: 1;
}

.navbar.scrolled.on-dark .logo {
    color: var(--color-text);
}

.navbar.scrolled.on-dark .nav-links a {
    color: var(--color-text);
}

.navbar.scrolled.on-dark .nav-links a::after {
    background-color: var(--color-accent);
}

.navbar.scrolled.on-dark .hamburger span {
    background-color: var(--color-text);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-signature {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -30%) scale(0.94);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-signature img {
    height: 78px;
    width: auto;
    display: block;
}

.nav-signature .sig-light {
    transition: opacity 0.45s ease;
}

.nav-signature .sig-color {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    pointer-events: none;
}

.navbar.scrolled.on-dark .nav-signature {
    opacity: 1;
    transform: translate(-50%, -44%) scale(1);
    pointer-events: auto;
}

.navbar.scrolled.on-dark .nav-signature:hover {
    transform: translate(-50%, -44%) scale(1.04);
}

.navbar.scrolled.on-dark .nav-signature:hover .sig-light {
    opacity: 0.15;
}

.navbar.scrolled.on-dark .nav-signature:hover .sig-color {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
}

.logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.12em;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin-right: -1.8vw;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 26px;
    position: relative;
    z-index: 101;
}

.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }

.hamburger.active span:first-child {
    transform: translateY(12.5px) rotate(45deg);
}

.hamburger.active span:last-child {
    transform: translateY(-12.5px) rotate(-45deg);
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    display: none;
}

/* Weicher Uebergang vom Titelbild in den dunklen Seitenhintergrund */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(12, 15, 20, 0) 0%,
        rgba(12, 15, 20, 0.04) 25%,
        rgba(12, 15, 20, 0.2) 50%,
        rgba(12, 15, 20, 0.55) 75%,
        var(--color-bg) 100%
    );
}

.hero .title {
    color: #FFFFFF;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    top: -5.2vh;
    z-index: 1;
}

.reveal-text {
    overflow: hidden;
}

/* "Jonathan" etwas tiefer, naeher an "Schaefer" */
.hero-content .reveal-text:not(.delay-1):not(.delay-2) {
    position: relative;
    top: clamp(0.5rem, 1.4vw, 1.2rem);
}

.reveal-text + .reveal-text {
    margin-top: -0.2em; /* Elegantly tightens the gap between lines while keeping the anti-clip padding intact */
}

.reveal-text > * {
    transform: translateY(38%);
    opacity: 0;
    animation: revealUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.delay-1 > * { animation-delay: 0.38s; }
.delay-2 > * { animation-delay: 0.6s; }

/* Bio Section */
.bio {
    background-color: var(--color-bg);
}

/* "About"-Ueberschrift etwas hoeher */
.bio .section-title {
    position: relative;
    top: -1.2rem;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.bio-image-wrapper {
    position: relative;
    height: 80vh;
    overflow: hidden;
    border-radius: 14px;
}

.bio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform var(--transition-slow);
}

.bio-image-wrapper:hover .bio-img {
    transform: scale(1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--color-bg);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: top;
}

.reveal-element.is-visible .img-overlay {
    transform: scaleY(0);
}

/* Music Section */
.music {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.15rem 1.15rem 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-fast), box-shadow 0.4s ease, background var(--transition-fast);
}

.video-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
    border-radius: 11px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 11px;
}

.video-info {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0.15rem 0.35rem 0;
}

.video-num {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.video-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
    font-weight: 400;
}

.video-details span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Works Categories & Audio Player */
.works-category-header {
    margin-bottom: 2.5rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 0.04em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 1px;
    background-color: var(--color-accent);
}

.audio-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Audio Track Card - schlichter Rahmen, bunte Aquarell-Playbuttons & gespielte Waveform */
.audio-track-card {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 2.2rem 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.audio-track-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.035);
}

.audio-track-card.playing {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.audio-card-top {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.audio-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-image:
        linear-gradient(
            120deg,
            rgba(226, 184, 192, 0.36) 0%,
            rgba(132, 174, 212, 0.40) 38%,
            rgba(238, 202, 132, 0.44) 74%,
            rgba(168, 190, 120, 0.38) 100%
        ),
        url('images/header painting.jpg');
    background-size: 200% 200%, 320% auto;
    background-position: 0% 50%, 20% 22%;
    color: #12151B;
    border: 1px solid rgba(235, 206, 158, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    flex-shrink: 0;
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.35),
        0 0 14px rgba(132, 174, 212, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.audio-play-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.45));
    transition: transform var(--transition-fast);
}

.audio-play-btn .play-icon {
    margin-left: 3px;
}

.audio-play-btn:hover,
.audio-track-card.playing .audio-play-btn {
    background-position: 100% 50%, 82% 24%;
    color: #0B0D12;
    border-color: rgba(245, 218, 168, 0.92);
    transform: scale(1.07);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(238, 202, 132, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.audio-header-text {
    flex: 1;
    min-width: 0;
}

.audio-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.audio-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
}

.audio-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.audio-sub {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    margin: 0;
}

.audio-time-display {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.time-sep {
    opacity: 0.4;
}

.current-time {
    color: var(--color-text);
    font-weight: 500;
}

/* SoundCloud Waveform Container */
.waveform-container {
    position: relative;
    width: 100%;
    height: 64px;
    cursor: pointer;
    padding: 4px 0;
}

.waveform-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.waveform-bg {
    fill: rgba(255, 255, 255, 0.2);
    transition: fill var(--transition-fast);
}

.audio-track-card:hover .waveform-bg {
    fill: rgba(255, 255, 255, 0.28);
}

.waveform-fg {
    fill: url(#waveform-grad-fg);
    clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0);
    transition: clip-path 0.08s linear;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(240, 198, 120, 0.3));
}

.waveform-hover-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.waveform-container:hover .waveform-hover-line {
    opacity: 1;
}

.waveform-hover-time {
    position: absolute;
    top: -26px;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--color-border);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    color: var(--color-text);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.waveform-container:hover .waveform-hover-time {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .audio-track-card {
        padding: 1.5rem;
        gap: 1.2rem;
    }
    .audio-card-top {
        gap: 1.2rem;
    }
    .audio-play-btn {
        width: 48px;
        height: 48px;
    }
    .audio-play-btn svg {
        width: 18px;
        height: 18px;
    }
    .audio-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .audio-title {
        font-size: 1.25rem;
    }
    .waveform-container {
        height: 48px;
    }
}

.track {
    display: grid;
    grid-template-columns: 40px 1fr auto 50px;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: padding var(--transition-fast), background-color var(--transition-fast);
    cursor: pointer;
}

.track:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: rgba(255,255,255,0.02);
}

.track-num {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.track-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.track-details span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Music Wave Hover */
.track-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
    opacity: 0.2;
    transition: opacity var(--transition-fast);
}

.track:hover .track-wave {
    opacity: 1;
}

.track-wave .bar {
    width: 2px;
    background-color: var(--color-accent);
    height: 4px;
    transition: height 0.2s ease;
}

.track:hover .track-wave .bar {
    animation: soundWave 0.6s ease infinite alternate;
}

.track-wave .bar:nth-child(1) { animation-delay: 0.0s; }
.track-wave .bar:nth-child(2) { animation-delay: 0.2s; }
.track-wave .bar:nth-child(3) { animation-delay: 0.4s; }
.track-wave .bar:nth-child(4) { animation-delay: 0.1s; }
.track-wave .bar:nth-child(5) { animation-delay: 0.3s; }

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.play-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.track:hover .play-btn {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: var(--color-bg);
}

/* Scores / Shop Section */
.scores,
.shop {
    background-color: var(--color-bg);
}

.coming-soon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 3rem;
}

.coming-soon-inner {
    max-width: 580px;
    width: 100%;
    text-align: center;
    padding: 3.5rem 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.coming-soon-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.coming-soon-icon {
    width: 70px;
    height: 70px;
    color: var(--color-text);
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.coming-soon-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text);
    margin: 0;
}

.coming-soon-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 440px;
    margin: 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 4rem;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.record-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 2rem;
    perspective: 1000px;
    cursor: pointer;
}

.vinyl {
    position: absolute;
    width: 95%;
    height: 95%;
    top: 2.5%;
    left: 2.5%;
    background: #111;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

/* High detail grooves */
.vinyl::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        #111 0,
        #111 2px,
        #1a1a1a 3px,
        #111 4px
    );
}

.inner-label {
    width: 30%;
    height: 30%;
    background-color: #EEE;
    border-radius: 50%;
    z-index: 2;
    position: relative;
    border: 3px solid #000;
}

.inner-label::after {
    content: '';
    position: absolute;
    width: 10%;
    height: 10%;
    background-color: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.label-1 { background: repeating-linear-gradient(45deg, #000, #000 5px, #fff 5px, #fff 10px); }
.label-2 { background-color: #000; border-color: #fff; }
.label-3 { background: radial-gradient(circle, #fff 30%, #555 100%); }

.sleeve {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #1a1a1a;
    border: 1px solid #333;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: left center;
}

.sleeve span {
    font-family: var(--font-body);
    font-size: 2rem;
    font-style: normal;
    color: rgba(255,255,255,0.2);
}

.sleeve-1 { background: linear-gradient(135deg, #111, #222); }
.sleeve-2 { background: #0a0a0a; }
.sleeve-3 { background: radial-gradient(circle at 50% 50%, #222, #000); }

.record-container:hover .vinyl {
    transform: translateX(30%) rotate(180deg);
}

.record-container:hover .sleeve {
    transform: perspective(1000px) rotateY(-15deg);
    box-shadow: 20px 0 30px rgba(0,0,0,0.5);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    margin-bottom: 2.2rem;
    padding-bottom: 0.75rem;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #E5B2BE 0%, #88B4DA 38%, #F0C678 72%, #A0C27E 100%);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1rem 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition-fast), background var(--transition-fast), box-shadow 0.35s ease;
    max-width: 460px;
}

.contact-channel:hover {
    transform: translateX(6px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-image:
        linear-gradient(
            120deg,
            rgba(226, 184, 192, 0.36) 0%,
            rgba(132, 174, 212, 0.40) 38%,
            rgba(238, 202, 132, 0.44) 74%,
            rgba(168, 190, 120, 0.38) 100%
        ),
        url('images/header painting.jpg');
    background-size: 200% 200%, 320% auto;
    background-position: 0% 50%, 20% 22%;
    color: #12151B;
    border: 1px solid rgba(235, 206, 158, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-position 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s ease;
}

.contact-channel:hover .channel-icon {
    background-position: 100% 50%, 82% 24%;
    transform: scale(1.06);
}

.channel-icon svg {
    width: 20px;
    height: 20px;
}

.channel-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.channel-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

.channel-value {
    font-size: 0.98rem;
    color: var(--color-text);
    word-break: break-word;
}

.contact-location {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.5rem;
    padding-left: 0.35rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

.location-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #88B4DA, #F0C678);
    box-shadow: 0 0 10px rgba(240, 198, 120, 0.55);
}

.contact-signoff {
    margin-top: 2.4rem;
    padding-left: 0.25rem;
    opacity: 0.72;
}

.contact-signoff img {
    height: 62px;
    width: auto;
    display: block;
}

#contact-form {
    padding: 2.8rem 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.input-group {
    position: relative;
    margin-bottom: 2.3rem;
}

.input-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, #E5B2BE 0%, #88B4DA 38%, #F0C678 72%, #A0C27E 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.input-group:focus-within::after {
    transform: scaleX(1);
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: transparent;
}

.char-counter {
    position: absolute;
    right: 0;
    bottom: -1.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
    opacity: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
    pointer-events: none;
}

.input-group:focus-within .char-counter,
.input-group textarea:not(:placeholder-shown) ~ .char-counter {
    opacity: 0.75;
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.65rem;
    color: var(--color-accent);
}

/* Footer */
footer {
    padding: 4rem 0;
    background-color: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 2rem;
    font-style: normal;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.back-to-top {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.back-to-top:hover {
    color: var(--color-accent);
}

/* Animations & Keyframes */
@keyframes revealUp {
    0% {
        opacity: 0;
        transform: translateY(38%);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes soundWave {
    from { height: 4px; }
    to { height: 24px; }
}

/* Reveal Classes for Scroll Observer */
.reveal-element {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 992px) {
    .section {
        padding: 6rem 0;
    }

    .bio-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .bio-image-wrapper {
        height: 50vh;
    }
}

@media screen and (max-width: 768px) {
    html { font-size: 14px; }

    .section {
        padding: 4.5rem 0;
    }

    .section-subtitle {
        margin-bottom: 2.5rem;
    }

    .bio .section-title {
        top: 0;
    }

    .coming-soon-inner {
        padding: 2.5rem 1.5rem;
    }

    #contact-form {
        padding: 1.8rem 1.4rem;
    }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        margin-right: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(12, 15, 20, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-fast);
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .navbar .nav-links a {
        font-size: 1.5rem;
        color: var(--color-text);
    }

    .navbar .nav-links a::after {
        background-color: var(--color-accent);
    }

    .hamburger.active span {
        background-color: var(--color-text);
    }
    
    .title.indent {
        margin-left: 0;
    }
    
    .track {
        grid-template-columns: 30px 1fr 40px;
        gap: 1rem;
    }
    
    .track-wave {
        display: none;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .record-container {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    /* Auf Touch-Geraeten keinen schwebenden Hover-Indikator auf der Waveform festhalten */
    .waveform-hover-line,
    .waveform-hover-time {
        display: none;
    }

    /* Vogelschwarm auf schmalen Handy-Bildschirmen etwas dezenter skalieren */
    .bird-a { width: 62px; height: 31px; }
    .bird-b { width: 46px; height: 23px; }
    .bird-c { width: 34px; height: 17px; }
}

/* --- Bird Animations --- */

/* Ambient Birds */
.ambient-birds {
    position: absolute;
    top: -28vh;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.ambient-bird {
    position: absolute;
    color: #1A1D22;
    opacity: 0;
}

.ambient-bird svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    animation: birdBob 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.ambient-bird .wing-l {
    transform-origin: 70px 40px;
    animation: wingFlapL 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.ambient-bird .wing-r {
    transform-origin: 70px 40px;
    animation: wingFlapR 3.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.bird-a {
    top: 12vh;
    right: -130px;
    left: auto;
    width: 84px;
    height: 42px;
    animation: flyAcrossRL1 26s linear infinite;
    animation-delay: 0s;
}

.bird-b {
    top: 18vh;
    right: -130px;
    left: auto;
    width: 62px;
    height: 31px;
    animation: flyAcrossRL2 27s linear infinite;
    animation-delay: 0.7s;
}

.bird-c {
    top: 8vh;
    right: -130px;
    left: auto;
    width: 46px;
    height: 23px;
    animation: flyAcrossRL3 28s linear infinite;
    animation-delay: 1.5s;
}

.bird-b svg,
.bird-b .wing-l,
.bird-b .wing-r {
    animation-duration: 3.3s;
    animation-delay: -1.2s;
}

.bird-c svg,
.bird-c .wing-l,
.bird-c .wing-r {
    animation-duration: 2.9s;
    animation-delay: -0.6s;
}

@keyframes flyAcrossRL1 {
    0% {
        transform: translate3d(0, 1.5vh, 0) scale(0.94) rotate(2deg);
        opacity: 0;
    }
    4% {
        opacity: 0.72;
    }
    25% {
        transform: translate3d(-28vw, -1.5vh, 0) scale(0.98) rotate(0deg);
    }
    50% {
        transform: translate3d(-58vw, -4.5vh, 0) scale(1) rotate(-1deg);
        opacity: 0.7;
    }
    75% {
        transform: translate3d(-88vw, -7vh, 0) scale(0.88) rotate(2deg);
        opacity: 0.6;
    }
    90%, 100% {
        transform: translate3d(-120vw, -10vh, 0) scale(0.78) rotate(3deg);
        opacity: 0;
    }
}

@keyframes flyAcrossRL2 {
    0% {
        transform: translate3d(0, 0, 0) scale(0.9) rotate(1deg);
        opacity: 0;
    }
    5% {
        opacity: 0.58;
    }
    26% {
        transform: translate3d(-27vw, 1.5vh, 0) scale(0.94) rotate(2deg);
    }
    52% {
        transform: translate3d(-57vw, -2vh, 0) scale(0.9) rotate(-1deg);
        opacity: 0.55;
    }
    77% {
        transform: translate3d(-87vw, -5vh, 0) scale(0.82) rotate(1deg);
        opacity: 0.45;
    }
    92%, 100% {
        transform: translate3d(-120vw, -8vh, 0) scale(0.72) rotate(3deg);
        opacity: 0;
    }
}

@keyframes flyAcrossRL3 {
    0% {
        transform: translate3d(0, -0.5vh, 0) scale(0.85) rotate(3deg);
        opacity: 0;
    }
    5% {
        opacity: 0.45;
    }
    28% {
        transform: translate3d(-29vw, -3.5vh, 0) scale(0.88) rotate(1deg);
    }
    54% {
        transform: translate3d(-59vw, -6vh, 0) scale(0.82) rotate(2deg);
        opacity: 0.42;
    }
    78% {
        transform: translate3d(-89vw, -9.5vh, 0) scale(0.74) rotate(3deg);
        opacity: 0.35;
    }
    94%, 100% {
        transform: translate3d(-120vw, -12vh, 0) scale(0.66) rotate(4deg);
        opacity: 0;
    }
}

/* Sanfter, organischer Fluegelschlag mit ruhiger Gleitphase */
@keyframes wingFlapL {
    0%, 100% { transform: rotate(4deg); }
    12%      { transform: rotate(21deg); }
    24%      { transform: rotate(-16deg); }
    36%      { transform: rotate(18deg); }
    48%      { transform: rotate(-13deg); }
    62%      { transform: rotate(6deg); }
    82%      { transform: rotate(2deg); }
}

@keyframes wingFlapR {
    0%, 100% { transform: rotate(-4deg); }
    12%      { transform: rotate(-21deg); }
    24%      { transform: rotate(16deg); }
    36%      { transform: rotate(-18deg); }
    48%      { transform: rotate(13deg); }
    62%      { transform: rotate(-6deg); }
    82%      { transform: rotate(-2deg); }
}

@keyframes birdBob {
    0%, 100% { transform: translateY(0); }
    12%      { transform: translateY(2.5px); }
    24%      { transform: translateY(-3px); }
    36%      { transform: translateY(2px); }
    48%      { transform: translateY(-2.5px); }
    65%      { transform: translateY(0.5px); }
    85%      { transform: translateY(-0.5px); }
}


/* Navigation: auf kleineren Bildschirmen verkleinern, damit nichts ueberlappt */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .navbar .logo {
        font-size: 1.3rem;
    }
    .navbar .nav-links a {
        font-size: 1.1rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-signature img {
        height: 54px;
    }
}

@media screen and (max-width: 768px) {
    .navbar .logo {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
        transition: opacity 0.45s ease, color 0.4s ease;
    }
    .navbar.scrolled.on-dark .logo {
        opacity: 0;
        pointer-events: none;
    }
    .nav-signature img {
        height: 46px;
    }
}

/* Verbirgt automatisch injizierte Hosting-Badges / Wasserzeichen (z. B. Netlify unten rechts) */
body > *:not(nav):not(#bg-canvas):not(main):not(footer):not(script),
html > *:not(head):not(body),
#nl-badge-frame,
iframe[src*="netlify"],
iframe[title*="Netlify" i],
a[href*="netlify.com"],
div[id*="netlify" i],
div[class*="netlify" i],
[data-nf-variant],
[data-netlify-site-id] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: fixed !important;
    left: -9999px !important;
    bottom: -9999px !important;
    z-index: -9999 !important;
}
