:root {
    --bg-dark: #020A18;
    --bg-card: #0D1B2A;
    --bg-section: #1B2838;
    --bg-nav: #081420;
    --green: #00B4D8;
    --green-light: #48CAE4;
    --green-rgb: 0, 180, 216;
    --text: #F2F4F7;
    --text-dim: #AAB2BD;
    --border: #1E3A50;
    --radius: 8px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Schleierfarbe fuer Modal/Dialoge als RGB-Komponenten,
       damit rgba(var(--modal-veil), …) funktioniert. */
    --modal-veil: 2, 10, 24;
    --modal-veil-alpha: 0.62;
}

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

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

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#plasmaCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

.green { color: var(--green); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font);
    text-decoration: none;
}

.btn-primary {
    background: var(--green);
    color: #000;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--green-rgb), 0.3);
    color: #000;
}

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

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--bg-dark);
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.parallax-element {
    position: absolute;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.9rem;
    color: rgba(var(--green-rgb), 0.3);
    border: 1px solid rgba(var(--green-rgb), 0.18);
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(var(--green-rgb), 0.05);
    white-space: nowrap;
    will-change: transform;
    transition: color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
    --scroll-y: 0px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 15px rgba(var(--green-rgb), 0.05);
    z-index: 2;
}

.parallax-element:hover {
    color: rgba(var(--green-rgb), 0.7);
    border-color: rgba(var(--green-rgb), 0.4);
    background: rgba(var(--green-rgb), 0.1);
    box-shadow: 0 0 25px rgba(var(--green-rgb), 0.15);
}

.parallax-element svg {
    display: block;
    color: rgba(var(--green-rgb), 0.3);
}

.parallax-element:hover svg {
    color: rgba(var(--green-rgb), 0.7);
}

.el-code-1 { top: 12%; left: 8%; font-size: 1.1rem; animation: floatA 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.el-code-2 { top: 25%; right: 40%; font-size: 1.3rem; animation: floatB 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.8s; }
.el-code-3 { top: 65%; left: 5%; animation: floatC 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.4s; }
.el-code-4 { top: 45%; right: 35%; animation: floatD 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.5s; }
.el-code-5 { bottom: 25%; left: 15%; font-size: 1rem; animation: floatE 6.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.2s; }
.el-code-6 { top: 18%; left: 45%; font-size: 0.85rem; opacity: 0.8; animation: floatA 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 2.5s; }
.el-code-7 { bottom: 35%; right: 45%; animation: floatB 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.6s; }
.el-code-8 { top: 75%; right: 40%; font-size: 0.85rem; opacity: 0.7; animation: floatC 9.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 2s; }
.el-code-9 { top: 35%; left: 30%; font-size: 0.9rem; animation: floatD 7.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1s; }
.el-code-10 { bottom: 15%; right: 40%; font-size: 0.85rem; opacity: 0.7; animation: floatE 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.3s; }

.el-design-1 { top: 20%; left: 20%; animation: floatB 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.5s; }
.el-design-2 { top: 55%; right: 50%; animation: floatC 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.3s; }
.el-design-3 { bottom: 20%; left: 35%; animation: floatA 7.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.8s; }
.el-design-4 { top: 40%; left: 12%; animation: floatD 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.2s; }
.el-design-5 { bottom: 40%; right: 35%; animation: floatE 8.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.1s; }

@keyframes floatA {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(15px, -20px) rotate(3deg) scale(1.02); }
    40% { transform: translate(-10px, -35px) rotate(-2deg) scale(0.98); }
    60% { transform: translate(8px, -25px) rotate(2deg) scale(1.01); }
    80% { transform: translate(-5px, -12px) rotate(-1deg) scale(0.99); }
}

@keyframes floatB {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(-18px, -15px) rotate(-3deg) scale(0.98); }
    40% { transform: translate(12px, -30px) rotate(2deg) scale(1.03); }
    60% { transform: translate(-8px, -18px) rotate(-2deg) scale(0.99); }
    80% { transform: translate(10px, -8px) rotate(1.5deg) scale(1.01); }
}

@keyframes floatC {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -18px) rotate(4deg) scale(1.03); }
    50% { transform: translate(-12px, -38px) rotate(-3deg) scale(0.97); }
    75% { transform: translate(8px, -15px) rotate(2deg) scale(1.02); }
}

