/* ==========================================================================
   MINIMALISTISCHES, URBANES DESIGN (Inspiriert von jonathanfranzen.com)
   ========================================================================== */

:root {
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --accent: #000000;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.site-title a {
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    text-decoration: none;
}

.main-nav a {
    margin-left: 28px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 2px;
}

/* Startseite / Hero mit dem Skizzen-Bild */
.hero-section {
    text-align: center;
    padding: 0 0 60px 0;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply; /* Lässt den Hintergrund des Bildes perfekt mit dem Weiß der Seite verschmelzen */
}

.hero-bio {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 300;
}

/* Screenreader Only - Versteckt Text optisch, aber belässt ihn für Google & Barrierefreiheit */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Audio-Liste (Archiv) */
.page-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.audio-list {
    list-style: none;
}

.audio-list-item {
    border-top: 1px solid var(--border-color);
}

.audio-list-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.audio-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 24px 0;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.15s ease;
}

.audio-link:hover .audio-title {
    text-decoration: underline;
}

.audio-title {
    font-size: 1.15rem;
    font-weight: 400;
}

.audio-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 20px;
}

/* Detailansicht Audio */
.audio-back-link {
    margin-bottom: 24px;
}

.audio-back-link a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.audio-back-link a:hover {
    color: var(--text-primary);
}

.single-audio-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.3;
}

.single-audio-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.single-audio-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    background: #fafafa;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    display: block;
}

/* Schlichter Audio Player */
.custom-player-wrapper {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    margin-bottom: 30px;
}

.custom-player-wrapper audio {
    display: none;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.play-button {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.play-button:hover {
    background: #333333;
}

.progress-bar-container {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    cursor: pointer;
    position: relative;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #000000;
}

.player-timer {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.single-audio-description {
    font-size: 1.1rem;
    color: #222222;
    line-height: 1.7;
}

/* About Seite */
.about-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
}

.portrait-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(100%);
    border: 1px solid var(--border-color);
}

.bio-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.awards-block {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.awards-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.awards-list {
    list-style: none;
}

.awards-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

/* Kontakt Seite */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.address-box {
    margin-bottom: 40px;
}

.social-links {
    list-style: none;
}

.social-links li {
    margin-bottom: 8px;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.social-links a:hover {
    border-bottom: 1px solid var(--text-primary);
}

/* Formular */
.simple-form .form-group {
    margin-bottom: 20px;
}

.simple-form label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.simple-form input,
.simple-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s ease;
}

.simple-form input:focus,
.simple-form textarea:focus {
    border-color: #000000;
}

.submit-button {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-button:hover {
    background: #333333;
}

.alert {
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert.success {
    background: #f4fdf6;
    border: 1px solid #c2ecc9;
    color: #176326;
}

.alert.error {
    background: #fef5f5;
    border: 1px solid #fad2d2;
    color: #a32222;
}

/* Legal Pages (Impressum & Datenschutz) */
.legal-section {
    max-width: 700px;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 30px 0 10px 0;
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 8px 0;
}

.legal-content p, .legal-content ul {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 20px;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 80px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Responsive / Handy */
@media (max-width: 680px) {
    .main-header {
        flex-direction: column;
        gap: 16px;
    }
    .main-nav a {
        margin-left: 0;
        margin-right: 20px;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .audio-link {
        flex-direction: column;
        gap: 6px;
    }
    .audio-meta {
        margin-left: 0;
    }
}
