/* Split Hero Section (Coming Soon Style) */
.split-hero {
    display: flex;
    min-height: 60vh;
    width: 100%;
    background: #111827;
    color: #fff;
    position: relative;
    overflow: hidden;
    align-items: stretch;
    /* beide Spalten gleich hoch */
}

.split-hero__left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem 3rem 6vw;
    z-index: 2;
}

.split-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-family: 'STIX Two Text', serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.split-hero__desc {
    font-size: 1.15rem;
    max-width: 32rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.split-hero__right {
    flex: 1 1 0;
    position: relative;
    min-width: 320px;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.split-hero__img {
    width: 100%;
    height: 100%;
    /* Standard: bedecken, kann an Rändern leicht croppen */
    object-fit: cover;
    object-position: center;
    /* entferne die harte Deckelung am Desktop via Media Query unten */
}

@media (min-width: 901px) {
    .split-hero__right {
        min-height: 60svh;
    }

    /* füllt visuell die Höhe */
    .split-hero__img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 600px) {

    /* mobil: nicht beschneiden, stattdessen einpassen */
    .split-hero__img {
        height: auto;
        max-height: none;
        object-fit: contain;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Timeline Modern (Uiverse-inspiriert, Punkte, animiert) */
.timeline-modern-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 2rem 0;
    background: transparent;
}

.timeline-modern-container {
    width: min(700px, 96vw);
    margin: 0 auto;
}

.timeline-modern-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 2.2rem;
    text-align: center;
    color: #0a84ff;
    letter-spacing: .01em;
}

.timeline-modern-list {
    position: relative;
    margin: 0;
    padding: 0 0 0 32px;
    list-style: none;
    border-left: 3px solid #e5e7eb;
}

.timeline-modern-item {
    position: relative;
    margin-bottom: 2.5rem;
    min-height: 64px;
    animation: fadeInUp .7s cubic-bezier(.4, 0, .2, 1);
}

.timeline-modern-dot {
    position: absolute;
    left: -13px;
    top: 0.5rem;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid #0a84ff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.08);
    transition: border-color .2s, background .2s;
    animation: popIn .5s cubic-bezier(.4, 0, .2, 1);
}

.timeline-modern-dot--active {
    background: #0a84ff;
    border-color: #0a84ff;
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.12);
}

.timeline-modern-content {
    margin-left: 2.5rem;
    padding: 1.1rem 1.2rem 1.1rem 1.2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(10, 132, 255, 0.06);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: box-shadow .18s, border-color .18s;
}

.timeline-modern-content:hover,
.timeline-modern-content:focus-within {
    box-shadow: 0 8px 32px rgba(10, 132, 255, 0.13);
    border-color: #0a84ff;
}

.timeline-modern-date {
    font-size: .97rem;
    font-weight: 600;
    color: #0a84ff;
    letter-spacing: .01em;
    margin-bottom: .2rem;
    display: block;
}

.timeline-modern-content h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: .15rem;
    color: #222;
}

.timeline-modern-content p {
    font-size: .97rem;
    color: #444;
    opacity: .93;
}

@media (max-width: 600px) {
    .timeline-modern-container {
        width: 100%;
    }

    .timeline-modern-list {
        padding-left: 18px;
    }

    .timeline-modern-content {
        margin-left: 1.7rem;
        padding: .9rem .7rem;
    }

    .timeline-modern-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .timeline-modern-content {
        padding: .7rem .4rem;
    }

    .timeline-modern-title {
        font-size: 1.05rem;
    }
}

/* Dark Mode */
:root[data-theme="dark"] .timeline-modern-section,
@media (prefers-color-scheme: dark) {
    .timeline-modern-section {
        background: transparent;
    }

    .timeline-modern-list {
        border-left: 3px solid #222b3a;
    }

    .timeline-modern-dot {
        background: #191c22;
        border-color: #0a84ff;
    }

    .timeline-modern-dot--active {
        background: #0a84ff;
        border-color: #0a84ff;
        box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
    }

    .timeline-modern-content {
        background: #191c22;
        border: 1px solid #222b3a;
        color: #e5e7eb;
        box-shadow: 0 4px 18px rgba(10, 132, 255, 0.09);
    }

    .timeline-modern-content:hover,
    .timeline-modern-content:focus-within {
        border-color: #0a84ff;
        box-shadow: 0 8px 32px rgba(10, 132, 255, 0.18);
    }

    .timeline-modern-date {
        color: #60aaff;
    }

    .timeline-modern-content h3 {
        color: #e5e7eb;
    }

    .timeline-modern-content p {
        color: #bfc9d1;
    }
}