@keyframes floatD {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    15% { transform: translate(-10px, -22px) rotate(-2deg) scale(0.99); }
    30% { transform: translate(16px, -12px) rotate(3deg) scale(1.02); }
    45% { transform: translate(-14px, -35px) rotate(-3.5deg) scale(0.98); }
    60% { transform: translate(8px, -28px) rotate(2deg) scale(1.01); }
    75% { transform: translate(-6px, -15px) rotate(-1deg) scale(1); }
}

@keyframes floatE {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    30% { transform: translate(12px, -28px) rotate(3deg) scale(1.02); }
    60% { transform: translate(-16px, -10px) rotate(-4deg) scale(0.98); }
}
    60% { transform: translate(-10px, -6px) rotate(-3deg); }
}

.parallax-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    opacity: 0.35;
    will-change: transform;
    box-shadow: 0 0 10px rgba(var(--green-rgb), 0.4);
}

.dot-1 { top: 15%; left: 25%; animation: dotFloat 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.dot-2 { top: 30%; right: 20%; width: 4px; height: 4px; animation: dotFloat 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.8s; }
.dot-3 { top: 50%; left: 10%; width: 7px; height: 7px; animation: dotFloat 4.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.4s; }
.dot-4 { top: 70%; right: 15%; animation: dotFloat 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.5s; }
.dot-5 { bottom: 30%; left: 30%; width: 4px; height: 4px; animation: dotFloat 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1.2s; }
.dot-6 { top: 20%; right: 35%; width: 8px; height: 8px; opacity: 0.2; animation: dotFloat 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 0.6s; }
.dot-7 { bottom: 20%; right: 35%; width: 4px; height: 4px; animation: dotFloat 6.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 2s; }
.dot-8 { top: 60%; left: 40%; width: 5px; height: 5px; animation: dotFloat 5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 1s; }

@keyframes dotFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
    33% { transform: translate(10px, -18px) scale(1.3); opacity: 0.6; }
    66% { transform: translate(-8px, -10px) scale(0.8); opacity: 0.25; }
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 580px;
}

.hero .container {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
}

.hero-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Big Background */
.hero-big-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-big-bg-img {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    filter: brightness(0.5) saturate(0.5);
    transition: filter 0.4s ease;
}

.hero-big-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 100%);
    pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator-wrap {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--green);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 10px rgba(var(--green-rgb), 0.3);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.9; }
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

.scroll-text {
    font-size: 0.7rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Waves */
.wave {
    position: relative;
    margin-top: -1px;
    line-height: 0;
    overflow: hidden;
    background: var(--bg-dark);
    transition: background 0.4s ease;
}

.wave svg { display: block; width: 100%; height: 100px; }

.wave-path { 
    fill: var(--bg-dark); 
    transition: fill 0.4s ease;
}

.wave-1 { background: var(--bg-dark); }
.wave-2 { background: var(--bg-dark); }
.wave-3 { background: var(--bg-dark); }

.wave-3 .wave-path { fill: var(--bg-section); }

/* Sections */
.section { padding: 100px 0; }

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.92rem;
    color: var(--text-dim);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* Über mich */
.about-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 55%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(var(--green-rgb), 0.1), transparent 65%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) 1.25fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-media {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.about-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, #0e1823, #4742428c);
    border: 1px solid rgba(0, 180, 216, 0.37);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(var(--green-rgb), 0.04);
}

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

.about-media::before {
    content: "";
    position: absolute;
    inset: -14px -14px auto auto;
    width: 120px;
    height: 120px;
    border-top: 2px solid rgb(0, 180, 216);
    border-right: 2px solid rgb(0, 180, 216);
    border-radius: 0 22px 0 0;
    pointer-events: none;
}

.about-badge {
    position: absolute;
    left: -22px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--green);
    color: #00131a;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 18px 40px rgba(var(--green-rgb), 0.35);
}

.about-badge-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.about-badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 140px;
}

.about-content {
    max-width: 640px;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 18px;
}

.about-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.about-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.about-subtitle {
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 560px;
}

.about-text p {
    font-size: 0.98rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlight {
    background: rgba(var(--green-rgb), 0.06);
    border-left: 3px solid var(--green);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin-top: 22px;
}

.about-highlight strong {
    color: var(--text);
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-focus {
    margin-top: 90px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.about-focus-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.about-focus-head h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-focus-head p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: right;
    max-width: 380px;
}

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

.focus-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-4px);
    border-color: var(--green);
    box-shadow: 0 18px 40px rgba(var(--green-rgb), 0.12);
}

