@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg: #020203;
    --panel: #0f0f12;
    --panel-alt: #16161b;
    --text: #ebebeb;
    --muted: #b0b0b8;
    --accent: #2db4ff;
    --accent-2: #ff368a;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.18);
}

html {
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

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

section {
    padding: 6rem 1.5rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    z-index: 1000;
    width: min(1200px, 100%);
    justify-content: center;
}

.navbar .logo {
    display: none;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.9rem;
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #050505;
}

.logo-text {
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(2, 2, 3, 0.85);
    backdrop-filter: blur(8px);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: #1f1f1f;
}

.nav-link.active {
    background: var(--white);
    color: var(--bg);
}

.nav-lang-item {
    position: relative;
}

.lang-switch-toggle {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.35rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.25);
}

.lang-switch-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-lang-item.open .lang-switch-toggle {
    background: rgba(255, 255, 255, 0.08);
}

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 150px;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.nav-lang-item.open .lang-switch-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lang-switch-menu a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lang-switch-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-switches {
    display: none;
    align-items: center;
    position: relative;
}

.lang-switches.open .lang-switch-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    display: inline-block;
}

.flag-en {
    background-image: url('images/flags/england.svg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(200, 16, 46, 0.35);
}

.flag-de {
    background: linear-gradient(180deg, #000 0%, #000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%, #ffce00 100%);
}

.flag-bav {
    background-image: url('images/flags/bavaria.svg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 122, 223, 0.35);
}
.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: rgba(2, 2, 3, 0.85);
    color: var(--white);
    appearance: none;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.menu-toggle.open {
    border-color: var(--white);
}

.menu-toggle .menu-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-toggle.open .menu-icon {
    transform: scale(0.9);
}

.hero {
    min-height: 100vh;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.online {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--muted);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #18ff98;
    outline: 4px solid rgba(24, 255, 152, 0.25);
}

.hero .badge {
    margin-top: 1.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.badge .new {
    background: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subheading {
    font-size: 1.35rem;
    color: var(--muted);
}

.auto-type {
    font-size: 1.2rem;
    min-height: 1.5em;
    color: var(--white);
}

.hero-btns-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-btn {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.hero-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent));
    opacity: 0.35;
    filter: blur(12px);
    z-index: 0;
    animation: heroPulse 6s ease-in-out infinite;
}

.hero-btn::after {
    content: "";
    position: absolute;
    top: -150%;
    left: -30%;
    width: 60%;
    height: 380%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-150%) rotate(18deg);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    animation: heroSheen 4.8s linear infinite;
}

.hero-btn > * {
    position: relative;
    z-index: 2;
}

.hero-btn:hover {
    background: var(--white);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
}

.hero-btn .arr-right {
    padding: 0.55rem;
    border-radius: 50%;
    background: var(--white);
    color: var(--bg);
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    animation: heartbeat 2.4s ease-in-out infinite;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-btn:hover .arr-right {
    background: var(--bg);
    color: var(--white);
}

@keyframes heroSheen {
    0% {
        transform: translateX(-180%) rotate(18deg);
        opacity: 0;
    }
    45% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(180%) rotate(18deg);
        opacity: 0;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.15);
    }
    55% {
        transform: scale(0.92);
    }
}

@keyframes heroPulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.email .copy-btn {
    font-size: 1.25rem;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(12px);
    z-index: 900;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}
.drawer {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: min(520px, 90%);
    background: var(--panel);
    border-radius: 1.5rem 1.5rem 0 0;
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    --drawer-translate: 120%;
    transform: translate(-50%, var(--drawer-translate)) scale(0.96);
    opacity: 0;
    max-height: min(90vh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    will-change: transform;
}

.drawer.open {
    --drawer-translate: -1rem;
    opacity: 1;
    transform: translate(-50%, -1rem) scale(1);
}

.drag-handle {
    width: 110px;
    height: 16px;
    border-radius: 999px;
    background: #3a3a3a;
    margin: 0 auto 1rem;
}

.drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.drawer-close:hover {
    background: var(--white);
    color: var(--bg);
    transform: translateY(-1px);
}

.drawer-close:active {
    transform: scale(0.96);
}

.drawer-links,
.footer-links,
.about-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.drawer-icon,
.footer-icon,
.about-links a {
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.15rem;
}

.drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #232323;
    border-radius: 0.85rem;
    padding: 0.6rem 1rem;
    margin-top: 0.85rem;
    margin-left: auto;
    margin-right: auto;
    width: min(320px, 100%);
    color: var(--text);
    text-decoration: none;
}

.drawer p {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    text-align: center;
}

.drawer .drawer-icon,
.drawer .drawer-btn,
.drawer > p,
.drawer .contact-form > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.drawer.open .drawer-icon,
.drawer.open .drawer-btn,
.drawer.open > p,
.drawer.open .contact-form > * {
    opacity: 1;
    transform: translateY(0);
}

.drawer-links a:nth-child(1) { transition-delay: 0.05s; }
.drawer-links a:nth-child(2) { transition-delay: 0.1s; }
.drawer-links a:nth-child(3) { transition-delay: 0.15s; }
.drawer-links a:nth-child(4) { transition-delay: 0.2s; }

.drawer .drawer-btn:nth-of-type(1) { transition-delay: 0.25s; }
.drawer .drawer-btn:nth-of-type(2) { transition-delay: 0.3s; }
.drawer > p { transition-delay: 0.35s; }

.drawer[data-drawer-id="contact"] {
    text-align: center;
}

.drawer[data-drawer-id="contact"] .drawer-links,
.drawer[data-drawer-id="contact"] .drawer-btn,
.drawer[data-drawer-id="contact"] .contact-form {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.drawer[data-drawer-id="contact"] .drawer-links {
    justify-content: center;
}

.drawer .contact-form > *:nth-child(1) { transition-delay: 0.4s; }
.drawer .contact-form > *:nth-child(2) { transition-delay: 0.45s; }
.drawer .contact-form > *:nth-child(3) { transition-delay: 0.5s; }
.drawer .contact-form > *:nth-child(4) { transition-delay: 0.55s; }
.drawer .contact-form > *:nth-child(5) { transition-delay: 0.6s; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    max-width: 360px;
    margin: 1rem auto 0;
}

.address-drawer {
    text-align: left;
}

.address-drawer .drawer-links {
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1rem;
}

.address-drawer .drawer-icon {
    margin: 0;
}

.address-header {
    margin: 1rem 0 0.5rem;
}

.address-intro {
    font-size: 0.95rem;
    color: var(--muted);
}

.address-card {
    border: 1px dashed var(--border);
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 0.5rem;
}

.address-card h3 {
    margin-bottom: 0.75rem;
}

.address-blueprint {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address-blueprint li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.address-blueprint li span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.address-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0.75rem 0;
}

.input-field {
    width: 100%;
    border: none;
    border-radius: 0.75rem;
    background: #202020;
    padding: 0.85rem;
    color: var(--text);
}

.input-field:focus {
    outline: 1px solid var(--accent);
}

.send-btn {
    border: none;
    border-radius: 0.75rem;
    padding: 0.9rem;
    background: var(--white);
    color: var(--bg);
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.result {
    min-height: 1.2rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.main-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.sec-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sec-title span {
    font-size: clamp(3.5rem, 18vw, 11rem);
    font-weight: 700;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.18), transparent);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.sec-title h2 {
    position: absolute;
    color: var(--white);
    font-size: clamp(2rem, 10vw, 5rem);
}

.main-title p {
    letter-spacing: 0.25em;
    font-size: 0.95rem;
    color: var(--muted);
}

.about-details {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--white);
}

.about-content p {
    margin-top: 1rem;
    line-height: 1.8;
    color: var(--muted);
}

.about-figure {
    justify-self: center;
}

.about-figure img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 4px solid var(--border);
    object-fit: cover;
    object-position: 50% 25%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.projects,
.skills,
.education,
.contact,
.about {
    background: var(--bg);
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--panel-alt);
    border-radius: 1.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-title {
    color: var(--white);
    font-size: 1.5rem;
}

.project-description {
    color: var(--muted);
    line-height: 1.6;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
}

.buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    text-decoration: none;
    border-radius: 0.9rem;
    border: 1px solid var(--border);
    padding: 0.65rem 1rem;
    color: var(--text);
    display: inline-flex;
    justify-content: center;
    gap: 0.45rem;
    align-items: center;
}

.btn .ti {
    font-size: 1.1rem;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 3rem auto 0;
    color: var(--text);
    text-decoration: none;
}

.view-more:hover {
    text-decoration: underline;
}

.tech-stacks {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-item {
    background: var(--panel-alt);
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-item i {
    font-size: 1.1rem;
}

marquee {
    margin: 6rem 0 2rem;
    padding: 1rem;
    font-size: 1.35rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.education-section {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.education-container {
    position: relative;
    text-align: center;
    padding-bottom: 3.5rem;
}

.education-container .ti {
    font-size: 2rem;
}

.education-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 1px;
    height: 3rem;
    background: var(--border);
}

.contact-description {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
    color: var(--muted);
}

.contact-services {
    list-style: none;
    margin: 1.25rem auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    color: var(--white);
}

.contact-services li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    max-width: 240px;
}

.contact-services li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.contact-btn {
    margin-top: 2rem;
    display: inline-flex;
    padding: 0.75rem 1.35rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    color: var(--white);
    text-decoration: none;
    gap: 0.5rem;
}

footer {
    padding: 2rem 1.5rem 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

footer p {
    color: var(--muted);
}

.footer-remote {
    flex: 1 1 420px;
    width: 100%;
    max-width: 560px;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(160, 90, 255, 0.18), rgba(20, 20, 20, 0.85));
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    isolation: isolate;
    text-align: center;
    margin: 0 auto;
}

.footer-remote::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(160, 90, 255, 0.35), transparent 60%);
    top: -80px;
    right: -40px;
    filter: blur(15px);
    opacity: 0.7;
}

.footer-remote::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.footer-remote h3 {
    margin-top: 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
}

.footer-remote p {
    margin-top: 0.75rem;
    line-height: 1.6;
}

.remote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.35);
}

