/* ========================================
   PORTFOLIO - Marlon | Webentwickler
   Dark Mode mit leuchtenden Akzenten
   ======================================== */

/* ----- Custom Properties ----- */
:root {
    /* Farben */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f0f0;
    --text-secondary: #8892b0;
    --text-muted: #5a6178;

    --accent-blue: #00d4ff;
    --accent-purple: #7b2ff7;
    --accent-magenta: #ff2d95;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #7b2ff7, #ff2d95);
    --gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    /* Typografie */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Übergänge */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Glow */
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-purple: 0 0 20px rgba(123, 47, 247, 0.3);
    --glow-magenta: 0 0 20px rgba(255, 45, 149, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ----- Reset / Basis ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtile Noise-Textur für Tiefe */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Allgemeine Elemente */
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.nav--scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.nav__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav__logo .accent {
    font-size: 2rem;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav__link:not(.nav__link--cta)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:not(.nav__link--cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
}

.nav__link--cta:hover {
    opacity: 0.9;
    color: white;
    box-shadow: var(--glow-purple);
}

/* Hamburger Menu */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient Glow-Spots im Hintergrund */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    right: -5%;
    animation: ambientFloat 8s ease-in-out infinite;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -5%;
    left: -5%;
    animation: ambientFloat 8s ease-in-out 4s infinite;
}

@keyframes ambientFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

/* Hero Entrance Animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero__greeting,
.hero__name,
.hero__tagline,
.hero__description,
.hero__actions {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero__greeting  { animation-delay: 0.2s; }
.hero__name      { animation-delay: 0.4s; }
.hero__tagline   { animation-delay: 0.6s; }
.hero__description { animation-delay: 0.8s; }
.hero__actions   { animation-delay: 1.0s; }

.hero__greeting {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero__tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 12px;
    min-height: 2em;
}

.hero__typed {
    color: var(--text-primary);
    font-weight: 600;
}

.hero__cursor {
    color: var(--accent-blue);
    animation: blink 0.8s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero__description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll-Indikator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: var(--accent-purple);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary:hover {
    box-shadow: var(--glow-purple), var(--glow-blue);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.btn--ghost:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: var(--gradient-primary);
    color: white;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ========== SEKTIONS-LAYOUT ========== */
.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section__line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== LEISTUNGEN ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), var(--glow-purple);
    border-color: rgba(123, 47, 247, 0.3);
}

/* Spotlight-Effekt der dem Cursor folgt */
.service-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
    top: var(--spot-y, -100px);
    left: var(--spot-x, -100px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient-subtle);
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== TECH MARQUEE ========== */
.marquee {
    padding: 28px 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    position: relative;
}

/* Fade-Out an den Rändern */
.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee__track:hover {
    animation-play-state: paused;
}

.marquee__content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.marquee__item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    padding: 0 16px;
    transition: color var(--transition-fast);
}

.marquee__item:hover {
    color: var(--accent-blue);
}

.marquee__separator {
    color: var(--accent-purple);
    font-size: 0.6rem;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* ========== ABLAUF/PROZESS ========== */
.prozess {
    background: var(--bg-secondary);
}

.prozess-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

/* Verbindungslinie zwischen den Schritten */
.prozess-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.prozess-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.prozess-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--glass-border);
    margin-bottom: 24px;
    transition: all var(--transition-normal);
    position: relative;
}

.prozess-step__number span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prozess-step:hover .prozess-step__number {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    transform: scale(1.08);
}

.prozess-step__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.prozess-step__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* Versetzte Animation */
.prozess-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.prozess-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.prozess-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========== PORTFOLIO ========== */

.portfolio .container {
    max-width: 1500px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(123, 47, 247, 0.3);
}

.project-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 24px 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card__overlay .project-card__desc,
.project-card__overlay .btn {
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

/* Badge bei Hover ausblenden, damit Overlay-Text nicht verdeckt wird */
.project-card:hover .project-card__badge {
    opacity: 0;
    pointer-events: none;
}

.project-card:hover .project-card__overlay .project-card__desc {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.05s;
}

.project-card:hover .project-card__overlay .btn {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.12s;
}

.project-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

.project-card__info {
    padding: 20px 24px;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-card__tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.project-card__badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    transition: opacity 0.3s ease;
}
.project-card__badge--kunde {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
}
.project-card__badge--konzept {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ========== KUNDENSTIMMEN ========== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(123, 47, 247, 0.3);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card__quote {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-card__footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ========== ZAHLEN/STATS ========== */
.stats {
    background: var(--bg-secondary);
    padding: 60px 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(123, 47, 247, 0.05), rgba(255, 45, 149, 0.03));
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-item__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.faq-item.open {
    border-color: rgba(123, 47, 247, 0.3);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--accent-blue);
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--accent-purple);
    transition: transform var(--transition-normal);
}

.faq-item.open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.open .faq-item__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-list .reveal:nth-child(2) { transition-delay: 0.05s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.1s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.15s; }
.faq-list .reveal:nth-child(5) { transition-delay: 0.2s; }
.faq-list .reveal:nth-child(6) { transition-delay: 0.25s; }

/* ========== ÜBER MICH ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Animierter Gradient-Rahmen ums Profilbild */
.about__image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 3px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
    transition: all var(--transition-normal);
    max-width: 360px;
}