.focus-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(var(--green-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.focus-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.focus-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 6px;
}

.focus-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* Process Section */
.process-section {
    background: var(--bg-dark);
    padding: 60px 0 100px;
}

.process-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
}

.process-item,
.portfolio-item,
.contact-form-wrap,
.footer-nav,
.cookie-banner {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.3s ease;
}

.process-item {
    flex: 1;
    max-width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(var(--green-rgb), 0.05), 0 0 15px rgba(var(--green-rgb), 0.05);
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: var(--green);
    opacity: 0.5;
    align-self: center;
    margin-top: 20px;
}

.process-arrow svg {
    width: 20px;
    height: 20px;
}

.process-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 20px;
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green);
    box-shadow: 0 0 15px rgba(var(--green-rgb), 0.2);
}

.process-icon svg {
    width: 28px;
    height: 28px;
}

.process-item h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.process-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Portfolio */
.portfolio-section { background: var(--bg-dark); }

.portfolio-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}

.case-studies {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin-top: 10px;
}

.case-study {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.case-study--reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.case-study--reverse .case-study-media { order: 2; }
.case-study--reverse .case-study-body { order: 1; }

.case-study-media {
    position: relative;
    min-width: 0;
}

.browser-frame {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--green-rgb), 0.08);
}

.browser-bar {
    display: flex;
    gap: 7px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.browser-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
}

.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }

.browser-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    object-position: top center;
}

.case-study-logo {
    position: absolute;
    left: 24px;
    bottom: -24px;
    width: 88px;
    height: 88px;
    padding: 12px;
    border-radius: 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.case-study-body {
    max-width: 520px;
}

.case-study-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.case-study-title {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.case-study-subtitle {
    font-size: 1.02rem;
    color: var(--text);
    margin-bottom: 16px;
}

.case-study-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 20px;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.case-study-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(var(--green-rgb), 0.08);
    border: 1px solid rgba(var(--green-rgb), 0.2);
    color: var(--green-light);
}

.case-study-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.case-study-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.case-study-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 700;
}

.case-study-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.portfolio-section .section-subtitle + .portfolio-filter {
    display: flex;
    width: fit-content;
    margin: 0 auto 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
    font-weight: 500;
}

.filter-btn:hover { color: var(--text); }

.filter-btn.active {
    background: rgba(var(--green-rgb), 0.1);
    color: var(--green);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.portfolio-item.hidden { display: none; }

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: #c8c8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.portfolio-photo {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-card);
}

.portfolio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-photo img {
    transform: scale(1.05);
}

/* ===== Projekt-Dialog ===== */
.portfolio-item.has-details { cursor: pointer; }
.portfolio-item.has-details:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.pmodal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pmodal[hidden] { display: none; }

.pmodal-backdrop {
    position: absolute;
    inset: 0;
    /* Frosted-Glass: halbtransparent + starker Blur.
       Der Blur muss gross genug sein, damit Text UNLESBAR wird –
       vorher war er mit 6px zu schwach, der Text blieb lesbar. */
    background: rgba(var(--modal-veil), var(--modal-veil-alpha));
    background-image: radial-gradient(ellipse at center,
        rgba(var(--modal-veil), 0) 0%,
        rgba(var(--modal-veil), 0.35) 100%);
    backdrop-filter: blur(22px) saturate(0.5) brightness(0.72);
    -webkit-backdrop-filter: blur(22px) saturate(0.5) brightness(0.72);
    animation: pmFade .25s ease;
}

/* Fallback fuer Browser ohne backdrop-filter:
   statt weichem Blur dann eben etwas deckender. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .pmodal-backdrop {
        background: rgba(var(--modal-veil), calc(var(--modal-veil-alpha) + 0.25));
    }
}

.pmodal-box {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* vollstaendig deckend – nichts vom Hintergrund darf durchscheinen */
    background: var(--bg-card);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(var(--green-rgb), 0.12),
        0 0 40px rgba(var(--green-rgb), 0.06);
    animation: pmRise .3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmRise {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pmodal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}
.pmodal-close:hover { background: var(--green); color: #000; border-color: var(--green); }

.pmodal-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(var(--green-rgb), 0.1);
    border: 1px solid rgba(var(--green-rgb), 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.pmodal-cat:empty { display: none; }

.pmodal-head h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    padding-right: 34px;
}
.pmodal-sub { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }
.pmodal-sub:empty { display: none; }

.pmodal-media {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
}
.pmodal-media img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; object-position: top center; }

.pmodal-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.15);
}

.pmodal-thumbs[hidden] { display: none; }

