/* cormorant-garamond-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/montserrat-v31-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/montserrat-v31-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/montserrat-v31-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* =========================================
   AUDIO SLIDEOUT (SYNCED & AURA THEMED)
========================================= */

#audio-slideout {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    z-index: 9000;
    display: flex;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#audio-slideout.is-open {
    transform: translateY(-50%) translateX(0);
}

/* --- Der Tab am Rand (Synced Dimensions) --- */
#audio-tab {
    position: absolute;
    left: -40px; /* Synchronized with index */
    background: rgba(18, 0, 36, 0.85); 
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-right: none;
    color: var(--glow-gold);
    padding: 20px 10px; /* Synchronized with index */
    cursor: pointer; 
    outline: none;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem; /* Synchronized with index for same height */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    border-radius: var(--radius) 0 0 var(--radius);
}

#audio-tab:hover {
    background-color: var(--glass-hover);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- Das Haupt-Panel --- */
.audio-panel {
    background: linear-gradient(180deg, rgba(18, 0, 36, 0.95), rgba(5, 2, 8, 0.98));
    backdrop-filter: blur(15px);
    border: 1px solid var(--line);
    border-right: none;
    padding: 2rem; /* Sync with index padding */
    width: 320px; /* Sync with index width */
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    border-radius: var(--radius) 0 0 var(--radius);
}

/* ... (Panel-Header & Typografie bleiben gleich) ... */

.panel-header { display: flex; justify-content: space-between; align-items: center; font-family: 'Montserrat', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 16px; }
#close-audio-btn { background: none; border: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; transition: color 0.3s; }
#close-audio-btn:hover { color: var(--glow-gold); }
.audio-panel h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin: 0 0 8px 0; color: #fff; font-weight: 500; }
.audio-panel p { font-size: 14px; color: var(--muted); margin: 0 0 24px 0; line-height: 1.6; }

/* --- Der Custom Player --- */
.custom-player { display: flex; align-items: center; gap: 16px; }
.play-btn { width: 45px; height: 45px; border-radius: 50%; background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.4); color: var(--glow-gold); display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; }
.play-btn:hover { background: rgba(212, 175, 55, 0.15); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); border-color: var(--glow-gold); transform: scale(1.05); }
.progress-wrapper { flex: 1; }
.progress-bar { width: 100%; height: 2px; background: rgba(255,255,255,0.1); margin-bottom: 8px; position: relative; border-radius: 2px; }
#progress-fill { height: 100%; width: 0%; background: var(--glow-gold); box-shadow: 0 0 10px var(--glow-gold-soft); transition: width 0.1s linear; border-radius: 2px; }
.time-display { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--muted); text-align: right; letter-spacing: 0.05em; }

/* --- Mobile Ansicht (Synced Position) --- */
@media (max-width: 900px) {
    #audio-slideout {
        top: auto;
        bottom: 90px; /* Sync with index to match height over ProvenExpert */
        transform: translateY(0) translateX(100%);
    }
    
    #audio-slideout.is-open {
        transform: translateY(0) translateX(0);
    }
    
    #audio-tab {
        left: -35px; /* Compact mobile tab width */
        padding: 15px 6px;
        font-size: 0.7rem;
    }
}