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

body {
    font-family: "Segoe UI", "Noto Sans Display", "Noto Sans", Tahoma, "Helvetica-Light", "Droid Sans Pro", sans-serif;
    background: #ecf2f4;
    min-height: 100vh;
    color: #007577;
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */
/* Header */
header {
    margin-bottom: 48px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 117, 119, 0.08);
    border: 1px solid rgba(155, 213, 71, 0.15);
    overflow: hidden;
}
#soundLogoPlayer {
    margin-bottom: 25px;
}
.header-content {
    
    text-align: center;
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.03) 0%, rgba(104, 194, 194, 0.03) 100%);
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 8px;
    color: #007577;
    font-weight: 700;
    letter-spacing: -0.02em;
}

header p {
    font-size: 1em;
    color: #007577;
    opacity: 0.75;
    font-weight: 400;
    margin-bottom: 16px;
}

.datev-badge {
    display: inline-block;
    background: #9bd547;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Upload Section */
.upload-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 117, 119, 0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(155, 213, 71, 0.15);
}

.upload-header {
    margin-bottom: 24px;
}

.upload-header h2 {
    font-size: 1.4em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.upload-header p {
    font-size: 0.9em;
    color: #68c2c2;
    font-weight: 400;
}

/* File Input */
.file-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-label {
    display: block;
    padding: 32px;
    border: 2px dashed rgba(104, 194, 194, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.02) 0%, rgba(104, 194, 194, 0.02) 100%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.file-input-label:hover,
.file-input-label.drag-over {
    border-color: rgba(155, 213, 71, 0.5);
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.05) 0%, rgba(104, 194, 194, 0.05) 100%);
    transform: translateY(-1px);
}

.file-input-content {
    text-align: center;
}

.file-text {
    font-weight: bold;
}

.file-placeholder .file-text {
    display: block;
    font-size: 1em;
    font-weight: 500;
    color: #007577;
    margin-bottom: 4px;
}

.file-placeholder .file-hint {
    display: block;
    font-size: 0.85em;
    color: #68c2c2;
    font-weight: 400;
}

/* Analyze Button */
.analyze-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #9bd547 0%, #68c2c2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(155, 213, 71, 0.25);
    position: relative;
    overflow: hidden;
}

.analyze-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(155, 213, 71, 0.35);
}

.analyze-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 16px rgba(155, 213, 71, 0.15);
}

.btn-indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.analyze-btn:hover:not(:disabled) .btn-indicator {
    background: rgba(255, 255, 255, 0.6);
}