/* Timeline Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Skills/Language Progress (Punkte) */
.skills-section {
    width: 100%;
    max-width: 700px;
    margin: 2.5rem auto 2rem auto;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(10, 132, 255, 0.06);
    border: 1px solid #e5e7eb;
}

.skills-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #0a84ff;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.skill-progress {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.skill-label {
    min-width: 80px;
    font-weight: 600;
    color: #222;
}

.skill-dots {
    display: flex;
    gap: .5rem;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 2px solid #bfc9d1;
    display: inline-block;
    transition: background .2s, border-color .2s;
}

.dot.filled {
    background: #0a84ff;
    border-color: #0a84ff;
}

.skill-progress-line {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.skill-bar-line {
    flex: 1 1 120px;
    height: 18px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-right: .5rem;
    position: relative;
    box-shadow: 0 1px 4px rgba(10, 132, 255, 0.04);
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0a84ff 0%, #22c55e 100%);
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 32px;
    animation: skillBarGrow 1.2s cubic-bezier(.4, 0, .2, 1);
}

@keyframes skillBarGrow {
    from {
        width: 0;
    }

    to {
        width: var(--bar-width, 100%);
    }
}

.skill-bar-percent {
    font-size: .97rem;
    font-weight: 700;
    color: #fff;
    padding-right: 10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.13);
    letter-spacing: .01em;
}

@media (max-width: 600px) {
    .skills-section {
        padding: 1rem .5rem;
    }

    .skill-label {
        min-width: 60px;
        font-size: .97rem;
    }

    .dot {
        width: 14px;
        height: 14px;
    }

    .skill-bar-line {
        height: 12px;
    }

    .skill-bar-percent {
        font-size: .93rem;
        padding-right: 6px;
    }
}

:root[data-theme="dark"] .skills-section,
@media (prefers-color-scheme: dark) {
    .skills-section {
        background: #191c22;
        border: 1px solid #222b3a;
        color: #e5e7eb;
        box-shadow: 0 4px 18px rgba(10, 132, 255, 0.09);
    }

    .skills-title {
        color: #60aaff;
    }

    .skill-label {
        color: #e5e7eb;
    }

    .dot {
        background: #222b3a;
        border-color: #444f5a;
    }

    .dot.filled {
        background: #0a84ff;
        border-color: #0a84ff;
    }

    .skill-bar-line {
        background: #222b3a;
    }

    .skill-bar-fill {
        background: linear-gradient(90deg, #0a84ff 0%, #22c55e 100%);
    }

    .skill-bar-percent {
        color: #e7e7eb;
        text-shadow: 0 1px 4px #0a84ff33;
    }
}

.about-stats-section {
    width: 100%;
    background: #f7f7f9;
    padding: 2.5rem 0 2.5rem 0;
    margin-bottom: 1.5rem;
}

.about-stats-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.about-stat {
    flex: 1 1 180px;
    min-width: 140px;
    text-align: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-out;
}

.about-stat:hover {
    transform: translateY(-5px);
}

.about-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a84ff;
    margin-bottom: .25rem;
    font-family: 'STIX Two Text', 'Montserrat', serif;
    letter-spacing: .01em;
    transition: color .2s, text-shadow .2s, transform .3s;
}

.about-stat-number.counted {
    animation: countComplete 0.5s ease-out forwards;
}

@keyframes countComplete {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
        text-shadow: 0 0 15px rgba(10, 132, 255, 0.4);
    }

    100% {
        transform: scale(1);
    }
}

.about-stat-number:hover {
    text-shadow: 0 2px 10px rgba(10, 132, 255, 0.15);
    transform: scale(1.05);
}