.pmodal-thumbs button {
    flex: 0 0 84px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-dark);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pmodal-thumbs button.active {
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green);
}

.pmodal-thumbs img {
    width: 100%;
    height: 56px;
    max-height: none;
    object-fit: cover;
    display: block;
}

.pmodal-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.pmodal-facts:empty { display: none; margin-bottom: 0; }
.pmodal-facts > div {
    background: rgba(var(--green-rgb), 0.05);
    border: 1px solid rgba(var(--green-rgb), 0.15);
    border-radius: 8px;
    padding: 12px 14px;
}
.pmodal-facts dt {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 4px;
}
.pmodal-facts dd { margin: 0; font-size: 0.9rem; color: var(--text); font-weight: 500; }

.pmodal-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-dim);
    margin-bottom: 20px;
    white-space: pre-line;
}
.pmodal-desc:empty { display: none; margin-bottom: 0; }

.pmodal-block { margin-bottom: 20px; }
.pmodal-block:empty, .pmodal-block[hidden] { display: none; margin-bottom: 0; }
.pmodal-block h4 {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
    font-weight: 600;
}

.pmodal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pmodal-tags span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 20px;
}

.pmodal-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pmodal-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.pmodal-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(var(--green-rgb), 0.5);
}

.pmodal-foot[hidden] { display: none; }
.pmodal-foot a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--green);
    color: #000;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}
.pmodal-foot a:hover { background: var(--green-light); }

/* Scroll-Sperre: nur overflow, KEIN position:fixed (das flackert die Sektionen) */
html.pmodal-open, body.pmodal-open { overflow: hidden; }

/* ===== Impressum-Dialog ===== */
.imodal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.imodal[hidden] { display: none; }

.imodal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(var(--modal-veil), var(--modal-veil-alpha));
    backdrop-filter: blur(22px) saturate(0.5) brightness(0.72);
    -webkit-backdrop-filter: blur(22px) saturate(0.5) brightness(0.72);
    animation: pmFade .25s ease;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .imodal-backdrop { background: rgba(var(--modal-veil), calc(var(--modal-veil-alpha) + 0.25)); }
}

.imodal-box {
    position: relative;
    width: 100%;
    max-width: 660px;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg-card);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 34px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(var(--green-rgb), 0.12);
    animation: pmRise .3s cubic-bezier(0.22, 1, 0.36, 1);
}

.imodal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}
.imodal-close:hover { background: var(--green); color: #000; border-color: var(--green); }

.imodal-box > h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding-right: 34px;
}
.imodal-intro { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; }
.imodal-intro:empty { display: none; }

.im-block { margin-bottom: 22px; }
.im-block:last-child { margin-bottom: 0; }
.im-block h4 {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 9px;
}
.im-block p { font-size: 0.92rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 8px; }
.im-block p:last-child { margin-bottom: 0; }
.im-name { color: var(--text) !important; font-weight: 600; font-size: 1rem !important; }
.im-lines a { color: var(--green); text-decoration: none; }
.im-lines a:hover { text-decoration: underline; }

.im-facts { display: grid; gap: 8px; }
.im-facts dt {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}
.im-facts dd { margin: 0 0 6px; font-size: 0.92rem; color: var(--text); font-weight: 500; }
.im-facts dd:last-child { margin-bottom: 0; }

/* Deko-Overlays duerfen den Dialog nicht ueberlagern */
html.pmodal-open .scroll-indicator-wrap,
html.pmodal-open .scroll-top,
html.pmodal-open #plasmaCanvas,
body.pmodal-open .scroll-indicator-wrap,
body.pmodal-open .scroll-top,
body.pmodal-open #plasmaCanvas {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 560px) {
    .pmodal { padding: 12px; }
    .pmodal-box { padding: 22px 18px; border-radius: 12px; }
    .pmodal-head h3 { font-size: 1.22rem; }
}

.portfolio-logo {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-content {
    text-align: center;
    color: #111;
}

.logo-title {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.7;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--green-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-view {
    padding: 10px 24px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 600;
    transform: translateY(8px);
    transition: all var(--transition);
}

.portfolio-item:hover .portfolio-view { transform: translateY(0); }

/* Footer Nav */
.footer-nav {
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.footer-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    font-family: monospace;
    font-size: 1rem;
    color: var(--green);
    font-weight: 700;
}

.footer-url {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--green); }

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-dim);
}

.footer-phone:hover {
    border-color: var(--green);
    color: var(--green);
}

/* Contact Section */
.contact-section { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%); }

