/* Visually Hidden Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section */
#hero {
    height: 55svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    position: relative;
    overflow: clip;
    background: none;
    border-bottom: 1px solid var(--accent-color);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.1;
    z-index: 0;
    background-image: url('/assets/images/hero-background/hero-bg-light.webp');
    background-size: cover;
    background-position: center;
    filter: contrast(100%);
    animation: kenBurns 20s infinite alternate ease-in-out;
}

[data-theme="dark"] .hero-bg {
    background-image: url('/assets/images/hero-background/hero-bg-dark.webp');
}

[data-theme="dark"].hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    text-align: left;
    max-width: 52%;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.88;
    margin-bottom: 0;
    letter-spacing: -0.03em;
    text-wrap: nowrap;
}

.title-solid {
    display: block;
    color: #080808;
    font-weight: 900;
    white-space: nowrap;
}
[data-theme="dark"] .title-solid {
    color: #faf8f8;
}

.title-outline {
    display: block;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-color);
    font-weight: 900;
    white-space: nowrap;
} 

.title-outline:hover {
     -webkit-text-stroke: 3px #414142;

}


[data-theme="dark"] .title-outline:hover {
    -webkit-text-stroke: 3px #1e6bff;
}

.hero-divider {
    border: none;
    border-top: 2px solid var(--text-color);
    margin: 1.4rem 0 1.2rem;
    width: 100%;
}

[data-theme="dark"] .hero-divider {
    border-top: 2px solid var(--text-color);
}

.hero-desc {
   font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 2vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0c0c0c;
    margin: 0;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.8s;
}

[data-theme="dark"] .hero-desc {
     color: #fbf9f9;

}

/* Animated Typography */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    animation: charReveal 0.55s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

.title-outline .char {
    color: white;
    -webkit-text-stroke: inherit;
}

[data-theme="dark"] .title-outline .char {
    color: rgb(12, 12, 12); }

/* Blob Hintergrund */
#mainblob {
    position: relative;
    overflow: clip;
    isolation: isolate;
}

.main-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.blob {
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(72px);
    opacity: 0.6;
    mix-blend-mode: multiply;
    will-change: transform, border-radius;
}

[data-theme="dark"] .blob {
    mix-blend-mode: screen;
    opacity: 0.45;
}

.blob--1 {
    width: clamp(320px, 42vw, 620px);
    height: clamp(320px, 42vw, 620px);
    background: radial-gradient(circle at 40% 40%, #fff8e1, #1e6bff 60%, transparent);
}

.blob--2 {
    width: clamp(260px, 36vw, 540px);
    height: clamp(260px, 36vw, 540px);
    background: radial-gradient(circle at 60% 30%, #ffffff, #91c5f9 55%, transparent);
}

.blob--3 {
    width: clamp(220px, 30vw, 450px);
    height: clamp(220px, 30vw, 450px);
    background: radial-gradient(circle at 50% 60%, #57cffe, #97b1d8 50%, transparent);
}

[data-theme="dark"] .blob--1 {
    background: radial-gradient(circle at 40% 40%, #0a0a0a, #0d2ae6 60%, transparent);
}

[data-theme="dark"] .blob--2 {
    background: radial-gradient(circle at 60% 30%, #3a3a3a, #1a1a2e 55%, transparent);
}

[data-theme="dark"] .blob--3 {
    background: radial-gradient(circle at 50% 60%, #30dcdc, #2659cf 50%, transparent);
}

/* Layout */
.section-inner {
    width: 100%;
    max-width: 1400px;
}

section:not(#hero) {
    padding: 6rem 5%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

/* Intro Section */
#intro .intro-top {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: end;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 3.5rem;
}

.intro-greeting {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.03em;
}

.intro-name-em {
    color: var(--accent-color);
}

.intro-lead {
    font-size: clamp(1.1rem, 1.6vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-color);
    text-wrap: balance;
    margin: 0;
}

.intro-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 2px;
}

.intro-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.intro-availability {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

.intro-body-block {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 3.5rem;
}

.intro-body {
    font-size: clamp(1.1rem, 1.6vw, 1.2rem);
    line-height: 1.9;
    color: var(--text-muted);
    margin: 0;
    text-wrap: balance;
}

.intro-body strong {
    color: var(--text-color);
    font-weight: 700;
}

.intro-manifest {
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 3.5rem;
}

.intro-manifest-label {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    margin: 0 0 1rem;
}

.intro-goals {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-goal-item {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid var(--glass-border);
}

.intro-goal-n {
    font-family: 'Archivo', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    min-width: 2rem;
    flex-shrink: 0;
}

.intro-goal-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.intro-closing {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: flex-start;
}

.intro-open-text {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.85;
    color: var(--text-muted);
    margin: 0;
    text-wrap: balance;
    max-width: 680px;
}

.intro-open-text strong {
    color: var(--text-color);
    font-weight: 700;
}

.btn-contact {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    background: transparent;
}

.btn-contact:hover {
    background: var(--accent-color);
    color: #111;
    transform: translateY(-2px);
}

/* Werdegang */
#career {
    background: var(--bg-color2);
}

#career h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: left;
    transition: color 0.3s, -webkit-text-stroke 0.3s;
    cursor: default;
}

#career h2:hover {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-color5);
    paint-order: stroke fill;
}

.timeline {
    position: relative;
    max-width: 800px;
    border-left: 2px solid var(--accent-color5);
    padding-left: 2.5rem;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.05rem;
    top: 0.4rem;
    width: 1rem;
    height: 1rem;
    background: var(--accent-color5);
    border-radius: 50%;
    border: 4px solid var(--bg-color2);
}

.timeline-date {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: var(--accent-color5);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.timeline-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.timeline-desc {
    color: var(--sub-text);
    font-size: clamp(1rem, 1.1vw, 1.2rem);
}

/* Skills Section */
#skills h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    margin-top: 3.5rem;
    text-align: left;
    transition: color 0.3s, -webkit-text-stroke 0.3s;
    cursor: default;
}

#skills h2:hover {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-color5);
    paint-order: stroke fill;
}

#skills h2:first-child {
    margin-top: 0;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.skill-tag {
    padding: 0.7rem 1.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.skill-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.04);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.tool-card {
    background: var(--bg-color2);
    padding: 1.5rem 1rem;
    border: 1px solid var(--glass-border);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.tool-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

/* Accordion */
.expertise-accordion {
    margin-bottom: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: left;
    transition: color 0.3s;
}

.accordion-header:hover { color: var(--accent-color); }

.accordion-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    list-style: none;
}

.list-grid li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--sub-text);
    font-size: clamp(1rem, 1.1vw, 1.2rem);
}

.list-grid li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Private Leidenschaft */
#private {
    background: none;
}

