:root { --bg: #0a0a0f; --bg-soft: #111119; --fg: #f2f2f5; --muted: #9a9aac; --accent: #6c5ce7; --accent-2: #00d2ff; --line: rgba(255, 255, 255, 0.08); --radius: 14px; --maxw: 1180px; --ease: cubic-bezier(0.22, 1, 0.36, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: auto; /* Lenis übernimmt */ } body { background: var(--bg); color: var(--fg); font-family: "Inter", system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; } a { color: inherit; text-decoration: none; } h1, h2, h3 { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; } /* ---------- Cursor ---------- */ .cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; } .cursor { width: 38px; height: 38px; border: 1.5px solid #fff; transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease); } .cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%, -50%); } .cursor.is-hover { width: 64px; height: 64px; background: rgba(255, 255, 255, 0.12); } @media (hover: none) { .cursor, .cursor-dot { display: none; } } /* ---------- Scroll progress ---------- */ .scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 9998; } /* ---------- Nav ---------- */ .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 60px); backdrop-filter: blur(10px); background: rgba(10, 10, 15, 0.4); border-bottom: 1px solid transparent; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); } .nav.is-scrolled { background: rgba(10, 10, 15, 0.75); border-bottom: 1px solid var(--line); } .nav__logo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.4rem; } .nav__logo span { color: var(--accent); } .nav__links { display: flex; gap: 30px; font-size: 0.95rem; } .nav__links a { color: var(--muted); position: relative; transition: color 0.25s var(--ease); } .nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--accent); transition: width 0.25s var(--ease); } .nav__links a:hover { color: var(--fg); } .nav__links a:hover::after { width: 100%; } .nav__toggle { display: none; background: none; border: none; color: var(--fg); font-size: 1.4rem; cursor: pointer; } /* ---------- Hero ---------- */ .hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(20px, 5vw, 60px); overflow: hidden; } .hero__bg { position: absolute; inset: 0; background: radial-gradient( 60% 60% at 70% 20%, rgba(108, 92, 231, 0.25), transparent 60% ), radial-gradient(50% 50% at 20% 80%, rgba(0, 210, 255, 0.18), transparent 60%); filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; } @keyframes drift { to { transform: translate3d(40px, -30px, 0) scale(1.1); } } .hero__content { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; } .hero__eyebrow { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.8rem; color: var(--accent-2); margin-bottom: 24px; } .hero__title { font-size: clamp(3.5rem, 12vw, 9rem); line-height: 0.95; } .hero__title .line { display: block; overflow: hidden; } .hero__title .line--accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero__sub { max-width: 620px; margin-top: 30px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); } .hero__cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; } .btn { padding: 14px 28px; border-radius: 40px; font-weight: 500; font-size: 0.95rem; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease); } .btn--primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #0a0a0f; } .btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(108, 92, 231, 0.4); } .btn--ghost { border: 1px solid var(--line); color: var(--fg); } .btn--ghost:hover { border-color: var(--accent); transform: translateY(-3px); } .hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); } .hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2s var(--ease) infinite; } @keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } } /* ---------- Sections ---------- */ .section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 160px) clamp(20px, 5vw, 60px); } .section__head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 60px; } .section__index { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 0.9rem; } .section__head h2 { font-size: clamp(2rem, 5vw, 3.4rem); } /* About */ .about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; } .about__lead p { font-size: 1.15rem; color: var(--fg); margin-bottom: 22px; } .about__lead p:last-child { color: var(--muted); } .about__facts { list-style: none; display: grid; gap: 14px; } .about__facts li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; } .about__facts strong { color: var(--muted); font-weight: 500; } .about__facts span { font-family: "Space Grotesk", sans-serif; } /* Skills */ .skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; } .skill h3 { font-size: 1.1rem; margin-bottom: 12px; } .skill__bar { height: 6px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; } .skill__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(108, 92, 231, 0.35); } /* Work */ .work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; } .card { display: block; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); position: relative; overflow: hidden; } .card::before { content: ""; position: absolute; inset: 0; background: radial-gradient( 120% 120% at 0% 0%, rgba(108, 92, 231, 0.15), transparent 50% ); opacity: 0; transition: opacity 0.35s var(--ease); } .card:hover { transform: translateY(-6px); border-color: var(--accent); } .card:hover::before { opacity: 1; } .card__tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-2); } .card h3 { font-size: 1.5rem; margin: 12px 0 10px; } .card p { color: var(--muted); font-size: 0.98rem; } .card__more { display: inline-block; margin-top: 18px; color: var(--fg); font-size: 0.9rem; } /* Contact */ .contact__lead { font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-family: "Space Grotesk", sans-serif; max-width: 720px; line-height: 1.25; } .contact__links { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; } .contact__links a { font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.25s var(--ease), color 0.25s var(--ease); } .contact__links a:hover { border-color: var(--accent); color: var(--accent-2); } /* Footer */ .footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 30px clamp(20px, 5vw, 60px); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; max-width: var(--maxw); margin: 0 auto; width: 100%; } /* ---------- Reveal ---------- */ [data-reveal], [data-reveal-line] { will-change: transform, opacity; } /* ---------- Responsive ---------- */ @media (max-width: 860px) { .nav__links { display: none; } .nav__toggle { display: block; } .about__grid { grid-template-columns: 1fr; gap: 30px; } .skills__grid { grid-template-columns: 1fr 1fr; } .work__grid { grid-template-columns: 1fr; } } @media (max-width: 520px) { .skills__grid { grid-template-columns: 1fr; } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { .hero__bg, .hero__scroll span { animation: none; } }