.remote-badge i {
    font-size: 0.95rem;
    color: var(--accent);
}

.remote-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.remote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--white);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: transform 0.25s ease, color 0.25s ease;
    position: relative;
}

.remote-btn:hover {
    transform: translateY(-4px);
    color: var(--accent);
}

.remote-icon {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: rgba(10, 10, 10, 0.75);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.remote-icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(160, 90, 255, 0.6), transparent 60%);
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
}

.remote-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.remote-btn:hover .remote-icon {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(160, 90, 255, 0.25);
}

.remote-btn:hover .remote-icon::before,
.remote-btn:hover .remote-icon::after {
    opacity: 1;
}

.remote-label {
    text-align: center;
    line-height: 1.2;
}

.remote-label strong {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.remote-label small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--muted);
}

.footer-meta {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: rgba(2, 2, 3, 0.85);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 0.85rem 1.2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    text-align: left;
    margin: 0 auto;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-brand strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-brand small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.imprint-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0rem 0 1rem;
}

.imprint-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.15rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.imprint-pill:hover {
    background: var(--white);
    color: var(--bg);
    transform: translateY(-1px);
}

.imprint-pill:active {
    transform: scale(0.96);
}

.imprint-drawer {
    text-align: left;
}

.imprint-header {
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.legal-grid h3 {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: var(--accent);
}

.legal-grid p {
    color: var(--white);
    line-height: 1.4;
}

.legal-grid small {
    color: var(--muted);
}

.legal-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.imprint-cta {
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.imprint-cta span {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--muted);
}


::-webkit-scrollbar {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .hero-btn::after,
    .hero-btn::before,
    .hero-btn .arr-right {
        animation: none !important;
    }

    .hero-btn::after,
    .hero-btn::before {
        opacity: 0;
    }

    .drawer .drawer-icon,
    .drawer .drawer-btn,
    .drawer > p,
    .drawer .contact-form > * {
        transition: none;
    }
}

@media (max-width: 980px) {
    .navbar {
        justify-content: space-between;
        background: rgba(2, 2, 3, 0.92);
        padding: 0.75rem 1.25rem;
    }

    .navbar .logo {
        display: inline-flex;
    }

    .lang-switches {
        display: flex;
        gap: 0.45rem;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links .nav-lang-item {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 50%;
        width: min(420px, calc(100% - 2.5rem));
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.35rem;
        padding: 1rem;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, -8px) scale(0.98);
        border-radius: 1.5rem;
        background: rgba(2, 2, 3, 0.98);
        border: 1px solid var(--border);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
        visibility: hidden;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        font-size: 1.05rem;
        display: block;
        padding: 0.65rem 0.9rem;
    }

    .hero-btns-sec {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 9vw, 3.75rem);
        letter-spacing: 0.08em;
    }

    .hero .subheading,
    .auto-type {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-btns-sec {
        width: min(360px, 100%);
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 0.35rem 0.9rem 0.35rem 1rem;
        gap: 0.65rem;
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn .arr-right {
        padding: 0.45rem;
        font-size: 1.05rem;
    }

    .email {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }

    .about-figure img {
        width: 240px;
        height: 240px;
    }

    marquee {
        letter-spacing: 0.3em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-remote {
        max-width: 100%;
        text-align: left;
        padding: 1.5rem 1.25rem;
    }

    .footer-meta {
        align-items: center;
        text-align: center;
    }

    .remote-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        justify-content: flex-start;
    }

    .remote-btn {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        gap: 1rem;
        padding: 0.65rem 0.9rem;
        border-radius: 1.1rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(7, 7, 7, 0.8);
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.35);
    }

    .remote-icon {
        width: 56px;
        height: 56px;
    }

    .remote-label {
        text-align: left;
        flex: 1;
    }

    .remote-label strong {
        letter-spacing: 0.15em;
        font-size: 0.75rem;
    }

    .remote-label small {
        letter-spacing: 0.1em;
        font-size: 0.65rem;
    }

    .drawer {
        width: min(520px, 100%);
        border-radius: 1rem 1rem 0 0;
    }
}

@media (max-width: 520px) {
    section {
        padding: 4.5rem 1rem;
    }

    .project-card {
        padding: 1.1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .drawer {
        padding: 1.2rem 1rem 2rem;
        max-height: 85vh;
    }

    .drawer-links {
        justify-content: flex-start;
    }

    .drawer-btn {
        width: 100%;
    }

    .address-blueprint li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}