.illus-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.illus-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.illus-heading {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin-bottom: 1.8rem;
    text-wrap: balance;
}

.illus-heading-outline {
    display: block;
    color: transparent;
    font-size: clamp(2.7rem, 4vw, 3.5rem);
    -webkit-text-stroke: 2px var(--text-color);
}

.illus-desc {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2.4rem;
    max-width: 480px;
    text-wrap: balance;
}

.illus-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.illus-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #111;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.6rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.illus-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.illus-stack {
    position: relative;
    height: clamp(320px, 40vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.illus-card {
    position: absolute;
    width: clamp(140px, 20vw, 250px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(128,128,128,0.15);
    margin: 0;
}

.illus-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

.illus-card--back {
    z-index: 1;
    opacity: 0.82;
    filter: brightness(0.88);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1), opacity 0.5s;
}

.illus-card--back:nth-of-type(1) {
    transform: rotate(-12deg) translate(-90%, 8%);
    z-index: 1;
}

.illus-card--back:nth-of-type(2) {
    transform: rotate(10deg) translate(90%, 8%);
    z-index: 1;
}

.illus-card--front {
    transform: rotate(0deg) translate(0%, -4%);
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

.illus-stack:hover .illus-card--back:nth-of-type(1) {
    transform: rotate(-16deg) translate(-108%, 12%);
    opacity: 0.9;
}

.illus-stack:hover .illus-card--back:nth-of-type(2) {
    transform: rotate(14deg) translate(108%, 12%);
    opacity: 0.9;
}

.illus-stack:hover .illus-card--front {
    transform: rotate(0deg) translate(0%, -8%);
}

.illus-stack:hover .illus-card img { transform: scale(1.04); }

/* Unternavigation */
#subnav {
    border-bottom: none;
}

/* Animationen */
@keyframes charReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* Responsive */
@media (max-width: 1024px) {
    #intro .intro-top {
        grid-template-columns: 1fr 240px;
        gap: 3rem;
    }
}

@media (max-width: 834px) {
    .hero-content {
        max-width: 70%;
    }

    #intro .intro-top {
        grid-template-columns: 1fr 200px;
        gap: 2.5rem;
    }

    .illus-inner { grid-template-columns: 1fr; gap: 3rem; }
    .illus-stack { height: clamp(260px, 55vw, 380px); order: -1; }
}

@media (max-width: 768px) {
    #intro .intro-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-portrait {
        width: 60%;
        aspect-ratio: 3 / 4;
    }
     .hero-bg { background-image: url('/assets/images/hero-background/hero500-light.webp'); }
    [data-theme="dark"] .hero-bg { background-image: url('/assets/images/hero-background/hero500-dark.webp'); }


    .hero-content {
        max-width: 90%;
    }

    .hero-title { font-size: clamp(3.2rem, 26vw, 7rem); }
    .hero-desc { font-size: clamp(1.6rem, 4vw, 2rem); white-space: normal; max-width: 90vw; }

    .illus-inner { grid-template-columns: 1fr; }
    .illus-stack { height: clamp(240px, 60vw, 340px); order: -1; }
    .illus-cta { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .illus-heading-outline { -webkit-text-stroke: 1px var(--text-color); font-size: 2.8rem; }
    .illus-btn { width: 100%; text-align: center; }
   }

@media (max-width: 480px) {
    section:not(#hero) {
        padding: 4rem 5%;
    }
     .hero-bg {
        background-image: url('/assets/images/hero-background/hero500-light.webp');
    }

    [data-theme="dark"] .hero-bg {
        background-image: url('/assets/images/hero-background/hero500-dark.webp');
        opacity: 0.3;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title { font-size: clamp(3rem, 26vw, 6rem); }
    .hero-desc { font-size: clamp(1.4rem, 3.8vw, 1.5rem); white-space: normal; }
    .illus-heading-outline { -webkit-text-stroke: 0.7px var(--text-color); font-size: 2.75rem; }

    .intro-portrait {
        width: 80%;
    }

    .intro-goal-text {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .list-grid {
        grid-template-columns: 1fr 1fr;
    }

   
}