/* Loading */
.loading {
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 4px 24px rgba(0, 117, 119, 0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(155, 213, 71, 0.15);
    text-align: center;
}

.loading-animation {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(155, 213, 71, 0.2);
    border-top: 3px solid #9bd547;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: #68c2c2;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.loading-text h3 {
    font-size: 1.1em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 4px;
}

.loading-text p {
    font-size: 0.9em;
    color: #68c2c2;
    font-weight: 400;
}

/* Results */
.results {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 117, 119, 0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(155, 213, 71, 0.15);
    overflow: hidden;
}

.result-header {
    padding: 24px 32px 16px;
    border-bottom: 1px solid rgba(104, 194, 194, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header h2 {
    font-size: 1.4em;
    color: #007577;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.result-meta .timestamp {
    font-size: 0.8em;
    color: #68c2c2;
    font-weight: 400;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 24px 32px;
}

.result-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Key Detection */
.key-detection label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: #68c2c2;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.key-value {
    font-size: 2em;
    font-weight: 700;
    color: #9bd547;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.08) 0%, rgba(104, 194, 194, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(155, 213, 71, 0.2);
    text-align: center;
    letter-spacing: -0.02em;
}

/* Confidence */
.confidence-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.confidence-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confidence-header label {
    font-size: 0.85em;
    font-weight: 600;
    color: #68c2c2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confidence-percentage {
    font-size: 1.1em;
    font-weight: 700;
    color: #9bd547;
}

.confidence-bar {
    height: 8px;
    background: rgba(104, 194, 194, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #9bd547, #68c2c2);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

/* Recommendation Panel */
.recommendation-panel {
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.03) 0%, rgba(104, 194, 194, 0.03) 100%);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(155, 213, 71, 0.15);
}

.recommendation-header h3 {
    font-size: 1.1em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 8px;
}

.recommendation-header p {
    font-size: 0.9em;
    color: #007577;
    margin-bottom: 20px;
}

/* Audio Controls */
.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.audio-player {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(104, 194, 194, 0.15);
    transition: all 0.3s ease;
}

.audio-player:hover {
    border-color: rgba(155, 213, 71, 0.3);
    box-shadow: 0 2px 12px rgba(0, 117, 119, 0.05);
}

.player-header h4 {
    font-size: 0.85em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audio-player audio {
    width: 100%;
    height: 36px;
    border-radius: 6px;
}

.usage-tip {
    background: rgba(155, 213, 71, 0.05);
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid #68c2c2;
}

.usage-tip p {
    font-size: 0.85em;
    color: #007577;
    margin: 0;
    font-style: italic;
}

/* Analysis Details */
.analysis-details {
    padding: 24px 32px;
    border-top: 1px solid rgba(104, 194, 194, 0.1);
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.details-header h3 {
    font-size: 1.2em;
    color: #007577;
    font-weight: 600;
}

.analysis-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8em;
    color: #68c2c2;
}

.probability-section h4 {
    font-size: 1em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Probability Grid */
.probability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
}

.probability-item {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
}

.prob-key {
    font-size: 0.85em;
    font-weight: 700;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(104, 194, 194, 0.1);
    color: #007577;
    border: 1px solid rgba(104, 194, 194, 0.2);
}

.prob-key.selected {
    background: #9bd547;
    color: white;
    border-color: #9bd547;
    box-shadow: 0 2px 8px rgba(155, 213, 71, 0.3);
}

.prob-bar {
    height: 6px;
    background: rgba(104, 194, 194, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.prob-fill {
    height: 100%;
    background: #68c2c2;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.prob-fill.selected {
    background: linear-gradient(90deg, #9bd547, #68c2c2);
}

.prob-value {
    font-size: 0.8em;
    color: #007577;
    font-weight: 600;
    text-align: right;
}

/* Error */
.error {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(220, 53, 69, 0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(220, 53, 69, 0.15);
    text-align: center;
}

.error-content h3 {
    font-size: 1.2em;
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 12px;
}

.error-content p {
    font-size: 0.9em;
    color: #dc3545;
    margin-bottom: 20px;
    opacity: 0.8;
}

.error-retry {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-retry:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 24px rgba(0, 117, 119, 0.08);
    border: 1px solid rgba(155, 213, 71, 0.15);
    margin-top: 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-info p {
    font-size: 0.85em;
    color: #68c2c2;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85em;
    color: #9bd547;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .result-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .result-card {
        padding: 10px!important;
    }
      .details-card {
        padding: 10px;
    }
    
    .probability-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    
    .header-content {
        padding: 24px 20px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .upload-section,
    .results,
    .loading {
        padding: 20px;
    }
    
    .result-header {
        padding: 20px 20px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .result-grid {
        padding: 16px 20px;
    }
    
    .analysis-details {
        padding: 16px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .key-value {
        font-size: 1.6em;
        padding: 12px 16px;
    }
    
    .file-input-label {
        padding: 24px 16px;
    }
    
    .analyze-btn {
        padding: 14px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 12px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    .upload-section,
    .results,
    .loading {
        padding: 16px;
    }
    
    .result-header {
        padding: 16px 16px 8px;
    }
    
    .result-grid {
        padding: 12px 16px;
    }
    
    .analysis-details {
        padding: 12px 16px;
    }
    
    .recommendation-panel {
        padding: 16px;
    }
    
    .key-value {
        font-size: 1.4em;
        padding: 10px 12px;
    }
    
    .probability-item {
        grid-template-columns: 35px 1fr 45px;
        gap: 8px;
    }
}

/* Advanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations */
.results {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.probability-item {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.probability-item:nth-child(1) { animation-delay: 0.05s; }
.probability-item:nth-child(2) { animation-delay: 0.1s; }
.probability-item:nth-child(3) { animation-delay: 0.15s; }
.probability-item:nth-child(4) { animation-delay: 0.2s; }
.probability-item:nth-child(5) { animation-delay: 0.25s; }
.probability-item:nth-child(6) { animation-delay: 0.3s; }
.probability-item:nth-child(7) { animation-delay: 0.35s; }
.probability-item:nth-child(8) { animation-delay: 0.4s; }
.probability-item:nth-child(9) { animation-delay: 0.45s; }
.probability-item:nth-child(10) { animation-delay: 0.5s; }
.probability-item:nth-child(11) { animation-delay: 0.55s; }
.probability-item:nth-child(12) { animation-delay: 0.6s; }

/* Micro-interactions */
.key-value {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.key-value:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(155, 213, 71, 0.2);
}

.prob-key {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.prob-key:hover {
    transform: translateY(-1px);
}

.audio-player {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-player:hover {
    transform: translateY(-1px);
}

/* Focus states for accessibility */
.file-input-wrapper input[type="file"]:focus + .file-input-label {
    outline: 2px solid #9bd547;
    outline-offset: 2px;
}

.analyze-btn:focus {
    outline: 2px solid #9bd547;
    outline-offset: 2px;
}

audio:focus {
    outline: 2px solid #9bd547;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ecf2f4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #68c2c2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9bd547;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .loading,
    .audio-controls,
    .analyze-btn {
        display: none !important;
    }
    
    .results {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
/* Fehlende Styles für dein aktuelles HTML */
.result-card {
    margin-bottom: 35px;
    padding: 24px 32px;
}

.result-card h2 {
    color: #007577;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 600;
}

.key-result {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.key-label {
    font-weight: 600;
    color: #007577;
}

.confidence-result {
    margin-bottom: 25px;
}

.confidence-label {
    font-weight: 600;
    color: #007577;
    display: inline-block;
    margin-bottom: 10px;
}

.confidence-value {
    font-weight: 700;
    color: #9bd547;
    font-size: 1.2em;
    margin-left: 10px;
}

.recommendation {
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.1) 0%, rgba(104, 194, 194, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(155, 213, 71, 0.3);
    border-left: 6px solid #9bd547;
}

.recommendation h3 {
    color: #007577;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

/* Details Card - Korrigierte Version */
.details-card {
    border-top: 1px solid rgba(104, 194, 194, 0.1);
    padding: 24px 32px;
    margin-top: 32px;
}

.details-card h3 {
    color: #007577;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.filename {
    margin-bottom: 20px;
    font-style: italic;
    color: #68c2c2;
    font-weight: 500;
    font-size: 1em;
}

.probabilities {
    margin-top: 20px;
}

.probabilities h4 {
    color: #007577;
    margin-bottom: 16px;
    font-size: 1.1em;
    font-weight: 600;
}

.analysis-info {
    font-size: 0.9em;
    color: #68c2c2;
    margin-bottom: 16px;
    font-style: italic;
    font-weight: 500;
}

.probability-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

/* Probability Bar Container - Einheitliche Version */
.prob-bar-container {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    gap: 12px;
    align-items: center;
    padding: 6px 0;
}

.prob-key {
    font-size: 0.85em;
    font-weight: 700;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(104, 194, 194, 0.1);
    color: #007577;
    border: 1px solid rgba(104, 194, 194, 0.2);
    transition: all 0.3s ease;
}

.prob-key.selected {
    background: #9bd547;
    color: white;
    border-color: #9bd547;
    box-shadow: 0 2px 8px rgba(155, 213, 71, 0.3);
}

.prob-bar {
    height: 8px;
    background: rgba(104, 194, 194, 0.15);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(104, 194, 194, 0.1);
}

.prob-fill {
    height: 100%;
    background: #68c2c2;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
}

.prob-fill.selected {
    background: linear-gradient(90deg, #9bd547, #68c2c2);
    box-shadow: 0 0 8px rgba(155, 213, 71, 0.3);
}

.prob-value {
    font-size: 0.85em;
    color: #007577;
    font-weight: 600;
    text-align: right;
}

/* Audio Player Styles */
.audio-players {
    margin-top: 25px;
}

.audio-player h4 {
    font-size: 0.9em;
    color: #007577;
    font-weight: 600;
    margin-bottom: 8px;
}

.playback-info {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(155, 213, 71, 0.08) 0%, rgba(104, 194, 194, 0.08) 100%);
    border-radius: 10px;
    border-left: 4px solid #68c2c2;
}

.playback-info p {
    margin: 0;
    font-size: 1.3em;
    color: #007577;
    font-style: italic;
}

/* Hover-Effekte */
.prob-key:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(104, 194, 194, 0.2);
}

.prob-key.selected:hover {
    box-shadow: 0 4px 12px rgba(155, 213, 71, 0.4);
}
/* macOS Safari Audio Control Fehler beheben */
audio {
    outline: none;
}

audio::-webkit-media-controls-panel {
    background-color: #ecf2f4;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-pause-button {
    background-color: #9bd547;
    border-radius: 50%;
}

audio::-webkit-media-controls-timeline {
    background-color: #68c2c2;
    border-radius: 4px;
}

audio::-webkit-media-controls-volume-slider {
    background-color: #68c2c2;
    border-radius: 4px;
}

/* Unterdrücke problematische System-Icons */
audio::-webkit-media-controls-wireless-playback-picker-button,
audio::-webkit-media-controls-picture-in-picture-button {
    display: none;
}

/* Alternative: Komplett native Controls entfernen und eigene verwenden */
audio.custom-controls {
    width: 100%;
    height: 40px;
}

audio.custom-controls::-webkit-media-controls {
    display: none;
}

audio.custom-controls::-moz-media-controls {
    display: none;
}
/* Download Button */
.download-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #007577 0%, #68c2c2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(0, 117, 119, 0.2);
    border: 1px solid rgba(0, 117, 119, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 117, 119, 0.3);
    background: linear-gradient(135deg, #006365 0%, #5aa3a3 100%);
    text-decoration: none;
    color: white;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 117, 119, 0.2);
}

.download-icon {
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
}

.download-text {
    font-family: inherit;
}

/* Hover-Effekt für Icon */
.download-btn:hover .download-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}
/* Globale Schriftgrößen-Optimierung */
body {
    font-size: 15px; /* Etwas größer für bessere Lesbarkeit */
}

/* Icon-Styling */
.file-icon {
    font-size: 1.8em;
    color: #9bd547;
    margin-bottom: 8px;
}

.btn-icon {
    font-size: 1em;
    margin-right: 2px;
}

/* Header Optimierungen */
header h1 {
    font-size: 2.1em; /* Etwas kleiner */
    margin-bottom: 12px;
}

header p {
    font-size: 1.05em; /* Leicht vergrößert */
}

/* Result Card Icons */
.result-card h2 i {
    color: #9bd547;
    margin-right: 10px;
    font-size: 0.9em;
}

.recommendation h3 i {
    color: #9bd547;
    margin-right: 8px;
    font-size: 0.9em;
}

.details-card h3 i {
    color: #9bd547;
    margin-right: 8px;
    font-size: 0.9em;
}

/* Audio Player Icons */
.audio-player h4 i {
    color: #68c2c2;
    margin-right: 6px;
    font-size: 0.9em;
}

/* Download Button Icon */
.download-icon {
    font-size: 1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

/* Error Icon */
.error h3 i {
    color: #dc3545;
    margin-right: 8px;
    font-size: 0.9em;
}

/* Verbesserte Schriftgrößen */
.key-result {
    font-size: 1.2em; /* Etwas kleiner */
}

.key-label {
    font-size: 0.95em;
}

.confidence-label {
    font-size: 0.9em;
}

.filename {
    font-size: 0.95em;
}

.analysis-info {
    font-size: 0.9em;
}

.prob-value {
    font-size: 0.8em;
}

.prob-key {
    font-size: 0.8em;
}

/* Responsive Schriftgrößen */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    header h1 {
        font-size: 1.9em;
    }
    
    header p {
        font-size: 1em;
    }
    
    .result-card h2 {
        font-size: 1.6em;
    }
    
    .key-result {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    header h1 {
        font-size: 1.7em;
    }
    
    .result-card h2 {
        font-size: 1.4em;
    }
    
    .key-result {
        font-size: 1em;
    }
    
    .file-icon {
        font-size: 1.5em;
    }
}

/* Professionelle Icon-Abstände */
i + span, i + strong {
    margin-left: 2px;
}

h2 i, h3 i, h4 i {
    width: 1.2em; /* Einheitliche Icon-Breite */
    text-align: center;
}