.about__image-frame:hover {
    box-shadow: var(--glow-blue), var(--glow-purple), 0 0 40px rgba(123, 47, 247, 0.2);
    transform: translateY(-4px);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.about__photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: calc(var(--radius-lg) - 2px);
    filter: grayscale(15%) contrast(1.05);
    transition: filter var(--transition-normal);
}

.about__image-frame:hover .about__photo {
    filter: grayscale(0%) contrast(1.08);
}

.about__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__skills {
    margin-top: 32px;
    margin-bottom: 32px;
}

.about__skills-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.skill-tag:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

/* Versetzte Eingangsanimation für Skill-Tags */
.reveal.active .skill-tag {
    animation: tagPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.reveal.active .skill-tag:nth-child(1) { animation-delay: 0.05s; }
.reveal.active .skill-tag:nth-child(2) { animation-delay: 0.1s; }
.reveal.active .skill-tag:nth-child(3) { animation-delay: 0.15s; }
.reveal.active .skill-tag:nth-child(4) { animation-delay: 0.2s; }
.reveal.active .skill-tag:nth-child(5) { animation-delay: 0.25s; }
.reveal.active .skill-tag:nth-child(6) { animation-delay: 0.3s; }
.reveal.active .skill-tag:nth-child(7) { animation-delay: 0.35s; }
.reveal.active .skill-tag:nth-child(8) { animation-delay: 0.4s; }

@keyframes tagPop {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.usp-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.usp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.usp-list li svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* ========== KONTAKT ========== */
.kontakt {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Formular */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.15);
}

.form-input.error {
    border-color: var(--accent-magenta);
    box-shadow: 0 0 0 3px rgba(255, 45, 149, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-magenta);
    margin-top: 6px;
    min-height: 1.2em;
}

.form-success {
    display: none;
    padding: 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 16px;
}

.form-success.visible {
    display: block;
}

/* Kontakt-Info */
.contact-info__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-info__item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-info__socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

/* ========== PAKETE ========== */
.pakete {
    background: var(--bg-secondary);
}

.pakete-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.paket-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition-normal);
    position: relative;
}

.paket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(123, 47, 247, 0.3);
}

.paket-card--featured {
    border-color: var(--accent-purple);
    background: rgba(123, 47, 247, 0.06);
    transform: scale(1.03);
}

.paket-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 8px 40px rgba(123, 47, 247, 0.25);
}

.paket-card__badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.paket-card__header {
    margin-bottom: 20px;
}

.paket-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.paket-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.paket-card__price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.paket-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.paket-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.paket-card__features li svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.pakete-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pakete-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #f5c518;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonials-grid--single {
    max-width: 600px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 47, 247, 0.08), rgba(255, 45, 149, 0.06));
    pointer-events: none;
}

/* Glow-Spots im Hintergrund */
.cta-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent-purple);
    filter: blur(150px);
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-banner__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-banner__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== SECTION DIVIDERS ========== */
.leistungen,
.portfolio,
.ueber,
.faq {
    position: relative;
}

.leistungen::after,
.portfolio::after,
.ueber::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

/* ========== FOOTER ========== */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__credit {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__heart {
    color: var(--accent-magenta);
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
}


/* ========== SCROLL-ANIMATIONEN ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Verzögerte Animationen für Karten im Grid */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.portfolio-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 0.45s; }

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-frame {
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Portfolio 2x2 auf Tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .pakete-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .paket-card--featured {
        transform: none;
    }

    .paket-card--featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Mobile Navigation */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
        padding: 80px 32px 32px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 12px 16px;
        font-size: 1.05rem;
    }

    .nav__link--cta {
        text-align: center;
        margin-top: 8px;
    }

    /* Hero */
    .hero__scroll {
        display: none;
    }

    /* Service Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Badge bleibt auf Mobile auch ueber dem Bild */
    .project-card__badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    /* Prozess Grid */
    .prozess-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .prozess-grid::before {
        display: none;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 30px 24px;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 16px;
    }
}
