* {
    box-sizing:border-box;
    margin:0;
    padding:0
}
:root {
    --bg:#151820;
    --bg-2:#1d222c;
    --bg-3:#272d38;
    --surface:rgba(255,255,255,.065);
    --surface-2:rgba(255,255,255,.105);
    --border:rgba(255,255,255,.14);
    --text:#f4f2ef;
    --text-dim:#c7c1bc;
    --text-mute:#8f8a86;
    --accent:#9b6cff;
    --accent-2:#d66a6a;
    --accent-soft:rgba(155,108,255,.20);
    --grad:linear-gradient(135deg,#9b6cff 0%,#d66a6a 100%);
    --shadow:0 22px 60px rgba(0,0,0,.30);
    --nav-bg:rgba(29,34,44,.78);
    --radius:18px;
    --container:1120px
}
html.light,
body.light {
    --bg:#eee9e1;
    --bg-2:#f6f1ea;
    --bg-3:#e4ddd3;
    --surface:rgba(83,67,52,.075);
    --surface-2:rgba(83,67,52,.12);
    --border:rgba(83,67,52,.18);
    --text:#221f1d;
    --text-dim:#5b544e;
    --text-mute:#80776f;
    --accent:#7c4df3;
    --accent-2:#b84f5d;
    --accent-soft:rgba(124,77,243,.16);
    --shadow:0 18px 45px rgba(95,76,55,.14);
    --nav-bg:rgba(246,241,234,.82)
}
html {
    scroll-behavior:smooth
}
body {
    min-height:100vh;
    overflow-x:hidden;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:15px;
    line-height:1.6;
    color:var(--text);
    letter-spacing:-.01em;
    background:radial-gradient(900px 450px at 7% 0%,rgba(155,108,255,.20),transparent 62%),radial-gradient(700px 420px at 93% 18%,rgba(214,106,106,.14),transparent 58%),linear-gradient(180deg,var(--bg),color-mix(in oklab,var(--bg) 92%,#000 8%))
}
html.light body,
body.light {
    background:radial-gradient(900px 440px at 7% 0%,rgba(124,77,243,.13),transparent 62%),radial-gradient(720px 420px at 93% 18%,rgba(184,79,93,.10),transparent 58%),linear-gradient(180deg,#eee9e1,#e8e0d5 100%)
}
img {
    max-width:100%;
    display:block
}
a {
    color:inherit;
    text-decoration:none
}
button,
input,
textarea {
    font:inherit
}
button {
    cursor:pointer
}
.container {
    width:min(92%,var(--container));
    margin-inline:auto
}
.loader {
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:center;
    gap:12px;
    background:var(--bg);
    transition:opacity .35s ease,visibility .35s ease
}
.loader.hide {
    opacity:0;
    visibility:hidden
}
.loader-ring {
    width:46px;
    height:46px;
    border:3px solid var(--border);
    border-top-color:var(--accent);
    border-right-color:var(--accent-2);
    border-radius:50%;
    animation:spin .9s linear infinite
}
.loader-text {
    color:var(--text-dim);
    font-size:13px
}
@keyframes spin {
    to {
        transform:rotate(360deg)
    }
}
.navbar {
    position:sticky;
    top:14px;
    z-index:1000;
    width:100%;
    margin:0 auto;
    background:transparent
}
.nav-inner {
    min-height:54px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
    padding:7px 10px 7px 16px;
    border:1px solid color-mix(in oklab,var(--border) 76%,transparent);
    border-radius:999px;
    background:var(--nav-bg);
    box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(18px) saturate(150%);
    -webkit-backdrop-filter:blur(18px) saturate(150%);
    position:relative;
    overflow:hidden;
    animation:slide-in .75s ease-out
}
.nav-inner:before {
    content:"";
    position:absolute;
    inset:0;
    padding:1px;
    border-radius:inherit;
    background:linear-gradient(120deg,rgba(155,108,255,.7),rgba(214,106,106,.45),rgba(255,255,255,.12));
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none
}
.nav-inner:after {
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:-45%;
    width:35%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent);
    transform:skewX(-18deg);
    animation:nav-shine 7s ease-in-out infinite;
    pointer-events:none
}
@keyframes slide-in {
    0% {
        transform:translateY(-55px)
    }
    60% {
        transform:translateY(5px)
    }
    100% {
        transform:translateY(0)
    }
}
@keyframes nav-shine {
    0%,
    35% {
        left:-45%;
        opacity:0
    }
    45% {
        opacity:1
    }
    65%,
    100% {
        left:115%;
        opacity:0
    }
}
.brand {
    position:relative;
    z-index:1;
    justify-self:start;
    font-weight:800;
    letter-spacing:.06em;
    font-size:14px;
    white-space:nowrap
}
.brand span,
.grad-text {
    background:var(--grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent
}
.nav-links {
    position:relative;
    z-index:1;
    justify-self:center;
    display:flex;
    align-items:center;
    gap:20px
}
.nav-links a {
    position:relative;
    padding:8px 0;
    color:var(--text-dim);
    font-size:11.5px;
    font-weight:800;
    letter-spacing:.11em;
    text-transform:uppercase;
    transition:color .22s ease,transform .22s ease
}
.nav-links a:after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:3px;
    height:2px;
    border-radius:999px;
    background:var(--grad);
    transform:scaleX(0);
    transition:transform .22s ease
}
.nav-links a:hover,
.nav-links a.active {
    color:var(--accent);
    transform:translateY(-1px)
}
.nav-links a:hover:after,
.nav-links a.active:after {
    transform:scaleX(1)
}
.nav-actions {
    position:relative;
    z-index:1;
    justify-self:end;
    display:flex;
    align-items:center;
    gap:7px
}
.search-field {
    height:36px;
    width:205px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 12px;
    border:1px solid var(--border);
    border-radius:999px;
    background:rgba(255,255,255,.05);
    color:var(--text-dim)
}
.search-field input {
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-size:13px
}
.search-field input::placeholder {
    color:var(--text-mute)
}
.icon-btn {
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid var(--border);
    border-radius:50%;
    background:rgba(255,255,255,.05);
    color:var(--text);
    transition:.2s
}
.icon-btn:hover {
    color:var(--accent);
    background:var(--surface-2);
    transform:translateY(-1px)
}
.menu-toggle {
    display:none
}
.search-results {
    display:none;
    margin-top:10px;
    padding:10px;
    border:1px solid var(--border);
    border-radius:20px;
    background:var(--nav-bg);
    box-shadow:var(--shadow);
    backdrop-filter:blur(18px)
}
.search-results.show {
    display:grid;
    gap:8px
}
.search-results a,
.search-results p {
    padding:10px 12px;
    border-radius:13px;
    background:var(--surface);
    color:var(--text-dim);
    font-size:13px
}
.search-results a:hover {
    color:var(--accent)
}
.section {
    position:relative;
    padding:82px 0
}
.page-hero {
    padding-top:104px;
    padding-bottom:30px;
    text-align:center
}
.kicker {
    margin-bottom:10px;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:12px;
    font-weight:800
}
h1 {
    font-size:clamp(34px,6vw,62px);
    line-height:1.03;
    letter-spacing:-.04em
}
h2 {
    font-size:clamp(24px,3vw,34px);
    line-height:1.1
}
h3 {
    font-size:18px
}
p,
.lead,
.section-sub {
    color:var(--text-dim)
}
.lead {
    max-width:720px;
    margin:14px auto 0;
    font-size:16px
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:11px 18px;
    border:1px solid transparent;
    border-radius:12px;
    font-size:14px;
    font-weight:800;
    transition:.22s
}
.btn.full {
    width:100%
}
.btn.small {
    padding:8px 13px;
    font-size:13px
}
.btn-primary {
    background:var(--grad);
    color:#fff
}
.btn-ghost {
    border-color:var(--border);
    background:var(--surface);
    color:var(--text)
}
.btn:hover {
    transform:translateY(-2px)
}
.hero {
    min-height:calc(100vh - 90px);
    display:flex;
    align-items:center;
    overflow:hidden
}
.hero-grid {
    position:relative;
    z-index:1;
    display:grid;
    gap:38px;
    align-items:center
}
.hero-text h1 {
    margin-top:16px
}
.role {
    margin-top:8px;
    color:var(--text);
    font-size:clamp(18px,2vw,22px)
}
.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 11px;
    border:1px solid var(--border);
    border-radius:999px;
    background:var(--surface);
    color:var(--text-dim);
    font-size:12px
}
.dot {
    width:8px;
    height:8px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 12px #22c55e
}
.hero-ctas {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px
}
.photo-wrap {
    width:min(330px,82vw);
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:28px;
    box-shadow:0 24px 55px rgba(0,0,0,.24);
    transform:rotate(-1.2deg);
    transition:.25s;
    background:var(--surface)
}
.photo-wrap:hover {
    transform:rotate(0) translateY(-4px);
    box-shadow:0 28px 70px rgba(155,108,255,.20)
}
.photo-wrap img {
    width:100%;
    aspect-ratio:1;
    object-fit:cover;
    border-radius:28px
}
.photo-caption {
    margin-top:16px;
    color:var(--text-dim);
    font-size:14px
}
.teaser-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
    margin-top:30px
}
.teaser {
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:20px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:color-mix(in oklab,var(--surface) 84%,transparent);
    box-shadow:var(--shadow);
    transition:.22s
}
.teaser:hover {
    transform:translateY(-4px);
    border-color:rgba(155,108,255,.45)
}
.teaser-icon {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--grad);
    color:#fff;
    font-weight:800
}
.teaser-link {
    margin-top:auto;
    color:var(--accent);
    font-weight:800;
    font-size:13px
}
.editorial,
.skills-wrap,
.project-list {
    max-width:900px;
    margin-inline:auto
}
.chapter,
.skill-section {
    padding:28px 0;
    border-top:1px solid var(--border)
}
.chapter:first-child,
.skill-section:first-child {
    border-top:0
}
.chapter-head {
    display:grid;
    grid-template-columns:88px 1fr;
    gap:16px;
    margin-bottom:16px
}
.chapter-num,
.project-row>span,
.skill-icon {
    color:var(--accent);
    font-weight:800;
    letter-spacing:.12em
}
.chapter-body p+p {
    margin-top:10px
}
.info-lines {
    list-style:none
}
.info-lines li {
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:10px 0;
    border-bottom:1px dashed var(--border)
}
.info-lines span {
    color:var(--text-dim)
}
.info-lines strong {
    text-align:right
}
.timeline {
    list-style:none;
    padding-left:18px;
    border-left:1px solid var(--border)
}
.timeline li {
    position:relative;
    padding-bottom:18px
}
.timeline li:before {
    content:"";
    position:absolute;
    left:-23px;
    top:8px;
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--accent)
}
.t-date {
    color:var(--accent);
    font-size:12px;
    font-weight:800
}
.album-grid {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    grid-auto-rows:118px;
    gap:14px;
    margin-top:20px
}
.album-item {
    position:relative;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:24px;
    background:var(--surface);
    box-shadow:0 16px 40px rgba(0,0,0,.16);
    transition:.25s
}
.album-item:hover {
    transform:translateY(-4px);
    border-color:rgba(155,108,255,.45)
}
.album-item img {
    width:100%;
    height:100%;
    object-fit:contain;
    padding:18px;
    background:radial-gradient(circle at 25% 15%,rgba(155,108,255,.22),transparent 35%),linear-gradient(135deg,var(--bg-3),var(--bg-2))
}
.album-item figcaption {
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    padding:7px 10px;
    border-radius:999px;
    background:rgba(20,22,28,.62);
    color:#fff;
    font-size:12px;
    font-weight:800;
    text-align:center;
    backdrop-filter:blur(8px)
}
.album-item.tall {
    grid-row:span 2
}
.album-item.wide {
    grid-column:span 2
}
.project-filter {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px
}
.filter-btn {
    padding:9px 18px;
    border:1px solid var(--border);
    border-radius:999px;
    background:transparent;
    color:var(--text-dim);
    font-weight:800;
    transition:.22s
}
.filter-btn:hover,
.filter-btn.active {
    color:var(--accent);
    border-color:rgba(139,92,246,.55);
    background:var(--surface-2)
}
.project-row {
    display:grid;
    grid-template-columns:70px 1fr;
    gap:20px;
    padding:30px 0;
    border-top:1px dashed var(--border);
    transition:.22s
}
.project-row:first-child {
    border-top:0
}
.project-row:hover {
    transform:translateX(6px);
    border-color:rgba(155,108,255,.45)
}
.project-row.is-hidden,
.project-line.hide {
    display:none
}
.project-row h2 {
    margin-bottom:10px
}
.inline-tags {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px
}
.tag {
    padding:5px 10px;
    border:1px solid var(--border);
    border-radius:999px;
    background:var(--surface);
    color:var(--text-dim);
    font-size:12px;
    font-weight:700
}
.skill-section h3 {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:14px
}
.skill-rows {
    display:grid;
    gap:12px
}
.s-head {
    display:flex;
    justify-content:space-between;
    font-size:14px
}
.s-head span:last-child {
    color:var(--text-dim);
    font-size:12px
}
.bar {
    height:5px;
    overflow:hidden;
    border-radius:999px;
    background:var(--surface-2)
}
.bar-fill {
    height:100%;
    width:0;
    border-radius:999px;
    background:var(--grad);
    transition:width 1s ease
}
.work-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:10px
}
.work-item {
    padding:13px 14px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface);
    color:var(--text-dim)
}
.contact-grid {
    display:grid;
    gap:26px;
    max-width:900px;
    margin-inline:auto
}
.contact-form {
    padding:24px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:color-mix(in oklab,var(--surface) 84%,transparent);
    box-shadow:var(--shadow)
}
.contact-list {
    display:grid;
    gap:10px;
    margin-top:20px;
    list-style:none
}
.contact-list a,
.contact-list li {
    display:block;
    padding:12px 14px;
    border-bottom:1px dashed var(--border);
    color:var(--text-dim)
}
.contact-list a:hover {
    color:var(--accent)
}
.field {
    margin-bottom:13px
}
.field label {
    display:block;
    margin-bottom:5px;
    color:var(--text-dim);
    font-size:13px
}
.field input,
.field textarea {
    width:100%;
    padding:11px 13px;
    border:1px solid var(--border);
    border-radius:11px;
    outline:none;
    resize:vertical;
    background:var(--surface);
    color:var(--text)
}
.field input:focus,
.field textarea:focus {
    border-color:var(--accent);
    box-shadow:0 0 0 3px var(--accent-soft)
}
.form-msg {
    min-height:20px;
    margin:5px 0 10px;
    color:var(--accent-2);
    font-size:13px
}
.auth-card {
    max-width:470px;
    margin-inline:auto;
    padding:28px;
    text-align:center;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:color-mix(in oklab,var(--surface) 84%,transparent);
    box-shadow:var(--shadow)
}
.auth-icon {
    margin-bottom:8px;
    font-size:34px
}
.docs-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    max-width:900px;
    margin:0 auto 18px;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface)
}
.ok {
    color:#22c55e;
    font-weight:800
}
.docs-list {
    max-width:900px;
    display:grid;
    gap:13px;
    margin-inline:auto
}
.doc-line {
    display:grid;
    grid-template-columns:54px 1fr;
    align-items:center;
    gap:16px;
    padding:17px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:color-mix(in oklab,var(--surface) 84%,transparent);
    box-shadow:var(--shadow);
    transition:.22s
}
.doc-line:hover {
    transform:translateY(-3px);
    border-color:rgba(139,92,246,.45)
}
.doc-line>span {
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:var(--grad);
    color:#fff;
    font-weight:800
}
.doc-line h2 {
    font-size:21px
}
.doc-line p {
    font-size:13px
}
.netlify-note {
    max-width:900px;
    margin:18px auto 0;
    padding:16px;
    border:1px dashed var(--border);
    border-radius:16px;
    color:var(--text-dim)
}
.footer {
    padding:25px 0;
    border-top:1px solid var(--border);
    background:color-mix(in oklab,var(--bg-2) 94%,transparent)
}
.footer-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    color:var(--text-dim);
    font-size:13px
}
.socials {
    display:flex;
    gap:8px
}
.socials a {
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid var(--border);
    border-radius:50%;
    background:var(--surface);
    font-weight:800
}
.socials a:hover {
    background:var(--grad);
    color:#fff
}
.to-top {
    position:fixed;
    right:18px;
    bottom:18px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:var(--grad);
    color:#fff;
    opacity:0;
    pointer-events:none;
    transform:translateY(8px);
    transition:.25s
}
.to-top.show {
    opacity:1;
    pointer-events:auto;
    transform:none
}
.reveal {
    opacity:0;
    transform:translateY(20px);
    transition:opacity .65s ease,transform .65s ease
}
.reveal.visible,
.reveal.in {
    opacity:1;
    transform:none
}
[hidden] {
    display:none!important
}
@media(min-width:900px) {
    .hero-grid {
        grid-template-columns:1.15fr .85fr
    }
    .hero-photo {
        justify-self:center
    }
}
@media(max-width:980px) {
    .nav-inner {
        grid-template-columns:1fr auto
    }
    .nav-links {
        position:absolute;
        top:62px;
        left:12px;
        right:12px;
        display:none;
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
        padding:14px;
        border:1px solid var(--border);
        border-radius:24px;
        background:var(--nav-bg);
        box-shadow:var(--shadow);
        backdrop-filter:blur(18px) saturate(150%)
    }
    .nav-links.open {
        display:flex
    }
    .menu-toggle {
        display:grid
    }
    .search-field {
        width:155px
    }
}
@media(max-width:720px) {
    body {
        font-size:14px
    }
    .section {
        padding:58px 0
    }
    .chapter-head {
        grid-template-columns:1fr
    }
    .project-row {
        grid-template-columns:1fr;
        gap:8px
    }
    .doc-line {
        grid-template-columns:1fr
    }
    .hero-ctas .btn {
        width:100%
    }
    .album-grid {
        grid-template-columns:repeat(2,1fr);
        grid-auto-rows:125px
    }
    .album-item.wide {
        grid-column:span 2
    }
    .info-lines li {
        display:grid
    }
    .info-lines strong {
        text-align:left
    }
    .search-field {
        display:none
    }
}
@media(prefers-reduced-motion:reduce) {
    *,
    *:before,*:after {
        animation:none!important;
        transition:none!important;
        scroll-behavior:auto!important
    }
    .reveal {
        opacity:1;
        transform:none
    }
}
/* Anpassungen: dunkler, keine Farbverläufe, ruhigeres Design */
:root {
    --bg:#090b12;
    --bg-2:#0f121b;
    --bg-3:#171b27;
    --surface:rgba(255,255,255,.055);
    --surface-2:rgba(255,255,255,.09);
    --accent:#9b6cff;
    --accent-2:#9b6cff;
    --grad:#9b6cff;
    --nav-bg:rgba(12,15,23,.92)
}
html.light,
body.light {
    --bg:#e9e4dc;
    --bg-2:#f4efe8;
    --bg-3:#ded6cc;
    --accent:#6f4de8;
    --accent-2:#6f4de8;
    --grad:#6f4de8;
    --nav-bg:rgba(244,239,232,.94)
}
body,
html.light body,
body.light {
    background:var(--bg)!important;
}
html.light body,
body.light {
    background:var(--bg-2)!important;
}
.nav-inner:before,
.nav-inner:after {
    display:none!important;
}
.brand span,
.grad-text {
    background:none!important;
    -webkit-background-clip:initial!important;
    background-clip:initial!important;
    -webkit-text-fill-color:currentColor!important;
    color:var(--accent)!important;
}
.btn-primary,
.teaser-icon,
.doc-line>span,
.socials a:hover,
.to-top {
    background:var(--accent)!important;
    color:#fff!important;
}
.bar-fill,
.nav-links a:after {
    background:var(--accent)!important;
}
.album-item img {
    background:var(--bg-3)!important;
}
.photo-wrap {
    width:min(430px,88vw)!important;
}
.hero-grid {
    gap:54px;
}
.nav-links {
    list-style:none;
    margin:0;
    padding:0;
}
.nav-links li {
    list-style:none;
}
.nav-links a {
    display:inline-block;
}
.contact-only {
    max-width:620px;
}
.contact-only .contact-form {
    width:100%;
}
.auth-card .field input {
    height:46px;
    white-space:nowrap;
}
.field textarea {
    line-height:1.5;
}