/* ===== Kontakt: Einstieg + Formular ===== */
.contact-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.contact-headline {
    position: relative;
    display: inline-block;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--text);
    padding-bottom: 26px;
    margin-bottom: 22px;
}

/* handgezeichneter gruener Strich unter der letzten Zeile */
.contact-underline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 14px;
    color: var(--green);
    opacity: 0.85;
    overflow: visible;
}

.contact-lead {
    max-width: 560px;
    margin: 0 auto;
}

.contact-lead p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.contact-lead p:last-child {
    margin-bottom: 0;
}

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: inset 0 0 30px rgba(var(--green-rgb), 0.03);
}

/* Name + E-Mail nebeneinander */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(var(--green-rgb), 0.1);
}

/* Select: solide Farben, damit das Options-Popup (browser/OS-gerendert)
   lesbar bleibt. Mit rgba() wird das Popup weiss und der helle Text
   verschwindet. */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-card);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300B4D8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 38px;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text);
}

.form-group select option:checked {
    background-color: var(--green);
    color: #000;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(var(--green-rgb), 0.1);
}

.form-status {
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(var(--green-rgb), 0.1);
    color: var(--green);
    border: 1px solid rgba(var(--green-rgb), 0.3);
}

.form-status.error {
    display: block;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden { transform: translateY(100%); }

.cookie-inner {
    max-width: 1140px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    position: relative;
}

.cookie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookie-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.cookie-header h4 svg { color: var(--green); }

.cookie-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color var(--transition);
}

.cookie-close:hover { color: var(--green); }

.cookie-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-btns .btn { padding: 10px 20px; font-size: 0.82rem; }

.cookie-nec {
    border-color: var(--border);
    color: var(--text-dim);
}

/* Global Footer */
.global-footer {
    background: var(--bg-dark);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.global-footer p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--green);
    color: #000;
    border-color: var(--green);
    box-shadow: 0 4px 20px rgba(var(--green-rgb), 0.3);
}

.scroll-top.fly-up {
    animation: flyUp 0.6s ease forwards;
    pointer-events: none;
}

@keyframes flyUp {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-150px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }

    .case-study,
    .case-study--reverse { grid-template-columns: 1fr; gap: 44px; }
    .case-study--reverse .case-study-media,
    .case-study--reverse .case-study-body { order: 0; }
    .case-study-body { max-width: none; }
    .case-study-logo { left: 18px; bottom: -20px; width: 76px; height: 76px; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-media { max-width: 360px; }
    .about-content { max-width: none; }
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .about-focus-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .about-focus-head p { text-align: left; max-width: none; }
}

/* Hamburger */
.hamburger {
    display: none;
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 1100;
    transition: top 0.3s ease;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-size: 1.3rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--green);
}

@media (max-width: 768px) {
    .hero .container {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }

    .section { padding: 70px 0; }
    .section-title { font-size: 1.8rem; }

    .about-badge { left: 12px; bottom: 16px; }
    .about-focus { margin-top: 70px; padding-top: 46px; }
    .about-focus-head h3 { font-size: 1.4rem; }

    .case-studies { gap: 64px; }
    .browser-frame img { max-height: 360px; }

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

    .process-section { padding: 50px 0 70px; }

    .process-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 36px;
    }

    .process-item {
        position: relative;
        z-index: 1;
        max-width: 100%;
        padding: 26px 22px;
    }

    .process-arrow {
        position: relative;
        display: flex;
        z-index: 1;
        padding: 8px 0;
        margin: 0;
    }

    .process-arrow::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        margin-left: -1px;
        background: rgba(var(--green-rgb), 0.35);
    }

    .process-arrow svg {
        position: relative;
        transform: rotate(90deg);
        background: var(--bg-dark);
        padding: 2px;
    }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

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

    .footer-nav-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }

    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .contact-form .honeypot,
form .honeypot,
input.honeypot,
input[name="website"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

    .footer-links { display: none; }

.cookie-btns { flex-direction: column; }
.cookie-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; gap: 18px; }
    .contact-form-wrap { padding: 24px 20px; }
    .contact-headline { padding-bottom: 20px; margin-bottom: 18px; }
    .focus-grid { grid-template-columns: 1fr; }
    .about-badge { left: 50%; transform: translateX(-50%); bottom: -18px; }

    .case-study-logo { width: 64px; height: 64px; padding: 9px; border-radius: 14px; }
    .case-study-foot .btn { width: 100%; justify-content: center; }
}