/* ===================================
   About Page Specific Styles
   =================================== */

/* Page Hero – helleres, sanftes Himmelblau mit weicher Schattierung */
.page-hero {
    background: linear-gradient(135deg, #a4c2e0 0%, #d4e4f3 100%);
}

/* About Intro */
.about-intro {
    background: linear-gradient(180deg, #eef2f8 0%, #f4f7fb 100%);
}

/* Wasser-/Wellen-Hintergrund (wie auf der Startseite) */
body:has(> .bg-decoration) .about-intro {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-portrait {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
}

.portrait-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.portrait-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    display: block;
}

.portrait-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-xl);
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .about-portrait {
        margin: 0;
    }
}

.about-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.about-intro-content .subtitle {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.intro-text {
    margin-bottom: var(--space-lg);
}

.intro-text .lead {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.about-quote {
    padding: var(--space-md) var(--space-lg);
    background:
        url('uploads/job-20260617150352-fcc08f/IMG_2679-mqi7be7z-2962fd.webp') center / cover no-repeat,
        linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-quote p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: #5a3a1f;
    margin: 0;
}

.about-quote cite {
    color: #5a3a1f;
}

.about-quote-image {
    margin-top: var(--space-md);
}

@media (min-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 500px 1fr;
        grid-template-areas:
            "portrait content"
            "quote    content";
        column-gap: var(--space-2xl);
        row-gap: var(--space-lg);
        align-items: start;
    }

    .about-portrait {
        grid-area: portrait;
        align-self: start;
    }

    .about-intro-content {
        grid-area: content;
    }

    .about-intro-grid > .about-quote {
        grid-area: quote;
        align-self: start;
    }
}

/* My Story */
.my-story {
    background: var(--color-cream);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 900px) {
    .story-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        padding-left: 0;
        padding-right: 50%;
    }

    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 50%;
    }

    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item .timeline-content {
        margin-right: var(--space-xl);
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: var(--space-xl);
    }
}

/* Klanginstrumente Section */
.about-sound {
    background: #e8eef6;
    padding-top: var(--space-xs);
    padding-bottom: var(--space-2xl);
}

body:has(> .bg-decoration) .about-sound {
    background: rgba(220, 232, 245, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-sound .section-header {
    margin-bottom: var(--space-lg);
}

.about-sound-content {
    max-width: 760px;
    margin: 0 auto;
}

.about-sound-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.about-sound-content p:last-child {
    margin-bottom: 0;
}

.about-sound-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 760px;
    margin: var(--space-lg) auto 0;
}

.about-sound-image {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.about-sound-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 640px) {
    .about-sound-gallery {
        grid-template-columns: 1fr;
    }
}

/* Wave Divider between Intro and Qualifications */
.section-wave {
    display: block;
    width: 100%;
    line-height: 0;
    margin: 0;
    padding: 0;
    background: #e8eef6;
    overflow: hidden;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: 110px;
}

@media (max-width: 768px) {
    .section-wave svg {
        height: 70px;
    }
}

/* Wave-Divider transparent halten, wenn der Wasser-Hintergrund aktiv ist */
body:has(> .bg-decoration) .section-wave {
    background: transparent;
}

body:has(> .bg-decoration) .section-wave svg path {
    fill: rgba(255, 255, 255, 0.55);
}

body:has(> .bg-decoration) .section-wave svg path.section-wave-back {
    fill: rgba(255, 255, 255, 0.3);
}

/* Sanfter Übergang: Über mich → Klanginstrumente
   Die Welle steigt aus dem hellblauen Klanginstrumente-Hintergrund organisch
   in den helleren Über-mich-Bereich auf – kein hartes Farbband mehr. */
.section-wave.section-wave-intro {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f8 100%);
}

.section-wave.section-wave-intro svg path.section-wave-front {
    fill: #e8eef6;
}

.section-wave.section-wave-intro svg path.section-wave-back {
    fill: #e8eef6;
    opacity: 0.5;
}

body:has(> .bg-decoration) .section-wave.section-wave-intro {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(220, 232, 245, 0.62) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body:has(> .bg-decoration) .section-wave.section-wave-intro svg path.section-wave-front {
    fill: rgba(220, 232, 245, 0.62);
}

body:has(> .bg-decoration) .section-wave.section-wave-intro svg path.section-wave-back {
    fill: rgba(220, 232, 245, 0.32);
}

/* Sanfter Übergang: Klanginstrumente → Qualifikationen
   Länger gezogene, ruhige Welle mit weichem Farbverlauf,
   damit der Wechsel vom hellblauen Klang-Hintergrund in den
   helleren Qualifikationsbereich fließend wirkt. */
.section-wave.section-wave-qual {
    background: linear-gradient(180deg, #e8eef6 0%, #e8eef6 25%, #eef3f9 55%, #f7fafd 80%, #ffffff 100%);
}

.section-wave.section-wave-qual svg {
    height: 180px;
}

@media (max-width: 768px) {
    .section-wave.section-wave-qual svg {
        height: 110px;
    }
}

.section-wave.section-wave-qual svg path.section-wave-front {
    fill: #ffffff;
}

.section-wave.section-wave-qual svg path.section-wave-back {
    fill: #ffffff;
    opacity: 0.55;
}

body:has(> .bg-decoration) .section-wave.section-wave-qual {
    background: linear-gradient(180deg,
        rgba(220, 232, 245, 0.62) 0%,
        rgba(220, 232, 245, 0.62) 25%,
        rgba(235, 243, 250, 0.42) 55%,
        rgba(248, 251, 254, 0.18) 80%,
        rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body:has(> .bg-decoration) .section-wave.section-wave-qual svg path.section-wave-front {
    fill: rgba(255, 255, 255, 0.55);
}

body:has(> .bg-decoration) .section-wave.section-wave-qual svg path.section-wave-back {
    fill: rgba(255, 255, 255, 0.3);
}

/* Qualifications */
.qualifications-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5fa 50%, #dfe7f2 100%);
}

.qualifications-section .qual-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(2px);
}

/* Wasser-/Wellen-Hintergrund (wie auf der Startseite) */
body:has(> .bg-decoration) .qualifications-section {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body:has(> .bg-decoration) .qualifications-section .qual-card {
    background: rgba(255, 255, 255, 0.88);
}

.qual-image {
    max-width: 480px;
    margin: 0 auto var(--space-2xl);
    padding: 20px;
}

#qual-image-portrait {
    max-width: 640px;
}

.qual-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.qual-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    display: block;
}

.qual-image-quote {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-primary);
    max-width: 720px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
    line-height: 1.5;
}

.qual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.qual-card {
    padding: var(--space-lg);
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-base);
}

.qual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.qual-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
}

.qual-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--color-white);
}

.qual-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.qual-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 640px) {
    .qual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .qual-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Values */
.values-section {
    background: var(--color-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.values-content h2 {
    margin-bottom: var(--space-lg);
}

.value-item {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-accent);
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.value-item p {
    color: var(--color-text-light);
    margin: 0;
}

.values-image {
    max-width: 100%;
}

.values-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    aspect-ratio: 6/7;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}