.about-stat-label {
    font-size: 1.08rem;
    color: #222;
    opacity: .85;
    font-family: 'Noto Sans', sans-serif;
}

@media (max-width: 700px) {
    .about-stats-grid {
        gap: 1.2rem;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .about-stat-label {
        font-size: .97rem;
    }
}

@media (max-width: 480px) {
    .about-stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about-stat {
        min-width: 0;
    }
}

:root[data-theme="dark"] .about-stats-section {
    background: #181a1e;
}

:root[data-theme="dark"] .about-stat-label {
    color: #e5e7eb;
}

:root[data-theme="dark"] .about-stat-number {
    color: #60aaff;
}

.timeline-sticky-years {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-sticky-years__list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-sticky-years__item {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111827;
    transition: color 0.2s;
}

.timeline-sticky-years__item:hover {
    color: #0a84ff;
}

.timeline-sticky-years__item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0a84ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.timeline-sticky-years__item:hover::after {
    transform: scaleX(1);
}

/* Timeline-Events mit Tags/Badges (Nr. 3) */
.timeline-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    background: rgba(10, 132, 255, 0.1);
    color: #0a84ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-tag-education {
    background: rgba(10, 132, 255, 0.12);
    color: #0a84ff;
}

.timeline-tag-certificate {
    background: rgba(52, 199, 89, 0.12);
    color: #34c759;
}

.timeline-tag-work {
    background: rgba(255, 149, 0, 0.12);
    color: #ff9500;
}

.timeline-tag-event {
    background: rgba(175, 82, 222, 0.12);
    color: #af52de;
}

.timeline-tag i {
    margin-right: 0.25rem;
    font-size: 0.85rem;
}

/* Dark mode für Tags */
:root[data-theme="dark"] .timeline-tag-education {
    background: rgba(10, 132, 255, 0.18);
    color: #60aaff;
}

:root[data-theme="dark"] .timeline-tag-certificate {
    background: rgba(52, 199, 89, 0.18);
    color: #30d158;
}

:root[data-theme="dark"] .timeline-tag-work {
    background: rgba(255, 149, 0, 0.18);
    color: #ff9f0a;
}

:root[data-theme="dark"] .timeline-tag-event {
    background: rgba(175, 82, 222, 0.18);
    color: #bf5af2;
}

/* Timeline-Events Hover-Animation (Nr. 23) */
.timeline-fischaela__event {
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
        background-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.timeline-fischaela__event:hover,
.timeline-fischaela__event.hover-active {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 6px 25px rgba(10, 132, 255, 0.1);
    z-index: 2;
}

.timeline-fischaela__event:hover .timeline-fischaela__event__icon,
.timeline-fischaela__event.hover-active .timeline-fischaela__event__icon {
    transform: scale(1.15);
    color: #22c55e;
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.15);
}

.timeline-fischaela__event::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.08) 0%, rgba(10, 132, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    border-radius: inherit;
}

.timeline-fischaela__event:hover::after,
.timeline-fischaela__event.hover-active::after {
    opacity: 1;
}

.timeline-fischaela__event__icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.35s ease,
        box-shadow 0.35s ease;
}

.timeline-fischaela__event:hover .timeline-fischaela__event__title,
.timeline-fischaela__event.hover-active .timeline-fischaela__event__title {
    color: #0a84ff;
}

:root[data-theme="dark"] .timeline-fischaela__event:hover,
:root[data-theme="dark"] .timeline-fischaela__event.hover-active {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

:root[data-theme="dark"] .timeline-fischaela__event::after {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.08) 0%, rgba(10, 132, 255, 0) 100%);
}

:root[data-theme="dark"] .timeline-fischaela__event:hover .timeline-fischaela__event__icon,
:root[data-theme="dark"] .timeline-fischaela__event.hover-active .timeline-fischaela__event__icon {
    color: #6ee7b7;
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.15);
}

:root[data-theme="dark"] .timeline-fischaela__event:hover .timeline-fischaela__event__title,
:root[data-theme="dark"] .timeline-fischaela__event.hover-active .timeline-fischaela__event__title {
    color: #60aaff;
}

/* Stats/CountUp Section - verbessert mit Animation */
.about-stats-section {
    width: 100%;
    background: #f7f7f9;
    padding: 2.5rem 0 2.8rem 0;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-stats-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.about-stat {
    flex: 1 1 180px;
    min-width: 140px;
    text-align: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-out;
}

.about-stat:hover {
    transform: translateY(-5px);
}

.about-stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a84ff;
    margin-bottom: .4rem;
    font-family: 'STIX Two Text', 'Montserrat', serif;
    letter-spacing: .01em;
    line-height: 1;
    transition: color .2s, text-shadow .2s;
}

.about-stat-number.counted {
    animation: countComplete 0.6s ease-out forwards;
}

@keyframes countComplete {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
        text-shadow: 0 0 15px rgba(10, 132, 255, 0.4);
    }

    100% {
        transform: scale(1);
    }
}

.about-stat-label {
    font-size: 1.08rem;
    color: #333;
    font-family: 'Noto Sans', sans-serif;
}

@media (max-width: 700px) {
    .about-stats-grid {
        gap: 1.2rem;
    }

    .about-stat-number {
        font-size: 1.8rem;
    }

    .about-stat-label {
        font-size: .97rem;
    }
}

@media (max-width: 480px) {
    .about-stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about-stat {
        min-width: 160px;
        width: 100%;
    }
}

:root[data-theme="dark"] .about-stats-section {
    background: #181a1e;
}

:root[data-theme="dark"] .about-stat_label {
    color: #e5e7eb;
}

:root[data-theme="dark"] .about-stat-number {
    color: #60aaff;
}

/* Progress Bar am Seitenkopf (Nr. 28) */
.scroll-progress-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 90;
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0a84ff, #60a5fa);
    width: 0;
    transition: width 0.1s ease-out;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Digitale Visitenkarte - Repariertes Design */
.cv-card-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding: 0 1.5rem;
}

.cv-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.cv-card-content {
    padding: 2rem;
}

.cv-card-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #111827;
    font-weight: 600;
}

.cv-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.cv-card-list li {
    display: flex;
    align-items: baseline;
    font-size: 1.05rem;
    line-height: 1.5;
    position: relative;
    padding-left: 0;
}

.cv-card-list li strong {
    display: inline-block;
    width: 130px;
    color: #4b5563;
    font-weight: 600;
    margin-right: 0.5rem;
}

.cv-card-list li a {
    color: #0a84ff;
    text-decoration: none;
    transition: color 0.2s;
}

.cv-card-list li a:hover {
    color: #0060df;
    text-decoration: underline;
}

.cv-card-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #0a84ff;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.cv-download-btn:hover {
    background: #0060df;
    transform: translateY(-2px);
}

.cv-download-btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .cv-card-content {
        padding: 1.5rem;
    }

    .cv-card-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .cv-card-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .cv-card-list li strong {
        width: auto;
        color: #4b5563;
    }
}

/* Dark mode für Visitenkarte */
:root[data-theme="dark"] .cv-card {
    background: #1f2937;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

:root[data-theme="dark"] .cv-card-title {
    color: #f3f4f6;
}

:root[data-theme="dark"] .cv-card-list li {
    color: #e5e7eb;
}

:root[data-theme="dark"] .cv-card-list li strong {
    color: #d1d5db;
}

:root[data-theme="dark"] .cv-download-btn {
    background: #3b82f6;
}

:root[data-theme="dark"] .cv-download-btn:hover {
    background: #2563eb;
}

/* Reduzierte Bewegung für Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {

    .timeline-fischaela__event,
    .timeline-fischaela__event:hover,
    .timeline-fischaela__event.hover-active,
    .timeline-fischaela__event__icon,
    .about-stat,
    .about-stat:hover,
    .about-stat-number,
    .about-stat-number:hover,
    .cv-card,
    .cv-card:hover,
    .cv-download-btn,
    .cv-download-btn:hover,
    .cv-download-btn:active {
        transition: none;
        transform: none;
        animation: none;
    }

    .scroll-progress-bar {
        transition: none;
    }
}